@baloise/ds-core 19.2.0-snapshot.1741-c382bb5d2 → 19.2.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-accordion.js +1 -1
- package/components/bal-app.js +93 -1
- package/components/bal-carousel-item.js +1 -1
- package/components/bal-checkbox-group.js +3 -3
- package/components/bal-checkbox2.js +1 -1
- package/components/bal-date-calendar2.js +1 -1
- package/components/bal-date.js +1 -1
- package/components/bal-dropdown.js +1 -1
- package/components/bal-field.js +1 -1
- package/components/bal-form.js +1 -1
- package/components/bal-modal.js +1 -1
- package/components/bal-nav-menu-flyout2.js +3 -10
- package/components/bal-nav-meta-bar2.js +2 -4
- package/components/bal-nav.js +33 -155
- package/components/bal-navbar-brand.js +1 -1
- package/components/bal-navbar-menu.js +1 -1
- package/components/bal-option-list.js +1 -1
- package/components/bal-radio-group.js +3 -3
- package/components/bal-radio2.js +1 -1
- package/components/bal-segment.js +3 -3
- package/components/bal-select2.js +1 -1
- package/components/bal-tab-item.js +2 -4
- package/components/bal-tabs2.js +2 -5
- package/components/focus.decorator.js +1 -1
- package/components/form-input.js +1 -1
- package/components/helpers.js +1 -1
- package/components/index.js +320 -13
- package/components/mutation.decorator.js +1 -1
- package/components/swiper.util.js +1 -1
- package/components/tokens.esm.js +1 -1
- package/components/visibility.decorator.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-002d7bb9.js +1 -0
- package/dist/baloise-design-system/p-00c2788841.entry.js +1 -0
- package/dist/baloise-design-system/{p-b0ad167225.system.entry.js → p-00e36bd710.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dac493c4.system.js → p-01f07b49.system.js} +1 -1
- package/dist/baloise-design-system/{p-12b975fee6.system.entry.js → p-06d14aacfc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-694808374d.system.entry.js → p-088aef322b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2af73f096f.entry.js → p-0c40a0d86b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9fe6f3f427.system.entry.js → p-0d3584a65f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2527be5bac.system.entry.js → p-1345eac467.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1cfbf3093b.entry.js → p-191cb463ef.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d41dcdebec.entry.js → p-19821082de.entry.js} +1 -1
- package/dist/baloise-design-system/p-1a3fd0b20d.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-8b46496d71.system.entry.js → p-1bd08e1e63.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-02509f2aa1.system.entry.js → p-1d4ea7e42b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5d94ecd9.system.js → p-1d7c3cf2.system.js} +1 -1
- package/dist/baloise-design-system/p-1f91745ab3.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-fd273f8f1e.entry.js → p-20bc89d933.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aae6003e.js → p-20eba37f.js} +1 -1
- package/dist/baloise-design-system/{p-350a85a9.js → p-211a37e8.js} +1 -1
- package/dist/baloise-design-system/{p-0c34ba75.system.js → p-237de03b.system.js} +1 -1
- package/dist/baloise-design-system/{p-4af5f1f9.js → p-24fe64c5.js} +1 -1
- package/dist/baloise-design-system/{p-2a3e45fdfc.entry.js → p-279dbfbe05.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4191bdf0.js → p-2a27350c.js} +1 -1
- package/dist/baloise-design-system/{p-576fea8fe0.system.entry.js → p-2c5c5716e7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4e8633942b.entry.js → p-2c909ec2ed.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d96b1ee9.js → p-301a6b23.js} +1 -1
- package/dist/baloise-design-system/{p-6461e0dc8c.entry.js → p-3032d4ad66.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e53cf246d6.system.entry.js → p-31baba8382.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-68f3a1d5de.entry.js → p-32db85222c.entry.js} +1 -1
- package/dist/baloise-design-system/p-345aa92d.system.js +1 -0
- package/dist/baloise-design-system/{p-e442bfd948.entry.js → p-34b6d66663.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c1564c78.js → p-38aa6fee.js} +1 -1
- package/dist/baloise-design-system/{p-c3f74518ef.system.entry.js → p-38bca05d45.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4ca4dff6.js → p-3913c6ae.js} +1 -1
- package/dist/baloise-design-system/{p-924b576e.system.js → p-3c15fb83.system.js} +1 -1
- package/dist/baloise-design-system/{p-24e83f3b0e.system.entry.js → p-3c39fe4b16.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fb29992c.js → p-3ccf4ae8.js} +1 -1
- package/dist/baloise-design-system/{p-a7f480e29e.entry.js → p-3e0254a61f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-584601ed8d.entry.js → p-41f36f7375.entry.js} +1 -1
- package/dist/baloise-design-system/p-456114b8.system.js +1 -0
- package/dist/baloise-design-system/{p-835cf9d5.system.js → p-47825fdf.system.js} +1 -1
- package/dist/baloise-design-system/p-48bee822ce.entry.js +1 -0
- package/dist/baloise-design-system/{p-0c336d76f5.entry.js → p-4b3b969747.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7ace6bb2b2.system.entry.js → p-4f49822899.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-5298de0e.system.js +1 -0
- package/dist/baloise-design-system/{p-0b2b3dbe1b.entry.js → p-5638fe223b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fe2ef334.system.js → p-565f9976.system.js} +1 -1
- package/dist/baloise-design-system/{p-bdf651c552.system.entry.js → p-57b41c6504.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-11230944ba.system.entry.js → p-5b20afcac4.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8f0ace18a8.entry.js → p-5bb661c59b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-70a29a3cf9.system.entry.js → p-5ce42985d4.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3131f323.system.js → p-5f32b4f3.system.js} +1 -1
- package/dist/baloise-design-system/{p-0783dc98dd.system.entry.js → p-5fcfbec540.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3f6fcc1a25.system.entry.js → p-6149950bb1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c75b737789.system.entry.js → p-61b67b07b2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5d54264e11.entry.js → p-654bc5873c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c942d04f.system.js → p-659ecadc.system.js} +1 -1
- package/dist/baloise-design-system/{p-4936cce309.entry.js → p-6700e35d71.entry.js} +1 -1
- package/dist/baloise-design-system/{p-eec38fbd.system.js → p-6b690346.system.js} +1 -1
- package/dist/baloise-design-system/{p-0aa6f3518b.system.entry.js → p-6bb4e22ace.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-00d74c5578.entry.js → p-6c1136af87.entry.js} +1 -1
- package/dist/baloise-design-system/{p-548ca0b3.js → p-6e85cd1a.js} +1 -1
- package/dist/baloise-design-system/{p-3fcfe14a45.system.entry.js → p-72414b93ef.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-599fe1aecd.system.entry.js → p-72c837904a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-14df54b760.entry.js → p-748e3f7c7d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ddfc39d563.system.entry.js → p-7625d0abde.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ea96959c66.system.entry.js → p-78b209fdb3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f19930db.js → p-79f6f58b.js} +1 -1
- package/dist/baloise-design-system/{p-27b9d8e173.entry.js → p-7cbb14c480.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bb3d79e0.js → p-83ac9b11.js} +1 -1
- package/dist/baloise-design-system/{p-a6f19c8102.entry.js → p-848aa73224.entry.js} +1 -1
- package/dist/baloise-design-system/{p-01cd830b.system.js → p-863f4e4e.system.js} +1 -1
- package/dist/baloise-design-system/{p-4d5477db.js → p-875de117.js} +1 -1
- package/dist/baloise-design-system/{p-04515987c7.system.entry.js → p-8ebf048b7b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4a0012fa.js → p-8fc7e9ca.js} +1 -1
- package/dist/baloise-design-system/p-92964b4937.entry.js +1 -0
- package/dist/baloise-design-system/p-92b665e7.system.js +1 -0
- package/dist/baloise-design-system/{p-554346365a.entry.js → p-9577a33b58.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dc1f26ed82.entry.js → p-97bb957512.entry.js} +1 -1
- package/dist/baloise-design-system/{p-efa88f9a.system.js → p-9a5b77d8.system.js} +1 -1
- package/dist/baloise-design-system/p-9c3f458e6c.entry.js +1 -0
- package/dist/baloise-design-system/{p-7267570ee4.system.entry.js → p-9c8bb7777c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6df2900b29.system.entry.js → p-9df176a81a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a82d082286.system.entry.js → p-9df40521e4.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b0cf4731.js → p-a255c9b3.js} +1 -1
- package/dist/baloise-design-system/{p-5e506fea89.entry.js → p-a35a951800.entry.js} +1 -1
- package/dist/baloise-design-system/p-a397da94.system.js +1 -0
- package/dist/baloise-design-system/{p-5c391c5415.system.entry.js → p-a64c7a3b82.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-16f5c678f5.entry.js → p-a7963df92a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3d3aa421.js → p-a7be57b6.js} +1 -1
- package/dist/baloise-design-system/{p-371f93bd95.system.entry.js → p-a7de0bf339.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4f1232cf16.system.entry.js → p-a86c09c64f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ae0d2039.system.js → p-a8955719.system.js} +1 -1
- package/dist/baloise-design-system/{p-659270e6.system.js → p-abd6896e.system.js} +1 -1
- package/dist/baloise-design-system/{p-5b163efa.js → p-ad14e9f9.js} +1 -1
- package/dist/baloise-design-system/{p-2d3770e7.system.js → p-ade9437f.system.js} +1 -1
- package/dist/baloise-design-system/{p-71fc84d0c0.system.entry.js → p-ae3df5bebc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e1f817daeb.system.entry.js → p-aee1b9619a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-af0585f6.js +1 -0
- package/dist/baloise-design-system/{p-16e0580134.entry.js → p-af1086f717.entry.js} +1 -1
- package/dist/baloise-design-system/{p-77c7a0b0.js → p-afd41db0.js} +1 -1
- package/dist/baloise-design-system/{p-1ef6d4ebd5.entry.js → p-b147ff1ced.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e1daa037f5.entry.js → p-b3a9499f8e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6c080ebc.system.js → p-b50f4c4e.system.js} +1 -1
- package/dist/baloise-design-system/{p-ce0bb62f88.system.entry.js → p-b5b4c144a0.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1272e3f9c5.system.entry.js → p-b794110da2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e004afb272.entry.js → p-b80f4f2be5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-df9b8ff8.system.js → p-bdec7c17.system.js} +1 -1
- package/dist/baloise-design-system/{p-55ebd30d.js → p-c0173fff.js} +1 -1
- package/dist/baloise-design-system/{p-ba04f59382.entry.js → p-c1181d7258.entry.js} +1 -1
- package/dist/baloise-design-system/{p-faa524532a.entry.js → p-c24c3e208f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0ae449ae.system.js → p-c43a56b7.system.js} +1 -1
- package/dist/baloise-design-system/p-c5fc0e842c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-a7894ace.js → p-cb0ff37f.js} +1 -1
- package/dist/baloise-design-system/{p-de214c5ded.entry.js → p-d2b585ae74.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d09490838c.system.entry.js → p-da804f45a6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cb9a61cf9f.entry.js → p-da86fecd46.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2add7b3634.system.entry.js → p-dba2c7bb14.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ad848b32cc.entry.js → p-de44e8a65c.entry.js} +1 -1
- package/dist/baloise-design-system/p-df94de7fb8.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-4ad57bd1ee.entry.js → p-e2c982954d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-42d1374d6f.system.entry.js → p-e3fb1f185f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f8db562aa1.entry.js → p-e87f91527f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5fbe1e715b.entry.js → p-eaed1f800c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ec1863d2.js → p-ec375851.js} +1 -1
- package/dist/baloise-design-system/{p-15f86fd2.js → p-f1052416.js} +1 -1
- package/dist/baloise-design-system/{p-2908a4b8.system.js → p-f52a27c1.system.js} +1 -1
- package/dist/baloise-design-system/{p-c1df952485.entry.js → p-f817eedc81.entry.js} +1 -1
- package/dist/baloise-design-system/{p-da6b6e18.system.js → p-fa4494e0.system.js} +1 -1
- package/dist/baloise-design-system/{p-b0471793.system.js → p-fa5198a0.system.js} +1 -1
- package/dist/cjs/{global-2a76769b.js → app-globals-0d8db19e.js} +4 -2
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +38 -167
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-segment_2.cjs.entry.js +7 -7
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +3 -3
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +6 -11
- package/dist/cjs/baloise-design-system.cjs.js +2 -3
- package/dist/cjs/{breakpoints.decorator-93750fa2.js → breakpoints.decorator-e93836f7.js} +1 -1
- package/dist/cjs/{breakpoints.subject-814a8c58.js → breakpoints.subject-46e29594.js} +1 -1
- package/dist/cjs/index.cjs.js +18 -18
- package/dist/cjs/initialize-2e8978a4.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/{tokens.esm-f1e99983.js → tokens.esm-b4bf229a.js} +1 -1
- package/dist/cjs/{window-resize.decorator-620a819b.js → window-resize.decorator-6954c7a2.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +2 -2
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +2 -40
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.css +1 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +1 -22
- package/dist/collection/components/bal-nav/bal-nav.css +1 -1
- package/dist/collection/components/bal-nav/bal-nav.js +8 -43
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +5 -6
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +2 -2
- package/dist/collection/components/bal-segment/bal-segment.js +3 -3
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -23
- package/dist/collection/components/bal-tabs/components/tab-button.js +3 -6
- package/dist/collection/index.js +21 -27
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/esm/{animation.decorator-7fca988f.js → animation.decorator-49923a4a.js} +1 -1
- package/dist/esm/app-globals-5dd5fe6b.js +9 -0
- package/dist/esm/bal-accordion_4.entry.js +5 -5
- package/dist/esm/bal-app.entry.js +2 -2
- package/dist/esm/bal-button_2.entry.js +2 -2
- package/dist/esm/bal-carousel_2.entry.js +14 -14
- package/dist/esm/bal-checkbox_2.entry.js +8 -8
- package/dist/esm/bal-close.entry.js +3 -3
- package/dist/esm/bal-date-calendar-cell.entry.js +3 -3
- package/dist/esm/bal-date-calendar_2.entry.js +8 -8
- package/dist/esm/bal-date.entry.js +7 -7
- package/dist/esm/bal-dropdown.entry.js +6 -6
- package/dist/esm/bal-field_5.entry.js +3 -3
- package/dist/esm/bal-file-upload.entry.js +3 -3
- package/dist/esm/bal-footer.entry.js +4 -4
- package/dist/esm/bal-form.entry.js +2 -2
- package/dist/esm/bal-hint_5.entry.js +6 -6
- package/dist/esm/bal-icon.entry.js +3 -3
- package/dist/esm/bal-input-slider.entry.js +3 -3
- package/dist/esm/bal-input-stepper.entry.js +6 -6
- package/dist/esm/bal-input.entry.js +3 -3
- package/dist/esm/bal-label.entry.js +3 -3
- package/dist/esm/bal-list_8.entry.js +9 -9
- package/dist/esm/bal-logo.entry.js +6 -6
- package/dist/esm/bal-modal_3.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +44 -173
- package/dist/esm/bal-navbar_5.entry.js +7 -7
- package/dist/esm/bal-number-input.entry.js +6 -6
- package/dist/esm/bal-option_2.entry.js +4 -4
- package/dist/esm/bal-pagination.entry.js +7 -7
- package/dist/esm/bal-popup.entry.js +4 -4
- package/dist/esm/bal-progress-bar.entry.js +6 -6
- package/dist/esm/bal-radio_2.entry.js +8 -8
- package/dist/esm/bal-segment_2.entry.js +13 -13
- package/dist/esm/bal-select_2.entry.js +3 -3
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +4 -4
- package/dist/esm/bal-stage_6.entry.js +2 -2
- package/dist/esm/bal-steps.entry.js +7 -7
- package/dist/esm/bal-tab-item_2.entry.js +18 -23
- package/dist/esm/bal-textarea.entry.js +3 -3
- package/dist/esm/bal-time-input.entry.js +5 -5
- package/dist/esm/bal-tooltip.entry.js +3 -3
- package/dist/esm/baloise-design-system.js +6 -7
- package/dist/esm/{breakpoints.decorator-8f62709d.js → breakpoints.decorator-133a72bf.js} +1 -1
- package/dist/esm/{breakpoints.subject-3a03b167.js → breakpoints.subject-76dd4b56.js} +2 -2
- package/dist/esm/{config.decorator-6795d1fe.js → config.decorator-42dba864.js} +1 -1
- package/dist/esm/{config.default-53a04699.js → config.default-8e11a860.js} +1 -1
- package/dist/esm/{config.utils-f3793464.js → config.utils-cd529084.js} +1 -1
- package/dist/esm/{date-87bdb1d1.js → date-a9304ff8.js} +1 -1
- package/dist/esm/{element-states.decorator-d99dc83c.js → element-states.decorator-0688a178.js} +1 -1
- package/dist/esm/{floating-ui-8ffbc979.js → floating-ui-775ee3d1.js} +1 -1
- package/dist/esm/{focus.decorator-988245d7.js → focus.decorator-5575312f.js} +1 -1
- package/dist/esm/{form-input-1ebdb905.js → form-input-263e6f5b.js} +1 -1
- package/dist/esm/{helpers-51d51cc5.js → helpers-94c3fbac.js} +2 -2
- package/dist/esm/index.js +15 -15
- package/dist/esm/{initialize-c00194b2.js → initialize-be160cc4.js} +4 -4
- package/dist/esm/loader.js +6 -7
- package/dist/esm/{mutation.decorator-6a69cedb.js → mutation.decorator-e915d053.js} +1 -1
- package/dist/esm/{number-ccf3fbd0.js → number-d75635a2.js} +2 -2
- package/dist/esm/{overlays-cee3838b.js → overlays-3f81f45d.js} +1 -1
- package/dist/esm/{resize.decorator-3c8e5ee2.js → resize.decorator-08f6286b.js} +1 -1
- package/dist/esm/{swipe.decorator-3d3585e7.js → swipe.decorator-902c4936.js} +1 -1
- package/dist/esm/{swipe.subject-26a9e5a5.js → swipe.subject-fbdb665a.js} +1 -1
- package/dist/esm/{swiper.util-8e17b8c4.js → swiper.util-5f92ac1c.js} +2 -2
- package/dist/esm/{tokens.esm-03cdda91.js → tokens.esm-dc280d50.js} +1 -1
- package/dist/esm/{visibility.decorator-5db91610.js → visibility.decorator-ee4b6682.js} +1 -1
- package/dist/esm/{window-resize.decorator-3eaade78.js → window-resize.decorator-aa625d55.js} +1 -1
- package/dist/esm-es5/{animation.decorator-7fca988f.js → animation.decorator-49923a4a.js} +1 -1
- package/dist/esm-es5/app-globals-5dd5fe6b.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_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.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-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-icon.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-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_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-8f62709d.js → breakpoints.decorator-133a72bf.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-3a03b167.js → breakpoints.subject-76dd4b56.js} +1 -1
- package/dist/esm-es5/config.decorator-42dba864.js +1 -0
- package/dist/esm-es5/{config.default-53a04699.js → config.default-8e11a860.js} +1 -1
- package/dist/esm-es5/{config.utils-f3793464.js → config.utils-cd529084.js} +1 -1
- package/dist/esm-es5/{date-87bdb1d1.js → date-a9304ff8.js} +1 -1
- package/dist/esm-es5/{element-states.decorator-d99dc83c.js → element-states.decorator-0688a178.js} +1 -1
- package/dist/esm-es5/{floating-ui-8ffbc979.js → floating-ui-775ee3d1.js} +1 -1
- package/dist/esm-es5/{focus.decorator-988245d7.js → focus.decorator-5575312f.js} +1 -1
- package/dist/esm-es5/{form-input-1ebdb905.js → form-input-263e6f5b.js} +1 -1
- package/dist/esm-es5/{helpers-51d51cc5.js → helpers-94c3fbac.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{initialize-c00194b2.js → initialize-be160cc4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{mutation.decorator-6a69cedb.js → mutation.decorator-e915d053.js} +1 -1
- package/dist/esm-es5/number-d75635a2.js +1 -0
- package/dist/esm-es5/{overlays-cee3838b.js → overlays-3f81f45d.js} +1 -1
- package/dist/esm-es5/{resize.decorator-3c8e5ee2.js → resize.decorator-08f6286b.js} +1 -1
- package/dist/esm-es5/{swipe.decorator-3d3585e7.js → swipe.decorator-902c4936.js} +1 -1
- package/dist/esm-es5/{swipe.subject-26a9e5a5.js → swipe.subject-fbdb665a.js} +1 -1
- package/dist/esm-es5/{swiper.util-8e17b8c4.js → swiper.util-5f92ac1c.js} +1 -1
- package/dist/esm-es5/{visibility.decorator-5db91610.js → visibility.decorator-ee4b6682.js} +1 -1
- package/dist/esm-es5/{window-resize.decorator-3eaade78.js → window-resize.decorator-aa625d55.js} +1 -1
- package/dist/html.html-data.json +0 -4
- package/dist/types/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.d.ts +2 -2
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +1 -6
- package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.d.ts +0 -4
- package/dist/types/components/bal-nav/bal-nav.interfaces.d.ts +1 -7
- package/dist/types/components/bal-nav/models/bal-nav-menu-link-item.d.ts +0 -1
- package/dist/types/components/bal-radio/bal-radio-group/bal-radio-group.d.ts +2 -2
- package/dist/types/components/bal-segment/bal-segment.d.ts +2 -2
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +0 -5
- package/dist/types/components/bal-tabs/bal-tab.type.d.ts +0 -1
- package/dist/types/components/bal-tabs/bal-tabs.interfaces.d.ts +0 -2
- package/dist/types/components.d.ts +0 -69
- package/dist/types/index.d.ts +23 -25
- package/package.json +6 -6
- package/components/bal-app2.js +0 -95
- package/components/bal-doc-app.d.ts +0 -11
- package/components/bal-doc-app.js +0 -262
- package/components/initialize.js +0 -312
- package/dist/baloise-design-system/p-0c352526.system.js +0 -1
- package/dist/baloise-design-system/p-13d44256.system.js +0 -1
- package/dist/baloise-design-system/p-216c816074.system.entry.js +0 -1
- package/dist/baloise-design-system/p-241cd947.system.js +0 -1
- package/dist/baloise-design-system/p-36c605b7ed.entry.js +0 -1
- package/dist/baloise-design-system/p-39e0a066.js +0 -1
- package/dist/baloise-design-system/p-4fea94e0.js +0 -1
- package/dist/baloise-design-system/p-5420740f.system.js +0 -1
- package/dist/baloise-design-system/p-62817e8ac6.entry.js +0 -1
- package/dist/baloise-design-system/p-714e67e02b.entry.js +0 -1
- package/dist/baloise-design-system/p-73bf956385.system.entry.js +0 -1
- package/dist/baloise-design-system/p-81fba1c691.entry.js +0 -1
- package/dist/baloise-design-system/p-86621bd1a3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8b791b36.js +0 -1
- package/dist/baloise-design-system/p-ab6510f1.system.js +0 -1
- package/dist/baloise-design-system/p-d41bc90ec9.entry.js +0 -1
- package/dist/baloise-design-system/p-d786f04bee.system.entry.js +0 -1
- package/dist/baloise-design-system/p-eb70745672.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fbce8119.system.js +0 -1
- package/dist/cjs/app-globals-f63c33e7.js +0 -7
- package/dist/cjs/bal-doc-app.cjs.entry.js +0 -233
- package/dist/collection/components/bal-nav/bal-nav-focus.util.js +0 -87
- 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 -247
- package/dist/esm/app-globals-47f73608.js +0 -5
- package/dist/esm/bal-doc-app.entry.js +0 -229
- package/dist/esm/global-85ac0fa5.js +0 -7
- package/dist/esm-es5/app-globals-47f73608.js +0 -1
- package/dist/esm-es5/bal-doc-app.entry.js +0 -1
- package/dist/esm-es5/config.decorator-6795d1fe.js +0 -1
- package/dist/esm-es5/global-85ac0fa5.js +0 -1
- package/dist/esm-es5/number-ccf3fbd0.js +0 -1
- package/dist/types/components/bal-nav/bal-nav-focus.util.d.ts +0 -33
- 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-22ac062f.js → p-f35655f3.js} +0 -0
- /package/dist/baloise-design-system/{p-195e2346.system.js → p-fd6073b5.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-03cdda91.js → tokens.esm-dc280d50.js} +0 -0
package/components/all.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
|
|
|
27
27
|
import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
|
|
28
28
|
import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
|
|
29
29
|
import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
|
|
30
|
-
import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
|
|
31
30
|
import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
|
|
32
31
|
import { BalField, defineCustomElement as defineBalField } from './bal-field'
|
|
33
32
|
import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
|
|
@@ -146,7 +145,6 @@ export { BalDate, defineBalDate }
|
|
|
146
145
|
export { BalDateCalendar, defineBalDateCalendar }
|
|
147
146
|
export { BalDateCalendarCell, defineBalDateCalendarCell }
|
|
148
147
|
export { BalDivider, defineBalDivider }
|
|
149
|
-
export { BalDocApp, defineBalDocApp }
|
|
150
148
|
export { BalDropdown, defineBalDropdown }
|
|
151
149
|
export { BalField, defineBalField }
|
|
152
150
|
export { BalFieldControl, defineBalFieldControl }
|
package/components/all.js
CHANGED
|
@@ -27,7 +27,6 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
|
|
|
27
27
|
import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
|
|
28
28
|
import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
|
|
29
29
|
import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
|
|
30
|
-
import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
|
|
31
30
|
import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
|
|
32
31
|
import { BalField, defineCustomElement as defineBalField } from './bal-field'
|
|
33
32
|
import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
|
|
@@ -146,7 +145,6 @@ export { BalDate, defineBalDate }
|
|
|
146
145
|
export { BalDateCalendar, defineBalDateCalendar }
|
|
147
146
|
export { BalDateCalendarCell, defineBalDateCalendarCell }
|
|
148
147
|
export { BalDivider, defineBalDivider }
|
|
149
|
-
export { BalDocApp, defineBalDocApp }
|
|
150
148
|
export { BalDropdown, defineBalDropdown }
|
|
151
149
|
export { BalField, defineBalField }
|
|
152
150
|
export { BalFieldControl, defineBalFieldControl }
|
|
@@ -266,7 +264,6 @@ export const defineAllComponents = () => {
|
|
|
266
264
|
defineBalDateCalendar()
|
|
267
265
|
defineBalDateCalendarCell()
|
|
268
266
|
defineBalDivider()
|
|
269
|
-
defineBalDocApp()
|
|
270
267
|
defineBalDropdown()
|
|
271
268
|
defineBalField()
|
|
272
269
|
defineBalFieldControl()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import { n as raf, t as transitionEndAsync, o as debounceEvent,
|
|
3
|
+
import { n as raf, t as transitionEndAsync, o as debounceEvent, w as waitForComponent } from './helpers.js';
|
|
4
4
|
import { B as BEM } from './bem.js';
|
|
5
5
|
import { L as Logger } from './log.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './bal-button2.js';
|
package/components/bal-app.js
CHANGED
|
@@ -1,4 +1,96 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
+
import { b as balBrowser } from './browser.js';
|
|
4
|
+
import { b as balDevice } from './device.js';
|
|
5
|
+
import { k as debounce, p as rIC, m as rOnLoad } from './helpers.js';
|
|
6
|
+
import { L as Logger } from './log.js';
|
|
7
|
+
import { s as startFocusVisible } from './focus-visible.js';
|
|
8
|
+
import { b as updateBalAnimated } from './config.utils.js';
|
|
9
|
+
|
|
10
|
+
const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative}.lcp-wait{opacity:0;visibility:hidden;display:none}.lcp-ready .lcp-wait{opacity:inherit;visibility:inherit;display:inherit}";
|
|
11
|
+
const BalAppStyle0 = balAppCss;
|
|
12
|
+
|
|
13
|
+
const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
this.debouncedNotify = debounce(() => this.notifyResize(), 100);
|
|
18
|
+
this.notifyResize = async () => {
|
|
19
|
+
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
20
|
+
const doc = document.documentElement;
|
|
21
|
+
doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
this.animated = true;
|
|
25
|
+
this.ready = false;
|
|
26
|
+
}
|
|
27
|
+
createLogger(log) {
|
|
28
|
+
this.log = log;
|
|
29
|
+
}
|
|
30
|
+
connectedCallback() {
|
|
31
|
+
if (this.animated === false) {
|
|
32
|
+
updateBalAnimated(this.animated);
|
|
33
|
+
}
|
|
34
|
+
if (balBrowser.hasWindow) {
|
|
35
|
+
window.addEventListener('resize', this.debouncedNotify);
|
|
36
|
+
this.debouncedNotify();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
componentDidLoad() {
|
|
40
|
+
rIC(() => {
|
|
41
|
+
this.ready = true;
|
|
42
|
+
startFocusVisible();
|
|
43
|
+
});
|
|
44
|
+
rOnLoad(() => {
|
|
45
|
+
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
46
|
+
const doc = document.documentElement;
|
|
47
|
+
doc.classList.add('lcp-ready');
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
disconnectedCallback() {
|
|
52
|
+
if (balBrowser.hasWindow) {
|
|
53
|
+
window.removeEventListener('resize', this.debouncedNotify);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
async setFocus(elements) {
|
|
57
|
+
if (this.focusVisible) {
|
|
58
|
+
this.focusVisible.setFocus(elements);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
return (h(Host, { key: '8aa3c989125e06e500597db9773fca378e4b7467', class: {
|
|
63
|
+
'bal-app': true,
|
|
64
|
+
'bal-app--safari': balBrowser.isSafari,
|
|
65
|
+
'bal-app--touch': balDevice.hasTouchScreen,
|
|
66
|
+
} }, h("slot", { key: 'c0e432a988e29f653198ed4eeead7f18fa447035' })));
|
|
67
|
+
}
|
|
68
|
+
get el() { return this; }
|
|
69
|
+
static get style() { return BalAppStyle0; }
|
|
70
|
+
}, [4, "bal-app", {
|
|
71
|
+
"animated": [516],
|
|
72
|
+
"ready": [1540],
|
|
73
|
+
"setFocus": [64]
|
|
74
|
+
}]);
|
|
75
|
+
__decorate([
|
|
76
|
+
Logger('bal-app'),
|
|
77
|
+
__metadata("design:type", Function),
|
|
78
|
+
__metadata("design:paramtypes", [Function]),
|
|
79
|
+
__metadata("design:returntype", void 0)
|
|
80
|
+
], App.prototype, "createLogger", null);
|
|
81
|
+
function defineCustomElement$1() {
|
|
82
|
+
if (typeof customElements === "undefined") {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const components = ["bal-app"];
|
|
86
|
+
components.forEach(tagName => { switch (tagName) {
|
|
87
|
+
case "bal-app":
|
|
88
|
+
if (!customElements.get(tagName)) {
|
|
89
|
+
customElements.define(tagName, App);
|
|
90
|
+
}
|
|
91
|
+
break;
|
|
92
|
+
} });
|
|
93
|
+
}
|
|
2
94
|
|
|
3
95
|
const BalApp = App;
|
|
4
96
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { D as DOMPurify } from './purify.js';
|
|
3
3
|
import { i as inheritAttributes } from './attributes.js';
|
|
4
4
|
import { B as BEM } from './bem.js';
|
|
5
|
-
import { m as rOnLoad,
|
|
5
|
+
import { m as rOnLoad, b as waitAfterFramePaint } from './helpers.js';
|
|
6
6
|
import { t as toKebabCase } from './string.js';
|
|
7
7
|
|
|
8
8
|
const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends HTMLElement {
|
|
@@ -6,7 +6,7 @@ import { i as inheritAttributes } from './attributes.js';
|
|
|
6
6
|
import { B as BEM } from './bem.js';
|
|
7
7
|
import { d as defaultBalAriaForm } from './form.js';
|
|
8
8
|
import { s as stopEventBubbling } from './form-input.js';
|
|
9
|
-
import {
|
|
9
|
+
import { j as isDescendant, q as hasTagName } from './helpers.js';
|
|
10
10
|
import { L as Logger } from './log.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './bal-checkbox2.js';
|
|
12
12
|
import { L as ListenToFocus } from './focus.decorator.js';
|
|
@@ -330,13 +330,13 @@ __decorate([
|
|
|
330
330
|
__decorate([
|
|
331
331
|
ListenToFocus(),
|
|
332
332
|
__metadata("design:type", Function),
|
|
333
|
-
__metadata("design:paramtypes", [
|
|
333
|
+
__metadata("design:paramtypes", [FocusEvent]),
|
|
334
334
|
__metadata("design:returntype", void 0)
|
|
335
335
|
], CheckboxGroup.prototype, "focusInListener", null);
|
|
336
336
|
__decorate([
|
|
337
337
|
ListenToFocus(),
|
|
338
338
|
__metadata("design:type", Function),
|
|
339
|
-
__metadata("design:paramtypes", [
|
|
339
|
+
__metadata("design:paramtypes", [FocusEvent]),
|
|
340
340
|
__metadata("design:returntype", void 0)
|
|
341
341
|
], CheckboxGroup.prototype, "focusOutListener", null);
|
|
342
342
|
__decorate([
|
|
@@ -6,7 +6,7 @@ import { B as BEM } from './bem.js';
|
|
|
6
6
|
import { F as FOCUS_KEYS } from './focus-visible.js';
|
|
7
7
|
import { d as defaultBalAriaForm } from './form.js';
|
|
8
8
|
import { s as stopEventBubbling, i as inputSetFocus, a as inputSetBlur } from './form-input.js';
|
|
9
|
-
import {
|
|
9
|
+
import { j as isDescendant } from './helpers.js';
|
|
10
10
|
import { L as Logger } from './log.js';
|
|
11
11
|
import { L as ListenToElementStates } from './element-states.decorator.js';
|
|
12
12
|
import { a as isSpaceKey } from './keyboard.helpers.js';
|
|
@@ -4,7 +4,7 @@ import { l as lodash_padstart } from './index5.js';
|
|
|
4
4
|
import { l as lodash_isnil } from './index3.js';
|
|
5
5
|
import { B as BalDate } from './date.js';
|
|
6
6
|
import { L as Logger } from './log.js';
|
|
7
|
-
import {
|
|
7
|
+
import { b as waitAfterFramePaint } from './helpers.js';
|
|
8
8
|
import { B as BEM } from './bem.js';
|
|
9
9
|
import { i as i18nBalDate } from './bal-date.i18n.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './bal-date-calendar-cell2.js';
|
package/components/bal-date.js
CHANGED
|
@@ -9,7 +9,7 @@ import { b as balFloatingUi } from './floating-ui.js';
|
|
|
9
9
|
import { F as FOCUS_KEYS } from './focus-visible.js';
|
|
10
10
|
import { d as defaultBalAriaForm } from './form.js';
|
|
11
11
|
import { s as stopEventBubbling } from './form-input.js';
|
|
12
|
-
import { p as rIC, o as debounceEvent, l as addEventListener, r as removeEventListener,
|
|
12
|
+
import { p as rIC, o as debounceEvent, l as addEventListener, r as removeEventListener, d as waitAfterIdleCallback } from './helpers.js';
|
|
13
13
|
import { L as Logger } from './log.js';
|
|
14
14
|
import { i as i18nBalDate } from './bal-date.i18n.js';
|
|
15
15
|
import { d as defineCustomElement$6 } from './bal-date-calendar2.js';
|
|
@@ -5,7 +5,7 @@ import { L as Logger } from './log.js';
|
|
|
5
5
|
import { s as stopEventBubbling } from './form-input.js';
|
|
6
6
|
import { i as inheritAttributes } from './attributes.js';
|
|
7
7
|
import { d as defaultBalAriaForm } from './form.js';
|
|
8
|
-
import { p as rIC,
|
|
8
|
+
import { p as rIC, b as waitAfterFramePaint, l as addEventListener, r as removeEventListener, d as waitAfterIdleCallback } from './helpers.js';
|
|
9
9
|
import { b as balBrowser } from './browser.js';
|
|
10
10
|
import { a as areArraysEqual } from './array.js';
|
|
11
11
|
import { l as lodash_isnil } from './index3.js';
|
package/components/bal-field.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import {
|
|
3
|
+
import { h as deepReady, b as waitAfterFramePaint } from './helpers.js';
|
|
4
4
|
import { d as defaultBalAriaForm } from './form.js';
|
|
5
5
|
import { L as ListenToMutation } from './mutation.decorator.js';
|
|
6
6
|
|
package/components/bal-form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { s as scrollToFirstInvalidField } from './form.js';
|
|
3
|
-
import {
|
|
3
|
+
import { d as waitAfterIdleCallback, b as waitAfterFramePaint } from './helpers.js';
|
|
4
4
|
|
|
5
5
|
const balFormCss = ".bal-form{display:block;position:static}";
|
|
6
6
|
const BalFormStyle0 = balFormCss;
|
package/components/bal-modal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { p as prepareOverlay, d as dismiss, e as eventMethod, F as FOCUS_TRAP_DISABLE_CLASS } from './overlays.js';
|
|
3
|
-
import { c as componentOnReady,
|
|
3
|
+
import { c as componentOnReady, h as deepReady, i as wait } from './helpers.js';
|
|
4
4
|
import { B as BalScrollHandler } from './scroll.js';
|
|
5
5
|
import { b as balBrowser } from './browser.js';
|
|
6
6
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement,
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
|
-
import { i as isDescendant } from './helpers.js';
|
|
5
4
|
import { L as Logger } from './log.js';
|
|
6
5
|
import { B as BalScrollHandler } from './scroll.js';
|
|
7
6
|
import { L as ListenToResize } from './resize.decorator.js';
|
|
@@ -13,7 +12,6 @@ const NavMenuFlyout = /*@__PURE__*/ proxyCustomElement(class NavMenuFlyout exten
|
|
|
13
12
|
constructor() {
|
|
14
13
|
super();
|
|
15
14
|
this.__registerHost();
|
|
16
|
-
this.balFocusOut = createEvent(this, "balFocusOut", 7);
|
|
17
15
|
this.bodyScrollHandler = new BalScrollHandler();
|
|
18
16
|
this.isHidden = false;
|
|
19
17
|
this.navId = `bal-nav-x${NavMenuFlyOutIds++}`;
|
|
@@ -35,11 +33,6 @@ const NavMenuFlyout = /*@__PURE__*/ proxyCustomElement(class NavMenuFlyout exten
|
|
|
35
33
|
* LISTENERS
|
|
36
34
|
* ------------------------------------------------------
|
|
37
35
|
*/
|
|
38
|
-
onFocusLeave(event) {
|
|
39
|
-
if (this.el && event.relatedTarget && !isDescendant(this.el, event.relatedTarget)) {
|
|
40
|
-
this.balFocusOut.emit(event);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
36
|
resizeListener() {
|
|
44
37
|
if (this.isFlyoutScrollable()) {
|
|
45
38
|
this.bodyScrollHandler.disable();
|
|
@@ -63,14 +56,14 @@ const NavMenuFlyout = /*@__PURE__*/ proxyCustomElement(class NavMenuFlyout exten
|
|
|
63
56
|
render() {
|
|
64
57
|
const block = BEM.block('nav-menu-flyout');
|
|
65
58
|
const line = block.element('line');
|
|
66
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '9d0c52ef158adb1dcdddff70f32c0b4846696577', id: `${this.navId}-menu-flyout`, class: Object.assign({}, block.class()) }, h("div", { key: '3405126297ac245862a006b2fd83f147e615d001', class: Object.assign({}, line.class()) }), h("div", { key: '2a8707468c3e6886dd91e6cf792de8e0e0f97aa9', class: Object.assign({}, block.element('container').class()) }, h("slot", { key: '7c98fd49abc6e6f3ff3e2dffd49f4ec69df72788' }))));
|
|
67
60
|
}
|
|
68
61
|
get el() { return this; }
|
|
69
62
|
static get style() { return BalNavMenuFlyoutStyle0; }
|
|
70
63
|
}, [4, "bal-nav-menu-flyout", {
|
|
71
64
|
"navId": [1, "nav-id"],
|
|
72
65
|
"isHidden": [32]
|
|
73
|
-
}
|
|
66
|
+
}]);
|
|
74
67
|
__decorate([
|
|
75
68
|
Logger('bal-nav-menu-flyout'),
|
|
76
69
|
__metadata("design:type", Function),
|
|
@@ -4,7 +4,7 @@ import { B as BEM } from './bem.js';
|
|
|
4
4
|
import { L as Logger } from './log.js';
|
|
5
5
|
import { b as balBrowser } from './browser.js';
|
|
6
6
|
|
|
7
|
-
const balNavMetaBarCss = ":root{--bal-nav-meta-bar-variant-primary-background:var(--bal-color-primary);--bal-nav-meta-bar-variant-primary-shadow:none;--bal-nav-meta-bar-variant-white-background:var(--bal-color-white);--bal-nav-meta-bar-variant-white-shadow:0 5px 15px rgba(0,0,0,.1);--bal-nav-meta-bar-variant-grey-background:var(--bal-color-grey-2);--bal-nav-meta-bar-variant-grey-shadow:none}.bal-nav-meta-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;z-index:var(--bal-z-index-navigation)}.bal-nav-meta-bar__container{-ms-flex-positive:1;flex-grow:1;margin:0 auto;position:relative;width:auto;width:100% !important;padding-left:var(--bal-container-space);padding-right:var(--bal-container-space)}.bal-nav-meta-bar__container--fluid{max-width:var(--bal-container-size-fluid) !important}.bal-nav-meta-bar__container--detail-page{max-width:var(--bal-container-size-detail-page) !important}.bal-nav-meta-bar__container--compact{max-width:var(--bal-container-size-compact) !important}.bal-nav-meta-bar__container--blog-page{max-width:var(--bal-container-size-blog-page) !important}@media screen and (min-width: 769px),print{.bal-nav-meta-bar__container{padding-left:var(--bal-container-space-tablet);padding-right:var(--bal-container-space-tablet)}}@media screen and (min-width: 1024px){.bal-nav-meta-bar__container{padding-left:var(--bal-container-space-desktop);padding-right:var(--bal-container-space-desktop);max-width:var(--bal-container-size-normal)}}.bal-nav-meta-bar--size-normal{padding-top:.5rem;padding-bottom:.5rem;height:4rem;max-height:4rem}.bal-nav-meta-bar--size-small{min-height:3rem}.bal-nav-meta-bar--position-fixed-top{position:fixed;top:0;left:0;width:100%}.bal-nav-meta-bar--position-fixed-bottom{position:fixed;bottom:0;left:0;width:100%}.bal-nav-meta-bar--variant-primary{background:var(--bal-nav-meta-bar-variant-primary-background);-webkit-box-shadow:var(--bal-nav-meta-bar-variant-primary-shadow);box-shadow:var(--bal-nav-meta-bar-variant-primary-shadow)}.bal-nav-meta-bar--variant-grey{background:var(--bal-nav-meta-bar-variant-grey-background);-webkit-box-shadow:var(--bal-nav-meta-bar-variant-grey-shadow);box-shadow:var(--bal-nav-meta-bar-variant-grey-shadow)}.bal-nav-meta-bar--variant-white{background:var(--bal-nav-meta-bar-variant-white-background);-webkit-box-shadow:var(--bal-nav-meta-bar-variant-white-shadow);box-shadow:var(--bal-nav-meta-bar-variant-white-shadow)}@media screen and (max-width: 768px){.bal-nav-meta-bar--hidden-mobile{display:hidden !important;visibility:hidden !important}}@media screen and (max-width: 768px){.bal-nav-meta-bar--hidden-tablet{display:hidden !important;visibility:hidden !important}}@media screen and (min-width: 769px)and (max-width: 1023px){.bal-nav-meta-bar--hidden-tablet{display:hidden !important;visibility:hidden !important}}
|
|
7
|
+
const balNavMetaBarCss = ":root{--bal-nav-meta-bar-variant-primary-background:var(--bal-color-primary);--bal-nav-meta-bar-variant-primary-shadow:none;--bal-nav-meta-bar-variant-white-background:var(--bal-color-white);--bal-nav-meta-bar-variant-white-shadow:0 5px 15px rgba(0,0,0,.1);--bal-nav-meta-bar-variant-grey-background:var(--bal-color-grey-2);--bal-nav-meta-bar-variant-grey-shadow:none}.bal-nav-meta-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;z-index:var(--bal-z-index-navigation)}.bal-nav-meta-bar__container{-ms-flex-positive:1;flex-grow:1;margin:0 auto;position:relative;width:auto;width:100% !important;padding-left:var(--bal-container-space);padding-right:var(--bal-container-space)}.bal-nav-meta-bar__container--fluid{max-width:var(--bal-container-size-fluid) !important}.bal-nav-meta-bar__container--detail-page{max-width:var(--bal-container-size-detail-page) !important}.bal-nav-meta-bar__container--compact{max-width:var(--bal-container-size-compact) !important}.bal-nav-meta-bar__container--blog-page{max-width:var(--bal-container-size-blog-page) !important}@media screen and (min-width: 769px),print{.bal-nav-meta-bar__container{padding-left:var(--bal-container-space-tablet);padding-right:var(--bal-container-space-tablet)}}@media screen and (min-width: 1024px){.bal-nav-meta-bar__container{padding-left:var(--bal-container-space-desktop);padding-right:var(--bal-container-space-desktop);max-width:var(--bal-container-size-normal)}}.bal-nav-meta-bar--size-normal{padding-top:.5rem;padding-bottom:.5rem;height:4rem;max-height:4rem}.bal-nav-meta-bar--size-small{min-height:3rem}.bal-nav-meta-bar--position-fixed-top{position:fixed;top:0;left:0;width:100%}.bal-nav-meta-bar--position-fixed-bottom{position:fixed;bottom:0;left:0;width:100%}.bal-nav-meta-bar--variant-primary{background:var(--bal-nav-meta-bar-variant-primary-background);-webkit-box-shadow:var(--bal-nav-meta-bar-variant-primary-shadow);box-shadow:var(--bal-nav-meta-bar-variant-primary-shadow)}.bal-nav-meta-bar--variant-grey{background:var(--bal-nav-meta-bar-variant-grey-background);-webkit-box-shadow:var(--bal-nav-meta-bar-variant-grey-shadow);box-shadow:var(--bal-nav-meta-bar-variant-grey-shadow)}.bal-nav-meta-bar--variant-white{background:var(--bal-nav-meta-bar-variant-white-background);-webkit-box-shadow:var(--bal-nav-meta-bar-variant-white-shadow);box-shadow:var(--bal-nav-meta-bar-variant-white-shadow)}@media screen and (max-width: 768px){.bal-nav-meta-bar--hidden-mobile{display:hidden !important;visibility:hidden !important}}@media screen and (max-width: 768px){.bal-nav-meta-bar--hidden-tablet{display:hidden !important;visibility:hidden !important}}@media screen and (min-width: 769px)and (max-width: 1023px){.bal-nav-meta-bar--hidden-tablet{display:hidden !important;visibility:hidden !important}}.bal-nav-meta-bar .button-label{word-break:keep-all !important}.bal-nav-meta-bar-transform{will-change:transition;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out, -webkit-transform .3s ease-in-out;position:fixed;display:block;width:100%;top:0;z-index:var(--bal-z-index-navigation)}.bal-nav-meta-bar-transform-small{-webkit-transform:translateY(-3rem);transform:translateY(-3rem)}.bal-nav-meta-bar-transform-normal{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}";
|
|
8
8
|
const BalNavMetaBarStyle0 = balNavMetaBarCss;
|
|
9
9
|
|
|
10
10
|
const NavMetaBar = /*@__PURE__*/ proxyCustomElement(class NavMetaBar extends HTMLElement {
|
|
@@ -14,7 +14,6 @@ const NavMetaBar = /*@__PURE__*/ proxyCustomElement(class NavMetaBar extends HTM
|
|
|
14
14
|
this.navMetaBarId = `bal-nav-meta-bar-${NavMetaBarIds++}`;
|
|
15
15
|
this.previousY = 0;
|
|
16
16
|
this.isHidden = false;
|
|
17
|
-
this.stayOnTopOfBackdrop = false;
|
|
18
17
|
this.variant = 'primary';
|
|
19
18
|
this.size = 'normal';
|
|
20
19
|
this.invisible = 'none';
|
|
@@ -64,12 +63,11 @@ const NavMetaBar = /*@__PURE__*/ proxyCustomElement(class NavMetaBar extends HTM
|
|
|
64
63
|
*/
|
|
65
64
|
render() {
|
|
66
65
|
const block = BEM.block('nav-meta-bar');
|
|
67
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'c7aa3ccfe8e8b41e12c2e625eac9d23aba77ded3', id: this.navMetaBarId, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`variant-${this.variant}`).class()), block.modifier(`size-${this.size}`).class()), block.modifier(`position-${this.position}`).class(this.position !== 'none')), block.modifier(`hidden-mobile`).class(this.invisible === 'mobile')), block.modifier(`hidden-tablet`).class(this.invisible === 'tablet')) }, h("div", { key: '0ad94b6ef1580bb8ae907d0ebe53721c32cee0f8', class: Object.assign({}, block.element('container').class()) }, h("slot", { key: '9cebb426b75f0d2cd743aa9e0efc26d1c584768c' }))));
|
|
68
67
|
}
|
|
69
68
|
get el() { return this; }
|
|
70
69
|
static get style() { return BalNavMetaBarStyle0; }
|
|
71
70
|
}, [4, "bal-nav-meta-bar", {
|
|
72
|
-
"stayOnTopOfBackdrop": [4, "stay-on-top-of-backdrop"],
|
|
73
71
|
"variant": [1],
|
|
74
72
|
"size": [1],
|
|
75
73
|
"invisible": [1],
|
package/components/bal-nav.js
CHANGED
|
@@ -2,11 +2,9 @@ import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/
|
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
4
|
import { b as balBrowser } from './browser.js';
|
|
5
|
-
import {
|
|
6
|
-
import { p as rIC, i as isDescendant, f as waitForComponent, b as waitAfterIdleCallback } from './helpers.js';
|
|
5
|
+
import { w as waitForComponent, d as waitAfterIdleCallback } from './helpers.js';
|
|
7
6
|
import { L as Logger } from './log.js';
|
|
8
7
|
import { B as BalScrollHandler } from './scroll.js';
|
|
9
|
-
import { b as isTabKey } from './keyboard.helpers.js';
|
|
10
8
|
import { d as defineCustomElement$t } from './bal-badge2.js';
|
|
11
9
|
import { d as defineCustomElement$s } from './bal-button2.js';
|
|
12
10
|
import { d as defineCustomElement$r } from './bal-checkbox2.js';
|
|
@@ -41,93 +39,6 @@ import { L as ListenToMutation } from './mutation.decorator.js';
|
|
|
41
39
|
import { L as ListenToBreakpoints } from './breakpoints.decorator.js';
|
|
42
40
|
import { L as ListenToConfig } from './config.decorator.js';
|
|
43
41
|
|
|
44
|
-
/**
|
|
45
|
-
* Gathers information about the tabs in the navigation.
|
|
46
|
-
* This information are shared for the tab key down handling and the flyout focus out handling.
|
|
47
|
-
*/
|
|
48
|
-
const gatherTabInformation = (detail) => {
|
|
49
|
-
var _a;
|
|
50
|
-
const links = (_a = detail.linkItems.find(item => item.value === detail.activeMetaLinkValue)) === null || _a === void 0 ? void 0 : _a.mainLinkItems;
|
|
51
|
-
// the selected tab in the main navigation
|
|
52
|
-
const indexOfActiveTab = links === null || links === void 0 ? void 0 : links.findIndex(link => link.value === detail.activeMenuLinkValue);
|
|
53
|
-
const indexOfNextTab = indexOfActiveTab + 1;
|
|
54
|
-
const indexOfPreviousTab = indexOfActiveTab - 1;
|
|
55
|
-
return {
|
|
56
|
-
tabs: links || [],
|
|
57
|
-
indexOfActiveTab,
|
|
58
|
-
indexOfNextTab,
|
|
59
|
-
indexOfPreviousTab,
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
const handleTabKeyDown = ({ tabs, indexOfNextTab, indexOfActiveTab }, detail) => {
|
|
63
|
-
// the current focused tab in the main navigation
|
|
64
|
-
const indexOfFocusedTab = tabs === null || tabs === void 0 ? void 0 : tabs.findIndex(link => link.value === detail.item.value);
|
|
65
|
-
// if last tab is focused and would leave the tab navigation, close the flyout
|
|
66
|
-
if (!detail.isBackwards && indexOfFocusedTab === tabs.length - 1) {
|
|
67
|
-
detail.stopEventBubbling();
|
|
68
|
-
detail.closeFlyout();
|
|
69
|
-
rIC(() => {
|
|
70
|
-
focusNextElement(document.activeElement, detail.el);
|
|
71
|
-
});
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
// only change focus to the first link in the flyout when navigating from active tab to next tab
|
|
75
|
-
if (!detail.isBackwards && indexOfFocusedTab === indexOfActiveTab) {
|
|
76
|
-
const flyout = detail.el.querySelector(`#${detail.navId}-menu-flyout`);
|
|
77
|
-
if (flyout) {
|
|
78
|
-
const firstLink = flyout.querySelector('a, button, [tabindex="0"]');
|
|
79
|
-
if (firstLink) {
|
|
80
|
-
detail.stopEventBubbling();
|
|
81
|
-
firstLink.focus({ preventScroll: true });
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
// only change focus to the last link in the flyout when navigating back from
|
|
86
|
-
// next tab (from the active tab) to active tab (has flyout open)
|
|
87
|
-
if (detail.isBackwards && indexOfFocusedTab === indexOfNextTab) {
|
|
88
|
-
const flyout = detail.el.querySelector(`#${detail.navId}-menu-flyout`);
|
|
89
|
-
if (flyout) {
|
|
90
|
-
const flyoutLinks = flyout.querySelectorAll('a, button, [tabindex="0"]');
|
|
91
|
-
const lastLink = flyoutLinks[flyoutLinks.length - 1];
|
|
92
|
-
if (lastLink) {
|
|
93
|
-
detail.stopEventBubbling();
|
|
94
|
-
lastLink.focus({ preventScroll: true });
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
const handleFlyoutFocusOut = (info, detail) => {
|
|
100
|
-
const targetItem = detail.isBackwards ? info.tabs[info.indexOfActiveTab] : info.tabs[info.indexOfNextTab];
|
|
101
|
-
if (targetItem) {
|
|
102
|
-
const tab = detail.el.querySelector(`button[data-value="${targetItem.value}"], a[data-value="${targetItem.value}"]`);
|
|
103
|
-
if (tab) {
|
|
104
|
-
tab.focus({ preventScroll: true });
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* Focuses the next focusable element after the current element outside of the bal-nav element.
|
|
110
|
-
*/
|
|
111
|
-
const focusNextElement = (current, balNavEl) => {
|
|
112
|
-
const focusableSelectors = [
|
|
113
|
-
'a[href]',
|
|
114
|
-
'button:not([disabled])',
|
|
115
|
-
'input:not([disabled]):not([type="hidden"])',
|
|
116
|
-
'select:not([disabled])',
|
|
117
|
-
'textarea:not([disabled])',
|
|
118
|
-
'[tabindex]:not([tabindex="-1"])',
|
|
119
|
-
];
|
|
120
|
-
const focusableElements = Array.from(document.querySelectorAll(focusableSelectors.join(',')))
|
|
121
|
-
// visible elements only
|
|
122
|
-
.filter(el => el.offsetParent !== null)
|
|
123
|
-
// exclude elements inside the bal-nav
|
|
124
|
-
.filter(el => !isDescendant(balNavEl, el));
|
|
125
|
-
const index = focusableElements.indexOf(current);
|
|
126
|
-
const next = focusableElements[index + 1];
|
|
127
|
-
if (next)
|
|
128
|
-
next.focus();
|
|
129
|
-
};
|
|
130
|
-
|
|
131
42
|
const i18nNavBars = {
|
|
132
43
|
de: {
|
|
133
44
|
mainNavigation: 'Hauptnavigation',
|
|
@@ -335,28 +246,6 @@ class NavMetaButton extends NavLinkItem {
|
|
|
335
246
|
}
|
|
336
247
|
let NavMetaButtonIDs = 0;
|
|
337
248
|
|
|
338
|
-
const AccordionButton = ({ id, label, level, open, link, href, rel, target, onClick, }) => {
|
|
339
|
-
const block = BEM.block('nav');
|
|
340
|
-
return link ? (h("a", { id: id, class: Object.assign({}, block.element(`mobile-${level}-item`).class()), href: href, rel: rel, target: target, onClick: ev => onClick(ev) },
|
|
341
|
-
h("span", null, label))) : (h("button", { id: id, class: Object.assign({}, block.element(`mobile-${level}-item`).class()), onClick: ev => onClick(ev) },
|
|
342
|
-
h("span", null, label),
|
|
343
|
-
h("bal-icon", { name: "nav-go-down", size: "small", turn: open })));
|
|
344
|
-
};
|
|
345
|
-
|
|
346
|
-
const OverviewLink = ({ item, isMenu, onClick, isVisible }) => {
|
|
347
|
-
const block = BEM.block('nav');
|
|
348
|
-
if (!item) {
|
|
349
|
-
return '';
|
|
350
|
-
}
|
|
351
|
-
return (h("a", { class: Object.assign(Object.assign(Object.assign({}, block.element('mobile-overview-link').class()), block.element('mobile-overview-link').modifier('menu').class(!!isMenu)), block
|
|
352
|
-
.element('mobile-overview-link')
|
|
353
|
-
.modifier('invisible')
|
|
354
|
-
.class(isVisible === false)), href: item.href, rel: item.rel, target: item.target, onClick: ev => onClick(ev) },
|
|
355
|
-
item.label,
|
|
356
|
-
" ",
|
|
357
|
-
item.label ? '➞' : ''));
|
|
358
|
-
};
|
|
359
|
-
|
|
360
249
|
class NavSectionLinkItem extends NavLinkItem {
|
|
361
250
|
constructor(item, observer) {
|
|
362
251
|
super(item, observer);
|
|
@@ -415,6 +304,28 @@ class NavServiceLinkItem extends NavLinkItem {
|
|
|
415
304
|
}
|
|
416
305
|
let NavServiceLinkItemIDs = 0;
|
|
417
306
|
|
|
307
|
+
const AccordionButton = ({ id, label, level, open, link, href, rel, target, onClick, }) => {
|
|
308
|
+
const block = BEM.block('nav');
|
|
309
|
+
return link ? (h("a", { id: id, class: Object.assign({}, block.element(`mobile-${level}-item`).class()), href: href, rel: rel, target: target, onClick: ev => onClick(ev) },
|
|
310
|
+
h("span", null, label))) : (h("button", { id: id, class: Object.assign({}, block.element(`mobile-${level}-item`).class()), onClick: ev => onClick(ev) },
|
|
311
|
+
h("span", null, label),
|
|
312
|
+
h("bal-icon", { name: "nav-go-down", size: "small", turn: open })));
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
const OverviewLink = ({ item, isMenu, onClick, isVisible }) => {
|
|
316
|
+
const block = BEM.block('nav');
|
|
317
|
+
if (!item) {
|
|
318
|
+
return '';
|
|
319
|
+
}
|
|
320
|
+
return (h("a", { class: Object.assign(Object.assign(Object.assign({}, block.element('mobile-overview-link').class()), block.element('mobile-overview-link').modifier('menu').class(!!isMenu)), block
|
|
321
|
+
.element('mobile-overview-link')
|
|
322
|
+
.modifier('invisible')
|
|
323
|
+
.class(isVisible === false)), href: item.href, rel: item.rel, target: item.target, onClick: ev => onClick(ev) },
|
|
324
|
+
item.label,
|
|
325
|
+
" ",
|
|
326
|
+
item.label ? '➞' : ''));
|
|
327
|
+
};
|
|
328
|
+
|
|
418
329
|
class NavMenuLinkItem extends NavLinkItem {
|
|
419
330
|
constructor(item, observer) {
|
|
420
331
|
super(item, observer);
|
|
@@ -449,9 +360,9 @@ class NavMenuLinkItem extends NavLinkItem {
|
|
|
449
360
|
render(context) {
|
|
450
361
|
const hasChildren = this.sectionLinkItems.length > 0 || this.serviceLinkItems.length > 0;
|
|
451
362
|
if (!hasChildren && this.isLink) {
|
|
452
|
-
return (h("bal-tab-item", { aria: { controls: context.flyoutId }, label: this.label, value: this.value, href: this.href, rel: this.rel, target: this.target,
|
|
363
|
+
return (h("bal-tab-item", { aria: { controls: context.flyoutId }, label: this.label, value: this.value, href: this.href, rel: this.rel, target: this.target, "no-panel": true }));
|
|
453
364
|
}
|
|
454
|
-
return (h("bal-tab-item", { aria: { controls: context.flyoutId }, label: this.label, value: this.value, "no-panel": true,
|
|
365
|
+
return (h("bal-tab-item", { aria: { controls: context.flyoutId }, label: this.label, value: this.value, "no-panel": true, onBalNavigate: ev => {
|
|
455
366
|
context === null || context === void 0 ? void 0 : context.onClick();
|
|
456
367
|
if (this.onClick) {
|
|
457
368
|
this.onClick(ev.detail);
|
|
@@ -499,7 +410,7 @@ class NavMetaLinkItem extends NavLinkItem {
|
|
|
499
410
|
}
|
|
500
411
|
let NavMetaLinkItemIDs = 0;
|
|
501
412
|
|
|
502
|
-
const balNavCss = "@media (hover: hover)and (pointer: fine){.bal-nav__logo:focus-visible{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-nav-background:var(--bal-color-primary);--bal-nav-service-background-grey:var(--bal-color-grey);--bal-nav-service-background-purple:var(--bal-color-purple);--bal-nav-service-background-red:var(--bal-color-red);--bal-nav-service-background-yellow:var(--bal-color-yellow);--bal-nav-service-background-green:var(--bal-color-green)}.bal-nav{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;width:100%}.bal-nav__flyout{background:var(--bal-color-white);scroll-padding-top:1rem;padding-top:1rem;padding-bottom:1rem;height:calc(var(--bal-app-height, 100%) - 4rem - 4rem);overflow-y:auto}@media screen and (min-width: 1024px){.bal-nav__flyout{display:none;visibility:hidden}}.bal-nav__flyout__container{-ms-flex-positive:1;flex-grow:1;margin:0 auto;position:relative;width:auto;width:100% !important;padding-left:var(--bal-container-space);padding-right:var(--bal-container-space)}.bal-nav__flyout__container--fluid{max-width:var(--bal-container-size-fluid) !important}.bal-nav__flyout__container--detail-page{max-width:var(--bal-container-size-detail-page) !important}.bal-nav__flyout__container--compact{max-width:var(--bal-container-size-compact) !important}.bal-nav__flyout__container--blog-page{max-width:var(--bal-container-size-blog-page) !important}@media screen and (min-width: 769px),print{.bal-nav__flyout__container{padding-left:var(--bal-container-space-tablet);padding-right:var(--bal-container-space-tablet)}}@media screen and (min-width: 1024px){.bal-nav__flyout__container{padding-left:var(--bal-container-space-desktop);padding-right:var(--bal-container-space-desktop);max-width:var(--bal-container-size-normal)}}.bal-nav__flyout:not(.bal-nav__flyout--visible){position:absolute !important;height:1px !important;width:1px !important;padding:0 !important;overflow:hidden !important;border:none !important;white-space:nowrap !important;clip:rect(1px 1px 1px 1px) !important;clip:rect(1px, 1px, 1px, 1px) !important}.bal-nav .bal-nav-meta-bar
|
|
413
|
+
const balNavCss = "@media (hover: hover)and (pointer: fine){.bal-nav__logo:focus-visible{-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}:root{--bal-nav-background:var(--bal-color-primary);--bal-nav-service-background-grey:var(--bal-color-grey);--bal-nav-service-background-purple:var(--bal-color-purple);--bal-nav-service-background-red:var(--bal-color-red);--bal-nav-service-background-yellow:var(--bal-color-yellow);--bal-nav-service-background-green:var(--bal-color-green)}.bal-nav{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;width:100%}.bal-nav__flyout{background:var(--bal-color-white);scroll-padding-top:1rem;padding-top:1rem;padding-bottom:1rem;height:calc(var(--bal-app-height, 100%) - 4rem - 4rem);overflow-y:auto}@media screen and (min-width: 1024px){.bal-nav__flyout{display:none;visibility:hidden}}.bal-nav__flyout__container{-ms-flex-positive:1;flex-grow:1;margin:0 auto;position:relative;width:auto;width:100% !important;padding-left:var(--bal-container-space);padding-right:var(--bal-container-space)}.bal-nav__flyout__container--fluid{max-width:var(--bal-container-size-fluid) !important}.bal-nav__flyout__container--detail-page{max-width:var(--bal-container-size-detail-page) !important}.bal-nav__flyout__container--compact{max-width:var(--bal-container-size-compact) !important}.bal-nav__flyout__container--blog-page{max-width:var(--bal-container-size-blog-page) !important}@media screen and (min-width: 769px),print{.bal-nav__flyout__container{padding-left:var(--bal-container-space-tablet);padding-right:var(--bal-container-space-tablet)}}@media screen and (min-width: 1024px){.bal-nav__flyout__container{padding-left:var(--bal-container-space-desktop);padding-right:var(--bal-container-space-desktop);max-width:var(--bal-container-size-normal)}}.bal-nav__flyout:not(.bal-nav__flyout--visible){position:absolute !important;height:1px !important;width:1px !important;padding:0 !important;overflow:hidden !important;border:none !important;white-space:nowrap !important;clip:rect(1px 1px 1px 1px) !important;clip:rect(1px, 1px, 1px, 1px) !important}.bal-nav .bal-nav-meta-bar,.bal-nav .bal-nav-menu-bar{z-index:auto !important}.bal-list__item__accordion-head:after{background:rgba(0,0,0,0) !important}.bal-nav-meta-bar-transform-touch{z-index:var(--bal-z-index-popup);position:relative}.bal-nav__mobile-meta-item{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;text-align:start;width:100%;min-height:3rem;border:none;padding:0;margin:0;gap:var(--bal-space-normal);background:rgba(0,0,0,0);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-size-x-large);line-height:var(--bal-line-heigh-x-large);cursor:pointer}.bal-nav__mobile-menu-item{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;text-align:start;width:100%;min-height:3rem;border:none;margin:0;padding:0 0 0 1rem;gap:var(--bal-space-normal);background:rgba(0,0,0,0);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-size-large);line-height:var(--bal-line-heigh-large);cursor:pointer}.bal-nav__mobile-section-item,.bal-nav__mobile-service-item>a{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;text-align:start;width:100%;min-height:2rem;border:none;margin:0;padding:0 2rem 0 2rem;gap:var(--bal-space-normal);background:rgba(0,0,0,0);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-size-normal);line-height:var(--bal-line-heigh-normal)}.bal-nav__mobile-links{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;text-align:start;width:100%;min-height:2rem;border:none;margin:0;padding:0 2rem 0 2rem;gap:var(--bal-space-normal);background:rgba(0,0,0,0);font-family:var(--bal-font-family-text);font-size:var(--bal-size-normal);line-height:var(--bal-line-heigh-normal)}.bal-nav__mobile-meta-list,.bal-nav__mobile-meta-list>li,.bal-nav__mobile-menu-list,.bal-nav__mobile-menu-list>li,.bal-nav__mobile-section-list,.bal-nav__mobile-service-list,.bal-nav__mobile-section-list>li,.bal-nav__mobile-service-list>li,.bal-nav__mobile-links-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.bal-nav__mobile-meta-list,.bal-nav__mobile-meta-list>li{gap:var(--bal-space-normal)}.bal-nav__mobile-menu-list{gap:var(--bal-space-normal)}.bal-nav__mobile-menu-list>li{gap:var(--bal-space-normal)}.bal-nav__mobile-section-list,.bal-nav__mobile-service-list{gap:var(--bal-space-x-large)}.bal-nav__mobile-section-list>li,.bal-nav__mobile-service-list>li{gap:var(--bal-space-xx-small)}.bal-nav__mobile-links-list{gap:var(--bal-space-xx-small)}.bal-nav__mobile-section-list{padding-top:1rem}.bal-nav__mobile-service-list>li{border-radius:var(--bal-radius-normal);padding-top:1rem;padding-bottom:1rem}.bal-nav__mobile-section-list--invisible,.bal-nav__mobile-service-list--invisible{position:absolute !important;height:1px !important;width:1px !important;padding:0 !important;overflow:hidden !important;border:none !important;white-space:nowrap !important;clip:rect(1px 1px 1px 1px) !important;clip:rect(1px, 1px, 1px, 1px) !important}.bal-nav__mobile-overview-link{font-family:var(--bal-font-family-text);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-size-x-small);line-height:var(--bal-line-height-x-small)}.bal-nav__mobile-overview-link--invisible{position:absolute !important;height:1px !important;width:1px !important;padding:0 !important;overflow:hidden !important;border:none !important;white-space:nowrap !important;clip:rect(1px 1px 1px 1px) !important;clip:rect(1px, 1px, 1px, 1px) !important}.bal-nav__mobile-overview-link--menu{padding:0 0 0 1rem}.bal-nav__line{background-color:var(--bal-color-border-grey-light);height:var(--bal-border-width-normal);border:none;display:block;border-radius:var(--bal-list-item-radius);width:100%;margin:0;padding:0}.bal-nav__mobile-links--clickable,.bal-nav__mobile-section-item--clickable,.bal-nav__mobile-service-item--clickable>a{cursor:pointer}.bal-nav__mobile-links--selected,.bal-nav__mobile-section-item--selected,.bal-nav__mobile-service-item--selected>a{text-decoration:underline}.bal-nav__mobile-service-item--color-grey{background:var(--bal-nav-service-background-grey)}.bal-nav__mobile-service-item--color-purple{background:var(--bal-nav-service-background-purple)}.bal-nav__mobile-service-item--color-red{background:var(--bal-nav-service-background-red)}.bal-nav__mobile-service-item--color-yellow{background:var(--bal-nav-service-background-yellow)}.bal-nav__mobile-service-item--color-green{background:var(--bal-nav-service-background-green)}";
|
|
503
414
|
const BalNavStyle0 = balNavCss;
|
|
504
415
|
|
|
505
416
|
const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
@@ -771,53 +682,20 @@ const Nav = /*@__PURE__*/ proxyCustomElement(class Nav extends HTMLElement {
|
|
|
771
682
|
const block = BEM.block('nav');
|
|
772
683
|
const flyoutBlock = block.element('flyout');
|
|
773
684
|
this.hasRenderedWithFlyoutActive = this.isFlyoutActive;
|
|
774
|
-
return (h(Host, { key: '
|
|
685
|
+
return (h(Host, { key: 'c384e25a9962ec11739b7594114d2ad19fd07937', id: this.navId, class: Object.assign({}, block.class()) }, h("div", { key: '06cf6bb549c278c98b41ef3d176ac58dfe95bacc', class: {
|
|
775
686
|
'bal-nav-meta-bar-transform': true,
|
|
776
687
|
'bal-nav-meta-bar-transform-touch': this.isTouch,
|
|
777
|
-
} }, this.isDesktop ? (h("bal-nav-meta-bar", { variant: "primary", size: "small", position: "sticky-top", ref: metaBarEl => (this.metaBarEl = metaBarEl) }, h("bal-stack", { space: "auto" }, this.linkItems.length > 1 ? (h("bal-tabs", { inverted: true, context: "meta", value: this.activeMetaLinkValue, "aria-label": i18nNavBars[this.language].mainNavigation, onBalChange: ev => this.onMetaBarTabChange(ev) }, this.linkItems.map(item => item.render({
|
|
688
|
+
} }, this.isDesktop ? (h("bal-nav-meta-bar", { variant: "primary", size: "small", position: "sticky-top", ref: metaBarEl => (this.metaBarEl = metaBarEl) }, h("bal-stack", { space: "auto" }, this.linkItems.length > 1 ? (h("bal-tabs", { spaceless: true, inverted: true, context: "meta", value: this.activeMetaLinkValue, "aria-label": i18nNavBars[this.language].mainNavigation, onBalChange: ev => this.onMetaBarTabChange(ev) }, this.linkItems.map(item => item.render({
|
|
778
689
|
flyoutId: `${this.navId}-menu-flyout`,
|
|
779
|
-
})))) : (h("span", null)), h("bal-stack", { id: "bal-nav__meta-buttons", space: "x-small", "fit-content": true }, this.metaButtons.map(button => button.renderAtMetaBar()))))) : (''), this.isDesktop ? (h("bal-nav-menu-bar", { position: "fixed-top", ref: menuBarEl => (this.menuBarEl = menuBarEl) }, h("bal-stack", { space: "auto", "space-row": "none", "use-wrap": true }, this.renderLogo(), h("bal-tabs", { context: "navigation", accordion: true, value: this.activeMenuLinkValue, "aria-label": i18nNavBars[this.language].navigation }, (_a = this.linkItems
|
|
780
|
-
.find(item => item.value === this.activeMetaLinkValue)) === null || _a === void 0 ? void 0 : _a.mainLinkItems.map(
|
|
690
|
+
})))) : (h("span", null)), h("bal-stack", { id: "bal-nav__meta-buttons", space: "x-small", "fit-content": true }, this.metaButtons.map(button => button.renderAtMetaBar()))))) : (''), this.isDesktop ? (h("bal-nav-menu-bar", { position: "fixed-top", ref: menuBarEl => (this.menuBarEl = menuBarEl) }, h("bal-stack", { space: "auto", "space-row": "none", "use-wrap": true }, this.renderLogo(), h("bal-tabs", { context: "navigation", accordion: true, spaceless: true, value: this.activeMenuLinkValue, "aria-label": i18nNavBars[this.language].navigation }, (_a = this.linkItems
|
|
691
|
+
.find(item => item.value === this.activeMetaLinkValue)) === null || _a === void 0 ? void 0 : _a.mainLinkItems.map(item => item.render({
|
|
781
692
|
flyoutId: `${this.navId}-menu-flyout`,
|
|
782
693
|
onClick: () => this.onMenuBarTabChange(item.value),
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
const isBackwards = ev.shiftKey;
|
|
786
|
-
const info = gatherTabInformation({
|
|
787
|
-
activeMetaLinkValue: this.activeMetaLinkValue,
|
|
788
|
-
activeMenuLinkValue: this.activeMenuLinkValue,
|
|
789
|
-
linkItems: this.linkItems,
|
|
790
|
-
});
|
|
791
|
-
handleTabKeyDown(info, {
|
|
792
|
-
el: this.el,
|
|
793
|
-
navId: this.navId,
|
|
794
|
-
isFlyoutActive: this.isFlyoutActive,
|
|
795
|
-
isBackwards,
|
|
796
|
-
item,
|
|
797
|
-
stopEventBubbling: () => stopEventBubbling(ev),
|
|
798
|
-
closeFlyout: () => this.closeFlyout(),
|
|
799
|
-
});
|
|
800
|
-
}
|
|
801
|
-
},
|
|
802
|
-
})))), this.isFlyoutActive ? (h("bal-nav-menu-flyout", { navId: this.navId, "aria-label": i18nNavBars[this.language].subNavigation, onBalFocusOut: (ev) => {
|
|
803
|
-
if (this.isFlyoutActive) {
|
|
804
|
-
stopEventBubbling(ev);
|
|
805
|
-
const info = gatherTabInformation({
|
|
806
|
-
activeMetaLinkValue: this.activeMetaLinkValue,
|
|
807
|
-
activeMenuLinkValue: this.activeMenuLinkValue,
|
|
808
|
-
linkItems: this.linkItems,
|
|
809
|
-
});
|
|
810
|
-
const isBackwards = isDescendant(this.el, ev.detail.relatedTarget);
|
|
811
|
-
handleFlyoutFocusOut(info, {
|
|
812
|
-
el: this.el,
|
|
813
|
-
isBackwards,
|
|
814
|
-
});
|
|
815
|
-
}
|
|
816
|
-
} }, h("bal-nav-link", { role: "listitem", variant: "overview", href: (_c = (_b = this.activeMenuLinkItem) === null || _b === void 0 ? void 0 : _b.overviewLink) === null || _c === void 0 ? void 0 : _c.href, target: (_e = (_d = this.activeMenuLinkItem) === null || _d === void 0 ? void 0 : _d.overviewLink) === null || _e === void 0 ? void 0 : _e.target, onClick: () => { var _a; return this.linkItemClickListener((_a = this.activeMenuLinkItem) === null || _a === void 0 ? void 0 : _a.overviewLink); } }, (_g = (_f = this.activeMenuLinkItem) === null || _f === void 0 ? void 0 : _f.overviewLink) === null || _g === void 0 ? void 0 :
|
|
817
|
-
_g.label, ' ', ((_j = (_h = this.activeMenuLinkItem) === null || _h === void 0 ? void 0 : _h.overviewLink) === null || _j === void 0 ? void 0 : _j.label) ? '➞' : ''), this.renderGridLinks(this.activeMenuLinkItem))) : (''))) : (''), h("div", { key: '66321dcac9fb856d8bba914283fc1fe0d4626d35' }, h("slot", { key: '1d89fec71d39cc81c491f2422312a733e103f016' }))), this.isTouch ? (h("bal-nav-meta-bar", { variant: "white", size: "normal" }, h("bal-stack", { space: "auto" }, this.renderLogo(), h("bal-stack", { space: "x-small", "fit-content": true }, this.metaButtons.map(button => button.renderAtTouchTopMetaBar()), h("bal-button", { square: true, color: this.isFlyoutActive ? 'primary' : 'light', icon: this.isFlyoutActive ? 'close' : 'menu-bars', "aria-label": this.isFlyoutActive ? i18nNavBars[this.language].close : i18nNavBars[this.language].open, onClick: ev => this.onTouchToggleFlyout(ev) }))))) : (''), this.isTouch ? (h("div", { class: Object.assign(Object.assign({}, flyoutBlock.class()), flyoutBlock.modifier('visible').class(this.isFlyoutActive)) }, h("nav", { class: Object.assign({}, flyoutBlock.element('container').class()) }, h("ul", { class: Object.assign({}, block.element('mobile-meta-list').class()) }, this.linkItems.map(item => item.renderTouch({
|
|
694
|
+
})))), this.isFlyoutActive ? (h("bal-nav-menu-flyout", { navId: this.navId, "aria-label": i18nNavBars[this.language].subNavigation }, h("bal-nav-link", { role: "listitem", variant: "overview", href: (_c = (_b = this.activeMenuLinkItem) === null || _b === void 0 ? void 0 : _b.overviewLink) === null || _c === void 0 ? void 0 : _c.href, target: (_e = (_d = this.activeMenuLinkItem) === null || _d === void 0 ? void 0 : _d.overviewLink) === null || _e === void 0 ? void 0 : _e.target, onClick: () => { var _a; return this.linkItemClickListener((_a = this.activeMenuLinkItem) === null || _a === void 0 ? void 0 : _a.overviewLink); } }, (_g = (_f = this.activeMenuLinkItem) === null || _f === void 0 ? void 0 : _f.overviewLink) === null || _g === void 0 ? void 0 :
|
|
695
|
+
_g.label, ' ', ((_j = (_h = this.activeMenuLinkItem) === null || _h === void 0 ? void 0 : _h.overviewLink) === null || _j === void 0 ? void 0 : _j.label) ? '➞' : ''), this.renderGridLinks(this.activeMenuLinkItem))) : (''))) : (''), h("div", { key: '7b17b61ea275f90fb5016d8ec0d26dece26caa4f' }, h("slot", { key: '8ae80d7fdacd29e171f136bfe3ace823290ff068' }))), this.isTouch ? (h("bal-nav-meta-bar", { variant: "white", size: "normal" }, h("bal-stack", { space: "auto" }, this.renderLogo(), h("bal-stack", { space: "x-small", "fit-content": true }, this.metaButtons.map(button => button.renderAtTouchTopMetaBar()), h("bal-button", { square: true, color: this.isFlyoutActive ? 'primary' : 'light', icon: this.isFlyoutActive ? 'close' : 'menu-bars', "aria-label": this.isFlyoutActive ? i18nNavBars[this.language].close : i18nNavBars[this.language].open, onClick: ev => this.onTouchToggleFlyout(ev) }))))) : (''), this.isTouch ? (h("div", { class: Object.assign(Object.assign({}, flyoutBlock.class()), flyoutBlock.modifier('visible').class(this.isFlyoutActive)) }, h("nav", { class: Object.assign({}, flyoutBlock.element('container').class()) }, h("ul", { class: Object.assign({}, block.element('mobile-meta-list').class()) }, this.linkItems.map(item => item.renderTouch({
|
|
818
696
|
activeMetaLinkValue: this.activeMetaLinkValue,
|
|
819
697
|
activeMenuLinkValue: this.activeMenuLinkValue,
|
|
820
|
-
})))))) : (''), this.isTouch && this.isFlyoutActive ? (h("bal-nav-meta-bar", {
|
|
698
|
+
})))))) : (''), this.isTouch && this.isFlyoutActive ? (h("bal-nav-meta-bar", { variant: "grey", size: "normal" }, h("bal-stack", { space: "x-small", align: "center" }, this.metaButtons.map(button => button.renderAtTouchBottomMetaBar())))) : ('')));
|
|
821
699
|
}
|
|
822
700
|
renderGridLinks(linkItem) {
|
|
823
701
|
var _a, _b;
|