@baloise/ds-core 19.8.3 → 19.8.4
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/bal-date-calendar2.js +2 -2
- package/components/bal-dropdown.js +63 -19
- package/components/bal-field-control.js +2 -2
- package/components/bal-field-hint.js +1 -1
- package/components/bal-field-label.js +1 -1
- package/components/bal-field-message.js +2 -2
- package/components/bal-field.js +2 -2
- package/components/bal-file-upload.js +4 -4
- package/components/bal-footer.js +3 -3
- package/components/bal-form-col.js +2 -2
- package/components/bal-form-grid.js +1 -1
- package/components/bal-form.js +1 -1
- package/components/bal-heading2.js +1 -1
- package/components/bal-hint-text2.js +1 -1
- package/components/bal-hint-title2.js +1 -1
- package/components/bal-icon2.js +1 -1
- package/components/bal-input-date2.js +2 -2
- package/components/bal-input-group2.js +1 -1
- package/components/bal-input-slider.js +3 -3
- package/components/bal-input-stepper.js +1 -1
- package/components/bal-input.js +1 -1
- package/components/bal-label2.js +1 -1
- package/components/bal-list-item-content2.js +2 -2
- package/components/bal-list-item-icon2.js +2 -2
- package/components/bal-list-item-subtitle2.js +1 -1
- package/components/bal-list-item-title2.js +1 -1
- package/components/bal-list2.js +1 -1
- package/components/bal-modal-body.js +1 -1
- package/components/bal-modal-header.js +1 -1
- package/components/bal-modal.js +5 -5
- package/components/bal-nav-link-grid-col2.js +1 -1
- package/components/bal-nav-link-grid2.js +1 -1
- package/components/bal-nav-link-group.js +1 -1
- package/components/bal-nav-link2.js +2 -2
- package/components/bal-nav-menu-bar2.js +1 -1
- package/components/bal-nav-menu-flyout2.js +1 -1
- package/components/bal-nav-meta-bar2.js +1 -1
- package/components/bal-nav.js +2 -2
- package/components/bal-navbar-brand.js +1 -1
- package/components/bal-navbar-menu-end.js +1 -1
- package/components/bal-navbar-menu-start.js +1 -1
- package/components/bal-navbar-menu.js +1 -1
- package/components/bal-navbar.js +1 -1
- package/components/bal-notices.js +1 -1
- package/components/bal-notification.js +1 -1
- package/components/bal-number-input.js +1 -1
- package/components/bal-option-list.js +1 -502
- package/components/bal-option-list2.js +504 -0
- package/components/bal-option.js +1 -195
- package/components/bal-option2.js +197 -0
- package/components/bal-pagination.js +4 -4
- package/components/bal-popover-content2.js +1 -1
- package/components/bal-popup2.js +1 -1
- package/components/bal-progress-bar.js +1 -1
- package/components/bal-radio-icon2.js +1 -1
- package/components/bal-radio2.js +2 -2
- package/components/bal-segment-item.js +1 -1
- package/components/bal-segment.js +1 -1
- package/components/bal-select-option2.js +1 -1
- package/components/bal-select2.js +5 -5
- package/components/bal-shape2.js +4 -4
- package/components/bal-sheet.js +1 -1
- package/components/bal-snackbar.js +1 -1
- package/components/bal-spinner2.js +1 -1
- 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-switch.js +1 -1
- 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-text.js +2 -2
- package/components/bal-textarea.js +1 -1
- package/components/bal-time-input.js +1 -1
- package/components/bal-toast.js +1 -1
- package/components/bal-tooltip.js +1 -1
- package/components/index.js +1 -1
- package/components/tokens.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-e4154bb891.system.entry.js → p-042570e1b4.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-07b3561d34.entry.js +1 -0
- package/dist/baloise-design-system/p-09341cadc6.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-261f0c83c1.entry.js → p-0b05d342f5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-743a8ea6e8.system.entry.js → p-0db571d8f2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2c066243bc.entry.js → p-1074fb7fbc.entry.js} +1 -1
- package/dist/baloise-design-system/p-133b5a4986.entry.js +1 -0
- package/dist/baloise-design-system/{p-7e55f97a9b.entry.js → p-1df2fb625c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8da6979637.system.entry.js → p-24185181f1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4a34919910.system.entry.js → p-255e5491e6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-abfdce3ea8.system.entry.js → p-26085b7dcc.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-31abb1f859.entry.js +1 -0
- package/dist/baloise-design-system/p-345901e33b.entry.js +1 -0
- package/dist/baloise-design-system/p-34d75cbfe8.entry.js +1 -0
- package/dist/baloise-design-system/{p-d04073fca3.entry.js → p-3678c7a958.entry.js} +1 -1
- package/dist/baloise-design-system/{p-196ff3a00e.entry.js → p-38fa211868.entry.js} +1 -1
- package/dist/baloise-design-system/p-3f596ba050.entry.js +1 -0
- package/dist/baloise-design-system/{p-b4e66c496c.system.entry.js → p-41dcd76f1f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-167806fc44.entry.js → p-4256f1331b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-06d6d65df7.entry.js → p-427fe8eede.entry.js} +1 -1
- package/dist/baloise-design-system/{p-96bf290c11.system.entry.js → p-46986c305d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2d8dd4be3a.entry.js → p-49c12d2474.entry.js} +1 -1
- package/dist/baloise-design-system/{p-eb726f11fd.system.entry.js → p-4aeaa1a916.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bf4f338b08.system.entry.js → p-4c23ab651a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-586de1181e.entry.js +1 -0
- package/dist/baloise-design-system/{p-022a899d9f.entry.js → p-5965694a0f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6fa6bfd775.entry.js → p-5a66d8f568.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b81b635342.system.entry.js → p-5f105bc63d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c983f0df44.entry.js → p-627def5e99.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f51b5f779a.entry.js → p-6670584628.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8cff569252.system.entry.js → p-670a2bf1e7.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dbb9b3b5e2.system.entry.js → p-68e405562e.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ef841ce7eb.system.entry.js → p-71d9805e14.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-2360c337dc.entry.js → p-74047cc11f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-76fdd28025.system.entry.js → p-744c19c66d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-967ff349ed.system.entry.js → p-746165a211.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bd80a9b297.system.entry.js → p-75f3abf19e.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-42801b7e0c.system.entry.js → p-77404bcf6d.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7027eb9c58.entry.js → p-7cb15b231d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3790f8edcd.entry.js → p-81a7d8f03d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f2232ea09f.entry.js → p-878f4e40a8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c3af6cc44a.system.entry.js → p-87d7996b33.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a494f5de47.system.entry.js → p-88f9358a95.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7e6c509606.entry.js → p-8cf1d029e7.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c45c863624.entry.js → p-93dc4e9ec8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6d93b1d5cc.entry.js → p-99a9cc7202.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a2abd2bae3.system.entry.js → p-9be82de5a5.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d846f14080.system.entry.js → p-9da9d45bda.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cbc17a1f06.system.entry.js → p-9fc710438a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-DL7tjDqO.system.js → p-B3ZVog4n.system.js} +1 -1
- package/dist/baloise-design-system/p-BRJ7ljGZ.system.js +1 -0
- package/dist/baloise-design-system/{p-Bc9nHL5Q.system.js → p-BVitEMYC.system.js} +1 -1
- package/dist/baloise-design-system/p-BtgFoKGn.js +1 -1
- package/dist/baloise-design-system/{p-BsL4egMT.js → p-COIM5Kkz.js} +1 -1
- package/dist/baloise-design-system/{p-CFUQlsvN.js → p-CgBveYeB.js} +1 -1
- package/dist/baloise-design-system/p-CwWHLbPB.system.js +1 -1
- package/dist/baloise-design-system/{p-D9FHe08C.system.js → p-DAsF8QfB.system.js} +1 -1
- package/dist/baloise-design-system/p-DNy7adIE.system.js +1 -1
- package/dist/baloise-design-system/{p-DZ_vvO92.js → p-ReLIdwsB.js} +1 -1
- package/dist/baloise-design-system/{p-eb9d8029c6.system.entry.js → p-a2a1ed74fe.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-df0264e119.system.entry.js → p-a32d50871a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-09f86c863d.system.entry.js → p-a3558335f2.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b0b5fa7a40.entry.js → p-a53c24274c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cf749f385e.entry.js → p-a576422cb2.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fdb00a8fdc.entry.js → p-a584c6763e.entry.js} +1 -1
- package/dist/baloise-design-system/p-a6135f2559.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-93bba463b3.system.entry.js → p-aaf33f152f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6da83fc08c.system.entry.js → p-ac1cd5a1e1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5e4a2342f3.entry.js → p-b01f9c5651.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5439c93408.entry.js → p-b4fa55782e.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0ec86b3f93.system.entry.js → p-b4ff1b324f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8ebe2676cf.entry.js → p-c29bcf4e69.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ae2946a498.system.entry.js → p-cb3abec4bd.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-63a829988a.system.entry.js → p-cd6d0bfa91.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-84de20be7c.entry.js → p-ce3e34fa95.entry.js} +1 -1
- package/dist/baloise-design-system/{p-56535b513e.system.entry.js → p-cf77551018.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-01c556671d.system.entry.js → p-d4252ea848.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-84d321b4f8.entry.js → p-d5365ffe38.entry.js} +1 -1
- package/dist/baloise-design-system/p-d94f439c3b.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ba0974ae21.system.entry.js → p-db2823d02b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-15c5f87ce0.system.entry.js → p-dcebb4b8a2.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ddd75e43d6.entry.js +1 -0
- package/dist/baloise-design-system/{p-469503b436.entry.js → p-def5a43710.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a17017ddc0.system.entry.js → p-e125257826.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-77045369a5.system.entry.js → p-e1b3b1f609.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cfae4fef4d.entry.js → p-e2e7e3c5c4.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0c10bf8c73.system.entry.js → p-e9095ec856.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ed1aad24be.entry.js +1 -0
- package/dist/baloise-design-system/{p-440fb2470e.entry.js → p-ee070d06bc.entry.js} +1 -1
- package/dist/baloise-design-system/{p-07cd3d2e40.entry.js → p-eeff81381f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e03203e89d.entry.js → p-f217ad88a9.entry.js} +1 -1
- package/dist/baloise-design-system/{p-996075a13e.entry.js → p-f2222919fc.entry.js} +1 -1
- package/dist/baloise-design-system/{p-6814029ea2.entry.js → p-f55a98dc20.entry.js} +1 -1
- package/dist/baloise-design-system/p-f6238b798a.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-b9be7f4ef6.system.entry.js → p-f647a73892.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3717f4438f.system.entry.js → p-f682c289a1.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0b800b55bc.system.entry.js → p-f6cb5253aa.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1b2d849d3f.system.entry.js → p-f8b560b22f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b603676988.entry.js → p-f91be8b19a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5c583159db.entry.js → p-fb2960c1b6.entry.js} +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-dropdown_3.cjs.entry.js +23 -21
- package/dist/cjs/bal-field_5.cjs.entry.js +11 -11
- package/dist/cjs/bal-file-upload.cjs.entry.js +4 -4
- package/dist/cjs/bal-footer.cjs.entry.js +3 -3
- package/dist/cjs/bal-form-col_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-form.cjs.entry.js +1 -1
- package/dist/cjs/bal-heading_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_5.cjs.entry.js +6 -6
- package/dist/cjs/bal-icon.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-group.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-slider.cjs.entry.js +3 -3
- package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bal-input.cjs.entry.js +1 -1
- package/dist/cjs/bal-label.cjs.entry.js +1 -1
- package/dist/cjs/bal-list_8.cjs.entry.js +10 -10
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-modal_3.cjs.entry.js +7 -7
- package/dist/cjs/bal-nav_8.cjs.entry.js +13 -13
- package/dist/cjs/bal-navbar_5.cjs.entry.js +8 -8
- package/dist/cjs/bal-notices_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-notification.cjs.entry.js +1 -1
- package/dist/cjs/bal-number-input.cjs.entry.js +1 -1
- package/dist/cjs/bal-pagination.cjs.entry.js +7 -7
- package/dist/cjs/bal-popup.cjs.entry.js +1 -1
- package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/bal-radio-icon.cjs.entry.js +1 -1
- package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-segment_2.cjs.entry.js +6 -6
- package/dist/cjs/bal-select_2.cjs.entry.js +6 -6
- package/dist/cjs/bal-shape.cjs.entry.js +5 -5
- package/dist/cjs/bal-sheet.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bal-stack.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +7 -7
- package/dist/cjs/bal-step-item.cjs.entry.js +2 -2
- package/dist/cjs/bal-steps.cjs.entry.js +3 -3
- package/dist/cjs/bal-switch.cjs.entry.js +1 -1
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +7 -7
- 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 +1 -1
- package/dist/cjs/bal-time-input.cjs.entry.js +1 -1
- package/dist/cjs/bal-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/baloise-design-system.cjs.js +1 -1
- package/dist/cjs/{breakpoints.decorator-DyuVBCe8.js → breakpoints.decorator-byAdfhn7.js} +1 -1
- package/dist/cjs/{breakpoints.subject-dnWvx514.js → breakpoints.subject-CarqIcOv.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/initialize-CWGvp-PN.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tokens.esm-CNpvwEnI.js → tokens.esm-wN1fum6F.js} +1 -1
- package/dist/cjs/{window-resize.decorator-Ck1Zfh6H.js → window-resize.decorator-DMReD0Er.js} +1 -1
- package/dist/collection/components/bal-accordion/test/bal-accordion.visual.play.js +16 -0
- package/dist/collection/components/bal-badge/test/bal-badge.visual.play.js +13 -0
- package/dist/collection/components/bal-button/test/bal-button.visual.play.js +32 -0
- package/dist/collection/components/bal-card/test/bal-card.visual.play.js +13 -0
- package/dist/collection/components/bal-carousel/test/bal-carousel.visual.play.js +13 -0
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.css +1 -1
- package/dist/collection/components/bal-checkbox/test/bal-checkbox-icons.visual.play.js +13 -0
- package/dist/collection/components/bal-checkbox/test/bal-checkbox-tiles.visual.play.js +13 -0
- package/dist/collection/components/bal-checkbox/test/bal-checkbox.visual.play.js +30 -0
- package/dist/collection/components/bal-close/test/bal-close.visual.play.js +13 -0
- package/dist/collection/components/bal-content/test/bal-content.visual.play.js +13 -0
- package/dist/collection/components/bal-data/test/bal-data.visual.play.js +13 -0
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__nav.js +2 -2
- package/dist/collection/components/bal-date/test/bal-date.visual.play.js +24 -0
- package/dist/collection/components/bal-divider/test/bal-divider.visual.play.js +13 -0
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +7 -3
- package/dist/collection/components/bal-dropdown/test/bal-dropdown.visual.play.js +85 -0
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +2 -2
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +1 -1
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +1 -1
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +2 -2
- package/dist/collection/components/bal-field/bal-field.js +2 -2
- package/dist/collection/components/bal-field/test/bal-field-horizontal.visual.play.js +13 -0
- package/dist/collection/components/bal-field/test/bal-field.visual.play.js +26 -0
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +4 -4
- package/dist/collection/components/bal-file-upload/test/bal-file-upload.visual.play.js +13 -0
- package/dist/collection/components/bal-footer/bal-footer.js +3 -3
- package/dist/collection/components/bal-footer/test/bal-footer.visual.play.js +42 -0
- package/dist/collection/components/bal-form/bal-form.js +1 -1
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +2 -2
- package/dist/collection/components/bal-form-grid/bal-form-grid.js +1 -1
- package/dist/collection/components/bal-form-grid/test/bal-form-grid.visual.play.js +13 -0
- package/dist/collection/components/bal-heading/bal-heading.js +1 -1
- package/dist/collection/components/bal-heading/test/bal-heading.visual.play.js +24 -0
- package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +1 -1
- package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +1 -1
- package/dist/collection/components/bal-hint/test/bal-hint.visual.play.js +15 -0
- package/dist/collection/components/bal-icon/bal-icon.js +1 -1
- package/dist/collection/components/bal-icon/test/bal-icon.visual.play.js +13 -0
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +2 -2
- package/dist/collection/components/bal-input/bal-input.js +1 -1
- package/dist/collection/components/bal-input/test/bal-input.visual.play.js +13 -0
- package/dist/collection/components/bal-input-group/bal-input-group.js +1 -1
- package/dist/collection/components/bal-input-group/test/bal-input-group.visual.play.js +26 -0
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +3 -3
- package/dist/collection/components/bal-input-slider/test/bal-input-slider.visual.play.js +13 -0
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +1 -1
- package/dist/collection/components/bal-input-stepper/test/bal-input-stepper.visual.play.js +13 -0
- package/dist/collection/components/bal-label/bal-label.js +1 -1
- package/dist/collection/components/bal-label/test/bal-label.visual.play.js +13 -0
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +2 -2
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +2 -2
- package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +1 -1
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +1 -1
- package/dist/collection/components/bal-list/bal-list.js +1 -1
- package/dist/collection/components/bal-list/test/bal-list.visual.play.js +13 -0
- package/dist/collection/components/bal-logo/test/bal-logo.visual.play.js +13 -0
- package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +1 -1
- package/dist/collection/components/bal-modal/bal-modal.js +5 -5
- package/dist/collection/components/bal-modal/test/bal-modal.visual.play.js +13 -0
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +2 -2
- package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +1 -1
- package/dist/collection/components/bal-nav/bal-nav.js +2 -2
- package/dist/collection/components/bal-nav/test/bal-nav-colors.visual.play.js +9 -0
- package/dist/collection/components/bal-nav/test/bal-nav-long.visual.play.js +9 -0
- package/dist/collection/components/bal-nav/test/bal-nav.visual.play.js +9 -0
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +1 -1
- package/dist/collection/components/bal-navbar/bal-navbar.js +1 -1
- package/dist/collection/components/bal-navbar/test/bal-navbar.visual.play.js +20 -0
- package/dist/collection/components/bal-notices/bal-notices.js +1 -1
- package/dist/collection/components/bal-notification/bal-notification.js +1 -1
- package/dist/collection/components/bal-notification/test/bal-notification.visual.play.js +13 -0
- package/dist/collection/components/bal-number-input/bal-number-input.js +1 -1
- package/dist/collection/components/bal-number-input/test/bal-number-input.visual.play.js +13 -0
- package/dist/collection/components/bal-option/bal-option.js +1 -1
- package/dist/collection/components/bal-option/test/bal-option.visual.play.js +13 -0
- package/dist/collection/components/bal-option-list/bal-option-list.js +1 -1
- package/dist/collection/components/bal-option-list/test/bal-option-list.visual.play.js +13 -0
- package/dist/collection/components/bal-pagination/bal-pagination.js +4 -4
- package/dist/collection/components/bal-pagination/test/bal-pagination.visual.play.js +13 -0
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +1 -1
- package/dist/collection/components/bal-popover/test/bal-popover.visual.play.js +13 -0
- package/dist/collection/components/bal-popup/bal-popup.js +1 -1
- package/dist/collection/components/bal-popup/test/bal-popup.visual.play.js +13 -0
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +1 -1
- package/dist/collection/components/bal-progress-bar/test/bal-progress-bar.visual.play.js +13 -0
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +1 -1
- package/dist/collection/components/bal-radio/bal-radio.js +2 -2
- package/dist/collection/components/bal-radio/test/bal-radio-icons.visual.play.js +13 -0
- package/dist/collection/components/bal-radio/test/bal-radio-tiles.visual.play.js +13 -0
- package/dist/collection/components/bal-radio/test/bal-radio.visual.play.js +25 -0
- package/dist/collection/components/bal-radio/test/car.svg +1 -1
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +1 -1
- package/dist/collection/components/bal-segment/bal-segment.js +1 -1
- package/dist/collection/components/bal-segment/test/bal-segment.visual.play.js +13 -0
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +1 -1
- package/dist/collection/components/bal-select/bal-select.js +5 -5
- package/dist/collection/components/bal-select/test/bal-select-multiple.visual.play.js +28 -0
- package/dist/collection/components/bal-select/test/bal-select.visual.play.js +28 -0
- package/dist/collection/components/bal-shape/bal-shape.js +4 -4
- package/dist/collection/components/bal-shape/test/bal-shape.visual.play.js +13 -0
- package/dist/collection/components/bal-sheet/bal-sheet.js +1 -1
- package/dist/collection/components/bal-sheet/test/bal-sheet.visual.play.js +12 -0
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +1 -1
- package/dist/collection/components/bal-snackbar/test/bal-snackbar.visual.play.js +13 -0
- 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-stack/test/bal-stack.visual.play.js +13 -0
- 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-stage/test/bal-stage.visual.play.js +11 -0
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +2 -2
- package/dist/collection/components/bal-steps/test/bal-steps.visual.play.js +13 -0
- package/dist/collection/components/bal-table/bal-table.js +1 -1
- package/dist/collection/components/bal-table/test/bal-table.visual.play.js +13 -0
- 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-tabs/test/bal-tabs.visual.play.js +25 -0
- 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-tag/test/bal-tag.component.play.js +2 -2
- package/dist/collection/components/bal-tag/test/bal-tag.visual.play.js +17 -19
- package/dist/collection/components/bal-text/bal-text.js +2 -2
- package/dist/collection/components/bal-text/test/bal-text.visual.play.js +13 -0
- package/dist/collection/components/bal-textarea/bal-textarea.js +1 -1
- package/dist/collection/components/bal-textarea/test/bal-textarea.visual.play.js +13 -0
- package/dist/collection/components/bal-time-input/bal-time-input.js +1 -1
- package/dist/collection/components/bal-time-input/test/bal-time-input.visual.play.js +13 -0
- package/dist/collection/components/bal-toast/bal-toast.js +1 -1
- package/dist/collection/components/bal-toast/test/bal-toast.visual.play.js +13 -0
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +1 -1
- package/dist/collection/components/bal-tooltip/test/bal-tooltip.visual.play.js +15 -0
- package/dist/collection/test/css-border.visual.play.js +23 -0
- package/dist/collection/test/css-color.visual.play.js +27 -0
- package/dist/collection/test/css-core.visual.play.js +13 -0
- package/dist/collection/test/css-display.visual.play.js +19 -0
- package/dist/collection/test/css-flex.visual.play.js +21 -0
- package/dist/collection/test/css-grid.visual.play.js +23 -0
- package/dist/collection/test/css-inheritance.visual.play.js +13 -0
- package/dist/collection/test/css-opacity.visual.play.js +13 -0
- package/dist/collection/test/css-radius.visual.play.js +13 -0
- package/dist/collection/test/css-shadow.visual.play.js +13 -0
- package/dist/collection/test/css-spacing.visual.play.js +27 -0
- package/dist/collection/test/css-structure.visual.play.js +13 -0
- package/dist/collection/test/css-typography.visual.play.js +12 -0
- package/dist/collection/test/theme-compact.visual.play.js +13 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/dropdown/index.js +1 -2
- package/dist/collection/utils/dropdown/value.js +8 -3
- package/dist/esm/bal-carousel_2.entry.js +3 -3
- package/dist/esm/bal-date-calendar_2.entry.js +4 -4
- package/dist/esm/bal-dropdown_3.entry.js +23 -21
- package/dist/esm/bal-field_5.entry.js +11 -11
- package/dist/esm/bal-file-upload.entry.js +4 -4
- package/dist/esm/bal-footer.entry.js +3 -3
- package/dist/esm/bal-form-col_2.entry.js +3 -3
- package/dist/esm/bal-form.entry.js +1 -1
- package/dist/esm/bal-heading_2.entry.js +3 -3
- package/dist/esm/bal-hint_5.entry.js +6 -6
- package/dist/esm/bal-icon.entry.js +1 -1
- package/dist/esm/bal-input-group.entry.js +1 -1
- package/dist/esm/bal-input-slider.entry.js +3 -3
- package/dist/esm/bal-input-stepper.entry.js +1 -1
- package/dist/esm/bal-input.entry.js +1 -1
- package/dist/esm/bal-label.entry.js +1 -1
- package/dist/esm/bal-list_8.entry.js +10 -10
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-modal_3.entry.js +7 -7
- package/dist/esm/bal-nav_8.entry.js +13 -13
- package/dist/esm/bal-navbar_5.entry.js +8 -8
- package/dist/esm/bal-notices_3.entry.js +3 -3
- package/dist/esm/bal-notification.entry.js +1 -1
- package/dist/esm/bal-number-input.entry.js +1 -1
- package/dist/esm/bal-pagination.entry.js +7 -7
- package/dist/esm/bal-popup.entry.js +1 -1
- package/dist/esm/bal-progress-bar.entry.js +5 -5
- package/dist/esm/bal-radio-icon.entry.js +1 -1
- package/dist/esm/bal-radio_2.entry.js +2 -2
- package/dist/esm/bal-segment_2.entry.js +6 -6
- package/dist/esm/bal-select_2.entry.js +6 -6
- package/dist/esm/bal-shape.entry.js +5 -5
- package/dist/esm/bal-sheet.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +1 -1
- package/dist/esm/bal-stack.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +7 -7
- package/dist/esm/bal-step-item.entry.js +2 -2
- package/dist/esm/bal-steps.entry.js +3 -3
- package/dist/esm/bal-switch.entry.js +1 -1
- package/dist/esm/bal-tab-item_2.entry.js +7 -7
- 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 +1 -1
- package/dist/esm/bal-time-input.entry.js +1 -1
- package/dist/esm/bal-tooltip.entry.js +1 -1
- package/dist/esm/baloise-design-system.js +1 -1
- package/dist/esm/{breakpoints.decorator-B1jmHb1D.js → breakpoints.decorator-t_yXJIZL.js} +1 -1
- package/dist/esm/{breakpoints.subject-CLkQ75F0.js → breakpoints.subject-BnQp404Z.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/initialize-pdWsVO-c.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tokens.esm-Crri2rlL.js → tokens.esm-Cf90NR4z.js} +1 -1
- package/dist/esm/{window-resize.decorator-Dm6C96Ro.js → window-resize.decorator-DBJlK-45.js} +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-dropdown_3.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-col_2.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-group.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-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-icon.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-sheet.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-switch.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-B1jmHb1D.js → breakpoints.decorator-t_yXJIZL.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-CLkQ75F0.js → breakpoints.subject-BnQp404Z.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-pdWsVO-c.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{window-resize.decorator-Dm6C96Ro.js → window-resize.decorator-DBJlK-45.js} +1 -1
- package/dist/types/components/bal-accordion/test/bal-accordion.visual.play.d.ts +1 -0
- package/dist/types/components/bal-badge/test/bal-badge.visual.play.d.ts +1 -0
- package/dist/types/components/bal-button/test/bal-button.visual.play.d.ts +1 -0
- package/dist/types/components/bal-card/test/bal-card.visual.play.d.ts +1 -0
- package/dist/types/components/bal-carousel/test/bal-carousel.visual.play.d.ts +1 -0
- package/dist/types/components/bal-checkbox/test/bal-checkbox-icons.visual.play.d.ts +1 -0
- package/dist/types/components/bal-checkbox/test/bal-checkbox-tiles.visual.play.d.ts +1 -0
- package/dist/types/components/bal-checkbox/test/bal-checkbox.visual.play.d.ts +1 -0
- package/dist/types/components/bal-close/test/bal-close.visual.play.d.ts +1 -0
- package/dist/types/components/bal-content/test/bal-content.visual.play.d.ts +1 -0
- package/dist/types/components/bal-data/test/bal-data.visual.play.d.ts +1 -0
- package/dist/types/components/bal-date/test/bal-date.visual.play.d.ts +1 -0
- package/dist/types/components/bal-divider/test/bal-divider.visual.play.d.ts +1 -0
- package/dist/types/components/bal-dropdown/test/bal-dropdown.visual.play.d.ts +1 -0
- package/dist/types/components/bal-field/test/bal-field-horizontal.visual.play.d.ts +1 -0
- package/dist/types/components/bal-field/test/bal-field.visual.play.d.ts +1 -0
- package/dist/types/components/bal-file-upload/test/bal-file-upload.visual.play.d.ts +1 -0
- package/dist/types/components/bal-footer/test/bal-footer.visual.play.d.ts +1 -0
- package/dist/types/components/bal-form-grid/test/bal-form-grid.visual.play.d.ts +1 -0
- package/dist/types/components/bal-heading/test/bal-heading.visual.play.d.ts +1 -0
- package/dist/types/components/bal-hint/test/bal-hint.visual.play.d.ts +1 -0
- package/dist/types/components/bal-icon/test/bal-icon.visual.play.d.ts +1 -0
- package/dist/types/components/bal-input/test/bal-input.visual.play.d.ts +1 -0
- package/dist/types/components/bal-input-group/test/bal-input-group.visual.play.d.ts +1 -0
- package/dist/types/components/bal-input-slider/test/bal-input-slider.visual.play.d.ts +1 -0
- package/dist/types/components/bal-input-stepper/test/bal-input-stepper.visual.play.d.ts +1 -0
- package/dist/types/components/bal-label/test/bal-label.visual.play.d.ts +1 -0
- package/dist/types/components/bal-list/test/bal-list.visual.play.d.ts +1 -0
- package/dist/types/components/bal-logo/test/bal-logo.visual.play.d.ts +1 -0
- package/dist/types/components/bal-modal/test/bal-modal.visual.play.d.ts +1 -0
- package/dist/types/components/bal-nav/test/bal-nav-colors.visual.play.d.ts +1 -0
- package/dist/types/components/bal-nav/test/bal-nav-long.visual.play.d.ts +1 -0
- package/dist/types/components/bal-nav/test/bal-nav.visual.play.d.ts +1 -0
- package/dist/types/components/bal-navbar/test/bal-navbar.visual.play.d.ts +1 -0
- package/dist/types/components/bal-notification/test/bal-notification.visual.play.d.ts +1 -0
- package/dist/types/components/bal-number-input/test/bal-number-input.visual.play.d.ts +1 -0
- package/dist/types/components/bal-option/test/bal-option.visual.play.d.ts +1 -0
- package/dist/types/components/bal-option-list/test/bal-option-list.visual.play.d.ts +1 -0
- package/dist/types/components/bal-pagination/test/bal-pagination.visual.play.d.ts +1 -0
- package/dist/types/components/bal-popover/test/bal-popover.visual.play.d.ts +1 -0
- package/dist/types/components/bal-popup/test/bal-popup.visual.play.d.ts +1 -0
- package/dist/types/components/bal-progress-bar/test/bal-progress-bar.visual.play.d.ts +1 -0
- package/dist/types/components/bal-radio/test/bal-radio-icons.visual.play.d.ts +1 -0
- package/dist/types/components/bal-radio/test/bal-radio-tiles.visual.play.d.ts +1 -0
- package/dist/types/components/bal-radio/test/bal-radio.visual.play.d.ts +1 -0
- package/dist/types/components/bal-segment/test/bal-segment.visual.play.d.ts +1 -0
- package/dist/types/components/bal-select/test/bal-select-multiple.visual.play.d.ts +1 -0
- package/dist/types/components/bal-select/test/bal-select.visual.play.d.ts +1 -0
- package/dist/types/components/bal-shape/test/bal-shape.visual.play.d.ts +1 -0
- package/dist/types/components/bal-sheet/test/bal-sheet.visual.play.d.ts +1 -0
- package/dist/types/components/bal-snackbar/test/bal-snackbar.visual.play.d.ts +1 -0
- package/dist/types/components/bal-stack/test/bal-stack.visual.play.d.ts +1 -0
- package/dist/types/components/bal-stage/test/bal-stage.visual.play.d.ts +1 -0
- package/dist/types/components/bal-steps/test/bal-steps.visual.play.d.ts +1 -0
- package/dist/types/components/bal-table/test/bal-table.visual.play.d.ts +1 -0
- package/dist/types/components/bal-tabs/test/bal-tabs.visual.play.d.ts +1 -0
- package/dist/types/components/bal-text/test/bal-text.visual.play.d.ts +1 -0
- package/dist/types/components/bal-textarea/test/bal-textarea.visual.play.d.ts +1 -0
- package/dist/types/components/bal-time-input/test/bal-time-input.visual.play.d.ts +1 -0
- package/dist/types/components/bal-toast/test/bal-toast.visual.play.d.ts +1 -0
- package/dist/types/components/bal-tooltip/test/bal-tooltip.visual.play.d.ts +1 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/index.d.ts +5 -4
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/devices.d.ts +1 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/screenshot.d.ts +1 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/types.d.ts +1 -0
- package/dist/types/test/css-border.visual.play.d.ts +1 -0
- package/dist/types/test/css-color.visual.play.d.ts +1 -0
- package/dist/types/test/css-core.visual.play.d.ts +1 -0
- package/dist/types/test/css-display.visual.play.d.ts +1 -0
- package/dist/types/test/css-flex.visual.play.d.ts +1 -0
- package/dist/types/test/css-grid.visual.play.d.ts +1 -0
- package/dist/types/test/css-inheritance.visual.play.d.ts +1 -0
- package/dist/types/test/css-opacity.visual.play.d.ts +1 -0
- package/dist/types/test/css-radius.visual.play.d.ts +1 -0
- package/dist/types/test/css-shadow.visual.play.d.ts +1 -0
- package/dist/types/test/css-spacing.visual.play.d.ts +1 -0
- package/dist/types/test/css-structure.visual.play.d.ts +1 -0
- package/dist/types/test/css-typography.visual.play.d.ts +1 -0
- package/dist/types/test/theme-compact.visual.play.d.ts +1 -0
- package/dist/types/utils/dropdown/index.d.ts +1 -2
- package/dist/types/utils/dropdown/value.d.ts +2 -5
- package/package.json +6 -6
- package/dist/baloise-design-system/p-0d487a482f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-17fb47d0d4.entry.js +0 -1
- package/dist/baloise-design-system/p-1f011724dd.entry.js +0 -1
- package/dist/baloise-design-system/p-24d0c0ddcf.entry.js +0 -1
- package/dist/baloise-design-system/p-2d57df519d.entry.js +0 -1
- package/dist/baloise-design-system/p-393a3d5fb7.entry.js +0 -1
- package/dist/baloise-design-system/p-4c12fc1e8f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-63cf9eadee.entry.js +0 -1
- package/dist/baloise-design-system/p-7571dcc8ec.system.entry.js +0 -1
- package/dist/baloise-design-system/p-80cae9282e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8670cb3845.entry.js +0 -1
- package/dist/baloise-design-system/p-DI-sUHVD.system.js +0 -1
- package/dist/baloise-design-system/p-ccf29475c6.entry.js +0 -1
- package/dist/baloise-design-system/p-f348ec6012.entry.js +0 -1
- package/dist/collection/utils/dropdown/option-list.js +0 -8
- package/dist/types/utils/dropdown/option-list.d.ts +0 -17
- /package/dist/baloise-design-system/{p-Crri2rlL.js → p-Cf90NR4z.js} +0 -0
- /package/dist/baloise-design-system/{p-CCoeJzzY.system.js → p-LFV9NiI-.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-Crri2rlL.js → tokens.esm-Cf90NR4z.js} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-button';
|
|
3
|
+
const VARIANTS = [
|
|
4
|
+
'primary',
|
|
5
|
+
'colors',
|
|
6
|
+
'colors-alternatives',
|
|
7
|
+
'sizes',
|
|
8
|
+
'inverted',
|
|
9
|
+
'expanded',
|
|
10
|
+
'flat',
|
|
11
|
+
'icon-right',
|
|
12
|
+
'outlined',
|
|
13
|
+
'rounded',
|
|
14
|
+
'shadow',
|
|
15
|
+
'variants',
|
|
16
|
+
'states',
|
|
17
|
+
'alert',
|
|
18
|
+
'square',
|
|
19
|
+
'group',
|
|
20
|
+
'links',
|
|
21
|
+
'inverted-links',
|
|
22
|
+
];
|
|
23
|
+
const image = screenshot(TAG);
|
|
24
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
25
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
26
|
+
});
|
|
27
|
+
VARIANTS.forEach(variant => {
|
|
28
|
+
test(variant, async ({ page }) => {
|
|
29
|
+
const el = page.getByTestId(variant);
|
|
30
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
31
|
+
});
|
|
32
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-card';
|
|
3
|
+
const VARIANTS = ['basic', 'colors', 'flat', 'square', 'border', 'space'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-carousel';
|
|
3
|
+
const VARIANTS = ['basic', 'image', 'product', 'card', 'card-with-value', 'responsive'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--bal-checkbox-switch-label-background-before: var(--bal-color-primary-1);--bal-checkbox-switch-label-background-after: var(--bal-color-primary);--bal-checkbox-switch-label-background-hover-after: var(--bal-color-light-blue-5);--bal-checkbox-switch-label-background-active-after: var(--bal-color-primary-6);--bal-checkbox-switch-label-background-pressed-after: var(--bal-color-border-primary-pressed);--bal-checkbox-switch-label-background-checked-before: var(--bal-color-success-4);--bal-checkbox-switch-label-background-checked-after: var(--bal-color-white);--bal-checkbox-switch-label-background-checked-hover-before: var(--bal-color-success-5);--bal-checkbox-switch-label-background-checked-active-before: var(--bal-color-success-6);--bal-checkbox-switch-label-background-invalid-before: var(--bal-color-danger-1);--bal-checkbox-switch-label-background-invalid-after: var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-hover-after: var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-active-after: var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-pressed-after: var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-invalid-checked-before: var(--bal-color-danger-4);--bal-checkbox-switch-label-background-invalid-checked-after: var(--bal-color-white);--bal-checkbox-switch-label-background-invalid-checked-hover-before: var(--bal-color-danger-5);--bal-checkbox-switch-label-background-invalid-checked-active-before: var(--bal-color-danger-6);--bal-checkbox-switch-label-background-invalid-checked-hovered-before: var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-checked-pressed-before: var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-disabled-hover-active-before: var(--bal-color-grey-3);--bal-checkbox-switch-label-background-disabled-hover-active-after: var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-before: var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-after: var(--bal-color-white)}.bal-switch{display:inline-flex;position:relative;justify-content:flex-start;align-items:center;cursor:pointer;user-select:none;width:2.5rem;height:1.5rem;padding:.25rem;border-radius:var(--bal-radius-rounded);overflow:hidden;background:var(--bal-checkbox-switch-label-background-before)}@media(hover: hover)and (pointer: fine){.bal-switch--hovered,.bal-switch:hover{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--hovered .bal-switch__toggle,.bal-switch:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-hover-after)}}.bal-switch--pressed,.bal-switch:active{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--pressed .bal-switch__toggle,.bal-switch:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-pressed-after)}.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-checked-before)}.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}@media(hover: hover)and (pointer: fine){.bal-switch--checked.bal-switch--hovered,.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-checked-hover-before)}.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}}.bal-switch--checked.bal-switch--pressed,.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-checked-active-before)}.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-switch--invalid{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-after)}@media(hover: hover)and (pointer: fine){.bal-switch--invalid.bal-switch--hovered,.bal-switch--invalid:hover{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-hover-after)}}.bal-switch--invalid.bal-switch--pressed,.bal-switch--invalid:active{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-pressed-after)}.bal-switch--invalid.bal-switch--checked.bal-switch,.bal-switch--invalid.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-invalid-checked-before)}.bal-switch--invalid.bal-switch--checked.bal-switch .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered,.bal-switch--invalid.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-invalid-checked-hovered-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed,.bal-switch--invalid.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-invalid-checked-pressed-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--disabled,.bal-switch--disabled:hover,.bal-switch--disabled:active{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-before)}.bal-switch--disabled .bal-switch__toggle,.bal-switch--disabled:hover .bal-switch__toggle,.bal-switch--disabled:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-after)}.bal-switch--disabled.bal-switch--checked,.bal-switch--disabled.bal-switch--checked:hover,.bal-switch--disabled.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-switch--disabled.bal-switch--checked .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:hover .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-after);border-radius:50%;position:absolute;top:.25rem;width:1rem;height:1rem;transition:transform .3s ease-in-out}.bal-switch__toggle--checked{transform:translateX(100%);background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-icon{position:absolute}.bal-icon .bal-switch__icon--checked{opacity:1}.bal-icon .bal-switch__icon{opacity:0;transition:opacity .3s ease-in-out}
|
|
1
|
+
:root{--bal-checkbox-switch-label-background-before: var(--bal-color-primary-1);--bal-checkbox-switch-label-background-after: var(--bal-color-primary);--bal-checkbox-switch-label-background-hover-after: var(--bal-color-light-blue-5);--bal-checkbox-switch-label-background-active-after: var(--bal-color-primary-6);--bal-checkbox-switch-label-background-pressed-after: var(--bal-color-border-primary-pressed);--bal-checkbox-switch-label-background-checked-before: var(--bal-color-success-4);--bal-checkbox-switch-label-background-checked-after: var(--bal-color-white);--bal-checkbox-switch-label-background-checked-hover-before: var(--bal-color-success-5);--bal-checkbox-switch-label-background-checked-active-before: var(--bal-color-success-6);--bal-checkbox-switch-label-background-invalid-before: var(--bal-color-danger-1);--bal-checkbox-switch-label-background-invalid-after: var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-hover-after: var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-active-after: var(--bal-color-border-danger);--bal-checkbox-switch-label-background-invalid-pressed-after: var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-invalid-checked-before: var(--bal-color-danger-4);--bal-checkbox-switch-label-background-invalid-checked-after: var(--bal-color-white);--bal-checkbox-switch-label-background-invalid-checked-hover-before: var(--bal-color-danger-5);--bal-checkbox-switch-label-background-invalid-checked-active-before: var(--bal-color-danger-6);--bal-checkbox-switch-label-background-invalid-checked-hovered-before: var(--bal-color-border-danger-hovered);--bal-checkbox-switch-label-background-invalid-checked-pressed-before: var(--bal-color-border-danger-pressed);--bal-checkbox-switch-label-background-disabled-hover-active-before: var(--bal-color-grey-3);--bal-checkbox-switch-label-background-disabled-hover-active-after: var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-before: var(--bal-color-border-grey-dark);--bal-checkbox-switch-label-background-disabled-checked-hover-active-after: var(--bal-color-white)}.bal-switch{display:inline-flex;position:relative;justify-content:flex-start;align-items:center;cursor:pointer;user-select:none;width:2.5rem;height:1.5rem;padding:.25rem;border-radius:var(--bal-radius-rounded);overflow:hidden;background:var(--bal-checkbox-switch-label-background-before)}@media(hover: hover)and (pointer: fine){.bal-switch--hovered,.bal-switch:hover{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--hovered .bal-switch__toggle,.bal-switch:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-hover-after)}}.bal-switch--pressed,.bal-switch:active{background:var(--bal-checkbox-switch-label-background-before)}.bal-switch--pressed .bal-switch__toggle,.bal-switch:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-pressed-after)}.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-checked-before)}.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}@media(hover: hover)and (pointer: fine){.bal-switch--checked.bal-switch--hovered,.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-checked-hover-before)}.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}}.bal-switch--checked.bal-switch--pressed,.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-checked-active-before)}.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-switch--invalid{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-after)}@media(hover: hover)and (pointer: fine){.bal-switch--invalid.bal-switch--hovered,.bal-switch--invalid:hover{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-hover-after)}}.bal-switch--invalid.bal-switch--pressed,.bal-switch--invalid:active{background:var(--bal-checkbox-switch-label-background-invalid-before)}.bal-switch--invalid.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-pressed-after)}.bal-switch--invalid.bal-switch--checked.bal-switch,.bal-switch--invalid.bal-switch--checked{background:var(--bal-checkbox-switch-label-background-invalid-checked-before)}.bal-switch--invalid.bal-switch--checked.bal-switch .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered,.bal-switch--invalid.bal-switch--checked:hover{background:var(--bal-checkbox-switch-label-background-invalid-checked-hovered-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--hovered .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:hover .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed,.bal-switch--invalid.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-invalid-checked-pressed-before)}.bal-switch--invalid.bal-switch--checked.bal-switch--pressed .bal-switch__toggle,.bal-switch--invalid.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-invalid-checked-after)}.bal-switch--disabled,.bal-switch--disabled:hover,.bal-switch--disabled:active{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-before)}.bal-switch--disabled .bal-switch__toggle,.bal-switch--disabled:hover .bal-switch__toggle,.bal-switch--disabled:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-hover-active-after)}.bal-switch--disabled.bal-switch--checked,.bal-switch--disabled.bal-switch--checked:hover,.bal-switch--disabled.bal-switch--checked:active{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-before)}.bal-switch--disabled.bal-switch--checked .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:hover .bal-switch__toggle,.bal-switch--disabled.bal-switch--checked:active .bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-disabled-checked-hover-active-after)}.bal-switch__toggle{background:var(--bal-checkbox-switch-label-background-after);border-radius:50%;position:absolute;top:.25rem;width:1rem;height:1rem;transition:transform .3s ease-in-out}.bal-switch__toggle--checked{transform:translateX(100%);background:var(--bal-checkbox-switch-label-background-checked-after)}.bal-switch .bal-icon{position:absolute}.bal-switch .bal-icon .bal-switch__icon--checked{opacity:1}.bal-switch .bal-icon .bal-switch__icon{opacity:0;transition:opacity .3s ease-in-out}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-checkbox';
|
|
3
|
+
const VARIANTS = ['check', 'switch'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}-icons.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-checkbox';
|
|
3
|
+
const VARIANTS = ['basic', 'grid', 'colors'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}-tiles.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-checkbox';
|
|
3
|
+
const VARIANTS = [
|
|
4
|
+
'checkbox-basic',
|
|
5
|
+
'checkbox-invalid',
|
|
6
|
+
'checkbox-disabled',
|
|
7
|
+
'checkbox-others',
|
|
8
|
+
'checkbox-long-label',
|
|
9
|
+
'switch-basic',
|
|
10
|
+
'switch-invalid',
|
|
11
|
+
'switch-disabled',
|
|
12
|
+
'switch-others',
|
|
13
|
+
'switch-long-label',
|
|
14
|
+
'button-basic',
|
|
15
|
+
'button-invalid',
|
|
16
|
+
'button-disabled',
|
|
17
|
+
'button-long-label',
|
|
18
|
+
'group-vertical',
|
|
19
|
+
'group-vertical-on-mobile',
|
|
20
|
+
];
|
|
21
|
+
const image = screenshot(TAG);
|
|
22
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
23
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
24
|
+
});
|
|
25
|
+
VARIANTS.forEach(variant => {
|
|
26
|
+
test(variant, async ({ page }) => {
|
|
27
|
+
const el = page.getByTestId(variant);
|
|
28
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
29
|
+
});
|
|
30
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-close';
|
|
3
|
+
const VARIANTS = ['basic', 'sizes', 'inverted'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-content';
|
|
3
|
+
const VARIANTS = ['basic', 'alignment', 'direction', 'space'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-data';
|
|
3
|
+
const VARIANTS = ['basic'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__nav.js
CHANGED
|
@@ -7,7 +7,7 @@ export const CalendarNav = ({ language, onClickSelectMonthAndYear, monthFullName
|
|
|
7
7
|
const nextMonthLabel = i18nBalDate[language].nextMonth;
|
|
8
8
|
const previousMonthLabel = i18nBalDate[language].previousMonth;
|
|
9
9
|
const selectMonthLabel = i18nBalDate[language].selectMonth;
|
|
10
|
-
return (h("div", { class: Object.assign({}, blockNav.class()) }, h("div", { class: Object.assign({}, blockNav.modifier('start').class()) }, h("button", { title: selectMonthLabel, "aria-label": selectMonthLabel, tabIndex: -1, "data-
|
|
10
|
+
return (h("div", { class: Object.assign({}, blockNav.class()) }, h("div", { class: Object.assign({}, blockNav.modifier('start').class()) }, h("button", { title: selectMonthLabel, "aria-label": selectMonthLabel, tabIndex: -1, "data-testid": "change-year-month", onClick: onClickSelectMonthAndYear }, h("span", null, monthFullNames[month - 1], " ", year), h("bal-icon", { name: "caret-up", color: "primary", size: "small", turn: isCalendarVisible }))), h("div", { class: Object.assign({}, blockNav.modifier('end').class()), style: {
|
|
11
11
|
display: isListVisible ? 'none' : 'flex',
|
|
12
|
-
} }, h("button", { title: previousMonthLabel, "aria-label": previousMonthLabel, onClick: onClickPreviousMonth, tabIndex: -1, "data-
|
|
12
|
+
} }, h("button", { title: previousMonthLabel, "aria-label": previousMonthLabel, onClick: onClickPreviousMonth, tabIndex: -1, "data-testid": "previous-month" }, h("bal-icon", { name: "caret-left", color: "primary", size: "small" })), h("button", { title: nextMonthLabel, "aria-label": nextMonthLabel, onClick: onClickNextMonth, tabIndex: -1, "data-testid": "next-month" }, h("bal-icon", { name: "caret-right", color: "primary", size: "small" })))));
|
|
13
13
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-date';
|
|
3
|
+
const VARIANTS = [
|
|
4
|
+
'basic',
|
|
5
|
+
'basic-placeholder',
|
|
6
|
+
'basic-value',
|
|
7
|
+
'invalid',
|
|
8
|
+
'invalid-placeholder',
|
|
9
|
+
'invalid-invalid',
|
|
10
|
+
'disabled',
|
|
11
|
+
'disabled-placeholder',
|
|
12
|
+
'disabled-disabled',
|
|
13
|
+
'free-solo',
|
|
14
|
+
];
|
|
15
|
+
const image = screenshot(TAG);
|
|
16
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
17
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
18
|
+
});
|
|
19
|
+
VARIANTS.forEach(variant => {
|
|
20
|
+
test(variant, async ({ page }) => {
|
|
21
|
+
const el = page.getByTestId(variant);
|
|
22
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-divider';
|
|
3
|
+
const VARIANTS = ['basic', 'stack', 'colors', 'spaces'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -4,7 +4,7 @@ import { inheritAttributes } from "../../utils/attributes";
|
|
|
4
4
|
import { BEM } from "../../utils/bem";
|
|
5
5
|
import { balBrowser } from "../../utils/browser";
|
|
6
6
|
import { ListenToConfig, defaultConfig, } from "../../utils/config";
|
|
7
|
-
import { DropdownAutoFillUtil, DropdownEventsUtil, DropdownFocusUtil, DropdownFormSubmitUtil, DropdownIcon, DropdownInput, DropdownNativeSelect,
|
|
7
|
+
import { DropdownAutoFillUtil, DropdownEventsUtil, DropdownFocusUtil, DropdownFormSubmitUtil, DropdownIcon, DropdownInput, DropdownNativeSelect, DropdownOptionUtil, DropdownPopupUtil, DropdownValue, DropdownValueUtil, } from "../../utils/dropdown";
|
|
8
8
|
import { defaultBalAriaForm } from "../../utils/form";
|
|
9
9
|
import { stopEventBubbling } from "../../utils/form-input";
|
|
10
10
|
import { addEventListener, removeEventListener, waitAfterIdleCallback } from "../../utils/helpers";
|
|
@@ -350,13 +350,17 @@ export class Dropdown {
|
|
|
350
350
|
const hasTheme = this.theme !== '';
|
|
351
351
|
const theme = `theme-${this.theme}`;
|
|
352
352
|
const focused = this.theme === 'purple' ? this.hasFocus && this.isKeyboardMode : this.hasFocus;
|
|
353
|
-
return (h(Host, { key: '
|
|
353
|
+
return (h(Host, { key: '3fe05ba6190dabe5fb8c297f4809659f7c24aa74', class: Object.assign({}, block.class()), tabindex: "-1", id: `${this.inputId}` }, h("div", { key: 'e0b038aa5b7ead381d271c5b7b04fd5bbaa3ea3b', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').class()), block.element('root').modifier('focused').class(focused)), block.element('root').modifier('invalid').class(this.invalid)), block.element('root').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').modifier('autofill').class(this.isAutoFilled)), block.element('root').modifier(size).class(hasSize)), block.element('root').modifier(theme).class(hasTheme)), block
|
|
354
354
|
.element('root')
|
|
355
355
|
.modifier(theme + '-filled')
|
|
356
356
|
.class(isFilled && hasTheme)), block
|
|
357
357
|
.element('root')
|
|
358
358
|
.modifier(theme + '-expanded')
|
|
359
|
-
.class(this.isExpanded && hasTheme)), "data-
|
|
359
|
+
.class(this.isExpanded && hasTheme)), "data-testid": "bal-dropdown-trigger", onClick: ev => this.eventsUtil.handleClick(ev) }, h("span", { key: 'a3499a9e2abcaa3b363385c475c3dcd91ed1a371', class: Object.assign(Object.assign(Object.assign(Object.assign({}, block.element('root').element('content').class()), block.element('root').element('content').modifier('disabled').class(this.valueUtil.isDisabled())), block.element('root').element('content').modifier('placeholder').class(!this.valueUtil.isFilled())), block.element('root').element('content').modifier(size).class(hasSize)) }, h(DropdownValue, { key: '8ffc980c91386038c4ee9b9e6673a25a3609d674', filled: this.valueUtil.isFilled(), inlineLabel: this.inlineLabel, chips: this.chips, placeholder: this.placeholder, choices: this.choices, renderChip: option => {
|
|
360
|
+
return (h("bal-tag", { key: option.value, "data-testid": "bal-dropdown-chip", size: "small", invalid: this.invalid, disabled: this.disabled || this.readonly, closable: !(this.disabled || this.readonly), onBalCloseClick: () => this.valueUtil.removeOption(option) }, option.label));
|
|
361
|
+
} })), h(DropdownInput, { key: '9a97fc39a821d5dcca32eba522ae29e4aa6eedc0', inputId: this.inputId, httpFormSubmit: this.httpFormSubmit, ariaForm: this.ariaForm, rawValue: this.rawValue, autocomplete: this.autocomplete, required: this.required, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, expanded: this.isExpanded, invalid: this.invalid, language: this.language, inputLabel: this.inputLabel, inheritedAttributes: this.inheritedAttributes, refInputEl: el => (this.nativeEl = el), onChange: ev => this.handleAutoFill(ev), onFocus: ev => this.eventsUtil.handleFocus(ev), onBlur: ev => this.eventsUtil.handleBlur(ev), onKeyDown: ev => this.handleKeyDown(ev) }), h(DropdownNativeSelect, { key: '2a33a8ac7f336889197137fc741ed8a4a107fceb', name: this.name, httpFormSubmit: this.httpFormSubmit, multiple: this.multiple, required: this.required, disabled: this.valueUtil.isDisabled(), rawValue: this.rawValue, refSelectEl: el => (this.selectEl = el) }), h(DropdownIcon, { key: 'd0f6958fb47ad7f6d73d4f98482cb2102c344f20', icon: this.icon, size: this.size, theme: this.theme, language: this.language, loading: this.loading, clearable: this.clearable, invalid: this.invalid, expanded: this.isExpanded, filled: isFilled, disabled: this.valueUtil.isDisabled() })), h("div", { key: '29e98d1f54ffb6ee913bd682d6531d45997fc1d0', id: `${this.inputId}-menu`, class: Object.assign(Object.assign({}, block.element('list').class()), block.element('list').modifier('expanded').class(this.isExpanded)), ref: el => (this.panelEl = el) }, h("bal-option-list", { key: '4e6fa69f9d9859208f83dd7bc86c17fc75d5eb60', multiple: this.multiple, disabled: this.valueUtil.isDisabled(), filter: this.filter, required: this.required, contentHeight: this.contentHeight, ref: el => (this.listEl = el) }, h("slot", { key: '1c169dc692632671f62410b2dadcbbc10b0fe36a' }), this.optionUtil.hasPropOptions()
|
|
362
|
+
? this.rawOptions.map(option => (h("bal-option", { key: option.value, value: option.value, label: option.label, disabled: option.disabled, multiline: option.multiline, invalid: option.invalid, hidden: option.hidden, selected: option.selected, focused: option.focused }, option.label)))
|
|
363
|
+
: ''))));
|
|
360
364
|
}
|
|
361
365
|
static get is() { return "bal-dropdown"; }
|
|
362
366
|
static get originalStyleUrls() {
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { expect, screenshot, test, waitForChanges } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-dropdown';
|
|
3
|
+
const image = screenshot(TAG);
|
|
4
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
5
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
6
|
+
});
|
|
7
|
+
test('basic', async ({ page }) => {
|
|
8
|
+
const el = page.getByTestId('basic');
|
|
9
|
+
await expect(el).toHaveScreenshot(image('basic-before'));
|
|
10
|
+
const inputEl = page.locator('input[placeholder="visual-basic"]');
|
|
11
|
+
await inputEl.click();
|
|
12
|
+
await waitForChanges(page);
|
|
13
|
+
await expect(el).toHaveScreenshot(image('basic-open'));
|
|
14
|
+
const optionEl = el.getByRole('option', { name: '1992' });
|
|
15
|
+
await optionEl.click();
|
|
16
|
+
await waitForChanges(page);
|
|
17
|
+
await expect(el).toHaveScreenshot(image('basic-selected'));
|
|
18
|
+
});
|
|
19
|
+
test('long-content', async ({ page }) => {
|
|
20
|
+
const el = page.getByTestId('long-content');
|
|
21
|
+
await expect(el).toHaveScreenshot(image('long-content-before'));
|
|
22
|
+
const inputEl = page.locator('input[placeholder="visual-long-content"]');
|
|
23
|
+
await inputEl.click();
|
|
24
|
+
await waitForChanges(page);
|
|
25
|
+
await expect(page).toHaveScreenshot(image('long-content-open'));
|
|
26
|
+
});
|
|
27
|
+
test('multiple', async ({ page }) => {
|
|
28
|
+
const el = page.getByTestId('multiple');
|
|
29
|
+
await expect(el).toHaveScreenshot(image('multiple-before'));
|
|
30
|
+
const inputEl = page.locator('input[placeholder="visual-multiple"]');
|
|
31
|
+
await inputEl.click();
|
|
32
|
+
await waitForChanges(page);
|
|
33
|
+
await expect(page).toHaveScreenshot(image('multiple-open'));
|
|
34
|
+
const optionFirstEl = el.getByRole('option', { name: '1991' });
|
|
35
|
+
await optionFirstEl.click();
|
|
36
|
+
await waitForChanges(page);
|
|
37
|
+
const optionSecondEl = el.getByRole('option', { name: '1992' });
|
|
38
|
+
await optionSecondEl.click();
|
|
39
|
+
await waitForChanges(page);
|
|
40
|
+
await expect(el).toHaveScreenshot(image('multiple-selected'));
|
|
41
|
+
});
|
|
42
|
+
test('multiple-chips', async ({ page }) => {
|
|
43
|
+
const el = page.getByTestId('multiple-chips');
|
|
44
|
+
await expect(el).toHaveScreenshot(image('multiple-chips-before'));
|
|
45
|
+
const inputEl = page.locator('input[placeholder="visual-multiple-chips"]');
|
|
46
|
+
await inputEl.click({ force: true });
|
|
47
|
+
await waitForChanges(page);
|
|
48
|
+
await expect(page).toHaveScreenshot(image('multiple-chips-open'));
|
|
49
|
+
});
|
|
50
|
+
test('form-field', async ({ page }) => {
|
|
51
|
+
const el = page.getByTestId('form-field');
|
|
52
|
+
await expect(el).toHaveScreenshot(image('form-field-before'));
|
|
53
|
+
const inputEl = page.locator('input[placeholder="visual-form-field"]');
|
|
54
|
+
await inputEl.click();
|
|
55
|
+
await waitForChanges(page);
|
|
56
|
+
await expect(page).toHaveScreenshot(image('form-field-open'));
|
|
57
|
+
});
|
|
58
|
+
test('small-purple', async ({ page }) => {
|
|
59
|
+
const el = page.getByTestId('small-purple');
|
|
60
|
+
await expect(el).toHaveScreenshot(image('small-purple-before'));
|
|
61
|
+
});
|
|
62
|
+
test('clearable', async ({ page }) => {
|
|
63
|
+
const el = page.getByTestId('clearable');
|
|
64
|
+
await expect(el).toHaveScreenshot(image('clearable-before'));
|
|
65
|
+
const inputEl = page.locator('input[placeholder="visual-clearable"]');
|
|
66
|
+
await inputEl.click();
|
|
67
|
+
await waitForChanges(page);
|
|
68
|
+
await expect(page).toHaveScreenshot(image('clearable-open'));
|
|
69
|
+
const optionEl = el.getByRole('option', { name: '1988' });
|
|
70
|
+
await optionEl.click();
|
|
71
|
+
await waitForChanges(page);
|
|
72
|
+
await expect(el).toHaveScreenshot(image('clearable-selected'));
|
|
73
|
+
});
|
|
74
|
+
test('loading', async ({ page }) => {
|
|
75
|
+
const el = page.getByTestId('loading');
|
|
76
|
+
await expect(el).toHaveScreenshot(image('loading-before'));
|
|
77
|
+
});
|
|
78
|
+
test('invalid', async ({ page }) => {
|
|
79
|
+
const el = page.getByTestId('invalid');
|
|
80
|
+
await expect(el).toHaveScreenshot(image('invalid-before'));
|
|
81
|
+
});
|
|
82
|
+
test('disabled', async ({ page }) => {
|
|
83
|
+
const el = page.getByTestId('disabled');
|
|
84
|
+
await expect(el).toHaveScreenshot(image('disabled-before'));
|
|
85
|
+
});
|
|
@@ -33,14 +33,14 @@ export class FieldControl {
|
|
|
33
33
|
return '';
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'f2dbde868506b54d5b5e2fc14b5c29c417d42891', class: {
|
|
37
37
|
'bal-field-control': true,
|
|
38
38
|
'control': true,
|
|
39
39
|
'has-icons-left': !!this.iconLeft,
|
|
40
40
|
'has-icons-right': !!this.iconRight,
|
|
41
41
|
'is-loading': this.loading,
|
|
42
42
|
'bal-field-control--expanded-on-mobile': !!this.expandedOnMobile,
|
|
43
|
-
} }, h("slot", { key: '
|
|
43
|
+
} }, h("slot", { key: '274cd16bccefc825d85e4b1222da7c523a1aa937' }), this.buildIconLeftTemplate, this.buildIconRightTemplate));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "bal-field-control"; }
|
|
46
46
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,7 +28,7 @@ export class FieldHint {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const block = BEM.block('field-hint');
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '90dbf0da0a0c7ec498538721135e2fdefc4ac238', class: Object.assign({}, block.class()) }, h("bal-hint", { key: '1976d07de449aa8b2897a375f61953f0c705e4ae', class: Object.assign({}, block.element('hint').class()), "data-testid": "bal-field-hint", closeLabel: this.closeLabel, small: this.small }, this.subject && !(this.hideTitleOnDesktop && this.isDesktop) ? (h("bal-hint-title", null, this.subject)) : (''), h("bal-hint-text", { key: 'ae2b48186e4f4c1adbfe7b3ed57a798a55a4cad0' }, h("slot", { key: 'e4a33e9e14ab86a15e78321fbd9f7325e0420ec5' })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "bal-field-hint"; }
|
|
34
34
|
static get encapsulation() { return "scoped"; }
|
|
@@ -64,7 +64,7 @@ export class FieldLabel {
|
|
|
64
64
|
* ------------------------------------------------------
|
|
65
65
|
*/
|
|
66
66
|
render() {
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '6685a5711aba2152b975fe49fe114a9edb400679', class: "bal-field-label" }, h("bal-label", { key: 'f677ab02ba144832c6304dc99c3e2900079e38b7', multiline: true, size: this.size, htmlFor: this.htmlFor, required: this.required, valid: this.valid, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, weight: this.weight }, h("slot", { key: '687bfc73cab2cf7bef4e3e15b6a9090d5ba29d38' }))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "bal-field-label"; }
|
|
70
70
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,14 +35,14 @@ export class FieldMessage {
|
|
|
35
35
|
this.ariaForm = Object.assign({}, ariaForm);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '24a1ad8e6d848841fd1e83428aa14430ed6fe5fc', id: this.ariaForm.messageId, class: {
|
|
39
39
|
'bal-field-message': true,
|
|
40
40
|
'help': true,
|
|
41
41
|
'is-danger': this.invalid,
|
|
42
42
|
'is-success': this.valid,
|
|
43
43
|
'is-disabled': this.disabled || this.readonly,
|
|
44
44
|
[`is-${this.color}`]: !!this.color,
|
|
45
|
-
}, style: { minHeight: this.noReservedSpace ? '0' : undefined } }, h("slot", { key: '
|
|
45
|
+
}, style: { minHeight: this.noReservedSpace ? '0' : undefined } }, h("slot", { key: '2cb9fb2480527f5b4ae63611f3a424fcc202bc36' })));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "bal-field-message"; }
|
|
48
48
|
static get properties() {
|
|
@@ -188,12 +188,12 @@ export class Field {
|
|
|
188
188
|
components.forEach(c => callback(c));
|
|
189
189
|
}
|
|
190
190
|
render() {
|
|
191
|
-
return (h(Host, { key: '
|
|
191
|
+
return (h(Host, { key: 'ef05b294a516d40c5089d051feeb46715f581bc1', id: this.fieldId, class: {
|
|
192
192
|
'bal-field': true,
|
|
193
193
|
'field': true,
|
|
194
194
|
'bal-field--invalid': this.invalid === true,
|
|
195
195
|
'bal-field--horizontal': this.horizontal === true,
|
|
196
|
-
} }, h("slot", { key: '
|
|
196
|
+
} }, h("slot", { key: '5710d7fd141b21d699004d7982d5d5bb7238cd94' }), h("span", { key: 'e1b36343cdcb60960bcdac4d938c946f40041334', class: "bal-field-hidden" })));
|
|
197
197
|
}
|
|
198
198
|
static get is() { return "bal-field"; }
|
|
199
199
|
static get originalStyleUrls() {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-field';
|
|
3
|
+
const VARIANTS = ['horizontal', 'horizontal-long-label', 'horizontal-with-hint', 'horizontal-with-hint-hidden'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}-horizontal.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-field';
|
|
3
|
+
const VARIANTS = [
|
|
4
|
+
'basic',
|
|
5
|
+
'disabled',
|
|
6
|
+
'invalid',
|
|
7
|
+
'readonly',
|
|
8
|
+
'required',
|
|
9
|
+
'valid',
|
|
10
|
+
'label-long',
|
|
11
|
+
'horizontal',
|
|
12
|
+
'horizontal-long-label',
|
|
13
|
+
'horizontal-with-hint-hidden',
|
|
14
|
+
'horizontal-with-hint',
|
|
15
|
+
'label-long-with-hint',
|
|
16
|
+
];
|
|
17
|
+
const image = screenshot(TAG);
|
|
18
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
19
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
20
|
+
});
|
|
21
|
+
VARIANTS.forEach(variant => {
|
|
22
|
+
test(variant, async ({ page }) => {
|
|
23
|
+
const el = page.getByTestId(variant);
|
|
24
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
25
|
+
});
|
|
26
|
+
});
|
|
@@ -234,16 +234,16 @@ export class FileUpload {
|
|
|
234
234
|
*/
|
|
235
235
|
render() {
|
|
236
236
|
const id = this.ariaForm.controlId || this.fileUploadId;
|
|
237
|
-
return (h(Host, { key: '
|
|
237
|
+
return (h(Host, { key: '05b754f351fce01410a7b962aac9df747a2199ff', onClick: this.onHostClick, "aria-disabled": ariaBooleanToString(this.disabled), class: {
|
|
238
238
|
'bal-file-upload': true,
|
|
239
|
-
} }, h("div", { key: '
|
|
239
|
+
} }, h("div", { key: '9e2f871f72b1c666ed8d911e91cfedaf548c2519', class: {
|
|
240
240
|
'file': true,
|
|
241
241
|
'is-disabled': this.disabled || this.readonly || this.loading,
|
|
242
242
|
'is-danger': this.invalid,
|
|
243
|
-
} }, h("label", { key: '
|
|
243
|
+
} }, h("label", { key: '9976fcf5ba8dd68ff8d01bf0c963a0feee42fd21', htmlFor: id, ref: el => (this.labelEl = el), class: {
|
|
244
244
|
'file-label': true,
|
|
245
245
|
'is-disabled': this.disabled || this.loading || this.readonly,
|
|
246
|
-
} }, h("input", { key: '
|
|
246
|
+
} }, h("input", { key: '7596fa2c3174ac804b3b3b950c6e181a25080d80', class: "file-input", type: "file", id: id, "aria-labelledby": this.ariaForm.labelId, "aria-describedby": this.ariaForm.messageId, "aria-invalid": this.invalid === true ? 'true' : 'false', "aria-disabled": ariaBooleanToString(this.disabled), name: this.name, multiple: this.multiple, disabled: this.disabled || this.loading || this.readonly, readonly: this.readonly, required: this.required, accept: this.accept, onClick: this.onInputClick, onChange: this.onInputChange, onFocus: this.onInputFocus, onBlur: this.onInputBlur, ref: el => (this.nativeInput = el), "data-testid": "bal-file-upload-input" }), this.loading ? (h("span", { class: "file-cta" }, h("bal-spinner", null))) : (h("span", { class: "file-cta" }, h("span", { class: "file-icon" }, h("bal-icon", { name: "upload", size: "medium", color: this.disabled || this.loading || this.readonly ? 'grey-light' : this.invalid ? 'danger' : 'blue' })), h("span", { class: "file-label", "data-testid": "bal-file-upload-label" }, this.label))))), this.hasFileList && this.files.length > 0 ? (h(FileListComponent, { files: this.files, disabled: this.disabled || this.readonly || this.loading, subTitle: this.subTitle, onRemoveFile: this.onRemoveFile })) : ('')));
|
|
247
247
|
}
|
|
248
248
|
static get is() { return "bal-file-upload"; }
|
|
249
249
|
static get originalStyleUrls() {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { expect, screenshot, test } from "../../../../../../playwright/src/index";
|
|
2
|
+
const TAG = 'bal-file-upload';
|
|
3
|
+
const VARIANTS = ['basic', 'disabled', 'invalid', 'readonly'];
|
|
4
|
+
const image = screenshot(TAG);
|
|
5
|
+
test.beforeEach('Setup', async ({ page }) => {
|
|
6
|
+
await page.setupVisualTest(`/components/${TAG}/test/${TAG}.visual.html`);
|
|
7
|
+
});
|
|
8
|
+
VARIANTS.forEach(variant => {
|
|
9
|
+
test(variant, async ({ page }) => {
|
|
10
|
+
const el = page.getByTestId(variant);
|
|
11
|
+
await expect(el).toHaveScreenshot(image(`${variant}`));
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -120,14 +120,14 @@ export class Footer {
|
|
|
120
120
|
const elWrapper = elLanguage.element('wrapper');
|
|
121
121
|
const elLegalLinks = elLinksContainer.element('legal-links');
|
|
122
122
|
const elSocialMediaLinks = elLinksContainer.element('social-media-links');
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: 'ca5dacc6c906754b6bb466c448be4f6bb5b38dff', class: Object.assign({}, block.class()) }, h("footer", { key: '8d42cfff788350c5e5ae26f86b613fcd5144085d', class: Object.assign({}, elInner.class()) }, h("div", { key: 'a60281af0dcf73da3901cb605b49d35b3bb3e6ed', class: Object.assign({}, elInnerWrapper.class()) }, h("div", { key: '857d35746558b5b0a5ec79562b3f2c0e30037141', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elHeaderContainer.class()) }, h("div", { key: 'c1e5bae12ba5449888156244789fd79dbdc3a388', class: Object.assign({}, elLogo.class()) }, this.logoHref ? (h("img", { src: this.logoHref, alt: "Logo" })) : this.logoSvgContent ? (h("div", { innerHTML: this.logoSvgContent })) : (h("bal-logo", { color: "white" }))), h("div", { key: 'de3b93d01ad75facf4219df8954016095aa143ab', class: Object.assign({}, elLanguage.class()), style: {
|
|
124
124
|
display: this.hideLanguageSelection || this.allowedLanguages.length <= 1 ? 'none' : 'flex',
|
|
125
|
-
} }, h("div", { key: '
|
|
125
|
+
} }, h("div", { key: '7be8f0588d5da5e436b72214c67542316d325481', class: Object.assign({}, elWrapper.class()) }, h("bal-icon", { key: '935dfaa39b97f40cd946ce8c8a0a0f421b3876b6', class: Object.assign({}, elWrapper.element('icon').class()), name: "web", color: "white" }), h("select", { key: 'd8408623006a257fa422b0789bc1e021461f1b1e', class: Object.assign({}, elWrapper.element('select').class()), onChange: event => this.changeLanguage(event.target.value), "data-testid": "bal-footer-language" }, this.allowedLanguages.map(language => (h("option", { key: language, value: language, selected: language === this.language }, language.toLocaleUpperCase() + ' - ' + i18nBalFooter[language].name))))))), h("div", { key: '422e8cae4fd1cd625afb3cc81bc7c0cfac99fe65', class: Object.assign({}, elSlot.class()) }, h("slot", { key: 'b7c73e907ffbe0b64eb4608143774bcf7c56ff30' })), h("div", { key: '7bc64923fe79674a26e96f263785abf96dba1af6', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elLinksContainer.class()) }, h("div", { key: '5e5c86e58b3df89978657217ba145555786becfb', class: Object.assign({}, elSocialMediaLinks.class()), style: {
|
|
126
126
|
display: !this.showSocialMedia ? 'none' : 'flex',
|
|
127
127
|
} }, this.socialMediaLinks.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
|
|
128
128
|
'link': true,
|
|
129
129
|
'is-inverted': true,
|
|
130
|
-
} }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '
|
|
130
|
+
} }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '610e34f952fd08cba92099a213371e45c5f7ebc6', class: Object.assign({}, elLegalLinks.class()), style: { display: this.hideLinks ? 'none' : 'flex' } }, this.links &&
|
|
131
131
|
this.links.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
|
|
132
132
|
'link': true,
|
|
133
133
|
'is-light': true,
|