@baloise/ds-core 17.2.5 → 17.3.0-nightly.20250117
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-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +262 -0
- package/components/bal-dropdown.js +1 -1
- package/components/bal-notices.js +11 -7
- package/components/bal-notification.js +10 -3
- package/components/bal-snackbar.js +34 -28
- package/components/bal-spinner2.js +2 -2
- package/components/bal-stack2.js +1 -1
- package/components/bal-stage-back-link.js +2 -2
- package/components/bal-stage-body.js +1 -1
- package/components/bal-stage-foot.js +1 -1
- package/components/bal-stage-head.js +1 -1
- package/components/bal-stage-image.js +1 -1
- package/components/bal-stage.js +1 -1
- package/components/bal-step-item.js +2 -2
- package/components/bal-tab-item.js +2 -2
- package/components/bal-table.js +1 -1
- package/components/bal-tabs2.js +2 -2
- package/components/bal-tag-group.js +1 -1
- package/components/bal-tag2.js +1 -1
- package/components/bal-text2.js +2 -2
- package/components/bal-textarea.js +1 -1
- package/components/bal-time-input.js +1 -1
- package/components/bal-toast.js +9 -8
- package/components/bal-tooltip.js +1 -1
- package/components/index.js +5 -304
- package/components/initialize.js +312 -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-0d7b7182.js → p-007fc954.js} +1 -1
- package/dist/baloise-design-system/p-0170c59c18.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0932b2841b.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0b55b442e0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-0d0376d32d.entry.js +1 -0
- package/dist/baloise-design-system/{p-cb045ca0.system.js → p-0d3f11e3.system.js} +1 -1
- package/dist/baloise-design-system/{p-bb6304d0.system.js → p-0f37a65c.system.js} +1 -1
- package/dist/baloise-design-system/{p-0177e3a0.system.js → p-130a16ee.system.js} +1 -1
- package/dist/baloise-design-system/p-15677de7d0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-18b510f972.entry.js +1 -0
- package/dist/baloise-design-system/{p-e7d20c82.system.js → p-195ee683.system.js} +1 -1
- package/dist/baloise-design-system/{p-8a73c9b8.js → p-1a094c1b.js} +1 -1
- package/dist/baloise-design-system/p-1a91f0403a.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1b5f932fe9.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-86244838e4.entry.js → p-1c08d81e34.entry.js} +1 -1
- package/dist/baloise-design-system/{p-18d7c665.system.js → p-1e6c53c7.system.js} +1 -1
- package/dist/baloise-design-system/p-22bf3854a2.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-72312d33a3.system.entry.js → p-233258cd04.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-245629d7ca.system.entry.js +1 -0
- package/dist/baloise-design-system/p-270deaf56d.entry.js +1 -0
- package/dist/baloise-design-system/p-273fb2c2.system.js +1 -0
- package/dist/baloise-design-system/p-2ac179162f.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-72ffb739.system.js → p-2f1fbb48.system.js} +1 -1
- package/dist/baloise-design-system/p-2f3c628b01.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-a679bf1c24.entry.js → p-31443ba141.entry.js} +1 -1
- package/dist/baloise-design-system/p-32f2098f72.entry.js +1 -0
- package/dist/baloise-design-system/p-34797e19f0.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-d67d2979ad.system.entry.js → p-34ca390a2c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e3c1d653.js → p-35baa468.js} +1 -1
- package/dist/baloise-design-system/p-3664ca2ce5.system.entry.js +1 -0
- package/dist/baloise-design-system/p-38b11e34b4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-3b18905319.entry.js +1 -0
- package/dist/baloise-design-system/{p-89aaadaf.system.js → p-3bf02fb8.system.js} +1 -1
- package/dist/baloise-design-system/p-3fcdc7bf1d.entry.js +1 -0
- package/dist/baloise-design-system/{p-f39958528f.entry.js → p-403f40e26a.entry.js} +1 -1
- package/dist/baloise-design-system/p-43078d9a20.entry.js +1 -0
- package/dist/baloise-design-system/p-436204d6b0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-444d11044c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-69e7c8d6.js → p-44e7532c.js} +1 -1
- package/dist/baloise-design-system/p-4543306ed6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-45bbf6330f.entry.js +1 -0
- package/dist/baloise-design-system/p-46251973.js +1 -0
- package/dist/baloise-design-system/p-47660601a1.entry.js +1 -0
- package/dist/baloise-design-system/p-477a9f8a40.entry.js +1 -0
- package/dist/baloise-design-system/{p-4f99ecfe.system.js → p-47878379.system.js} +1 -1
- package/dist/baloise-design-system/p-489cda24c4.system.entry.js +1 -0
- package/dist/baloise-design-system/p-48a601d6f0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-48c06e18ca.system.entry.js +1 -0
- package/dist/baloise-design-system/p-4a614fb255.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-744daf78.js → p-4d7c0d39.js} +1 -1
- package/dist/baloise-design-system/p-4d7db9cd72.entry.js +1 -0
- package/dist/baloise-design-system/p-4dfdd589d8.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-c4088d90.js → p-4f4c99db.js} +1 -1
- package/dist/baloise-design-system/p-4f74bac34b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-cc35663d.js → p-513f6b88.js} +1 -1
- package/dist/baloise-design-system/p-540bfa19.system.js +1 -0
- package/dist/baloise-design-system/p-57777973d0.entry.js +1 -0
- package/dist/baloise-design-system/p-596000a871.entry.js +1 -0
- package/dist/baloise-design-system/p-5a3e5f6551.entry.js +1 -0
- package/dist/baloise-design-system/p-5c0ac570ac.entry.js +1 -0
- package/dist/baloise-design-system/p-5cd2674f.system.js +1 -0
- package/dist/baloise-design-system/p-5d5d78c033.entry.js +1 -0
- package/dist/baloise-design-system/{p-ebf5cc68.js → p-5d689d39.js} +1 -1
- package/dist/baloise-design-system/p-60839711e5.system.entry.js +1 -0
- package/dist/baloise-design-system/p-60898c978e.system.entry.js +1 -0
- package/dist/baloise-design-system/p-61e350025e.entry.js +1 -0
- package/dist/baloise-design-system/p-62f6d6e101.system.entry.js +1 -0
- package/dist/baloise-design-system/p-630b9272b1.entry.js +1 -0
- package/dist/baloise-design-system/p-63b89f722f.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-802216cd.system.js → p-64aca444.system.js} +1 -1
- package/dist/baloise-design-system/{p-ad5039de.system.js → p-68bef926.system.js} +1 -1
- package/dist/baloise-design-system/p-6c032f2c50.entry.js +1 -0
- package/dist/baloise-design-system/p-7042d9e34c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ee379377.js → p-71352a52.js} +1 -1
- package/dist/baloise-design-system/{p-54b7eb9ee0.entry.js → p-715f1670d4.entry.js} +1 -1
- package/dist/baloise-design-system/p-717d8ea880.entry.js +1 -0
- package/dist/baloise-design-system/p-725eed2595.entry.js +1 -0
- package/dist/baloise-design-system/p-759f25a3e5.entry.js +1 -0
- package/dist/baloise-design-system/p-77a0166eb8.entry.js +1 -0
- package/dist/baloise-design-system/p-7abb060a59.entry.js +1 -0
- package/dist/baloise-design-system/p-7c0cb969.system.js +1 -0
- package/dist/baloise-design-system/p-7c76d17d2f.entry.js +1 -0
- package/dist/baloise-design-system/p-7ced24b550.system.entry.js +1 -0
- package/dist/baloise-design-system/p-7e7d73b667.entry.js +1 -0
- package/dist/baloise-design-system/p-830d9e47.js +1 -0
- package/dist/baloise-design-system/{p-49361909.js → p-841d42ba.js} +1 -1
- package/dist/baloise-design-system/{p-a5ea24121d.entry.js → p-8594937575.entry.js} +1 -1
- package/dist/baloise-design-system/p-89a8d47c12.entry.js +1 -0
- package/dist/baloise-design-system/p-8ca39745bf.system.entry.js +1 -0
- package/dist/baloise-design-system/p-8cb8360dcd.system.entry.js +1 -0
- package/dist/baloise-design-system/p-8d1dc2f0d6.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-7396469a.system.js → p-8f6bf2ad.system.js} +1 -1
- package/dist/baloise-design-system/p-93a3dd9834.entry.js +1 -0
- package/dist/baloise-design-system/p-9438e5c989.entry.js +1 -0
- package/dist/baloise-design-system/{p-c6a673f7.system.js → p-95055e88.system.js} +1 -1
- package/dist/baloise-design-system/p-974e5cb5ec.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-1f762ec5aa.system.entry.js → p-975634d334.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-9762a47c03.entry.js +1 -0
- package/dist/baloise-design-system/{p-56c370cb.system.js → p-980e4b57.system.js} +1 -1
- package/dist/baloise-design-system/p-9b6e9746c1.entry.js +1 -0
- package/dist/baloise-design-system/{p-a33f51bca5.system.entry.js → p-9ba757663f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-9c4e561740.system.entry.js +1 -0
- package/dist/baloise-design-system/p-9fbf3690.system.js +1 -0
- package/dist/baloise-design-system/p-aa125ebac6.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ae30be6f8c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-e7150a50.system.js → p-b1c18bf1.system.js} +1 -1
- package/dist/baloise-design-system/p-b21f2874.system.js +1 -0
- package/dist/baloise-design-system/p-b3fee89b7f.entry.js +1 -0
- package/dist/baloise-design-system/{p-1d22490c.system.js → p-b63742f3.system.js} +1 -1
- package/dist/baloise-design-system/{p-d516d3b1.js → p-b7fbadbe.js} +1 -1
- package/dist/baloise-design-system/p-b8da005f.js +1 -0
- package/dist/baloise-design-system/p-c6f86d0612.entry.js +1 -0
- package/dist/baloise-design-system/p-c991d944.js +1 -0
- package/dist/baloise-design-system/{p-12edf09f.js → p-ca3bb9ce.js} +1 -1
- package/dist/baloise-design-system/{p-4e9084dc.js → p-caacebbe.js} +1 -1
- package/dist/baloise-design-system/{p-e7d6c81a63.system.entry.js → p-cc1b00dad4.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-cc899b3f92.entry.js +1 -0
- package/dist/baloise-design-system/p-ccdca1ecc8.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ce1ce7d198.system.entry.js +1 -0
- package/dist/baloise-design-system/p-d24c5aa8ad.entry.js +1 -0
- package/dist/baloise-design-system/p-d296994410.system.entry.js +1 -0
- package/dist/baloise-design-system/p-d5e8e2bec8.entry.js +1 -0
- package/dist/baloise-design-system/p-d96cc18c2d.system.entry.js +1 -0
- package/dist/baloise-design-system/p-d9bc111444.system.entry.js +1 -0
- package/dist/baloise-design-system/p-dc61e01d7b.entry.js +1 -0
- package/dist/baloise-design-system/p-ddfbabb4d5.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-8782ba61.system.js → p-de59bd37.system.js} +1 -1
- package/dist/baloise-design-system/p-e104ac3699.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-cc8cfbf3.js → p-e3e1d211.js} +1 -1
- package/dist/baloise-design-system/p-e4b50159.js +1 -0
- package/dist/baloise-design-system/p-e5c0a1dbb2.entry.js +1 -0
- package/dist/baloise-design-system/{p-e573491b.system.js → p-e60e0c65.system.js} +1 -1
- package/dist/baloise-design-system/{p-f557519e.js → p-e67ca444.js} +1 -1
- package/dist/baloise-design-system/{p-d1b12bcd.system.js → p-e70c7951.system.js} +1 -1
- package/dist/baloise-design-system/{p-c6dfe80e.system.js → p-e78be5ef.system.js} +1 -1
- package/dist/baloise-design-system/p-e7c9357245.entry.js +1 -0
- package/dist/baloise-design-system/p-e972e5d2f1.entry.js +1 -0
- package/dist/baloise-design-system/p-eaadfca758.entry.js +1 -0
- package/dist/baloise-design-system/p-ec5776f5.js +1 -0
- package/dist/baloise-design-system/p-ef3bfa9f.system.js +1 -0
- package/dist/baloise-design-system/p-ef6a64f4.js +1 -0
- package/dist/baloise-design-system/p-f01ae7b55b.entry.js +1 -0
- package/dist/baloise-design-system/p-f05776ad3b.entry.js +1 -0
- package/dist/baloise-design-system/p-f11e2822c1.system.entry.js +1 -0
- package/dist/baloise-design-system/p-f5db58379c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-b18c1a6c8e.entry.js → p-f5f7e99624.entry.js} +1 -1
- package/dist/baloise-design-system/{p-80f1ad47.js → p-f6447888.js} +1 -1
- package/dist/baloise-design-system/p-f80438cdac.entry.js +1 -0
- package/dist/baloise-design-system/p-fa43380807.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-7a6a128f.js → p-fe6cbf28.js} +1 -1
- package/dist/baloise-design-system/p-ff859bec24.system.entry.js +1 -0
- package/dist/baloise-design-system/p-ffeef88a26.entry.js +1 -0
- package/dist/cjs/{animation.decorator-d160ba91.js → animation.decorator-7a936417.js} +1 -1
- package/dist/cjs/app-globals-44d3a5af.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +4 -5
- package/dist/cjs/bal-app.cjs.entry.js +2 -3
- package/dist/cjs/bal-button_2.cjs.entry.js +2 -3
- package/dist/cjs/bal-carousel_2.cjs.entry.js +14 -15
- package/dist/cjs/bal-checkbox-button.cjs.entry.js +4 -5
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +5 -6
- package/dist/cjs/bal-close.cjs.entry.js +3 -4
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +3 -4
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +8 -9
- package/dist/cjs/bal-date.cjs.entry.js +7 -8
- package/dist/cjs/bal-doc-app.cjs.entry.js +233 -0
- package/dist/cjs/bal-dropdown.cjs.entry.js +7 -8
- package/dist/cjs/bal-field_5.cjs.entry.js +3 -4
- package/dist/cjs/bal-file-upload.cjs.entry.js +3 -4
- package/dist/cjs/bal-footer.cjs.entry.js +4 -5
- package/dist/cjs/bal-form.cjs.entry.js +2 -3
- package/dist/cjs/bal-heading_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-hint_5.cjs.entry.js +6 -7
- package/dist/cjs/bal-icon.cjs.entry.js +3 -4
- package/dist/cjs/bal-input-slider.cjs.entry.js +3 -4
- package/dist/cjs/bal-input-stepper.cjs.entry.js +6 -7
- package/dist/cjs/bal-input.cjs.entry.js +3 -4
- package/dist/cjs/bal-label.cjs.entry.js +3 -4
- package/dist/cjs/bal-list_8.cjs.entry.js +7 -8
- package/dist/cjs/bal-logo.cjs.entry.js +6 -7
- package/dist/cjs/bal-modal_3.cjs.entry.js +3 -4
- package/dist/cjs/bal-nav_8.cjs.entry.js +9 -10
- package/dist/cjs/bal-navbar_5.cjs.entry.js +5 -6
- package/dist/cjs/bal-notices_3.cjs.entry.js +44 -31
- package/dist/cjs/bal-notification.cjs.entry.js +7 -2
- package/dist/cjs/bal-number-input.cjs.entry.js +6 -7
- package/dist/cjs/bal-option_2.cjs.entry.js +4 -5
- package/dist/cjs/bal-pagination.cjs.entry.js +7 -8
- package/dist/cjs/bal-popup.cjs.entry.js +4 -5
- package/dist/cjs/bal-progress-bar.cjs.entry.js +6 -7
- package/dist/cjs/bal-radio-button.cjs.entry.js +4 -5
- package/dist/cjs/bal-radio_2.cjs.entry.js +5 -6
- package/dist/cjs/bal-segment_2.cjs.entry.js +10 -11
- package/dist/cjs/bal-select_2.cjs.entry.js +3 -4
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +6 -7
- package/dist/cjs/bal-stack.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +9 -10
- package/dist/cjs/bal-step-item.cjs.entry.js +2 -2
- package/dist/cjs/bal-steps.cjs.entry.js +7 -8
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +19 -20
- package/dist/cjs/bal-table.cjs.entry.js +1 -1
- package/dist/cjs/bal-tag_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-textarea.cjs.entry.js +4 -5
- package/dist/cjs/bal-time-input.cjs.entry.js +6 -7
- package/dist/cjs/bal-tooltip.cjs.entry.js +4 -5
- package/dist/cjs/baloise-design-system.cjs.js +7 -5
- package/dist/cjs/{breakpoints.decorator-ca324663.js → breakpoints.decorator-8bc2a3b4.js} +1 -1
- package/dist/cjs/{breakpoints.subject-d4a17081.js → breakpoints.subject-4a58cbc5.js} +2 -2
- package/dist/cjs/{config.decorator-b393a72f.js → config.decorator-c38efed9.js} +1 -1
- package/dist/cjs/config.default-48618371.js +48 -0
- package/dist/cjs/{icons.constant-7c82086a.js → config.utils-bccf141d.js} +82 -0
- package/dist/cjs/{date-c2a815e4.js → date-355f73bb.js} +1 -1
- package/dist/cjs/{element-states.decorator-f79681aa.js → element-states.decorator-c8199b43.js} +1 -1
- package/dist/cjs/{floating-ui-5cc3a363.js → floating-ui-3147d2ff.js} +1 -1
- package/dist/cjs/{focus.decorator-e6050e24.js → focus.decorator-fa6c95a5.js} +1 -1
- package/dist/cjs/{form-input-be32df30.js → form-input-85323470.js} +1 -1
- package/dist/cjs/global-872cca8d.js +9 -0
- package/dist/cjs/{helpers-240da822.js → helpers-c858e965.js} +20 -21
- package/dist/cjs/index.cjs.js +9 -10
- package/dist/cjs/{initialize-367b85e5.js → initialize-3059001f.js} +126 -117
- package/dist/cjs/loader.cjs.js +7 -5
- package/dist/cjs/{mutation.decorator-249a9606.js → mutation.decorator-229267c9.js} +1 -1
- package/dist/cjs/{number-111783eb.js → number-047915cd.js} +2 -2
- package/dist/cjs/{overlays-e408bbaf.js → overlays-81ea4414.js} +1 -1
- package/dist/cjs/{resize.decorator-ebed89a1.js → resize.decorator-16e4bcd7.js} +1 -1
- package/dist/cjs/{swipe.decorator-8ff8dd2c.js → swipe.decorator-220cd690.js} +1 -1
- package/dist/cjs/{swipe.subject-00bf8c8f.js → swipe.subject-65733bae.js} +1 -1
- package/dist/cjs/{swiper.util-ef01dd7a.js → swiper.util-9bad4b2d.js} +2 -2
- package/dist/cjs/{tokens.esm-7755b9a3.js → tokens.esm-21cc318e.js} +1 -1
- package/dist/cjs/{visibility.decorator-dc8cec8a.js → visibility.decorator-9e162aad.js} +1 -1
- package/dist/cjs/{window-resize.decorator-dd9de715.js → window-resize.decorator-4827af73.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/bal-dropdown/bal-dropdown.css +1 -1
- package/dist/collection/components/bal-notices/bal-notices.css +1 -1
- package/dist/collection/components/bal-notices/bal-notices.js +53 -5
- package/dist/collection/components/bal-notification/bal-notification.css +1 -1
- package/dist/collection/components/bal-notification/bal-notification.js +46 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.css +1 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +29 -21
- package/dist/collection/components/bal-spinner/bal-spinner.css +1 -1
- package/dist/collection/components/bal-spinner/bal-spinner.js +1 -1
- package/dist/collection/components/bal-stack/bal-stack.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +2 -2
- package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +1 -1
- package/dist/collection/components/bal-stage/bal-stage.js +1 -1
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
- package/dist/collection/components/bal-table/bal-table.js +1 -1
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +2 -2
- package/dist/collection/components/bal-tabs/bal-tabs.js +2 -2
- package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +1 -1
- package/dist/collection/components/bal-tag/bal-tag.js +1 -1
- package/dist/collection/components/bal-text/bal-text.js +2 -2
- package/dist/collection/components/bal-textarea/bal-textarea.js +1 -1
- package/dist/collection/components/bal-time-input/bal-time-input.js +1 -1
- package/dist/collection/components/bal-toast/bal-toast.css +1 -1
- package/dist/collection/components/bal-toast/bal-toast.js +27 -7
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
- 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/notice.controller.js +14 -5
- package/dist/esm/{animation.decorator-903bd4d2.js → animation.decorator-14b892ea.js} +1 -1
- package/dist/esm/app-globals-c5ea8144.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +4 -5
- package/dist/esm/bal-app.entry.js +2 -3
- package/dist/esm/bal-button_2.entry.js +2 -3
- package/dist/esm/bal-carousel_2.entry.js +14 -15
- package/dist/esm/bal-checkbox-button.entry.js +4 -5
- package/dist/esm/bal-checkbox_2.entry.js +5 -6
- package/dist/esm/bal-close.entry.js +3 -4
- package/dist/esm/bal-date-calendar-cell.entry.js +3 -4
- package/dist/esm/bal-date-calendar_2.entry.js +8 -9
- package/dist/esm/bal-date.entry.js +7 -8
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-dropdown.entry.js +7 -8
- package/dist/esm/bal-field_5.entry.js +3 -4
- package/dist/esm/bal-file-upload.entry.js +3 -4
- package/dist/esm/bal-footer.entry.js +4 -5
- package/dist/esm/bal-form.entry.js +2 -3
- package/dist/esm/bal-heading_2.entry.js +2 -2
- package/dist/esm/bal-hint_5.entry.js +6 -7
- package/dist/esm/bal-icon.entry.js +3 -4
- package/dist/esm/bal-input-slider.entry.js +3 -4
- package/dist/esm/bal-input-stepper.entry.js +6 -7
- package/dist/esm/bal-input.entry.js +3 -4
- package/dist/esm/bal-label.entry.js +3 -4
- package/dist/esm/bal-list_8.entry.js +7 -8
- package/dist/esm/bal-logo.entry.js +6 -7
- package/dist/esm/bal-modal_3.entry.js +3 -4
- package/dist/esm/bal-nav_8.entry.js +9 -10
- package/dist/esm/bal-navbar_5.entry.js +5 -6
- package/dist/esm/bal-notices_3.entry.js +44 -31
- package/dist/esm/bal-notification.entry.js +7 -2
- package/dist/esm/bal-number-input.entry.js +6 -7
- package/dist/esm/bal-option_2.entry.js +4 -5
- package/dist/esm/bal-pagination.entry.js +7 -8
- package/dist/esm/bal-popup.entry.js +4 -5
- package/dist/esm/bal-progress-bar.entry.js +6 -7
- package/dist/esm/bal-radio-button.entry.js +4 -5
- package/dist/esm/bal-radio_2.entry.js +5 -6
- package/dist/esm/bal-segment_2.entry.js +10 -11
- package/dist/esm/bal-select_2.entry.js +3 -4
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +6 -7
- package/dist/esm/bal-stack.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +9 -10
- package/dist/esm/bal-step-item.entry.js +2 -2
- package/dist/esm/bal-steps.entry.js +7 -8
- package/dist/esm/bal-tab-item_2.entry.js +19 -20
- package/dist/esm/bal-table.entry.js +1 -1
- package/dist/esm/bal-tag_2.entry.js +2 -2
- package/dist/esm/bal-textarea.entry.js +4 -5
- package/dist/esm/bal-time-input.entry.js +6 -7
- package/dist/esm/bal-tooltip.entry.js +4 -5
- package/dist/esm/baloise-design-system.js +7 -5
- package/dist/esm/{breakpoints.decorator-d02c344d.js → breakpoints.decorator-eb76b9f7.js} +1 -1
- package/dist/esm/{breakpoints.subject-b33e2f3a.js → breakpoints.subject-eefff46e.js} +2 -2
- package/dist/esm/{config.decorator-d18abfe1.js → config.decorator-09912ddf.js} +1 -1
- package/dist/esm/{config.default-7efdc82d.js → config.default-75703209.js} +1 -1
- package/dist/esm/{icons.constant-a7885631.js → config.utils-6c4a6204.js} +72 -1
- package/dist/esm/{date-3b88d03c.js → date-13fc5993.js} +1 -1
- package/dist/esm/{element-states.decorator-200c85c8.js → element-states.decorator-4567881f.js} +1 -1
- package/dist/esm/{floating-ui-f930810d.js → floating-ui-90bc6e58.js} +1 -1
- package/dist/esm/{focus.decorator-a6de858a.js → focus.decorator-43ea59ca.js} +1 -1
- package/dist/esm/{form-input-a5a2b129.js → form-input-3856ed2a.js} +1 -1
- package/dist/esm/global-181336dc.js +7 -0
- package/dist/esm/{helpers-21ff73ef.js → helpers-ae0db1dd.js} +1 -2
- package/dist/esm/index.js +11 -12
- package/dist/esm/{initialize-22c1bebc.js → initialize-66a526c0.js} +126 -117
- package/dist/esm/loader.js +7 -5
- package/dist/esm/{mutation.decorator-07d5ba75.js → mutation.decorator-f4254690.js} +1 -1
- package/dist/esm/{number-54693efa.js → number-42482e68.js} +2 -2
- package/dist/esm/{overlays-b7ba3a20.js → overlays-9a5950bd.js} +1 -1
- package/dist/esm/{resize.decorator-28179d27.js → resize.decorator-d4cbf627.js} +1 -1
- package/dist/esm/{swipe.decorator-b46cda4b.js → swipe.decorator-47bde191.js} +1 -1
- package/dist/esm/{swipe.subject-1d0412f1.js → swipe.subject-51271b9b.js} +1 -1
- package/dist/esm/{swiper.util-21981c17.js → swiper.util-a4c7d0f9.js} +2 -2
- package/dist/esm/{tokens.esm-7e86f897.js → tokens.esm-80d4337f.js} +1 -1
- package/dist/esm/{visibility.decorator-d0cac6a6.js → visibility.decorator-28c2d364.js} +1 -1
- package/dist/esm/{window-resize.decorator-165ca916.js → window-resize.decorator-c9f19a48.js} +1 -1
- package/dist/esm-es5/{animation.decorator-903bd4d2.js → animation.decorator-14b892ea.js} +1 -1
- package/dist/esm-es5/app-globals-c5ea8144.js +1 -0
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-app.entry.js +1 -1
- package/dist/esm-es5/bal-button_2.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox-button.entry.js +1 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/bal-close.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-date.entry.js +1 -1
- package/dist/esm-es5/bal-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-dropdown.entry.js +1 -1
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-form.entry.js +1 -1
- package/dist/esm-es5/bal-heading_2.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-icon.entry.js +1 -1
- package/dist/esm-es5/bal-input-slider.entry.js +1 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +1 -1
- package/dist/esm-es5/bal-input.entry.js +1 -1
- package/dist/esm-es5/bal-label.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-modal_3.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-notices_3.entry.js +1 -1
- package/dist/esm-es5/bal-notification.entry.js +1 -1
- package/dist/esm-es5/bal-number-input.entry.js +1 -1
- package/dist/esm-es5/bal-option_2.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popup.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-radio-button.entry.js +1 -1
- package/dist/esm-es5/bal-radio_2.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-select_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-spinner.entry.js +1 -1
- package/dist/esm-es5/bal-stack.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.entry.js +1 -1
- package/dist/esm-es5/bal-step-item.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/bal-table.entry.js +1 -1
- package/dist/esm-es5/bal-tag_2.entry.js +1 -1
- package/dist/esm-es5/bal-textarea.entry.js +1 -1
- package/dist/esm-es5/bal-time-input.entry.js +1 -1
- package/dist/esm-es5/bal-tooltip.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/{breakpoints.decorator-d02c344d.js → breakpoints.decorator-eb76b9f7.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-b33e2f3a.js → breakpoints.subject-eefff46e.js} +1 -1
- package/dist/esm-es5/{config.decorator-d18abfe1.js → config.decorator-09912ddf.js} +1 -1
- package/dist/esm-es5/config.default-75703209.js +1 -0
- package/dist/esm-es5/config.utils-6c4a6204.js +1 -0
- package/dist/esm-es5/{date-3b88d03c.js → date-13fc5993.js} +1 -1
- package/dist/esm-es5/{element-states.decorator-200c85c8.js → element-states.decorator-4567881f.js} +1 -1
- package/dist/esm-es5/{floating-ui-f930810d.js → floating-ui-90bc6e58.js} +1 -1
- package/dist/esm-es5/{focus.decorator-a6de858a.js → focus.decorator-43ea59ca.js} +1 -1
- package/dist/esm-es5/{form-input-a5a2b129.js → form-input-3856ed2a.js} +1 -1
- package/dist/esm-es5/global-181336dc.js +1 -0
- package/dist/esm-es5/helpers-ae0db1dd.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-66a526c0.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{mutation.decorator-07d5ba75.js → mutation.decorator-f4254690.js} +1 -1
- package/dist/esm-es5/number-42482e68.js +1 -0
- package/dist/esm-es5/{overlays-b7ba3a20.js → overlays-9a5950bd.js} +1 -1
- package/dist/esm-es5/{resize.decorator-28179d27.js → resize.decorator-d4cbf627.js} +1 -1
- package/dist/esm-es5/{swipe.decorator-b46cda4b.js → swipe.decorator-47bde191.js} +1 -1
- package/dist/esm-es5/{swipe.subject-1d0412f1.js → swipe.subject-51271b9b.js} +1 -1
- package/dist/esm-es5/{swiper.util-21981c17.js → swiper.util-a4c7d0f9.js} +1 -1
- package/dist/esm-es5/{visibility.decorator-d0cac6a6.js → visibility.decorator-28c2d364.js} +1 -1
- package/dist/esm-es5/{window-resize.decorator-165ca916.js → window-resize.decorator-c9f19a48.js} +1 -1
- package/dist/html.html-data.json +12 -0
- package/dist/types/components/bal-notices/bal-notices.d.ts +8 -0
- package/dist/types/components/bal-notification/bal-notification.d.ts +8 -0
- package/dist/types/components/bal-snackbar/bal-snackbar.d.ts +0 -3
- package/dist/types/components/bal-toast/bal-toast.d.ts +4 -1
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +63 -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/overlays/notice.controller.d.ts +2 -0
- package/package.json +7 -7
- package/dist/baloise-design-system/p-0640709738.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0a22b25b5b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0af64ec6f2.entry.js +0 -1
- package/dist/baloise-design-system/p-0c3b2d6c8e.entry.js +0 -1
- package/dist/baloise-design-system/p-0e323fe0.system.js +0 -1
- package/dist/baloise-design-system/p-11d1b8b8c6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-12ff7815.js +0 -1
- package/dist/baloise-design-system/p-145d5c4e.system.js +0 -1
- package/dist/baloise-design-system/p-14c3418170.system.entry.js +0 -1
- package/dist/baloise-design-system/p-16145691fd.entry.js +0 -1
- package/dist/baloise-design-system/p-1a77262b04.entry.js +0 -1
- package/dist/baloise-design-system/p-1b0ba8f0a2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-1df848f9fc.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2229e98e.js +0 -1
- package/dist/baloise-design-system/p-26a55cbddc.entry.js +0 -1
- package/dist/baloise-design-system/p-28f96ad58b.entry.js +0 -1
- package/dist/baloise-design-system/p-2a842fec05.entry.js +0 -1
- package/dist/baloise-design-system/p-2d4ebe6538.system.entry.js +0 -1
- package/dist/baloise-design-system/p-32faec4f65.entry.js +0 -1
- package/dist/baloise-design-system/p-36db598b9c.entry.js +0 -1
- package/dist/baloise-design-system/p-36fe1faedd.entry.js +0 -1
- package/dist/baloise-design-system/p-38ca9dfde3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3b5ab50d03.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3bd47497b5.entry.js +0 -1
- package/dist/baloise-design-system/p-3bda73d30c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-41931a0925.entry.js +0 -1
- package/dist/baloise-design-system/p-440f0ed2a6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-455872a1.system.js +0 -1
- package/dist/baloise-design-system/p-4584876a4c.entry.js +0 -1
- package/dist/baloise-design-system/p-4b7fd117bc.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4ba2983131.entry.js +0 -1
- package/dist/baloise-design-system/p-4c030e87cf.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4dad7840.js +0 -1
- package/dist/baloise-design-system/p-4fee64d2d2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-54d9711a77.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5591d69c49.entry.js +0 -1
- package/dist/baloise-design-system/p-59d20a5382.entry.js +0 -1
- package/dist/baloise-design-system/p-5b6ee3b824.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5b81757b8c.entry.js +0 -1
- package/dist/baloise-design-system/p-5b93e0df0c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5d2479f2ea.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5f234e78f6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-62251008b0.entry.js +0 -1
- package/dist/baloise-design-system/p-66df17135c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6e6f2f3713.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6efc37f9.system.js +0 -1
- package/dist/baloise-design-system/p-70f7b546.system.js +0 -1
- package/dist/baloise-design-system/p-7449aea98b.entry.js +0 -1
- package/dist/baloise-design-system/p-769dd49917.system.entry.js +0 -1
- package/dist/baloise-design-system/p-775dbee0fc.system.entry.js +0 -1
- package/dist/baloise-design-system/p-79554c4acd.system.entry.js +0 -1
- package/dist/baloise-design-system/p-79f753d617.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8243fda7b3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-85e3b067cf.system.entry.js +0 -1
- package/dist/baloise-design-system/p-87458c9059.system.entry.js +0 -1
- package/dist/baloise-design-system/p-899bc0be9d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8a47461794.entry.js +0 -1
- package/dist/baloise-design-system/p-8b386e9117.entry.js +0 -1
- package/dist/baloise-design-system/p-90385fd100.system.entry.js +0 -1
- package/dist/baloise-design-system/p-921b0836e1.entry.js +0 -1
- package/dist/baloise-design-system/p-96780bdefd.entry.js +0 -1
- package/dist/baloise-design-system/p-9b2657ef04.entry.js +0 -1
- package/dist/baloise-design-system/p-a1952399c3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a19d1e1d.js +0 -1
- package/dist/baloise-design-system/p-a39af8b3f1.entry.js +0 -1
- package/dist/baloise-design-system/p-a6ff014e4c.entry.js +0 -1
- package/dist/baloise-design-system/p-aafb6696.js +0 -1
- package/dist/baloise-design-system/p-aeca345ebb.entry.js +0 -1
- package/dist/baloise-design-system/p-b3f2c626.system.js +0 -1
- package/dist/baloise-design-system/p-b4576f5814.entry.js +0 -1
- package/dist/baloise-design-system/p-b534fd5f5a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b55c42a4a9.system.entry.js +0 -1
- package/dist/baloise-design-system/p-bb18da59e3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-bc9b6b4e82.system.entry.js +0 -1
- package/dist/baloise-design-system/p-bfa5f3ae60.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c1fcce934b.entry.js +0 -1
- package/dist/baloise-design-system/p-c353a1861c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c487d3770e.entry.js +0 -1
- package/dist/baloise-design-system/p-c844e6fbc9.entry.js +0 -1
- package/dist/baloise-design-system/p-c8bd61c717.entry.js +0 -1
- package/dist/baloise-design-system/p-c8db6fb15f.entry.js +0 -1
- package/dist/baloise-design-system/p-cb3920cc26.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d0066a5950.entry.js +0 -1
- package/dist/baloise-design-system/p-d1861b7c10.entry.js +0 -1
- package/dist/baloise-design-system/p-d306ec28cf.entry.js +0 -1
- package/dist/baloise-design-system/p-d568852b4c.entry.js +0 -1
- package/dist/baloise-design-system/p-d60b2e3878.entry.js +0 -1
- package/dist/baloise-design-system/p-d9b32333.system.js +0 -1
- package/dist/baloise-design-system/p-ddcc5387b5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e283e1cf22.entry.js +0 -1
- package/dist/baloise-design-system/p-e2c3dde206.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e3b0312116.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e53217f8.js +0 -1
- package/dist/baloise-design-system/p-e8382bd4a9.entry.js +0 -1
- package/dist/baloise-design-system/p-f089f4c8c8.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f2fde3ca52.entry.js +0 -1
- package/dist/baloise-design-system/p-f35275e46a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f47bafc866.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f5e11c86e5.entry.js +0 -1
- package/dist/baloise-design-system/p-f64319f1.js +0 -1
- package/dist/baloise-design-system/p-f8ca0ec73a.entry.js +0 -1
- package/dist/baloise-design-system/p-fd357a0c70.entry.js +0 -1
- package/dist/baloise-design-system/p-fff8faa67f.system.entry.js +0 -1
- package/dist/cjs/app-globals-a3f2765f.js +0 -11
- package/dist/cjs/config.default-5bdd6e3d.js +0 -48
- package/dist/cjs/config.utils-e4cd49d6.js +0 -84
- package/dist/esm/app-globals-92fef8fd.js +0 -9
- package/dist/esm/config.utils-6ac6c9bd.js +0 -72
- package/dist/esm-es5/app-globals-92fef8fd.js +0 -1
- package/dist/esm-es5/config.default-7efdc82d.js +0 -1
- package/dist/esm-es5/config.utils-6ac6c9bd.js +0 -1
- package/dist/esm-es5/helpers-21ff73ef.js +0 -1
- package/dist/esm-es5/icons.constant-a7885631.js +0 -1
- package/dist/esm-es5/initialize-22c1bebc.js +0 -1
- package/dist/esm-es5/number-54693efa.js +0 -1
- /package/dist/baloise-design-system/{p-0bd1bf82.js → p-821ffe35.js} +0 -0
- /package/dist/baloise-design-system/{p-32e7b6b1.system.js → p-c5149bd0.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-7e86f897.js → tokens.esm-80d4337f.js} +0 -0
|
@@ -400,7 +400,7 @@ const DropdownInput = ({ name, inputId, httpFormSubmit, ariaForm, rawValue, auto
|
|
|
400
400
|
h(Input, null)));
|
|
401
401
|
};
|
|
402
402
|
|
|
403
|
-
const balDropdownCss = ":root{--bal-dropdown-control-background:var(--bal-color-white);--bal-dropdown-control-background-hover:var(--bal-form-field-control-background-hover);--bal-dropdown-control-background-invalid:var(--bal-form-field-control-danger-background);--bal-dropdown-control-background-disabled:var(--bal-form-field-control-disabled-background);--bal-dropdown-control-input-background:var(--bal-color-grey-1);--bal-dropdown-control-native-input-background:transparent;--bal-dropdown-control-native-input-background-hover:transparent;--bal-dropdown-control-input-inverted-footer-background:transparent;--bal-dropdown-control-input-inverted-footer-background-hover:transparent;--bal-dropdown-control-input-multiple-background:transparent;--bal-dropdown-control-input-multiple-background-read-only-selection:transparent;--bal-dropdown-control-input-option-background:transparent;--bal-dropdown-control-input-option-background-selected:var(--bal-color-primary-1);--bal-dropdown-control-input-option-background-focused:var(--bal-color-grey-2);--bal-dropdown-control-input-option-background-hover:var(--bal-color-grey-2);--bal-dropdown-control-border-radius:var(--bal-form-field-control-radius);--bal-dropdown-popover-border-color:var(--bal-color-grey-2);--bal-dropdown-control-border-color:var(--bal-form-field-control-border-color);--bal-dropdown-control-border-color-focused:var(--bal-color-primary);--bal-dropdown-control-border-color-hover:var(--bal-form-field-control-border-color-hover);--bal-dropdown-control-border-color-invalid:var(--bal-form-field-control-danger-border-color);--bal-dropdown-control-border-color-disabled:var(--bal-form-field-control-disabled-border-color);--bal-dropdown-control-border-color-focus-within:var(--bal-color-primary);--bal-dropdown-option-border-top-color:var(--bal-color-grey-2);--bal-dropdown-popover-empty-text-color:var(--bal-form-field-control-color);--bal-dropdown-control-text-color:var(--bal-form-field-control-color);--bal-dropdown-control-text-color-focused:var(--bal-color-primary);--bal-dropdown-input-text-color-disabled:var(--bal-form-field-label-disabled-color);--bal-dropdown-control-inverted-footer-native-input-text-color:var(--bal-color-text-white);--bal-dropdown-option-content-label-text-color:var(--bal-form-field-control-color)}.bal-dropdown{display:block;position:relative;-ms-flex:1;flex:1;width:100%}.bal-dropdown__root{border-width:.125rem;border-style:solid;border-color:var(--bal-dropdown-control-border-color);border-radius:var(--bal-dropdown-control-border-radius);background:var(--bal-dropdown-control-background);font-weight:var(--bal-font-weight-regular);font-size:var(--bal-text-size-normal);font-family:var(--bal-font-family-text);color:var(--bal-dropdown-control-text-color);outline:none;-webkit-box-shadow:var(--bal-shadow-none);box-shadow:var(--bal-shadow-none);padding-right:1rem;height:auto;min-height:3rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:-ms-flexbox;display:flex;width:100%;text-align:left;gap:.5rem;padding-left:calc(.75em - var(--bal-border-width-normal));padding-right:calc(.75em - var(--bal-border-width-normal));-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-dropdown__root--autofill{background:#faffbd !important;background:light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important}.bal-dropdown__root>span{-ms-flex:1;flex:1;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bal-dropdown__root--focused{border-color:var(--bal-dropdown-control-border-color-focused)}.bal-dropdown__root--invalid{border-color:var(--bal-dropdown-control-border-color-invalid);background:var(--bal-dropdown-control-background-invalid)}.bal-dropdown__root--disabled{border-color:var(--bal-dropdown-control-border-color-disabled);background:var(--bal-dropdown-control-background-disabled)}.bal-dropdown__root__content--placeholder{color:var(--bal-form-field-control-placeholder-color)}.bal-dropdown__root__content--disabled{color:var(--bal-dropdown-input-text-color-disabled)}@media (hover: hover)and (pointer: fine){.bal-dropdown__root:not(.bal-dropdown__root--disabled):not(.bal-dropdown__root--invalid):not(.bal-dropdown__root--theme-purple):not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-dropdown-control-background-hover)}}.bal-dropdown__root__content__chips{--bal-tag-size-small-font-size:var(--bal-text-size-normal);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-xx-small);padding-top:var(--bal-space-x-small);padding-bottom:var(--bal-space-x-small)}.bal-dropdown__root__content__chips>bal-tag{z-index:1}.bal-dropdown__root__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:rgba(0,0,0,0);position:absolute;right:var(--bal-border-width-normal);left:var(--bal-border-width-normal);top:var(--bal-border-width-normal);bottom:var(--bal-border-width-normal);opacity:0;padding-left:calc(.75em - var(--bal-border-width-normal));padding-right:calc(.75em - var(--bal-border-width-normal));cursor:pointer}.bal-dropdown__root__input:disabled{cursor:default}.bal-dropdown__root__input:-webkit-autofill{opacity:1}.bal-dropdown__root__input:autofill{opacity:1}.bal-dropdown__root__input:-internal-autofill-selected{opacity:0}.bal-dropdown__root__select{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-dropdown__root--autofill .bal-dropdown__root__input{opacity:0}.bal-dropdown__list{display:block;visibility:hidden;opacity:0;min-width:100%;width:100%;position:absolute;top:0;left:0;will-change:left,top,opacity;background:var(--bal-color-white);border-radius:var(--bal-radius-normal);-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal);z-index:var(--bal-z-index-popup)}.bal-dropdown__list--expanded{visibility:visible;opacity:1}.bal-dropdown__native{bottom:0;left:0;position:absolute;opacity:0;pointer-events:none;width:100%}.bal-dropdown__clear{background:rgba(0,0,0,0);border:none;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;cursor:pointer}.bal-dropdown__clear--theme-purple{height:2rem;width:2rem;border-top-right-radius:2px;border-bottom-right-radius:2px;margin-right:-10px}.bal-dropdown__clear--theme-purple::before{content:\"\";position:absolute;right:32px;background:var(--bal-color-white);width:2px;height:100%}.bal-dropdown__rear{z-index:1}.bal-dropdown__root--size-small{min-height:2rem}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded){border:none;background:var(--bal-color-background-grey-light)}@media (hover: hover)and (pointer: fine){.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-color-purple-1)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner g,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner path,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner circle{fill:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active{background:var(--bal-color-purple-2)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner svg,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner g,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner path,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded){border:none;background:var(--bal-color-purple-2)}@media (hover: hover)and (pointer: fine){.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-color-purple-3)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__content{color:var(--bal-color-text-primary-pressed)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner g,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner path,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner circle{fill:var(--bal-color-text-primary-pressed)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active{background:var(--bal-color-purple-3)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner svg,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner g,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner path,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}}.bal-dropdown__root--theme-purple-expanded,.bal-dropdown__root--theme-purple-expanded:hover,.bal-dropdown__root--theme-purple-expanded:active{border:none;background:var(--bal-color-purple-2)}.bal-dropdown__root--theme-purple-expanded .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded .bal-dropdown__root__content,.bal-dropdown__root--theme-purple-expanded:hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded:hover .bal-dropdown__root__content,.bal-dropdown__root--theme-purple-expanded:active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded:active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple-expanded .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner circle,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner circle,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}.bal-dropdown__root--focused.bal-dropdown__root--theme-purple:before{content:\"\";border-width:var(--bal-border-width-normal);border-style:solid;border-color:var(--bal-focus-shadow);position:absolute;background:rgba(0,0,0,0);border-radius:var(--bal-radius-normal);top:-0.25rem;bottom:-0.25rem;left:-0.25rem;right:-0.25rem}.bal-dropdown__root__content--size-small{font-size:var(--bal-text-size-small);font-weight:var(--bal-font-weight-bold)}.bal-dropdown__clear--theme-purple{height:2rem;width:2rem;border-top-right-radius:2px;border-bottom-right-radius:2px;margin-right:-10px}.bal-dropdown__clear--theme-purple::before{content:\"\";position:absolute;right:32px;background:var(--bal-color-white);width:2px;height:100%}";
|
|
403
|
+
const balDropdownCss = ":root{--bal-dropdown-control-background:var(--bal-color-white);--bal-dropdown-control-background-hover:var(--bal-form-field-control-background-hover);--bal-dropdown-control-background-invalid:var(--bal-form-field-control-danger-background);--bal-dropdown-control-background-disabled:var(--bal-form-field-control-disabled-background);--bal-dropdown-control-input-background:var(--bal-color-grey-1);--bal-dropdown-control-native-input-background:transparent;--bal-dropdown-control-native-input-background-hover:transparent;--bal-dropdown-control-input-inverted-footer-background:transparent;--bal-dropdown-control-input-inverted-footer-background-hover:transparent;--bal-dropdown-control-input-multiple-background:transparent;--bal-dropdown-control-input-multiple-background-read-only-selection:transparent;--bal-dropdown-control-input-option-background:transparent;--bal-dropdown-control-input-option-background-selected:var(--bal-color-primary-1);--bal-dropdown-control-input-option-background-focused:var(--bal-color-grey-2);--bal-dropdown-control-input-option-background-hover:var(--bal-color-grey-2);--bal-dropdown-control-border-radius:var(--bal-form-field-control-radius);--bal-dropdown-popover-border-color:var(--bal-color-grey-2);--bal-dropdown-control-border-color:var(--bal-form-field-control-border-color);--bal-dropdown-control-border-color-focused:var(--bal-color-primary);--bal-dropdown-control-border-color-hover:var(--bal-form-field-control-border-color-hover);--bal-dropdown-control-border-color-invalid:var(--bal-form-field-control-danger-border-color);--bal-dropdown-control-border-color-disabled:var(--bal-form-field-control-disabled-border-color);--bal-dropdown-control-border-color-focus-within:var(--bal-color-primary);--bal-dropdown-option-border-top-color:var(--bal-color-grey-2);--bal-dropdown-popover-empty-text-color:var(--bal-form-field-control-color);--bal-dropdown-control-text-color:var(--bal-form-field-control-color);--bal-dropdown-control-text-color-focused:var(--bal-color-primary);--bal-dropdown-input-text-color-disabled:var(--bal-form-field-label-disabled-color);--bal-dropdown-control-inverted-footer-native-input-text-color:var(--bal-color-text-white);--bal-dropdown-option-content-label-text-color:var(--bal-form-field-control-color)}.bal-dropdown{display:block;position:relative;-ms-flex:1;flex:1;width:100%}.bal-dropdown__root{border-width:.125rem;border-style:solid;border-color:var(--bal-dropdown-control-border-color);border-radius:var(--bal-dropdown-control-border-radius);background:var(--bal-dropdown-control-background);font-weight:var(--bal-font-weight-regular);font-size:var(--bal-text-size-normal);font-family:var(--bal-font-family-text);color:var(--bal-dropdown-control-text-color);outline:none;-webkit-box-shadow:var(--bal-shadow-none);box-shadow:var(--bal-shadow-none);padding-right:1rem;height:auto;min-height:3rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:-ms-flexbox;display:flex;width:100%;text-align:left;gap:.5rem;padding-left:calc(.75em - var(--bal-border-width-normal));padding-right:calc(.75em - var(--bal-border-width-normal));-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-dropdown__root--autofill{background:#faffbd !important;background:light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important}.bal-dropdown__root>span{-ms-flex:1;flex:1;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bal-dropdown__root--focused{border-color:var(--bal-dropdown-control-border-color-focused)}.bal-dropdown__root--invalid{border-color:var(--bal-dropdown-control-border-color-invalid);background:var(--bal-dropdown-control-background-invalid)}.bal-dropdown__root--disabled{border-color:var(--bal-dropdown-control-border-color-disabled);background:var(--bal-dropdown-control-background-disabled)}.bal-dropdown__root__content--placeholder{color:var(--bal-form-field-control-placeholder-color)}.bal-dropdown__root__content--disabled{color:var(--bal-dropdown-input-text-color-disabled)}@media (hover: hover)and (pointer: fine){.bal-dropdown__root:not(.bal-dropdown__root--disabled):not(.bal-dropdown__root--invalid):not(.bal-dropdown__root--theme-purple):not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-dropdown-control-background-hover)}}.bal-dropdown__root__content__chips{--bal-tag-size-small-font-size:var(--bal-text-size-normal);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--bal-space-xx-small);padding-top:var(--bal-space-x-small);padding-bottom:var(--bal-space-x-small)}.bal-dropdown__root__content__chips>bal-tag{z-index:1}.bal-dropdown__root__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:rgba(0,0,0,0);position:absolute;right:var(--bal-border-width-normal);left:var(--bal-border-width-normal);top:var(--bal-border-width-normal);bottom:var(--bal-border-width-normal);opacity:0;padding-left:calc(.75em - var(--bal-border-width-normal));padding-right:calc(.75em - var(--bal-border-width-normal));cursor:pointer}.bal-dropdown__root__input:disabled{cursor:default}.bal-dropdown__root__input:-webkit-autofill{opacity:1}.bal-dropdown__root__input:autofill{opacity:1}.bal-dropdown__root__input:-internal-autofill-selected{opacity:0}.bal-dropdown__root__select{position:absolute !important;left:0;top:0;margin:0;padding:0;opacity:0;outline:0;border:none;width:1px;height:1px;clip:rect(1px, 1px, 1px, 1px);overflow:hidden}.bal-dropdown__root--autofill .bal-dropdown__root__input{opacity:0}.bal-dropdown__list{display:none;visibility:hidden;opacity:0;min-width:100%;width:100%;position:absolute;top:0;left:0;will-change:left,top,opacity;background:var(--bal-color-white);border-radius:var(--bal-radius-normal);-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal);z-index:var(--bal-z-index-popup)}.bal-dropdown__list--expanded{display:block;visibility:visible;opacity:1}.bal-dropdown__native{bottom:0;left:0;position:absolute;opacity:0;pointer-events:none;width:100%}.bal-dropdown__clear{background:rgba(0,0,0,0);border:none;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;cursor:pointer}.bal-dropdown__clear--theme-purple{height:2rem;width:2rem;border-top-right-radius:2px;border-bottom-right-radius:2px;margin-right:-10px}.bal-dropdown__clear--theme-purple::before{content:\"\";position:absolute;right:32px;background:var(--bal-color-white);width:2px;height:100%}.bal-dropdown__rear{z-index:1}.bal-dropdown__root--size-small{min-height:2rem}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded){border:none;background:var(--bal-color-background-grey-light)}@media (hover: hover)and (pointer: fine){.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-color-purple-1)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner g,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner path,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner circle{fill:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active{background:var(--bal-color-purple-2)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner svg,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner g,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner path,.bal-dropdown__root--theme-purple:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded){border:none;background:var(--bal-color-purple-2)}@media (hover: hover)and (pointer: fine){.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover{background:var(--bal-color-purple-3)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-dropdown__root__content{color:var(--bal-color-text-primary-pressed)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner g,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner path,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):hover .bal-icon__inner circle{fill:var(--bal-color-text-primary-pressed)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active{background:var(--bal-color-purple-3)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner svg,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner g,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner path,.bal-dropdown__root--theme-purple-filled:not(.bal-dropdown__root--theme-purple-expanded):active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}}.bal-dropdown__root--theme-purple-expanded,.bal-dropdown__root--theme-purple-expanded:hover,.bal-dropdown__root--theme-purple-expanded:active{border:none;background:var(--bal-color-purple-2)}.bal-dropdown__root--theme-purple-expanded .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded .bal-dropdown__root__content,.bal-dropdown__root--theme-purple-expanded:hover .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded:hover .bal-dropdown__root__content,.bal-dropdown__root--theme-purple-expanded:active .bal-dropdown__root__input,.bal-dropdown__root--theme-purple-expanded:active .bal-dropdown__root__content{color:var(--bal-color-text-primary)}.bal-dropdown__root--theme-purple-expanded .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded .bal-icon__inner circle,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded:hover .bal-icon__inner circle,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner svg,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner g,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner path,.bal-dropdown__root--theme-purple-expanded:active .bal-icon__inner circle{fill:var(--bal-color-text-primary)}.bal-dropdown__root--focused.bal-dropdown__root--theme-purple:before{content:\"\";border-width:var(--bal-border-width-normal);border-style:solid;border-color:var(--bal-focus-shadow);position:absolute;background:rgba(0,0,0,0);border-radius:var(--bal-radius-normal);top:-0.25rem;bottom:-0.25rem;left:-0.25rem;right:-0.25rem}.bal-dropdown__root__content--size-small{font-size:var(--bal-text-size-small);font-weight:var(--bal-font-weight-bold)}.bal-dropdown__clear--theme-purple{height:2rem;width:2rem;border-top-right-radius:2px;border-bottom-right-radius:2px;margin-right:-10px}.bal-dropdown__clear--theme-purple::before{content:\"\";position:absolute;right:32px;background:var(--bal-color-white);width:2px;height:100%}";
|
|
404
404
|
const BalDropdownStyle0 = balDropdownCss;
|
|
405
405
|
|
|
406
406
|
const Dropdown = /*@__PURE__*/ proxyCustomElement(class Dropdown extends HTMLElement {
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { B as BEM } from './bem.js';
|
|
2
3
|
|
|
3
|
-
const balNoticesCss = ".bal-notices{position:fixed !important;display:-ms-flexbox !important;display:flex !important;top:0 !important;bottom:0 !important;left:0 !important;right:0 !important;padding:1rem !important;margin:0 !important;overflow:hidden !important;z-index:var(--bal-z-index-toast) !important;pointer-events:none !important;-ms-flex-direction:column !important;flex-direction:column !important}.bal-notices
|
|
4
|
+
const balNoticesCss = ".bal-notices{position:fixed !important;display:-ms-flexbox !important;display:flex !important;top:0 !important;bottom:0 !important;left:0 !important;right:0 !important;padding-top:1rem !important;padding-bottom:1rem !important;margin:0 !important;overflow:hidden !important;z-index:var(--bal-z-index-toast) !important;pointer-events:none !important;-ms-flex-direction:column !important;flex-direction:column !important}.bal-notices:not(.bal-notices--container){padding-left:1rem !important;padding-right:1rem !important}.bal-notices__inner{display:-ms-flexbox;display:flex;gap:.5rem}.bal-notices__inner--snackbar{height:100vh;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:end;align-items:flex-end;-ms-flex-direction:column;flex-direction:column;margin:.5em}.bal-notices__inner--snackbar .bal-snackbar{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-item-align:end;align-self:flex-end;pointer-events:auto !important}.bal-notices__inner--toast{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;margin:.5em}.bal-notices__inner--toast .bal-toast{-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:center;align-self:center}.bal-notices__inner.container{--bal-toast-width:100%;--bal-toast-width-tablet:100%;--bal-toast-width-desktop:100%}.bal-notices--animated .bal-toast{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:slideInDown;animation-name:slideInDown}.bal-notices--animated .bal-snackbar{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideInDown{from{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInDown{from{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes slideInUp{from{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInUp{from{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";
|
|
4
5
|
const BalNoticesStyle0 = balNoticesCss;
|
|
5
6
|
|
|
6
7
|
const Notices = /*@__PURE__*/ proxyCustomElement(class Notices extends HTMLElement {
|
|
7
8
|
constructor() {
|
|
8
9
|
super();
|
|
9
10
|
this.__registerHost();
|
|
11
|
+
this.animated = true;
|
|
10
12
|
this.interface = 'toast';
|
|
13
|
+
this.container = undefined;
|
|
11
14
|
}
|
|
12
15
|
render() {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} }, h("slot", { key: 'f761cd73d1cfc480e0992c9b32cc6fd30eeca51e' })));
|
|
16
|
+
const block = BEM.block('notices');
|
|
17
|
+
const innerEl = block.element('inner');
|
|
18
|
+
const hasContainer = this.interface === 'toast' && this.container !== undefined;
|
|
19
|
+
return (h(Host, { key: '053b822408de6ad62883b8a901648d7c4bece50a', class: Object.assign(Object.assign(Object.assign({ 'bal-app': true }, block.class()), block.modifier('container').class(hasContainer)), block.modifier('animated').class(this.animated)) }, h("div", { key: '0a46d87a51d6b6501d55484b03dc20b19892d03c', class: Object.assign(Object.assign(Object.assign({}, innerEl.class()), innerEl.modifier(this.interface).class()), { container: hasContainer, [`is-${this.container}`]: hasContainer && this.container !== '' }) }, h("slot", { key: '157c6c9f6e0ea1a31022716502c2f6faa443f688' }))));
|
|
18
20
|
}
|
|
19
21
|
static get style() { return BalNoticesStyle0; }
|
|
20
22
|
}, [4, "bal-notices", {
|
|
21
|
-
"
|
|
23
|
+
"animated": [4],
|
|
24
|
+
"interface": [1],
|
|
25
|
+
"container": [1]
|
|
22
26
|
}]);
|
|
23
27
|
function defineCustomElement$1() {
|
|
24
28
|
if (typeof customElements === "undefined") {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { B as BEM } from './bem.js';
|
|
2
3
|
|
|
3
|
-
const balNotificationCss = ":root{--bal-notification-font-size:var(--bal-text-size-normal);--bal-notification-font-family:var(--bal-font-family-text);--bal-notification-background:var(--bal-color-grey-2);--bal-notification-background-primary:var(--bal-color-grey-2);--bal-notification-background-info:var(--bal-color-info-2);--bal-notification-background-success:var(--bal-color-success-2);--bal-notification-background-warning:var(--bal-color-warning-2);--bal-notification-background-danger:var(--bal-color-danger-2);--bal-notification-radius:var(--bal-radius-large);--bal-notification-color:var(--bal-color-text-primary);--bal-notification-color-primary:var(--bal-color-text-primary);--bal-notification-color-info:var(--bal-color-text-primary);--bal-notification-color-success:var(--bal-color-text-primary);--bal-notification-color-warning:var(--bal-color-text-primary);--bal-notification-color-danger:var(--bal-color-text-primary)}.bal-notification{display:block;position:static}.bal-notification__inner{min-height:3.5rem;border-radius:var(--bal-notification-radius);font-size:var(--bal-notification-font-size);font-family:var(--bal-notification-font-family);background:var(--bal-notification-background);color:var(--bal-notification-color);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-notification__inner{padding:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-notification__inner{padding:var(--bal-space-medium-desktop)}}.bal-notification__inner--color-primary{background:var(--bal-notification-background-primary);color:var(--bal-notification-color-primary)}.bal-notification__inner--color-info{background:var(--bal-notification-background-info);color:var(--bal-notification-color-info)}.bal-notification__inner--color-danger{background:var(--bal-notification-background-danger);color:var(--bal-notification-color-danger)}.bal-notification__inner--color-warning{background:var(--bal-notification-background-warning);color:var(--bal-notification-color-warning)}.bal-notification__inner--color-success{background:var(--bal-notification-background-success);color:var(--bal-notification-color-success)}";
|
|
4
|
+
const balNotificationCss = ":root{--bal-notification-font-size:var(--bal-text-size-normal);--bal-notification-font-family:var(--bal-font-family-text);--bal-notification-title-font-family:var(--bal-font-family-title);--bal-notification-title-font-size:var(--bal-text-size-medium);--bal-notification-title-font-size-tablet:var(--bal-text-size-medium-tablet);--bal-notification-title-font-size-desktop:var(--bal-text-size-medium-desktop);--bal-notification-background:var(--bal-color-grey-2);--bal-notification-background-primary:var(--bal-color-grey-2);--bal-notification-background-info:var(--bal-color-info-2);--bal-notification-background-success:var(--bal-color-success-2);--bal-notification-background-warning:var(--bal-color-warning-2);--bal-notification-background-danger:var(--bal-color-danger-2);--bal-notification-background-light:var(--bal-color-grey-1);--bal-notification-background-light-primary:var(--bal-color-purple-1);--bal-notification-background-light-info:var(--bal-color-info-1);--bal-notification-background-light-success:var(--bal-color-green-1);--bal-notification-background-light-warning:var(--bal-color-yellow-1);--bal-notification-background-light-danger:var(--bal-color-red-1);--bal-notification-border:var(--bal-color-grey-4);--bal-notification-border-primary:var(--bal-color-purple-3);--bal-notification-border-info:var(--bal-color-info-3);--bal-notification-border-success:var(--bal-color-green-5);--bal-notification-border-warning:var(--bal-color-yellow-4);--bal-notification-border-danger:var(--bal-color-red-4);--bal-notification-radius:var(--bal-radius-large);--bal-notification-light-radius:var(--bal-radius-normal);--bal-notification-color:var(--bal-color-text-primary);--bal-notification-color-primary:var(--bal-color-text-primary);--bal-notification-color-info:var(--bal-color-text-primary);--bal-notification-color-success:var(--bal-color-text-primary);--bal-notification-color-warning:var(--bal-color-text-primary);--bal-notification-color-danger:var(--bal-color-text-primary)}.bal-notification{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;gap:.125rem;position:relative;min-height:3.5rem;border-radius:var(--bal-notification-radius);font-family:var(--bal-notification-font-family);font-size:var(--bal-notification-font-size);font-weight:var(--bal-font-weight-regular);background:var(--bal-notification-background);color:var(--bal-notification-color);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding:var(--bal-space-medium)}@media screen and (min-width: 769px),print{.bal-notification{padding:var(--bal-space-medium-tablet)}}@media screen and (min-width: 1024px){.bal-notification{padding:var(--bal-space-medium-desktop)}}.bal-notification>strong,.bal-notification>b,.bal-notification>h2{font-family:var(--bal-notification-title-font-family);font-weight:var(--bal-font-weight-bold);font-size:var(--bal-notification-title-font-size);line-height:var(--bal-text-line-height-title)}@media screen and (min-width: 769px),print{.bal-notification>strong,.bal-notification>b,.bal-notification>h2{font-size:var(--bal-notification-title-font-size-tablet)}}@media screen and (min-width: 1024px){.bal-notification>strong,.bal-notification>b,.bal-notification>h2{font-size:var(--bal-notification-title-font-size-desktop)}}.bal-notification>span,.bal-notification>p{font-family:var(--bal-notification-font-family);font-size:var(--bal-notification-font-size);font-weight:var(--bal-font-weight-regular);line-height:var(--bal-text-line-height-text)}.bal-notification--color-light{border:2px solid var(--bal-notification-border-primary);background:var(--bal-notification-background-light-primary);color:var(--bal-notification-color-primary);border-radius:var(--bal-notification-light-radius)}.bal-notification--color-primary{background:var(--bal-notification-background-primary);color:var(--bal-notification-color-primary)}.bal-notification--color-primary-light{border:2px solid var(--bal-notification-border-primary);background:var(--bal-notification-background-light-primary);color:var(--bal-notification-color-primary);border-radius:var(--bal-notification-light-radius)}.bal-notification--color-info{background:var(--bal-notification-background-info);color:var(--bal-notification-color-info)}.bal-notification--color-info-light{border:2px solid var(--bal-notification-border-info);background:var(--bal-notification-background-light-info);color:var(--bal-notification-color-info);border-radius:var(--bal-notification-light-radius)}.bal-notification--color-danger{background:var(--bal-notification-background-danger);color:var(--bal-notification-color-danger)}.bal-notification--color-danger-light{border:2px solid var(--bal-notification-border-danger);background:var(--bal-notification-background-light-danger);color:var(--bal-notification-color-danger);border-radius:var(--bal-notification-light-radius)}.bal-notification--color-warning{background:var(--bal-notification-background-warning);color:var(--bal-notification-color-warning)}.bal-notification--color-warning-light{border:2px solid var(--bal-notification-border-warning);background:var(--bal-notification-background-light-warning);color:var(--bal-notification-color-warning);border-radius:var(--bal-notification-light-radius)}.bal-notification--color-success{background:var(--bal-notification-background-success);color:var(--bal-notification-color-success)}.bal-notification--color-success-light{border:2px solid var(--bal-notification-border-success);background:var(--bal-notification-background-light-success);color:var(--bal-notification-color-success);border-radius:var(--bal-notification-light-radius)}.bal-notification:not(.bal-notification--no-icon){padding-left:3rem}.bal-notification:not(.bal-notification--no-icon):before{background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;position:absolute;height:1.5rem;width:1.5rem;left:.825rem;top:1.5rem;content:\"\";display:block;background-color:var(--bal-color-primary);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M5.52 3.448C6.452 2.521 7.716 2 9.033 2s2.562 0.521 3.493 1.448C13.478 4.374 14.001 5.632 14.001 6.942v4.413c0 0.31 0.124 0.605 0.344 0.824 0.249 0.248 0.445 0.342 0.719 0.342 0.278 0 0.503 0.224 0.503 0.501 0 0.277-0.225 0.501-0.503 0.501H3.003c-0.278 0-0.503-0.224-0.503-0.501 0-0.277 0.225-0.501 0.503-0.501 0.275 0 0.47-0.094 0.719-0.342 0.219-0.219 0.344-0.514 0.344-0.824V6.942c0-1.311 0.523-2.569 1.456-3.494zM7.274 15.25c0-0.414 0.338-0.75 0.754-0.75h2.01c0.416 0 0.754 0.336 0.754 0.75s-0.338 0.75-0.754 0.75h-2.01c-0.416 0-0.754-0.336-0.754-0.75z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M5.52 3.448C6.452 2.521 7.716 2 9.033 2s2.562 0.521 3.493 1.448C13.478 4.374 14.001 5.632 14.001 6.942v4.413c0 0.31 0.124 0.605 0.344 0.824 0.249 0.248 0.445 0.342 0.719 0.342 0.278 0 0.503 0.224 0.503 0.501 0 0.277-0.225 0.501-0.503 0.501H3.003c-0.278 0-0.503-0.224-0.503-0.501 0-0.277 0.225-0.501 0.503-0.501 0.275 0 0.47-0.094 0.719-0.342 0.219-0.219 0.344-0.514 0.344-0.824V6.942c0-1.311 0.523-2.569 1.456-3.494zM7.274 15.25c0-0.414 0.338-0.75 0.754-0.75h2.01c0.416 0 0.754 0.336 0.754 0.75s-0.338 0.75-0.754 0.75h-2.01c-0.416 0-0.754-0.336-0.754-0.75z\" fill=\"black\"/></svg>')}.bal-notification--color-primary:not(.bal-notification--no-icon):before,.bal-notification--color-primary-light:not(.bal-notification--no-icon):before{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M5.52 3.448C6.452 2.521 7.716 2 9.033 2s2.562 0.521 3.493 1.448C13.478 4.374 14.001 5.632 14.001 6.942v4.413c0 0.31 0.124 0.605 0.344 0.824 0.249 0.248 0.445 0.342 0.719 0.342 0.278 0 0.503 0.224 0.503 0.501 0 0.277-0.225 0.501-0.503 0.501H3.003c-0.278 0-0.503-0.224-0.503-0.501 0-0.277 0.225-0.501 0.503-0.501 0.275 0 0.47-0.094 0.719-0.342 0.219-0.219 0.344-0.514 0.344-0.824V6.942c0-1.311 0.523-2.569 1.456-3.494zM7.274 15.25c0-0.414 0.338-0.75 0.754-0.75h2.01c0.416 0 0.754 0.336 0.754 0.75s-0.338 0.75-0.754 0.75h-2.01c-0.416 0-0.754-0.336-0.754-0.75z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M5.52 3.448C6.452 2.521 7.716 2 9.033 2s2.562 0.521 3.493 1.448C13.478 4.374 14.001 5.632 14.001 6.942v4.413c0 0.31 0.124 0.605 0.344 0.824 0.249 0.248 0.445 0.342 0.719 0.342 0.278 0 0.503 0.224 0.503 0.501 0 0.277-0.225 0.501-0.503 0.501H3.003c-0.278 0-0.503-0.224-0.503-0.501 0-0.277 0.225-0.501 0.503-0.501 0.275 0 0.47-0.094 0.719-0.342 0.219-0.219 0.344-0.514 0.344-0.824V6.942c0-1.311 0.523-2.569 1.456-3.494zM7.274 15.25c0-0.414 0.338-0.75 0.754-0.75h2.01c0.416 0 0.754 0.336 0.754 0.75s-0.338 0.75-0.754 0.75h-2.01c-0.416 0-0.754-0.336-0.754-0.75z\" fill=\"black\"/></svg>')}.bal-notification--color-info:not(.bal-notification--no-icon):before,.bal-notification--color-info-light:not(.bal-notification--no-icon):before{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M6.176 13.705c-0.65 0-1.176 0.514-1.176 1.147 0 0.635 0.526 1.149 1.176 1.149h2.824h2.824c0.65 0 1.176-0.514 1.176-1.149 0-0.633-0.526-1.147-1.176-1.147h-1.647V8.426c0-0.634-0.526-1.147-1.176-1.147H7.118C6.468 7.279 5.941 7.792 5.941 8.426c0 0.633 0.526 1.147 1.176 1.147h0.706v4.132H6.176zM10.882 3.836c0 1.014-0.843 1.836-1.882 1.836S7.118 4.85 7.118 3.836C7.118 2.822 7.96 2 9 2s1.882 0.822 1.882 1.836z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M6.176 13.705c-0.65 0-1.176 0.514-1.176 1.147 0 0.635 0.526 1.149 1.176 1.149h2.824h2.824c0.65 0 1.176-0.514 1.176-1.149 0-0.633-0.526-1.147-1.176-1.147h-1.647V8.426c0-0.634-0.526-1.147-1.176-1.147H7.118C6.468 7.279 5.941 7.792 5.941 8.426c0 0.633 0.526 1.147 1.176 1.147h0.706v4.132H6.176zM10.882 3.836c0 1.014-0.843 1.836-1.882 1.836S7.118 4.85 7.118 3.836C7.118 2.822 7.96 2 9 2s1.882 0.822 1.882 1.836z\" fill=\"black\"/></svg>')}.bal-notification--color-success:not(.bal-notification--no-icon):before,.bal-notification--color-success-light:not(.bal-notification--no-icon):before{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M15.637 3.247c0.426 0.379 0.486 1.059 0.134 1.518L7.73 15.251l-0.002 0.003c-0.183 0.237-0.413 0.426-0.672 0.555-0.26 0.13-0.543 0.195-0.829 0.191-0.291-0.004-0.577-0.08-0.837-0.219-0.259-0.14-0.485-0.341-0.662-0.588l-2.517-3.488c-0.339-0.47-0.261-1.147 0.175-1.512 0.436-0.365 1.064-0.28 1.403 0.19l2.463 3.414 7.976-10.403c0.352-0.459 0.982-0.524 1.408-0.144z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M15.637 3.247c0.426 0.379 0.486 1.059 0.134 1.518L7.73 15.251l-0.002 0.003c-0.183 0.237-0.413 0.426-0.672 0.555-0.26 0.13-0.543 0.195-0.829 0.191-0.291-0.004-0.577-0.08-0.837-0.219-0.259-0.14-0.485-0.341-0.662-0.588l-2.517-3.488c-0.339-0.47-0.261-1.147 0.175-1.512 0.436-0.365 1.064-0.28 1.403 0.19l2.463 3.414 7.976-10.403c0.352-0.459 0.982-0.524 1.408-0.144z\" fill=\"black\"/></svg>')}.bal-notification--color-warning:not(.bal-notification--no-icon):before,.bal-notification--color-warning-light:not(.bal-notification--no-icon):before{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M9.333 2c0.805 0 1.458 0.514 1.458 1.148v5.508c0 0.634-0.653 1.148-1.458 1.148s-1.458-0.514-1.458-1.148V3.148C7.875 2.514 8.528 2 9.333 2zM9.333 16c1.289 0 2.334-0.822 2.334-1.836s-1.045-1.836-2.334-1.836S7 13.15 7 14.164 8.044 16 9.333 16z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M9.333 2c0.805 0 1.458 0.514 1.458 1.148v5.508c0 0.634-0.653 1.148-1.458 1.148s-1.458-0.514-1.458-1.148V3.148C7.875 2.514 8.528 2 9.333 2zM9.333 16c1.289 0 2.334-0.822 2.334-1.836s-1.045-1.836-2.334-1.836S7 13.15 7 14.164 8.044 16 9.333 16z\" fill=\"black\"/></svg>')}.bal-notification--color-danger:not(.bal-notification--no-icon):before,.bal-notification--color-danger-light:not(.bal-notification--no-icon):before{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M9.333 2c0.805 0 1.458 0.514 1.458 1.148v5.508c0 0.634-0.653 1.148-1.458 1.148s-1.458-0.514-1.458-1.148V3.148C7.875 2.514 8.528 2 9.333 2zM9.333 16c1.289 0 2.334-0.822 2.334-1.836s-1.045-1.836-2.334-1.836S7 13.15 7 14.164 8.044 16 9.333 16z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M9.333 2c0.805 0 1.458 0.514 1.458 1.148v5.508c0 0.634-0.653 1.148-1.458 1.148s-1.458-0.514-1.458-1.148V3.148C7.875 2.514 8.528 2 9.333 2zM9.333 16c1.289 0 2.334-0.822 2.334-1.836s-1.045-1.836-2.334-1.836S7 13.15 7 14.164 8.044 16 9.333 16z\" fill=\"black\"/></svg>')}";
|
|
4
5
|
const BalNotificationStyle0 = balNotificationCss;
|
|
5
6
|
|
|
6
7
|
const Notification = /*@__PURE__*/ proxyCustomElement(class Notification extends HTMLElement {
|
|
@@ -8,13 +9,19 @@ const Notification = /*@__PURE__*/ proxyCustomElement(class Notification extends
|
|
|
8
9
|
super();
|
|
9
10
|
this.__registerHost();
|
|
10
11
|
this.color = '';
|
|
12
|
+
this.light = false;
|
|
13
|
+
this.noIcon = false;
|
|
11
14
|
}
|
|
12
15
|
render() {
|
|
13
|
-
|
|
16
|
+
const block = BEM.block('notification');
|
|
17
|
+
block.element('inner');
|
|
18
|
+
return (h(Host, { key: 'beffd9044572b99e98721aed8bffe8b4321d771e', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`no-icon`).class(this.noIcon)), block.modifier(`color-${this.color}${this.light ? '-light' : ''}`).class(!!this.color)), block.modifier(`color-light`).class(!this.color && this.light)), "data-testid": "bal-notification-content" }, h("slot", { key: '784ad1c80494175528ebb82fd64904a3fb4fd874' })));
|
|
14
19
|
}
|
|
15
20
|
static get style() { return BalNotificationStyle0; }
|
|
16
21
|
}, [4, "bal-notification", {
|
|
17
|
-
"color": [1]
|
|
22
|
+
"color": [1],
|
|
23
|
+
"light": [4],
|
|
24
|
+
"noIcon": [4, "no-icon"]
|
|
18
25
|
}]);
|
|
19
26
|
function defineCustomElement$1() {
|
|
20
27
|
if (typeof customElements === "undefined") {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
3
|
-
import { d as defineCustomElement$5 } from './bal-
|
|
4
|
-
import { d as defineCustomElement$4 } from './bal-
|
|
2
|
+
import { B as BEM } from './bem.js';
|
|
3
|
+
import { d as defineCustomElement$5 } from './bal-button2.js';
|
|
4
|
+
import { d as defineCustomElement$4 } from './bal-close2.js';
|
|
5
5
|
import { d as defineCustomElement$3 } from './bal-icon2.js';
|
|
6
6
|
import { d as defineCustomElement$2 } from './bal-spinner2.js';
|
|
7
7
|
|
|
8
|
-
const balSnackbarCss = ":root{--bal-snackbar-font-size:var(--bal-text-size-
|
|
8
|
+
const balSnackbarCss = ":root{--bal-snackbar-font-size:var(--bal-text-size-small);--bal-snackbar-font-family:var(--bal-font-family-text);--bal-snackbar-title-font-size:var(--bal-text-size-medium);--bal-snackbar-title-font-family:var(--bal-font-family-title);--bal-snackbar-background:var(--bal-color-white);--bal-snackbar-background-primary:var(--bal-color-white);--bal-snackbar-background-info:var(--bal-color-info-2);--bal-snackbar-background-success:var(--bal-color-success-2);--bal-snackbar-background-warning:var(--bal-color-warning-2);--bal-snackbar-background-danger:var(--bal-color-danger-2);--bal-snackbar-radius:var(--bal-radius-large);--bal-snackbar-color:var(--bal-color-text-primary);--bal-snackbar-color-primary:var(--bal-color-text-primary);--bal-snackbar-color-info:var(--bal-color-text-primary);--bal-snackbar-color-success:var(--bal-color-text-primary);--bal-snackbar-color-warning:var(--bal-color-text-primary);--bal-snackbar-color-danger:var(--bal-color-text-primary)}.bal-snackbar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:0 !important;flex-grow:0 !important;gap:.5rem;padding:var(--bal-space-medium) var(--bal-space-normal);border-radius:var(--bal-snackbar-radius);background:var(--bal-snackbar-background);color:var(--bal-snackbar-color);-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-height:3.5rem;width:18rem}@media screen and (min-width: 769px),print{.bal-snackbar{width:18rem}}@media screen and (min-width: 1024px){.bal-snackbar{width:27.5rem}}.bal-snackbar--color-primary{background:var(--bal-snackbar-background-primary);color:var(--bal-snackbar-color-primary)}.bal-snackbar--color-info{background:var(--bal-snackbar-background-info);color:var(--bal-snackbar-color-info)}.bal-snackbar--color-danger{background:var(--bal-snackbar-background-danger);color:var(--bal-snackbar-color-danger)}.bal-snackbar--color-warning{background:var(--bal-snackbar-background-warning);color:var(--bal-snackbar-color-warning)}.bal-snackbar--color-success{background:var(--bal-snackbar-background-success);color:var(--bal-snackbar-color-success)}.bal-snackbar__details{display:-ms-flexbox;display:flex;gap:1rem}.bal-snackbar__details__icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:1.5rem}.bal-snackbar__details__icon--masked{background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.bal-snackbar__details__icon--masked,.bal-snackbar__details__icon--color-primary{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M5.52 3.448C6.452 2.521 7.716 2 9.033 2s2.562 0.521 3.493 1.448C13.478 4.374 14.001 5.632 14.001 6.942v4.413c0 0.31 0.124 0.605 0.344 0.824 0.249 0.248 0.445 0.342 0.719 0.342 0.278 0 0.503 0.224 0.503 0.501 0 0.277-0.225 0.501-0.503 0.501H3.003c-0.278 0-0.503-0.224-0.503-0.501 0-0.277 0.225-0.501 0.503-0.501 0.275 0 0.47-0.094 0.719-0.342 0.219-0.219 0.344-0.514 0.344-0.824V6.942c0-1.311 0.523-2.569 1.456-3.494zM7.274 15.25c0-0.414 0.338-0.75 0.754-0.75h2.01c0.416 0 0.754 0.336 0.754 0.75s-0.338 0.75-0.754 0.75h-2.01c-0.416 0-0.754-0.336-0.754-0.75z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M5.52 3.448C6.452 2.521 7.716 2 9.033 2s2.562 0.521 3.493 1.448C13.478 4.374 14.001 5.632 14.001 6.942v4.413c0 0.31 0.124 0.605 0.344 0.824 0.249 0.248 0.445 0.342 0.719 0.342 0.278 0 0.503 0.224 0.503 0.501 0 0.277-0.225 0.501-0.503 0.501H3.003c-0.278 0-0.503-0.224-0.503-0.501 0-0.277 0.225-0.501 0.503-0.501 0.275 0 0.47-0.094 0.719-0.342 0.219-0.219 0.344-0.514 0.344-0.824V6.942c0-1.311 0.523-2.569 1.456-3.494zM7.274 15.25c0-0.414 0.338-0.75 0.754-0.75h2.01c0.416 0 0.754 0.336 0.754 0.75s-0.338 0.75-0.754 0.75h-2.01c-0.416 0-0.754-0.336-0.754-0.75z\" fill=\"black\"/></svg>')}.bal-snackbar__details__icon--color-info{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M6.176 13.705c-0.65 0-1.176 0.514-1.176 1.147 0 0.635 0.526 1.149 1.176 1.149h2.824h2.824c0.65 0 1.176-0.514 1.176-1.149 0-0.633-0.526-1.147-1.176-1.147h-1.647V8.426c0-0.634-0.526-1.147-1.176-1.147H7.118C6.468 7.279 5.941 7.792 5.941 8.426c0 0.633 0.526 1.147 1.176 1.147h0.706v4.132H6.176zM10.882 3.836c0 1.014-0.843 1.836-1.882 1.836S7.118 4.85 7.118 3.836C7.118 2.822 7.96 2 9 2s1.882 0.822 1.882 1.836z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M6.176 13.705c-0.65 0-1.176 0.514-1.176 1.147 0 0.635 0.526 1.149 1.176 1.149h2.824h2.824c0.65 0 1.176-0.514 1.176-1.149 0-0.633-0.526-1.147-1.176-1.147h-1.647V8.426c0-0.634-0.526-1.147-1.176-1.147H7.118C6.468 7.279 5.941 7.792 5.941 8.426c0 0.633 0.526 1.147 1.176 1.147h0.706v4.132H6.176zM10.882 3.836c0 1.014-0.843 1.836-1.882 1.836S7.118 4.85 7.118 3.836C7.118 2.822 7.96 2 9 2s1.882 0.822 1.882 1.836z\" fill=\"black\"/></svg>')}.bal-snackbar__details__icon--color-success{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M15.637 3.247c0.426 0.379 0.486 1.059 0.134 1.518L7.73 15.251l-0.002 0.003c-0.183 0.237-0.413 0.426-0.672 0.555-0.26 0.13-0.543 0.195-0.829 0.191-0.291-0.004-0.577-0.08-0.837-0.219-0.259-0.14-0.485-0.341-0.662-0.588l-2.517-3.488c-0.339-0.47-0.261-1.147 0.175-1.512 0.436-0.365 1.064-0.28 1.403 0.19l2.463 3.414 7.976-10.403c0.352-0.459 0.982-0.524 1.408-0.144z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M15.637 3.247c0.426 0.379 0.486 1.059 0.134 1.518L7.73 15.251l-0.002 0.003c-0.183 0.237-0.413 0.426-0.672 0.555-0.26 0.13-0.543 0.195-0.829 0.191-0.291-0.004-0.577-0.08-0.837-0.219-0.259-0.14-0.485-0.341-0.662-0.588l-2.517-3.488c-0.339-0.47-0.261-1.147 0.175-1.512 0.436-0.365 1.064-0.28 1.403 0.19l2.463 3.414 7.976-10.403c0.352-0.459 0.982-0.524 1.408-0.144z\" fill=\"black\"/></svg>')}.bal-snackbar__details__icon--color-warning{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M9.333 2c0.805 0 1.458 0.514 1.458 1.148v5.508c0 0.634-0.653 1.148-1.458 1.148s-1.458-0.514-1.458-1.148V3.148C7.875 2.514 8.528 2 9.333 2zM9.333 16c1.289 0 2.334-0.822 2.334-1.836s-1.045-1.836-2.334-1.836S7 13.15 7 14.164 8.044 16 9.333 16z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M9.333 2c0.805 0 1.458 0.514 1.458 1.148v5.508c0 0.634-0.653 1.148-1.458 1.148s-1.458-0.514-1.458-1.148V3.148C7.875 2.514 8.528 2 9.333 2zM9.333 16c1.289 0 2.334-0.822 2.334-1.836s-1.045-1.836-2.334-1.836S7 13.15 7 14.164 8.044 16 9.333 16z\" fill=\"black\"/></svg>')}.bal-snackbar__details__icon--color-danger{mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M9.333 2c0.805 0 1.458 0.514 1.458 1.148v5.508c0 0.634-0.653 1.148-1.458 1.148s-1.458-0.514-1.458-1.148V3.148C7.875 2.514 8.528 2 9.333 2zM9.333 16c1.289 0 2.334-0.822 2.334-1.836s-1.045-1.836-2.334-1.836S7 13.15 7 14.164 8.044 16 9.333 16z\" fill=\"black\"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 18\"><path d=\"M9.333 2c0.805 0 1.458 0.514 1.458 1.148v5.508c0 0.634-0.653 1.148-1.458 1.148s-1.458-0.514-1.458-1.148V3.148C7.875 2.514 8.528 2 9.333 2zM9.333 16c1.289 0 2.334-0.822 2.334-1.836s-1.045-1.836-2.334-1.836S7 13.15 7 14.164 8.044 16 9.333 16z\" fill=\"black\"/></svg>')}.bal-snackbar__details__close{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;width:2rem}.bal-snackbar__details__content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;gap:.125rem}.bal-snackbar__details__content h2{font-family:var(--bal-snackbar-title-font-family);font-size:var(--bal-snackbar-title-font-size);font-weight:var(--bal-font-weight-bold);line-height:var(--bal-text-line-height-title)}@media screen and (min-width: 769px),print{.bal-snackbar__details__content h2{font-size:var(--bal-text-size-medium-tablet)}}@media screen and (min-width: 1024px){.bal-snackbar__details__content h2{font-size:var(--bal-text-size-medium-desktop)}}.bal-snackbar__details__content span{font-family:var(--bal-snackbar-font-family);font-size:var(--bal-snackbar-font-size);font-weight:var(--bal-font-weight-regular);line-height:var(--bal-text-line-height-text)}.bal-snackbar__button-wrapper{display:-ms-flexbox;display:flex}.bal-snackbar__button-wrapper .bal-button{-webkit-margin-start:2.5rem;margin-inline-start:2.5rem;-webkit-margin-before:.5rem;margin-block-start:.5rem}";
|
|
9
9
|
const BalSnackbarStyle0 = balSnackbarCss;
|
|
10
10
|
|
|
11
11
|
const Snackbar = /*@__PURE__*/ proxyCustomElement(class Snackbar extends HTMLElement {
|
|
@@ -19,7 +19,6 @@ const Snackbar = /*@__PURE__*/ proxyCustomElement(class Snackbar extends HTMLEle
|
|
|
19
19
|
this.balAction.emit(this.snackbarId);
|
|
20
20
|
this.actionHandler();
|
|
21
21
|
};
|
|
22
|
-
this.animationClass = 'fadeInDown';
|
|
23
22
|
this.color = '';
|
|
24
23
|
this.duration = 0;
|
|
25
24
|
this.subject = '';
|
|
@@ -51,24 +50,37 @@ const Snackbar = /*@__PURE__*/ proxyCustomElement(class Snackbar extends HTMLEle
|
|
|
51
50
|
this.element.remove();
|
|
52
51
|
this.closeHandler();
|
|
53
52
|
}
|
|
54
|
-
get colorType() {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
get buttonType() {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
53
|
+
// get colorType() {
|
|
54
|
+
// if (this.color === '') {
|
|
55
|
+
// return ''
|
|
56
|
+
// }
|
|
57
|
+
// return `bal-snackbar__inner--is-${this.color}`
|
|
58
|
+
// }
|
|
59
|
+
// get buttonType(): BalProps.BalButtonColor {
|
|
60
|
+
// if (this.color === '') {
|
|
61
|
+
// return 'info'
|
|
62
|
+
// }
|
|
63
|
+
// return this.color
|
|
64
|
+
// }
|
|
66
65
|
render() {
|
|
67
|
-
const
|
|
66
|
+
const block = BEM.block('snackbar');
|
|
67
|
+
const detailsEl = block.element('details');
|
|
68
|
+
const buttonWrapperEl = block.element('button-wrapper');
|
|
69
|
+
const subjectId = this.snackbarId + '-subject';
|
|
70
|
+
const messageAttributes = {};
|
|
68
71
|
if (this.message !== undefined && this.message !== '') {
|
|
69
|
-
|
|
72
|
+
messageAttributes.innerHTML = this.message;
|
|
70
73
|
}
|
|
71
|
-
|
|
74
|
+
const isIconDefined = this.icon !== undefined && this.icon !== null && this.icon !== '';
|
|
75
|
+
const colorIcons = {
|
|
76
|
+
info: 'info-circle',
|
|
77
|
+
primary: 'info-circle',
|
|
78
|
+
warning: 'alert-triangle',
|
|
79
|
+
danger: 'alert-triangle',
|
|
80
|
+
success: 'check-circle',
|
|
81
|
+
};
|
|
82
|
+
const icon = isIconDefined ? this.icon : colorIcons[this.color || 'info'];
|
|
83
|
+
return (h(Host, { key: 'f7c2af83a4cdb00cf64ecc41c249bbc96eb99a56', id: this.snackbarId, role: "alertdialog", class: Object.assign(Object.assign({}, block.class()), block.modifier(`color-${this.color}`).class(!!this.color)), "aria-labelledby": subjectId }, h("div", { key: 'de20fea5880d141637e63eaab0cec93e44673745', class: Object.assign({}, detailsEl.class()) }, h("div", { key: '4bceb9b4680715d501e7e0fad200e225feca29d4', "aria-hidden": "true", class: Object.assign(Object.assign(Object.assign({}, detailsEl.element('icon').class()), detailsEl.element('icon').modifier('masked').class(!isIconDefined)), detailsEl.element('icon').modifier(`color-${this.color}`).class(!isIconDefined)) }, isIconDefined ? h("bal-icon", { name: icon, color: 'primary', size: "medium" }) : ''), h("div", { key: '2bf5d7f9b68260dac90dcfd1a1da5d9d2ca9b2a4', class: Object.assign({}, detailsEl.element('content').class()) }, h("h2", { key: 'a7ac3ab5fc847a8242f34947af57fe849b2d843d', id: subjectId }, this.subject), h("span", Object.assign({ key: 'd77eb9352cb5c8df426c77892b6aab7e506fbe73' }, messageAttributes), h("slot", { key: '88a32633220e164154bf2ef4fb68dacd5c1ab973' }), h("span", { key: '73329ef3def8c43252dcbd85fc72aa3a3291799e', class: "hidden" }))), h("div", { key: 'ce1ad2520d6667e264fd279448050db0300ee3d4', class: Object.assign({}, detailsEl.element('close').class()) }, h("bal-close", { key: '2a70da54ed0988c3b04dd4c1cd071758a5dfce8a', class: "bal-snackbar__close", "data-testid": "bal-snackbar-close", onClick: () => this.close() }))), this.action ? (h("div", { class: Object.assign({}, buttonWrapperEl.class()) }, h("bal-button", { color: "info", size: "small", href: this.href, target: this.target, onClick: () => this.onActionHandler(), "data-testid": "bal-snackbar-action" }, this.action))) : ('')));
|
|
72
84
|
}
|
|
73
85
|
get element() { return this; }
|
|
74
86
|
static get style() { return BalSnackbarStyle0; }
|
|
@@ -83,7 +95,6 @@ const Snackbar = /*@__PURE__*/ proxyCustomElement(class Snackbar extends HTMLEle
|
|
|
83
95
|
"actionHandler": [16],
|
|
84
96
|
"href": [1],
|
|
85
97
|
"target": [1],
|
|
86
|
-
"animationClass": [32],
|
|
87
98
|
"closeIn": [64],
|
|
88
99
|
"close": [64]
|
|
89
100
|
}]);
|
|
@@ -92,7 +103,7 @@ function defineCustomElement$1() {
|
|
|
92
103
|
if (typeof customElements === "undefined") {
|
|
93
104
|
return;
|
|
94
105
|
}
|
|
95
|
-
const components = ["bal-snackbar", "bal-button", "bal-close", "bal-
|
|
106
|
+
const components = ["bal-snackbar", "bal-button", "bal-close", "bal-icon", "bal-spinner"];
|
|
96
107
|
components.forEach(tagName => { switch (tagName) {
|
|
97
108
|
case "bal-snackbar":
|
|
98
109
|
if (!customElements.get(tagName)) {
|
|
@@ -100,16 +111,11 @@ function defineCustomElement$1() {
|
|
|
100
111
|
}
|
|
101
112
|
break;
|
|
102
113
|
case "bal-button":
|
|
103
|
-
if (!customElements.get(tagName)) {
|
|
104
|
-
defineCustomElement$6();
|
|
105
|
-
}
|
|
106
|
-
break;
|
|
107
|
-
case "bal-close":
|
|
108
114
|
if (!customElements.get(tagName)) {
|
|
109
115
|
defineCustomElement$5();
|
|
110
116
|
}
|
|
111
117
|
break;
|
|
112
|
-
case "bal-
|
|
118
|
+
case "bal-close":
|
|
113
119
|
if (!customElements.get(tagName)) {
|
|
114
120
|
defineCustomElement$4();
|
|
115
121
|
}
|
|
@@ -6,7 +6,7 @@ import { B as BEM } from './bem.js';
|
|
|
6
6
|
import { d as defaultConfig } from './config.default.js';
|
|
7
7
|
import { L as ListenToConfig } from './config.decorator.js';
|
|
8
8
|
|
|
9
|
-
const balSpinnerCss = "bal-spinner,.bal-spinner{text-align:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;width:4rem}bal-spinner svg,.bal-spinner svg{-webkit-transform:unset !important;transform:unset !important}.bal-spinner--small{width:2rem}.bal-spinner--circle{margin:auto;border-width:.25rem;border-style:solid;border-color:var(--bal-color-grey);border-radius:50%;border-top-color:var(--bal-color-primary);width:1.5rem;height:1.5rem}.bal-spinner--circle.bal-spinner--small{width:1.125rem;height:1.125rem;border-width:.2rem}.bal-spinner--circle.bal-spinner--animated{-webkit-animation:spinner 1.6s linear infinite;animation:spinner 1.6s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
|
|
9
|
+
const balSpinnerCss = "bal-spinner,.bal-spinner{text-align:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;width:4rem}bal-spinner svg,.bal-spinner svg{-webkit-transform:unset !important;transform:unset !important}.bal-spinner--small{width:2rem}.bal-spinner--circle{margin:auto;border-width:.25rem;border-style:solid;border-color:var(--bal-color-grey);border-radius:50%;border-top-color:var(--bal-color-primary);width:1.5rem;height:1.5rem}.bal-spinner--circle.bal-spinner--small{width:1.125rem;height:1.125rem;border-width:.2rem}.bal-spinner--circle.bal-spinner--animated{-webkit-animation:spinner 1.6s linear infinite;animation:spinner 1.6s linear infinite}.bal-spinner--circle.bal-spinner--color-white{border-color:var(--bal-color-white);border-top-color:var(--bal-color-primary)}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
|
|
10
10
|
const BalSpinnerStyle0 = balSpinnerCss;
|
|
11
11
|
|
|
12
12
|
const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends HTMLElement {
|
|
@@ -140,7 +140,7 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends HTMLEleme
|
|
|
140
140
|
*/
|
|
141
141
|
render() {
|
|
142
142
|
const block = BEM.block('spinner');
|
|
143
|
-
return (h(Host, { key: '
|
|
143
|
+
return (h(Host, { key: '6c3756c1b6cc6684bfc61906748ce66c3ba67890', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('circle').class(this.variation === 'circle')), block.modifier('small').class(this.small)), block.modifier('animated').class(this.animated)), block.modifier(`color-${this.color}`).class(this.variation === 'circle')), role: "progressbar", "aria-hidden": "true" }));
|
|
144
144
|
}
|
|
145
145
|
get el() { return this; }
|
|
146
146
|
static get watchers() { return {
|
package/components/bal-stack2.js
CHANGED
|
@@ -50,7 +50,7 @@ const Stack = /*@__PURE__*/ proxyCustomElement(class Stack extends HTMLElement {
|
|
|
50
50
|
if (alignment) {
|
|
51
51
|
alignValue = this.alignment.split(' ').join('-');
|
|
52
52
|
}
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '536a3cf3f4979288a0035ef0cdc966c4d390ff60', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`use-wrap`).class(useWrap)), block.modifier(`layout-${layoutValue}`).class(layout || direction)), block.modifier(`align-${alignValue}`).class(align || alignment)), block.modifier(`space-${this.space}`).class(space)), block.modifier(`space-row-${this.spaceRow}`).class(spaceRow)), block.modifier(`space-row-${this.spaceColumn}`).class(spaceColumn)), block.modifier(`px-${this.px}`).class(px)), block.modifier(`py-${this.py}`).class(py)), block.modifier(`fit-content`).class(fitContent)) }, h("slot", { key: 'd1101bb18f49fb392e3ef7b1949f5ce5d797a204' })));
|
|
54
54
|
}
|
|
55
55
|
static get style() { return BalStackStyle0; }
|
|
56
56
|
}, [4, "bal-stack", {
|
|
@@ -12,10 +12,10 @@ const StageBackLink = /*@__PURE__*/ proxyCustomElement(class StageBackLink exten
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const block = BEM.block('stage-back-link');
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'bc5906c288b5be99aba87a5c8b24773f8e980fe5', class: Object.assign(Object.assign({}, block.class()), block.modifier('shadow').class(this.shadow)) }, h("a", { key: 'd3ee0d9c434e58bcfbf6b70355dfd5b96b5a0d4d', class: {
|
|
16
16
|
'link': true,
|
|
17
17
|
'is-inverted': this.inverted,
|
|
18
|
-
}, href: this.href }, h("bal-icon", { key: '
|
|
18
|
+
}, href: this.href }, h("bal-icon", { key: '9ea9ce3b98138878573dd43f43e174da381a5cf2', class: "mr-x-small", name: "caret-left", size: "x-small", inverted: this.inverted, shadow: this.shadow }), h("slot", { key: '95ad39a717f47a0d02940a6b6f609ae90226cd76' }))));
|
|
19
19
|
}
|
|
20
20
|
get el() { return this; }
|
|
21
21
|
}, [4, "bal-stage-back-link", {
|
|
@@ -8,7 +8,7 @@ const StageBody = /*@__PURE__*/ proxyCustomElement(class StageBody extends HTMLE
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
const block = BEM.block('stage-body');
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '8d78c9777215c84373e246ae0495512137620d0c', class: Object.assign({}, block.class()) }, h("slot", { key: 'e866a1e129ad6c87567018a3538e526cc432bdcc' })));
|
|
12
12
|
}
|
|
13
13
|
get el() { return this; }
|
|
14
14
|
}, [4, "bal-stage-body"]);
|
|
@@ -6,7 +6,7 @@ const StageFoot = /*@__PURE__*/ proxyCustomElement(class StageFoot extends HTMLE
|
|
|
6
6
|
this.__registerHost();
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '77f405fb5a84be341f5709ea9451fd5b01eae1a5', class: "hero-foot" }, h("slot", { key: '7b93751fe0fd796422cdf0d669404bf22f1312c8' })));
|
|
10
10
|
}
|
|
11
11
|
get el() { return this; }
|
|
12
12
|
}, [4, "bal-stage-foot"]);
|
|
@@ -6,7 +6,7 @@ const StageHead = /*@__PURE__*/ proxyCustomElement(class StageHead extends HTMLE
|
|
|
6
6
|
this.__registerHost();
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '1d3ba006d2d6aafe5795cdb2f59d9cb02822c927', class: "hero-head" }, h("slot", { key: '2c24fa40d9505b5b7b673d99d7b831161372e35b' })));
|
|
10
10
|
}
|
|
11
11
|
get el() { return this; }
|
|
12
12
|
}, [4, "bal-stage-head"]);
|
|
@@ -23,7 +23,7 @@ const StageImage = /*@__PURE__*/ proxyCustomElement(class StageImage extends HTM
|
|
|
23
23
|
render() {
|
|
24
24
|
const block = BEM.block('stage-image');
|
|
25
25
|
const imageSrc = this.fallback ? this.fallback : this.srcSet.split(',')[0];
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '403567b2d7e9052448bfabeee037dddbd29ddfc5', class: Object.assign({}, block.class()) }, this.isOnLoadEventDone ? (h("img", Object.assign({ src: imageSrc, srcset: this.srcSet, sizes: "100vw" }, this.imageInheritAttributes))) : ('')));
|
|
27
27
|
}
|
|
28
28
|
get el() { return this; }
|
|
29
29
|
}, [0, "bal-stage-image", {
|
package/components/bal-stage.js
CHANGED
|
@@ -48,7 +48,7 @@ const Stage = /*@__PURE__*/ proxyCustomElement(class Stage extends HTMLElement {
|
|
|
48
48
|
render() {
|
|
49
49
|
const block = BEM.block('stage');
|
|
50
50
|
const element = BEM.block('stage-content');
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'e24550c75ccbc228367fcfec8a24f1cc55101fc8', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`is-${this.size === '' ? 'medium' : this.size}`).class()), block.modifier(`is-${this.color}`).class(!!this.color)), block.modifier('has-shape').class(!!this.shape)), style: { '--bal-stage-container-width': this.getContainerWidth() } }, h("section", { key: 'd925080116d60d4891ac4e141e3d6fa68338aaa8', class: Object.assign(Object.assign({}, element.class()), { container: true, [`${this.containerClass}`]: this.containerSize !== '' }) }, h("slot", { key: 'f4d2eb4d16600695f336b076c07518d553a93cdf' }), this.shape && (h("div", { key: 'cf059b309141555194945d62124437a3d90145f0', class: { container: true, [`${this.containerClass}`]: this.containerSize !== '' } }, h("bal-shape", { key: '99b25f746ad8858c885b6bf15df6246492b26b84', color: this.color, variation: this.shapeVariation, rotation: this.shapeRotation }))))));
|
|
52
52
|
}
|
|
53
53
|
static get style() { return BalStageStyle0; }
|
|
54
54
|
}, [4, "bal-stage", {
|
|
@@ -52,10 +52,10 @@ const StepItem = /*@__PURE__*/ proxyCustomElement(class StepItem extends HTMLEle
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '8ee5cc145653a031dd60e10cd8e15a5cea413ded', role: "tabpanel", class: {
|
|
56
56
|
'bal-step-item': true,
|
|
57
57
|
'bal-step-item--active': this.isActive,
|
|
58
|
-
} }, h("slot", { key: '
|
|
58
|
+
} }, h("slot", { key: 'e424db22122910323793ae2b93c4dd8dcf9f2c31' })));
|
|
59
59
|
}
|
|
60
60
|
get el() { return this; }
|
|
61
61
|
}, [4, "bal-step-item", {
|
|
@@ -64,10 +64,10 @@ const TabItem = /*@__PURE__*/ proxyCustomElement(class TabItem extends HTMLEleme
|
|
|
64
64
|
render() {
|
|
65
65
|
const hasPanel = !this.noPanel;
|
|
66
66
|
const noPanelOrInactive = !this.isActive || this.noPanel;
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '73cd7faf737780486e58b71b4c51508e0311e277', id: this.tabPanelID, class: {
|
|
68
68
|
'bal-tab-item': true,
|
|
69
69
|
'bal-tab-item--active': this.isActive,
|
|
70
|
-
}, role: hasPanel ? 'tabpanel' : undefined, "aria-label": hasPanel ? this.label : undefined, "aria-hidden": noPanelOrInactive ? 'true' : 'false', tabindex: noPanelOrInactive ? '-1' : undefined, hidden: noPanelOrInactive ? true : undefined }, h("slot", { key: '
|
|
70
|
+
}, role: hasPanel ? 'tabpanel' : undefined, "aria-label": hasPanel ? this.label : undefined, "aria-hidden": noPanelOrInactive ? 'true' : 'false', tabindex: noPanelOrInactive ? '-1' : undefined, hidden: noPanelOrInactive ? true : undefined }, h("slot", { key: 'd533d087306ee17ba5b78c9b756db6cf923ef1a5' })));
|
|
71
71
|
}
|
|
72
72
|
get el() { return this; }
|
|
73
73
|
}, [4, "bal-tab-item", {
|
package/components/bal-table.js
CHANGED
|
@@ -14,7 +14,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
|
14
14
|
const block = BEM.block('table');
|
|
15
15
|
const fullwidthClass = 'is-fullwidth';
|
|
16
16
|
const hasFullwidth = this.expanded;
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '1059612d6670d6a8c333a6903dfa1ffff7150964', class: Object.assign(Object.assign(Object.assign({}, block.class()), { 'ag-theme-alpine': true }), block.modifier(fullwidthClass).class(hasFullwidth)) }, h("slot", { key: '22d1e47908682547a1d22d17348bfb66dfd81e7a' })));
|
|
18
18
|
}
|
|
19
19
|
get el() { return this; }
|
|
20
20
|
static get style() { return BalTableStyle0; }
|
package/components/bal-tabs2.js
CHANGED
|
@@ -718,9 +718,9 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class Tabs extends HTMLElement {
|
|
|
718
718
|
.filter(t => this.isTabActive(t))
|
|
719
719
|
.map(t => t.label)
|
|
720
720
|
.join(',');
|
|
721
|
-
return (h(Host, { key: '
|
|
721
|
+
return (h(Host, { key: 'a1d8a76b19bfde81e59e6c59277d6445aa085cc8', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('navbar').class(this.inNavbar)), block.modifier('vertical').class(isVertical)), block.modifier('fullwidth').class(this.expanded || this.fullwidth)), block.modifier('accordion').class(this.accordion)), block.modifier('animated').class(this.animated)), block.modifier('expanding').class(this.accordionState === 8 /* AccordionState.Expanding */)), block.modifier('expanded').class(this.accordionState === 4 /* AccordionState.Expanded */)), block.modifier('collapsing').class(this.accordionState === 2 /* AccordionState.Collapsing */)), block.modifier('collapsed').class(this.accordionState === 1 /* AccordionState.Collapsed */)), "data-value": dataValue, "data-label": dataLabel }, isSelect ? (h(TabSelect, { value: this.value, items: tabs, onSelectTab: this.onSelectTab })) : (h(TabNav, { swiper: this.swiper, items: tabs, isLinkList: isLinkList, tabsId: this.tabsId, clickable: this.clickable, accordion: this.accordion, isAccordionOpen: this.isAccordionOpen, lineActive: valueExists, lineHidden: !this.enableLineRender, inverted: isInverted, animated: this.animated, context: this.context, border: hasBorder, spaceless: this.spaceless, expanded: this.expanded, isMobile: isMobile, isTouch: isTouch, isVertical: isVertical, inNavbar: this.inNavbar, iconPosition: this.iconPosition, showSwiperControls: !this.isVertical(), verticalColSize: this.verticalColSize, onSelectTab: this.onSelectTab, dimInactiveElements: this.dimInactiveElements })), h("div", { key: '1a460259f8231a6f669e423343ab32f7b718fa06', part: contentPart, class: Object.assign(Object.assign(Object.assign({}, contentEl.class()), contentEl.modifier('vertical').class(this.isVertical())), contentEl
|
|
722
722
|
.modifier('hidden')
|
|
723
|
-
.class(this.context === 'meta' || this.context === 'navbar' || this.context === 'navigation')) }, h("div", { key: '
|
|
723
|
+
.class(this.context === 'meta' || this.context === 'navbar' || this.context === 'navigation')) }, h("div", { key: '40d55adc3c7bdb32ab8e26eb80a6a4766079c54a', id: this.tabsId, class: Object.assign({}, contentEl.element('wrapper').class()) }, h("slot", { key: 'ad35eebf2cb6c481217f8539f4932096406df50d' })))));
|
|
724
724
|
}
|
|
725
725
|
get el() { return this; }
|
|
726
726
|
static get watchers() { return {
|
|
@@ -6,7 +6,7 @@ const TagGroup = /*@__PURE__*/ proxyCustomElement(class TagGroup extends HTMLEle
|
|
|
6
6
|
this.__registerHost();
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'd1f82919080730fd2555d25e4e5adda071f0c6a2', class: "bal-tag-group" }, h("slot", { key: '2f0ce67b5870beb486f86341214f5f32f234ae47' })));
|
|
10
10
|
}
|
|
11
11
|
}, [4, "bal-tag-group"]);
|
|
12
12
|
function defineCustomElement$1() {
|
package/components/bal-tag2.js
CHANGED
|
@@ -38,7 +38,7 @@ const Tag = /*@__PURE__*/ proxyCustomElement(class Tag extends HTMLElement {
|
|
|
38
38
|
const hasDisabled = this.disabled;
|
|
39
39
|
const positionClass = `is-${this.position}`;
|
|
40
40
|
const hasPosition = this.position !== undefined;
|
|
41
|
-
return (h(Host, Object.assign({ key: '
|
|
41
|
+
return (h(Host, Object.assign({ key: 'fcb28709fa01ca31a2ae98d59bacfb356e28fd0c', "aria-disabled": this.disabled ? 'true' : null, class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(sizeClass).class(hasSize)), block.modifier(colorClass).class(hasColor)), block.modifier(disabledClass).class(hasDisabled)), block.modifier(positionClass).class(hasPosition)), block.modifier('is-invalid').class(this.invalid)) }, this.inheritedAttributes), h("span", { key: 'e82b7f7b34add1277872fc105a327f50b305b2f8', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, elLabel.class()), elLabel.modifier(sizeClass).class(hasSize)), elLabel.modifier(colorClass).class(hasColor)), elLabel.modifier(disabledClass).class(hasDisabled)), elLabel.modifier('is-invalid').class(this.invalid)), "data-testid": "bal-tag-label" }, h("slot", { key: '9a29590870327840f6bbf0c9bedebbcb1be51ba8' })), h("bal-close", Object.assign({ key: 'a236adc61866d6ba1080780813b75806c93ec657', class: Object.assign({}, block.element('close').class()), style: {
|
|
42
42
|
display: this.closable && !this.disabled ? 'flex' : 'none',
|
|
43
43
|
}, size: this.size === 'small' ? 'small' : '', inverted: (['blue', 'primary', 'info', 'success', 'warning', 'danger', 'red', 'purple', 'yellow', 'green'].includes(this.color) &&
|
|
44
44
|
!this.light) ||
|
package/components/bal-text2.js
CHANGED
|
@@ -56,10 +56,10 @@ const Text = /*@__PURE__*/ proxyCustomElement(class Text extends HTMLElement {
|
|
|
56
56
|
const Text = this.inline ? 'span' : 'p';
|
|
57
57
|
const color = this.parseColor();
|
|
58
58
|
const block = BEM.block('text');
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '54ea51b4d2db0793307072aa6dd3bd5969f4e1d0', class: Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier(`space-${this.space}`).class(this.space !== '')), block.modifier(`inline`).class(this.inline)) }, h(Text, { key: 'c894a460f369a284910f224b430dd7fc4b9b5123', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('text').class()), block.element('text').modifier(`color-${color}`).class(!!color)), block.element('text').modifier(`bold`).class(this.bold)), block.element('text').modifier(`heading`).class(this.heading)), block.element('text').modifier(`shadow`).class(this.shadow)), block.element('text').modifier(`no-wrap`).class(this.noWrap)), block
|
|
60
60
|
.element('text')
|
|
61
61
|
.modifier(`size-${this.size}`)
|
|
62
|
-
.class(this.size !== '')), "data-testid": "bal-text" }, h("slot", { key: '
|
|
62
|
+
.class(this.size !== '')), "data-testid": "bal-text" }, h("slot", { key: '94c09c5d469712da76d9ca0c4a80222c3e76f8a3' }))));
|
|
63
63
|
}
|
|
64
64
|
static get style() { return BalTextStyle0; }
|
|
65
65
|
}, [4, "bal-text", {
|
|
@@ -117,7 +117,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class Textarea extends HTMLEle
|
|
|
117
117
|
const value = this.getValue();
|
|
118
118
|
const block = BEM.block('textarea');
|
|
119
119
|
const elNative = block.element('native');
|
|
120
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: 'c480f893ab85bf7c3aebacd7cae0f9cac2f45729', onClick: this.handleClick, "aria-disabled": this.disabled ? 'true' : null, class: Object.assign({}, block.class()) }, h("textarea", Object.assign({ key: 'e24dc8d2deb3e9a700f1b34177bb953ea5d48f84', class: Object.assign(Object.assign({}, elNative.class()), { 'textarea': true, 'is-disabled': this.disabled || this.readonly, 'is-danger': this.invalid, 'clickable': this.clickable }), "data-testid": "bal-textarea-input", ref: inputEl => (this.nativeInput = inputEl), name: this.name, id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : null, disabled: this.disabled, readonly: this.readonly, required: this.required, autoCapitalize: this.autocapitalize, autocomplete: this.autocomplete, autoFocus: this.autofocus, minLength: this.minLength, maxLength: this.maxLength, placeholder: this.placeholder, inputMode: this.inputmode, value: this.value, cols: this.cols, rows: this.rows, wrap: this.wrap, onFocus: this.onFocus, onInput: ev => this.onInput(ev), onBlur: this.onBlur, onClick: this.onClick, onKeyPress: e => this.balKeyPress.emit(e) }, this.inheritedAttributes), value, h("slot", { key: '8951528c192b5cfaff238fc6b4371f0005f788d4' }))));
|
|
121
121
|
}
|
|
122
122
|
get el() { return this; }
|
|
123
123
|
static get watchers() { return {
|
|
@@ -145,7 +145,7 @@ const TimeInput = /*@__PURE__*/ proxyCustomElement(class TimeInput extends HTMLE
|
|
|
145
145
|
const value = this.focused ? this.getRawValue() : this.getFormattedValue();
|
|
146
146
|
const block = BEM.block('time-input');
|
|
147
147
|
const native = block.element('native');
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: '0c7874f83c267aa444d6bb4ea38e2c9815e9f673', "aria-disabled": this.disabled ? 'true' : null, class: Object.assign({}, block.class()) }, h("bal-input-group", { key: '5899915ba6c27ea056882af19e829844bd8a8a8b', disabled: this.disabled || this.readonly, invalid: this.invalid }, h("input", Object.assign({ key: '2de51b908e7d92e4bd1987c056e296a21298b228', type: "time", class: Object.assign({ 'input': true, 'is-disabled': this.disabled || this.readonly, 'is-danger': this.invalid, 'has-focus': this.focused, 'show-placeholder': !this.focused && (this.value === '' || this.value === undefined), 'has-value': this.value !== '' && this.value !== undefined }, native.class()), ref: input => (this.nativeInput = input), id: this.ariaForm.controlId || this.inputId, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : null, name: this.name, disabled: this.disabled, readonly: this.readonly, required: this.required, placeholder: `${i18nBalTimeInput[this.language].hours}:${i18nBalTimeInput[this.language].minutes}`, value: value, onInput: ev => this.onInput(ev), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), onKeyDown: e => this.onKeydown(e), onKeyPress: e => this.balKeyPress.emit(e) }, this.inheritedAttributes)), h("bal-icon", { key: '876f2dbff9fe3153f7d33b1825b289772eeefb26', "is-right": true, color: this.disabled || this.readonly ? 'grey' : this.invalid ? 'danger' : 'primary', name: "clock" }))));
|
|
149
149
|
}
|
|
150
150
|
get el() { return this; }
|
|
151
151
|
static get watchers() { return {
|