@baloise/ds-core 16.8.0-nightly.20241128 → 17.0.0
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 +0 -2
- package/components/all.js +0 -3
- package/components/bal-app.js +91 -1
- package/components/bal-button2.js +9 -1
- package/components/bal-carousel2.js +15 -2
- package/components/bal-checkbox-group.js +26 -1
- package/components/bal-checkbox2.js +15 -2
- package/components/bal-date.js +37 -8
- package/components/bal-dropdown2.js +41 -21
- package/components/bal-file-upload.js +12 -5
- package/components/bal-input-date2.js +16 -3
- package/components/bal-input-slider.js +18 -4
- package/components/bal-input-stepper.js +17 -4
- package/components/bal-input.js +15 -2
- package/components/bal-modal.js +32 -6
- package/components/bal-nav-meta-bar2.js +9 -2
- package/components/bal-nav.js +16 -3
- package/components/bal-number-input.js +15 -2
- package/components/bal-option-list.js +15 -2
- package/components/bal-option2.js +9 -2
- package/components/bal-popover2.js +38 -13
- package/components/bal-popup.js +45 -10
- package/components/bal-radio-group.js +32 -1
- package/components/bal-radio2.js +9 -2
- package/components/bal-segment.js +15 -2
- package/components/bal-select2.js +25 -6
- package/components/bal-tabs2.js +22 -3
- package/components/bal-textarea.js +16 -2
- package/components/bal-time-input.js +15 -2
- package/components/bal-tooltip.js +13 -9
- package/components/floating-ui.dom.esm.js +493 -1
- package/components/floating-ui.js +26 -0
- package/components/index.js +289 -5
- package/components/listen.js +58 -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-c4ca01309d.entry.js → p-01cdb12b31.entry.js} +1 -1
- package/dist/baloise-design-system/p-0215ccdca9.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-a56e373833.system.entry.js → p-063f4fc96f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-075bcd8c56.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0935940ea0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0c51c999.js +1 -0
- package/dist/baloise-design-system/{p-da2562dec4.entry.js → p-0dc26bfe1f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5528bb7c78.entry.js → p-0ede0fa9b2.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0c18fb22f4.entry.js → p-10151a65a4.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2e8c85c8.system.js → p-10985d5e.system.js} +1 -1
- package/dist/baloise-design-system/{p-58ce3f44f5.system.entry.js → p-12701030b2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a0777dfaaa.entry.js → p-1400a7e9cc.entry.js} +1 -1
- package/dist/baloise-design-system/{p-63ad3fe86c.system.entry.js → p-14eef425da.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2119dc974a.entry.js → p-16ff8c81bf.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9f5ab1c77f.system.entry.js → p-17c73b8f48.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-91555f7c0f.system.entry.js → p-1e344a8c28.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c58043b9.system.js → p-1e688639.system.js} +1 -1
- package/dist/baloise-design-system/p-218f416b89.entry.js +1 -0
- package/dist/baloise-design-system/p-2539ba43.js +2 -0
- package/dist/baloise-design-system/p-2767b62167.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-24cb7ada61.entry.js → p-29273a2be9.entry.js} +1 -1
- package/dist/baloise-design-system/{p-222473290c.entry.js → p-2af8b73858.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3780688271.entry.js → p-2f6c32ca97.entry.js} +1 -1
- package/dist/baloise-design-system/p-30679d51bd.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-60d1100c61.system.entry.js → p-30f41bab1a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-3114a84410.entry.js +1 -0
- package/dist/baloise-design-system/{p-3e81eb1b73.entry.js → p-3149162e9e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2bdeb49e04.entry.js → p-3508444fc8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bcbde419.system.js → p-365fc134.system.js} +1 -1
- package/dist/baloise-design-system/{p-382b654245.entry.js → p-3814316946.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a89836cf90.system.entry.js → p-3c504ddf38.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9e1f6b77fd.entry.js → p-4b6481e692.entry.js} +1 -1
- package/dist/baloise-design-system/p-4bbe4ba6ba.entry.js +1 -0
- package/dist/baloise-design-system/{p-9895f4bc7f.entry.js → p-4d84f90534.entry.js} +1 -1
- package/dist/baloise-design-system/p-4e4fe533.js +1 -0
- package/dist/baloise-design-system/{p-30440adeaf.system.entry.js → p-4e75ee3c87.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7be6d0d5.js → p-50b2a9c6.js} +1 -1
- package/dist/baloise-design-system/p-51e22c0c.js +1 -0
- package/dist/baloise-design-system/{p-d5d60c9b0c.entry.js → p-5353ba1263.entry.js} +1 -1
- package/dist/baloise-design-system/p-53b859d3c4.entry.js +1 -0
- package/dist/baloise-design-system/{p-1f1d4be98c.system.entry.js → p-54c8a63b7c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-579855c6.system.js +1 -0
- package/dist/baloise-design-system/{p-5ad129ef61.entry.js → p-5b78557886.entry.js} +1 -1
- package/dist/baloise-design-system/p-6116192a.js +1 -0
- package/dist/baloise-design-system/p-61c48963c7.system.entry.js +1 -0
- package/dist/baloise-design-system/p-62936f4a8b.entry.js +1 -0
- package/dist/baloise-design-system/{p-3d1686d3b7.entry.js → p-678ebde2de.entry.js} +1 -1
- package/dist/baloise-design-system/p-68392bc0e8.system.entry.js +1 -0
- package/dist/baloise-design-system/p-69f82b9b22.entry.js +1 -0
- package/dist/baloise-design-system/{p-cde7b9624f.entry.js → p-6c3a60ddf6.entry.js} +1 -1
- package/dist/baloise-design-system/p-6cadcbe4bb.entry.js +1 -0
- package/dist/baloise-design-system/{p-aa056163df.system.entry.js → p-6d27c4949f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-6d6a2f64f2.entry.js +1 -0
- package/dist/baloise-design-system/p-6e79b03ef3.entry.js +1 -0
- package/dist/baloise-design-system/{p-368d2f5b53.system.entry.js → p-6fb26bd060.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3599e990df.system.entry.js → p-70ff6660e5.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-73bd9055.system.js +1 -0
- package/dist/baloise-design-system/{p-4e943f9e82.system.entry.js → p-7752fa10ea.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-799a292492.entry.js +1 -0
- package/dist/baloise-design-system/{p-e706fa54a7.system.entry.js → p-7a883fd6ed.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-099160293f.entry.js → p-7eaff7954d.entry.js} +1 -1
- package/dist/baloise-design-system/p-7f9fe862b6.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ca33489f33.system.entry.js → p-8096d040b2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5d61e44daf.entry.js → p-85b6c500d8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e101267145.system.entry.js → p-85d9ea863b.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-85ed9bd051.entry.js +1 -0
- package/dist/baloise-design-system/p-8669493951.system.entry.js +1 -0
- package/dist/baloise-design-system/p-88be14c716.entry.js +1 -0
- package/dist/baloise-design-system/p-8a1bb350f1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-8b783731ea.system.entry.js → p-8ac5772a60.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-66a76fe561.entry.js → p-8b8d19171d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-510dacbdf8.entry.js → p-8d370d87cb.entry.js} +1 -1
- package/dist/baloise-design-system/p-9311066eb2.system.entry.js +1 -0
- package/dist/baloise-design-system/p-93e2638280.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-bad5fa4646.entry.js → p-98267a7765.entry.js} +1 -1
- package/dist/baloise-design-system/{p-07650803c8.system.entry.js → p-98a58cff41.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-98f7403c7f.entry.js +1 -0
- package/dist/baloise-design-system/{p-8f639d43b5.system.entry.js → p-992c49c23e.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9774873974.entry.js → p-9b8ca7ead8.entry.js} +1 -1
- package/dist/baloise-design-system/p-9d29364f13.entry.js +1 -0
- package/dist/baloise-design-system/p-9d3f19c6af.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-993e98c44c.entry.js → p-9f54cfc70b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-52369031e6.entry.js → p-9f83acd71d.entry.js} +1 -1
- package/dist/baloise-design-system/p-a7d15ec66b.entry.js +1 -0
- package/dist/baloise-design-system/p-ad58876e8c.entry.js +1 -0
- package/dist/baloise-design-system/p-ae2292f251.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-4721b7f303.system.entry.js → p-aebb3198c4.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-60824c3a6c.system.entry.js → p-af3fb420b3.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-af4c6af2.js +1 -0
- package/dist/baloise-design-system/p-af5e974f4c.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b0120babb2.entry.js +1 -0
- package/dist/baloise-design-system/{p-aa4c7e3e90.entry.js → p-b136739bec.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7caf3c7067.system.entry.js → p-b4ecd87960.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-b57c473d.system.js +1 -0
- package/dist/baloise-design-system/{p-015c102ad9.system.entry.js → p-b8658ffb85.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-b86876e144.entry.js +1 -0
- package/dist/baloise-design-system/p-ba9c735428.entry.js +1 -0
- package/dist/baloise-design-system/p-be61baa681.entry.js +1 -0
- package/dist/baloise-design-system/{p-d07cefc6cd.entry.js → p-be6d3bde8f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5f152e8366.system.entry.js → p-bf1b5db620.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c045d5a57c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ad8f67e768.entry.js → p-c2157cabd4.entry.js} +1 -1
- package/dist/baloise-design-system/{p-84a902769c.entry.js → p-c416afcd52.entry.js} +1 -1
- package/dist/baloise-design-system/{p-42e9543ae1.system.entry.js → p-c589d05bc6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ceb61531.js → p-c61080a6.js} +1 -1
- package/dist/baloise-design-system/{p-fb9f3fe04c.entry.js → p-c7e93ad3c1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8c541cdc98.entry.js → p-c7efc6d470.entry.js} +1 -1
- package/dist/baloise-design-system/{p-848de6d6.js → p-c8caa835.js} +1 -1
- package/dist/baloise-design-system/p-c9dce0f3ea.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-da33e9ae0d.system.entry.js → p-cfd4370f6b.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-cfe42ac458.system.entry.js +1 -0
- package/dist/baloise-design-system/p-d0d162c677.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-3f55ea8e.system.js → p-d2f9ed2b.system.js} +1 -1
- package/dist/baloise-design-system/p-d404537f.system.js +1 -0
- package/dist/baloise-design-system/p-d532d41212.system.entry.js +1 -0
- package/dist/baloise-design-system/p-d67f7321.system.js +2 -0
- package/dist/baloise-design-system/p-d88acac29e.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-a73767fb2b.system.entry.js → p-d9bb74c913.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-dbc0b7c370.entry.js +1 -0
- package/dist/baloise-design-system/{p-fc61d25546.system.entry.js → p-dfcca29bc9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-246ddd7346.system.entry.js → p-e0e123ffec.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-481ee3bb.system.js → p-e1b2f86b.system.js} +1 -1
- package/dist/baloise-design-system/{p-532653d3fc.system.entry.js → p-e2ba4d18bc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-be204d7cab.system.entry.js → p-e3a563de25.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aff57cb8f7.system.entry.js → p-e8f93d80ca.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0481129a2f.entry.js → p-ec286609dd.entry.js} +1 -1
- package/dist/baloise-design-system/p-ec4cf5cec6.entry.js +1 -0
- package/dist/baloise-design-system/p-edbd880ce1.entry.js +1 -0
- package/dist/baloise-design-system/p-ee3c7a38.system.js +1 -0
- package/dist/baloise-design-system/{p-6ef3fdbb8e.entry.js → p-f1c41da029.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c08fccadbf.entry.js → p-f3ef269852.entry.js} +1 -1
- package/dist/baloise-design-system/{p-90c9a623bc.system.entry.js → p-f8d828383b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bd407541e0.system.entry.js → p-fa363ba3f9.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-faaf77375f.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-45db444d22.system.entry.js → p-faf5c89145.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-fd118a1752.system.entry.js +1 -0
- package/dist/cjs/app-globals-f5a609c1.js +11 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/bal-app.cjs.entry.js +1 -1
- package/dist/cjs/bal-badge.cjs.entry.js +1 -1
- package/dist/cjs/bal-button_2.cjs.entry.js +9 -1
- package/dist/cjs/bal-card_6.cjs.entry.js +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +18 -5
- package/dist/cjs/bal-checkbox-button.cjs.entry.js +1 -1
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +39 -2
- 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 +1 -1
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +1 -1
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +16 -3
- package/dist/cjs/bal-date.cjs.entry.js +37 -8
- package/dist/cjs/bal-divider.cjs.entry.js +1 -1
- package/dist/cjs/bal-dropdown.cjs.entry.js +40 -21
- package/dist/cjs/bal-field_5.cjs.entry.js +1 -1
- package/dist/cjs/bal-file-upload.cjs.entry.js +12 -5
- package/dist/cjs/bal-footer.cjs.entry.js +1 -1
- package/dist/cjs/bal-form-col_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-form.cjs.entry.js +1 -1
- package/dist/cjs/bal-heading_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-hint_5.cjs.entry.js +41 -16
- package/dist/cjs/bal-icon.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-slider.cjs.entry.js +18 -4
- package/dist/cjs/bal-input-stepper.cjs.entry.js +17 -4
- package/dist/cjs/bal-input.cjs.entry.js +15 -2
- package/dist/cjs/bal-label.cjs.entry.js +1 -1
- package/dist/cjs/bal-list_8.cjs.entry.js +4 -4
- package/dist/cjs/bal-logo.cjs.entry.js +4 -4
- package/dist/cjs/bal-modal_3.cjs.entry.js +32 -6
- package/dist/cjs/bal-nav_8.cjs.entry.js +26 -7
- package/dist/cjs/bal-navbar_5.cjs.entry.js +4 -4
- package/dist/cjs/bal-notices_3.cjs.entry.js +1 -1
- package/dist/cjs/bal-notification.cjs.entry.js +1 -1
- package/dist/cjs/bal-number-input.cjs.entry.js +15 -2
- package/dist/cjs/bal-option_2.cjs.entry.js +22 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
- package/dist/cjs/bal-popup.cjs.entry.js +45 -10
- package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/bal-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/bal-radio_2.cjs.entry.js +39 -2
- package/dist/cjs/bal-segment_2.cjs.entry.js +19 -6
- package/dist/cjs/bal-select_2.cjs.entry.js +25 -6
- package/dist/cjs/bal-shape.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/bal-step-item.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +4 -4
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +25 -6
- package/dist/cjs/bal-table.cjs.entry.js +1 -1
- package/dist/cjs/bal-tag_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-textarea.cjs.entry.js +16 -2
- package/dist/cjs/bal-time-input.cjs.entry.js +15 -2
- package/dist/cjs/bal-tooltip.cjs.entry.js +17 -10
- package/dist/cjs/baloise-design-system.cjs.js +5 -6
- package/dist/cjs/{breakpoints.decorator-cf3eca02.js → breakpoints.decorator-967c2fd2.js} +1 -1
- package/dist/cjs/{breakpoints.subject-ef2650af.js → breakpoints.subject-679bdc55.js} +1 -1
- package/dist/cjs/floating-ui-9f03e1cf.js +28 -0
- package/dist/{esm/floating-ui.dom.esm-f1cf1077.js → cjs/floating-ui.dom.esm-2ece9686.js} +508 -1
- package/dist/cjs/{index-a5d5074f.js → index-96c178a6.js} +4 -73
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{initialize-d21873c4.js → initialize-e7570bc6.js} +2 -2
- package/dist/cjs/listen-b42a4134.js +60 -0
- package/dist/cjs/loader.cjs.js +4 -5
- package/dist/cjs/{tokens.esm-b363e28a.js → tokens.esm-e4edac35.js} +1 -1
- package/dist/cjs/{window-resize.decorator-b06d2bb0.js → window-resize.decorator-bb2ea6d8.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/bal-button/bal-button.js +9 -10
- package/dist/collection/components/bal-carousel/bal-carousel.js +14 -16
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +25 -27
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +14 -16
- package/dist/collection/components/bal-date/bal-date.js +36 -34
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +31 -35
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +11 -13
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +15 -17
- package/dist/collection/components/bal-input/bal-input.js +14 -16
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +17 -18
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +16 -18
- package/dist/collection/components/bal-modal/bal-modal.js +31 -32
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +8 -10
- package/dist/collection/components/bal-nav/bal-nav.js +15 -17
- package/dist/collection/components/bal-number-input/bal-number-input.js +14 -16
- package/dist/collection/components/bal-option/bal-option.js +8 -10
- package/dist/collection/components/bal-option-list/bal-option-list.js +14 -16
- package/dist/collection/components/bal-popover/bal-popover.js +37 -39
- package/dist/collection/components/bal-popup/bal-popup.js +32 -34
- package/dist/collection/components/bal-popup/variants/popover-variant.renderer.js +12 -8
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +31 -33
- package/dist/collection/components/bal-radio/bal-radio.js +8 -10
- package/dist/collection/components/bal-segment/bal-segment.js +14 -16
- package/dist/collection/components/bal-select/bal-select.js +24 -26
- package/dist/collection/components/bal-tabs/bal-tabs.js +21 -23
- package/dist/collection/components/bal-textarea/bal-textarea.js +15 -16
- package/dist/collection/components/bal-time-input/bal-time-input.js +14 -16
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +13 -9
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/dropdown/popup.js +9 -6
- package/dist/collection/utils/floating-ui.js +23 -0
- package/dist/collection/utils/listen.js +55 -0
- package/dist/esm/app-globals-4d0448ee.js +9 -0
- package/dist/esm/bal-accordion_4.entry.js +1 -1
- package/dist/esm/bal-app.entry.js +1 -1
- package/dist/esm/bal-badge.entry.js +1 -1
- package/dist/esm/bal-button_2.entry.js +9 -1
- package/dist/esm/bal-card_6.entry.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +18 -5
- package/dist/esm/bal-checkbox-button.entry.js +1 -1
- package/dist/esm/bal-checkbox_2.entry.js +39 -2
- 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 +1 -1
- package/dist/esm/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm/bal-date-calendar_2.entry.js +16 -3
- package/dist/esm/bal-date.entry.js +37 -8
- package/dist/esm/bal-divider.entry.js +1 -1
- package/dist/esm/bal-dropdown.entry.js +41 -22
- package/dist/esm/bal-field_5.entry.js +1 -1
- package/dist/esm/bal-file-upload.entry.js +12 -5
- package/dist/esm/bal-footer.entry.js +1 -1
- package/dist/esm/bal-form-col_2.entry.js +1 -1
- package/dist/esm/bal-form.entry.js +1 -1
- package/dist/esm/bal-heading_2.entry.js +1 -1
- package/dist/esm/bal-hint_5.entry.js +41 -16
- package/dist/esm/bal-icon.entry.js +1 -1
- package/dist/esm/bal-input-group.entry.js +1 -1
- package/dist/esm/bal-input-slider.entry.js +18 -4
- package/dist/esm/bal-input-stepper.entry.js +17 -4
- package/dist/esm/bal-input.entry.js +15 -2
- package/dist/esm/bal-label.entry.js +1 -1
- package/dist/esm/bal-list_8.entry.js +4 -4
- package/dist/esm/bal-logo.entry.js +4 -4
- package/dist/esm/bal-modal_3.entry.js +32 -6
- package/dist/esm/bal-nav_8.entry.js +26 -7
- package/dist/esm/bal-navbar_5.entry.js +4 -4
- package/dist/esm/bal-notices_3.entry.js +1 -1
- package/dist/esm/bal-notification.entry.js +1 -1
- package/dist/esm/bal-number-input.entry.js +15 -2
- package/dist/esm/bal-option_2.entry.js +22 -3
- package/dist/esm/bal-pagination.entry.js +4 -4
- package/dist/esm/bal-popup.entry.js +45 -10
- package/dist/esm/bal-progress-bar.entry.js +5 -5
- package/dist/esm/bal-radio-button.entry.js +1 -1
- package/dist/esm/bal-radio_2.entry.js +39 -2
- package/dist/esm/bal-segment_2.entry.js +19 -6
- package/dist/esm/bal-select_2.entry.js +25 -6
- package/dist/esm/bal-shape.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/bal-step-item.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +4 -4
- package/dist/esm/bal-tab-item_2.entry.js +25 -6
- package/dist/esm/bal-table.entry.js +1 -1
- package/dist/esm/bal-tag_2.entry.js +1 -1
- package/dist/esm/bal-textarea.entry.js +16 -2
- package/dist/esm/bal-time-input.entry.js +15 -2
- package/dist/esm/bal-tooltip.entry.js +17 -10
- package/dist/esm/baloise-design-system.js +6 -7
- package/dist/esm/{breakpoints.decorator-f94354b6.js → breakpoints.decorator-9981606e.js} +1 -1
- package/dist/esm/{breakpoints.subject-9d4798ac.js → breakpoints.subject-ae98d0fa.js} +1 -1
- package/dist/esm/floating-ui-82413f23.js +26 -0
- package/dist/{cjs/floating-ui.dom.esm-5dbdcff9.js → esm/floating-ui.dom.esm-8dcdb8d6.js} +493 -8
- package/dist/esm/{index-3ab19881.js → index-5b1faf93.js} +4 -73
- package/dist/esm/index.js +5 -5
- package/dist/esm/{initialize-5a257a0d.js → initialize-f93872c4.js} +2 -2
- package/dist/esm/listen-d1712e70.js +58 -0
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{tokens.esm-c10e9c85.js → tokens.esm-ed9fb455.js} +1 -1
- package/dist/esm/{window-resize.decorator-d57a9812.js → window-resize.decorator-a88002f7.js} +1 -1
- package/dist/esm-es5/app-globals-4d0448ee.js +1 -0
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-app.entry.js +1 -1
- package/dist/esm-es5/bal-badge.entry.js +1 -1
- package/dist/esm-es5/bal-button_2.entry.js +1 -1
- package/dist/esm-es5/bal-card_6.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
- 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-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-button.entry.js +1 -1
- 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-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-9981606e.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-9d4798ac.js → breakpoints.subject-ae98d0fa.js} +1 -1
- package/dist/esm-es5/floating-ui-82413f23.js +1 -0
- package/dist/esm-es5/floating-ui.dom.esm-8dcdb8d6.js +1 -0
- package/dist/esm-es5/index-5b1faf93.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{initialize-5a257a0d.js → initialize-f93872c4.js} +1 -1
- package/dist/esm-es5/listen-d1712e70.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{window-resize.decorator-d57a9812.js → window-resize.decorator-a88002f7.js} +1 -1
- package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +5 -4
- package/dist/types/components/bal-popover/bal-popover.d.ts +1 -1
- package/dist/types/components/bal-select/bal-select.d.ts +1 -1
- package/dist/types/components.d.ts +0 -37
- package/dist/types/utils/dropdown/popup.d.ts +2 -1
- package/dist/types/utils/floating-ui.d.ts +15 -0
- package/dist/types/utils/listen.d.ts +12 -0
- package/package.json +8 -8
- package/components/bal-app2.js +0 -93
- package/components/bal-doc-app.d.ts +0 -11
- package/components/bal-doc-app.js +0 -262
- package/components/initialize.js +0 -288
- package/dist/baloise-design-system/p-003f6da692.entry.js +0 -1
- package/dist/baloise-design-system/p-02386e08ff.entry.js +0 -1
- package/dist/baloise-design-system/p-0246c9bc54.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0393304e1a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0c407262b1.entry.js +0 -1
- package/dist/baloise-design-system/p-0cee05a046.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1943321f.js +0 -2
- package/dist/baloise-design-system/p-1b8135875a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1c41aa0529.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1ed2313b.system.js +0 -1
- package/dist/baloise-design-system/p-202e0c450b.entry.js +0 -1
- package/dist/baloise-design-system/p-21f879a309.entry.js +0 -1
- package/dist/baloise-design-system/p-23ba23e7a8.entry.js +0 -1
- package/dist/baloise-design-system/p-2457d0ceb3.entry.js +0 -1
- package/dist/baloise-design-system/p-24d9967525.entry.js +0 -1
- package/dist/baloise-design-system/p-2608ceffd1.entry.js +0 -1
- package/dist/baloise-design-system/p-32b969a0da.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3c9e26059c.entry.js +0 -1
- package/dist/baloise-design-system/p-4366e05d9c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4c45a9af76.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5272405e3e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-59ae70e074.entry.js +0 -1
- package/dist/baloise-design-system/p-5c96b1dd74.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5fea9d7d.js +0 -1
- package/dist/baloise-design-system/p-60f814e4.system.js +0 -2
- package/dist/baloise-design-system/p-62a7573de4.entry.js +0 -1
- package/dist/baloise-design-system/p-6457001cc1.entry.js +0 -1
- package/dist/baloise-design-system/p-7057ff2e7d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-77339423fa.system.entry.js +0 -1
- package/dist/baloise-design-system/p-774f9049af.system.entry.js +0 -1
- package/dist/baloise-design-system/p-782eb33b57.entry.js +0 -1
- package/dist/baloise-design-system/p-79af87fd32.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7a6288bcd1.entry.js +0 -1
- package/dist/baloise-design-system/p-81bf0a2b8b.entry.js +0 -1
- package/dist/baloise-design-system/p-8292681250.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8855dc8f1f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-886c18cfa8.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8fa843a042.system.entry.js +0 -1
- package/dist/baloise-design-system/p-977eb5ca6a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9ce328a855.entry.js +0 -1
- package/dist/baloise-design-system/p-9d3bd74b2b.entry.js +0 -1
- package/dist/baloise-design-system/p-9efc54a088.entry.js +0 -1
- package/dist/baloise-design-system/p-a261e182.system.js +0 -1
- package/dist/baloise-design-system/p-a316e24bc9.entry.js +0 -1
- package/dist/baloise-design-system/p-a3fa6e7d.js +0 -1
- package/dist/baloise-design-system/p-a418091b54.entry.js +0 -1
- package/dist/baloise-design-system/p-a62cd7edc4.entry.js +0 -1
- package/dist/baloise-design-system/p-afb3d4fe.js +0 -1
- package/dist/baloise-design-system/p-b80d9e4d.js +0 -1
- package/dist/baloise-design-system/p-bea3236be3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ce3e07bdb5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d26b9f1cb0.entry.js +0 -1
- package/dist/baloise-design-system/p-d8d8722634.system.entry.js +0 -1
- package/dist/baloise-design-system/p-dd490e5c41.system.entry.js +0 -1
- package/dist/baloise-design-system/p-dff3cb4e23.entry.js +0 -1
- package/dist/baloise-design-system/p-f8c5e9e7.system.js +0 -1
- package/dist/baloise-design-system/p-fccda5a8.system.js +0 -1
- package/dist/baloise-design-system/p-fd9827e80b.system.entry.js +0 -1
- package/dist/cjs/app-globals-da4c9bf6.js +0 -7
- package/dist/cjs/bal-doc-app.cjs.entry.js +0 -233
- package/dist/cjs/global-7a7dcc4f.js +0 -9
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -229
- package/dist/esm/app-globals-4970103c.js +0 -5
- package/dist/esm/bal-doc-app.entry.js +0 -229
- package/dist/esm/global-5bf9977a.js +0 -7
- package/dist/esm-es5/app-globals-4970103c.js +0 -1
- package/dist/esm-es5/bal-doc-app.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-f94354b6.js +0 -1
- package/dist/esm-es5/floating-ui.dom.esm-f1cf1077.js +0 -1
- package/dist/esm-es5/global-5bf9977a.js +0 -1
- package/dist/esm-es5/index-3ab19881.js +0 -2
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +0 -82
- /package/dist/baloise-design-system/{p-7e0b6920.system.js → p-923b2e35.system.js} +0 -0
- /package/dist/baloise-design-system/{p-8ab7a3bd.js → p-fc542e26.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-c10e9c85.js → tokens.esm-ed9fb455.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
4
4
|
import { b as balBrowser } from './browser-a8073d92.js';
|
|
@@ -6,7 +6,8 @@ import { s as stopEventBubbling } from './form-input-264ad739.js';
|
|
|
6
6
|
import { j as debounce } from './helpers-72ae7307.js';
|
|
7
7
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
8
8
|
import { f as focusableQueryString } from './focus-visible-f0cdd043.js';
|
|
9
|
-
import {
|
|
9
|
+
import { L as ListenTo } from './listen-d1712e70.js';
|
|
10
|
+
import { b as balFloatingUi } from './floating-ui-82413f23.js';
|
|
10
11
|
import { c as isEscapeKey } from './keyboard.helpers-b2dd6393.js';
|
|
11
12
|
import './icons.constant-a7885631.js';
|
|
12
13
|
import './config.utils-6ac6c9bd.js';
|
|
@@ -143,6 +144,7 @@ class PopoverVariantRenderer extends AbstractVariantRenderer {
|
|
|
143
144
|
this.triggerEl = null;
|
|
144
145
|
}
|
|
145
146
|
async present(component) {
|
|
147
|
+
const lib = await balFloatingUi.load();
|
|
146
148
|
//
|
|
147
149
|
// identify trigger element or the the closest trigger available
|
|
148
150
|
if (!component.trigger && balBrowser.hasDocument) {
|
|
@@ -171,7 +173,7 @@ class PopoverVariantRenderer extends AbstractVariantRenderer {
|
|
|
171
173
|
if (isNavMetaDesktopPopup) {
|
|
172
174
|
component.setMinWidth(this.triggerEl.clientWidth);
|
|
173
175
|
}
|
|
174
|
-
this.cleanup = autoUpdate(this.triggerEl, component.containerEl, () => {
|
|
176
|
+
this.cleanup = lib.autoUpdate(this.triggerEl, component.containerEl, () => {
|
|
175
177
|
this.update(component);
|
|
176
178
|
}, {
|
|
177
179
|
ancestorScroll: true,
|
|
@@ -188,6 +190,7 @@ class PopoverVariantRenderer extends AbstractVariantRenderer {
|
|
|
188
190
|
async update(component) {
|
|
189
191
|
var _a, _b;
|
|
190
192
|
if (this.triggerEl && component.trigger && component.containerEl && component.arrowEl) {
|
|
193
|
+
const lib = await balFloatingUi.load();
|
|
191
194
|
const isNavMetaDesktopPopup = this.placement === 'bottom-end' && this.triggerEl !== component.trigger;
|
|
192
195
|
const referenceRect = (_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
193
196
|
const triggerRect = (_b = component.trigger) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect();
|
|
@@ -195,18 +198,20 @@ class PopoverVariantRenderer extends AbstractVariantRenderer {
|
|
|
195
198
|
if (balBrowser.hasWindow) {
|
|
196
199
|
isInFrame = !!window.frameElement;
|
|
197
200
|
}
|
|
198
|
-
|
|
201
|
+
lib
|
|
202
|
+
.computePosition(this.triggerEl, component.containerEl, {
|
|
199
203
|
placement: this.placement,
|
|
200
204
|
middleware: [
|
|
201
|
-
isInFrame ? undefined : shift(),
|
|
202
|
-
flip(),
|
|
203
|
-
offset(this.arrow ? 16 : this.offset),
|
|
204
|
-
arrow({
|
|
205
|
+
isInFrame ? undefined : lib.shift(),
|
|
206
|
+
lib.flip(),
|
|
207
|
+
lib.offset(this.arrow ? 16 : this.offset),
|
|
208
|
+
lib.arrow({
|
|
205
209
|
element: component.arrowEl,
|
|
206
210
|
padding: 4,
|
|
207
211
|
}),
|
|
208
212
|
],
|
|
209
|
-
})
|
|
213
|
+
})
|
|
214
|
+
.then(({ x, y, middlewareData, placement }) => {
|
|
210
215
|
if (component.containerEl) {
|
|
211
216
|
Object.assign(component.containerEl.style, {
|
|
212
217
|
left: `${x}px`,
|
|
@@ -602,7 +607,7 @@ const Popup = class {
|
|
|
602
607
|
const innerBlock = block.element('inner');
|
|
603
608
|
const innerHeadBlock = innerBlock.element('head');
|
|
604
609
|
const innerContentBlock = innerBlock.element('content');
|
|
605
|
-
return (h(Host, { key: '
|
|
610
|
+
return (h(Host, { key: 'bf7416d06bf9b78fb1f45474dbadbdaef3716fa9', class: Object.assign({}, block.class()), role: "dialog", "aria-hidden": `${this.presented !== true}`, "aria-modal": `${this.presented === true}`, "aria-presented": `${this.presented === true}`, "aria-labelledby": `${this.popupId}-heading` }, h("div", { key: '907ceff3eeb00380ba075a1c942c9593fa66d828', class: Object.assign({}, backdropBlock.class()), ref: backdropEl => (this.backdropEl = backdropEl) }), h("div", { key: 'a07c2e70f1964142896ab0e2dddda63212d6e7a6', class: Object.assign(Object.assign({}, containerBlock.class()), containerBlock.modifier(`variant-${this.activeVariant}`).class()), ref: containerEl => (this.containerEl = containerEl), style: { minWidth: `${this.minContainerWidth}px` } }, h("div", { key: '09fbe89593e72dfa5eda05ce017dbfdaa368ab6c', class: Object.assign({}, arrowBlock.class()), ref: arrowEl => (this.arrowEl = arrowEl) }), h("bal-stack", { key: '486d20a16eef12b6398235a15d6771924d9909b2', layout: "vertical", px: this.activeVariant === 'popover' ? 'medium' : 'none', py: "medium", class: Object.assign({}, innerBlock.class()) }, this.label ? (h("bal-stack", { space: "auto", class: Object.assign({}, innerHeadBlock.class()) }, h("bal-heading", { "data-test": "bal-popup-label", level: "span", "visual-level": "large", id: `${this.popupId}-heading` }, this.label), this.activeClosable ? (h("bal-close", { "data-test": "bal-popup-close", tabindex: -1, onClick: () => this.onCloseClick() })) : (''))) : (''), h("div", { key: 'd7210ff5af9647dbe4d176e00c7af06943bdd51a', class: Object.assign({}, innerContentBlock.class()), ref: contentEl => (this.contentEl = contentEl), "data-test": "bal-popup-content" }, h("slot", { key: '974459f017b51844019872313636f7055357f2e1' }))))));
|
|
606
611
|
}
|
|
607
612
|
get el() { return getElement(this); }
|
|
608
613
|
static get watchers() { return {
|
|
@@ -617,6 +622,36 @@ __decorate([
|
|
|
617
622
|
__metadata("design:paramtypes", [Function]),
|
|
618
623
|
__metadata("design:returntype", void 0)
|
|
619
624
|
], Popup.prototype, "createLogger", null);
|
|
625
|
+
__decorate([
|
|
626
|
+
ListenTo('click', { target: 'window' }),
|
|
627
|
+
__metadata("design:type", Function),
|
|
628
|
+
__metadata("design:paramtypes", [MouseEvent]),
|
|
629
|
+
__metadata("design:returntype", Promise)
|
|
630
|
+
], Popup.prototype, "listenOnGlobalClick", null);
|
|
631
|
+
__decorate([
|
|
632
|
+
ListenTo('keydown', { target: 'document' }),
|
|
633
|
+
__metadata("design:type", Function),
|
|
634
|
+
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
635
|
+
__metadata("design:returntype", Promise)
|
|
636
|
+
], Popup.prototype, "listenOnKeyDown", null);
|
|
637
|
+
__decorate([
|
|
638
|
+
ListenTo('mousedown'),
|
|
639
|
+
__metadata("design:type", Function),
|
|
640
|
+
__metadata("design:paramtypes", [MouseEvent]),
|
|
641
|
+
__metadata("design:returntype", Promise)
|
|
642
|
+
], Popup.prototype, "listenOnMouseDown", null);
|
|
643
|
+
__decorate([
|
|
644
|
+
ListenTo('mouseup'),
|
|
645
|
+
__metadata("design:type", Function),
|
|
646
|
+
__metadata("design:paramtypes", [MouseEvent]),
|
|
647
|
+
__metadata("design:returntype", Promise)
|
|
648
|
+
], Popup.prototype, "listenOnMouseUp", null);
|
|
649
|
+
__decorate([
|
|
650
|
+
ListenTo('click'),
|
|
651
|
+
__metadata("design:type", Function),
|
|
652
|
+
__metadata("design:paramtypes", []),
|
|
653
|
+
__metadata("design:returntype", Promise)
|
|
654
|
+
], Popup.prototype, "listenOnComponentClick", null);
|
|
620
655
|
let popupIds = 0;
|
|
621
656
|
Popup.style = BalPopupStyle0;
|
|
622
657
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
4
4
|
import { n as raf } from './helpers-72ae7307.js';
|
|
5
|
-
import { b as balBreakpoints } from './breakpoints.subject-
|
|
6
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
7
|
-
import { L as ListenToWindowResize } from './window-resize.decorator-
|
|
5
|
+
import { b as balBreakpoints } from './breakpoints.subject-ae98d0fa.js';
|
|
6
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-9981606e.js';
|
|
7
|
+
import { L as ListenToWindowResize } from './window-resize.decorator-a88002f7.js';
|
|
8
8
|
import './browser-a8073d92.js';
|
|
9
9
|
import './icons.constant-a7885631.js';
|
|
10
10
|
import './config.utils-6ac6c9bd.js';
|
|
11
11
|
import './device-8c6d2881.js';
|
|
12
12
|
import './listener-04842ae9.js';
|
|
13
|
-
import './tokens.esm-
|
|
13
|
+
import './tokens.esm-ed9fb455.js';
|
|
14
14
|
|
|
15
15
|
const balProgressBarCss = ":root{--bal-progress-bar-background-white:var(--bal-color-white);--bal-progress-bar-background-grey:var(--bal-color-grey-3);--bal-progress-bar-background-purple:var(--bal-color-purple-2);--bal-progress-bar-background-yellow:var(--bal-color-yellow-2);--bal-progress-bar-background-red:var(--bal-color-red-2);--bal-progress-bar-background-green:var(--bal-color-green-2);--bal-progress-bar-line-color-primary:var(--bal-color-primary);--bal-progress-bar-line-color-purple:var(--bal-color-purple-6);--bal-progress-bar-line-color-yellow:var(--bal-color-yellow-6);--bal-progress-bar-line-color-red:var(--bal-color-red-6);--bal-progress-bar-line-color-green:var(--bal-color-green-6);--bal-progress-bar-line-radius:var(--bal-radius-rounded)}.bal-progress-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;width:100%;min-width:0;height:.25rem}.bal-progress-bar--background-white-of-primary,.bal-progress-bar--background-white-of-purple,.bal-progress-bar--background-white-of-red,.bal-progress-bar--background-white-of-green,.bal-progress-bar--background-white-of-yellow{background:var(--bal-progress-bar-background-white)}.bal-progress-bar--background-grey-of-primary{background:var(--bal-progress-bar-background-grey)}.bal-progress-bar--background-grey-of-purple{background:var(--bal-progress-bar-background-purple)}.bal-progress-bar--background-grey-of-red{background:var(--bal-progress-bar-background-red)}.bal-progress-bar--background-grey-of-green{background:var(--bal-progress-bar-background-green)}.bal-progress-bar--background-grey-of-yellow{background:var(--bal-progress-bar-background-yellow)}.bal-progress-bar__line{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;height:.25rem;width:0;background:var(--bal-progress-bar-line-color-primary);border-top-right-radius:var(--bal-progress-bar-line-radius);border-bottom-right-radius:var(--bal-progress-bar-line-radius)}.bal-progress-bar__line--animated{will-change:width;-webkit-transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing);transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-progress-bar__line--full{border-top-right-radius:0;border-bottom-right-radius:0}.bal-progress-bar__line--color-purple{background:var(--bal-progress-bar-line-color-purple)}.bal-progress-bar__line--color-yellow{background:var(--bal-progress-bar-line-color-yellow)}.bal-progress-bar__line--color-red{background:var(--bal-progress-bar-line-color-red)}.bal-progress-bar__line--color-green{background:var(--bal-progress-bar-line-color-green)}";
|
|
16
16
|
const BalProgressBarStyle0 = balProgressBarCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
4
4
|
import { s as stopEventBubbling } from './form-input-264ad739.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { i as isDescendant, u as hasTagName } from './helpers-72ae7307.js';
|
|
4
4
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
@@ -7,6 +7,7 @@ import { L as Logger } from './log-dfd1c19f.js';
|
|
|
7
7
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
8
8
|
import { s as stopEventBubbling } from './form-input-264ad739.js';
|
|
9
9
|
import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
|
|
10
|
+
import { L as ListenTo } from './listen-d1712e70.js';
|
|
10
11
|
import { d as isSpaceKey } from './keyboard.helpers-b2dd6393.js';
|
|
11
12
|
import { L as ListenToFocus } from './focus.decorator-dc333802.js';
|
|
12
13
|
import { L as ListenToMutation } from './mutation.decorator-985cc0a1.js';
|
|
@@ -260,7 +261,7 @@ const Radio = class {
|
|
|
260
261
|
labelAttributes.id = `${id}-lbl`;
|
|
261
262
|
labelAttributes.htmlFor = id;
|
|
262
263
|
}
|
|
263
|
-
return (h(Host, { key: '
|
|
264
|
+
return (h(Host, { key: 'd8027f12093f1564c38b859a1e4dab25e75eba64', "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-hidden": this.disabled ? 'true' : null, "aria-focused": focused ? 'true' : null, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ 'bal-focused': focused }, block.class()), block.modifier('radio').class()), block.modifier('select-button').class(this.interface === 'select-button')), block.modifier('invalid').class(this.invalid)), block.modifier('checked').class(this.checked)), block.modifier('flat').class(this.flat)), block.modifier('disabled').class(this.disabled || this.readonly)), block.modifier('hovered').class(this.hovered)), block.modifier('pressed').class(this.pressed)), block.modifier('invisible').class(this.invisible)), onKeypress: this.onKeypress, onClick: this.onClick }, h("input", Object.assign({ key: '0b1a0313d4161c9f6725f7c8234f49d3678f5fa2', class: Object.assign(Object.assign({}, inputEl.class()), inputEl.modifier('select-button').class(this.interface === 'select-button')), "data-testid": "bal-radio-input", type: "radio", id: id, "aria-labelledby": labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : null, "aria-checked": `${this.checked}`, name: this.name, value: value, checked: this.checked, disabled: this.disabled || this.nonSubmit, readonly: this.readonly, required: this.required, onFocus: this.onFocus, onBlur: this.onBlur, ref: inputEl => (this.nativeInput = inputEl) }, inputAttributes)), !this.invisible ? (h(LabelTag, Object.assign({ class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, labelEl.class()), labelEl.modifier('radio').class()), labelEl.modifier('checked').class(this.checked)), labelEl.modifier('hidden').class(this.labelHidden)), labelEl.modifier('flat').class(this.flat)) }, labelAttributes, { "data-testid": "bal-radio-label" }), h("span", { class: Object.assign(Object.assign(Object.assign({}, labelTextEl.class()), labelTextEl.modifier('hidden').class(this.labelHidden)), labelTextEl.modifier('flat').class(this.flat)), "data-testid": "bal-radio-text" }, this.label, h("slot", null)))) : ('')));
|
|
264
265
|
}
|
|
265
266
|
get el() { return getElement(this); }
|
|
266
267
|
};
|
|
@@ -270,6 +271,12 @@ __decorate([
|
|
|
270
271
|
__metadata("design:paramtypes", [Function]),
|
|
271
272
|
__metadata("design:returntype", void 0)
|
|
272
273
|
], Radio.prototype, "createLogger", null);
|
|
274
|
+
__decorate([
|
|
275
|
+
ListenTo('click', { capture: true, target: 'document' }),
|
|
276
|
+
__metadata("design:type", Function),
|
|
277
|
+
__metadata("design:paramtypes", [UIEvent]),
|
|
278
|
+
__metadata("design:returntype", void 0)
|
|
279
|
+
], Radio.prototype, "listenOnClick", null);
|
|
273
280
|
let radioIds = 0;
|
|
274
281
|
Radio.style = BalRadioStyle0;
|
|
275
282
|
|
|
@@ -596,6 +603,36 @@ __decorate([
|
|
|
596
603
|
__metadata("design:paramtypes", []),
|
|
597
604
|
__metadata("design:returntype", void 0)
|
|
598
605
|
], RadioGroup.prototype, "mutationListener", null);
|
|
606
|
+
__decorate([
|
|
607
|
+
ListenTo('balChange', { capture: true, target: 'document' }),
|
|
608
|
+
__metadata("design:type", Function),
|
|
609
|
+
__metadata("design:paramtypes", [UIEvent]),
|
|
610
|
+
__metadata("design:returntype", void 0)
|
|
611
|
+
], RadioGroup.prototype, "listenOnClick", null);
|
|
612
|
+
__decorate([
|
|
613
|
+
ListenTo('balFocus', { capture: true, target: 'document' }),
|
|
614
|
+
__metadata("design:type", Function),
|
|
615
|
+
__metadata("design:paramtypes", [CustomEvent]),
|
|
616
|
+
__metadata("design:returntype", void 0)
|
|
617
|
+
], RadioGroup.prototype, "radioFocusListener", null);
|
|
618
|
+
__decorate([
|
|
619
|
+
ListenTo('balBlur', { capture: true, target: 'document' }),
|
|
620
|
+
__metadata("design:type", Function),
|
|
621
|
+
__metadata("design:paramtypes", [CustomEvent]),
|
|
622
|
+
__metadata("design:returntype", void 0)
|
|
623
|
+
], RadioGroup.prototype, "radioBlurListener", null);
|
|
624
|
+
__decorate([
|
|
625
|
+
ListenTo('reset', { capture: true, target: 'document' }),
|
|
626
|
+
__metadata("design:type", Function),
|
|
627
|
+
__metadata("design:paramtypes", [UIEvent]),
|
|
628
|
+
__metadata("design:returntype", void 0)
|
|
629
|
+
], RadioGroup.prototype, "resetListener", null);
|
|
630
|
+
__decorate([
|
|
631
|
+
ListenTo('keydown', { target: 'document' }),
|
|
632
|
+
__metadata("design:type", Function),
|
|
633
|
+
__metadata("design:paramtypes", [Object]),
|
|
634
|
+
__metadata("design:returntype", void 0)
|
|
635
|
+
], RadioGroup.prototype, "onKeydown", null);
|
|
599
636
|
let radioGroupIds = 0;
|
|
600
637
|
|
|
601
638
|
export { Radio as bal_radio, RadioGroup as bal_radio_group };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, w as writeTask, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, w as writeTask, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
4
4
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
@@ -6,18 +6,19 @@ import { s as stopEventBubbling } from './form-input-264ad739.js';
|
|
|
6
6
|
import { F as FOCUS_KEYS } from './focus-visible-f0cdd043.js';
|
|
7
7
|
import { n as raf, k as addEventListener, r as removeEventListener } from './helpers-72ae7307.js';
|
|
8
8
|
import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
|
|
9
|
+
import { L as ListenTo } from './listen-d1712e70.js';
|
|
9
10
|
import { d as isSpaceKey, b as isEnterKey, a as isArrowUpKey, e as isArrowLeftKey, i as isArrowDownKey, f as isArrowRightKey, g as isHomeKey, h as isEndKey } from './keyboard.helpers-b2dd6393.js';
|
|
10
11
|
import { L as ListenToFocus } from './focus.decorator-dc333802.js';
|
|
11
|
-
import { L as ListenToWindowResize } from './window-resize.decorator-
|
|
12
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
12
|
+
import { L as ListenToWindowResize } from './window-resize.decorator-a88002f7.js';
|
|
13
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-9981606e.js';
|
|
13
14
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
14
15
|
import './browser-a8073d92.js';
|
|
15
16
|
import './icons.constant-a7885631.js';
|
|
16
17
|
import './config.utils-6ac6c9bd.js';
|
|
17
18
|
import './listener-04842ae9.js';
|
|
18
|
-
import './breakpoints.subject-
|
|
19
|
+
import './breakpoints.subject-ae98d0fa.js';
|
|
19
20
|
import './device-8c6d2881.js';
|
|
20
|
-
import './tokens.esm-
|
|
21
|
+
import './tokens.esm-ed9fb455.js';
|
|
21
22
|
|
|
22
23
|
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}";
|
|
23
24
|
const BalSegmentStyle0 = balSegmentCss;
|
|
@@ -315,7 +316,7 @@ const Segment = class {
|
|
|
315
316
|
render() {
|
|
316
317
|
const { invalid, isVertical, scrollable, keyboardMode, expanded, isMobile, disabled } = this;
|
|
317
318
|
const block = BEM.block('segment');
|
|
318
|
-
return (h(Host, { key: '
|
|
319
|
+
return (h(Host, { key: 'f5cf0a37669b14db14104214dd142b8bed5266d6', role: "radiogroup", id: this.ariaForm.controlId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('invalid').class(invalid)), block.modifier('vertical').class(isVertical)), block.modifier('scrollable').class(scrollable)), block.modifier('keyboard').class(keyboardMode)), block.modifier('disabled').class(disabled)), block.modifier('expanded').class((expanded || isMobile) && !isVertical)), onClick: this.onClick }, h("slot", { key: '9952482b6bec65e4a7ed05b4cd34d58331805b4e', onSlotchange: this.onSlottedItemsChange })));
|
|
319
320
|
}
|
|
320
321
|
get el() { return getElement(this); }
|
|
321
322
|
static get watchers() { return {
|
|
@@ -353,6 +354,18 @@ __decorate([
|
|
|
353
354
|
__metadata("design:paramtypes", []),
|
|
354
355
|
__metadata("design:returntype", void 0)
|
|
355
356
|
], Segment.prototype, "windowResizeListener", null);
|
|
357
|
+
__decorate([
|
|
358
|
+
ListenTo('keydown', { target: 'document' }),
|
|
359
|
+
__metadata("design:type", Function),
|
|
360
|
+
__metadata("design:paramtypes", []),
|
|
361
|
+
__metadata("design:returntype", void 0)
|
|
362
|
+
], Segment.prototype, "listenOnKeyDownOutside", null);
|
|
363
|
+
__decorate([
|
|
364
|
+
ListenTo('keydown'),
|
|
365
|
+
__metadata("design:type", Function),
|
|
366
|
+
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
367
|
+
__metadata("design:returntype", void 0)
|
|
368
|
+
], Segment.prototype, "listenOnKeyDown", null);
|
|
356
369
|
Segment.style = BalSegmentStyle0;
|
|
357
370
|
|
|
358
371
|
const balSegmentItemCss = ":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-item{display:block;position:relative;height:auto;text-decoration:none;text-overflow:ellipsis;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.bal-segment-item--disabled{cursor:default !important;pointer-events:none !important}.bal-segment-item__button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-height:2.5rem;min-width:3rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1;padding-top:.375rem;padding-bottom:.375rem;padding-left:20px;padding-right:20px;outline:none;border-color:rgba(0,0,0,0);border-width:var(--bal-border-width-normal);border-style:solid;border-radius:var(--bal-radius-normal);background:rgba(0,0,0,0);font-size:var(--bal-text-size-normal);font-weight:var(--bal-font-weight-bold);color:var(--bal-segment-item-text-color);overflow:hidden;position:relative;contain:content;pointer-events:none;cursor:pointer;z-index:2}.bal-segment-item__button--vertical{padding-left:.75rem;padding-right:.75rem}.bal-segment-item__button span{font-size:var(--bal-text-size-small);font-weight:var(--bal-font-weight-regular)}.bal-segment-item__button{will-change:color,padding;-webkit-transition:color 160ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 160ms cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition:padding 160ms cubic-bezier(0.4, 0, 0.2, 1);transition:padding 160ms cubic-bezier(0.4, 0, 0.2, 1)}.bal-segment-item:not(.bal-segment-item--checked):not(.bal-segment-item--last):not(.bal-segment-item--before-checked)::after{content:\"\";position:absolute;background:var(--bal-segment-item-divider-background);border-radius:var(--bal-radius-normal)}.bal-segment-item:not(.bal-segment-item--vertical):not(.bal-segment-item--checked):not(.bal-segment-item--last):not(.bal-segment-item--before-checked)::after{top:2px;bottom:2px;right:-1px;width:2px}.bal-segment-item.bal-segment-item--vertical:not(.bal-segment-item--checked):not(.bal-segment-item--last):not(.bal-segment-item--before-checked)::after{left:2px;right:2px;bottom:-1px;height:2px}.bal-segment-item--invalid:not(.bal-segment-item--checked):not(.bal-segment-item--last):not(.bal-segment-item--before-checked)::after{background:var(--bal-segment-item-divider-background-invalid)}.bal-segment-item__indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none;border-radius:var(--bal-radius-normal);background:var(--bal-segment-item-indicator-background);top:0;left:0}.bal-segment-item__indicator--vertical{-webkit-transform-origin:top;transform-origin:top}.bal-segment-item__indicator--invalid{background:var(--bal-segment-item-indicator-background-invalid)}.bal-segment-item__indicator--background{min-width:100%;min-height:100%;-webkit-transform:none;transform:none;pointer-events:none}.bal-segment-item__indicator--animated{will-change:transform,opacity,top,bottom,left,right,min-width,min-heigth;-webkit-transition:min-width 100ms ease,min-height 100ms ease,top 100ms ease,left 100ms ease,bottom 100ms ease,right 100ms ease,-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:min-width 100ms ease,min-height 100ms ease,top 100ms ease,left 100ms ease,bottom 100ms ease,right 100ms ease,-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1),min-width 100ms ease,min-height 100ms ease,top 100ms ease,left 100ms ease,bottom 100ms ease,right 100ms ease;transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1),min-width 100ms ease,min-height 100ms ease,top 100ms ease,left 100ms ease,bottom 100ms ease,right 100ms ease,-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1)}.bal-segment-item__indicator--checked{opacity:1}.bal-segment-item:active .bal-segment-item__indicator{min-width:calc(100% - 4px);min-height:calc(100% - 4px);top:2px !important;bottom:2px !important;left:2px !important;right:2px !important}.bal-segment-item__button__icon{position:absolute !important;opacity:0;width:0 !important;-webkit-transform:translateX(0.1rem);transform:translateX(0.1rem);pointer-events:none !important;cursor:inherit;will-change:transform,opacity}.bal-segment-item__button__icon:not(.bal-segment-item__button__icon--vertical){left:10px}.bal-segment-item__button__icon--vertical{right:10px}.bal-segment-item__button__icon--animated{opacity:1;width:.875rem !important;-webkit-transform:translateX(-4px);transform:translateX(-4px);-webkit-transition:opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),transform 260ms cubic-bezier(0.4, 0, 0.2, 1),-webkit-transform 260ms cubic-bezier(0.4, 0, 0.2, 1)}.bal-segment-item__button--checked{color:var(--bal-segment-item-text-color-checked);padding-right:40px}.bal-segment-item__button--checked:not(.bal-segment-item__button--vertical){padding-left:26px;padding-right:12px}@media (hover: hover)and (pointer: fine){.bal-segment-item:not(.bal-segment-item--disabled):hover .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-checked-hovered)}}.bal-segment-item:not(.bal-segment-item--disabled):active .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-checked-pressed)}.bal-segment--keyboard .bal-segment-item__button:not(.bal-segment-item__button--disabled):focus-visible,.bal-segment--keyboard .bal-segment-item__button--focused:not(.bal-segment-item__button--disabled){border-color:var(--bal-segment-item-focus-border);border-width:var(--bal-border-width-normal);border-style:solid;-webkit-transition:border 300ms ease-in-out;transition:border 300ms ease-in-out}.bal-segment-item.bal-segment-item--invalid:not(.bal-segment-item--disabled) .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-invalid)}@media (hover: hover)and (pointer: fine){.bal-segment-item.bal-segment-item--invalid:not(.bal-segment-item--disabled):hover .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-invalid-hovered)}}.bal-segment-item.bal-segment-item--invalid:not(.bal-segment-item--disabled):active .bal-segment-item__button:not(.bal-segment-item__button--checked){color:var(--bal-segment-item-text-color-invalid-pressed)}.bal-segment-item__button--invalid.bal-segment-item__button--checked{color:var(--bal-color-text-white)}.bal-segment-item__button--disabled{background:rgba(0,0,0,0);color:var(--bal-segment-item-text-color-disabled)}.bal-segment-item__button--disabled.bal-segment-item__button--checked{background:var(--bal-segment-item-indicator-background-disabled);color:var(--bal-segment-item-text-color-disabled-checked)}.bal-segment-item__button__slot--hidden{display:none !important}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { l as lodash_isnil } from './index-82aff103.js';
|
|
4
4
|
import { m as rIC, d as waitAfterIdleCallback, f as deepReady, i as isDescendant, j as debounce } from './helpers-72ae7307.js';
|
|
@@ -8,6 +8,7 @@ import { s as stopEventBubbling } from './form-input-264ad739.js';
|
|
|
8
8
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
9
9
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
10
10
|
import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
|
|
11
|
+
import { L as ListenTo } from './listen-d1712e70.js';
|
|
11
12
|
import { d as isSpaceKey, i as isArrowDownKey, a as isArrowUpKey, b as isEnterKey, c as isEscapeKey, j as isBackspaceKey } from './keyboard.helpers-b2dd6393.js';
|
|
12
13
|
import './browser-a8073d92.js';
|
|
13
14
|
import './icons.constant-a7885631.js';
|
|
@@ -716,7 +717,7 @@ const Select = class {
|
|
|
716
717
|
*/
|
|
717
718
|
render() {
|
|
718
719
|
var _a;
|
|
719
|
-
const Chip = (props) => (h("bal-tag", { key: '
|
|
720
|
+
const Chip = (props) => (h("bal-tag", { key: '4b1cc586f9d9b2a7b08a01b35e60a1b1a9f595cd', size: "", closable: !this.disabled, disabled: this.disabled, invalid: this.invalid, tabindex: -1, onBalCloseClick: _ => this.removeValue(props.value), "data-testid": "bal-select-chip" }, findLabelByValue(this.options, props.value) || props.value));
|
|
720
721
|
const valuesArray = getValues(this.rawValue);
|
|
721
722
|
const block = BEM.block('select');
|
|
722
723
|
const nativeEl = block.element('native');
|
|
@@ -730,19 +731,19 @@ const Select = class {
|
|
|
730
731
|
const optionContentEl = optionEl.element('content');
|
|
731
732
|
const optionContentCheckboxEl = optionContentEl.element('checkbox');
|
|
732
733
|
const optionContentLabelEl = optionContentEl.element('label');
|
|
733
|
-
return (h(Host, { key: '
|
|
734
|
+
return (h(Host, { key: '0a96668b7026a0727bb790bd8a832586fac60198', role: "listbox", onClick: this.handleClick, "aria-disabled": this.disabled ? 'true' : null, "data-value": (_a = this.rawValue) === null || _a === void 0 ? void 0 : _a.map(v => 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)) }, h("select", { key: '171e653ec3b49ef15466a0f6c337a61573ddc86b', class: Object.assign({}, nativeEl.class()), name: this.name, multiple: this.multiple, required: this.required, tabindex: -1, ref: el => (this.nativeSelectEl = el) }, valuesArray.map((value) => (h("option", { key: value, value: value, selected: true }, value)))), h("bal-popover", { key: '570c0f670158386819df181079f49d0d534da6c7', onBalChange: this.handlePopoverChange, ref: el => (this.popoverElement = el) }, h("div", { key: '121bf963a166d7523954b199bb776accaa84ae7a', "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)) }, h("div", { key: '0bf2ba2f0ef23aaa222b547df175c5dfc4b3d6c6', class: Object.assign(Object.assign({}, controlSelectionsEl.class()), controlSelectionsEl
|
|
734
735
|
.modifier('clickable')
|
|
735
736
|
.class(!this.isPopoverOpen && !this.disabled && !this.readonly)), onClick: this.handleInputClick, ref: el => (this.selectionEl = el) }, valuesArray
|
|
736
737
|
.filter(_ => this.multiple)
|
|
737
|
-
.map((value) => (h(Chip, { value: value }))), h("input", { key: '
|
|
738
|
+
.map((value) => (h(Chip, { value: value }))), h("input", { key: '45872c26a2889e0dd79851bc8ea6854d9f9fe33e', 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": this.disabled ? 'true' : null, "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 ? (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
|
|
738
739
|
? 'grey-light'
|
|
739
740
|
: this.inverted
|
|
740
741
|
? 'white'
|
|
741
742
|
: this.invalid
|
|
742
743
|
? 'danger'
|
|
743
|
-
: 'primary', turn: this.isPopoverOpen, onClick: ev => this.handleInputClick(ev, true), size: !this.inverted ? '' : 'x-small' })) : ('')), h("bal-popover-content", { key: '
|
|
744
|
+
: 'primary', turn: this.isPopoverOpen, onClick: ev => this.handleInputClick(ev, true), size: !this.inverted ? '' : 'x-small' })) : ('')), h("bal-popover-content", { key: 'dd84e4a49c36226341c8a064988c8cf4c9b5e828', class: Object.assign({}, popoverContentEl.class()), scrollable: this.scrollable, spaceless: true, expanded: true }, this.optionArray.map((option, 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
|
|
744
745
|
.modifier('selected')
|
|
745
|
-
.class(valuesArray.includes(option.value) && !(this.typeahead && !this.multiple))), optionEl.modifier('focused').class(this.focusIndex === index)), 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), onClick: () => this.optionSelected(option) }, h("div", { class: Object.assign({}, optionContentEl.class()) }, h("span", { class: Object.assign({}, optionContentCheckboxEl.class()), style: { display: this.multiple ? 'flex' : 'none' } }, h("bal-checkbox", { checked: valuesArray.includes(option.value), tabindex: -1, nonSubmit: true, flat: true, onBalChange: preventDefault })), h("span", { class: Object.assign({}, optionContentLabelEl.class()), innerHTML: option.innerHTML }))))), h("div", { key: '
|
|
746
|
+
.class(valuesArray.includes(option.value) && !(this.typeahead && !this.multiple))), optionEl.modifier('focused').class(this.focusIndex === index)), 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), onClick: () => this.optionSelected(option) }, h("div", { class: Object.assign({}, optionContentEl.class()) }, h("span", { class: Object.assign({}, optionContentCheckboxEl.class()), style: { display: this.multiple ? 'flex' : 'none' } }, h("bal-checkbox", { checked: valuesArray.includes(option.value), tabindex: -1, nonSubmit: true, flat: true, onBalChange: preventDefault })), h("span", { class: Object.assign({}, optionContentLabelEl.class()), innerHTML: option.innerHTML }))))), h("div", { key: '824accbd7d97809ed3b91403a959528efaf448ce', class: Object.assign(Object.assign({}, popoverContentEmptyEl.class()), popoverContentEmptyEl
|
|
746
747
|
.modifier('hidden')
|
|
747
748
|
.class(this.noDataLabel === undefined || this.hasOptions() || !this.typeahead || this.selectionOptional)) }, this.noDataLabel)))));
|
|
748
749
|
}
|
|
@@ -757,6 +758,24 @@ __decorate([
|
|
|
757
758
|
__metadata("design:paramtypes", [Function]),
|
|
758
759
|
__metadata("design:returntype", void 0)
|
|
759
760
|
], Select.prototype, "createLogger", null);
|
|
761
|
+
__decorate([
|
|
762
|
+
ListenTo('click', { capture: true, target: 'document' }),
|
|
763
|
+
__metadata("design:type", Function),
|
|
764
|
+
__metadata("design:paramtypes", [UIEvent]),
|
|
765
|
+
__metadata("design:returntype", void 0)
|
|
766
|
+
], Select.prototype, "listenOnClick", null);
|
|
767
|
+
__decorate([
|
|
768
|
+
ListenTo('reset', { capture: true, target: 'document' }),
|
|
769
|
+
__metadata("design:type", Function),
|
|
770
|
+
__metadata("design:paramtypes", [UIEvent]),
|
|
771
|
+
__metadata("design:returntype", void 0)
|
|
772
|
+
], Select.prototype, "resetHandler", null);
|
|
773
|
+
__decorate([
|
|
774
|
+
ListenTo('keydown', { target: 'window' }),
|
|
775
|
+
__metadata("design:type", Function),
|
|
776
|
+
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
777
|
+
__metadata("design:returntype", Promise)
|
|
778
|
+
], Select.prototype, "handleKeyDown", null);
|
|
760
779
|
let selectIds = 0;
|
|
761
780
|
Select.style = BalSelectStyle0;
|
|
762
781
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
3
|
-
import { f as balColorGrey4, g as balColorYellow3, h as balColorYellow5, i as balColorPurple3, j as balColorPurple6, k as balColorRed3, l as balColorRed5, m as balColorGreen3, n as balColorGreen6 } from './tokens.esm-
|
|
3
|
+
import { f as balColorGrey4, g as balColorYellow3, h as balColorYellow5, i as balColorPurple3, j as balColorPurple6, k as balColorRed3, l as balColorRed5, m as balColorGreen3, n as balColorGreen6 } from './tokens.esm-ed9fb455.js';
|
|
4
4
|
|
|
5
5
|
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)}";
|
|
6
6
|
const BalShapeStyle0 = balShapeCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-5b1faf93.js';
|
|
2
2
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
3
3
|
|
|
4
4
|
const balSheetCss = ":root{--bal-sheet-radius:var(--bal-radius-large);--bal-sheet-background:var(--bal-color-white);--bal-sheet-shadow:var(--bal-shadow-normal);--bal-sheet-position-bottom:.5rem}.bal-sheet{display:block;position:fixed;bottom:var(--bal-sheet-position-bottom);left:0;right:0;width:100%;z-index:var(--bal-z-index-sticky);font-weight:var(--bal-font-weight-regular);font-family:var(--bal-font-family-text);font-size:var(--bal-text-size-normal)}.bal-sheet__container .bal-sheet__container__inner,.bal-sheet__container.container .bal-sheet__container__inner{border-radius:var(--bal-sheet-radius);background:var(--bal-sheet-background);-webkit-box-shadow:var(--bal-sheet-shadow);box-shadow:var(--bal-sheet-shadow);padding:1rem}@media screen and (min-width: 769px),print{.bal-sheet__container .bal-sheet__container__inner,.bal-sheet__container.container .bal-sheet__container__inner{padding:1rem 1.5rem}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { n as raf, l as rLCP } from './helpers-72ae7307.js';
|
|
4
4
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
4
4
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
3
3
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
4
4
|
import { l as rLCP } from './helpers-72ae7307.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { a as inheritTrackingAttributes } from './attributes-4fa7040f.js';
|
|
3
3
|
|
|
4
4
|
const StepItem = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-
|
|
1
|
+
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { o as debounceEvent } from './helpers-72ae7307.js';
|
|
4
4
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
@@ -6,9 +6,9 @@ import { L as Logger } from './log-dfd1c19f.js';
|
|
|
6
6
|
import { a as areArraysEqual } from './array-4c09dfe3.js';
|
|
7
7
|
import { s as stopEventBubbling } from './form-input-264ad739.js';
|
|
8
8
|
import { n as newBalStepOption } from './bal-step.util-3905ad56.js';
|
|
9
|
-
import { b as balBreakpoints } from './breakpoints.subject-
|
|
9
|
+
import { b as balBreakpoints } from './breakpoints.subject-ae98d0fa.js';
|
|
10
10
|
import { L as ListenToMutation } from './mutation.decorator-985cc0a1.js';
|
|
11
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
11
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-9981606e.js';
|
|
12
12
|
import './browser-a8073d92.js';
|
|
13
13
|
import './icons.constant-a7885631.js';
|
|
14
14
|
import './config.utils-6ac6c9bd.js';
|
|
@@ -17,7 +17,7 @@ import './index-95ee0c4b.js';
|
|
|
17
17
|
import './_commonjsHelpers-1c8beb5f.js';
|
|
18
18
|
import './device-8c6d2881.js';
|
|
19
19
|
import './listener-04842ae9.js';
|
|
20
|
-
import './tokens.esm-
|
|
20
|
+
import './tokens.esm-ed9fb455.js';
|
|
21
21
|
|
|
22
22
|
const StepIcon = ({ item, isMobile }) => {
|
|
23
23
|
const bemEl = BEM.block('steps').element('nav').element('item').element('icon');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { a as inheritTrackingAttributes } from './attributes-4fa7040f.js';
|
|
3
3
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
4
4
|
import { a as areArraysEqual } from './array-4c09dfe3.js';
|
|
@@ -9,9 +9,10 @@ import { n as newBalTabOption } from './bal-tab.util-933315fe.js';
|
|
|
9
9
|
import { s as stopEventBubbling } from './form-input-264ad739.js';
|
|
10
10
|
import { b as balBrowser } from './browser-a8073d92.js';
|
|
11
11
|
import { a as getComputedPadding } from './style-ca1bd202.js';
|
|
12
|
-
import {
|
|
12
|
+
import { L as ListenTo } from './listen-d1712e70.js';
|
|
13
|
+
import { b as balBreakpoints } from './breakpoints.subject-ae98d0fa.js';
|
|
13
14
|
import { L as ListenToMutation } from './mutation.decorator-985cc0a1.js';
|
|
14
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
15
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-9981606e.js';
|
|
15
16
|
import { L as ListenToResize } from './resize.decorator-f2d8461d.js';
|
|
16
17
|
import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
|
|
17
18
|
import './index-82aff103.js';
|
|
@@ -21,7 +22,7 @@ import './icons.constant-a7885631.js';
|
|
|
21
22
|
import './config.utils-6ac6c9bd.js';
|
|
22
23
|
import './device-8c6d2881.js';
|
|
23
24
|
import './listener-04842ae9.js';
|
|
24
|
-
import './tokens.esm-
|
|
25
|
+
import './tokens.esm-ed9fb455.js';
|
|
25
26
|
|
|
26
27
|
const TabItem = class {
|
|
27
28
|
constructor(hostRef) {
|
|
@@ -754,13 +755,13 @@ const Tabs = class {
|
|
|
754
755
|
const contentPart = expanded ? 'content expanded' : 'content';
|
|
755
756
|
const valueExists = this.value !== undefined && !!this.store.find(o => o.value === this.value);
|
|
756
757
|
const isLinkList = !this.isTabList;
|
|
757
|
-
return (h(Host, { key: '
|
|
758
|
+
return (h(Host, { key: '5cf2cfcf105000a24aabdb6bec167155bfe64d91', 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)), 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": this.store
|
|
758
759
|
.filter(t => this.isTabActive(t))
|
|
759
760
|
.map(t => t.value)
|
|
760
761
|
.join(','), "data-label": this.store
|
|
761
762
|
.filter(t => this.isTabActive(t))
|
|
762
763
|
.map(t => t.label)
|
|
763
|
-
.join(',') }, isSelect ? (h(TabSelect, { value: this.value, items: tabs, onSelectTab: this.onSelectTab })) : (h(TabNav, { items: tabs, isLinkList: isLinkList, tabsId: this.tabsId, clickable: this.clickable, accordion: this.accordion, isAccordionOpen: this.isAccordionOpen, lineActive: valueExists, inverted: isInverted, animated: this.animated, context: this.context, border: this.border, spaceless: this.spaceless, expanded: this.expanded, isMobile: isMobile, isTouch: isTouch, isVertical: isVertical, inNavbar: this.inNavbar, hasCarousel: hasCarousel, iconPosition: this.iconPosition, verticalColSize: this.verticalColSize, onSelectTab: this.onSelectTab })), h("div", { key: '
|
|
764
|
+
.join(',') }, isSelect ? (h(TabSelect, { value: this.value, items: tabs, onSelectTab: this.onSelectTab })) : (h(TabNav, { items: tabs, isLinkList: isLinkList, tabsId: this.tabsId, clickable: this.clickable, accordion: this.accordion, isAccordionOpen: this.isAccordionOpen, lineActive: valueExists, inverted: isInverted, animated: this.animated, context: this.context, border: this.border, spaceless: this.spaceless, expanded: this.expanded, isMobile: isMobile, isTouch: isTouch, isVertical: isVertical, inNavbar: this.inNavbar, hasCarousel: hasCarousel, iconPosition: this.iconPosition, verticalColSize: this.verticalColSize, onSelectTab: this.onSelectTab })), h("div", { key: '9b07748ace351ce78cd552229f2694e349592d3d', part: contentPart, ref: contentEl => (this.contentEl = contentEl), class: Object.assign({}, block.element('tabs').element('content').class()) }, h("div", { key: '099b85a0205426e163c8b43320cb007c7ea1afc9', id: this.tabsId, class: Object.assign({}, block.element('tabs').element('content').element('wrapper').class()), ref: contentElWrapper => (this.contentElWrapper = contentElWrapper) }, h("slot", { key: '6262221556c0f514b4c42138796b7d92097887d0' })))));
|
|
764
765
|
}
|
|
765
766
|
get el() { return getElement(this); }
|
|
766
767
|
static get watchers() { return {
|
|
@@ -793,6 +794,24 @@ __decorate([
|
|
|
793
794
|
__metadata("design:paramtypes", []),
|
|
794
795
|
__metadata("design:returntype", void 0)
|
|
795
796
|
], Tabs.prototype, "resizeListener", null);
|
|
797
|
+
__decorate([
|
|
798
|
+
ListenTo('balWillAnimate', { target: 'window' }),
|
|
799
|
+
__metadata("design:type", Function),
|
|
800
|
+
__metadata("design:paramtypes", [UIEvent]),
|
|
801
|
+
__metadata("design:returntype", void 0)
|
|
802
|
+
], Tabs.prototype, "listenToWillAnimate", null);
|
|
803
|
+
__decorate([
|
|
804
|
+
ListenTo('balDidAnimate', { target: 'window' }),
|
|
805
|
+
__metadata("design:type", Function),
|
|
806
|
+
__metadata("design:paramtypes", [UIEvent]),
|
|
807
|
+
__metadata("design:returntype", void 0)
|
|
808
|
+
], Tabs.prototype, "listenToDidAnimate", null);
|
|
809
|
+
__decorate([
|
|
810
|
+
ListenTo('keydown'),
|
|
811
|
+
__metadata("design:type", Function),
|
|
812
|
+
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
813
|
+
__metadata("design:returntype", void 0)
|
|
814
|
+
], Tabs.prototype, "listenToKeyDown", null);
|
|
796
815
|
__decorate([
|
|
797
816
|
ListenToConfig(),
|
|
798
817
|
__metadata("design:type", Function),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
3
3
|
|
|
4
4
|
const balTableCss = ".bal-table{display:block;position:static}.bal-table--is-fullwidth{display:-ms-flexbox;display:flex;width:100%}bal-checkbox .bal-radio-checkbox__label::before{top:0}bal-checkbox .bal-radio-checkbox__label::after{margin-top:0px}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5b1faf93.js';
|
|
2
2
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
3
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
4
4
|
|