@baloise/ds-core 19.9.2-nightly.20260402 → 19.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/all.d.ts +0 -2
- package/components/all.js +0 -3
- package/components/animation.decorator.js +1 -1
- package/components/bal-accordion.js +1 -1
- package/components/bal-app.js +102 -1
- package/components/bal-button2.js +1 -1
- package/components/bal-carousel-item.js +1 -1
- package/components/bal-checkbox-group.js +1 -1
- package/components/bal-date-calendar2.js +1 -1
- package/components/bal-date.js +1 -1
- package/components/bal-dropdown.js +1 -1
- package/components/bal-field.js +1 -1
- package/components/bal-footer.js +1 -1
- package/components/bal-form.js +1 -1
- package/components/bal-input-stepper.js +1 -1
- package/components/bal-list-item-accordion-body2.js +1 -1
- package/components/bal-list-item2.js +1 -1
- package/components/bal-logo2.js +1 -1
- package/components/bal-modal.js +1 -1
- package/components/bal-nav.js +1 -1
- package/components/bal-navbar-brand.js +1 -1
- package/components/bal-option-list2.js +1 -1
- package/components/bal-popup2.js +1 -1
- package/components/bal-radio-group.js +1 -1
- package/components/bal-segment-item.js +1 -1
- package/components/bal-select2.js +1 -1
- package/components/bal-spinner2.js +1 -1
- package/components/bal-stage-image.js +1 -1
- package/components/bal-tabs2.js +1 -1
- package/components/breakpoints.subject.js +1 -1
- package/components/element-states.decorator.js +1 -1
- package/components/floating-ui.js +1 -1
- package/components/focus.decorator.js +1 -1
- package/components/form-input.js +1 -1
- package/components/helpers.js +1 -1
- package/components/index.js +449 -5
- package/components/mutation.decorator.js +1 -1
- package/components/overlays.js +1 -1
- package/components/resize.decorator.js +1 -1
- package/components/swipe.subject.js +1 -1
- package/components/swiper.util.js +1 -1
- package/components/tokens.esm.js +1 -1
- package/components/visibility.decorator.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-4086cc9c9c.entry.js → p-01fdb2af3e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-91bd664971.entry.js → p-03852c362f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-667caca642.system.entry.js → p-05221bf226.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-C13TvJ_C.system.js → p-0g14KuPx.system.js} +1 -1
- package/dist/baloise-design-system/{p-78f98d4109.entry.js → p-14219e3845.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e96dcd356e.entry.js → p-14475f12e8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2d7fd46edf.entry.js → p-1e26da72e8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c3f4381ce9.entry.js → p-239938cbc2.entry.js} +1 -1
- package/dist/baloise-design-system/{p-99bf8b9431.entry.js → p-370f98a376.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e38a1ba888.entry.js → p-3bc249e38e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-47f3f52a9a.system.entry.js → p-3d9555be79.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-385be2a999.entry.js → p-41a0556d46.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6c4c3a1e15.system.entry.js → p-7eec8c7a78.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e5d1391487.entry.js → p-818b880ec5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a6690ef111.system.entry.js → p-83c6c17ed8.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ec95e8e5af.system.entry.js → p-890c3ea355.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-467ac1a402.system.entry.js → p-8bdcf69b1f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-274179decc.entry.js → p-8ea84ad7c7.entry.js} +1 -1
- package/dist/baloise-design-system/p-BFRjY4w3.js +1 -1
- package/dist/baloise-design-system/p-BRAmUyPx.system.js +1 -1
- package/dist/baloise-design-system/p-Bk7UdnZ5.system.js +1 -0
- package/dist/baloise-design-system/{p-B_3BCKUu.js → p-CFZjZt-s.js} +1 -1
- package/dist/baloise-design-system/{p-DJ1aSyks.system.js → p-CHTPLy3W.system.js} +1 -1
- package/dist/baloise-design-system/p-CKN3W8qn.js +1 -0
- package/dist/baloise-design-system/{p-C-aiojXF.system.js → p-COFcDrAS.system.js} +1 -1
- package/dist/baloise-design-system/{p-3VlTyI5Z.system.js → p-CsPrCX4f.system.js} +1 -1
- package/dist/baloise-design-system/{p-BBwkmEaI.system.js → p-DUpGQx_U.system.js} +1 -1
- package/dist/baloise-design-system/{p-Dvaj9qSO.js → p-DlPc3plk.js} +1 -1
- package/dist/baloise-design-system/{p-BXPMOW4X.js → p-TGlXe_VY.js} +1 -1
- package/dist/baloise-design-system/{p-beef0bd0b9.system.entry.js → p-a5f3b37e21.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bda2a07356.system.entry.js → p-b585853436.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fad7667d0b.system.entry.js → p-c47294e251.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1dccad2f1a.entry.js → p-cef33e1117.entry.js} +1 -1
- package/dist/baloise-design-system/{p-faf98de73a.entry.js → p-dd48a60d74.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f66d233fd9.system.entry.js → p-dd5caee1bb.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cf21670018.system.entry.js → p-ea38ac08ce.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8bdf320d87.system.entry.js → p-ed56778833.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5f252bcc20.system.entry.js → p-ee61799a11.system.entry.js} +1 -1
- package/dist/cjs/{global-BOGOCc0T.js → app-globals-D4xKyILL.js} +4 -2
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/bal-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +3 -3
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +3 -3
- package/dist/cjs/baloise-design-system.cjs.js +2 -3
- package/dist/cjs/{breakpoints.decorator-sWjzCFzu.js → breakpoints.decorator-DVSgAJPa.js} +1 -1
- package/dist/cjs/{breakpoints.subject-DwvsqaqK.js → breakpoints.subject-PPg53GM5.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/initialize-BzrcZo6Y.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/{tokens.esm-Dev56hT4.js → tokens.esm-B1kdQjzR.js} +1 -1
- package/dist/cjs/{window-resize.decorator-pSv0uKtE.js → window-resize.decorator-DHvgxiqB.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/esm/{global-Llrc69_N.js → app-globals-Blx--ecs.js} +4 -2
- package/dist/esm/bal-carousel_2.entry.js +3 -3
- package/dist/esm/bal-field_5.entry.js +3 -3
- package/dist/esm/bal-hint_5.entry.js +3 -3
- package/dist/esm/bal-list_8.entry.js +3 -3
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +3 -3
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +3 -3
- package/dist/esm/bal-progress-bar.entry.js +4 -4
- package/dist/esm/bal-segment_2.entry.js +4 -4
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +3 -3
- package/dist/esm/bal-tab-item_2.entry.js +3 -3
- package/dist/esm/baloise-design-system.js +2 -3
- package/dist/esm/{breakpoints.decorator-DxIlEwCO.js → breakpoints.decorator-CJwbnRPE.js} +1 -1
- package/dist/esm/{breakpoints.subject-BKrJd1kk.js → breakpoints.subject-CKmK7JA0.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/initialize-W3od-FM9.js +1 -1
- package/dist/esm/loader.js +2 -3
- package/dist/esm/{tokens.esm-DUEqCuY_.js → tokens.esm-DTyLTqMF.js} +1 -1
- package/dist/esm/{window-resize.decorator-5yHoT906.js → window-resize.decorator-xoiS5CvH.js} +1 -1
- package/dist/esm-es5/app-globals-Blx--ecs.js +1 -0
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.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-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.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-CJwbnRPE.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-BKrJd1kk.js → breakpoints.subject-CKmK7JA0.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-W3od-FM9.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{window-resize.decorator-5yHoT906.js → window-resize.decorator-xoiS5CvH.js} +1 -1
- package/dist/types/components.d.ts +0 -75
- package/package.json +6 -6
- package/components/bal-app2.js +0 -104
- package/components/bal-doc-app.d.ts +0 -11
- package/components/bal-doc-app.js +0 -264
- package/components/initialize.js +0 -450
- package/dist/baloise-design-system/p-21ea7b32f1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9ca0a9bf5c.entry.js +0 -1
- package/dist/baloise-design-system/p-BvSkuJ_n.js +0 -1
- package/dist/baloise-design-system/p-BzIZLOtt.system.js +0 -1
- package/dist/baloise-design-system/p-C_qvcMEM.system.js +0 -1
- package/dist/baloise-design-system/p-Ectc3YAG.js +0 -1
- package/dist/cjs/app-globals-DcKvQZAC.js +0 -7
- package/dist/cjs/bal-doc-app.cjs.entry.js +0 -231
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -248
- package/dist/esm/app-globals-CIj5uAPM.js +0 -5
- package/dist/esm/bal-doc-app.entry.js +0 -229
- package/dist/esm-es5/app-globals-CIj5uAPM.js +0 -1
- package/dist/esm-es5/bal-doc-app.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-DxIlEwCO.js +0 -1
- package/dist/esm-es5/global-Llrc69_N.js +0 -1
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +0 -82
- /package/dist/baloise-design-system/{p-DKDy1wJd.system.js → p-1D6CbirM.system.js} +0 -0
- /package/dist/baloise-design-system/{p-DUEqCuY_.js → p-DTyLTqMF.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-DUEqCuY_.js → tokens.esm-DTyLTqMF.js} +0 -0
package/components/all.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
|
|
|
27
27
|
import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
|
|
28
28
|
import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
|
|
29
29
|
import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
|
|
30
|
-
import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
|
|
31
30
|
import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
|
|
32
31
|
import { BalField, defineCustomElement as defineBalField } from './bal-field'
|
|
33
32
|
import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
|
|
@@ -146,7 +145,6 @@ export { BalDate, defineBalDate }
|
|
|
146
145
|
export { BalDateCalendar, defineBalDateCalendar }
|
|
147
146
|
export { BalDateCalendarCell, defineBalDateCalendarCell }
|
|
148
147
|
export { BalDivider, defineBalDivider }
|
|
149
|
-
export { BalDocApp, defineBalDocApp }
|
|
150
148
|
export { BalDropdown, defineBalDropdown }
|
|
151
149
|
export { BalField, defineBalField }
|
|
152
150
|
export { BalFieldControl, defineBalFieldControl }
|
package/components/all.js
CHANGED
|
@@ -27,7 +27,6 @@ import { BalDate, defineCustomElement as defineBalDate } from './bal-date'
|
|
|
27
27
|
import { BalDateCalendar, defineCustomElement as defineBalDateCalendar } from './bal-date-calendar'
|
|
28
28
|
import { BalDateCalendarCell, defineCustomElement as defineBalDateCalendarCell } from './bal-date-calendar-cell'
|
|
29
29
|
import { BalDivider, defineCustomElement as defineBalDivider } from './bal-divider'
|
|
30
|
-
import { BalDocApp, defineCustomElement as defineBalDocApp } from './bal-doc-app'
|
|
31
30
|
import { BalDropdown, defineCustomElement as defineBalDropdown } from './bal-dropdown'
|
|
32
31
|
import { BalField, defineCustomElement as defineBalField } from './bal-field'
|
|
33
32
|
import { BalFieldControl, defineCustomElement as defineBalFieldControl } from './bal-field-control'
|
|
@@ -146,7 +145,6 @@ export { BalDate, defineBalDate }
|
|
|
146
145
|
export { BalDateCalendar, defineBalDateCalendar }
|
|
147
146
|
export { BalDateCalendarCell, defineBalDateCalendarCell }
|
|
148
147
|
export { BalDivider, defineBalDivider }
|
|
149
|
-
export { BalDocApp, defineBalDocApp }
|
|
150
148
|
export { BalDropdown, defineBalDropdown }
|
|
151
149
|
export { BalField, defineBalField }
|
|
152
150
|
export { BalFieldControl, defineBalFieldControl }
|
|
@@ -266,7 +264,6 @@ export const defineAllComponents = () => {
|
|
|
266
264
|
defineBalDateCalendar()
|
|
267
265
|
defineBalDateCalendarCell()
|
|
268
266
|
defineBalDivider()
|
|
269
|
-
defineBalDocApp()
|
|
270
267
|
defineBalDropdown()
|
|
271
268
|
defineBalField()
|
|
272
269
|
defineBalFieldControl()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as debounce, v as isChildOfEventTarget, p as addEventListener, q as removeEventListener } from './helpers.js';
|
|
2
2
|
import { L as ListenerAbstract, a as SingleSubject } from './listener.js';
|
|
3
3
|
|
|
4
4
|
class BalAnimationListener extends ListenerAbstract {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
|
-
import { r as raf, k as debounceEvent,
|
|
4
|
+
import { r as raf, k as debounceEvent, w as waitForComponent, t as transitionEndAsync } from './helpers.js';
|
|
5
5
|
import { L as Logger } from './log.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './bal-button2.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './bal-icon2.js';
|
package/components/bal-app.js
CHANGED
|
@@ -1,4 +1,105 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
+
import { b as balBrowser } from './browser.js';
|
|
4
|
+
import { b as balDevice } from './device.js';
|
|
5
|
+
import { s as startFocusVisible } from './focus-visible.js';
|
|
6
|
+
import { l as debounce, m as rIC, n as rOnLoad } from './helpers.js';
|
|
7
|
+
import { L as Logger } from './log.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
|
+
|
|
12
|
+
const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
13
|
+
constructor(registerHost) {
|
|
14
|
+
super();
|
|
15
|
+
if (registerHost !== false) {
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
}
|
|
18
|
+
this.balAppReady = createEvent(this, "balAppReady", 7);
|
|
19
|
+
this.debouncedNotify = debounce(() => this.notifyResize(), 100);
|
|
20
|
+
/**
|
|
21
|
+
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
22
|
+
*/
|
|
23
|
+
this.animated = true;
|
|
24
|
+
/**
|
|
25
|
+
* @internal Is `true` when DS components are ready to be shown.
|
|
26
|
+
*/
|
|
27
|
+
this.ready = false;
|
|
28
|
+
this.notifyResize = async () => {
|
|
29
|
+
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
30
|
+
const doc = document.documentElement;
|
|
31
|
+
doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
createLogger(log) {
|
|
36
|
+
this.log = log;
|
|
37
|
+
}
|
|
38
|
+
connectedCallback() {
|
|
39
|
+
if (this.animated === false) {
|
|
40
|
+
updateBalAnimated(this.animated);
|
|
41
|
+
}
|
|
42
|
+
if (balBrowser.hasWindow) {
|
|
43
|
+
window.addEventListener('resize', this.debouncedNotify);
|
|
44
|
+
this.debouncedNotify();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
componentDidLoad() {
|
|
48
|
+
rIC(() => {
|
|
49
|
+
this.ready = true;
|
|
50
|
+
startFocusVisible();
|
|
51
|
+
});
|
|
52
|
+
rOnLoad(() => {
|
|
53
|
+
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
54
|
+
const doc = document.documentElement;
|
|
55
|
+
doc.classList.add('lcp-ready');
|
|
56
|
+
this.balAppReady.emit();
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
disconnectedCallback() {
|
|
61
|
+
if (balBrowser.hasWindow) {
|
|
62
|
+
window.removeEventListener('resize', this.debouncedNotify);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
async setFocus(elements) {
|
|
66
|
+
if (this.focusVisible) {
|
|
67
|
+
this.focusVisible.setFocus(elements);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
return (h(Host, { key: 'e6229236201fea92c4ccb1812f2f280a06130889', class: {
|
|
72
|
+
'bal-app': true,
|
|
73
|
+
'bal-app--safari': balBrowser.isSafari,
|
|
74
|
+
'bal-app--touch': balDevice.hasTouchScreen,
|
|
75
|
+
} }, h("slot", { key: '7712c7609c709dbe754eaf5700fd43ca3992a39f' })));
|
|
76
|
+
}
|
|
77
|
+
get el() { return this; }
|
|
78
|
+
static get style() { return balAppCss; }
|
|
79
|
+
}, [260, "bal-app", {
|
|
80
|
+
"animated": [516],
|
|
81
|
+
"ready": [1540],
|
|
82
|
+
"setFocus": [64]
|
|
83
|
+
}]);
|
|
84
|
+
__decorate([
|
|
85
|
+
Logger('bal-app'),
|
|
86
|
+
__metadata("design:type", Function),
|
|
87
|
+
__metadata("design:paramtypes", [Function]),
|
|
88
|
+
__metadata("design:returntype", void 0)
|
|
89
|
+
], App.prototype, "createLogger", null);
|
|
90
|
+
function defineCustomElement$1() {
|
|
91
|
+
if (typeof customElements === "undefined") {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
const components = ["bal-app"];
|
|
95
|
+
components.forEach(tagName => { switch (tagName) {
|
|
96
|
+
case "bal-app":
|
|
97
|
+
if (!customElements.get(tagName)) {
|
|
98
|
+
customElements.define(tagName, App);
|
|
99
|
+
}
|
|
100
|
+
break;
|
|
101
|
+
} });
|
|
102
|
+
}
|
|
2
103
|
|
|
3
104
|
const BalApp = App;
|
|
4
105
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { a as ariaBooleanToString } from './aria.js';
|
|
3
3
|
import { i as inheritAttributes } from './attributes.js';
|
|
4
|
-
import {
|
|
4
|
+
import { n as rOnLoad } from './helpers.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './bal-icon2.js';
|
|
6
6
|
import { d as defineCustomElement$1 } from './bal-spinner2.js';
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { s as sanitizeSvg } from './svg.js';
|
|
3
3
|
import { i as inheritAttributes } from './attributes.js';
|
|
4
4
|
import { B as BEM } from './bem.js';
|
|
5
|
-
import {
|
|
5
|
+
import { n as rOnLoad, b as waitAfterFramePaint } from './helpers.js';
|
|
6
6
|
import { t as toKebabCase } from './string.js';
|
|
7
7
|
|
|
8
8
|
const CarouselItem = /*@__PURE__*/ proxyCustomElement(class CarouselItem extends HTMLElement {
|
|
@@ -6,7 +6,7 @@ import { i as inheritAttributes } from './attributes.js';
|
|
|
6
6
|
import { B as BEM } from './bem.js';
|
|
7
7
|
import { d as defaultBalAriaForm } from './form.js';
|
|
8
8
|
import { s as stopEventBubbling } from './form-input.js';
|
|
9
|
-
import { i as isDescendant,
|
|
9
|
+
import { i as isDescendant, o as hasTagName } from './helpers.js';
|
|
10
10
|
import { L as Logger } from './log.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './bal-checkbox2.js';
|
|
12
12
|
import { L as ListenToFocus } from './focus.decorator.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
|
-
import {
|
|
4
|
+
import { b as waitAfterFramePaint } from './helpers.js';
|
|
5
5
|
import { L as Logger } from './log.js';
|
|
6
6
|
import { p as padStart } from './index3.js';
|
|
7
7
|
import { i as isNil } from './index2.js';
|
package/components/bal-date.js
CHANGED
|
@@ -9,7 +9,7 @@ import { b as balFloatingUi } from './floating-ui.js';
|
|
|
9
9
|
import { F as FOCUS_KEYS } from './focus-visible.js';
|
|
10
10
|
import { d as defaultBalAriaForm } from './form.js';
|
|
11
11
|
import { s as stopEventBubbling } from './form-input.js';
|
|
12
|
-
import {
|
|
12
|
+
import { m as rIC, k as debounceEvent, p as addEventListener, q as removeEventListener, e as waitAfterIdleCallback } from './helpers.js';
|
|
13
13
|
import { L as Logger } from './log.js';
|
|
14
14
|
import { i as i18nBalDate } from './bal-date.i18n.js';
|
|
15
15
|
import { d as defineCustomElement$6 } from './bal-date-calendar2.js';
|
|
@@ -5,7 +5,7 @@ import { B as BEM } from './bem.js';
|
|
|
5
5
|
import { b as balBrowser } from './browser.js';
|
|
6
6
|
import { d as defaultBalAriaForm } from './form.js';
|
|
7
7
|
import { s as stopEventBubbling } from './form-input.js';
|
|
8
|
-
import {
|
|
8
|
+
import { m as rIC, b as waitAfterFramePaint, p as addEventListener, q as removeEventListener, e as waitAfterIdleCallback } from './helpers.js';
|
|
9
9
|
import { L as Logger } from './log.js';
|
|
10
10
|
import { d as defineCustomElement$8 } from './bal-check2.js';
|
|
11
11
|
import { d as defineCustomElement$7 } from './bal-close2.js';
|
package/components/bal-field.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { d as defaultBalAriaForm } from './form.js';
|
|
4
|
-
import { d as deepReady,
|
|
4
|
+
import { d as deepReady, b as waitAfterFramePaint } from './helpers.js';
|
|
5
5
|
import { L as ListenToMutation } from './mutation.decorator.js';
|
|
6
6
|
|
|
7
7
|
const balFieldCss = ":root{--bal-field-label-horizontal-width:33.3333%;--bal-field-label-column-gap:.5rem}.bal-field,.bal-field-label,.bal-field-control,.bal-field-message,.bal-field-hint{display:block;position:relative;font-family:var(--bal-font-family-text)}.bal-field-label{display:inline}.bal-field-label~.bal-field-control{margin-top:.25rem}.bal-field-hint{display:inline-block;margin-left:.25rem;height:1rem;width:1rem}.bal-field-hint__hint{position:absolute;top:2px;left:0}.bal-field-message{line-height:var(--bal-line-height-normal)}.bal-field-hidden{display:none !important;visibility:hidden !important}.bal-field-control{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;gap:.5rem}.bal-field-control .bal-input{-ms-flex:1;flex:1}@media screen and (max-width: 768px){.bal-field-control--expanded-on-mobile{-ms-flex-direction:column;flex-direction:column}.bal-field-control--expanded-on-mobile .bal-button,.bal-field-control--expanded-on-mobile .bal-button .button{width:100%}}.bal-field-message{margin-top:0 !important}.bal-field-control+.bal-field-message{min-height:1.375rem;line-height:1.375rem}.bal-field-control:not(:has(+.bal-field-message)){padding-bottom:1.375rem}.bal-field--horizontal{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-column-gap:var(--bal-field-label-column-gap);-moz-column-gap:var(--bal-field-label-column-gap);column-gap:var(--bal-field-label-column-gap);-ms-flex-align:center;align-items:center}.bal-field--horizontal .bal-field-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-width:var(--bal-field-label-horizontal-width);max-width:var(--bal-field-label-horizontal-width);-ms-flex-pack:end;justify-content:flex-end;text-align:right;margin-bottom:0}.bal-field--horizontal .bal-field-control{-ms-flex:1;flex:1;padding-bottom:0;-ms-flex-item-align:end;align-self:flex-end}.bal-field--horizontal .bal-field-message{-ms-flex-preferred-size:100%;flex-basis:100%;margin-top:0 !important;margin-left:calc(var(--bal-field-label-horizontal-width) + var(--bal-field-label-column-gap))}.bal-field--horizontal .bal-field-hint{margin-left:0}.bal-field--horizontal .bal-field-hint .bal-hint{top:0}.bal-field--horizontal .bal-field-hint~.bal-field-message{margin-left:calc(var(--bal-field-label-horizontal-width) + var(--bal-field-label-column-gap)*2 + 1.125rem)}.bal-field--horizontal .bal-field-label~.bal-field-control{margin-top:0}";
|
package/components/bal-footer.js
CHANGED
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { l as loadFooterLinks, a as loadSocialMediaLinks, L as Language } from './index.esm.js';
|
|
4
4
|
import { B as BEM } from './bem.js';
|
|
5
|
-
import {
|
|
5
|
+
import { m as rIC } from './helpers.js';
|
|
6
6
|
import { L as Logger } from './log.js';
|
|
7
7
|
import { s as sanitizeSvg } from './svg.js';
|
|
8
8
|
import { d as defineCustomElement$3 } from './bal-icon2.js';
|
package/components/bal-form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { s as scrollToFirstInvalidField } from './form.js';
|
|
3
|
-
import {
|
|
3
|
+
import { e as waitAfterIdleCallback, b as waitAfterFramePaint } from './helpers.js';
|
|
4
4
|
|
|
5
5
|
const balFormCss = ".bal-form{display:block;position:static}";
|
|
6
6
|
|
|
@@ -5,7 +5,7 @@ import { i as inheritAttributes } from './attributes.js';
|
|
|
5
5
|
import { B as BEM } from './bem.js';
|
|
6
6
|
import { d as defaultBalAriaForm } from './form.js';
|
|
7
7
|
import { s as stopEventBubbling, j as inputListenOnClick } from './form-input.js';
|
|
8
|
-
import {
|
|
8
|
+
import { m as rIC, k as debounceEvent } from './helpers.js';
|
|
9
9
|
import { L as Logger } from './log.js';
|
|
10
10
|
import { f as formatLocaleNumber } from './number.js';
|
|
11
11
|
import { i as i18nBalInputStepper } from './bal-input-stepper.i18n.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import { r as raf,
|
|
3
|
+
import { r as raf, l as debounce } from './helpers.js';
|
|
4
4
|
import { L as Logger } from './log.js';
|
|
5
5
|
import { b as balBreakpoints } from './breakpoints.subject.js';
|
|
6
6
|
import { L as ListenToResize } from './resize.decorator.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
|
-
import { r as raf,
|
|
4
|
+
import { r as raf, m as rIC, t as transitionEndAsync } from './helpers.js';
|
|
5
5
|
import { L as Logger } from './log.js';
|
|
6
6
|
import { L as ListenToConfig } from './config.decorator.js';
|
|
7
7
|
|
package/components/bal-logo2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
|
-
import {
|
|
4
|
+
import { n as rOnLoad } from './helpers.js';
|
|
5
5
|
import { L as Logger } from './log.js';
|
|
6
6
|
import { b as balBreakpoints } from './breakpoints.subject.js';
|
|
7
7
|
import { L as ListenToBreakpoints } from './breakpoints.decorator.js';
|
package/components/bal-modal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, writeTask, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { b as balBrowser } from './browser.js';
|
|
3
|
-
import { c as componentOnReady, d as deepReady,
|
|
3
|
+
import { c as componentOnReady, d as deepReady, a as wait } from './helpers.js';
|
|
4
4
|
import { p as prepareOverlay, d as dismiss, e as eventMethod, F as FOCUS_TRAP_DISABLE_CLASS } from './overlays.js';
|
|
5
5
|
import { B as BalScrollHandler } from './scroll.js';
|
|
6
6
|
|
package/components/bal-nav.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
4
|
import { b as balBrowser } from './browser.js';
|
|
5
5
|
import { s as stopEventBubbling } from './form-input.js';
|
|
6
|
-
import {
|
|
6
|
+
import { m as rIC, i as isDescendant, w as waitForComponent, e as waitAfterIdleCallback } from './helpers.js';
|
|
7
7
|
import { L as Logger } from './log.js';
|
|
8
8
|
import { B as BalScrollHandler } from './scroll.js';
|
|
9
9
|
import { s as sanitizeSvg } from './svg.js';
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
4
|
import { b as balBrowser } from './browser.js';
|
|
5
|
-
import {
|
|
5
|
+
import { a as wait } from './helpers.js';
|
|
6
6
|
import { B as BalScrollHandler } from './scroll.js';
|
|
7
7
|
import { d as defineCustomElement$5 } from './bal-button2.js';
|
|
8
8
|
import { d as defineCustomElement$4 } from './bal-icon2.js';
|
|
@@ -5,7 +5,7 @@ import { a as ariaBooleanToString } from './aria.js';
|
|
|
5
5
|
import { i as inheritAttributes } from './attributes.js';
|
|
6
6
|
import { B as BEM } from './bem.js';
|
|
7
7
|
import { d as defaultBalAriaForm } from './form.js';
|
|
8
|
-
import {
|
|
8
|
+
import { b as waitAfterFramePaint, r as raf } from './helpers.js';
|
|
9
9
|
import { L as Logger } from './log.js';
|
|
10
10
|
import { i as includes, s as startsWith } from './utils.js';
|
|
11
11
|
|
package/components/bal-popup2.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
4
|
import { b as balBrowser } from './browser.js';
|
|
5
5
|
import { s as stopEventBubbling } from './form-input.js';
|
|
6
|
-
import {
|
|
6
|
+
import { l as debounce, i as isDescendant } from './helpers.js';
|
|
7
7
|
import { L as Logger } from './log.js';
|
|
8
8
|
import { d as defineCustomElement$4 } from './bal-close2.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './bal-heading2.js';
|
|
@@ -5,7 +5,7 @@ import { i as inheritAttributes } from './attributes.js';
|
|
|
5
5
|
import { B as BEM } from './bem.js';
|
|
6
6
|
import { d as defaultBalAriaForm } from './form.js';
|
|
7
7
|
import { s as stopEventBubbling } from './form-input.js';
|
|
8
|
-
import { i as isDescendant,
|
|
8
|
+
import { i as isDescendant, o as hasTagName } from './helpers.js';
|
|
9
9
|
import { L as Logger } from './log.js';
|
|
10
10
|
import { d as defineCustomElement$3 } from './bal-radio2.js';
|
|
11
11
|
import { d as defineCustomElement$2 } from './bal-radio-icon2.js';
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
|
|
|
2
2
|
import { i as inheritAttributes } from './attributes.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
4
|
import { d as defaultBalAriaForm } from './form.js';
|
|
5
|
-
import {
|
|
5
|
+
import { p as addEventListener, r as raf, q as removeEventListener } from './helpers.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './bal-content2.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './bal-icon2.js';
|
|
8
8
|
import { d as defineCustomElement$3 } from './bal-label2.js';
|
|
@@ -7,7 +7,7 @@ import { i as inheritAttributes } from './attributes.js';
|
|
|
7
7
|
import { B as BEM } from './bem.js';
|
|
8
8
|
import { d as defaultBalAriaForm } from './form.js';
|
|
9
9
|
import { s as stopEventBubbling } from './form-input.js';
|
|
10
|
-
import {
|
|
10
|
+
import { m as rIC, l as debounce, e as waitAfterIdleCallback, d as deepReady, i as isDescendant } from './helpers.js';
|
|
11
11
|
import { L as Logger } from './log.js';
|
|
12
12
|
import { r as removeValue, p as preventDefault, l as length, g as getValues, i as includes, s as startsWith, a as addValue, f as findLabelByValue, b as findOptionByLabel, v as validateAfterBlur } from './utils.js';
|
|
13
13
|
import { d as defineCustomElement$6 } from './bal-checkbox2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
3
|
import { B as BEM } from './bem.js';
|
|
4
|
-
import { r as raf,
|
|
4
|
+
import { r as raf, n as rOnLoad } from './helpers.js';
|
|
5
5
|
import { L as Logger } from './log.js';
|
|
6
6
|
import { d as defaultConfig } from './config.default.js';
|
|
7
7
|
import { L as ListenToConfig } from './config.decorator.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { n as rOnLoad } from './helpers.js';
|
|
3
3
|
import { i as inheritAttributes } from './attributes.js';
|
|
4
4
|
import { B as BEM } from './bem.js';
|
|
5
5
|
|
package/components/bal-tabs2.js
CHANGED
|
@@ -4,7 +4,7 @@ import { a as areArraysEqual } from './array.js';
|
|
|
4
4
|
import { i as inheritAttributes } from './attributes.js';
|
|
5
5
|
import { B as BEM } from './bem.js';
|
|
6
6
|
import { s as stopEventBubbling } from './form-input.js';
|
|
7
|
-
import { r as raf,
|
|
7
|
+
import { r as raf, l as debounce, k as debounceEvent, u as hasParent, n as rOnLoad, i as isDescendant, b as waitAfterFramePaint, d as deepReady, t as transitionEndAsync } from './helpers.js';
|
|
8
8
|
import { L as Logger } from './log.js';
|
|
9
9
|
import { t as toKebabCase } from './string.js';
|
|
10
10
|
import { S as SwiperUtil, g as getComputedPadding, a as getWidthOfOverflowingChildren } from './swiper.util.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as debounce, p as addEventListener, q as removeEventListener } from './helpers.js';
|
|
2
2
|
import { b as balBrowser } from './browser.js';
|
|
3
3
|
import { b as balDevice } from './device.js';
|
|
4
4
|
import { L as ListenerAbstract, S as Subject } from './listener.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as ListenerAbstract, a as SingleSubject } from './listener.js';
|
|
2
2
|
import { b as balBrowser } from './browser.js';
|
|
3
|
-
import {
|
|
3
|
+
import { p as addEventListener, q as removeEventListener } from './helpers.js';
|
|
4
4
|
|
|
5
5
|
class BalElementStateListener extends ListenerAbstract {
|
|
6
6
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as ListenerAbstract, a as SingleSubject } from './listener.js';
|
|
2
2
|
import { b as balBrowser } from './browser.js';
|
|
3
|
-
import {
|
|
3
|
+
import { e as waitAfterIdleCallback, i as isDescendant, p as addEventListener, q as removeEventListener } from './helpers.js';
|
|
4
4
|
|
|
5
5
|
class BalFocusListener extends ListenerAbstract {
|
|
6
6
|
constructor() {
|
package/components/form-input.js
CHANGED
package/components/helpers.js
CHANGED
|
@@ -304,4 +304,4 @@ const runHighPrioritizedTask = (callback) => {
|
|
|
304
304
|
}
|
|
305
305
|
};
|
|
306
306
|
|
|
307
|
-
export {
|
|
307
|
+
export { wait as a, waitAfterFramePaint as b, componentOnReady as c, deepReady as d, waitAfterIdleCallback as e, waitAfterLargestContentfulPaintCallback as f, getAppRoot as g, waitForDesignSystem as h, isDescendant as i, waitOnLoadEventCallback as j, debounceEvent as k, debounce as l, rIC as m, rOnLoad as n, hasTagName as o, addEventListener as p, removeEventListener as q, raf as r, shallowReady as s, transitionEndAsync as t, hasParent as u, isChildOfEventTarget as v, waitForComponent as w };
|