@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
|
@@ -14,15 +14,15 @@ const keyboard_helpers = require('./keyboard.helpers-2093e793.js');
|
|
|
14
14
|
const focus_decorator = require('./focus.decorator-14a4a576.js');
|
|
15
15
|
const animation_decorator = require('./animation.decorator-40bdfb52.js');
|
|
16
16
|
const visibility_decorator = require('./visibility.decorator-a218aab9.js');
|
|
17
|
-
const windowResize_decorator = require('./window-resize.decorator-
|
|
18
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
17
|
+
const windowResize_decorator = require('./window-resize.decorator-ca02b6a0.js');
|
|
18
|
+
const breakpoints_decorator = require('./breakpoints.decorator-d16aa7d7.js');
|
|
19
19
|
const attributes = require('./attributes-11acd153.js');
|
|
20
20
|
require('./browser-1d542d0f.js');
|
|
21
21
|
require('./config.utils-df30e424.js');
|
|
22
22
|
require('./listener-52d2e5fd.js');
|
|
23
|
-
require('./breakpoints.subject-
|
|
23
|
+
require('./breakpoints.subject-1a5906e4.js');
|
|
24
24
|
require('./device-9f97a845.js');
|
|
25
|
-
require('./tokens.esm-
|
|
25
|
+
require('./tokens.esm-af603697.js');
|
|
26
26
|
|
|
27
27
|
const balSegmentCss = ":root{--bal-segment-background:var(--bal-color-grey-2);--bal-segment-background-invalid:var(--bal-color-danger-1);--bal-segment-item-focus-border:var(--bal-color-border-primary);--bal-segment-item-text-color:var(--bal-color-text-primary);--bal-segment-item-text-color-checked:var(--bal-color-text-primary);--bal-segment-item-text-color-checked-hovered:var(--bal-color-text-primary-hovered);--bal-segment-item-text-color-checked-pressed:var(--bal-color-text-primary-pressed);--bal-segment-item-text-color-invalid:var(--bal-color-text-danger);--bal-segment-item-text-color-invalid-hovered:var(--bal-color-text-danger-hovered);--bal-segment-item-text-color-invalid-pressed:var(--bal-color-text-danger-pressed);--bal-segment-item-text-color-disabled:var(--bal-color-text-grey);--bal-segment-item-text-color-disabled-checked:var(--bal-color-text-grey-dark);--bal-segment-item-divider-background:var(--bal-color-grey);--bal-segment-item-divider-background-invalid:var(--bal-color-danger-2);--bal-segment-item-indicator-background:var(--bal-color-purple-2);--bal-segment-item-indicator-background-invalid:var(--bal-color-danger-4);--bal-segment-item-indicator-background-disabled:var(--bal-color-grey-3)}.bal-segment{display:-ms-flexbox;display:flex;background:var(--bal-segment-background);border-radius:var(--bal-radius-normal);gap:.125rem;gap:.125rem;padding:.25rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-segment--invalid{background:var(--bal-segment-background-invalid)}.bal-segment--vertical{-ms-flex-direction:column;flex-direction:column;width:100%}.bal-segment--vertical .bal-segment-item__button{width:100%;-ms-flex:1;flex:1}.bal-segment--vertical.bal-segment--scrollable{overflow:auto;max-height:240px}.bal-segment--expanded{width:100%;min-width:100%;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}.bal-segment--expanded .bal-segment-item,.bal-segment--expanded .bal-segment-item>button{-ms-flex:1;flex:1;width:100%}.bal-segment--expanded .bal-segment-item .bal-content,.bal-segment--expanded .bal-segment-item>button .bal-content{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
|
|
28
28
|
const BalSegmentStyle0 = balSegmentCss;
|
|
@@ -334,7 +334,7 @@ const Segment = class {
|
|
|
334
334
|
render() {
|
|
335
335
|
const { invalid, isVertical, scrollable, keyboardMode, expanded, isMobile, disabled } = this;
|
|
336
336
|
const block = bem.BEM.block('segment');
|
|
337
|
-
return (index.h(index.Host, { key: '
|
|
337
|
+
return (index.h(index.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 }, index.h("slot", { key: 'e42649f221772809d983d614fc76738174e514b7', onSlotchange: this.onSlottedItemsChange })));
|
|
338
338
|
}
|
|
339
339
|
get el() { return index.getElement(this); }
|
|
340
340
|
static get watchers() { return {
|
|
@@ -540,7 +540,7 @@ const SegmentItem = class {
|
|
|
540
540
|
'aria-describedby': this.ariaForm.messageId,
|
|
541
541
|
};
|
|
542
542
|
}
|
|
543
|
-
return (index.h(index.Host, { key: '
|
|
543
|
+
return (index.h(index.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)) }, index.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), index.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' }), index.h("bal-stack", { key: '67a2bce84c38c0f49a47da1c6ec0189f8ac6b987', space: "x-small", layout: 'horizontal' }, index.h("bal-content", { key: '38eaad5948f5b034ba3567619533e67f2c6a3016', space: "none" }, index.h("bal-label", { key: 'a761aee3fad22f05cd0ce66f74710c3da61acd81', htmlId: `bal-si-${this.internalId}-label` }, label), index.h("span", { key: '99b2524c94a243b8f4c884008919fe9bd92271ff', part: "slot", class: Object.assign({}, buttonBem.element('slot').modifier('hidden').class(!this.hasSlotContent)) }, ' ', index.h("slot", { key: 'e5a89b88d1c49ec722a83f2887215d69e6f43ebb', onSlotchange: this.onSlottedItemsChange }))))), index.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)) })));
|
|
544
544
|
}
|
|
545
545
|
get el() { return index.getElement(this); }
|
|
546
546
|
static get watchers() { return {
|
|
@@ -723,7 +723,7 @@ const Select = class {
|
|
|
723
723
|
*/
|
|
724
724
|
render() {
|
|
725
725
|
var _a;
|
|
726
|
-
const Chip = (props) => (index.h("bal-tag", { key: '
|
|
726
|
+
const Chip = (props) => (index.h("bal-tag", { key: 'a348dae32f7f0638b66dc2ceda8a26763fe18c07', size: "", closable: !this.disabled, disabled: this.disabled, invalid: this.invalid, tabindex: -1, onBalCloseClick: _ => this.removeValue(props.value), "data-testid": "bal-select-chip" }, utils.findLabelByValue(this.options, props.value) || props.value));
|
|
727
727
|
const valuesArray = utils.getValues(this.rawValue);
|
|
728
728
|
const block = bem.BEM.block('select');
|
|
729
729
|
const nativeEl = block.element('native');
|
|
@@ -737,19 +737,19 @@ const Select = class {
|
|
|
737
737
|
const optionContentEl = optionEl.element('content');
|
|
738
738
|
const optionContentCheckboxEl = optionContentEl.element('checkbox');
|
|
739
739
|
const optionContentLabelEl = optionContentEl.element('label');
|
|
740
|
-
return (index.h(index.Host, { key: '
|
|
740
|
+
return (index.h(index.Host, { key: '126edf5ce107f3bd0c1e98ca7ec51382f5f93a8b', role: "listbox", onClick: this.handleClick, "aria-disabled": aria.ariaBooleanToString(this.disabled), "data-value": (_a = this.rawValue) === null || _a === void 0 ? void 0 : _a.map(v => utils.findLabelByValue(this.options, v)).join(','), class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('disabled').class(this.disabled || this.readonly)), block.modifier('inverted').class(this.inverted)), block.modifier('inverted-footer').class(this.inverted)) }, index.h("select", { key: '561e175063c2886f99fdef91d0e11c1c38affb4b', class: Object.assign({}, nativeEl.class()), name: this.name, multiple: this.multiple, required: this.required, tabindex: -1, ref: el => (this.nativeSelectEl = el) }, valuesArray.map((value) => (index.h("option", { key: value, value: value, selected: true }, value)))), index.h("bal-popover", { key: '5ce86ac980b73f01227edaba951299f2c7caa1a3', onBalChange: this.handlePopoverChange, ref: el => (this.popoverElement = el) }, index.h("div", { key: '7fdaed7cbf590c937e67de98bf5c54e0ca62083a', "bal-popover-trigger": true, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, controlEl.class()), controlEl.modifier('invalid').class(this.invalid)), controlEl.modifier('disabled').class(this.disabled || this.readonly)), controlEl.modifier('focused').class(this.isPopoverOpen)), controlEl.modifier('inverted-footer').class(this.inverted)) }, index.h("div", { key: '3837bb760eaba758fe087195e9ca80ec298ae3f6', class: Object.assign(Object.assign({}, controlSelectionsEl.class()), controlSelectionsEl
|
|
741
741
|
.modifier('clickable')
|
|
742
742
|
.class(!this.isPopoverOpen && !this.disabled && !this.readonly)), onClick: this.handleInputClick, ref: el => (this.selectionEl = el) }, valuesArray
|
|
743
743
|
.filter(_ => this.multiple)
|
|
744
|
-
.map((value) => (index.h(Chip, { value: value }))), index.h("input", { key: '
|
|
744
|
+
.map((value) => (index.h(Chip, { value: value }))), index.h("input", { key: 'd1134c3c0459c89b0952e47f5fac67e3753f3c75', type: "text", class: Object.assign(Object.assign({}, controlInputEl.class()), { 'input': true, 'is-inverted': this.inverted, 'is-danger': this.invalid, 'is-disabled': this.disabled || this.readonly, 'is-clickable': !this.isPopoverOpen && !this.disabled && !this.readonly, 'data-test-select-input': true }), 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": aria.ariaBooleanToString(this.disabled), "data-testid": "bal-select-input", autocomplete: this.autocomplete, "aria-autocomplete": this.autocomplete === 'off' ? 'none' : null, placeholder: this.inputPlaceholder, readonly: !this.typeahead || this.disabled || this.readonly, contentEditable: this.typeahead, disabled: this.disabled, maxLength: this.maxLength, tabindex: this.balTabindex, onInput: this.handleInput, onClick: this.handleInputClick, onChange: this.handleInputChange, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onKeyPress: this.handleKeyPress, ref: el => (this.inputElement = el) })), !this.freeSolo && !this.loading ? (index.h("bal-icon", { class: Object.assign(Object.assign(Object.assign({}, controlIconEl.class()), controlIconEl.modifier('loading').class(this.loading)), controlIconEl.modifier('clickable').class(!this.disabled && !this.readonly)), name: !this.inverted ? 'caret-down' : 'caret-up', color: this.disabled || this.readonly
|
|
745
745
|
? 'grey-light'
|
|
746
746
|
: this.inverted
|
|
747
747
|
? 'white'
|
|
748
748
|
: this.invalid
|
|
749
749
|
? 'danger'
|
|
750
|
-
: 'primary', turn: this.isPopoverOpen, onClick: ev => this.handleInputClick(ev, true), size: !this.inverted ? '' : 'x-small' })) : ('')), index.h("bal-popover-content", { key: '
|
|
750
|
+
: 'primary', turn: this.isPopoverOpen, onClick: ev => this.handleInputClick(ev, true), size: !this.inverted ? '' : 'x-small' })) : ('')), index.h("bal-popover-content", { key: '36cdae574c4b7588c1f8c2816b0b872a9c4cc2bd', class: Object.assign({}, popoverContentEl.class()), scrollable: this.scrollable, spaceless: true, expanded: true }, this.optionArray.map((option, index$1) => (index.h("button", { key: option.value, type: "button", role: "option", id: option.id, "data-value": option.value, "data-label": option.label, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, optionEl.class()), optionEl
|
|
751
751
|
.modifier('selected')
|
|
752
|
-
.class(valuesArray.includes(option.value) && !(this.typeahead && !this.multiple))), optionEl.modifier('focused').class(this.focusIndex === index$1)), optionEl.modifier('checkbox').class(this.multiple)), optionEl.modifier('disabled').class(option.disabled === true)), "data-testid": "bal-select-option", disabled: option.disabled, tabIndex: -1, onMouseEnter: () => this.handleOptionMouseEnter(index$1), onClick: () => this.optionSelected(option) }, index.h("div", { class: Object.assign({}, optionContentEl.class()) }, index.h("span", { class: Object.assign({}, optionContentCheckboxEl.class()), style: { display: this.multiple ? 'flex' : 'none' } }, index.h("bal-checkbox", { checked: valuesArray.includes(option.value), tabindex: -1, nonSubmit: true, flat: true, onBalChange: utils.preventDefault })), index.h("span", { class: Object.assign({}, optionContentLabelEl.class()), innerHTML: option.innerHTML }))))), index.h("div", { key: '
|
|
752
|
+
.class(valuesArray.includes(option.value) && !(this.typeahead && !this.multiple))), optionEl.modifier('focused').class(this.focusIndex === index$1)), optionEl.modifier('checkbox').class(this.multiple)), optionEl.modifier('disabled').class(option.disabled === true)), "data-testid": "bal-select-option", disabled: option.disabled, tabIndex: -1, onMouseEnter: () => this.handleOptionMouseEnter(index$1), onClick: () => this.optionSelected(option) }, index.h("div", { class: Object.assign({}, optionContentEl.class()) }, index.h("span", { class: Object.assign({}, optionContentCheckboxEl.class()), style: { display: this.multiple ? 'flex' : 'none' } }, index.h("bal-checkbox", { checked: valuesArray.includes(option.value), tabindex: -1, nonSubmit: true, flat: true, onBalChange: utils.preventDefault })), index.h("span", { class: Object.assign({}, optionContentLabelEl.class()), innerHTML: option.innerHTML }))))), index.h("div", { key: '70eb78a2d378401f173ee8e62f37fbc602827fba', class: Object.assign(Object.assign({}, popoverContentEmptyEl.class()), popoverContentEmptyEl
|
|
753
753
|
.modifier('hidden')
|
|
754
754
|
.class(this.noDataLabel === undefined || this.hasOptions() || !this.typeahead || this.selectionOptional)) }, this.noDataLabel)))));
|
|
755
755
|
}
|
|
@@ -779,7 +779,7 @@ const SelectOption = class {
|
|
|
779
779
|
this.log = log;
|
|
780
780
|
}
|
|
781
781
|
render() {
|
|
782
|
-
return (index.h(index.Host, { key: '
|
|
782
|
+
return (index.h(index.Host, { key: '42c10fcd28b41d1158304ee9a7936c2fa0c52d85', style: { display: 'none' } }, index.h("slot", { key: 'da6a2841c0dd48aa662bf38926151669a4525048' })));
|
|
783
783
|
}
|
|
784
784
|
};
|
|
785
785
|
tslib_es6.__decorate([
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84f42282.js');
|
|
6
6
|
const bem = require('./bem-81bc6a2d.js');
|
|
7
|
-
const tokens_esm = require('./tokens.esm-
|
|
7
|
+
const tokens_esm = require('./tokens.esm-af603697.js');
|
|
8
8
|
|
|
9
9
|
const balShapeCss = ".bal-shape{display:block;overflow:hidden;border-radius:var(--bal-radius-normal);width:66px;height:66px}@media screen and (min-width: 769px),print{.bal-shape{width:120px;height:120px}}@media screen and (min-width: 1024px){.bal-shape{width:198px;height:198px;border-radius:unset}}.bal-shape--is-rotation-0{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.bal-shape--is-rotation-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.bal-shape--is-rotation-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bal-shape--is-rotation-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}";
|
|
10
10
|
const BalShapeStyle0 = balShapeCss;
|
|
@@ -51,11 +51,11 @@ const Shape = class {
|
|
|
51
51
|
render() {
|
|
52
52
|
const block = bem.BEM.block('shape');
|
|
53
53
|
const shapes = [
|
|
54
|
-
index.h("g", { key: '
|
|
55
|
-
index.h("g", { key: '
|
|
56
|
-
index.h("g", { key: '
|
|
54
|
+
index.h("g", { key: 'bd098f8a0d60a01a901d6c7e0041945de00f7c84', id: "e8353d3b-35a2-4e20-9245-0eceed641ae5" }, index.h("g", { key: '7ae53a770a1f0f915dcfee5836350fb43f43c83c', id: "af87362a-72b2-42cf-8efe-c9917dc1f7f6" }, index.h("path", { key: '27730d24993bf8f4ebb2180113d927f08d86c295', class: "st0", d: "M132,66v66H66V66H132z M132,0v66H66V0H132z M66,0v66H0V6.4C0,4.2,0,3,0.4,2.2c0.4-0.7,1-1.4,1.7-1.7\n C3,0,4.2,0,6.4,0H66z M191.6,0c2.2,0,3.4,0,4.2,0.4c0.7,0.4,1.4,1,1.7,1.7c0.4,0.9,0.4,2,0.4,4.2V66h-66V0H191.6z M0,125.6V66h66\n v66H6.4H0 M198,132v59.6c0,2.2,0,3.4-0.4,4.2c-0.4,0.7-1,1.4-1.7,1.7c-0.9,0.4-2,0.4-4.2,0.4H132v-66H198z" }))),
|
|
55
|
+
index.h("g", { key: 'a39bebf5119896bb95137f99b31bd091461e4187', id: "b949d602-8478-437e-a171-ad3f26649cb4" }, index.h("g", { key: '8e9872fc0469e4227b39ce648713a79a0409d5c2', id: "ae3574e0-2065-4681-8937-4318b8656147" }, index.h("path", { key: '08e8eecb7e5da4cf009cf1ff82219faedb82f3fa', class: "b9f37b2d-094d-4f18-b17c-7c5acf36f9a6", d: "M132,66v66H66V66ZM191.6,0c2.24,0,3.36,0,4.22.44a4,4,0,0,1,1.74,1.74c.44.86.44,2,.44,4.22V66H132V0ZM66,0V66H0V6.4C0,4.16,0,3,.44,2.18A4,4,0,0,1,2.18.44C3,0,4.16,0,6.4,0Zm0,132v66H6.4c-2.24,0-3.36,0-4.22-.44a4,4,0,0,1-1.74-1.74C0,195,0,193.84,0,191.6V132Zm66,0v66H66V132Zm66,0v59.6c0,2.24,0,3.36-.44,4.22a4,4,0,0,1-1.74,1.74c-.86.44-2,.44-4.22.44H132V132Zm0-66v66H132V66Z" }))),
|
|
56
|
+
index.h("g", { key: '1176953bc3ee0cc6a799222c13b065d3ebc5eaf1', id: "e827a936-cbcd-43b3-971a-aa8f8714fdff" }, index.h("g", { key: '51e40727714bc0adf3667d6769fe51611adbbcb4', id: "e540dca8-23ca-45dc-b462-df9071c1317d" }, index.h("path", { key: '5d09a1cbc57fc21b1e62ddd4e263c18a7278c556', class: "st0", d: "M132,66v66H66V66H132z M132,0v66H66V0H132z M66,0v66H0V6.4C0,4.2,0,3,0.4,2.2c0.4-0.7,1-1.4,1.7-1.7\n C3,0,4.2,0,6.4,0H66z M66,132v66H6.4c-2.2,0-3.4,0-4.2-0.4c-0.7-0.4-1.4-1-1.7-1.7C0,195,0,193.8,0,191.6V132H66z M132,132v66H66\n v-66H132z M198,132v59.6c0,2.2,0,3.4-0.4,4.2c-0.4,0.7-1,1.4-1.7,1.7c-0.9,0.4-2,0.4-4.2,0.4H132v-66H198z M198,66v66h-66V66" }))),
|
|
57
57
|
];
|
|
58
|
-
return (index.h(index.Host, { key: '
|
|
58
|
+
return (index.h(index.Host, { key: '5aa4927f8682c07a13ab2fa9b56f1248141d7cd7', class: Object.assign(Object.assign({}, block.class()), block.modifier(`is-rotation-${this.rotation}`).class()) }, index.h("svg", { key: '99ee4d77c26e1cc4b84052907ef6d628f94b3937', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 198 198", focusable: "false", "aria-hidden": "true", fill: this.getHex() }, shapes[parseInt(this.variation) - 1])));
|
|
59
59
|
}
|
|
60
60
|
get el() { return index.getElement(this); }
|
|
61
61
|
};
|
|
@@ -18,7 +18,7 @@ const Sheet = class {
|
|
|
18
18
|
const container = block.element('container');
|
|
19
19
|
const containerInner = container.element('inner');
|
|
20
20
|
const containerModifier = this.containerSize !== '' ? `is-${this.containerSize}` : '';
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: 'e38d3e613314a1502b6b1a6eb77e212de467af3c', class: Object.assign({}, block.class()) }, index.h("div", { key: '7d71e2959eb213f6cc243d9b8e91d1c69a5f9e1a', class: Object.assign(Object.assign({}, container.class()), { container: true, [containerModifier]: true }) }, index.h("div", { key: '7712cfd94666fc628912db7b7f786bab530030e3', class: Object.assign({}, containerInner.class()) }, index.h("slot", { key: '0eebab4aa2bc379b4c7dd4fa0cd5a9f0ad2b76eb' })))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
Sheet.style = BalSheetStyle0;
|
|
@@ -145,7 +145,7 @@ const Spinner = class {
|
|
|
145
145
|
*/
|
|
146
146
|
render() {
|
|
147
147
|
const block = bem.BEM.block('spinner');
|
|
148
|
-
return (index.h(index.Host, { key: '
|
|
148
|
+
return (index.h(index.Host, { key: '5604f6e34571f92e51972754c5bb6d3cc894afbf', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('circle').class(this.variation === 'circle')), block.modifier('small').class(this.small)), block.modifier('animated').class(this.animated)), block.modifier(`color-${this.color}`).class(this.variation === 'circle')), role: "progressbar", "aria-hidden": "true" }));
|
|
149
149
|
}
|
|
150
150
|
get el() { return index.getElement(this); }
|
|
151
151
|
static get watchers() { return {
|
|
@@ -54,7 +54,7 @@ const Stack = class {
|
|
|
54
54
|
if (alignment) {
|
|
55
55
|
alignValue = this.alignment.split(' ').join('-');
|
|
56
56
|
}
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '8ad1e4d017a753e16e7aa4b2aeae237557294345', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`use-wrap`).class(useWrap)), block.modifier(`layout-${layoutValue}`).class(layout || direction)), block.modifier(`align-${alignValue}`).class(align || alignment)), block.modifier(`space-${this.space}`).class(space)), block.modifier(`space-row-${this.spaceRow}`).class(spaceRow)), block.modifier(`space-row-${this.spaceColumn}`).class(spaceColumn)), block.modifier(`px-${this.px}`).class(px)), block.modifier(`py-${this.py}`).class(py)), block.modifier(`fit-content`).class(fitContent)) }, index.h("slot", { key: '7b42c4eb98bf8936a5c23934858b3a41b763bba5' })));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
tslib_es6.__decorate([
|
|
@@ -54,7 +54,7 @@ const Stage = class {
|
|
|
54
54
|
render() {
|
|
55
55
|
const block = bem.BEM.block('stage');
|
|
56
56
|
const element = bem.BEM.block('stage-content');
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '4a58b984bc3bd0603b2d6941ded244c9d3c851f7', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`is-${this.size === '' ? 'medium' : this.size}`).class()), block.modifier(`is-${this.color}`).class(!!this.color)), block.modifier('has-shape').class(!!this.shape)), style: { '--bal-stage-container-width': this.getContainerWidth() } }, index.h("section", { key: 'a7a7774a676224d6c6b42b38b649c98d5ca52e6e', class: Object.assign(Object.assign({}, element.class()), { container: true, [`${this.containerClass}`]: this.containerSize !== '' }) }, index.h("slot", { key: 'cf39f71e8a50bb22011b708226154f0ddd93fe6a' }), this.shape && (index.h("div", { key: '570123c02e53b5845efeec8ba5fe9e01423f9d36', class: { container: true, [`${this.containerClass}`]: this.containerSize !== '' } }, index.h("bal-shape", { key: '85157c5c0b9fec1d3780dac60234842ad9654cef', color: this.color, variation: this.shapeVariation, rotation: this.shapeRotation }))))));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
Stage.style = BalStageStyle0;
|
|
@@ -69,10 +69,10 @@ const StageBackLink = class {
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const block = bem.BEM.block('stage-back-link');
|
|
72
|
-
return (index.h(index.Host, { key: '
|
|
72
|
+
return (index.h(index.Host, { key: 'ebc6bf193fec51360b0d6fdd7c60a7edff47a1f7', class: Object.assign(Object.assign({}, block.class()), block.modifier('shadow').class(this.shadow)) }, index.h("a", { key: '7504839dfd241c55cd2744db3da98f13dadc23f0', class: {
|
|
73
73
|
'link': true,
|
|
74
74
|
'is-inverted': this.inverted,
|
|
75
|
-
}, href: this.href, rel: this.rel }, index.h("bal-icon", { key: '
|
|
75
|
+
}, href: this.href, rel: this.rel }, index.h("bal-icon", { key: '8729a6d1227e15163242008bc27e94f275799b25', class: "mr-x-small", name: "caret-left", size: "x-small", inverted: this.inverted, shadow: this.shadow }), index.h("slot", { key: 'bc3f85fd7cd1b1b86320e16c2dc3626c608bf606' }))));
|
|
76
76
|
}
|
|
77
77
|
get el() { return index.getElement(this); }
|
|
78
78
|
};
|
|
@@ -83,7 +83,7 @@ const StageBody = class {
|
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
85
|
const block = bem.BEM.block('stage-body');
|
|
86
|
-
return (index.h(index.Host, { key: '
|
|
86
|
+
return (index.h(index.Host, { key: 'fc3fafba94f4c87b7e88494e43acf9c5b080a375', class: Object.assign({}, block.class()) }, index.h("slot", { key: '4433e37642c9851fe966cedc3a19e310bd6d01e9' })));
|
|
87
87
|
}
|
|
88
88
|
get el() { return index.getElement(this); }
|
|
89
89
|
};
|
|
@@ -93,7 +93,7 @@ const StageFoot = class {
|
|
|
93
93
|
index.registerInstance(this, hostRef);
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (index.h(index.Host, { key: '
|
|
96
|
+
return (index.h(index.Host, { key: '1d3ba006d2d6aafe5795cdb2f59d9cb02822c927', class: "hero-foot" }, index.h("slot", { key: '2c24fa40d9505b5b7b673d99d7b831161372e35b' })));
|
|
97
97
|
}
|
|
98
98
|
get el() { return index.getElement(this); }
|
|
99
99
|
};
|
|
@@ -103,7 +103,7 @@ const StageHead = class {
|
|
|
103
103
|
index.registerInstance(this, hostRef);
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (index.h(index.Host, { key: '
|
|
106
|
+
return (index.h(index.Host, { key: '833e55891f0d094860fe8b748f3021b79a026ad6', class: "hero-head" }, index.h("slot", { key: 'da91f59134b4ff29cd2a234875733ffd83213973' })));
|
|
107
107
|
}
|
|
108
108
|
get el() { return index.getElement(this); }
|
|
109
109
|
};
|
|
@@ -127,7 +127,7 @@ const StageImage = class {
|
|
|
127
127
|
render() {
|
|
128
128
|
const block = bem.BEM.block('stage-image');
|
|
129
129
|
const imageSrc = this.fallback ? this.fallback : this.srcSet.split(',')[0];
|
|
130
|
-
return (index.h(index.Host, { key: '
|
|
130
|
+
return (index.h(index.Host, { key: 'ff992ad8c9c0481c5f75670eecd472ca0e972bb5', class: Object.assign({}, block.class()) }, this.isOnLoadEventDone ? (index.h("img", Object.assign({ src: imageSrc, srcset: this.srcSet, sizes: "100vw" }, this.imageInheritAttributes))) : ('')));
|
|
131
131
|
}
|
|
132
132
|
get el() { return index.getElement(this); }
|
|
133
133
|
};
|
|
@@ -57,10 +57,10 @@ const StepItem = class {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: '1aafa11a4ca3f70e99d4ae73ae57b5a97044a757', role: "tabpanel", class: {
|
|
61
61
|
'bal-step-item': true,
|
|
62
62
|
'bal-step-item--active': this.isActive,
|
|
63
|
-
} }, index.h("slot", { key: '
|
|
63
|
+
} }, index.h("slot", { key: 'bed7fb1b783d7ab29c32d49c29e5143bbf1f0147' })));
|
|
64
64
|
}
|
|
65
65
|
get el() { return index.getElement(this); }
|
|
66
66
|
};
|
|
@@ -10,9 +10,9 @@ const log = require('./log-33398c2a.js');
|
|
|
10
10
|
const array = require('./array-ae164ca3.js');
|
|
11
11
|
const formInput = require('./form-input-e9974433.js');
|
|
12
12
|
const balStep_util = require('./bal-step.util-3c009db9.js');
|
|
13
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
13
|
+
const breakpoints_subject = require('./breakpoints.subject-1a5906e4.js');
|
|
14
14
|
const mutation_decorator = require('./mutation.decorator-485e250e.js');
|
|
15
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
15
|
+
const breakpoints_decorator = require('./breakpoints.decorator-d16aa7d7.js');
|
|
16
16
|
require('./browser-1d542d0f.js');
|
|
17
17
|
require('./config.utils-df30e424.js');
|
|
18
18
|
require('./index-e6a233be.js');
|
|
@@ -20,7 +20,7 @@ require('./index-3b7f8988.js');
|
|
|
20
20
|
require('./_commonjsHelpers-68cdf74f.js');
|
|
21
21
|
require('./device-9f97a845.js');
|
|
22
22
|
require('./listener-52d2e5fd.js');
|
|
23
|
-
require('./tokens.esm-
|
|
23
|
+
require('./tokens.esm-af603697.js');
|
|
24
24
|
|
|
25
25
|
const StepIcon = ({ item, isMobile }) => {
|
|
26
26
|
const bemEl = bem.BEM.block('steps').element('nav').element('item').element('icon');
|
|
@@ -39,12 +39,17 @@ const StepButton = ({ item, color, isMobile, clickable, onSelectTab }) => {
|
|
|
39
39
|
if (item.invisible) {
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
if (item.href) {
|
|
43
|
+
return (index.h("a", { role: "tab", class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ 'is-link': true }, bemEl.class()), bemEl.modifier(`color-${color}`).class()), bemEl.modifier('done').class(item.done)), bemEl.modifier('active').class(item.active)), bemEl.modifier('failed').class(item.failed)), bemEl.modifier('disabled').class(item.disabled)), bemEl.modifier('clickable').class(clickable)), bemEl.modifier('passed').class(item.passed)), { 'bal-focusable': !item.disabled && !item.invisible }), "data-label": item.label, "data-value": item.value, "data-index": item.index, "data-testid": "bal-steps-option", "aria-disabled": `${item.disabled}`, href: item.href, rel: item.rel, target: item.target, onClick: (ev) => onSelectTab(ev, item) },
|
|
44
|
+
index.h(StepIcon, { item: item, isMobile: isMobile }),
|
|
45
|
+
index.h(StepLabel, { item: item })));
|
|
46
|
+
}
|
|
47
|
+
return (index.h("button", { role: "tab", class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, bemEl.class()), bemEl.modifier(`color-${color}`).class()), bemEl.modifier('done').class(item.done)), bemEl.modifier('active').class(item.active)), bemEl.modifier('failed').class(item.failed)), bemEl.modifier('disabled').class(item.disabled)), bemEl.modifier('clickable').class(clickable)), bemEl.modifier('passed').class(item.passed)), { 'bal-focusable': !item.disabled && !item.invisible }), "data-label": item.label, "data-value": item.value, "data-index": item.index, "data-testid": "bal-steps-option", "aria-disabled": `${item.disabled}`, onClick: (ev) => onSelectTab(ev, item) },
|
|
43
48
|
index.h(StepIcon, { item: item, isMobile: isMobile }),
|
|
44
49
|
index.h(StepLabel, { item: item })));
|
|
45
50
|
};
|
|
46
51
|
|
|
47
|
-
const balStepsCss = "@media (hover: hover)and (pointer: fine){.bal-steps__nav__item.bal-focused .bal-steps__nav__item__icon{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media (hover: hover)and (pointer: fine){.bal-steps__nav__item.bal-focused.bal-steps__nav__item--inverted .bal-steps__nav__item__icon{-webkit-box-shadow:var(--bal-focus-shadow-inverted) !important;box-shadow:var(--bal-focus-shadow-inverted) !important}}:root{--bal-steps-step-icon-background:var(--bal-color-white);--bal-steps-step-icon-background-active:var(--bal-color-primary);--bal-steps-step-icon-background-disabled:var(--bal-color-grey-2);--bal-steps-step-icon-background-done:var(--bal-color-primary);--bal-steps-step-icon-background-failed:var(--bal-color-danger);--bal-steps-step-button-progress-line-background:var(--bal-form-field-control-border-color);--bal-steps-step-button-passed-background:var(--bal-form-field-control-border-color-active);--bal-steps-step-button-carousel-item-background-after:var(--bal-form-field-control-border-color);--bal-steps-step-button-carousel-item-passed-background-after:var(--bal-form-field-control-border-color-active);--bal-steps-step-button-progress-line-background-light-blue:var(--bal-color-primary-2);--bal-steps-step-button-passed-background-light-blue:var(--bal-color-primary);--bal-steps-step-button-progress-line-background-purple:var(--bal-color-purple-2);--bal-steps-step-button-passed-background-purple:var(--bal-color-primary);--bal-steps-step-button-progress-line-background-green:var(--bal-color-green-2);--bal-steps-step-button-passed-background-green:var(--bal-color-primary);--bal-steps-step-button-progress-line-background-red:var(--bal-color-red-2);--bal-steps-step-button-passed-background-red:var(--bal-color-primary);--bal-steps-step-button-progress-line-background-yellow:var(--bal-color-yellow-2);--bal-steps-step-button-passed-background-yellow:var(--bal-color-primary);--bal-steps-step-border-width:var(--bal-form-field-control-border-width);--bal-steps-step-border-style:var(--bal-form-field-control-border-style);--bal-steps-step-border-color:var(--bal-form-field-control-border-color);--bal-steps-step-border-color-active:var(--bal-form-field-control-border-color-active);--bal-steps-step-border-color-disabled:var(--bal-form-field-control-disabled-background);--bal-steps-step-border-color-done:var(--bal-form-field-control-border-color-active);--bal-steps-step-border-color-failed:var(--bal-color-danger);--bal-steps-step-icon-radius:var(--bal-radius-rounded);--bal-steps-step-button-progress-line-radius:var(--bal-radius-rounded);--bal-steps-step-button-carousel-item-radius:var(--bal-radius-rounded);--bal-steps-step-label-text-color:var(--bal-color-text-primary-light);--bal-steps-step-label-text-color-done:var(--bal-color-text-primary);--bal-steps-step-label-text-color-active:var(--bal-color-text-primary);--bal-steps-step-label-text-color-failed:var(--bal-color-text-danger);--bal-steps-step-label-text-color-disabled:var(--bal-color-text-grey);--bal-steps-step-icon-text-color:var(--bal-color-text-primary);--bal-steps-step-icon-text-color-active:var(--bal-color-text-white);--bal-steps-step-icon-text-color-disabled:var(--bal-color-text-grey);--bal-steps-step-icon-text-color-done:var(--bal-color-text-white);--bal-steps-step-icon-text-color-failed:var(--bal-color-text-white)}.bal-steps__nav__item{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;gap:.5rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-preferred-size:1rem;flex-basis:1rem;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;text-decoration:none;cursor:default;position:relative;min-width:3rem;padding-top:6px}.bal-steps__nav__item--hidden{display:none !important;visibility:hidden !important}.bal-steps__nav__item--clickable{cursor:pointer;pointer-events:all}.bal-steps__nav__item:not(:last-child)::after{content:\" \";display:block;position:absolute;height:var(--bal-border-width-normal);left:50%;right:-50%;top:50%;background-color:var(--bal-steps-step-button-progress-line-background);border-radius:var(--bal-steps-step-button-progress-line-radius);margin-top:3px;margin-left:calc(1.5rem - var(--bal-border-width-normal));margin-right:1.25rem}@media screen and (min-width: 769px),print{.bal-steps__nav__item:not(:last-child)::after{top:1rem;margin-top:6px;margin-left:calc(1.5rem - var(--bal-border-width-normal));margin-right:1.5rem}}.bal-steps__nav__item--passed:not(:last-child)::after{background-color:var(--bal-steps-step-button-passed-background)}.bal-steps__nav__item--color-light-blue:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-light-blue)}.bal-steps__nav__item--color-light-blue.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-light-blue);border-color:var(--bal-steps-step-button-progress-line-background-light-blue);color:var(--bal-color-primary-4)}.bal-steps__nav__item--color-light-blue.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item--color-purple:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-purple)}.bal-steps__nav__item--color-purple.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-purple);border-color:var(--bal-steps-step-button-progress-line-background-purple)}.bal-steps__nav__item--color-purple.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item--color-green:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-green)}.bal-steps__nav__item--color-green.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-green);border-color:var(--bal-steps-step-button-progress-line-background-green)}.bal-steps__nav__item--color-green.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item--color-yellow:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-yellow)}.bal-steps__nav__item--color-yellow.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-yellow);border-color:var(--bal-steps-step-button-progress-line-background-yellow)}.bal-steps__nav__item--color-yellow.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item--color-red:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-red)}.bal-steps__nav__item--color-red.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-red);border-color:var(--bal-steps-step-button-progress-line-background-red)}.bal-steps__nav__item--color-red.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item__icon{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;font-weight:var(--bal-font-weight-bold);border-radius:var(--bal-steps-step-icon-radius);font-size:var(--bal-text-size-small);height:1.5rem;width:1.5rem;left:calc(50% - .75rem);border:var(--bal-steps-step-border-width) var(--bal-steps-step-border-style) var(--bal-steps-step-border-color);background:var(--bal-steps-step-icon-background);color:var(--bal-steps-step-icon-text-color)}@media screen and (min-width: 769px),print{.bal-steps__nav__item__icon{height:2rem;width:2rem;left:calc(50% - 1rem);font-size:var(--bal-text-size-normal)}}.bal-steps__nav__item__icon--active{border-color:var(--bal-steps-step-border-color-active);background:var(--bal-steps-step-icon-background-active);color:var(--bal-steps-step-icon-text-color-active)}.bal-steps__nav__item__icon--done{border-color:var(--bal-steps-step-border-color-done);background:var(--bal-steps-step-icon-background-done);color:var(--bal-steps-step-icon-text-color-done)}.bal-steps__nav__item__icon--failed{border-color:var(--bal-steps-step-border-color-failed);background:var(--bal-steps-step-icon-background-failed);color:var(--bal-steps-step-icon-text-color-failed);font-size:var(--bal-text-size-normal)}@media screen and (min-width: 769px),print{.bal-steps__nav__item__icon--failed{font-size:var(--bal-text-size-large-tablet)}}@media screen and (min-width: 1024px){.bal-steps__nav__item__icon--failed{font-size:var(--bal-text-size-large-desktop)}}.bal-steps__nav__item__icon--disabled{border-color:var(--bal-steps-step-border-color-disabled);background:var(--bal-steps-step-icon-background-disabled);color:var(--bal-steps-step-icon-text-color-disabled);opacity:.6}.bal-steps__nav__item__label{display:none}@media screen and (min-width: 769px),print{.bal-steps__nav__item__label{display:block;font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-text-size-normal);text-align:center;width:100%;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--bal-steps-step-label-text-color)}.bal-steps__nav__item__label--done{color:var(--bal-steps-step-label-text-color-done)}.bal-steps__nav__item__label--active{color:var(--bal-steps-step-label-text-color-active)}.bal-steps__nav__item__label--failed{color:var(--bal-steps-step-label-text-color-failed)}.bal-steps__nav__item__label--disabled{color:var(--bal-steps-step-label-text-color-disabled);opacity:.6}}.bal-steps{display:block;position:static}.bal-steps__nav{-webkit-overflow-scrolling:touch;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-ms-flexbox;display:flex;overflow-x:auto}.bal-step-item{width:100%;display:none}.bal-step-item--active{display:block}";
|
|
52
|
+
const balStepsCss = "@media (hover: hover)and (pointer: fine){.bal-steps__nav__item.bal-focused .bal-steps__nav__item__icon{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media (hover: hover)and (pointer: fine){.bal-steps__nav__item.bal-focused.bal-steps__nav__item--inverted .bal-steps__nav__item__icon{-webkit-box-shadow:var(--bal-focus-shadow-inverted) !important;box-shadow:var(--bal-focus-shadow-inverted) !important}}:root{--bal-steps-step-icon-background:var(--bal-color-white);--bal-steps-step-icon-background-active:var(--bal-color-primary);--bal-steps-step-icon-background-disabled:var(--bal-color-grey-2);--bal-steps-step-icon-background-done:var(--bal-color-primary);--bal-steps-step-icon-background-failed:var(--bal-color-danger);--bal-steps-step-button-progress-line-background:var(--bal-form-field-control-border-color);--bal-steps-step-button-passed-background:var(--bal-form-field-control-border-color-active);--bal-steps-step-button-carousel-item-background-after:var(--bal-form-field-control-border-color);--bal-steps-step-button-carousel-item-passed-background-after:var(--bal-form-field-control-border-color-active);--bal-steps-step-button-progress-line-background-light-blue:var(--bal-color-primary-2);--bal-steps-step-button-passed-background-light-blue:var(--bal-color-primary);--bal-steps-step-button-progress-line-background-purple:var(--bal-color-purple-2);--bal-steps-step-button-passed-background-purple:var(--bal-color-primary);--bal-steps-step-button-progress-line-background-green:var(--bal-color-green-2);--bal-steps-step-button-passed-background-green:var(--bal-color-primary);--bal-steps-step-button-progress-line-background-red:var(--bal-color-red-2);--bal-steps-step-button-passed-background-red:var(--bal-color-primary);--bal-steps-step-button-progress-line-background-yellow:var(--bal-color-yellow-2);--bal-steps-step-button-passed-background-yellow:var(--bal-color-primary);--bal-steps-step-border-width:var(--bal-form-field-control-border-width);--bal-steps-step-border-style:var(--bal-form-field-control-border-style);--bal-steps-step-border-color:var(--bal-form-field-control-border-color);--bal-steps-step-border-color-active:var(--bal-form-field-control-border-color-active);--bal-steps-step-border-color-disabled:var(--bal-form-field-control-disabled-background);--bal-steps-step-border-color-done:var(--bal-form-field-control-border-color-active);--bal-steps-step-border-color-failed:var(--bal-color-danger);--bal-steps-step-icon-radius:var(--bal-radius-rounded);--bal-steps-step-button-progress-line-radius:var(--bal-radius-rounded);--bal-steps-step-button-carousel-item-radius:var(--bal-radius-rounded);--bal-steps-step-label-text-color:var(--bal-color-text-primary-light);--bal-steps-step-label-text-color-done:var(--bal-color-text-primary);--bal-steps-step-label-text-color-active:var(--bal-color-text-primary);--bal-steps-step-label-text-color-failed:var(--bal-color-text-danger);--bal-steps-step-label-text-color-disabled:var(--bal-color-text-grey);--bal-steps-step-icon-text-color:var(--bal-color-text-primary);--bal-steps-step-icon-text-color-active:var(--bal-color-text-white);--bal-steps-step-icon-text-color-disabled:var(--bal-color-text-grey);--bal-steps-step-icon-text-color-done:var(--bal-color-text-white);--bal-steps-step-icon-text-color-failed:var(--bal-color-text-white)}.bal-steps__nav__item{display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;gap:.5rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-preferred-size:1rem;flex-basis:1rem;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;text-decoration:none;cursor:default;position:relative;min-width:3rem;padding-top:6px;border:none;background-color:rgba(0,0,0,0)}.bal-steps__nav__item--hidden{display:none !important;visibility:hidden !important}.bal-steps__nav__item--clickable{cursor:pointer;pointer-events:all}.bal-steps__nav__item:not(:last-child)::after{content:\" \";display:block;position:absolute;height:var(--bal-border-width-normal);left:50%;right:-50%;top:50%;background-color:var(--bal-steps-step-button-progress-line-background);border-radius:var(--bal-steps-step-button-progress-line-radius);margin-top:3px;margin-left:calc(1.5rem - var(--bal-border-width-normal));margin-right:1.25rem}@media screen and (min-width: 769px),print{.bal-steps__nav__item:not(:last-child)::after{top:1rem;margin-top:6px;margin-left:calc(1.5rem - var(--bal-border-width-normal));margin-right:1.5rem}}.bal-steps__nav__item--passed:not(:last-child)::after{background-color:var(--bal-steps-step-button-passed-background)}.bal-steps__nav__item--color-light-blue:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-light-blue)}.bal-steps__nav__item--color-light-blue.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-light-blue);border-color:var(--bal-steps-step-button-progress-line-background-light-blue);color:var(--bal-color-primary-4)}.bal-steps__nav__item--color-light-blue.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item--color-purple:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-purple)}.bal-steps__nav__item--color-purple.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-purple);border-color:var(--bal-steps-step-button-progress-line-background-purple)}.bal-steps__nav__item--color-purple.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item--color-green:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-green)}.bal-steps__nav__item--color-green.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-green);border-color:var(--bal-steps-step-button-progress-line-background-green)}.bal-steps__nav__item--color-green.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item--color-yellow:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-yellow)}.bal-steps__nav__item--color-yellow.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-yellow);border-color:var(--bal-steps-step-button-progress-line-background-yellow)}.bal-steps__nav__item--color-yellow.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item--color-red:not(.bal-steps__nav__item--active,.bal-steps__nav__item--done,.bal-steps__nav__item--failed,.bal-steps__nav__item--disabled) .bal-steps__nav__item__icon{border-color:var(--bal-steps-step-button-progress-line-background-red)}.bal-steps__nav__item--color-red.bal-steps__nav__item--disabled .bal-steps__nav__item__icon{opacity:.6;background:var(--bal-steps-step-button-progress-line-background-red);border-color:var(--bal-steps-step-button-progress-line-background-red)}.bal-steps__nav__item--color-red.bal-steps__nav__item--disabled .bal-steps__nav__item__label{opacity:.6}.bal-steps__nav__item__icon{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;font-weight:var(--bal-font-weight-bold);border-radius:var(--bal-steps-step-icon-radius);font-size:var(--bal-text-size-small);height:1.5rem;width:1.5rem;left:calc(50% - .75rem);border:var(--bal-steps-step-border-width) var(--bal-steps-step-border-style) var(--bal-steps-step-border-color);background:var(--bal-steps-step-icon-background);color:var(--bal-steps-step-icon-text-color)}@media screen and (min-width: 769px),print{.bal-steps__nav__item__icon{height:2rem;width:2rem;left:calc(50% - 1rem);font-size:var(--bal-text-size-normal)}}.bal-steps__nav__item__icon--active{border-color:var(--bal-steps-step-border-color-active);background:var(--bal-steps-step-icon-background-active);color:var(--bal-steps-step-icon-text-color-active)}.bal-steps__nav__item__icon--done{border-color:var(--bal-steps-step-border-color-done);background:var(--bal-steps-step-icon-background-done);color:var(--bal-steps-step-icon-text-color-done)}.bal-steps__nav__item__icon--failed{border-color:var(--bal-steps-step-border-color-failed);background:var(--bal-steps-step-icon-background-failed);color:var(--bal-steps-step-icon-text-color-failed);font-size:var(--bal-text-size-normal)}@media screen and (min-width: 769px),print{.bal-steps__nav__item__icon--failed{font-size:var(--bal-text-size-large-tablet)}}@media screen and (min-width: 1024px){.bal-steps__nav__item__icon--failed{font-size:var(--bal-text-size-large-desktop)}}.bal-steps__nav__item__icon--disabled{border-color:var(--bal-steps-step-border-color-disabled);background:var(--bal-steps-step-icon-background-disabled);color:var(--bal-steps-step-icon-text-color-disabled);opacity:.6}.bal-steps__nav__item__label{display:none}@media screen and (min-width: 769px),print{.bal-steps__nav__item__label{display:block;font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-text-size-normal);text-align:center;width:100%;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--bal-steps-step-label-text-color)}.bal-steps__nav__item__label--done{color:var(--bal-steps-step-label-text-color-done)}.bal-steps__nav__item__label--active{color:var(--bal-steps-step-label-text-color-active)}.bal-steps__nav__item__label--failed{color:var(--bal-steps-step-label-text-color-failed)}.bal-steps__nav__item__label--disabled{color:var(--bal-steps-step-label-text-color-disabled);opacity:.6}}.bal-steps{display:block;position:static}.bal-steps__nav{-webkit-overflow-scrolling:touch;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-ms-flexbox;display:flex;overflow-x:auto}.bal-step-item{width:100%;display:none}.bal-step-item--active{display:block}";
|
|
48
53
|
const BalStepsStyle0 = balStepsCss;
|
|
49
54
|
|
|
50
55
|
const Steps = class {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-84f42282.js');
|
|
6
|
+
const bem = require('./bem-81bc6a2d.js');
|
|
7
|
+
|
|
8
|
+
const balSwitchCss = ":root{--bal-checkbox-switch-label-background-before:var(--bal-color-primary-1);--bal-checkbox-switch-label-background-after:var(--bal-color-primary);--bal-checkbox-switch-label-background-hover-after:var(--bal-color-light-blue-5);--bal-checkbox-switch-label-background-active-after:var(--bal-color-primary-6);--bal-checkbox-switch-label-background-pressed-after:var(--bal-color-border-primary-pressed);--bal-checkbox-switch-label-background-checked-before:var(--bal-color-success-4);--bal-checkbox-switch-label-background-checked-after:var(--bal-color-white);--bal-checkbox-switch-label-background-checked-hover-before:var(--bal-color-success-5);--bal-checkbox-switch-label-background-checked-active-before:var(--bal-color-success-6);--bal-checkbox-switch-label-background-invalid-before:var(--bal-color-danger-1);--bal-checkbox-switch-label-background-invalid-after:var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-hover-after:var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-active-after:var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-pressed-after:var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-invalid-checked-before:var(--bal-color-danger-4);--bal-checkbox-switch-label-background-invalid-checked-after:var(--bal-color-white);--bal-checkbox-switch-label-background-invalid-checked-hover-before:var(--bal-color-danger-5);--bal-checkbox-switch-label-background-invalid-checked-active-before:var(--bal-color-danger-6);--bal-checkbox-switch-label-background-invalid-checked-hovered-before:var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-checked-pressed-before:var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-disabled-hover-active-before:var(--bal-color-grey-3);--bal-checkbox-switch-label-background-disabled-hover-active-after:var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-before:var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-after:var(--bal-color-white)}.bal-switch{display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:2.5rem;height:1.5rem;padding:.25rem;border-radius:var(--bal-radius-rounded);overflow:hidden;background:var(--bal-checkbox-switch-label-background-before)}@media (hover: hover)and (pointer: fine){.bal-switch--hovered,.bal-switch:hover{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--hovered .bal-switch__toggle,.bal-switch:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-hover-after)}}.bal-switch--pressed,.bal-switch:active{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--pressed .bal-switch__toggle,.bal-switch:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-pressed-after)}.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-checked-before)}.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}@media (hover: hover)and (pointer: fine){.bal-switch--checked.bal-switch--hovered,.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-checked-hover-before)}.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}}.bal-switch--checked.bal-switch--pressed,.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-checked-active-before)}.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-switch--invalid{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-after)}@media (hover: hover)and (pointer: fine){.bal-switch--invalid.bal-switch--hovered,.bal-switch--invalid:hover{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-hover-after)}}.bal-switch--invalid.bal-switch--pressed,.bal-switch--invalid:active{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-pressed-after)}.bal-switch--invalid.bal-switch--checked.bal-switch,.bal-switch--invalid.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-invalid-checked-before)}.bal-switch--invalid.bal-switch--checked.bal-switch .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered,.bal-switch--invalid.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-invalid-checked-hovered-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed,.bal-switch--invalid.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-invalid-checked-pressed-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--disabled,.bal-switch--disabled:hover,.bal-switch--disabled:active{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-before)}.bal-switch--disabled .bal-switch__toggle,.bal-switch--disabled:hover .bal-switch__toggle,.bal-switch--disabled:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-after)}.bal-switch--disabled.bal-switch--checked,.bal-switch--disabled.bal-switch--checked:hover,.bal-switch--disabled.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-switch--disabled.bal-switch--checked .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:hover .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-after);border-radius:50%;position:absolute;top:.25rem;width:1rem;height:1rem;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out, -webkit-transform .3s ease-in-out}.bal-switch__toggle--checked{-webkit-transform:translateX(100%);transform:translateX(100%);background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-icon{position:absolute}.bal-icon .bal-switch__icon--checked{opacity:1}.bal-icon .bal-switch__icon{opacity:0;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}";
|
|
9
|
+
const BalSwitchStyle0 = balSwitchCss;
|
|
10
|
+
|
|
11
|
+
const Switch = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.checked = false;
|
|
15
|
+
this.invalid = undefined;
|
|
16
|
+
this.disabled = undefined;
|
|
17
|
+
this.hovered = false;
|
|
18
|
+
this.pressed = false;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* RENDER
|
|
22
|
+
* ------------------------------------------------------
|
|
23
|
+
*/
|
|
24
|
+
render() {
|
|
25
|
+
const block = bem.BEM.block('switch');
|
|
26
|
+
const checked = !!this.checked;
|
|
27
|
+
const disabled = !!this.disabled;
|
|
28
|
+
const invalid = !!this.invalid;
|
|
29
|
+
return (index.h(index.Host, { key: '44e17aefdee7df228e92368c3863509a4dcd4bc8', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('checked').class(checked)), block.modifier('disabled').class(disabled)), block.modifier('invalid').class(invalid)), block.modifier('hovered').class(this.hovered)), block.modifier('pressed').class(this.pressed)) }, index.h("bal-icon", { key: '1f27c8f3f92467ea80de321666e597c8ea7cde89', name: "check", color: "white", size: "small", "aria-hidden": "true", colorHovered: "white", colorPressed: "white", hovered: this.hovered, pressed: this.pressed, class: Object.assign({}, block.element('icon').modifier('checked').class(checked)) }), index.h("div", { key: 'd22b87a1a091669422db72acf16d48a4c4e8825f', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('toggle').class()), block.element('toggle').modifier('checked').class(checked)), block.element('toggle').modifier('disabled').class(disabled)), block.element('toggle').modifier('invalid').class(invalid)), block.modifier('hovered').class(this.hovered)), block.modifier('pressed').class(this.pressed)) })));
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
Switch.style = BalSwitchStyle0;
|
|
33
|
+
|
|
34
|
+
exports.bal_switch = Switch;
|
|
@@ -14,11 +14,11 @@ const formInput = require('./form-input-e9974433.js');
|
|
|
14
14
|
const browser = require('./browser-1d542d0f.js');
|
|
15
15
|
const swiper_util = require('./swiper.util-f1c856f3.js');
|
|
16
16
|
const aria = require('./aria-7672033f.js');
|
|
17
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
17
|
+
const breakpoints_subject = require('./breakpoints.subject-1a5906e4.js');
|
|
18
18
|
const config_default = require('./config.default-7e96eb95.js');
|
|
19
19
|
const mutation_decorator = require('./mutation.decorator-485e250e.js');
|
|
20
20
|
const visibility_decorator = require('./visibility.decorator-a218aab9.js');
|
|
21
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
21
|
+
const breakpoints_decorator = require('./breakpoints.decorator-d16aa7d7.js');
|
|
22
22
|
const resize_decorator = require('./resize.decorator-e4a92322.js');
|
|
23
23
|
const swipe_decorator = require('./swipe.decorator-9c105f90.js');
|
|
24
24
|
const animation_decorator = require('./animation.decorator-40bdfb52.js');
|
|
@@ -30,7 +30,7 @@ require('./config.utils-df30e424.js');
|
|
|
30
30
|
require('./keyboard.helpers-2093e793.js');
|
|
31
31
|
require('./device-9f97a845.js');
|
|
32
32
|
require('./listener-52d2e5fd.js');
|
|
33
|
-
require('./tokens.esm-
|
|
33
|
+
require('./tokens.esm-af603697.js');
|
|
34
34
|
require('./swipe.subject-191f7d8a.js');
|
|
35
35
|
|
|
36
36
|
const TabItem = class {
|
|
@@ -44,6 +44,7 @@ const TabItem = class {
|
|
|
44
44
|
this.active = false;
|
|
45
45
|
this.value = '';
|
|
46
46
|
this.label = '';
|
|
47
|
+
this.rel = undefined;
|
|
47
48
|
this.href = undefined;
|
|
48
49
|
this.target = '_self';
|
|
49
50
|
this.bubble = false;
|
|
@@ -84,6 +85,7 @@ const TabItem = class {
|
|
|
84
85
|
icon: this.icon,
|
|
85
86
|
label: this.label,
|
|
86
87
|
href: this.href,
|
|
88
|
+
rel: this.rel,
|
|
87
89
|
target: this.target,
|
|
88
90
|
active: this.active,
|
|
89
91
|
disabled: this.disabled,
|
|
@@ -102,10 +104,10 @@ const TabItem = class {
|
|
|
102
104
|
render() {
|
|
103
105
|
const hasPanel = !this.noPanel;
|
|
104
106
|
const noPanelOrInactive = !this.isActive || this.noPanel;
|
|
105
|
-
return (index.h(index.Host, { key: '
|
|
107
|
+
return (index.h(index.Host, { key: 'fb75a99fe41ccd8bbac4e1d8c0c8bf8a116e3121', id: this.tabPanelID, class: {
|
|
106
108
|
'bal-tab-item': true,
|
|
107
109
|
'bal-tab-item--active': this.isActive,
|
|
108
|
-
}, role: hasPanel ? 'tabpanel' : undefined, "aria-hidden": noPanelOrInactive ? 'true' : 'false', "aria-labelledby": this.tabsId ? `${this.tabsId}-button-${this.value}` : undefined, tabindex: noPanelOrInactive ? '-1' : undefined, hidden: noPanelOrInactive ? true : undefined }, index.h("slot", { key: '
|
|
110
|
+
}, role: hasPanel ? 'tabpanel' : undefined, "aria-hidden": noPanelOrInactive ? 'true' : 'false', "aria-labelledby": this.tabsId ? `${this.tabsId}-button-${this.value}` : undefined, tabindex: noPanelOrInactive ? '-1' : undefined, hidden: noPanelOrInactive ? true : undefined }, index.h("slot", { key: '5e8e7ce04a22af2fce844c4604c3a3277dbccce5' })));
|
|
109
111
|
}
|
|
110
112
|
get el() { return index.getElement(this); }
|
|
111
113
|
};
|
|
@@ -177,6 +179,7 @@ const TabButton = ({ item, tabsId, isFirst, isLast, isMobile, isVertical, accord
|
|
|
177
179
|
: {
|
|
178
180
|
role: 'listitem',
|
|
179
181
|
href: item.href,
|
|
182
|
+
rel: item.rel,
|
|
180
183
|
target: item.target,
|
|
181
184
|
};
|
|
182
185
|
if (!isLinkList) {
|
|
@@ -469,6 +472,7 @@ const Tabs = class {
|
|
|
469
472
|
this.selectOnMobile = false;
|
|
470
473
|
this.value = undefined;
|
|
471
474
|
this.dimInactiveElements = false;
|
|
475
|
+
this.handleAsTabList = false;
|
|
472
476
|
}
|
|
473
477
|
createLogger(log) {
|
|
474
478
|
this.log = log;
|
|
@@ -645,8 +649,12 @@ const Tabs = class {
|
|
|
645
649
|
swiperGetAllChildrenElements() {
|
|
646
650
|
return Array.from(this.el.querySelectorAll('.bal-tabs__nav__item'));
|
|
647
651
|
}
|
|
652
|
+
/**
|
|
653
|
+
* Tells if the component acts as a tab or link list.
|
|
654
|
+
* If only one link is in the list and handleAsTabList has been set to false it will be a link list
|
|
655
|
+
*/
|
|
648
656
|
get isTabList() {
|
|
649
|
-
return this.store.filter(tab => !!tab.href).length === 0;
|
|
657
|
+
return this.store.filter(tab => !!tab.href).length === 0 || this.handleAsTabList;
|
|
650
658
|
}
|
|
651
659
|
get items() {
|
|
652
660
|
return Array.from(this.el.querySelectorAll(`#${this.tabsId} > bal-tab-item`));
|
|
@@ -775,7 +783,7 @@ const Tabs = class {
|
|
|
775
783
|
}
|
|
776
784
|
}
|
|
777
785
|
async focus(tab) {
|
|
778
|
-
const hasKeyboardFocus = this.el.querySelector(`button.bal-focused`) !== null;
|
|
786
|
+
const hasKeyboardFocus = this.el.querySelector(`button.bal-focused, a.bal-focused`) !== null;
|
|
779
787
|
if (this.swiper.isActive()) {
|
|
780
788
|
const options = await this.getOptions();
|
|
781
789
|
const index = options.findIndex(option => option.value === tab.value);
|
|
@@ -816,9 +824,9 @@ const Tabs = class {
|
|
|
816
824
|
.filter(t => this.isTabActive(t))
|
|
817
825
|
.map(t => t.label)
|
|
818
826
|
.join(',');
|
|
819
|
-
return (index.h(index.Host, { key: '
|
|
827
|
+
return (index.h(index.Host, { key: '69d96a45fe17ef7cf2c6acf7a59acb080f434f37', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('navbar').class(this.inNavbar)), block.modifier('vertical').class(isVertical)), block.modifier('fullwidth').class(this.expanded || this.fullwidth)), block.modifier('accordion').class(this.accordion)), block.modifier('animated').class(this.animated && this.isTabList)), block.modifier('expanding').class(this.accordionState === 8 /* AccordionState.Expanding */)), block.modifier('expanded').class(this.accordionState === 4 /* AccordionState.Expanded */)), block.modifier('collapsing').class(this.accordionState === 2 /* AccordionState.Collapsing */)), block.modifier('collapsed').class(this.accordionState === 1 /* AccordionState.Collapsed */)), "data-value": dataValue, "data-label": dataLabel }, isSelect ? (index.h(TabSelect, { value: this.value, items: tabs, onSelectTab: this.onSelectTab })) : (index.h(TabNav, { swiper: this.swiper, items: tabs, isLinkList: isLinkList, tabsId: this.tabsId, clickable: this.clickable, ariaLabel: this.inheritAttributes['aria-label'], accordion: this.accordion, isAccordionOpen: this.isAccordionOpen, lineActive: valueExists, lineHidden: !this.enableLineRender, inverted: isInverted, animated: this.animated && this.isTabList, context: this.context, border: hasBorder, spaceless: this.spaceless, expanded: this.expanded, isMobile: isMobile, isTouch: isTouch, isVertical: isVertical, inNavbar: this.inNavbar, iconPosition: this.iconPosition, showSwiperControls: !this.isVertical(), verticalColSize: this.verticalColSize, onSelectTab: this.onSelectTab, dimInactiveElements: this.dimInactiveElements })), index.h("div", { key: 'e0f122fe69cde2029ef069fa99b7c08176e62a31', part: contentPart, class: Object.assign(Object.assign(Object.assign({}, contentEl.class()), contentEl.modifier('vertical').class(this.isVertical())), contentEl
|
|
820
828
|
.modifier('hidden')
|
|
821
|
-
.class(this.context === 'meta' || this.context === 'navbar' || this.context === 'navigation')) }, index.h("div", { key: '
|
|
829
|
+
.class(this.context === 'meta' || this.context === 'navbar' || this.context === 'navigation')) }, index.h("div", { key: 'bbbaad45e23863e488b6f7246f7112596ba50f1d', id: this.tabsId, class: Object.assign({}, contentEl.element('wrapper').class()) }, index.h("slot", { key: 'e5dfe7d80380bc1f3eff95d5391375af110a1440' })))));
|
|
822
830
|
}
|
|
823
831
|
get el() { return index.getElement(this); }
|
|
824
832
|
static get watchers() { return {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-84f42282.js');
|
|
6
6
|
const bem = require('./bem-81bc6a2d.js');
|
|
7
7
|
|
|
8
|
-
const balTableCss = ".bal-table{display:block;position:static}.bal-table--is-fullwidth{display:-ms-flexbox;display:flex;width:100%}bal-checkbox .bal-
|
|
8
|
+
const balTableCss = ".bal-table{display:block;position:static}.bal-table--is-fullwidth{display:-ms-flexbox;display:flex;width:100%}bal-checkbox .bal-checkbox__label::before{top:0}bal-checkbox .bal-checkbox__label::after{margin-top:0px}";
|
|
9
9
|
const BalTableStyle0 = balTableCss;
|
|
10
10
|
|
|
11
11
|
const Table = class {
|
|
@@ -17,7 +17,7 @@ const Table = class {
|
|
|
17
17
|
const block = bem.BEM.block('table');
|
|
18
18
|
const fullwidthClass = 'is-fullwidth';
|
|
19
19
|
const hasFullwidth = this.expanded;
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: '21e3f6eb26b7cfb05a6fdf94a3ba32ca62052e4c', class: Object.assign(Object.assign(Object.assign({}, block.class()), { 'ag-theme-alpine': true }), block.modifier(fullwidthClass).class(hasFullwidth)) }, index.h("slot", { key: 'd5c278f8453e5b2795d32c2f0d18971a1b63203d' })));
|
|
21
21
|
}
|
|
22
22
|
get el() { return index.getElement(this); }
|
|
23
23
|
};
|
|
@@ -40,7 +40,7 @@ const Tag = class {
|
|
|
40
40
|
const hasDisabled = this.disabled;
|
|
41
41
|
const positionClass = `is-${this.position}`;
|
|
42
42
|
const hasPosition = this.position !== undefined;
|
|
43
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
43
|
+
return (index.h(index.Host, Object.assign({ key: '3871533f1c7f6decbaa5b4f64f76fe8f216cfff0', "aria-disabled": aria.ariaBooleanToString(this.disabled), class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(sizeClass).class(hasSize)), block.modifier(colorClass).class(hasColor)), block.modifier(disabledClass).class(hasDisabled)), block.modifier(positionClass).class(hasPosition)), block.modifier('is-invalid').class(this.invalid)) }, this.inheritedAttributes), index.h("span", { key: 'acc42dcb6273fe49f6d094cd6a2ced41d81e8555', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, elLabel.class()), elLabel.modifier(sizeClass).class(hasSize)), elLabel.modifier(colorClass).class(hasColor)), elLabel.modifier(disabledClass).class(hasDisabled)), elLabel.modifier('is-invalid').class(this.invalid)), "data-testid": "bal-tag-label" }, index.h("slot", { key: '2a25dd578fe0694ea90e71167ee1f98b0298dea5' })), index.h("bal-close", Object.assign({ key: 'ac645b9a82109c39e9e509b78bd856b986699e9d', class: Object.assign({}, block.element('close').class()), style: {
|
|
44
44
|
display: this.closable && !this.disabled ? 'flex' : 'none',
|
|
45
45
|
}, size: this.size === 'small' ? 'small' : '', inverted: (['blue', 'primary', 'info', 'success', 'warning', 'danger', 'red', 'purple', 'yellow', 'green'].includes(this.color) &&
|
|
46
46
|
!this.light) ||
|
|
@@ -55,7 +55,7 @@ const TagGroup = class {
|
|
|
55
55
|
index.registerInstance(this, hostRef);
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (index.h(index.Host, { key: '
|
|
58
|
+
return (index.h(index.Host, { key: '2f70efec055a3d379dd24376bd2f899b89475b0e', class: "bal-tag-group" }, index.h("slot", { key: '1d823341b709ae48b9b706644756f9729021c78d' })));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -123,7 +123,7 @@ const Textarea = class {
|
|
|
123
123
|
const value = this.getValue();
|
|
124
124
|
const block = bem.BEM.block('textarea');
|
|
125
125
|
const elNative = block.element('native');
|
|
126
|
-
return (index.h(index.Host, { key: '
|
|
126
|
+
return (index.h(index.Host, { key: '58fb6cd0932b1ddedc979d160ad17c836b5f8af3', onClick: this.handleClick, "aria-disabled": aria.ariaBooleanToString(this.disabled), class: Object.assign({}, block.class()) }, index.h("textarea", Object.assign({ key: 'c30549a4a89ebd2f0f26eb1d79fca74a3ed0fd31', class: Object.assign(Object.assign({}, elNative.class()), { 'textarea': true, 'is-disabled': this.disabled || this.readonly, 'is-danger': this.invalid, 'clickable': this.clickable }), "data-testid": "bal-textarea-input", ref: inputEl => (this.nativeInput = inputEl), name: this.name, 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": aria.ariaBooleanToString(this.disabled), disabled: this.disabled, readonly: this.readonly, required: this.required, autoCapitalize: this.autocapitalize, autocomplete: this.autocomplete, autoFocus: this.autofocus, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder, inputMode: this.inputmode, value: this.value, cols: this.cols, rows: this.rows, wrap: this.wrap, onFocus: this.onFocus, onInput: ev => this.onInput(ev), onBlur: this.onBlur, onClick: this.onClick, onKeyPress: e => this.balKeyPress.emit(e) }, this.inheritedAttributes), value, index.h("slot", { key: '3e42186b43bb6b7d535c008c74b03ef4981f2fd8' }))));
|
|
127
127
|
}
|
|
128
128
|
get el() { return index.getElement(this); }
|
|
129
129
|
static get watchers() { return {
|