@baloise/ds-core 16.3.0 → 16.4.0-nightly.20240916
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/README.md +1 -1
- package/components/all.d.ts +6 -0
- package/components/all.js +9 -0
- package/components/bal-accordion-summary.js +12 -2
- package/components/bal-accordion-trigger.js +15 -2
- package/components/bal-app.js +1 -85
- package/components/bal-app2.js +87 -0
- package/components/bal-carousel-item2.js +13 -3
- package/components/bal-carousel2.js +50 -20
- package/components/bal-checkbox-group.js +1 -1
- package/components/bal-checkbox2.js +13 -2
- package/components/bal-close2.js +1 -6
- package/components/bal-content.js +1 -69
- package/{dist/esm/bal-content.entry.js → components/bal-content2.js} +31 -12
- package/components/bal-date.js +1 -1
- package/components/bal-datepicker.js +1 -1
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +260 -0
- package/components/bal-dropdown.js +3 -3
- package/components/bal-file-upload.js +1 -1
- package/components/bal-icon2.js +1 -1
- package/components/bal-label2.js +3 -2
- package/components/bal-list-item-accordion-head2.js +7 -1
- package/components/bal-nav-menu-bar2.js +1 -1
- package/components/bal-nav-menu-flyout2.js +3 -6
- package/components/bal-nav.js +11 -8
- package/components/bal-option-list.js +27 -2
- package/components/bal-pagination2.js +3 -3
- package/components/bal-progress-bar.js +27 -12
- package/components/bal-radio2.js +1 -1
- package/components/bal-segment-item.d.ts +11 -0
- package/components/bal-segment-item.js +203 -0
- package/components/bal-segment.d.ts +11 -0
- package/components/bal-segment.js +337 -0
- package/components/bal-select2.js +1 -1
- package/components/bal-stack2.js +1 -1
- package/components/bal-steps.js +8 -6
- package/components/bal-tab-item.js +10 -2
- package/components/bal-tabs2.js +149 -31
- package/components/breakpoints.subject.js +3 -3
- package/components/index.esm.js +25 -1
- package/components/index.js +5 -289
- package/components/initialize.js +288 -0
- package/components/option.js +4 -1
- package/components/tokens.esm.js +1 -1
- package/components/window-resize.decorator.js +46 -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-028b2074da.system.entry.js +1 -0
- package/dist/baloise-design-system/p-03dd9d77.js +1 -0
- package/dist/baloise-design-system/{p-ae28b86fe5.entry.js → p-0ab43941ba.entry.js} +1 -1
- package/dist/baloise-design-system/p-0b657bd621.entry.js +1 -0
- package/dist/baloise-design-system/p-0ffc64a85d.entry.js +1 -0
- package/dist/baloise-design-system/p-13b192fa66.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1509eaa7.system.js +1 -1
- package/dist/baloise-design-system/{p-60f45a7b48.entry.js → p-18322c3982.entry.js} +1 -1
- package/dist/baloise-design-system/p-265f9d51c9.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-6ceac3e144.system.entry.js → p-28620358f2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-51c0348938.entry.js → p-2905abdfb8.entry.js} +1 -1
- package/dist/baloise-design-system/p-29ba4f9afe.system.entry.js +1 -0
- package/dist/baloise-design-system/p-29cc1f4f03.entry.js +1 -0
- package/dist/baloise-design-system/{p-f6599f64b7.entry.js → p-2db4ff4c5b.entry.js} +1 -1
- package/dist/baloise-design-system/p-2f5e34adb5.entry.js +1 -0
- package/dist/baloise-design-system/{p-39bc49bc3d.entry.js → p-33028eda8b.entry.js} +1 -1
- package/dist/baloise-design-system/p-357ad79a9f.system.entry.js +1 -0
- package/dist/baloise-design-system/p-360068a4.system.js +1 -0
- package/dist/baloise-design-system/p-376d065607.entry.js +1 -0
- package/dist/baloise-design-system/{p-330b875d9d.system.entry.js → p-3818fa189f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-381fe5557d.entry.js +1 -0
- package/dist/baloise-design-system/p-40b5ad07c5.system.entry.js +1 -0
- package/dist/baloise-design-system/p-41924c6dc6.entry.js +1 -0
- package/dist/baloise-design-system/{p-e60c936359.system.entry.js → p-43824ec17e.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-44732905.system.js +1 -0
- package/dist/baloise-design-system/{p-4afba8511a.system.entry.js → p-47a8ad4d7a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-976ed5bcf1.entry.js → p-488c4a8ce1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f9db454e37.entry.js → p-50bedf66b0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c572e259f4.system.entry.js → p-50e6507a04.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-53e98a0f71.entry.js +1 -0
- package/dist/baloise-design-system/{p-cef24f8c62.entry.js → p-547aae9610.entry.js} +1 -1
- package/dist/baloise-design-system/p-54f81c32.js +1 -1
- package/dist/baloise-design-system/{p-6f4a362824.system.entry.js → p-5db0544e97.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-5e2b47ce.system.js +1 -0
- package/dist/baloise-design-system/{p-b779742f50.entry.js → p-5f004add03.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d319b257.system.js → p-688b402d.system.js} +1 -1
- package/dist/baloise-design-system/p-6b9abd0d.js +1 -0
- package/dist/baloise-design-system/{p-22b041a511.entry.js → p-6c2bf02eb3.entry.js} +1 -1
- package/dist/baloise-design-system/p-6d1b6215.js +1 -0
- package/dist/baloise-design-system/p-6e3a79cce0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-71588db3.system.js +1 -0
- package/dist/baloise-design-system/p-7291766c.system.js +1 -0
- package/dist/baloise-design-system/p-72fc9f680b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ba14aa7026.system.entry.js → p-8080a1192c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1be257c9cd.system.entry.js → p-8131896202.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-814945e07a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-8de1a12660.entry.js +1 -0
- package/dist/baloise-design-system/{p-8870e1f3e0.system.entry.js → p-8e17b76e7c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1de6b20b1c.system.entry.js → p-97d2dc2d80.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-12bcc7da.js → p-9b4da619.js} +1 -1
- package/dist/baloise-design-system/{p-b97d9336a7.system.entry.js → p-9bb8778cdc.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-a507ff25cb.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ad00d94e7f.entry.js → p-a5ee486a2b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-301e753d6f.system.entry.js → p-a6c5468187.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-a78d1ca569.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-cf0c50d42a.system.entry.js → p-aa10ce253b.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-b51665840d.entry.js +1 -0
- package/dist/baloise-design-system/{p-982fa892e8.system.entry.js → p-b8251b8f68.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-b87c29c80b.entry.js +1 -0
- package/dist/baloise-design-system/{p-80b45dd4d6.system.entry.js → p-bcb892a723.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-bee13e834e.entry.js +1 -0
- package/dist/baloise-design-system/p-bfcaf2bb.js +1 -0
- package/dist/baloise-design-system/p-c0125be5ed.entry.js +1 -0
- package/dist/baloise-design-system/p-c2de2596d1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-f02ea04390.entry.js → p-c6339999ca.entry.js} +1 -1
- package/dist/baloise-design-system/p-c68cc06fbe.system.entry.js +1 -0
- package/dist/baloise-design-system/p-c6f79792ab.entry.js +1 -0
- package/dist/baloise-design-system/p-c957d4dada.entry.js +1 -0
- package/dist/baloise-design-system/{p-3f1c49d0.js → p-caec1f9e.js} +1 -1
- package/dist/baloise-design-system/{p-45e0c0783b.entry.js → p-cafe624e35.entry.js} +1 -1
- package/dist/baloise-design-system/p-cda868a6a5.entry.js +1 -0
- package/dist/baloise-design-system/{p-a52564d27f.system.entry.js → p-d059465399.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7292c6e1a1.entry.js → p-dbab5242fb.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3bad0907.system.js → p-de36076c.system.js} +1 -1
- package/dist/baloise-design-system/p-e137e273b7.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-55faac1d.system.js → p-e187b9de.system.js} +1 -1
- package/dist/baloise-design-system/p-e8ffddeb.js +1 -0
- package/dist/baloise-design-system/{p-9e167705ca.entry.js → p-ecab0d67d5.entry.js} +1 -1
- package/dist/baloise-design-system/p-f33cfe7825.entry.js +1 -0
- package/dist/baloise-design-system/{p-94efe2aa.js → p-f5940253.js} +1 -1
- package/dist/baloise-design-system/{p-013b4c72.system.js → p-f959646a.system.js} +1 -1
- package/dist/baloise-design-system/{p-47b18581c7.system.entry.js → p-f9dba0b697.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d0d06aa690.entry.js → p-fa8201fa9b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b7035c24.system.js → p-fb186fec.system.js} +1 -1
- package/dist/baloise-design-system/p-fd4bbaef5e.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-692536f9ff.system.entry.js → p-fd5a78208f.system.entry.js} +1 -1
- package/dist/cjs/app-globals-5fd73c0c.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +29 -4
- package/dist/cjs/bal-carousel_2.cjs.entry.js +60 -24
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +12 -2
- package/dist/cjs/bal-close.cjs.entry.js +1 -6
- package/dist/cjs/{bal-label.cjs.entry.js → bal-content_2.cjs.entry.js} +48 -2
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-date.cjs.entry.js +2 -2
- package/dist/cjs/bal-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/bal-doc-app.cjs.entry.js +231 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bal-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/bal-footer.cjs.entry.js +1 -1
- package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-icon.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bal-list_8.cjs.entry.js +12 -4
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +17 -18
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
- package/dist/cjs/bal-option_2.cjs.entry.js +26 -2
- package/dist/cjs/bal-pagination.cjs.entry.js +6 -6
- package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-popup.cjs.entry.js +1 -1
- package/dist/cjs/bal-progress-bar.cjs.entry.js +30 -17
- package/dist/cjs/bal-radio_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-segment-item.cjs.entry.js +156 -0
- package/dist/cjs/bal-segment.cjs.entry.js +319 -0
- package/dist/cjs/bal-select_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-stack.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +10 -9
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +158 -34
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-47fd06b2.js → breakpoints.decorator-86a4414a.js} +1 -1
- package/dist/cjs/{breakpoints.subject-06716a68.js → breakpoints.subject-7294b174.js} +4 -4
- package/dist/cjs/{date-3e33b208.js → date-20be7524.js} +1 -1
- package/dist/cjs/{app-globals-ae3a8623.js → global-2562a984.js} +2 -4
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/{index.esm-4587dbf0.js → index.esm-54a3d84e.js} +28 -0
- package/dist/cjs/initialize-2a19d091.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{option-c33cf2b8.js → option-4034ca7d.js} +4 -1
- package/dist/cjs/{tokens.esm-dc93a5d7.js → tokens.esm-cddf70ee.js} +1 -1
- package/dist/cjs/window-resize.decorator-ef87a6fc.js +48 -0
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.css +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +11 -1
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.css +1 -1
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +14 -1
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +45 -2
- package/dist/collection/components/bal-carousel/bal-carousel.js +76 -13
- package/dist/collection/components/bal-carousel/controls/dot-control.js +2 -2
- package/dist/collection/components/bal-carousel/controls/large-control.js +2 -2
- package/dist/collection/components/bal-carousel/controls/small-control.js +2 -2
- package/dist/collection/components/bal-carousel/controls/tab-control.js +2 -2
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +13 -2
- package/dist/collection/components/bal-close/bal-close.js +1 -6
- package/dist/collection/components/bal-content/bal-content.css +1 -1
- package/dist/collection/components/bal-content/bal-content.js +1 -1
- package/dist/collection/components/bal-icon/bal-icon.css +1 -1
- package/dist/collection/components/bal-label/bal-label.js +20 -2
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +7 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.css +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +24 -6
- package/dist/collection/components/bal-nav/bal-nav.css +1 -1
- package/dist/collection/components/bal-nav/bal-nav.js +5 -2
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +2 -2
- package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +3 -3
- package/dist/collection/components/bal-option-list/bal-option-list.js +43 -2
- package/dist/collection/components/bal-pagination/bal-pagination.js +3 -3
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.css +1 -1
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +49 -12
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.css +1 -0
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +332 -0
- package/dist/collection/components/bal-segment/bal-segment.css +1 -0
- package/dist/collection/components/bal-segment/bal-segment.interfaces.js +4 -0
- package/dist/collection/components/bal-segment/bal-segment.js +537 -0
- package/dist/collection/components/bal-segment/bal-segment.types.js +1 -0
- package/dist/collection/components/bal-stack/bal-stack.css +1 -1
- package/dist/collection/components/bal-steps/bal-steps.css +1 -1
- package/dist/collection/components/bal-steps/bal-steps.js +26 -2
- package/dist/collection/components/bal-steps/components/step-button.js +2 -2
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +47 -2
- package/dist/collection/components/bal-tabs/bal-tabs.js +124 -21
- package/dist/collection/components/bal-tabs/components/tab-button.js +18 -6
- package/dist/collection/components/bal-tabs/components/tab-nav.js +3 -3
- 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 +229 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/date/date.spec.js +0 -1
- package/dist/collection/utils/dropdown/option.js +4 -1
- package/dist/collection/utils/dropdown/popup.js +2 -2
- package/dist/collection/utils/resize/index.js +4 -1
- package/dist/collection/utils/resize/window-resize.decorator.js +20 -0
- package/dist/collection/utils/resize/window-resize.interfaces.js +1 -0
- package/dist/collection/utils/resize/window-resize.listener.js +3 -3
- package/dist/collection/utils/resize/window-resize.subject.js +23 -0
- package/dist/collection/utils/string.js +10 -0
- package/dist/collection/utils/string.spec.js +24 -0
- package/dist/esm/app-globals-970bab17.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +29 -4
- package/dist/esm/bal-carousel_2.entry.js +61 -25
- package/dist/esm/bal-checkbox_2.entry.js +12 -2
- package/dist/esm/bal-close.entry.js +1 -6
- package/dist/esm/{bal-label.entry.js → bal-content_2.entry.js} +48 -3
- package/dist/esm/bal-date-calendar_2.entry.js +2 -2
- package/dist/esm/bal-date.entry.js +2 -2
- package/dist/esm/bal-datepicker.entry.js +4 -4
- package/dist/esm/bal-doc-app.entry.js +227 -0
- package/dist/esm/bal-dropdown.entry.js +4 -4
- package/dist/esm/bal-file-upload.entry.js +1 -1
- package/dist/esm/bal-footer.entry.js +1 -1
- package/dist/esm/bal-hint_3.entry.js +3 -3
- package/dist/esm/bal-icon.entry.js +1 -1
- package/dist/esm/bal-input-stepper.entry.js +1 -1
- package/dist/esm/bal-list_8.entry.js +12 -4
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +17 -18
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-number-input.entry.js +1 -1
- package/dist/esm/bal-option_2.entry.js +26 -2
- package/dist/esm/bal-pagination.entry.js +6 -6
- package/dist/esm/bal-popover_2.entry.js +3 -3
- package/dist/esm/bal-popup.entry.js +1 -1
- package/dist/esm/bal-progress-bar.entry.js +30 -17
- package/dist/esm/bal-radio_2.entry.js +1 -1
- package/dist/esm/bal-segment-item.entry.js +152 -0
- package/dist/esm/bal-segment.entry.js +315 -0
- package/dist/esm/bal-select_2.entry.js +1 -1
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-stack.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +10 -9
- package/dist/esm/bal-tab-item_2.entry.js +159 -35
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-f979fe5c.js → breakpoints.decorator-35deac22.js} +1 -1
- package/dist/esm/{breakpoints.subject-9ea7074e.js → breakpoints.subject-23463a68.js} +4 -4
- package/dist/esm/{date-38a0b208.js → date-aba2d404.js} +1 -1
- package/dist/esm/{app-globals-b0dd0fc4.js → global-63f4bcec.js} +2 -4
- package/dist/esm/{index.esm-83b1f9c4.js → index.esm-76abd8e3.js} +25 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/initialize-e216cfe4.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{option-37cb0282.js → option-01553dab.js} +4 -1
- package/dist/esm/{tokens.esm-7d2734e1.js → tokens.esm-225678ae.js} +1 -1
- package/dist/esm/window-resize.decorator-fddb8221.js +46 -0
- package/dist/esm-es5/app-globals-970bab17.js +1 -0
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-content_2.entry.js +1 -0
- 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-datepicker.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-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-hint_3.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.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-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-popover_2.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-item.entry.js +1 -0
- package/dist/esm-es5/bal-segment.entry.js +1 -0
- 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-stack.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/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-35deac22.js +1 -0
- package/dist/esm-es5/breakpoints.subject-23463a68.js +1 -0
- package/dist/esm-es5/{date-38a0b208.js → date-aba2d404.js} +1 -1
- package/dist/esm-es5/global-63f4bcec.js +1 -0
- package/dist/esm-es5/{index.esm-83b1f9c4.js → index.esm-76abd8e3.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-e216cfe4.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/option-01553dab.js +1 -0
- package/dist/esm-es5/window-resize.decorator-fddb8221.js +1 -0
- package/dist/html.html-data.json +161 -3
- package/dist/types/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.d.ts +1 -0
- package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +1 -0
- package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +6 -0
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +11 -2
- package/dist/types/components/bal-carousel/controls/dot-control.d.ts +1 -0
- package/dist/types/components/bal-carousel/controls/large-control.d.ts +1 -0
- package/dist/types/components/bal-carousel/controls/small-control.d.ts +1 -0
- package/dist/types/components/bal-carousel/controls/tab-control.d.ts +1 -0
- package/dist/types/components/bal-checkbox/bal-checkbox.d.ts +5 -0
- package/dist/types/components/bal-close/bal-close.d.ts +0 -2
- package/dist/types/components/bal-content/bal-content.interfaces.d.ts +1 -1
- package/dist/types/components/bal-icon/bal-icon.interfaces.d.ts +1 -1
- package/dist/types/components/bal-label/bal-label.d.ts +4 -1
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +1 -0
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +4 -1
- package/dist/types/components/bal-nav/models/bal-nav-link-item.d.ts +1 -0
- package/dist/types/components/bal-nav/models/bal-nav-menu-link-item.d.ts +1 -0
- package/dist/types/components/bal-nav/models/bal-nav-meta-link-item.d.ts +3 -1
- package/dist/types/components/bal-option-list/bal-option-list.d.ts +5 -0
- package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +8 -2
- package/dist/types/components/bal-progress-bar/bal-progress-bar.interfaces.d.ts +1 -0
- package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +62 -0
- package/dist/types/components/bal-segment/bal-segment.d.ts +111 -0
- package/dist/types/components/bal-segment/bal-segment.interfaces.d.ts +20 -0
- package/dist/types/components/bal-segment/bal-segment.types.d.ts +1 -0
- package/dist/types/components/bal-steps/bal-steps.d.ts +4 -0
- package/dist/types/components/bal-steps/bal-steps.interfaces.d.ts +3 -1
- package/dist/types/components/bal-steps/components/step-button.d.ts +1 -0
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +10 -0
- package/dist/types/components/bal-tabs/bal-tab.type.d.ts +5 -3
- package/dist/types/components/bal-tabs/bal-tabs.d.ts +15 -3
- package/dist/types/components/bal-tabs/bal-tabs.interfaces.d.ts +3 -0
- package/dist/types/components/bal-tabs/components/tab-button.d.ts +1 -0
- package/dist/types/components/bal-tabs/components/tab-nav.d.ts +1 -0
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +272 -10
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +81 -0
- package/dist/types/interfaces.d.ts +1 -0
- package/dist/types/utils/dropdown/option.d.ts +1 -1
- package/dist/types/utils/dropdown/popup.d.ts +1 -1
- package/dist/types/utils/resize/index.d.ts +4 -1
- package/dist/types/utils/resize/window-resize.decorator.d.ts +3 -0
- package/dist/types/utils/resize/window-resize.interfaces.d.ts +5 -0
- package/dist/types/utils/resize/window-resize.listener.d.ts +1 -1
- package/dist/types/utils/resize/window-resize.subject.d.ts +9 -0
- package/dist/types/utils/string.d.ts +1 -0
- package/package.json +9 -9
- package/dist/baloise-design-system/p-0ab7aa0e.js +0 -1
- package/dist/baloise-design-system/p-126c79c9e9.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1502fa2526.entry.js +0 -1
- package/dist/baloise-design-system/p-1e100fd83b.entry.js +0 -1
- package/dist/baloise-design-system/p-254b130be5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2d82b78410.entry.js +0 -1
- package/dist/baloise-design-system/p-2d8bd11634.entry.js +0 -1
- package/dist/baloise-design-system/p-2e2ed7a07f.entry.js +0 -1
- package/dist/baloise-design-system/p-2ebc8f9d0c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-30fc270ec1.entry.js +0 -1
- package/dist/baloise-design-system/p-35aa7ecb24.entry.js +0 -1
- package/dist/baloise-design-system/p-4f3776ea4e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-55f280cf33.system.entry.js +0 -1
- package/dist/baloise-design-system/p-63dfa27862.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6cf5e22bb4.entry.js +0 -1
- package/dist/baloise-design-system/p-7047afd8.system.js +0 -1
- package/dist/baloise-design-system/p-7d498fc5.js +0 -1
- package/dist/baloise-design-system/p-87d9c24d45.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8a87b9a8.system.js +0 -1
- package/dist/baloise-design-system/p-96c55b4f58.entry.js +0 -1
- package/dist/baloise-design-system/p-b22fa7966b.entry.js +0 -1
- package/dist/baloise-design-system/p-bcca1ed3.system.js +0 -1
- package/dist/baloise-design-system/p-c304d5fa9c.entry.js +0 -1
- package/dist/baloise-design-system/p-cee7a0dd73.system.entry.js +0 -1
- package/dist/baloise-design-system/p-cf47f1f53c.entry.js +0 -1
- package/dist/baloise-design-system/p-d585a3ad56.system.entry.js +0 -1
- package/dist/baloise-design-system/p-dbc2d22240.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e71a27141c.entry.js +0 -1
- package/dist/baloise-design-system/p-e78a6409.js +0 -1
- package/dist/baloise-design-system/p-e7a4d97c51.entry.js +0 -1
- package/dist/baloise-design-system/p-e93d9571f5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ecd39e3bec.entry.js +0 -1
- package/dist/baloise-design-system/p-f076d1ed4f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f0ee1b670b.system.entry.js +0 -1
- package/dist/cjs/bal-content.cjs.entry.js +0 -56
- package/dist/esm-es5/app-globals-b0dd0fc4.js +0 -1
- package/dist/esm-es5/bal-content.entry.js +0 -1
- package/dist/esm-es5/bal-label.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-f979fe5c.js +0 -1
- package/dist/esm-es5/breakpoints.subject-9ea7074e.js +0 -1
- package/dist/esm-es5/option-37cb0282.js +0 -1
- /package/dist/baloise-design-system/{p-fc80aa3e.system.js → p-7b021f06.system.js} +0 -0
- /package/dist/baloise-design-system/{p-6b5343bd.js → p-f8552716.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-7d2734e1.js → tokens.esm-225678ae.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-b6003bc7.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
|
-
import { l as raf } from './helpers-c201154e.js';
|
|
3
|
+
import { l as raf, b as waitAfterFramePaint } from './helpers-c201154e.js';
|
|
4
4
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
5
5
|
import { s as stopEventBubbling } from './form-input-28a08ec5.js';
|
|
6
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
6
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-35deac22.js';
|
|
7
7
|
import { g as getComputedWidth } from './style-ca1bd202.js';
|
|
8
8
|
import { L as ListenToMutation } from './mutation.decorator-c7b24839.js';
|
|
9
9
|
import { L as ListenToSwipe } from './swipe.decorator-9d904794.js';
|
|
10
10
|
import { L as ListenToResize } from './resize.decorator-f70563b5.js';
|
|
11
|
-
import { b as balBreakpoints } from './breakpoints.subject-
|
|
11
|
+
import { b as balBreakpoints } from './breakpoints.subject-23463a68.js';
|
|
12
12
|
import { d as defaultConfig } from './config.default-7efdc82d.js';
|
|
13
13
|
import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
|
|
14
14
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
@@ -18,18 +18,18 @@ import './config.utils-6ac6c9bd.js';
|
|
|
18
18
|
import './listener-04842ae9.js';
|
|
19
19
|
import './swipe.subject-f1d64e8d.js';
|
|
20
20
|
import './device-8c6d2881.js';
|
|
21
|
-
import './tokens.esm-
|
|
21
|
+
import './tokens.esm-225678ae.js';
|
|
22
22
|
import './log-dfd1c19f.js';
|
|
23
23
|
|
|
24
|
-
const TabControl = ({ value, items, onControlChange }) => {
|
|
24
|
+
const TabControl = ({ value, items, containerId, onControlChange }) => {
|
|
25
25
|
const block = BEM.block('carousel');
|
|
26
26
|
const controls = block.element('controls');
|
|
27
27
|
return (h("div", { class: Object.assign(Object.assign({}, controls.class()), controls.modifier('tabs').class()) },
|
|
28
28
|
h("bal-card", null,
|
|
29
|
-
h("bal-card-content", null, items.map(item => (h("bal-button", { key: item.value, expanded: true, color: value === item.value ? 'primary' : 'light', onClick: () => onControlChange(item) }, item.label)))))));
|
|
29
|
+
h("bal-card-content", null, items.map(item => (h("bal-button", { "aria-controls": containerId, key: item.value, expanded: true, color: value === item.value ? 'primary' : 'light', onClick: () => onControlChange(item) }, item.label)))))));
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
const DotControl = ({ value, items, onControlChange }) => {
|
|
32
|
+
const DotControl = ({ value, items, containerId, onControlChange }) => {
|
|
33
33
|
const block = BEM.block('carousel');
|
|
34
34
|
const controls = block.element('controls');
|
|
35
35
|
const onChange = (ev) => {
|
|
@@ -43,25 +43,25 @@ const DotControl = ({ value, items, onControlChange }) => {
|
|
|
43
43
|
onControlChange(items[selectedValue]);
|
|
44
44
|
};
|
|
45
45
|
return (h("div", { class: Object.assign(Object.assign({}, controls.class()), controls.modifier('tabs').class()) },
|
|
46
|
-
h("bal-pagination", { interface: "small", value: value + 1, totalPages: items.length, onBalChange: onChange })));
|
|
46
|
+
h("bal-pagination", { "aria-controls": containerId, interface: "small", value: value + 1, totalPages: items.length, onBalChange: onChange })));
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
const LargeControl = ({ isFirst, isLast, inverted, areControlsHidden, onNextClick, onPreviousClick, leftControlTitle, rightControlTitle, }) => {
|
|
49
|
+
const LargeControl = ({ isFirst, isLast, inverted, areControlsHidden, onNextClick, onPreviousClick, containerId, leftControlTitle, rightControlTitle, }) => {
|
|
50
50
|
const block = BEM.block('carousel');
|
|
51
51
|
const controls = block.element('controls');
|
|
52
52
|
const button = controls.element('button');
|
|
53
53
|
return (h("div", { "data-mutation": "false", class: Object.assign(Object.assign({}, controls.class()), controls.modifier('large').class()) },
|
|
54
|
-
h("bal-button", { class: Object.assign(Object.assign(Object.assign({}, button.class()), button.modifier('left').class()), button.modifier('hidden').class(isFirst && areControlsHidden)), square: true, icon: "nav-go-left", rounded: true, inverted: inverted, onClick: () => onPreviousClick(), disabled: isFirst, "aria-hidden": isFirst && areControlsHidden ? 'true' : null, "data-testid": "bal-carousel-control-left", title: leftControlTitle }),
|
|
55
|
-
h("bal-button", { class: Object.assign(Object.assign(Object.assign({}, button.class()), button.modifier('right').class()), button.modifier('hidden').class(isLast && areControlsHidden)), square: true, icon: "nav-go-right", rounded: true, inverted: inverted, onClick: () => onNextClick(), disabled: isLast, "aria-hidden": isLast && areControlsHidden ? 'true' : null, "data-testid": "bal-carousel-control-right", title: rightControlTitle })));
|
|
54
|
+
h("bal-button", { class: Object.assign(Object.assign(Object.assign({}, button.class()), button.modifier('left').class()), button.modifier('hidden').class(isFirst && areControlsHidden)), "aria-controls": containerId, square: true, icon: "nav-go-left", rounded: true, inverted: inverted, onClick: () => onPreviousClick(), disabled: isFirst, "aria-hidden": isFirst && areControlsHidden ? 'true' : null, "data-testid": "bal-carousel-control-left", title: leftControlTitle }),
|
|
55
|
+
h("bal-button", { class: Object.assign(Object.assign(Object.assign({}, button.class()), button.modifier('right').class()), button.modifier('hidden').class(isLast && areControlsHidden)), "aria-controls": containerId, square: true, icon: "nav-go-right", rounded: true, inverted: inverted, onClick: () => onNextClick(), disabled: isLast, "aria-hidden": isLast && areControlsHidden ? 'true' : null, "data-testid": "bal-carousel-control-right", title: rightControlTitle })));
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
const SmallControl = ({ isFirst, isLast, inverted, leftControlTitle, rightControlTitle, onNextClick, onPreviousClick, }) => {
|
|
58
|
+
const SmallControl = ({ isFirst, isLast, inverted, leftControlTitle, rightControlTitle, containerId, onNextClick, onPreviousClick, }) => {
|
|
59
59
|
const block = BEM.block('carousel');
|
|
60
60
|
const controls = block.element('controls');
|
|
61
61
|
const button = controls.element('button');
|
|
62
62
|
return (h("div", { class: Object.assign(Object.assign({}, controls.class()), controls.modifier('small').class()) },
|
|
63
|
-
h("bal-button", { class: Object.assign(Object.assign(Object.assign({}, button.class()), button.modifier('left').class()), button.modifier('hidden').class(isFirst)), square: true, size: "small", icon: "nav-go-left", rounded: true, inverted: inverted, onClick: () => onPreviousClick(), disabled: isFirst, "aria-hidden": isFirst ? 'true' : null, tabindex: "-1", "data-testid": "bal-carousel-control-left", title: leftControlTitle }),
|
|
64
|
-
h("bal-button", { class: Object.assign(Object.assign(Object.assign({}, button.class()), button.modifier('right').class()), button.modifier('hidden').class(isLast)), square: true, size: "small", icon: "nav-go-right", rounded: true, inverted: inverted, onClick: () => onNextClick(), disabled: isLast, "aria-hidden": isLast ? 'true' : null, tabindex: "-1", "data-testid": "bal-carousel-control-right", title: rightControlTitle })));
|
|
63
|
+
h("bal-button", { class: Object.assign(Object.assign(Object.assign({}, button.class()), button.modifier('left').class()), button.modifier('hidden').class(isFirst)), "aria-controls": containerId, square: true, size: "small", icon: "nav-go-left", rounded: true, inverted: inverted, onClick: () => onPreviousClick(), disabled: isFirst, "aria-hidden": isFirst ? 'true' : null, tabindex: "-1", "data-testid": "bal-carousel-control-left", title: leftControlTitle }),
|
|
64
|
+
h("bal-button", { class: Object.assign(Object.assign(Object.assign({}, button.class()), button.modifier('right').class()), button.modifier('hidden').class(isLast)), "aria-controls": containerId, square: true, size: "small", icon: "nav-go-right", rounded: true, inverted: inverted, onClick: () => onNextClick(), disabled: isLast, "aria-hidden": isLast ? 'true' : null, tabindex: "-1", "data-testid": "bal-carousel-control-right", title: rightControlTitle })));
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
const i18nControlLabel = {
|
|
@@ -116,6 +116,7 @@ const Carousel = class {
|
|
|
116
116
|
this.balChange = createEvent(this, "balChange", 7);
|
|
117
117
|
this.previousTransformValue = 0;
|
|
118
118
|
this.carouselId = `bal-carousel-${CarouselIds++}`;
|
|
119
|
+
this.carouselContainerId = `bal-carousel-${CarouselIds++}-container`;
|
|
119
120
|
this.mutationObserverActive = true;
|
|
120
121
|
/**
|
|
121
122
|
* EVENT BINDING
|
|
@@ -141,6 +142,7 @@ const Carousel = class {
|
|
|
141
142
|
this.steps = 1;
|
|
142
143
|
this.itemsPerView = 1;
|
|
143
144
|
this.controls = 'none';
|
|
145
|
+
this.htmlRole = 'list';
|
|
144
146
|
this.controlsOverflow = false;
|
|
145
147
|
this.inverted = false;
|
|
146
148
|
this.fullHeight = false;
|
|
@@ -182,6 +184,18 @@ const Carousel = class {
|
|
|
182
184
|
resizeListener() {
|
|
183
185
|
this.itemsChanged();
|
|
184
186
|
}
|
|
187
|
+
listenToKeyDown(ev) {
|
|
188
|
+
if (this.htmlRole !== 'tablist') {
|
|
189
|
+
if (ev.code === 'Tab') {
|
|
190
|
+
if (ev.shiftKey) {
|
|
191
|
+
this.focusPreviousItem(ev);
|
|
192
|
+
}
|
|
193
|
+
else {
|
|
194
|
+
this.focusNextItem(ev);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
185
199
|
/**
|
|
186
200
|
* @internal define config for the component
|
|
187
201
|
*/
|
|
@@ -200,16 +214,12 @@ const Carousel = class {
|
|
|
200
214
|
const activeSlide = await this.buildSlide(previousValue);
|
|
201
215
|
if (activeSlide) {
|
|
202
216
|
const didAnimate = await this.animate(activeSlide.transformActive, true);
|
|
203
|
-
if (this.value
|
|
217
|
+
if (didAnimate || this.value !== previousValue) {
|
|
204
218
|
this.value = previousValue;
|
|
205
|
-
|
|
206
|
-
this.previous();
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
this.balChange.emit(this.value);
|
|
210
|
-
}
|
|
219
|
+
this.balChange.emit(this.value);
|
|
211
220
|
}
|
|
212
221
|
}
|
|
222
|
+
return activeSlide;
|
|
213
223
|
}
|
|
214
224
|
async next(steps = this.steps) {
|
|
215
225
|
const items = this.getAllItemElements();
|
|
@@ -221,11 +231,12 @@ const Carousel = class {
|
|
|
221
231
|
const activeSlide = await this.buildSlide(nextValue);
|
|
222
232
|
if (activeSlide) {
|
|
223
233
|
const didAnimate = await this.animate(activeSlide.transformActive, true);
|
|
224
|
-
if (didAnimate) {
|
|
234
|
+
if (didAnimate || this.value !== nextValue) {
|
|
225
235
|
this.value = nextValue;
|
|
226
236
|
this.balChange.emit(this.value);
|
|
227
237
|
}
|
|
228
238
|
}
|
|
239
|
+
return activeSlide;
|
|
229
240
|
}
|
|
230
241
|
/**
|
|
231
242
|
* PRIVATE METHODS
|
|
@@ -308,6 +319,24 @@ const Carousel = class {
|
|
|
308
319
|
this.animate(activeSlide.transformActive, false);
|
|
309
320
|
}
|
|
310
321
|
}
|
|
322
|
+
async focusNextItem(ev) {
|
|
323
|
+
if (!this.isLast) {
|
|
324
|
+
const slide = await this.next(1);
|
|
325
|
+
if (slide && slide.el) {
|
|
326
|
+
stopEventBubbling(ev);
|
|
327
|
+
await slide.el.setFocus();
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
async focusPreviousItem(ev) {
|
|
332
|
+
if (!this.isFirst) {
|
|
333
|
+
const slide = await this.previous(1);
|
|
334
|
+
if (slide && slide.el) {
|
|
335
|
+
stopEventBubbling(ev);
|
|
336
|
+
await slide.el.setFocus();
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
311
340
|
/**
|
|
312
341
|
* GETTERS
|
|
313
342
|
* ------------------------------------------------------
|
|
@@ -349,7 +378,7 @@ const Carousel = class {
|
|
|
349
378
|
const leftControlTitle = i18nControlLabel[this.language].left;
|
|
350
379
|
const rightControlTitle = i18nControlLabel[this.language].right;
|
|
351
380
|
const controlItems = this.getAllControlItems();
|
|
352
|
-
return (h(Host, { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(this.interface).class(this.interface !== '')), block.modifier(`full-height`).class(this.fullHeight)), block.modifier('controls-sticky').class(this.controlsSticky)), block.modifier(`controls-${this.controls}`).class()) }, this.controls === 'tabs' ? (h(TabControl, { value: this.value, items: controlItems, onControlChange: item => this.onControlChange(item.value) })) : (''), h("div", { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, inner.class()), inner.modifier(`items-per-view-${this.itemsPerView}`).class()), inner.modifier(`is-${this.aspectRatio}`).class()), inner.modifier(`inverted`).class(this.inverted)), inner.modifier(`full-height`).class(this.fullHeight)), inner.modifier(`shadow-left`).class(this.hasShadowLeft())), inner.modifier(`shadow-right`).class(this.hasShadowRight())), ref: el => (this.innerEl = el) }, h("div", { class: Object.assign(Object.assign(Object.assign({}, container.class()), container.modifier(`border`).class(this.border)), container.modifier(`is-${this.aspectRatio}`).class()), ref: el => (this.containerEl = el) }, h("slot", null), this.border ? (h("div", { id: `${this.carouselId}-border`, class: Object.assign(Object.assign({}, container.element('border').class()), container.element('border').modifier('inverted').class(this.inverted)), ref: el => (this.borderEl = el) })) : (''))), this.controls === 'dots' ? (h(DotControl, { value: this.value, items: controlItems, onControlChange: item => this.onControlChange(item.value) })) : (''), this.controls === 'large' ? (h(LargeControl, { isFirst: this.isFirst(), isLast: this.isLast(), inverted: this.inverted, areControlsHidden: !this.isMobile, leftControlTitle: leftControlTitle, rightControlTitle: rightControlTitle, onNextClick: () => this.onNextButtonClick(), onPreviousClick: () => this.onPreviousButtonClick() })) : (''), this.controls === 'small' ? (h(SmallControl, { isFirst: this.isFirst(), isLast: this.isLast(), inverted: this.inverted, leftControlTitle: leftControlTitle, rightControlTitle: rightControlTitle, onNextClick: () => this.onNextButtonClick(), onPreviousClick: () => this.onPreviousButtonClick() })) : ('')));
|
|
381
|
+
return (h(Host, { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(this.interface).class(this.interface !== '')), block.modifier(`full-height`).class(this.fullHeight)), block.modifier('controls-sticky').class(this.controlsSticky)), block.modifier(`controls-${this.controls}`).class()) }, this.controls === 'tabs' ? (h(TabControl, { value: this.value, items: controlItems, containerId: this.carouselContainerId, onControlChange: item => this.onControlChange(item.value) })) : (''), h("div", { class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, inner.class()), inner.modifier(`items-per-view-${this.itemsPerView}`).class()), inner.modifier(`is-${this.aspectRatio}`).class()), inner.modifier(`inverted`).class(this.inverted)), inner.modifier(`full-height`).class(this.fullHeight)), inner.modifier(`shadow-left`).class(this.hasShadowLeft())), inner.modifier(`shadow-right`).class(this.hasShadowRight())), ref: el => (this.innerEl = el) }, h("div", { role: this.htmlRole, "aria-live": this.htmlRole !== '' ? 'polite' : undefined, id: this.carouselContainerId, class: Object.assign(Object.assign(Object.assign({}, container.class()), container.modifier(`border`).class(this.border)), container.modifier(`is-${this.aspectRatio}`).class()), ref: el => (this.containerEl = el) }, h("slot", null), this.border ? (h("div", { id: `${this.carouselId}-border`, "aria-hidden": "true", class: Object.assign(Object.assign({}, container.element('border').class()), container.element('border').modifier('inverted').class(this.inverted)), ref: el => (this.borderEl = el) })) : (''))), this.controls === 'dots' ? (h(DotControl, { value: this.value, items: controlItems, containerId: this.carouselContainerId, onControlChange: item => this.onControlChange(item.value) })) : (''), this.controls === 'large' ? (h(LargeControl, { isFirst: this.isFirst(), isLast: this.isLast(), inverted: this.inverted, areControlsHidden: !this.isMobile, leftControlTitle: leftControlTitle, rightControlTitle: rightControlTitle, containerId: this.carouselContainerId, onNextClick: () => this.onNextButtonClick(), onPreviousClick: () => this.onPreviousButtonClick() })) : (''), this.controls === 'small' ? (h(SmallControl, { isFirst: this.isFirst(), isLast: this.isLast(), inverted: this.inverted, leftControlTitle: leftControlTitle, rightControlTitle: rightControlTitle, containerId: this.carouselContainerId, onNextClick: () => this.onNextButtonClick(), onPreviousClick: () => this.onPreviousButtonClick() })) : ('')));
|
|
353
382
|
}
|
|
354
383
|
get el() { return getElement(this); }
|
|
355
384
|
};
|
|
@@ -406,6 +435,7 @@ const CarouselItem = class {
|
|
|
406
435
|
};
|
|
407
436
|
this.src = undefined;
|
|
408
437
|
this.label = '';
|
|
438
|
+
this.htmlRole = 'listitem';
|
|
409
439
|
this.elementType = 'button';
|
|
410
440
|
this.name = '';
|
|
411
441
|
this.value = '';
|
|
@@ -424,12 +454,18 @@ const CarouselItem = class {
|
|
|
424
454
|
label: this.label,
|
|
425
455
|
};
|
|
426
456
|
}
|
|
457
|
+
async setFocus() {
|
|
458
|
+
await waitAfterFramePaint();
|
|
459
|
+
if (this.buttonEl) {
|
|
460
|
+
this.buttonEl.focus();
|
|
461
|
+
}
|
|
462
|
+
}
|
|
427
463
|
render() {
|
|
428
464
|
const block = BEM.block('carousel');
|
|
429
465
|
const itemEl = block.element('item');
|
|
430
466
|
const isProduct = !!this.color && !!this.label;
|
|
431
467
|
if (!isProduct) {
|
|
432
|
-
return (h(Host, { class: Object.assign({}, itemEl.class()) }, this.src !== undefined ? (h("img", Object.assign({ draggable: false, onDragStart: () => false, src: this.src }, this.imageInheritAttributes))) : (''), h("slot", null)));
|
|
468
|
+
return (h(Host, { role: this.htmlRole, class: Object.assign({}, itemEl.class()) }, this.src !== undefined ? (h("img", Object.assign({ draggable: false, onDragStart: () => false, src: this.src }, this.imageInheritAttributes))) : (''), h("slot", null)));
|
|
433
469
|
}
|
|
434
470
|
const button = itemEl.element('button');
|
|
435
471
|
const image = button.element('image');
|
|
@@ -444,7 +480,7 @@ const CarouselItem = class {
|
|
|
444
480
|
rel,
|
|
445
481
|
target,
|
|
446
482
|
};
|
|
447
|
-
return (h(Host, { class: Object.assign({}, itemEl.class()) }, h(TagType, Object.assign({}, attrs, { class: Object.assign(Object.assign({}, button.class()), button.modifier(`color-${this.color}`).class()), part: "native", onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }), this.src !== undefined ? (h("img", Object.assign({ class: Object.assign({}, image.class()), loading: "lazy", draggable: false, onDragStart: () => false, src: this.src }, this.imageInheritAttributes))) : (''), this.label !== undefined ? h("span", { class: Object.assign({}, label.class()) }, this.label) : '', h("slot", null))));
|
|
483
|
+
return (h(Host, { role: this.htmlRole, class: Object.assign({}, itemEl.class()) }, h(TagType, Object.assign({}, attrs, { class: Object.assign(Object.assign({}, button.class()), button.modifier(`color-${this.color}`).class()), part: "native", onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, ref: el => (this.buttonEl = el) }), this.src !== undefined ? (h("img", Object.assign({ class: Object.assign({}, image.class()), loading: "lazy", draggable: false, onDragStart: () => false, "aria-hidden": "true", src: this.src }, this.imageInheritAttributes))) : (''), this.label !== undefined ? h("span", { class: Object.assign({}, label.class()) }, this.label) : '', h("slot", null))));
|
|
448
484
|
}
|
|
449
485
|
get el() { return getElement(this); }
|
|
450
486
|
};
|
|
@@ -4,7 +4,7 @@ import { s as stopEventBubbling, c as inputSetFocus, d as inputSetBlur } from '.
|
|
|
4
4
|
import { i as isDescendant, p as hasTagName } from './helpers-c201154e.js';
|
|
5
5
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
6
6
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
7
|
-
import { e as isSpaceKey, o as areArraysEqual } from './index.esm-
|
|
7
|
+
import { e as isSpaceKey, o as areArraysEqual } from './index.esm-76abd8e3.js';
|
|
8
8
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
9
9
|
import { F as FOCUS_KEYS } from './focus-visible-f0cdd043.js';
|
|
10
10
|
import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
|
|
@@ -52,6 +52,9 @@ const Checkbox = class {
|
|
|
52
52
|
if (element.href) {
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
55
|
+
if (this.wasFocused) {
|
|
56
|
+
this.focused = true;
|
|
57
|
+
}
|
|
55
58
|
if (element.nodeName !== 'INPUT' && !this.disabled && !this.readonly) {
|
|
56
59
|
this.toggleChecked();
|
|
57
60
|
(_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
@@ -69,6 +72,7 @@ const Checkbox = class {
|
|
|
69
72
|
this.balFocus.emit(ev);
|
|
70
73
|
if (this.keyboardMode) {
|
|
71
74
|
this.focused = true;
|
|
75
|
+
this.wasFocused = true;
|
|
72
76
|
}
|
|
73
77
|
};
|
|
74
78
|
this.onBlur = (ev) => {
|
|
@@ -79,11 +83,17 @@ const Checkbox = class {
|
|
|
79
83
|
this.focused = false;
|
|
80
84
|
};
|
|
81
85
|
this.onPointerDown = () => (this.keyboardMode = false);
|
|
82
|
-
this.onKeydown = (ev) =>
|
|
86
|
+
this.onKeydown = (ev) => {
|
|
87
|
+
if (!isSpaceKey(ev)) {
|
|
88
|
+
this.wasFocused = false;
|
|
89
|
+
}
|
|
90
|
+
this.keyboardMode = FOCUS_KEYS.includes(ev.key);
|
|
91
|
+
};
|
|
83
92
|
this.hasLabel = true;
|
|
84
93
|
this.focused = false;
|
|
85
94
|
this.buttonTabindex = undefined;
|
|
86
95
|
this.ariaForm = defaultBalAriaForm;
|
|
96
|
+
this.wasFocused = false;
|
|
87
97
|
this.name = this.inputId;
|
|
88
98
|
this.label = '';
|
|
89
99
|
this.invisible = false;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-b6003bc7.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
|
-
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
4
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
5
4
|
import { i as i18nBalClose } from './bal-close.i18n-f2daa707.js';
|
|
6
5
|
import { d as defaultConfig } from './config.default-7efdc82d.js';
|
|
@@ -16,15 +15,11 @@ const BalCloseStyle0 = balCloseCss;
|
|
|
16
15
|
const Close = class {
|
|
17
16
|
constructor(hostRef) {
|
|
18
17
|
registerInstance(this, hostRef);
|
|
19
|
-
this.inheritedAttributes = {};
|
|
20
18
|
this.language = defaultConfig.language;
|
|
21
19
|
this.region = defaultConfig.region;
|
|
22
20
|
this.size = '';
|
|
23
21
|
this.inverted = false;
|
|
24
22
|
}
|
|
25
|
-
componentWillRender() {
|
|
26
|
-
this.inheritedAttributes = inheritAttributes(this.el, ['tabindex']);
|
|
27
|
-
}
|
|
28
23
|
/**
|
|
29
24
|
* @internal define config for the component
|
|
30
25
|
*/
|
|
@@ -37,7 +32,7 @@ const Close = class {
|
|
|
37
32
|
const buttonEl = blockEl.element('button');
|
|
38
33
|
const iconEl = buttonEl.element('icon');
|
|
39
34
|
const label = i18nBalClose[this.language].close;
|
|
40
|
-
return (h(Host, { class: Object.assign({}, blockEl.class()) }, h("button",
|
|
35
|
+
return (h(Host, { class: Object.assign({}, blockEl.class()) }, h("button", { type: "button", "aria-label": label, title: label, tabindex: "0", class: Object.assign(Object.assign(Object.assign({}, buttonEl.class()), buttonEl.modifier('inverted').class(this.inverted)), buttonEl.modifier(`size-${this.size}`).class(this.size !== '')), "data-testid": "bal-close" }, h("bal-icon", { name: "close", size: this.size === 'small' ? 'x-small' : this.size === 'medium' ? 'medium' : 'small', inverted: this.inverted, class: Object.assign({}, iconEl.class()) }))));
|
|
41
36
|
}
|
|
42
37
|
get el() { return getElement(this); }
|
|
43
38
|
};
|
|
@@ -10,17 +10,62 @@ import './browser-a8073d92.js';
|
|
|
10
10
|
import './icons.constant-a7885631.js';
|
|
11
11
|
import './config.utils-6ac6c9bd.js';
|
|
12
12
|
|
|
13
|
+
const balContentCss = ".bal-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;text-align:left;gap:.25rem}.bal-content--align-center{-ms-flex-align:center;align-items:center;text-align:center}.bal-content--align-end{-ms-flex-align:end;align-items:flex-end;text-align:right}.bal-content--layout-horizontal{-ms-flex-direction:row;flex-direction:row}.bal-content--layout-vertical{-ms-flex-direction:column;flex-direction:column}.bal-content--space-none{gap:0rem}.bal-content--space-xxx-small{gap:.125rem}.bal-content--space-xx-small{gap:.25rem}.bal-content--space-x-small{gap:.5rem}.bal-content--space-small{gap:.75rem}.bal-content--space-normal{gap:1rem}.bal-content>.bal-text{margin:0}";
|
|
14
|
+
const BalContentStyle0 = balContentCss;
|
|
15
|
+
|
|
16
|
+
const Content = class {
|
|
17
|
+
constructor(hostRef) {
|
|
18
|
+
registerInstance(this, hostRef);
|
|
19
|
+
this.layout = 'vertical';
|
|
20
|
+
this.align = 'start';
|
|
21
|
+
this.space = 'xx-small';
|
|
22
|
+
this.direction = '';
|
|
23
|
+
this.alignment = '';
|
|
24
|
+
}
|
|
25
|
+
createLogger(log) {
|
|
26
|
+
this.log = log;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* RENDER
|
|
30
|
+
* ------------------------------------------------------
|
|
31
|
+
*/
|
|
32
|
+
render() {
|
|
33
|
+
const block = BEM.block('content');
|
|
34
|
+
const direction = !!this.direction;
|
|
35
|
+
const layout = !!this.layout;
|
|
36
|
+
const alignment = !!this.alignment;
|
|
37
|
+
const align = !!this.align;
|
|
38
|
+
const space = !!this.space;
|
|
39
|
+
let layoutValue = this.layout;
|
|
40
|
+
if (direction) {
|
|
41
|
+
layoutValue = this.direction === 'row' ? 'horizontal' : 'vertical';
|
|
42
|
+
}
|
|
43
|
+
let alignValue = this.align.split(' ').join('-');
|
|
44
|
+
if (alignment) {
|
|
45
|
+
alignValue = this.alignment.split(' ').join('-');
|
|
46
|
+
}
|
|
47
|
+
return (h(Host, { class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`layout-${layoutValue}`).class(layout || direction)), block.modifier(`align-${alignValue}`).class(align || alignment)), block.modifier(`space-${this.space}`).class(space)) }, h("slot", null)));
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
__decorate([
|
|
51
|
+
Logger('bal-content'),
|
|
52
|
+
__metadata("design:type", Function),
|
|
53
|
+
__metadata("design:paramtypes", [Function]),
|
|
54
|
+
__metadata("design:returntype", void 0)
|
|
55
|
+
], Content.prototype, "createLogger", null);
|
|
56
|
+
Content.style = BalContentStyle0;
|
|
57
|
+
|
|
13
58
|
const balLabelCss = ".bal-label{display:inline;-webkit-box-sizing:content-box;box-sizing:content-box;position:static;word-break:break-word}.bal-label__native{display:inline;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;white-space:pre;min-width:0;font-family:var(--bal-form-field-label-font-family);font-weight:var(--bal-form-field-label-font-weight);font-size:var(--bal-text-size-normal);line-height:var(--bal-line-height-normal)}.bal-label__native--multiline{white-space:normal}.bal-label__native--no-wrap{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.bal-label__native--small{font-family:var(--bal-font-family-text);font-size:var(--bal-text-size-small);line-height:var(--bal-line-height-small)}@media screen and (min-width: 769px),print{.bal-label__native--small{font-size:var(--bal-text-size-small-tablet);line-height:var(--bal-line-height-tablet-small)}}@media screen and (min-width: 1024px){.bal-label__native--small{font-size:var(--bal-text-size-small-desktop);line-height:var(--bal-line-height-desktop-small)}}.bal-label__native--large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-large);line-height:var(--bal-line-height-large)}@media screen and (min-width: 769px),print{.bal-label__native--large{font-size:var(--bal-text-size-large-tablet);line-height:var(--bal-line-height-tablet-large)}}@media screen and (min-width: 1024px){.bal-label__native--large{font-size:var(--bal-text-size-large-desktop);line-height:var(--bal-line-height-desktop-large)}}.bal-label__native--x-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-label__native--x-large{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-label__native--x-large{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}.bal-label__native--xx-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-xx-large);line-height:var(--bal-line-height-xx-large)}@media screen and (min-width: 769px),print{.bal-label__native--xx-large{font-size:var(--bal-text-size-xx-large-tablet);line-height:var(--bal-line-height-tablet-xx-large)}}@media screen and (min-width: 1024px){.bal-label__native--xx-large{font-size:var(--bal-text-size-xx-large-desktop);line-height:var(--bal-line-height-desktop-xx-large)}}.bal-label__native--xxx-large{font-family:var(--bal-font-family-title);font-size:var(--bal-text-size-xxx-large);line-height:var(--bal-line-height-xxx-large)}@media screen and (min-width: 769px),print{.bal-label__native--xxx-large{font-size:var(--bal-text-size-xxx-large-tablet);line-height:var(--bal-line-height-tablet-xxx-large)}}@media screen and (min-width: 1024px){.bal-label__native--xxx-large{font-size:var(--bal-text-size-xxx-large-desktop);line-height:var(--bal-line-height-desktop-xxx-large)}}.bal-label__native--success{color:var(--bal-form-field-label-success-color)}.bal-label__native--danger{color:var(--bal-form-field-label-danger-color)}.bal-label__native--disabled{color:var(--bal-form-field-label-disabled-color) !important}.bal-label__native--regular{font-weight:var(--bal-font-weight-regular)}.bal-label__native--hovered{color:var(--bal-form-field-label-color-hover)}.bal-label__native--pressed{color:var(--bal-form-field-label-color-active)}.bal-label__native--danger.bal-label__native--hovered{color:var(--bal-form-field-label-danger-color-hover)}.bal-label__native--danger.bal-label__native--pressed{color:var(--bal-form-field-label-danger-color-active)}";
|
|
14
59
|
const BalLabelStyle0 = balLabelCss;
|
|
15
60
|
|
|
16
61
|
const Label = class {
|
|
17
62
|
constructor(hostRef) {
|
|
18
63
|
registerInstance(this, hostRef);
|
|
19
|
-
this.inputId = `bal-lbl-${labelIds++}`;
|
|
20
64
|
this.language = defaultConfig.language;
|
|
21
65
|
this.region = defaultConfig.region;
|
|
22
66
|
this.ariaForm = defaultBalAriaForm;
|
|
23
67
|
this.htmlFor = undefined;
|
|
68
|
+
this.htmlId = `bal-lbl-${labelIds++}`;
|
|
24
69
|
this.required = true;
|
|
25
70
|
this.noWrap = false;
|
|
26
71
|
this.multiline = false;
|
|
@@ -73,7 +118,7 @@ const Label = class {
|
|
|
73
118
|
const xLarge = this.size === 'x-large';
|
|
74
119
|
const xxLarge = this.size === 'xx-large';
|
|
75
120
|
const xxxLarge = this.size === 'xxx-large';
|
|
76
|
-
const id = this.ariaForm.labelId || this.
|
|
121
|
+
const id = this.ariaForm.labelId || this.htmlId;
|
|
77
122
|
const htmlFor = this.htmlFor || this.ariaForm.controlId;
|
|
78
123
|
return (h(Host, { class: Object.assign({}, block.class()) }, h("label", { id: id, htmlFor: htmlFor, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('native').class()), block.element('native').modifier('multiline').class(this.multiline)), block.element('native').modifier('no-wrap').class(this.noWrap)), block.element('native').modifier('disabled').class(disabled)), block.element('native').modifier('danger').class(danger)), block.element('native').modifier('success').class(success)), block.element('native').modifier('regular').class(regular)), block.element('native').modifier('small').class(small)), block.element('native').modifier('large').class(large)), block.element('native').modifier('x-large').class(xLarge)), block.element('native').modifier('xx-large').class(xxLarge)), block.element('native').modifier('xxx-large').class(xxxLarge)), block.element('native').modifier('hovered').class(this.hovered)), block.element('native').modifier('pressed').class(this.pressed)) }, h("slot", null), suffix)));
|
|
79
124
|
}
|
|
@@ -94,4 +139,4 @@ __decorate([
|
|
|
94
139
|
let labelIds = 0;
|
|
95
140
|
Label.style = BalLabelStyle0;
|
|
96
141
|
|
|
97
|
-
export { Label as bal_label };
|
|
142
|
+
export { Content as bal_content, Label as bal_label };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-b6003bc7.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
|
-
import {
|
|
3
|
+
import { D as lodash_padstart, d as dateSeparator } from './index.esm-76abd8e3.js';
|
|
4
4
|
import { l as lodash_isnil } from './index-82aff103.js';
|
|
5
|
-
import { B as BalDate, i as i18nBalDate } from './date-
|
|
5
|
+
import { B as BalDate, i as i18nBalDate } from './date-aba2d404.js';
|
|
6
6
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
7
7
|
import { b as waitAfterFramePaint, n as hasParent } from './helpers-c201154e.js';
|
|
8
8
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b6003bc7.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
|
-
import { e as isSpaceKey } from './index.esm-
|
|
3
|
+
import { e as isSpaceKey } from './index.esm-76abd8e3.js';
|
|
4
4
|
import { a as autoUpdate, c as computePosition, o as offset, f as flip } from './floating-ui.dom.esm-f1cf1077.js';
|
|
5
|
-
import { B as BalDate, i as i18nBalDate } from './date-
|
|
5
|
+
import { B as BalDate, i as i18nBalDate } from './date-aba2d404.js';
|
|
6
6
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
7
7
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
8
8
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
3
|
import { k as rIC, m as debounceEvent } from './helpers-c201154e.js';
|
|
4
4
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
5
|
-
import { r as requiredArgs, t as toDate, b as toInteger, g as getDefaultOptions, p as parse, f as formatDateString, i as isValidIsoString, c as format, e as isSpaceKey, h as isEnterKey, d as dateSeparator, j as getYear, n as now, k as getMonth, m as getDate } from './index.esm-
|
|
5
|
+
import { r as requiredArgs, t as toDate, b as toInteger, g as getDefaultOptions, p as parse, f as formatDateString, i as isValidIsoString, c as format, e as isSpaceKey, h as isEnterKey, d as dateSeparator, j as getYear, n as now, k as getMonth, m as getDate } from './index.esm-76abd8e3.js';
|
|
6
6
|
import { l as lodash_isnil } from './index-82aff103.js';
|
|
7
7
|
import { N as NUMBER_KEYS, A as ACTION_KEYS, i as isCtrlOrCommandKey } from './keys.constant-0eb059e0.js';
|
|
8
8
|
import { i as i18nBalDatepicker } from './bal-datepicker.i18n-63a3cb67.js';
|
|
@@ -12,16 +12,16 @@ import { B as BEM } from './bem-8c7d2eb0.js';
|
|
|
12
12
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
13
13
|
import { d as defaultBalAriaForm } from './form-fb8dd9f5.js';
|
|
14
14
|
import { d as defaultConfig, a as defaultLocale } from './config.default-7efdc82d.js';
|
|
15
|
-
import { b as balBreakpoints } from './breakpoints.subject-
|
|
15
|
+
import { b as balBreakpoints } from './breakpoints.subject-23463a68.js';
|
|
16
16
|
import { g as useBalConfig } from './config.utils-6ac6c9bd.js';
|
|
17
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
17
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-35deac22.js';
|
|
18
18
|
import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
|
|
19
19
|
import './browser-a8073d92.js';
|
|
20
20
|
import './icons.constant-a7885631.js';
|
|
21
21
|
import './_commonjsHelpers-1c8beb5f.js';
|
|
22
22
|
import './device-8c6d2881.js';
|
|
23
23
|
import './listener-04842ae9.js';
|
|
24
|
-
import './tokens.esm-
|
|
24
|
+
import './tokens.esm-225678ae.js';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* @name addDays
|