@baloise/ds-core 19.9.3 → 19.9.4-nightly.20260427
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/all.d.ts +2 -0
- package/components/all.js +3 -0
- package/components/animation.decorator.js +1 -1
- package/components/bal-accordion.js +1 -2
- package/components/bal-app.js +1 -102
- package/components/bal-app2.js +104 -0
- 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-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +264 -0
- package/components/bal-dropdown.js +1 -1
- package/components/bal-field.js +1 -1
- package/components/bal-file-upload.js +5 -5
- 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 +5 -449
- package/components/initialize.js +450 -0
- 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 +19 -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-ea9aa92049.entry.js → p-041bf35913.entry.js} +1 -1
- package/dist/baloise-design-system/{p-83c6c17ed8.system.entry.js → p-16b185dad1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-03852c362f.entry.js → p-21c48cf4dc.entry.js} +1 -1
- package/dist/baloise-design-system/p-21ea7b32f1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-cef33e1117.entry.js → p-22def77ab2.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7eec8c7a78.system.entry.js → p-26753a4e71.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b585853436.system.entry.js → p-339ebbd4b5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f647a73892.system.entry.js → p-36934c6f59.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-CsPrCX4f.system.js → p-3VlTyI5Z.system.js} +1 -1
- package/dist/baloise-design-system/{p-890c3ea355.system.entry.js → p-3a7485bf4b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1e26da72e8.entry.js → p-3affa87b70.entry.js} +1 -1
- package/dist/baloise-design-system/{p-14219e3845.entry.js → p-3caecad45b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-BCtb7Ny9.system.js → p-4RgSLeC0.system.js} +1 -1
- package/dist/baloise-design-system/{p-3bc249e38e.entry.js → p-54eb6e9571.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a5f3b37e21.system.entry.js → p-5c90302967.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-370f98a376.entry.js → p-5fb1a48855.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ee61799a11.system.entry.js → p-7f0bace3b5.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8346d5f6ae.entry.js +1 -0
- package/dist/baloise-design-system/{p-ed56778833.system.entry.js → p-8e7bf4426b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-05221bf226.system.entry.js → p-901481b44e.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-9ca0a9bf5c.entry.js +1 -0
- package/dist/baloise-design-system/{p-8bdcf69b1f.system.entry.js → p-9cae69a8ca.system.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-TGlXe_VY.js → p-Bc9poO2c.js} +1 -1
- package/dist/baloise-design-system/{p-0g14KuPx.system.js → p-Bl6P1gs4.system.js} +1 -1
- package/dist/baloise-design-system/p-BvSkuJ_n.js +1 -0
- package/dist/baloise-design-system/p-BzIZLOtt.system.js +1 -0
- package/dist/baloise-design-system/{p-DlPc3plk.js → p-CIWvfgPh.js} +1 -1
- package/dist/baloise-design-system/p-C_FHgwWW.js +1 -0
- package/dist/baloise-design-system/p-C_qvcMEM.system.js +1 -0
- package/dist/baloise-design-system/{p-DUpGQx_U.system.js → p-CkmzNEOM.system.js} +1 -1
- package/dist/baloise-design-system/{p-xlS5vO33.system.js → p-D5aEF_JU.system.js} +1 -1
- package/dist/baloise-design-system/{p-CFZjZt-s.js → p-DNTRij3s.js} +1 -1
- package/dist/baloise-design-system/{p-CHTPLy3W.system.js → p-DR3QfQXp.system.js} +1 -1
- package/dist/baloise-design-system/{p-ZalPEZLa.js → p-DRqAN-8G.js} +1 -1
- package/dist/baloise-design-system/p-Ectc3YAG.js +1 -0
- package/dist/baloise-design-system/{p-818b880ec5.entry.js → p-a714dfd9b4.entry.js} +1 -1
- package/dist/baloise-design-system/{p-14475f12e8.entry.js → p-c2dcd00373.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dd48a60d74.entry.js → p-c6cbc389ee.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8ea84ad7c7.entry.js → p-ce004dc80d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-01fdb2af3e.entry.js → p-de86c8d638.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dd5caee1bb.system.entry.js → p-e13bd26284.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ea38ac08ce.system.entry.js → p-e17c3e7827.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c47294e251.system.entry.js → p-e6dbf2325b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-41a0556d46.entry.js → p-e93cb8d6a1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3d9555be79.system.entry.js → p-eebeeda9c8.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9191e04f14.system.entry.js → p-f393662ba3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-239938cbc2.entry.js → p-fa30ecfd70.entry.js} +1 -1
- package/dist/baloise-design-system/{p-COFcDrAS.system.js → p-wBdKFrw3.system.js} +1 -1
- package/dist/cjs/app-globals-DcKvQZAC.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +0 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-doc-app.cjs.entry.js +231 -0
- package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-file-upload.cjs.entry.js +5 -5
- 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 +5 -5
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-DVSgAJPa.js → breakpoints.decorator-RNtFPvEH.js} +1 -1
- package/dist/cjs/{breakpoints.subject-PPg53GM5.js → breakpoints.subject-CzWuGU2-.js} +1 -1
- package/dist/cjs/{app-globals-D4xKyILL.js → global-BOGOCc0T.js} +2 -4
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/initialize-BzrcZo6Y.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{swipe.decorator-BZYUlkYt.js → swipe.decorator-C_jX7Il5.js} +1 -1
- package/dist/cjs/{swipe.subject-BaKNugDQ.js → swipe.subject-iyL-XVHG.js} +18 -0
- package/dist/cjs/{tokens.esm-B1kdQjzR.js → tokens.esm-Djn6_EE0.js} +1 -1
- package/dist/cjs/{window-resize.decorator-DHvgxiqB.js → window-resize.decorator-CSFSOm8f.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/bal-accordion/bal-accordion.js +2 -6
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +5 -5
- 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 +248 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/swipe/swipe.listener.js +19 -0
- package/dist/esm/app-globals-CIj5uAPM.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +0 -1
- package/dist/esm/bal-carousel_2.entry.js +5 -5
- package/dist/esm/bal-date-calendar_2.entry.js +2 -2
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-field_5.entry.js +3 -3
- package/dist/esm/bal-file-upload.entry.js +5 -5
- 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 +5 -5
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-CJwbnRPE.js → breakpoints.decorator-BSJRJLjh.js} +1 -1
- package/dist/esm/{breakpoints.subject-CKmK7JA0.js → breakpoints.subject-DpwS0UFy.js} +1 -1
- package/dist/esm/{app-globals-Blx--ecs.js → global-Llrc69_N.js} +2 -4
- package/dist/esm/index.js +4 -4
- package/dist/esm/initialize-W3od-FM9.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{swipe.decorator-B_Ghrp1o.js → swipe.decorator-B-pmjyNr.js} +1 -1
- package/dist/esm/{swipe.subject-T0VStuOK.js → swipe.subject-BXuaiulg.js} +18 -0
- package/dist/esm/{tokens.esm-DTyLTqMF.js → tokens.esm-1vqLg2fr.js} +1 -1
- package/dist/esm/{window-resize.decorator-xoiS5CvH.js → window-resize.decorator-aZK1dG1y.js} +1 -1
- package/dist/esm-es5/app-globals-CIj5uAPM.js +1 -0
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-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 → breakpoints.decorator-BSJRJLjh.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-CKmK7JA0.js → breakpoints.subject-DpwS0UFy.js} +1 -1
- package/dist/esm-es5/global-Llrc69_N.js +1 -0
- 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/{swipe.decorator-B_Ghrp1o.js → swipe.decorator-B-pmjyNr.js} +1 -1
- package/dist/esm-es5/swipe.subject-BXuaiulg.js +1 -0
- package/dist/esm-es5/{window-resize.decorator-xoiS5CvH.js → window-resize.decorator-aZK1dG1y.js} +1 -1
- package/dist/html.html-data.json +4 -0
- package/dist/types/components/bal-accordion/bal-accordion.d.ts +0 -1
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +81 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
- package/dist/types/utils/swipe/swipe.listener.d.ts +1 -0
- package/package.json +6 -6
- package/dist/baloise-design-system/p-Bk7UdnZ5.system.js +0 -1
- package/dist/baloise-design-system/p-CKN3W8qn.js +0 -1
- package/dist/baloise-design-system/p-CeIZ5hSt.js +0 -1
- package/dist/baloise-design-system/p-fb2960c1b6.entry.js +0 -1
- package/dist/esm-es5/app-globals-Blx--ecs.js +0 -1
- package/dist/esm-es5/swipe.subject-T0VStuOK.js +0 -1
- /package/dist/baloise-design-system/{p-DTyLTqMF.js → p-1vqLg2fr.js} +0 -0
- /package/dist/baloise-design-system/{p-68c75901a4.system.entry.js → p-67f2a7fbef.system.entry.js} +0 -0
- /package/dist/baloise-design-system/{p-7563a0a66d.entry.js → p-692f76ee0c.entry.js} +0 -0
- /package/dist/baloise-design-system/{p-1D6CbirM.system.js → p-BD5Br3wu.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-DTyLTqMF.js → tokens.esm-1vqLg2fr.js} +0 -0
|
@@ -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 { n as rIC, a as waitAfterFramePaint, o as addEventListener, p as removeEventListener, b 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, a 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}";
|
|
@@ -240,7 +240,7 @@ const FileUpload = /*@__PURE__*/ proxyCustomElement(class FileUpload extends HTM
|
|
|
240
240
|
maxFiles: this.maxFiles,
|
|
241
241
|
});
|
|
242
242
|
if (validatedFiles.invalidFiles.length > 0) {
|
|
243
|
-
this.balRejectedFile.emit(
|
|
243
|
+
validatedFiles.invalidFiles.forEach(file => this.balRejectedFile.emit(file));
|
|
244
244
|
}
|
|
245
245
|
if (validatedFiles.validFiles.length > 0) {
|
|
246
246
|
this.files = [...this.files, ...validatedFiles.validFiles];
|
|
@@ -384,16 +384,16 @@ const FileUpload = /*@__PURE__*/ proxyCustomElement(class FileUpload extends HTM
|
|
|
384
384
|
*/
|
|
385
385
|
render() {
|
|
386
386
|
const id = this.ariaForm.controlId || this.fileUploadId;
|
|
387
|
-
return (h(Host, { key: '
|
|
387
|
+
return (h(Host, { key: '777b6af9407be7027865f204a05be3b51977a8a7', onClick: this.onHostClick, "aria-disabled": ariaBooleanToString(this.disabled), class: {
|
|
388
388
|
'bal-file-upload': true,
|
|
389
|
-
} }, h("div", { key: '
|
|
389
|
+
} }, h("div", { key: 'a5a40cd9aa548183c4f0feaab16a30ac504da6c7', class: {
|
|
390
390
|
'file': true,
|
|
391
391
|
'is-disabled': this.disabled || this.readonly || this.loading,
|
|
392
392
|
'is-danger': this.invalid,
|
|
393
|
-
} }, h("label", { key: '
|
|
393
|
+
} }, h("label", { key: 'ed88786390952890387e357fd8d7f8e6a356fb02', htmlFor: id, ref: el => (this.labelEl = el), class: {
|
|
394
394
|
'file-label': true,
|
|
395
395
|
'is-disabled': this.disabled || this.loading || this.readonly,
|
|
396
|
-
} }, h("input", { key: '
|
|
396
|
+
} }, h("input", { key: '79bcf9f330b894a80dbe44b30b99bb631aad9f6f', class: "file-input", type: "file", id: id, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), name: this.name, multiple: this.multiple, disabled: this.disabled || this.loading || this.readonly, readonly: this.readonly, required: this.required, accept: this.accept, onClick: this.onInputClick, onChange: this.onInputChange, onFocus: this.onInputFocus, onBlur: this.onInputBlur, ref: el => (this.nativeInput = el), "data-testid": "bal-file-upload-input" }), this.loading ? (h("span", { class: "file-cta" }, h("bal-spinner", null))) : (h("span", { class: "file-cta" }, h("span", { class: "file-icon" }, h("bal-icon", { name: "upload", size: "medium", color: this.disabled || this.loading || this.readonly ? 'grey-light' : this.invalid ? 'danger' : 'blue' })), h("span", { class: "file-label", "data-testid": "bal-file-upload-label" }, this.label))))), this.hasFileList && this.files.length > 0 ? (h(FileListComponent, { files: this.files, disabled: this.disabled || this.readonly || this.loading, subTitle: this.subTitle, onRemoveFile: this.onRemoveFile })) : ('')));
|
|
397
397
|
}
|
|
398
398
|
get el() { return this; }
|
|
399
399
|
static get watchers() { return {
|
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 { n 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 { b as waitAfterIdleCallback, a 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 { n 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, q 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, n 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 { l 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, w 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 { n as rIC, i as isDescendant, f as waitForComponent, b 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 { w 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 { a 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 { q 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, m 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 { o as addEventListener, r as raf, p 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 { n as rIC, q as debounce, b 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, l 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 { l 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, q as debounce, k as debounceEvent, u as hasParent, l as rOnLoad, i as isDescendant, a 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 { q as debounce, o as addEventListener, p 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 { o as addEventListener, p 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 { b as waitAfterIdleCallback, i as isDescendant, o as addEventListener, p 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 { waitAfterFramePaint as a, waitAfterIdleCallback as b, componentOnReady as c, deepReady as d, waitAfterLargestContentfulPaintCallback as e, waitForComponent as f, getAppRoot as g, waitForDesignSystem as h, isDescendant as i, waitOnLoadEventCallback as j, debounceEvent as k, rOnLoad as l, hasTagName as m, rIC as n, addEventListener as o, removeEventListener as p, debounce as q, raf as r, shallowReady as s, transitionEndAsync as t, hasParent as u, isChildOfEventTarget as v, wait as w };
|