@baloise/ds-core 19.1.0 → 19.2.0-nightly.20250623
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/all.d.ts +2 -0
- package/components/all.js +3 -0
- package/components/bal-app.js +1 -93
- package/components/bal-app2.js +95 -0
- package/components/bal-carousel-item.js +23 -2
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +262 -0
- package/components/bal-icon2.js +1 -1350
- package/components/bal-input.js +20 -2
- package/components/bal-list-item-accordion-body2.js +6 -4
- package/components/bal-list-item-accordion-head2.js +10 -5
- package/components/bal-list-item2.js +4 -2
- package/components/bal-nav-menu-flyout2.js +10 -3
- package/components/bal-nav-meta-bar2.js +4 -2
- package/components/bal-nav.js +155 -33
- package/components/bal-popup2.js +5 -10
- package/components/bal-radio-group.js +1 -0
- package/components/bal-steps.js +1 -1
- package/components/bal-tab-item.js +4 -2
- package/components/bal-tabs2.js +4 -1
- package/components/focus-visible.js +1 -2
- package/components/index.js +7 -314
- package/components/initialize.js +312 -0
- package/components/overlays.js +2 -2
- package/components/purify.js +1353 -0
- package/components/tokens.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-42b2e62411.system.entry.js → p-00dc0f84cc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-14c507db.system.js → p-01493e9f.system.js} +1 -1
- package/dist/baloise-design-system/{p-68d7e929.system.js → p-02d76532.system.js} +1 -1
- package/dist/baloise-design-system/p-0c381481f3.system.entry.js +1 -0
- package/dist/baloise-design-system/p-12ec7e6d69.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-df9bc850dc.system.entry.js → p-12f7a6a381.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-16395ece.system.js +1 -0
- package/dist/baloise-design-system/{p-1e0a2263fb.entry.js → p-191cb463ef.entry.js} +1 -1
- package/dist/baloise-design-system/p-1e142b10.system.js +1 -0
- package/dist/baloise-design-system/p-24fe64c5.js +1 -0
- package/dist/baloise-design-system/p-294f38c2.js +1 -0
- package/dist/baloise-design-system/{p-290dfd0212.system.entry.js → p-31baba8382.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8a9fb4619a.entry.js → p-32db85222c.entry.js} +1 -1
- package/dist/baloise-design-system/p-343cc097d4.entry.js +1 -0
- package/dist/baloise-design-system/p-3913c6ae.js +1 -1
- package/dist/baloise-design-system/{p-47eaccc384.system.entry.js → p-42238a1e1a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-42e66219.system.js +1 -0
- package/dist/baloise-design-system/p-47f0669a.js +1 -0
- package/dist/baloise-design-system/{p-7467605b28.entry.js → p-4b3b969747.entry.js} +1 -1
- package/dist/baloise-design-system/p-55591d77a6.entry.js +1 -0
- package/dist/baloise-design-system/p-56376785c2.entry.js +1 -0
- package/dist/baloise-design-system/{p-ac25ede4f4.entry.js → p-5638fe223b.entry.js} +1 -1
- package/dist/baloise-design-system/p-58e51d6a.js +1 -0
- package/dist/baloise-design-system/{p-63297f8b3b.system.entry.js → p-5b20afcac4.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-5d80cd4f25.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-b96e5a6c.js → p-5dc505fc.js} +1 -1
- package/dist/baloise-design-system/{p-390b2af6a5.system.entry.js → p-6149950bb1.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-659ecadc.system.js +1 -1
- package/dist/baloise-design-system/p-65d4a9afab.entry.js +1 -0
- package/dist/baloise-design-system/{p-83d19315e3.entry.js → p-6700e35d71.entry.js} +1 -1
- package/dist/baloise-design-system/{p-363a7f7760.entry.js → p-673d489362.entry.js} +1 -1
- package/dist/baloise-design-system/{p-022af4f2.js → p-6b284c70.js} +1 -1
- package/dist/baloise-design-system/p-6bb4e22ace.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-16ebe71517.entry.js → p-72a1dc6052.entry.js} +1 -1
- package/dist/baloise-design-system/p-7625d0abde.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-702abad387.entry.js → p-7db52d587f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-456114b8.system.js → p-83512f21.system.js} +1 -1
- package/dist/baloise-design-system/{p-8bd42bba68.entry.js → p-84a5fe83b0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-24336e0fca.system.entry.js → p-8ebf048b7b.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-96301206d3.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-32bf71aa6c.entry.js → p-9b355b09ba.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b9a4f3580b.entry.js → p-9c3f458e6c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-99c12a1d83.system.entry.js → p-9df176a81a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e43b61e151.system.entry.js → p-a19a336dda.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-a35a951800.entry.js +1 -0
- package/dist/baloise-design-system/p-a397da94.system.js +1 -0
- package/dist/baloise-design-system/p-a86c09c64f.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-13ea819488.entry.js → p-ac238676b6.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e453a2de.system.js → p-ad89304c.system.js} +1 -1
- package/dist/baloise-design-system/p-ade92c8b.js +2 -0
- package/dist/baloise-design-system/p-b3a9499f8e.entry.js +1 -0
- package/dist/baloise-design-system/p-b94e6946fc.entry.js +1 -0
- package/dist/baloise-design-system/{p-2367556371.system.entry.js → p-b9b086adc8.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c89750c825.system.entry.js → p-ba30929ac8.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d0cee779.system.js +2 -0
- package/dist/baloise-design-system/{p-9d3935fbbc.entry.js → p-d18794e22b.entry.js} +1 -1
- package/dist/baloise-design-system/p-d4e5093b.js +1 -0
- package/dist/baloise-design-system/{p-35fde87c2a.system.entry.js → p-dfd6d34303.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e2c982954d.entry.js +1 -0
- package/dist/baloise-design-system/{p-39c2321045.system.entry.js → p-e3fb1f185f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-490383ab.system.js → p-eaec547b.system.js} +1 -1
- package/dist/baloise-design-system/{p-131fd635ef.entry.js → p-f0506e5102.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c5ac7b5d30.system.entry.js → p-f2784fb721.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-f3c6e132ea.system.entry.js +1 -0
- package/dist/cjs/app-globals-f63c33e7.js +7 -0
- package/dist/cjs/bal-app.cjs.entry.js +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +23 -5
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-date.cjs.entry.js +1 -1
- package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-icon.cjs.entry.js +2 -1351
- package/dist/cjs/bal-input.cjs.entry.js +20 -2
- package/dist/cjs/bal-list_8.cjs.entry.js +21 -12
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-modal_3.cjs.entry.js +1 -1
- package/dist/cjs/bal-nav_8.cjs.entry.js +167 -38
- 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-popup.cjs.entry.js +5 -10
- package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/bal-radio_2.cjs.entry.js +2 -1
- package/dist/cjs/bal-segment_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +4 -4
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +11 -6
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-5086ec90.js → breakpoints.decorator-266b25a2.js} +1 -1
- package/dist/cjs/{breakpoints.subject-a1180187.js → breakpoints.subject-03f75770.js} +1 -1
- package/dist/cjs/{focus-visible-264bd9b8.js → focus-visible-a434c91f.js} +0 -2
- package/dist/cjs/{app-globals-0d8db19e.js → global-2a76769b.js} +2 -4
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/initialize-2e8978a4.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{overlays-47b231bc.js → overlays-94ebb271.js} +2 -2
- package/dist/cjs/purify-b01229e2.js +1355 -0
- package/dist/cjs/{tokens.esm-263be70d.js → tokens.esm-c3cc508d.js} +1 -1
- package/dist/cjs/{window-resize.decorator-9a06680f.js → window-resize.decorator-9494cf0b.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +44 -3
- package/dist/collection/components/bal-input/bal-input-util.js +1 -0
- package/dist/collection/components/bal-input/bal-input.js +22 -5
- package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +4 -2
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +7 -5
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +13 -8
- package/dist/collection/components/bal-nav/bal-nav-focus.util.js +87 -0
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +40 -2
- 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 +22 -1
- package/dist/collection/components/bal-nav/bal-nav.css +1 -1
- package/dist/collection/components/bal-nav/bal-nav.js +43 -8
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +6 -5
- package/dist/collection/components/bal-popup/bal-popup.js +8 -13
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +1 -0
- package/dist/collection/components/bal-steps/bal-steps.css +1 -1
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +23 -2
- package/dist/collection/components/bal-tabs/components/tab-button.js +6 -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 +247 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/overlays/focus-trap.js +2 -2
- package/dist/esm/app-globals-1ecf000f.js +5 -0
- package/dist/esm/bal-app.entry.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +23 -5
- package/dist/esm/bal-checkbox_2.entry.js +1 -1
- package/dist/esm/bal-date.entry.js +1 -1
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-dropdown.entry.js +1 -1
- package/dist/esm/bal-hint_5.entry.js +3 -3
- package/dist/esm/bal-icon.entry.js +1 -1350
- package/dist/esm/bal-input.entry.js +20 -2
- package/dist/esm/bal-list_8.entry.js +22 -13
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-modal_3.entry.js +1 -1
- package/dist/esm/bal-nav_8.entry.js +168 -39
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +3 -3
- package/dist/esm/bal-popup.entry.js +5 -10
- package/dist/esm/bal-progress-bar.entry.js +4 -4
- package/dist/esm/bal-radio_2.entry.js +2 -1
- package/dist/esm/bal-segment_2.entry.js +5 -5
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +4 -4
- package/dist/esm/bal-tab-item_2.entry.js +11 -6
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-3666716a.js → breakpoints.decorator-ecda98cb.js} +1 -1
- package/dist/esm/{breakpoints.subject-1aa7be9a.js → breakpoints.subject-2897cae5.js} +1 -1
- package/dist/esm/{focus-visible-f0cdd043.js → focus-visible-c1d6b5b8.js} +1 -2
- package/dist/esm/{app-globals-5dd5fe6b.js → global-6e86728b.js} +2 -4
- package/dist/esm/index.js +4 -4
- package/dist/esm/initialize-be160cc4.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{overlays-4cc504b6.js → overlays-3f81f45d.js} +2 -2
- package/dist/esm/purify-8cb49f16.js +1353 -0
- package/dist/esm/{tokens.esm-a3abda33.js → tokens.esm-17500c90.js} +1 -1
- package/dist/esm/{window-resize.decorator-ef52bf33.js → window-resize.decorator-b914e5b9.js} +1 -1
- package/dist/esm-es5/app-globals-1ecf000f.js +1 -0
- package/dist/esm-es5/bal-app.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-date.entry.js +1 -1
- package/dist/esm-es5/bal-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -2
- package/dist/esm-es5/bal-input.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-modal_3.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-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-shape.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-ecda98cb.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-1aa7be9a.js → breakpoints.subject-2897cae5.js} +1 -1
- package/dist/esm-es5/focus-visible-c1d6b5b8.js +1 -0
- package/dist/esm-es5/global-6e86728b.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-be160cc4.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/overlays-3f81f45d.js +1 -0
- package/dist/esm-es5/purify-8cb49f16.js +2 -0
- package/dist/esm-es5/{window-resize.decorator-ef52bf33.js → window-resize.decorator-b914e5b9.js} +1 -1
- package/dist/html.html-data.json +12 -1
- package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +8 -0
- package/dist/types/components/bal-input/bal-input-util.d.ts +1 -0
- package/dist/types/components/bal-input/bal-input.d.ts +1 -0
- package/dist/types/components/bal-input/bal-input.interfaces.d.ts +1 -1
- package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +1 -1
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +3 -2
- package/dist/types/components/bal-nav/bal-nav-focus.util.d.ts +33 -0
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +6 -1
- package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.d.ts +4 -0
- package/dist/types/components/bal-nav/bal-nav.interfaces.d.ts +7 -1
- package/dist/types/components/bal-nav/models/bal-nav-menu-link-item.d.ts +1 -0
- package/dist/types/components/bal-popup/bal-popup.d.ts +1 -1
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +5 -0
- package/dist/types/components/bal-tabs/bal-tab.type.d.ts +1 -0
- package/dist/types/components/bal-tabs/bal-tabs.interfaces.d.ts +2 -0
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +79 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
- package/package.json +6 -6
- package/dist/baloise-design-system/p-002d7bb9.js +0 -1
- package/dist/baloise-design-system/p-0f8973edc6.entry.js +0 -1
- package/dist/baloise-design-system/p-130b37bc.js +0 -1
- package/dist/baloise-design-system/p-1693fa7649.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2fffe828ac.system.entry.js +0 -1
- package/dist/baloise-design-system/p-345aa92d.system.js +0 -1
- package/dist/baloise-design-system/p-53b2b718c5.entry.js +0 -1
- package/dist/baloise-design-system/p-58b1d6fa96.system.entry.js +0 -1
- package/dist/baloise-design-system/p-64916e34a4.entry.js +0 -1
- package/dist/baloise-design-system/p-967bdfab.js +0 -1
- package/dist/baloise-design-system/p-98cf514345.system.entry.js +0 -1
- package/dist/baloise-design-system/p-aa16fc7aa2.system.entry.js +0 -2
- package/dist/baloise-design-system/p-b52ad8d5.system.js +0 -1
- package/dist/baloise-design-system/p-c2f253d9fd.entry.js +0 -2
- package/dist/baloise-design-system/p-c917a3bc.system.js +0 -1
- package/dist/baloise-design-system/p-ca119357.js +0 -1
- package/dist/baloise-design-system/p-d09026edb1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-dd2a76bd7c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f04cab5af1.entry.js +0 -1
- package/dist/baloise-design-system/p-f2cc4e63d4.entry.js +0 -1
- package/dist/baloise-design-system/p-f6b1d87619.entry.js +0 -1
- package/dist/esm-es5/app-globals-5dd5fe6b.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-3666716a.js +0 -1
- package/dist/esm-es5/focus-visible-f0cdd043.js +0 -1
- package/dist/esm-es5/overlays-4cc504b6.js +0 -1
- /package/dist/baloise-design-system/{p-bccc3d48.system.js → p-d3480bd3.system.js} +0 -0
- /package/dist/baloise-design-system/{p-928bbc47.js → p-f9808768.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-a3abda33.js → tokens.esm-17500c90.js} +0 -0
package/components/all.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ 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'
|
|
30
31
|
import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
|
|
31
32
|
import { BalField, defineCustomElement as defineBalField } from './bal-field'
|
|
32
33
|
import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
|
|
@@ -145,6 +146,7 @@ export { BalDate, defineBalDate }
|
|
|
145
146
|
export { BalDateCalendar, defineBalDateCalendar }
|
|
146
147
|
export { BalDateCalendarCell, defineBalDateCalendarCell }
|
|
147
148
|
export { BalDivider, defineBalDivider }
|
|
149
|
+
export { BalDocApp, defineBalDocApp }
|
|
148
150
|
export { BalDropdown, defineBalDropdown }
|
|
149
151
|
export { BalField, defineBalField }
|
|
150
152
|
export { BalFieldControl, defineBalFieldControl }
|
package/components/all.js
CHANGED
|
@@ -27,6 +27,7 @@ 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'
|
|
30
31
|
import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
|
|
31
32
|
import { BalField, defineCustomElement as defineBalField } from './bal-field'
|
|
32
33
|
import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
|
|
@@ -145,6 +146,7 @@ export { BalDate, defineBalDate }
|
|
|
145
146
|
export { BalDateCalendar, defineBalDateCalendar }
|
|
146
147
|
export { BalDateCalendarCell, defineBalDateCalendarCell }
|
|
147
148
|
export { BalDivider, defineBalDivider }
|
|
149
|
+
export { BalDocApp, defineBalDocApp }
|
|
148
150
|
export { BalDropdown, defineBalDropdown }
|
|
149
151
|
export { BalField, defineBalField }
|
|
150
152
|
export { BalFieldControl, defineBalFieldControl }
|
|
@@ -264,6 +266,7 @@ export const defineAllComponents = () => {
|
|
|
264
266
|
defineBalDateCalendar()
|
|
265
267
|
defineBalDateCalendarCell()
|
|
266
268
|
defineBalDivider()
|
|
269
|
+
defineBalDocApp()
|
|
267
270
|
defineBalDropdown()
|
|
268
271
|
defineBalField()
|
|
269
272
|
defineBalFieldControl()
|
package/components/bal-app.js
CHANGED
|
@@ -1,96 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
-
}
|
|
1
|
+
import { A as App, d as defineCustomElement$1 } from './bal-app2.js';
|
|
94
2
|
|
|
95
3
|
const BalApp = App;
|
|
96
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,95 @@
|
|
|
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() {
|
|
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
|
+
}
|
|
94
|
+
|
|
95
|
+
export { App as A, defineCustomElement as d };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { D as DOMPurify } from './purify.js';
|
|
3
|
+
import { i as inheritAttributes } from './attributes.js';
|
|
2
4
|
import { B as BEM } from './bem.js';
|
|
3
5
|
import { m as rOnLoad, b as waitAfterFramePaint } from './helpers.js';
|
|
4
|
-
import { i as inheritAttributes } from './attributes.js';
|
|
5
6
|
import { t as toKebabCase } from './string.js';
|
|
6
7
|
|
|
7
8
|
const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends HTMLElement {
|
|
@@ -12,6 +13,11 @@ const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends
|
|
|
12
13
|
this.balFocus = createEvent(this, "balFocus", 7);
|
|
13
14
|
this.balBlur = createEvent(this, "balBlur", 7);
|
|
14
15
|
this.imageInheritAttributes = {};
|
|
16
|
+
this.generateSvgContent = () => {
|
|
17
|
+
if (this.svg !== undefined && this.svg.length > 0) {
|
|
18
|
+
this.svgContent = DOMPurify.sanitize(this.svg) || '';
|
|
19
|
+
}
|
|
20
|
+
};
|
|
15
21
|
this.onClick = (ev) => {
|
|
16
22
|
if (this.href !== undefined) {
|
|
17
23
|
this.balNavigate.emit(ev);
|
|
@@ -25,8 +31,10 @@ const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends
|
|
|
25
31
|
};
|
|
26
32
|
this.isOnLoadEventDone = false;
|
|
27
33
|
this.containerId = '';
|
|
34
|
+
this.svgContent = '';
|
|
28
35
|
this.src = undefined;
|
|
29
36
|
this.label = '';
|
|
37
|
+
this.svg = '';
|
|
30
38
|
this.htmlRole = 'listitem';
|
|
31
39
|
this.elementType = 'button';
|
|
32
40
|
this.name = undefined;
|
|
@@ -37,10 +45,16 @@ const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends
|
|
|
37
45
|
this.download = undefined;
|
|
38
46
|
this.color = undefined;
|
|
39
47
|
}
|
|
48
|
+
svgChanged() {
|
|
49
|
+
this.generateSvgContent();
|
|
50
|
+
}
|
|
40
51
|
/**
|
|
41
52
|
* LIFECYCLE
|
|
42
53
|
* ------------------------------------------------------
|
|
43
54
|
*/
|
|
55
|
+
connectedCallback() {
|
|
56
|
+
this.generateSvgContent();
|
|
57
|
+
}
|
|
44
58
|
componentDidLoad() {
|
|
45
59
|
rOnLoad(() => {
|
|
46
60
|
this.isOnLoadEventDone = true;
|
|
@@ -83,12 +97,16 @@ const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends
|
|
|
83
97
|
rel,
|
|
84
98
|
target,
|
|
85
99
|
};
|
|
86
|
-
return (h(Host, { id: id, role: role, "aria-label": this.label, 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.isOnLoadEventDone && this.src !== undefined ? (h("img", Object.assign({ class: Object.assign({}, image.class()), 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))));
|
|
100
|
+
return (h(Host, { id: id, role: role, "aria-label": this.label, 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.isOnLoadEventDone && this.src !== undefined ? (h("img", Object.assign({ class: Object.assign({}, image.class()), draggable: false, onDragStart: () => false, "aria-hidden": "true", src: this.src }, this.imageInheritAttributes))) : this.isOnLoadEventDone && this.svgContent !== undefined ? (h("div", { class: Object.assign({}, image.class()), innerHTML: this.svgContent })) : (''), this.label !== undefined ? h("span", { class: Object.assign({}, label.class()) }, this.label) : '', h("slot", null))));
|
|
87
101
|
}
|
|
88
102
|
get el() { return this; }
|
|
103
|
+
static get watchers() { return {
|
|
104
|
+
"svg": ["svgChanged"]
|
|
105
|
+
}; }
|
|
89
106
|
}, [4, "bal-carousel-item", {
|
|
90
107
|
"src": [513],
|
|
91
108
|
"label": [513],
|
|
109
|
+
"svg": [1],
|
|
92
110
|
"htmlRole": [1, "html-role"],
|
|
93
111
|
"elementType": [1, "element-type"],
|
|
94
112
|
"name": [513],
|
|
@@ -100,7 +118,10 @@ const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends
|
|
|
100
118
|
"color": [1],
|
|
101
119
|
"isOnLoadEventDone": [32],
|
|
102
120
|
"containerId": [32],
|
|
121
|
+
"svgContent": [32],
|
|
103
122
|
"setFocus": [64]
|
|
123
|
+
}, undefined, {
|
|
124
|
+
"svg": ["svgChanged"]
|
|
104
125
|
}]);
|
|
105
126
|
function defineCustomElement$1() {
|
|
106
127
|
if (typeof customElements === "undefined") {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface BalDocApp extends Components.BalDocApp, HTMLElement {}
|
|
4
|
+
export const BalDocApp: {
|
|
5
|
+
prototype: BalDocApp;
|
|
6
|
+
new (): BalDocApp;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|