@baloise/ds-core 17.2.4 → 17.2.5-nightly.20250115
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 +2 -0
- package/components/all.js +3 -0
- package/components/animation.decorator.js +75 -0
- package/components/bal-app.js +1 -93
- package/components/bal-app2.js +95 -0
- package/components/bal-carousel.js +12 -5
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +262 -0
- package/components/bal-dropdown.js +771 -1
- package/components/bal-hint2.js +1 -1
- package/components/bal-nav.js +72 -48
- package/components/bal-option.js +166 -1
- package/components/bal-segment.js +27 -10
- package/components/bal-select-option.js +1 -45
- package/components/bal-select-option2.js +47 -0
- package/components/bal-select.js +1 -847
- package/components/bal-select2.js +849 -0
- package/components/bal-tabs2.js +67 -35
- package/components/helpers.js +1 -1
- package/components/index.js +5 -304
- package/components/initialize.js +303 -0
- package/components/keyboard.helpers.js +1 -1
- package/components/resize.decorator.js +5 -5
- package/components/swiper.util.js +1 -18
- package/components/tokens.esm.js +1 -1
- package/components/visibility.decorator.js +88 -0
- 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-10ebc871f4.system.entry.js → p-0640709738.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-079850e6.system.js +1 -0
- package/dist/baloise-design-system/p-0b8169c8.js +1 -0
- package/dist/baloise-design-system/p-0bcf20ca69.entry.js +1 -0
- package/dist/baloise-design-system/{p-24e594cd49.entry.js → p-0c3b2d6c8e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6b79e568.js → p-0d7b7182.js} +1 -1
- package/dist/baloise-design-system/{p-46b7cb48d1.entry.js → p-0dd411c03e.entry.js} +1 -1
- package/dist/baloise-design-system/p-0e323fe0.system.js +1 -1
- package/dist/baloise-design-system/{p-c13b1376.system.js → p-0f397293.system.js} +1 -1
- package/dist/baloise-design-system/{p-ff7903eb.js → p-12edf09f.js} +1 -1
- package/dist/baloise-design-system/{p-770f4365f6.system.entry.js → p-14c3418170.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ba4c1ed8a8.entry.js → p-1b11517535.entry.js} +1 -1
- package/dist/baloise-design-system/p-1c191e7d.js +1 -0
- package/dist/baloise-design-system/{p-56cf1ab1.system.js → p-1d22490c.system.js} +1 -1
- package/dist/baloise-design-system/{p-97cd0b900d.system.entry.js → p-1df848f9fc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e099fd9574.entry.js → p-28f96ad58b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e0377a6d84.entry.js → p-32faec4f65.entry.js} +1 -1
- package/dist/baloise-design-system/{p-52cad6cf9f.entry.js → p-36db598b9c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a71cc6d652.entry.js → p-36fe1faedd.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5b85dec39b.system.entry.js → p-38ca9dfde3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-54ce8c3c.js → p-3980a0a4.js} +1 -1
- package/dist/baloise-design-system/{p-47d7e166.system.js → p-3a1bf825.system.js} +1 -1
- package/dist/baloise-design-system/{p-ccd2ef1106.entry.js → p-3bd47497b5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0c28f0a46f.system.entry.js → p-3d5dc774f4.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-878cb7914d.entry.js → p-41931a0925.entry.js} +1 -1
- package/dist/baloise-design-system/{p-16baa62182.system.entry.js → p-440f0ed2a6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-37f892f6dc.entry.js → p-448f3dcc96.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2abbd888.js → p-45b89d22.js} +1 -1
- package/dist/baloise-design-system/p-45e4eac2d1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-498c20ac2a.system.entry.js → p-4b7fd117bc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0933f23da2.system.entry.js → p-4c030e87cf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cad154ad.js → p-4e9084dc.js} +1 -1
- package/dist/baloise-design-system/{p-0400a0cd.system.js → p-55269db4.system.js} +1 -1
- package/dist/baloise-design-system/{p-b77d63ca25.entry.js → p-5591d69c49.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4a80e2c1.system.js → p-56c370cb.system.js} +1 -1
- package/dist/baloise-design-system/p-58d2a0b5.system.js +1 -0
- package/dist/baloise-design-system/{p-27a8f7d1e4.system.entry.js → p-5b93e0df0c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9618956a56.system.entry.js → p-5d2479f2ea.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1334e37be0.system.entry.js → p-5f234e78f6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8360204072.entry.js → p-62251008b0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c642582c09.system.entry.js → p-66df17135c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-6724721b32.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-1ae4dca673.system.entry.js → p-6e6f2f3713.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f7cbcbdbfa.system.entry.js → p-6f7ae58c42.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-932a19ea57.entry.js → p-7449aea98b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3df52a1f.js → p-744daf78.js} +1 -1
- package/dist/baloise-design-system/{p-6cdd068206.system.entry.js → p-769dd49917.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-761cb0e801.system.entry.js → p-79554c4acd.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9db35d91.js → p-7a6a128f.js} +1 -1
- package/dist/baloise-design-system/{p-85479ae3cf.system.entry.js → p-826df305a1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-953cc30ae9.system.entry.js → p-8387007c23.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9ad648deea.system.entry.js → p-85e3b067cf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-524edfe610.system.entry.js → p-87458c9059.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8782ba61.system.js +1 -0
- package/dist/baloise-design-system/{p-b1d0256f19.system.entry.js → p-899bc0be9d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f2c398a3.system.js → p-89aaadaf.system.js} +1 -1
- package/dist/baloise-design-system/{p-2a8e0e7149.entry.js → p-8a47461794.entry.js} +1 -1
- package/dist/baloise-design-system/{p-60f5e5faa6.entry.js → p-8b386e9117.entry.js} +1 -1
- package/dist/baloise-design-system/{p-af0f549439.entry.js → p-8baa40b8d9.entry.js} +1 -1
- package/dist/baloise-design-system/p-8c24fdcf6c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-dc6d33fc89.entry.js → p-8d52145b77.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e21ccd9856.entry.js → p-921b0836e1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fabb559661.entry.js → p-96780bdefd.entry.js} +1 -1
- package/dist/baloise-design-system/p-98ef262c8c.entry.js +1 -0
- package/dist/baloise-design-system/{p-7256aa5d97.entry.js → p-9b2657ef04.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2db0f14a2d.system.entry.js → p-a1952399c3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8227e41299.entry.js → p-a6ff014e4c.entry.js} +1 -1
- package/dist/baloise-design-system/p-ac8a545a5d.entry.js +1 -0
- package/dist/baloise-design-system/p-ad5039de.system.js +1 -0
- package/dist/baloise-design-system/{p-b0a4d40a.js → p-af05a53e.js} +1 -1
- package/dist/baloise-design-system/p-b11c8e09e1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-bcbc8278e2.system.entry.js → p-b1c33848fa.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cd9be615a4.entry.js → p-b4576f5814.entry.js} +1 -1
- package/dist/baloise-design-system/{p-18267b1371.system.entry.js → p-b55c42a4a9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c0e04c2072.system.entry.js → p-bfa5f3ae60.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c0397a3faa.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-c3877f26cd.entry.js → p-c26fb79884.entry.js} +1 -1
- package/dist/baloise-design-system/p-c4088d90.js +1 -0
- package/dist/baloise-design-system/{p-e430294632.entry.js → p-c487d3770e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-97f3a682.system.js → p-c6a673f7.system.js} +1 -1
- package/dist/baloise-design-system/{p-ed32b0b9.system.js → p-c6dfe80e.system.js} +1 -1
- package/dist/baloise-design-system/{p-39d3eeef8e.entry.js → p-c844e6fbc9.entry.js} +1 -1
- package/dist/baloise-design-system/{p-96122c3e5b.entry.js → p-c8bd61c717.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bb7183cd00.entry.js → p-c8db6fb15f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-455872a1.system.js → p-c9b8e360.system.js} +1 -1
- package/dist/baloise-design-system/{p-936070bf.system.js → p-cb045ca0.system.js} +1 -1
- package/dist/baloise-design-system/{p-713640e3ac.system.entry.js → p-cb3920cc26.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-73bec757.js → p-cc35663d.js} +1 -1
- package/dist/baloise-design-system/{p-81894fe8.js → p-cc8cfbf3.js} +1 -1
- package/dist/baloise-design-system/{p-81a3bee001.entry.js → p-d0066a5950.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8f217b03.system.js → p-d1b12bcd.system.js} +1 -1
- package/dist/baloise-design-system/{p-6933b37a08.entry.js → p-d306ec28cf.entry.js} +1 -1
- package/dist/baloise-design-system/{p-67d61a81.js → p-d516d3b1.js} +1 -1
- package/dist/baloise-design-system/{p-42f532a0a8.entry.js → p-d568852b4c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-58a0e8df48.entry.js → p-d60b2e3878.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a2090a9d.system.js → p-d9b32333.system.js} +1 -1
- package/dist/baloise-design-system/{p-90a9f56d71.system.entry.js → p-ddcc5387b5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7cb2ead5.system.js → p-df35ddb8.system.js} +1 -1
- package/dist/baloise-design-system/{p-f7f06d0340.entry.js → p-e283e1cf22.entry.js} +1 -1
- package/dist/baloise-design-system/{p-356f75fd58.system.entry.js → p-e2c3dde206.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-31b6055d92.system.entry.js → p-e3b0312116.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e3b84ed330.entry.js +1 -0
- package/dist/baloise-design-system/{p-90a51218.js → p-e3c1d653.js} +1 -1
- package/dist/baloise-design-system/p-e53217f8.js +1 -1
- package/dist/baloise-design-system/p-e573491b.system.js +1 -0
- package/dist/baloise-design-system/{p-2e830170.system.js → p-e7150a50.system.js} +1 -1
- package/dist/baloise-design-system/{p-b96fd49d.system.js → p-e7d20c82.system.js} +1 -1
- package/dist/baloise-design-system/p-e9445f4362.entry.js +1 -0
- package/dist/baloise-design-system/{p-3541dd16.js → p-ebf5cc68.js} +1 -1
- package/dist/baloise-design-system/p-ee379377.js +1 -0
- package/dist/baloise-design-system/{p-657a3eb3ee.system.entry.js → p-ee53e7c9f6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dbc7c601d3.entry.js → p-f0200d8f09.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ff46a92a47.system.entry.js → p-f089f4c8c8.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-66d49670b0.system.entry.js → p-f35275e46a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-19162db1a6.system.entry.js → p-f47bafc866.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-47de946676.system.entry.js → p-f5d884a6fa.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-296c7825b7.entry.js → p-f5e11c86e5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-21f87590.js → p-f64319f1.js} +1 -1
- package/dist/baloise-design-system/{p-d0e23ec9f1.entry.js → p-f6f3d8cad0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-18ce5177f9.entry.js → p-f8ca0ec73a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-87b8b65bf6.system.entry.js → p-fba0f8c711.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bb0a588d09.system.entry.js → p-fff8faa67f.system.entry.js} +1 -1
- package/dist/cjs/animation.decorator-d160ba91.js +77 -0
- package/dist/cjs/app-globals-25e25924.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +2 -2
- package/dist/cjs/bal-app.cjs.entry.js +1 -1
- package/dist/cjs/bal-button_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +22 -15
- package/dist/cjs/bal-checkbox-button.cjs.entry.js +3 -3
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -2
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-date.cjs.entry.js +3 -3
- package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/bal-field_5.cjs.entry.js +2 -2
- package/dist/cjs/bal-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/bal-footer.cjs.entry.js +1 -1
- package/dist/cjs/bal-form.cjs.entry.js +1 -1
- package/dist/cjs/bal-hint_5.cjs.entry.js +5 -5
- package/dist/cjs/bal-input-slider.cjs.entry.js +2 -2
- package/dist/cjs/bal-input-stepper.cjs.entry.js +2 -2
- package/dist/cjs/bal-input.cjs.entry.js +2 -2
- package/dist/cjs/bal-list_8.cjs.entry.js +5 -5
- package/dist/cjs/bal-logo.cjs.entry.js +4 -4
- package/dist/cjs/bal-modal_3.cjs.entry.js +2 -2
- package/dist/cjs/bal-nav_8.cjs.entry.js +6 -6
- package/dist/cjs/bal-navbar_5.cjs.entry.js +4 -4
- package/dist/cjs/bal-number-input.cjs.entry.js +2 -2
- package/dist/cjs/bal-option_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
- package/dist/cjs/bal-popup.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/bal-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/bal-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-segment_2.cjs.entry.js +31 -14
- package/dist/cjs/bal-select_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +6 -6
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +45 -31
- package/dist/cjs/bal-textarea.cjs.entry.js +2 -2
- package/dist/cjs/bal-time-input.cjs.entry.js +2 -2
- package/dist/cjs/bal-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-e22cc15e.js → breakpoints.decorator-cfbd4db9.js} +1 -1
- package/dist/cjs/{breakpoints.subject-5f803b3c.js → breakpoints.subject-7caa8c48.js} +2 -2
- package/dist/cjs/{element-states.decorator-e2bc15ed.js → element-states.decorator-f79681aa.js} +1 -1
- package/dist/cjs/{floating-ui-24577c09.js → floating-ui-5cc3a363.js} +1 -1
- package/dist/cjs/{focus.decorator-b93456af.js → focus.decorator-e6050e24.js} +1 -1
- package/dist/cjs/{form-input-e4fdf58e.js → form-input-be32df30.js} +1 -1
- package/dist/cjs/{app-globals-a3f2765f.js → global-85ebe098.js} +2 -4
- package/dist/cjs/{helpers-94660ab2.js → helpers-240da822.js} +1 -1
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/initialize-367b85e5.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{mutation.decorator-a000b7ef.js → mutation.decorator-249a9606.js} +1 -1
- package/dist/cjs/{overlays-4c465543.js → overlays-e408bbaf.js} +1 -1
- package/dist/cjs/{resize.decorator-62d31afa.js → resize.decorator-ebed89a1.js} +5 -5
- package/dist/cjs/{swipe.decorator-447ae00e.js → swipe.decorator-8ff8dd2c.js} +1 -1
- package/dist/cjs/{swipe.subject-6deb82da.js → swipe.subject-00bf8c8f.js} +1 -1
- package/dist/cjs/{swiper.util-abdf50f1.js → swiper.util-ef01dd7a.js} +3 -20
- package/dist/cjs/{tokens.esm-e91514ff.js → tokens.esm-53682e74.js} +1 -1
- package/dist/cjs/visibility.decorator-dc8cec8a.js +90 -0
- package/dist/cjs/{window-resize.decorator-17c9b489.js → window-resize.decorator-b5708580.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/bal-carousel/bal-carousel.css +1 -1
- package/dist/collection/components/bal-carousel/bal-carousel.js +11 -4
- package/dist/collection/components/bal-hint/bal-hint.css +1 -1
- package/dist/collection/components/bal-segment/bal-segment.js +25 -14
- package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
- package/dist/collection/components/bal-tabs/bal-tabs.js +33 -31
- package/dist/collection/components/bal-tabs/components/tab-select.js +2 -2
- 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/animation/animation.decorator.js +23 -0
- package/dist/collection/utils/animation/animation.interfaces.js +1 -0
- package/dist/collection/utils/animation/animation.listener.js +30 -0
- package/dist/collection/utils/animation/animation.subject.js +20 -0
- package/dist/collection/utils/animation/index.js +2 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/resize/resize.listener.js +4 -4
- package/dist/collection/utils/resize/resize.subject.js +2 -1
- package/dist/collection/utils/swiper/controls/dot-control.js +1 -1
- package/dist/collection/utils/swiper/swiper.util.js +0 -17
- package/dist/collection/utils/visibility/index.js +2 -0
- package/dist/collection/utils/visibility/visibility.decorator.js +23 -0
- package/dist/collection/utils/visibility/visibility.interfaces.js +1 -0
- package/dist/collection/utils/visibility/visibility.listener.js +41 -0
- package/dist/collection/utils/visibility/visibility.subject.js +23 -0
- package/dist/esm/animation.decorator-903bd4d2.js +75 -0
- package/dist/esm/app-globals-83570026.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +2 -2
- package/dist/esm/bal-app.entry.js +1 -1
- package/dist/esm/bal-button_2.entry.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +22 -15
- package/dist/esm/bal-checkbox-button.entry.js +3 -3
- package/dist/esm/bal-checkbox_2.entry.js +4 -4
- package/dist/esm/bal-date-calendar-cell.entry.js +2 -2
- package/dist/esm/bal-date-calendar_2.entry.js +4 -4
- package/dist/esm/bal-date.entry.js +3 -3
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-dropdown.entry.js +3 -3
- package/dist/esm/bal-field_5.entry.js +2 -2
- package/dist/esm/bal-file-upload.entry.js +2 -2
- package/dist/esm/bal-footer.entry.js +1 -1
- package/dist/esm/bal-form.entry.js +1 -1
- package/dist/esm/bal-hint_5.entry.js +5 -5
- package/dist/esm/bal-input-slider.entry.js +2 -2
- package/dist/esm/bal-input-stepper.entry.js +2 -2
- package/dist/esm/bal-input.entry.js +2 -2
- package/dist/esm/bal-list_8.entry.js +5 -5
- package/dist/esm/bal-logo.entry.js +4 -4
- package/dist/esm/bal-modal_3.entry.js +2 -2
- package/dist/esm/bal-nav_8.entry.js +6 -6
- package/dist/esm/bal-navbar_5.entry.js +4 -4
- package/dist/esm/bal-number-input.entry.js +2 -2
- package/dist/esm/bal-option_2.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +4 -4
- package/dist/esm/bal-popup.entry.js +3 -3
- package/dist/esm/bal-progress-bar.entry.js +5 -5
- package/dist/esm/bal-radio-button.entry.js +3 -3
- package/dist/esm/bal-radio_2.entry.js +4 -4
- package/dist/esm/bal-segment_2.entry.js +31 -14
- package/dist/esm/bal-select_2.entry.js +2 -2
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +6 -6
- package/dist/esm/bal-tab-item_2.entry.js +45 -31
- package/dist/esm/bal-textarea.entry.js +2 -2
- package/dist/esm/bal-time-input.entry.js +2 -2
- package/dist/esm/bal-tooltip.entry.js +2 -2
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-01f6809e.js → breakpoints.decorator-246ea7b5.js} +1 -1
- package/dist/esm/{breakpoints.subject-cc740608.js → breakpoints.subject-35e43013.js} +2 -2
- package/dist/esm/{element-states.decorator-4cf6af31.js → element-states.decorator-200c85c8.js} +1 -1
- package/dist/esm/{floating-ui-922202fe.js → floating-ui-f930810d.js} +1 -1
- package/dist/esm/{focus.decorator-c2c05d01.js → focus.decorator-a6de858a.js} +1 -1
- package/dist/esm/{form-input-1f3d8337.js → form-input-a5a2b129.js} +1 -1
- package/dist/esm/{app-globals-92fef8fd.js → global-88c7b04e.js} +2 -4
- package/dist/esm/{helpers-32d9e1cc.js → helpers-21ff73ef.js} +2 -2
- package/dist/esm/index.js +7 -7
- package/dist/esm/initialize-22c1bebc.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{mutation.decorator-0c202bed.js → mutation.decorator-07d5ba75.js} +1 -1
- package/dist/esm/{overlays-fa0ccf81.js → overlays-b7ba3a20.js} +1 -1
- package/dist/esm/{resize.decorator-bd416c47.js → resize.decorator-28179d27.js} +5 -5
- package/dist/esm/{swipe.decorator-20f4a0cb.js → swipe.decorator-b46cda4b.js} +1 -1
- package/dist/esm/{swipe.subject-e3db5994.js → swipe.subject-1d0412f1.js} +1 -1
- package/dist/esm/{swiper.util-0589b550.js → swiper.util-21981c17.js} +3 -20
- package/dist/esm/{tokens.esm-ddf14bd4.js → tokens.esm-66f8b8c3.js} +1 -1
- package/dist/esm/visibility.decorator-d0cac6a6.js +88 -0
- package/dist/esm/{window-resize.decorator-b9d3c86c.js → window-resize.decorator-a19d2974.js} +1 -1
- package/dist/esm-es5/animation.decorator-903bd4d2.js +1 -0
- package/dist/esm-es5/app-globals-83570026.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-button_2.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-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-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.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.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-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-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-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.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-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-246ea7b5.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-cc740608.js → breakpoints.subject-35e43013.js} +1 -1
- package/dist/esm-es5/{element-states.decorator-4cf6af31.js → element-states.decorator-200c85c8.js} +1 -1
- package/dist/esm-es5/{floating-ui-922202fe.js → floating-ui-f930810d.js} +1 -1
- package/dist/esm-es5/{focus.decorator-c2c05d01.js → focus.decorator-a6de858a.js} +1 -1
- package/dist/esm-es5/{form-input-1f3d8337.js → form-input-a5a2b129.js} +1 -1
- package/dist/esm-es5/global-88c7b04e.js +1 -0
- package/dist/esm-es5/{helpers-32d9e1cc.js → helpers-21ff73ef.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-22c1bebc.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{mutation.decorator-0c202bed.js → mutation.decorator-07d5ba75.js} +1 -1
- package/dist/esm-es5/{overlays-fa0ccf81.js → overlays-b7ba3a20.js} +1 -1
- package/dist/esm-es5/{resize.decorator-bd416c47.js → resize.decorator-28179d27.js} +1 -1
- package/dist/esm-es5/{swipe.decorator-20f4a0cb.js → swipe.decorator-b46cda4b.js} +1 -1
- package/dist/esm-es5/{swipe.subject-e3db5994.js → swipe.subject-1d0412f1.js} +1 -1
- package/dist/esm-es5/swiper.util-21981c17.js +1 -0
- package/dist/esm-es5/visibility.decorator-d0cac6a6.js +1 -0
- package/dist/esm-es5/{window-resize.decorator-b9d3c86c.js → window-resize.decorator-a19d2974.js} +1 -1
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +3 -2
- package/dist/types/components/bal-segment/bal-segment.d.ts +5 -2
- package/dist/types/components/bal-tabs/bal-tabs.d.ts +5 -3
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +37 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
- package/dist/types/utils/animation/animation.decorator.d.ts +3 -0
- package/dist/types/utils/animation/animation.interfaces.d.ts +7 -0
- package/dist/types/utils/animation/animation.listener.d.ts +9 -0
- package/dist/types/utils/animation/animation.subject.d.ts +9 -0
- package/dist/types/utils/animation/index.d.ts +2 -0
- package/dist/types/utils/helpers.d.ts +1 -1
- package/dist/types/utils/swiper/swiper.util.d.ts +0 -1
- package/dist/types/utils/visibility/index.d.ts +2 -0
- package/dist/types/utils/visibility/visibility.decorator.d.ts +3 -0
- package/dist/types/utils/visibility/visibility.interfaces.d.ts +4 -0
- package/dist/types/utils/visibility/visibility.listener.d.ts +9 -0
- package/dist/types/utils/visibility/visibility.subject.d.ts +9 -0
- package/package.json +7 -7
- package/components/bal-dropdown2.js +0 -773
- package/components/bal-option2.js +0 -168
- package/dist/baloise-design-system/p-12ff7815.js +0 -1
- package/dist/baloise-design-system/p-288461e687.system.entry.js +0 -1
- package/dist/baloise-design-system/p-349d1c26c6.entry.js +0 -1
- package/dist/baloise-design-system/p-39dba60e75.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5622c208.system.js +0 -1
- package/dist/baloise-design-system/p-70f7b546.system.js +0 -1
- package/dist/baloise-design-system/p-78ba217818.entry.js +0 -1
- package/dist/baloise-design-system/p-7b6c84c359.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b3e4339305.entry.js +0 -1
- package/dist/baloise-design-system/p-ef436fd645.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f67047f5ce.entry.js +0 -1
- package/dist/esm-es5/app-globals-92fef8fd.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-01f6809e.js +0 -1
- package/dist/esm-es5/swiper.util-0589b550.js +0 -1
- /package/dist/baloise-design-system/{p-c9bb496a.system.js → p-6f8e0ebc.system.js} +0 -0
- /package/dist/baloise-design-system/{p-1837eab3.js → p-a2ec67f5.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-ddf14bd4.js → tokens.esm-66f8b8c3.js} +0 -0
package/components/bal-hint2.js
CHANGED
|
@@ -13,7 +13,7 @@ import { b as balBreakpoints } from './breakpoints.subject.js';
|
|
|
13
13
|
import { L as ListenToBreakpoints } from './breakpoints.decorator.js';
|
|
14
14
|
import { L as ListenToConfig } from './config.decorator.js';
|
|
15
15
|
|
|
16
|
-
const balHintCss = ":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}@media (hover: hover)and (pointer: fine){.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle,.bal-hint__icon:focus svg,.bal-hint__icon:focus g,.bal-hint__icon:focus path,.bal-hint__icon:focus circle{fill:var(--bal-color-light-blue-5)}}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";
|
|
16
|
+
const balHintCss = ":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}@media (hover: hover)and (pointer: fine){.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle,.bal-hint__icon:focus svg,.bal-hint__icon:focus g,.bal-hint__icon:focus path,.bal-hint__icon:focus circle{fill:var(--bal-color-light-blue-5)}}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__content__text__field{font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-regular);line-height:var(--bal-text-line-height-text);font-size:var(--bal-text-size-normal)}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";
|
|
17
17
|
const BalHintStyle0 = balHintCss;
|
|
18
18
|
|
|
19
19
|
const Hint = /*@__PURE__*/ proxyCustomElement(class Hint extends HTMLElement {
|
package/components/bal-nav.js
CHANGED
|
@@ -5,30 +5,34 @@ import { L as Logger } from './log.js';
|
|
|
5
5
|
import { b as balBrowser } from './browser.js';
|
|
6
6
|
import { B as BalScrollHandler } from './scroll.js';
|
|
7
7
|
import { w as waitForComponent, d as waitAfterIdleCallback } from './helpers.js';
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
30
|
-
import { d as defineCustomElement$
|
|
31
|
-
import { d as defineCustomElement$
|
|
8
|
+
import { d as defineCustomElement$t } from './bal-badge2.js';
|
|
9
|
+
import { d as defineCustomElement$s } from './bal-button2.js';
|
|
10
|
+
import { d as defineCustomElement$r } from './bal-checkbox2.js';
|
|
11
|
+
import { d as defineCustomElement$q } from './bal-close2.js';
|
|
12
|
+
import { d as defineCustomElement$p } from './bal-heading2.js';
|
|
13
|
+
import { d as defineCustomElement$o } from './bal-icon2.js';
|
|
14
|
+
import { d as defineCustomElement$n } from './bal-list2.js';
|
|
15
|
+
import { d as defineCustomElement$m } from './bal-list-item2.js';
|
|
16
|
+
import { d as defineCustomElement$l } from './bal-list-item-accordion-body2.js';
|
|
17
|
+
import { d as defineCustomElement$k } from './bal-list-item-accordion-head2.js';
|
|
18
|
+
import { d as defineCustomElement$j } from './bal-list-item-content2.js';
|
|
19
|
+
import { d as defineCustomElement$i } from './bal-list-item-icon2.js';
|
|
20
|
+
import { d as defineCustomElement$h } from './bal-list-item-title2.js';
|
|
21
|
+
import { d as defineCustomElement$g } from './bal-logo2.js';
|
|
22
|
+
import { d as defineCustomElement$f } from './bal-nav-link2.js';
|
|
23
|
+
import { d as defineCustomElement$e } from './bal-nav-link-grid2.js';
|
|
24
|
+
import { d as defineCustomElement$d } from './bal-nav-link-grid-col2.js';
|
|
25
|
+
import { d as defineCustomElement$c } from './bal-nav-menu-bar2.js';
|
|
26
|
+
import { d as defineCustomElement$b } from './bal-nav-menu-flyout2.js';
|
|
27
|
+
import { d as defineCustomElement$a } from './bal-nav-meta-bar2.js';
|
|
28
|
+
import { d as defineCustomElement$9 } from './bal-popover2.js';
|
|
29
|
+
import { d as defineCustomElement$8 } from './bal-popover-content2.js';
|
|
30
|
+
import { d as defineCustomElement$7 } from './bal-select2.js';
|
|
31
|
+
import { d as defineCustomElement$6 } from './bal-select-option2.js';
|
|
32
|
+
import { d as defineCustomElement$5 } from './bal-spinner2.js';
|
|
33
|
+
import { d as defineCustomElement$4 } from './bal-stack2.js';
|
|
34
|
+
import { d as defineCustomElement$3 } from './bal-tabs2.js';
|
|
35
|
+
import { d as defineCustomElement$2 } from './bal-tag2.js';
|
|
32
36
|
import { b as balBreakpoints } from './breakpoints.subject.js';
|
|
33
37
|
import { d as defaultConfig } from './config.default.js';
|
|
34
38
|
import { L as ListenToMutation } from './mutation.decorator.js';
|
|
@@ -740,7 +744,7 @@ function defineCustomElement$1() {
|
|
|
740
744
|
if (typeof customElements === "undefined") {
|
|
741
745
|
return;
|
|
742
746
|
}
|
|
743
|
-
const components = ["bal-nav", "bal-badge", "bal-button", "bal-checkbox", "bal-
|
|
747
|
+
const components = ["bal-nav", "bal-badge", "bal-button", "bal-checkbox", "bal-close", "bal-heading", "bal-icon", "bal-list", "bal-list-item", "bal-list-item-accordion-body", "bal-list-item-accordion-head", "bal-list-item-content", "bal-list-item-icon", "bal-list-item-title", "bal-logo", "bal-nav-link", "bal-nav-link-grid", "bal-nav-link-grid-col", "bal-nav-menu-bar", "bal-nav-menu-flyout", "bal-nav-meta-bar", "bal-popover", "bal-popover-content", "bal-select", "bal-select-option", "bal-spinner", "bal-stack", "bal-tabs", "bal-tag"];
|
|
744
748
|
components.forEach(tagName => { switch (tagName) {
|
|
745
749
|
case "bal-nav":
|
|
746
750
|
if (!customElements.get(tagName)) {
|
|
@@ -749,120 +753,140 @@ function defineCustomElement$1() {
|
|
|
749
753
|
break;
|
|
750
754
|
case "bal-badge":
|
|
751
755
|
if (!customElements.get(tagName)) {
|
|
752
|
-
defineCustomElement$
|
|
756
|
+
defineCustomElement$t();
|
|
753
757
|
}
|
|
754
758
|
break;
|
|
755
759
|
case "bal-button":
|
|
756
760
|
if (!customElements.get(tagName)) {
|
|
757
|
-
defineCustomElement$
|
|
761
|
+
defineCustomElement$s();
|
|
758
762
|
}
|
|
759
763
|
break;
|
|
760
764
|
case "bal-checkbox":
|
|
765
|
+
if (!customElements.get(tagName)) {
|
|
766
|
+
defineCustomElement$r();
|
|
767
|
+
}
|
|
768
|
+
break;
|
|
769
|
+
case "bal-close":
|
|
770
|
+
if (!customElements.get(tagName)) {
|
|
771
|
+
defineCustomElement$q();
|
|
772
|
+
}
|
|
773
|
+
break;
|
|
774
|
+
case "bal-heading":
|
|
775
|
+
if (!customElements.get(tagName)) {
|
|
776
|
+
defineCustomElement$p();
|
|
777
|
+
}
|
|
778
|
+
break;
|
|
779
|
+
case "bal-icon":
|
|
780
|
+
if (!customElements.get(tagName)) {
|
|
781
|
+
defineCustomElement$o();
|
|
782
|
+
}
|
|
783
|
+
break;
|
|
784
|
+
case "bal-list":
|
|
761
785
|
if (!customElements.get(tagName)) {
|
|
762
786
|
defineCustomElement$n();
|
|
763
787
|
}
|
|
764
788
|
break;
|
|
765
|
-
case "bal-
|
|
789
|
+
case "bal-list-item":
|
|
766
790
|
if (!customElements.get(tagName)) {
|
|
767
791
|
defineCustomElement$m();
|
|
768
792
|
}
|
|
769
793
|
break;
|
|
770
|
-
case "bal-
|
|
794
|
+
case "bal-list-item-accordion-body":
|
|
771
795
|
if (!customElements.get(tagName)) {
|
|
772
796
|
defineCustomElement$l();
|
|
773
797
|
}
|
|
774
798
|
break;
|
|
775
|
-
case "bal-
|
|
799
|
+
case "bal-list-item-accordion-head":
|
|
776
800
|
if (!customElements.get(tagName)) {
|
|
777
801
|
defineCustomElement$k();
|
|
778
802
|
}
|
|
779
803
|
break;
|
|
780
|
-
case "bal-list":
|
|
804
|
+
case "bal-list-item-content":
|
|
781
805
|
if (!customElements.get(tagName)) {
|
|
782
806
|
defineCustomElement$j();
|
|
783
807
|
}
|
|
784
808
|
break;
|
|
785
|
-
case "bal-list-item":
|
|
809
|
+
case "bal-list-item-icon":
|
|
786
810
|
if (!customElements.get(tagName)) {
|
|
787
811
|
defineCustomElement$i();
|
|
788
812
|
}
|
|
789
813
|
break;
|
|
790
|
-
case "bal-list-item-
|
|
814
|
+
case "bal-list-item-title":
|
|
791
815
|
if (!customElements.get(tagName)) {
|
|
792
816
|
defineCustomElement$h();
|
|
793
817
|
}
|
|
794
818
|
break;
|
|
795
|
-
case "bal-
|
|
819
|
+
case "bal-logo":
|
|
796
820
|
if (!customElements.get(tagName)) {
|
|
797
821
|
defineCustomElement$g();
|
|
798
822
|
}
|
|
799
823
|
break;
|
|
800
|
-
case "bal-
|
|
824
|
+
case "bal-nav-link":
|
|
801
825
|
if (!customElements.get(tagName)) {
|
|
802
826
|
defineCustomElement$f();
|
|
803
827
|
}
|
|
804
828
|
break;
|
|
805
|
-
case "bal-
|
|
829
|
+
case "bal-nav-link-grid":
|
|
806
830
|
if (!customElements.get(tagName)) {
|
|
807
831
|
defineCustomElement$e();
|
|
808
832
|
}
|
|
809
833
|
break;
|
|
810
|
-
case "bal-
|
|
834
|
+
case "bal-nav-link-grid-col":
|
|
811
835
|
if (!customElements.get(tagName)) {
|
|
812
836
|
defineCustomElement$d();
|
|
813
837
|
}
|
|
814
838
|
break;
|
|
815
|
-
case "bal-
|
|
839
|
+
case "bal-nav-menu-bar":
|
|
816
840
|
if (!customElements.get(tagName)) {
|
|
817
841
|
defineCustomElement$c();
|
|
818
842
|
}
|
|
819
843
|
break;
|
|
820
|
-
case "bal-nav-
|
|
844
|
+
case "bal-nav-menu-flyout":
|
|
821
845
|
if (!customElements.get(tagName)) {
|
|
822
846
|
defineCustomElement$b();
|
|
823
847
|
}
|
|
824
848
|
break;
|
|
825
|
-
case "bal-nav-
|
|
849
|
+
case "bal-nav-meta-bar":
|
|
826
850
|
if (!customElements.get(tagName)) {
|
|
827
851
|
defineCustomElement$a();
|
|
828
852
|
}
|
|
829
853
|
break;
|
|
830
|
-
case "bal-
|
|
854
|
+
case "bal-popover":
|
|
831
855
|
if (!customElements.get(tagName)) {
|
|
832
856
|
defineCustomElement$9();
|
|
833
857
|
}
|
|
834
858
|
break;
|
|
835
|
-
case "bal-
|
|
859
|
+
case "bal-popover-content":
|
|
836
860
|
if (!customElements.get(tagName)) {
|
|
837
861
|
defineCustomElement$8();
|
|
838
862
|
}
|
|
839
863
|
break;
|
|
840
|
-
case "bal-
|
|
864
|
+
case "bal-select":
|
|
841
865
|
if (!customElements.get(tagName)) {
|
|
842
866
|
defineCustomElement$7();
|
|
843
867
|
}
|
|
844
868
|
break;
|
|
845
|
-
case "bal-
|
|
869
|
+
case "bal-select-option":
|
|
846
870
|
if (!customElements.get(tagName)) {
|
|
847
871
|
defineCustomElement$6();
|
|
848
872
|
}
|
|
849
873
|
break;
|
|
850
|
-
case "bal-
|
|
874
|
+
case "bal-spinner":
|
|
851
875
|
if (!customElements.get(tagName)) {
|
|
852
876
|
defineCustomElement$5();
|
|
853
877
|
}
|
|
854
878
|
break;
|
|
855
|
-
case "bal-
|
|
879
|
+
case "bal-stack":
|
|
856
880
|
if (!customElements.get(tagName)) {
|
|
857
881
|
defineCustomElement$4();
|
|
858
882
|
}
|
|
859
883
|
break;
|
|
860
|
-
case "bal-
|
|
884
|
+
case "bal-tabs":
|
|
861
885
|
if (!customElements.get(tagName)) {
|
|
862
886
|
defineCustomElement$3();
|
|
863
887
|
}
|
|
864
888
|
break;
|
|
865
|
-
case "bal-
|
|
889
|
+
case "bal-tag":
|
|
866
890
|
if (!customElements.get(tagName)) {
|
|
867
891
|
defineCustomElement$2();
|
|
868
892
|
}
|
package/components/bal-option.js
CHANGED
|
@@ -1,4 +1,169 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
+
import { B as BEM } from './bem.js';
|
|
4
|
+
import { L as Logger } from './log.js';
|
|
5
|
+
import { a as ariaBooleanToString } from './aria.js';
|
|
6
|
+
import { s as stopEventBubbling } from './form-input.js';
|
|
7
|
+
import { B as BalElementStateListener, L as ListenToElementStates } from './element-states.decorator.js';
|
|
8
|
+
import { d as defineCustomElement$4 } from './bal-checkbox2.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './bal-icon2.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './bal-stack2.js';
|
|
11
|
+
|
|
12
|
+
const balOptionCss = ":root{--bal-option-padding-x:var(--bal-space-small);--bal-option-min-height:1.5rem;--bal-option-background:var(--bal-color-white);--bal-option-background-hovered:var(--bal-color-grey-2);--bal-option-background-selected:var(--bal-color-primary-1);--bal-option-background-selected-hovered:#dddfeb;--bal-option-background-invalid:var(--bal-color-danger-1);--bal-option-background-invalid-hovered:#fbe0de;--bal-option-border-width:var(--bal-border-width-normal);--bal-option-border-color:var(--bal-color-grey-2);--bal-option-font-family:var(--bal-font-family-text);--bal-option-font-weight:var(--bal-font-weight-regular);--bal-option-line-height:1.125rem;--bal-option-text-hovered:var(--bal-color-text-primary-hovered);--bal-option-text-pressed:var(--bal-color-text-primary-pressed);--bal-option-text-disabled:var(--bal-color-text-grey-light)}.bal-option{font-size:16px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:block;list-style:none;cursor:pointer;border-bottom-width:var(--bal-option-border-width);border-bottom-color:var(--bal-option-border-color);border-bottom-style:solid;background:var(--bal-option-background);padding-left:var(--bal-option-padding-x);padding-right:var(--bal-option-padding-x);min-height:var(--bal-option-min-height)}.bal-option>bal-stack{min-height:var(--bal-option-min-height)}.bal-option:last-child{border-bottom:none}.bal-option::-moz-focus-inner{border:none}.bal-option--hidden{display:none;visibility:hidden}.bal-option__inner{font-family:var(--bal-option-font-family);font-weight:var(--bal-option-font-weight);line-height:var(--bal-option-line-height);word-break:break-word;white-space:normal;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-ms-flex:1;flex:1}.bal-option__inner--multiline{white-space:normal}.bal-option--focused{background:var(--bal-option-background-hovered)}@media (hover: hover)and (pointer: fine){.bal-option:hover{background:var(--bal-option-background-hovered);color:var(--bal-option-text-hovered)}}.bal-option:active{background:var(--bal-option-background-hovered);color:var(--bal-option-text-pressed)}.bal-option--selected{background:var(--bal-option-background-selected)}@media (hover: hover)and (pointer: fine){.bal-option--selected:hover{background:var(--bal-option-background-selected-hovered)}}.bal-option--selected:active{background:var(--bal-option-background-selected-hovered)}.bal-option--selected .bal-option__inner{font-weight:var(--bal-font-weight-bold)}.bal-option--selected.bal-option--focused{background:var(--bal-option-background-selected-hovered)}.bal-option--selected.bal-option--focused .bal-option__inner{font-weight:var(--bal-font-weight-bold)}.bal-option--invalid{background:var(--bal-option-background-invalid)}@media (hover: hover)and (pointer: fine){.bal-option--invalid:hover{background:var(--bal-option-background-invalid-hovered)}}.bal-option--invalid:active{background:var(--bal-option-background-invalid-hovered)}.bal-option--invalid.bal-option--focused{background:var(--bal-option-background-invalid-hovered)}.bal-option--invalid .bal-option__inner{color:var(--bal-color-text-danger-hovered)}@media (hover: hover)and (pointer: fine){.bal-option--invalid:hover .bal-option__inner{color:var(--bal-color-text-danger-hovered)}}.bal-option--invalid:active .bal-option__inner{color:var(--bal-color-text-danger-pressed)}.bal-option--disabled,.bal-option--disabled.bal-option--focused{background:var(--bal-option-background) !important;color:var(--bal-option-text-disabled) !important;cursor:default !important}.bal-option--disabled:hover,.bal-option--disabled.bal-option--focused:hover{background:var(--bal-option-background) !important}.bal-option{--bal-radio-checkbox-symbol-size:1.125rem;--bal-radio-checkbox-symbol-width:calc(0.375rem - 1px);--bal-radio-checkbox-symbol-height:calc(0.656rem - 1px);--bal-radio-checkbox-symbol-left:calc(0.375rem + 1px);--bal-radio-checkbox-symbol-margin-top:0.188rem;--bal-radio-checkbox-label-min-height:1.125rem}";
|
|
13
|
+
const BalOptionStyle0 = balOptionCss;
|
|
14
|
+
|
|
15
|
+
const Option = /*@__PURE__*/ proxyCustomElement(class Option extends HTMLElement {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
this.__registerHost();
|
|
19
|
+
this.balOptionChange = createEvent(this, "balOptionChange", 7);
|
|
20
|
+
this.balOptionFocus = createEvent(this, "balOptionFocus", 7);
|
|
21
|
+
this.inputId = `bal-option-${balOptionIds++}`;
|
|
22
|
+
/**
|
|
23
|
+
* EVENT BINDING
|
|
24
|
+
* ------------------------------------------------------
|
|
25
|
+
*/
|
|
26
|
+
this.onClick = (ev) => {
|
|
27
|
+
const listEl = this.el.closest('bal-option-list');
|
|
28
|
+
if (this.disabled || (listEl && listEl.disabled)) {
|
|
29
|
+
stopEventBubbling(ev);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
if (listEl && listEl.required && !listEl.multiple) {
|
|
33
|
+
if (!this.selected) {
|
|
34
|
+
this.select(true);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
this.select(!this.selected);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
this.checkbox = false;
|
|
43
|
+
this.interactionState = BalElementStateListener.DefaultState;
|
|
44
|
+
this.label = '';
|
|
45
|
+
this.value = '';
|
|
46
|
+
this.disabled = false;
|
|
47
|
+
this.multiline = false;
|
|
48
|
+
this.invalid = false;
|
|
49
|
+
this.selected = false;
|
|
50
|
+
this.focused = false;
|
|
51
|
+
this.hidden = false;
|
|
52
|
+
}
|
|
53
|
+
createLogger(log) {
|
|
54
|
+
this.log = log;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* LIFECYCLE
|
|
58
|
+
* ------------------------------------------------------
|
|
59
|
+
*/
|
|
60
|
+
componentWillRender() {
|
|
61
|
+
if (this.el) {
|
|
62
|
+
const optionListEl = this.el.closest('bal-option-list');
|
|
63
|
+
if (optionListEl) {
|
|
64
|
+
this.checkbox = !!optionListEl.multiple;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* LISTENERS
|
|
70
|
+
* ------------------------------------------------------
|
|
71
|
+
*/
|
|
72
|
+
listenToMouseEnter() {
|
|
73
|
+
const { label, value, selected, disabled, hidden } = this;
|
|
74
|
+
if (!hidden && !disabled) {
|
|
75
|
+
this.balOptionFocus.emit({ label, value, selected });
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
elementStateListener(info) {
|
|
79
|
+
this.interactionChildElements.forEach(element => {
|
|
80
|
+
element.hovered = info.hovered;
|
|
81
|
+
element.pressed = info.pressed;
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* PUBLIC METHODS
|
|
86
|
+
* ------------------------------------------------------
|
|
87
|
+
*/
|
|
88
|
+
/**
|
|
89
|
+
* Selects or deselects the option and informs other components
|
|
90
|
+
*/
|
|
91
|
+
async select(selected = true) {
|
|
92
|
+
this.selected = selected;
|
|
93
|
+
const { label, value } = this;
|
|
94
|
+
this.balOptionChange.emit({ label, value, selected });
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* PRIVATE METHODS
|
|
98
|
+
* ------------------------------------------------------
|
|
99
|
+
*/
|
|
100
|
+
get interactionChildElements() {
|
|
101
|
+
return Array.from(this.el.querySelectorAll('bal-checkbox'));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* RENDER
|
|
105
|
+
* ------------------------------------------------------
|
|
106
|
+
*/
|
|
107
|
+
render() {
|
|
108
|
+
const block = BEM.block('option');
|
|
109
|
+
return (h(Host, { key: '2dbf49c5030c61a24ce0b2b8cb2fe0f1ede9895b', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('checkbox').class(this.checkbox)), block.modifier('focused').class(this.focused)), block.modifier('invalid').class(this.invalid)), block.modifier('selected').class(this.selected)), block.modifier('disabled').class(this.disabled)), block.modifier('hidden').class(this.hidden)), role: "option", id: this.inputId, "data-value": this.value, "data-label": this.label, "aria-label": this.label, "aria-hidden": ariaBooleanToString(this.hidden), "aria-selected": ariaBooleanToString(this.selected), "aria-checked": ariaBooleanToString(this.selected), "aria-disabled": ariaBooleanToString(this.disabled), "aria-invalid": ariaBooleanToString(this.invalid), tabIndex: -1, onClick: this.onClick }, h("bal-stack", { key: '1ed42549cea2542e4eb56d7cfc6c1024dd13aa71', py: "small", space: "x-small" }, this.checkbox ? (h("bal-checkbox", { flat: true, nonSubmit: true, "label-hidden": true, checked: this.selected, disabled: this.disabled, invalid: this.invalid, tabindex: -1 })) : (''), h("div", { key: '3f3c59ec2f04e77bd0400ec58b8294c3ecd7a1b7', class: Object.assign(Object.assign({}, block.element('inner').class()), block.element('inner').modifier('multiline').class(this.multiline)) }, h("slot", { key: '04e84d67e23ba2e5bd59e5ddb7c4549327e77ce0' })), this.selected && !this.checkbox ? (h("bal-icon", { name: "check", size: "small", color: this.disabled ? 'grey' : this.invalid ? 'danger' : 'primary' })) : (''))));
|
|
110
|
+
}
|
|
111
|
+
get el() { return this; }
|
|
112
|
+
static get style() { return BalOptionStyle0; }
|
|
113
|
+
}, [4, "bal-option", {
|
|
114
|
+
"label": [1],
|
|
115
|
+
"value": [1],
|
|
116
|
+
"disabled": [4],
|
|
117
|
+
"multiline": [4],
|
|
118
|
+
"invalid": [4],
|
|
119
|
+
"selected": [1028],
|
|
120
|
+
"focused": [1028],
|
|
121
|
+
"hidden": [4],
|
|
122
|
+
"checkbox": [32],
|
|
123
|
+
"interactionState": [32],
|
|
124
|
+
"select": [64]
|
|
125
|
+
}, [[1, "mouseenter", "listenToMouseEnter"]]]);
|
|
126
|
+
__decorate([
|
|
127
|
+
Logger('bal-option'),
|
|
128
|
+
__metadata("design:type", Function),
|
|
129
|
+
__metadata("design:paramtypes", [Function]),
|
|
130
|
+
__metadata("design:returntype", void 0)
|
|
131
|
+
], Option.prototype, "createLogger", null);
|
|
132
|
+
__decorate([
|
|
133
|
+
ListenToElementStates(),
|
|
134
|
+
__metadata("design:type", Function),
|
|
135
|
+
__metadata("design:paramtypes", [Object]),
|
|
136
|
+
__metadata("design:returntype", void 0)
|
|
137
|
+
], Option.prototype, "elementStateListener", null);
|
|
138
|
+
let balOptionIds = 0;
|
|
139
|
+
function defineCustomElement$1() {
|
|
140
|
+
if (typeof customElements === "undefined") {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
const components = ["bal-option", "bal-checkbox", "bal-icon", "bal-stack"];
|
|
144
|
+
components.forEach(tagName => { switch (tagName) {
|
|
145
|
+
case "bal-option":
|
|
146
|
+
if (!customElements.get(tagName)) {
|
|
147
|
+
customElements.define(tagName, Option);
|
|
148
|
+
}
|
|
149
|
+
break;
|
|
150
|
+
case "bal-checkbox":
|
|
151
|
+
if (!customElements.get(tagName)) {
|
|
152
|
+
defineCustomElement$4();
|
|
153
|
+
}
|
|
154
|
+
break;
|
|
155
|
+
case "bal-icon":
|
|
156
|
+
if (!customElements.get(tagName)) {
|
|
157
|
+
defineCustomElement$3();
|
|
158
|
+
}
|
|
159
|
+
break;
|
|
160
|
+
case "bal-stack":
|
|
161
|
+
if (!customElements.get(tagName)) {
|
|
162
|
+
defineCustomElement$2();
|
|
163
|
+
}
|
|
164
|
+
break;
|
|
165
|
+
} });
|
|
166
|
+
}
|
|
2
167
|
|
|
3
168
|
const BalOption = Option;
|
|
4
169
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -4,10 +4,12 @@ import { B as BEM } from './bem.js';
|
|
|
4
4
|
import { L as Logger } from './log.js';
|
|
5
5
|
import { s as stopEventBubbling } from './form-input.js';
|
|
6
6
|
import { F as FOCUS_KEYS } from './focus-visible.js';
|
|
7
|
-
import {
|
|
7
|
+
import { n as raf } from './helpers.js';
|
|
8
8
|
import { d as defaultBalAriaForm } from './form.js';
|
|
9
|
-
import { a as isSpaceKey, i as isEnterKey, d as isArrowUpKey,
|
|
9
|
+
import { a as isSpaceKey, i as isEnterKey, d as isArrowUpKey, g as isArrowLeftKey, c as isArrowDownKey, h as isArrowRightKey, j as isHomeKey, k as isEndKey } from './keyboard.helpers.js';
|
|
10
10
|
import { L as ListenToFocus } from './focus.decorator.js';
|
|
11
|
+
import { L as ListenToAnimation } from './animation.decorator.js';
|
|
12
|
+
import { L as ListenToVisibility } from './visibility.decorator.js';
|
|
11
13
|
import { L as ListenToBreakpoints } from './breakpoints.decorator.js';
|
|
12
14
|
import { L as ListenToWindowResize } from './window-resize.decorator.js';
|
|
13
15
|
|
|
@@ -140,12 +142,15 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends HTMLEleme
|
|
|
140
142
|
focusOutListener(ev) {
|
|
141
143
|
this.balBlur.emit(ev);
|
|
142
144
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
animationListener() {
|
|
146
|
+
const childRect = this.el.getBoundingClientRect();
|
|
147
|
+
this.maxWidth = childRect.width;
|
|
148
|
+
this.windowResizeListener();
|
|
149
|
+
}
|
|
150
|
+
visibilityListener() {
|
|
151
|
+
const childRect = this.el.getBoundingClientRect();
|
|
152
|
+
this.maxWidth = childRect.width;
|
|
153
|
+
this.windowResizeListener();
|
|
149
154
|
}
|
|
150
155
|
breakpointListener(breakpoints) {
|
|
151
156
|
this.isMobile = breakpoints.mobile;
|
|
@@ -315,7 +320,7 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends HTMLEleme
|
|
|
315
320
|
render() {
|
|
316
321
|
const { invalid, isVertical, scrollable, keyboardMode, expanded, isMobile, disabled } = this;
|
|
317
322
|
const block = BEM.block('segment');
|
|
318
|
-
return (h(Host, { key: '
|
|
323
|
+
return (h(Host, { key: 'e28612fc58901cc642d00f702e7638eca4611e68', 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: '6c720184db8d50c4ba2cb386c406ea131f6f49c6', onSlotchange: this.onSlottedItemsChange })));
|
|
319
324
|
}
|
|
320
325
|
get el() { return this; }
|
|
321
326
|
static get watchers() { return {
|
|
@@ -337,7 +342,7 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends HTMLEleme
|
|
|
337
342
|
"maxWidth": [32],
|
|
338
343
|
"ariaForm": [32],
|
|
339
344
|
"setAriaForm": [64]
|
|
340
|
-
}, [[
|
|
345
|
+
}, [[4, "keydown", "listenOnKeyDownOutside"], [0, "keydown", "listenOnKeyDown"]], {
|
|
341
346
|
"disabled": ["disabledChanged"],
|
|
342
347
|
"value": ["valueChanged"]
|
|
343
348
|
}]);
|
|
@@ -359,6 +364,18 @@ __decorate([
|
|
|
359
364
|
__metadata("design:paramtypes", [FocusEvent]),
|
|
360
365
|
__metadata("design:returntype", void 0)
|
|
361
366
|
], Segment.prototype, "focusOutListener", null);
|
|
367
|
+
__decorate([
|
|
368
|
+
ListenToAnimation(),
|
|
369
|
+
__metadata("design:type", Function),
|
|
370
|
+
__metadata("design:paramtypes", []),
|
|
371
|
+
__metadata("design:returntype", void 0)
|
|
372
|
+
], Segment.prototype, "animationListener", null);
|
|
373
|
+
__decorate([
|
|
374
|
+
ListenToVisibility(),
|
|
375
|
+
__metadata("design:type", Function),
|
|
376
|
+
__metadata("design:paramtypes", []),
|
|
377
|
+
__metadata("design:returntype", void 0)
|
|
378
|
+
], Segment.prototype, "visibilityListener", null);
|
|
362
379
|
__decorate([
|
|
363
380
|
ListenToBreakpoints(),
|
|
364
381
|
__metadata("design:type", Function),
|
|
@@ -1,48 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import { L as Logger } from './log.js';
|
|
4
|
-
|
|
5
|
-
const SelectOption = /*@__PURE__*/ proxyCustomElement(class SelectOption extends HTMLElement {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
this.label = undefined;
|
|
10
|
-
this.disabled = false;
|
|
11
|
-
this.value = undefined;
|
|
12
|
-
this.for = `bal-selopt-${selectOptionIds++}`;
|
|
13
|
-
}
|
|
14
|
-
createLogger(log) {
|
|
15
|
-
this.log = log;
|
|
16
|
-
}
|
|
17
|
-
render() {
|
|
18
|
-
return (h(Host, { key: '5d3ad22cd5a4a3f681cb90abf1a82e6b8c782a6b', style: { display: 'none' } }, h("slot", { key: 'f9e214692daeafb1670a73f39311fe2d48232620' })));
|
|
19
|
-
}
|
|
20
|
-
}, [4, "bal-select-option", {
|
|
21
|
-
"label": [513],
|
|
22
|
-
"disabled": [4],
|
|
23
|
-
"value": [513],
|
|
24
|
-
"for": [513]
|
|
25
|
-
}]);
|
|
26
|
-
__decorate([
|
|
27
|
-
Logger('bal-select-option'),
|
|
28
|
-
__metadata("design:type", Function),
|
|
29
|
-
__metadata("design:paramtypes", [Function]),
|
|
30
|
-
__metadata("design:returntype", void 0)
|
|
31
|
-
], SelectOption.prototype, "createLogger", null);
|
|
32
|
-
let selectOptionIds = 0;
|
|
33
|
-
function defineCustomElement$1() {
|
|
34
|
-
if (typeof customElements === "undefined") {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
const components = ["bal-select-option"];
|
|
38
|
-
components.forEach(tagName => { switch (tagName) {
|
|
39
|
-
case "bal-select-option":
|
|
40
|
-
if (!customElements.get(tagName)) {
|
|
41
|
-
customElements.define(tagName, SelectOption);
|
|
42
|
-
}
|
|
43
|
-
break;
|
|
44
|
-
} });
|
|
45
|
-
}
|
|
1
|
+
import { S as SelectOption, d as defineCustomElement$1 } from './bal-select-option2.js';
|
|
46
2
|
|
|
47
3
|
const BalSelectOption = SelectOption;
|
|
48
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
+
import { L as Logger } from './log.js';
|
|
4
|
+
|
|
5
|
+
const SelectOption = /*@__PURE__*/ proxyCustomElement(class SelectOption extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.label = undefined;
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.value = undefined;
|
|
12
|
+
this.for = `bal-selopt-${selectOptionIds++}`;
|
|
13
|
+
}
|
|
14
|
+
createLogger(log) {
|
|
15
|
+
this.log = log;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (h(Host, { key: '5d3ad22cd5a4a3f681cb90abf1a82e6b8c782a6b', style: { display: 'none' } }, h("slot", { key: 'f9e214692daeafb1670a73f39311fe2d48232620' })));
|
|
19
|
+
}
|
|
20
|
+
}, [4, "bal-select-option", {
|
|
21
|
+
"label": [513],
|
|
22
|
+
"disabled": [4],
|
|
23
|
+
"value": [513],
|
|
24
|
+
"for": [513]
|
|
25
|
+
}]);
|
|
26
|
+
__decorate([
|
|
27
|
+
Logger('bal-select-option'),
|
|
28
|
+
__metadata("design:type", Function),
|
|
29
|
+
__metadata("design:paramtypes", [Function]),
|
|
30
|
+
__metadata("design:returntype", void 0)
|
|
31
|
+
], SelectOption.prototype, "createLogger", null);
|
|
32
|
+
let selectOptionIds = 0;
|
|
33
|
+
function defineCustomElement() {
|
|
34
|
+
if (typeof customElements === "undefined") {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const components = ["bal-select-option"];
|
|
38
|
+
components.forEach(tagName => { switch (tagName) {
|
|
39
|
+
case "bal-select-option":
|
|
40
|
+
if (!customElements.get(tagName)) {
|
|
41
|
+
customElements.define(tagName, SelectOption);
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
} });
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { SelectOption as S, defineCustomElement as d };
|