@baloise/ds-core 16.0.3 → 16.1.0
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 +234 -0
- package/components/all.js +350 -0
- package/components/aria.js +3 -0
- package/components/bal-accordion-details.js +4 -4
- package/components/bal-card.js +2 -2
- package/components/bal-card2.js +3 -3
- package/components/bal-carousel2.js +1 -1
- package/components/bal-checkbox-button.js +6 -6
- package/components/bal-checkbox-group.js +1 -1
- package/components/bal-checkbox2.js +3 -2
- package/components/bal-close2.js +1 -1
- package/components/bal-content.js +4 -4
- package/components/bal-date-calendar-cell.js +2 -2
- package/components/bal-date-calendar-cell2.js +3 -3
- package/components/bal-date-calendar2.js +3 -3
- package/components/bal-datepicker.js +3 -3
- package/components/bal-divider.js +4 -4
- package/components/bal-dropdown.d.ts +11 -0
- package/components/bal-dropdown.js +710 -0
- package/components/bal-field.js +12 -2
- package/components/bal-file-upload.js +1 -1
- package/components/bal-footer.js +4 -4
- package/components/bal-input-slider.js +1 -1
- package/components/bal-label.js +2 -2
- package/components/bal-label2.js +5 -5
- package/components/bal-nav-link-grid-col.js +2 -2
- package/components/bal-nav-link-grid-col2.js +4 -4
- package/components/bal-nav-link-grid.js +2 -2
- package/components/bal-nav-link-grid2.js +4 -4
- package/components/bal-nav-link-group.js +4 -4
- package/components/bal-nav-link.js +2 -2
- package/components/bal-nav-link2.js +4 -4
- package/components/bal-nav.js +8 -8
- package/components/bal-notices.js +3 -3
- package/components/bal-number-input.js +31 -13
- package/components/bal-option-list.d.ts +11 -0
- package/components/bal-option-list.js +459 -0
- package/components/bal-option.d.ts +11 -0
- package/components/bal-option.js +171 -0
- package/components/bal-popup.js +1 -1
- package/components/bal-radio-button.js +5 -5
- package/components/bal-radio-group.js +1 -1
- package/components/bal-radio2.js +1 -1
- package/components/bal-select2.js +4 -4
- package/components/bal-spinner2.js +54 -6
- package/components/bal-stack.js +2 -2
- package/components/bal-stack2.js +4 -4
- package/components/bal-steps.js +1 -1
- package/components/bal-tabs2.js +2 -2
- package/components/bal-tag2.js +1 -1
- package/components/config.default.js +1 -0
- package/components/date.js +5 -1
- package/components/index.esm.js +1 -1
- package/components/index.js +9 -1
- package/components/option.js +46 -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-013b4c72.system.js +1 -0
- package/dist/baloise-design-system/p-0639833837.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-88852ce68d.system.entry.js → p-06e9a468fc.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-0793c0159f.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-720c90ea90.system.entry.js → p-0fed7a5f26.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-10b8686d91.entry.js +1 -0
- package/dist/baloise-design-system/{p-e113196061.system.entry.js → p-126c79c9e9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bb2ec275bb.system.entry.js → p-12bb6ea3e7.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-12bcc7da.js +1 -0
- package/dist/baloise-design-system/{p-762f45ff6f.entry.js → p-135c5759c5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-62770d5d.system.js → p-14ae0709.system.js} +1 -1
- package/dist/baloise-design-system/{p-3bbf43bb.system.js → p-1509eaa7.system.js} +1 -1
- package/dist/baloise-design-system/{p-946e9e784d.system.entry.js → p-1659bb968c.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-187f98a1.system.js +1 -0
- package/dist/baloise-design-system/p-18e2e391e0.system.entry.js +1 -0
- package/dist/baloise-design-system/p-1de6b20b1c.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-1c2dee82c4.system.entry.js → p-222bc9b30e.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-22b041a511.entry.js +1 -0
- package/dist/baloise-design-system/{p-f62222a85d.entry.js → p-25da216e4f.entry.js} +1 -1
- package/dist/baloise-design-system/p-25e0d82e89.system.entry.js +1 -0
- package/dist/baloise-design-system/p-2d82b78410.entry.js +1 -0
- package/dist/baloise-design-system/{p-a0db085f89.entry.js → p-2d8bd11634.entry.js} +1 -1
- package/dist/baloise-design-system/p-2db9030ad9.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-8444cfcbed.system.entry.js → p-3128128969.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9a5cb17cb9.entry.js → p-39bc49bc3d.entry.js} +1 -1
- package/dist/baloise-design-system/p-3bad0907.system.js +1 -0
- package/dist/baloise-design-system/{p-12786937.js → p-3f1c49d0.js} +1 -1
- package/dist/baloise-design-system/{p-33fca72859.entry.js → p-4aba4c66ee.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9e4fcb76.js → p-54f81c32.js} +1 -1
- package/dist/baloise-design-system/{p-922fd809.system.js → p-55faac1d.system.js} +1 -1
- package/dist/baloise-design-system/p-5b571a9fb1.entry.js +1 -0
- package/dist/baloise-design-system/{p-671a986aff.entry.js → p-60e94f8144.entry.js} +1 -1
- package/dist/baloise-design-system/{p-06e959a11a.entry.js → p-6164f99bb8.entry.js} +1 -1
- package/dist/baloise-design-system/p-62ab1f0ae2.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-6b80dee13f.system.entry.js → p-62b792a34b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8998eeb2a7.system.entry.js → p-74f4b9818b.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-77f5e777e6.entry.js +1 -0
- package/dist/baloise-design-system/p-7c42a363f3.entry.js +1 -0
- package/dist/baloise-design-system/p-7cd815d3e8.entry.js +1 -0
- package/dist/baloise-design-system/p-80b45dd4d6.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-af5b58ab1c.system.entry.js → p-8870e1f3e0.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3cb83cf9.system.js → p-8a87b9a8.system.js} +1 -1
- package/dist/baloise-design-system/{p-a5568e05fb.system.entry.js → p-8c209ac52b.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8f77c423ad.entry.js +1 -0
- package/dist/baloise-design-system/{p-32bc2b926a.entry.js → p-8fe94b9e21.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1b76afbf.js → p-94efe2aa.js} +1 -1
- package/dist/baloise-design-system/{p-0ce86357bd.entry.js → p-9658f4a66f.entry.js} +1 -1
- package/dist/baloise-design-system/p-9a0640d065.entry.js +1 -0
- package/dist/baloise-design-system/{p-c3bd665a8b.entry.js → p-9e167705ca.entry.js} +1 -1
- package/dist/baloise-design-system/p-9ecce014c2.system.entry.js +1 -0
- package/dist/baloise-design-system/p-a19d1e1d.js +1 -0
- package/dist/baloise-design-system/p-a7e5ee75e2.entry.js +1 -0
- package/dist/baloise-design-system/{p-9cc5ae9e5c.entry.js → p-a8022ee701.entry.js} +1 -1
- package/dist/baloise-design-system/p-a97cbb7dda.entry.js +1 -0
- package/dist/baloise-design-system/p-acb5cea0.system.js +1 -0
- package/dist/baloise-design-system/p-ae28b86fe5.entry.js +1 -0
- package/dist/baloise-design-system/p-b779742f50.entry.js +1 -0
- package/dist/baloise-design-system/{p-cee3cd08.js → p-b8d99064.js} +1 -1
- package/dist/baloise-design-system/p-b8f085f7b5.system.entry.js +1 -0
- package/dist/baloise-design-system/p-b97d9336a7.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-b3a2290c0d.entry.js → p-b9f197815f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9e7610a20f.system.entry.js → p-bb3914c87a.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-bb6304d0.system.js +1 -0
- package/dist/baloise-design-system/p-bcbb5b59f3.system.entry.js +1 -0
- package/dist/baloise-design-system/p-bcca1ed3.system.js +1 -0
- package/dist/baloise-design-system/{p-1cdfb98b54.entry.js → p-bcebf41b74.entry.js} +1 -1
- package/dist/baloise-design-system/p-bd5de78b2c.entry.js +1 -0
- package/dist/baloise-design-system/p-c304d5fa9c.entry.js +1 -0
- package/dist/baloise-design-system/{p-8177dec3.system.js → p-cc61fac8.system.js} +1 -1
- package/dist/baloise-design-system/{p-ac825842e4.system.entry.js → p-cd8e72d87f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a9300668b4.system.entry.js → p-d16557d133.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d7a758b3.js +1 -0
- package/dist/baloise-design-system/{p-33cd610840.system.entry.js → p-d919753ed0.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-d9b38501.js +1 -0
- package/dist/baloise-design-system/p-d9d229a026.entry.js +1 -0
- package/dist/baloise-design-system/{p-13227d037a.system.entry.js → p-dbc2d22240.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aacb0cee66.system.entry.js → p-dce3764ee5.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-ddf9b2a289.entry.js +1 -0
- package/dist/baloise-design-system/{p-49a8bfb790.system.entry.js → p-e4de708de1.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-e60c936359.system.entry.js +1 -0
- package/dist/baloise-design-system/p-e78a6409.js +1 -0
- package/dist/baloise-design-system/{p-f55c50abfa.system.entry.js → p-f076d1ed4f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b34e0daa6e.system.entry.js → p-f0b43f1452.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-f12abda2db.entry.js +1 -0
- package/dist/baloise-design-system/{p-31d9c875c0.system.entry.js → p-f1b95d78af.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-f56fb1a197.entry.js +1 -0
- package/dist/baloise-design-system/{p-681d41fc97.entry.js → p-f8974d743d.entry.js} +1 -1
- package/dist/baloise-design-system/p-f8a98657a1.entry.js +1 -0
- package/dist/cjs/{app-globals-d6bc7866.js → app-globals-ae3a8623.js} +1 -1
- package/dist/cjs/aria-c8955a5c.js +5 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +4 -4
- package/dist/cjs/bal-card_6.cjs.entry.js +3 -3
- package/dist/cjs/bal-carousel_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-checkbox-button.cjs.entry.js +6 -6
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +4 -3
- package/dist/cjs/bal-close.cjs.entry.js +2 -2
- package/dist/cjs/bal-content.cjs.entry.js +4 -4
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +2 -2
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-date.cjs.entry.js +2 -2
- package/dist/cjs/bal-datepicker.cjs.entry.js +7 -7
- package/dist/cjs/bal-divider.cjs.entry.js +4 -4
- package/dist/cjs/bal-dropdown.cjs.entry.js +660 -0
- package/dist/cjs/bal-field_5.cjs.entry.js +12 -2
- package/dist/cjs/bal-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/bal-footer.cjs.entry.js +4 -4
- package/dist/cjs/bal-hint_3.cjs.entry.js +3 -3
- package/dist/cjs/bal-icon.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-slider.cjs.entry.js +1 -1
- package/dist/cjs/bal-input-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bal-label.cjs.entry.js +6 -6
- package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +28 -28
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-notices.cjs.entry.js +3 -3
- package/dist/cjs/bal-number-input.cjs.entry.js +32 -14
- package/dist/cjs/bal-option_2.cjs.entry.js +541 -0
- package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
- package/dist/cjs/bal-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/bal-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/bal-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-select_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-spinner.cjs.entry.js +49 -4
- package/dist/cjs/bal-stack.cjs.entry.js +4 -4
- package/dist/cjs/bal-steps.cjs.entry.js +4 -4
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-tag_2.cjs.entry.js +1 -1
- package/dist/cjs/bal-time-input.cjs.entry.js +1 -1
- package/dist/cjs/baloise-design-system.cjs.js +4 -4
- package/dist/cjs/{breakpoints.decorator-7f888011.js → breakpoints.decorator-47fd6060.js} +1 -1
- package/dist/cjs/{breakpoints.subject-28c980cd.js → breakpoints.subject-66093c8f.js} +1 -1
- package/dist/cjs/{config.default-32725178.js → config.default-5bdd6e3d.js} +1 -0
- package/dist/cjs/{date-df1d61a8.js → date-3e33b208.js} +5 -1
- package/dist/cjs/index.cjs.js +7 -5
- package/dist/cjs/{initialize-e38e7028.js → initialize-2a19d091.js} +9 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/option-c33cf2b8.js +49 -0
- package/dist/cjs/{tokens.esm-89d0f18d.js → tokens.esm-bb0ef2db.js} +1 -1
- package/dist/collection/collection-manifest.json +14 -0
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +2 -2
- package/dist/collection/components/bal-card/bal-card.js +1 -1
- package/dist/collection/components/bal-carousel/controls/tab-control.js +1 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.css +1 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.js +3 -3
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +1 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +2 -1
- package/dist/collection/components/bal-checkbox/radio-checkbox.css +1 -1
- package/dist/collection/components/bal-close/bal-close.js +1 -1
- package/dist/collection/components/bal-content/bal-content.js +2 -2
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__gird.js +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__list.js +1 -1
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +1 -1
- package/dist/collection/components/bal-datepicker/bal-datepicker.js +3 -3
- package/dist/collection/components/bal-divider/bal-divider.js +2 -2
- package/dist/collection/components/bal-dropdown/bal-dropdown.css +1 -0
- package/dist/collection/components/bal-dropdown/bal-dropdown.interfaces.js +4 -0
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +882 -0
- package/dist/collection/components/bal-field/bal-field.js +12 -2
- package/dist/collection/components/bal-file-upload/components/file-list.js +1 -1
- package/dist/collection/components/bal-footer/bal-footer.js +3 -3
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +1 -1
- package/dist/collection/components/bal-label/bal-label.js +3 -3
- 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 +2 -2
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +2 -2
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +2 -2
- package/dist/collection/components/bal-nav/bal-nav.js +6 -6
- package/dist/collection/components/bal-nav/components/section-list.js +2 -2
- package/dist/collection/components/bal-nav/components/service-list.js +2 -2
- package/dist/collection/components/bal-notices/bal-notices.js +1 -1
- package/dist/collection/components/bal-number-input/bal-number-input.js +5 -0
- package/dist/collection/components/bal-number-input/bal-number-input.utils.js +27 -14
- package/dist/collection/components/bal-number-input/bal-number-input.utils.spec.js +82 -0
- package/dist/collection/components/bal-option/bal-option.css +1 -0
- package/dist/collection/components/bal-option/bal-option.interfaces.js +4 -0
- package/dist/collection/components/bal-option/bal-option.js +360 -0
- package/dist/collection/components/bal-option-list/bal-option-list.css +1 -0
- package/dist/collection/components/bal-option-list/bal-option-list.interfaces.js +4 -0
- package/dist/collection/components/bal-option-list/bal-option-list.js +939 -0
- package/dist/collection/components/bal-radio/bal-radio-button/bal-radio-button.js +3 -3
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +1 -1
- package/dist/collection/components/bal-select/bal-select.js +4 -4
- package/dist/collection/components/bal-spinner/bal-spinner.css +1 -1
- package/dist/collection/components/bal-spinner/bal-spinner.interfaces.js +4 -0
- package/dist/collection/components/bal-spinner/bal-spinner.js +83 -4
- package/dist/collection/components/bal-stack/bal-stack.js +2 -2
- package/dist/collection/components/bal-steps/bal-steps.js +1 -1
- package/dist/collection/components/bal-tabs/components/tab-nav.js +1 -1
- package/dist/collection/components/bal-tabs/components/tab-select.js +1 -1
- package/dist/collection/components/bal-tag/bal-tag.css +1 -1
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/aria.js +1 -0
- package/dist/collection/utils/config/config.default.js +1 -0
- package/dist/collection/utils/config/config.js +7 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/date/date.js +5 -1
- package/dist/collection/utils/date/date.spec.js +11 -5
- package/dist/collection/utils/dropdown/auto-fill.js +38 -0
- package/dist/collection/utils/dropdown/component.js +1 -0
- package/dist/collection/utils/dropdown/dropdown.i18n.js +52 -0
- package/dist/collection/utils/dropdown/events.js +43 -0
- package/dist/collection/utils/dropdown/filters.js +10 -0
- package/dist/collection/utils/dropdown/focus.js +19 -0
- package/dist/collection/utils/dropdown/form-submit.js +35 -0
- package/dist/collection/utils/dropdown/icon.js +15 -0
- package/dist/collection/utils/dropdown/index.js +13 -0
- package/dist/collection/utils/dropdown/input.js +12 -0
- package/dist/collection/utils/dropdown/option-list.js +8 -0
- package/dist/collection/utils/dropdown/option.js +44 -0
- package/dist/collection/utils/dropdown/popup.js +45 -0
- package/dist/collection/utils/dropdown/value.js +103 -0
- package/dist/esm/{app-globals-89691d80.js → app-globals-b0dd0fc4.js} +1 -1
- package/dist/esm/aria-d5877698.js +3 -0
- package/dist/esm/bal-accordion_4.entry.js +4 -4
- package/dist/esm/bal-card_6.entry.js +3 -3
- package/dist/esm/bal-carousel_2.entry.js +5 -5
- package/dist/esm/bal-checkbox-button.entry.js +6 -6
- package/dist/esm/bal-checkbox_2.entry.js +5 -4
- package/dist/esm/bal-close.entry.js +2 -2
- package/dist/esm/bal-content.entry.js +4 -4
- package/dist/esm/bal-date-calendar-cell.entry.js +2 -2
- package/dist/esm/bal-date-calendar_2.entry.js +6 -6
- package/dist/esm/bal-date.entry.js +3 -3
- package/dist/esm/bal-datepicker.entry.js +8 -8
- package/dist/esm/bal-divider.entry.js +4 -4
- package/dist/esm/bal-dropdown.entry.js +656 -0
- package/dist/esm/bal-field_5.entry.js +12 -2
- package/dist/esm/bal-file-upload.entry.js +2 -2
- package/dist/esm/bal-footer.entry.js +5 -5
- package/dist/esm/bal-hint_3.entry.js +3 -3
- package/dist/esm/bal-icon.entry.js +1 -1
- package/dist/esm/bal-input-slider.entry.js +1 -1
- package/dist/esm/bal-input-stepper.entry.js +2 -2
- package/dist/esm/bal-label.entry.js +6 -6
- package/dist/esm/bal-list_8.entry.js +3 -3
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +24 -24
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-notices.entry.js +3 -3
- package/dist/esm/bal-number-input.entry.js +33 -15
- package/dist/esm/bal-option_2.entry.js +536 -0
- package/dist/esm/bal-pagination.entry.js +4 -4
- package/dist/esm/bal-popover_2.entry.js +3 -3
- package/dist/esm/bal-popup.entry.js +1 -1
- package/dist/esm/bal-progress-bar.entry.js +3 -3
- package/dist/esm/bal-radio-button.entry.js +5 -5
- package/dist/esm/bal-radio_2.entry.js +3 -3
- package/dist/esm/bal-select_2.entry.js +4 -4
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-spinner.entry.js +50 -5
- package/dist/esm/bal-stack.entry.js +4 -4
- package/dist/esm/bal-steps.entry.js +5 -5
- package/dist/esm/bal-tab-item_2.entry.js +6 -6
- package/dist/esm/bal-tag_2.entry.js +1 -1
- package/dist/esm/bal-time-input.entry.js +1 -1
- package/dist/esm/baloise-design-system.js +4 -4
- package/dist/esm/{breakpoints.decorator-52979d29.js → breakpoints.decorator-021fbaf0.js} +1 -1
- package/dist/esm/{breakpoints.subject-64327a3b.js → breakpoints.subject-ef464f89.js} +1 -1
- package/dist/esm/{config.default-79f94bf7.js → config.default-7efdc82d.js} +1 -0
- package/dist/esm/{date-db6afc26.js → date-38a0b208.js} +6 -2
- package/dist/esm/{index.esm-ec4cba26.js → index.esm-83b1f9c4.js} +1 -1
- package/dist/esm/index.js +8 -7
- package/dist/esm/{initialize-66615dde.js → initialize-e216cfe4.js} +9 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/option-37cb0282.js +46 -0
- package/dist/esm/{tokens.esm-12daa3af.js → tokens.esm-aab9bd61.js} +1 -1
- package/dist/esm-es5/app-globals-b0dd0fc4.js +1 -0
- package/dist/esm-es5/aria-d5877698.js +1 -0
- package/dist/esm-es5/bal-accordion_4.entry.js +1 -1
- package/dist/esm-es5/bal-card_6.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-content.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-datepicker.entry.js +1 -1
- package/dist/esm-es5/bal-divider.entry.js +1 -1
- package/dist/esm-es5/bal-dropdown.entry.js +1 -0
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-hint_3.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-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-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-notices.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 -0
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-popover_2.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-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-steps.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/bal-tag_2.entry.js +1 -1
- package/dist/esm-es5/bal-time-input.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-021fbaf0.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-64327a3b.js → breakpoints.subject-ef464f89.js} +1 -1
- package/dist/esm-es5/{config.default-79f94bf7.js → config.default-7efdc82d.js} +1 -1
- package/dist/esm-es5/{date-db6afc26.js → date-38a0b208.js} +1 -1
- package/dist/esm-es5/{index.esm-ec4cba26.js → index.esm-83b1f9c4.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{initialize-66615dde.js → initialize-e216cfe4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/option-37cb0282.js +1 -0
- package/dist/html.html-data.json +357 -0
- package/dist/types/components/bal-accordion/bal-accordion-details/bal-accordion-details.d.ts +1 -1
- package/dist/types/components/bal-card/bal-card.d.ts +1 -1
- package/dist/types/components/bal-checkbox/bal-checkbox-button/bal-checkbox-button.d.ts +1 -1
- package/dist/types/components/bal-content/bal-content.d.ts +1 -1
- package/dist/types/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.d.ts +1 -1
- package/dist/types/components/bal-divider/bal-divider.d.ts +1 -1
- package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +187 -0
- package/dist/types/components/bal-dropdown/bal-dropdown.interfaces.d.ts +14 -0
- package/dist/types/components/bal-field/bal-field.d.ts +1 -0
- package/dist/types/components/bal-label/bal-label.d.ts +1 -1
- package/dist/types/components/bal-nav/bal-nav-link/bal-nav-link.d.ts +1 -1
- package/dist/types/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.d.ts +1 -1
- package/dist/types/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.d.ts +1 -1
- package/dist/types/components/bal-nav/bal-nav-link-group/bal-nav-link-group.d.ts +1 -1
- package/dist/types/components/bal-nav/bal-nav.d.ts +1 -1
- package/dist/types/components/bal-notices/bal-notices.d.ts +1 -1
- package/dist/types/components/bal-number-input/bal-number-input.d.ts +1 -0
- package/dist/types/components/bal-number-input/bal-number-input.utils.d.ts +3 -1
- package/dist/types/components/bal-option/bal-option.d.ts +91 -0
- package/dist/types/components/bal-option/bal-option.interfaces.d.ts +19 -0
- package/dist/types/components/bal-option-list/bal-option-list.d.ts +168 -0
- package/dist/types/components/bal-option-list/bal-option-list.interfaces.d.ts +5 -0
- package/dist/types/components/bal-radio/bal-radio-button/bal-radio-button.d.ts +1 -1
- package/dist/types/components/bal-select/bal-select.d.ts +1 -1
- package/dist/types/components/bal-spinner/bal-spinner.d.ts +14 -2
- package/dist/types/components/bal-spinner/bal-spinner.interfaces.d.ts +6 -0
- package/dist/types/components/bal-stack/bal-stack.d.ts +1 -1
- package/dist/types/components.d.ts +451 -3
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interfaces.d.ts +4 -0
- package/dist/types/utils/aria.d.ts +1 -0
- package/dist/types/utils/config/config.d.ts +2 -0
- package/dist/types/utils/config/config.types.d.ts +2 -0
- package/dist/types/utils/date/date.d.ts +1 -0
- package/dist/types/utils/dropdown/auto-fill.d.ts +8 -0
- package/dist/types/utils/dropdown/component.d.ts +34 -0
- package/dist/types/utils/dropdown/dropdown.i18n.d.ts +8 -0
- package/dist/types/utils/dropdown/events.d.ts +13 -0
- package/dist/types/utils/dropdown/filters.d.ts +2 -0
- package/dist/types/utils/dropdown/focus.d.ts +13 -0
- package/dist/types/utils/dropdown/form-submit.d.ts +22 -0
- package/dist/types/utils/dropdown/icon.d.ts +13 -0
- package/dist/types/utils/dropdown/index.d.ts +13 -0
- package/dist/types/utils/dropdown/input.d.ts +27 -0
- package/dist/types/utils/dropdown/option-list.d.ts +17 -0
- package/dist/types/utils/dropdown/option.d.ts +25 -0
- package/dist/types/utils/dropdown/popup.d.ts +9 -0
- package/dist/types/utils/dropdown/value.d.ts +28 -0
- package/package.json +8 -7
- package/dist/baloise-design-system/p-05b55c958d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0d30cbfab8.entry.js +0 -1
- package/dist/baloise-design-system/p-15ca43f2.system.js +0 -1
- package/dist/baloise-design-system/p-1e0e5892a3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2c3370fdbe.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2d10e25c6b.entry.js +0 -1
- package/dist/baloise-design-system/p-2dda46c5f8.entry.js +0 -1
- package/dist/baloise-design-system/p-34a9557f.system.js +0 -1
- package/dist/baloise-design-system/p-34d1472a.system.js +0 -1
- package/dist/baloise-design-system/p-3990d97696.entry.js +0 -1
- package/dist/baloise-design-system/p-48a2de5d.js +0 -1
- package/dist/baloise-design-system/p-4e218ac923.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4f4df156.js +0 -1
- package/dist/baloise-design-system/p-5eea406ac6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-6496dcd5.js +0 -1
- package/dist/baloise-design-system/p-67f25817a6.entry.js +0 -1
- package/dist/baloise-design-system/p-6dd26958d2.system.entry.js +0 -1
- package/dist/baloise-design-system/p-7e180ac10f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8ea27b553e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-90c4c1a5c0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-99dcda2fcd.entry.js +0 -1
- package/dist/baloise-design-system/p-a9d8b71709.entry.js +0 -1
- package/dist/baloise-design-system/p-af8604cef2.entry.js +0 -1
- package/dist/baloise-design-system/p-b1c7ddc442.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b1e3fc0bc8.entry.js +0 -1
- package/dist/baloise-design-system/p-bb291d6067.system.entry.js +0 -1
- package/dist/baloise-design-system/p-c0a3d422.system.js +0 -1
- package/dist/baloise-design-system/p-c34504aa32.entry.js +0 -1
- package/dist/baloise-design-system/p-c6900b09e7.entry.js +0 -1
- package/dist/baloise-design-system/p-cf6ccb4dd1.entry.js +0 -1
- package/dist/baloise-design-system/p-d4fd428711.entry.js +0 -1
- package/dist/baloise-design-system/p-d6fc0dd434.entry.js +0 -1
- package/dist/baloise-design-system/p-db3e6b861f.entry.js +0 -1
- package/dist/baloise-design-system/p-eba35b2adf.entry.js +0 -1
- package/dist/baloise-design-system/p-ec180f9bbf.entry.js +0 -1
- package/dist/baloise-design-system/p-f15b12d84f.entry.js +0 -1
- package/dist/esm-es5/app-globals-89691d80.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-52979d29.js +0 -1
- /package/dist/baloise-design-system/{p-61eda028.system.js → p-03c136e2.system.js} +0 -0
- /package/dist/baloise-design-system/{p-979368af.js → p-7b9c33ba.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-12daa3af.js → tokens.esm-aab9bd61.js} +0 -0
|
@@ -10,6 +10,7 @@ import { AccordionState, BalAriaForm as BalAriaForm1, BalConfigState as BalConfi
|
|
|
10
10
|
import { BalCarouselItemData } from "./components/bal-carousel/bal-carousel.type";
|
|
11
11
|
import { BalCheckboxOption } from "./components/bal-checkbox/bal-checkbox.type";
|
|
12
12
|
import { BalAriaForm } from "./utils/form";
|
|
13
|
+
import { BalOption } from "./utils/dropdown";
|
|
13
14
|
import { OverlayEventDetail } from "./components/bal-modal/bal-modal.type";
|
|
14
15
|
import { PopoverPresentOptions } from "./components/bal-popover/bal-popover";
|
|
15
16
|
import { BalRadioOption } from "./components/bal-radio/bal-radio.type";
|
|
@@ -20,6 +21,7 @@ export { AccordionState, BalAriaForm as BalAriaForm1, BalConfigState as BalConfi
|
|
|
20
21
|
export { BalCarouselItemData } from "./components/bal-carousel/bal-carousel.type";
|
|
21
22
|
export { BalCheckboxOption } from "./components/bal-checkbox/bal-checkbox.type";
|
|
22
23
|
export { BalAriaForm } from "./utils/form";
|
|
24
|
+
export { BalOption } from "./utils/dropdown";
|
|
23
25
|
export { OverlayEventDetail } from "./components/bal-modal/bal-modal.type";
|
|
24
26
|
export { PopoverPresentOptions } from "./components/bal-popover/bal-popover";
|
|
25
27
|
export { BalRadioOption } from "./components/bal-radio/bal-radio.type";
|
|
@@ -951,6 +953,99 @@ export namespace Components {
|
|
|
951
953
|
*/
|
|
952
954
|
"space": BalProps.BalDividerSpace;
|
|
953
955
|
}
|
|
956
|
+
interface BalDropdown {
|
|
957
|
+
/**
|
|
958
|
+
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
959
|
+
*/
|
|
960
|
+
"autocomplete": BalProps.BalInputAutocomplete;
|
|
961
|
+
/**
|
|
962
|
+
* If `true`, the selected options are shown as chips
|
|
963
|
+
*/
|
|
964
|
+
"chips": boolean;
|
|
965
|
+
/**
|
|
966
|
+
* Sets the value to `[]`, the input value to ´''´ and the focus index to ´0´.
|
|
967
|
+
*/
|
|
968
|
+
"clear": () => Promise<void>;
|
|
969
|
+
/**
|
|
970
|
+
* If `true`, a cross at the end is visible to clear the selection
|
|
971
|
+
*/
|
|
972
|
+
"clearable": boolean;
|
|
973
|
+
/**
|
|
974
|
+
* Closes the popup with option list
|
|
975
|
+
*/
|
|
976
|
+
"close": () => Promise<void>;
|
|
977
|
+
"configChanged": (state: BalConfigState) => Promise<void>;
|
|
978
|
+
/**
|
|
979
|
+
* Defines the max height of the list element
|
|
980
|
+
*/
|
|
981
|
+
"contentHeight": number;
|
|
982
|
+
/**
|
|
983
|
+
* If `true`, the user cannot interact with the option.
|
|
984
|
+
*/
|
|
985
|
+
"disabled": boolean;
|
|
986
|
+
/**
|
|
987
|
+
* Defines the filter logic of the list
|
|
988
|
+
*/
|
|
989
|
+
"filter": BalProps.BalOptionListFilter;
|
|
990
|
+
/**
|
|
991
|
+
* Returns the value of the component
|
|
992
|
+
*/
|
|
993
|
+
"getValue": () => Promise<string[]>;
|
|
994
|
+
/**
|
|
995
|
+
* If `true` there will be on trigger icon visible
|
|
996
|
+
*/
|
|
997
|
+
"icon": string;
|
|
998
|
+
/**
|
|
999
|
+
* If `true`, the component will be shown as invalid
|
|
1000
|
+
*/
|
|
1001
|
+
"invalid": boolean;
|
|
1002
|
+
"inverted": boolean;
|
|
1003
|
+
/**
|
|
1004
|
+
* Defines if the select is in a loading state.
|
|
1005
|
+
*/
|
|
1006
|
+
"loading": boolean;
|
|
1007
|
+
/**
|
|
1008
|
+
* If `true`, the user can select multiple options.
|
|
1009
|
+
*/
|
|
1010
|
+
"multiple": boolean;
|
|
1011
|
+
/**
|
|
1012
|
+
* The name of the control, which is submitted with the form data.
|
|
1013
|
+
*/
|
|
1014
|
+
"name": string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Opens the popup with option list
|
|
1017
|
+
*/
|
|
1018
|
+
"open": () => Promise<void>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Steps can be passed as a property or through HTML markup.
|
|
1021
|
+
*/
|
|
1022
|
+
"options": BalOption[];
|
|
1023
|
+
/**
|
|
1024
|
+
* Defines the placeholder of the component. Only shown when the value is empty
|
|
1025
|
+
*/
|
|
1026
|
+
"placeholder": string;
|
|
1027
|
+
/**
|
|
1028
|
+
* If `true` the element can not mutated, meaning the user can not edit the control.
|
|
1029
|
+
*/
|
|
1030
|
+
"readonly": boolean;
|
|
1031
|
+
/**
|
|
1032
|
+
* If `true`, the user must fill in a value before submitting a form.
|
|
1033
|
+
*/
|
|
1034
|
+
"required": boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Select option by passed value
|
|
1037
|
+
*/
|
|
1038
|
+
"select": (newValue: string | string[]) => Promise<void>;
|
|
1039
|
+
"setAriaForm": (ariaForm: BalAriaForm) => Promise<void>;
|
|
1040
|
+
/**
|
|
1041
|
+
* Sets the focus on the input element
|
|
1042
|
+
*/
|
|
1043
|
+
"setFocus": () => Promise<void>;
|
|
1044
|
+
/**
|
|
1045
|
+
* The value of the selected options.
|
|
1046
|
+
*/
|
|
1047
|
+
"value"?: string | string[];
|
|
1048
|
+
}
|
|
954
1049
|
interface BalField {
|
|
955
1050
|
/**
|
|
956
1051
|
* If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants.
|
|
@@ -2066,6 +2161,145 @@ export namespace Components {
|
|
|
2066
2161
|
*/
|
|
2067
2162
|
"value"?: number;
|
|
2068
2163
|
}
|
|
2164
|
+
interface BalOption {
|
|
2165
|
+
/**
|
|
2166
|
+
* If `true`, the user cannot interact with the option.
|
|
2167
|
+
*/
|
|
2168
|
+
"disabled": boolean;
|
|
2169
|
+
/**
|
|
2170
|
+
* If `true`, the option is focused.
|
|
2171
|
+
*/
|
|
2172
|
+
"focused": boolean;
|
|
2173
|
+
/**
|
|
2174
|
+
* If `true`, the option is hidden.
|
|
2175
|
+
*/
|
|
2176
|
+
"hidden": boolean;
|
|
2177
|
+
/**
|
|
2178
|
+
* If `true`, the option is shown in red.
|
|
2179
|
+
*/
|
|
2180
|
+
"invalid": boolean;
|
|
2181
|
+
/**
|
|
2182
|
+
* Label will be shown in the input element when it got selected
|
|
2183
|
+
*/
|
|
2184
|
+
"label": string;
|
|
2185
|
+
/**
|
|
2186
|
+
* If `true`, the option can present in more than one line.
|
|
2187
|
+
*/
|
|
2188
|
+
"multiline": boolean;
|
|
2189
|
+
/**
|
|
2190
|
+
* Selects or deselects the option and informs other components
|
|
2191
|
+
*/
|
|
2192
|
+
"select": (selected?: boolean) => Promise<void>;
|
|
2193
|
+
/**
|
|
2194
|
+
* If `true`, the option is selected.
|
|
2195
|
+
*/
|
|
2196
|
+
"selected": boolean;
|
|
2197
|
+
/**
|
|
2198
|
+
* The value of the select option. This value will be returned by the parent `<bal-select>` element.
|
|
2199
|
+
*/
|
|
2200
|
+
"value": string;
|
|
2201
|
+
}
|
|
2202
|
+
interface BalOptionList {
|
|
2203
|
+
/**
|
|
2204
|
+
* Defines the max height of the list element
|
|
2205
|
+
*/
|
|
2206
|
+
"contentHeight"?: number;
|
|
2207
|
+
/**
|
|
2208
|
+
* If `true`, the user cannot interact with the option.
|
|
2209
|
+
*/
|
|
2210
|
+
"disabled": boolean;
|
|
2211
|
+
/**
|
|
2212
|
+
* Defines the filter logic of the list
|
|
2213
|
+
*/
|
|
2214
|
+
"filter": BalProps.BalOptionListFilter;
|
|
2215
|
+
/**
|
|
2216
|
+
* Filter the options by the given filter property and hides options
|
|
2217
|
+
* @returns focusIndex
|
|
2218
|
+
*/
|
|
2219
|
+
"filterByContent": (search: string) => Promise<number>;
|
|
2220
|
+
/**
|
|
2221
|
+
* Focus the option with the label that starts with the search property
|
|
2222
|
+
* @returns focusIndex
|
|
2223
|
+
*/
|
|
2224
|
+
"focusByLabel": (search: string, config: Partial<{ select: boolean; }>) => Promise<number>;
|
|
2225
|
+
/**
|
|
2226
|
+
* Focus the first visible option in the list
|
|
2227
|
+
* @returns focusIndex
|
|
2228
|
+
*/
|
|
2229
|
+
"focusFirst": () => Promise<number>;
|
|
2230
|
+
/**
|
|
2231
|
+
* Defines the focused option with his index value
|
|
2232
|
+
*/
|
|
2233
|
+
"focusIndex": number;
|
|
2234
|
+
/**
|
|
2235
|
+
* Focus the last visible option in the list
|
|
2236
|
+
* @returns focusIndex
|
|
2237
|
+
*/
|
|
2238
|
+
"focusLast": () => Promise<number>;
|
|
2239
|
+
/**
|
|
2240
|
+
* Focus the next visible option in the list
|
|
2241
|
+
* @returns focusIndex
|
|
2242
|
+
*/
|
|
2243
|
+
"focusNext": () => Promise<number>;
|
|
2244
|
+
/**
|
|
2245
|
+
* Focus the previous visible option in the list
|
|
2246
|
+
* @returns focusIndex
|
|
2247
|
+
*/
|
|
2248
|
+
"focusPrevious": () => Promise<number>;
|
|
2249
|
+
/**
|
|
2250
|
+
* Returns a list of options
|
|
2251
|
+
*/
|
|
2252
|
+
"getLabels": () => Promise<string[]>;
|
|
2253
|
+
/**
|
|
2254
|
+
* Returns a list of accessible options
|
|
2255
|
+
*/
|
|
2256
|
+
"getOptions": () => Promise<BalOption[]>;
|
|
2257
|
+
/**
|
|
2258
|
+
* Returns a list of option labels
|
|
2259
|
+
*/
|
|
2260
|
+
"getSelectedOptions": (values?: string[]) => Promise<BalOption[]>;
|
|
2261
|
+
/**
|
|
2262
|
+
* Returns a list of option values
|
|
2263
|
+
*/
|
|
2264
|
+
"getSelectedValues": () => Promise<string[]>;
|
|
2265
|
+
/**
|
|
2266
|
+
* Returns a list of options
|
|
2267
|
+
*/
|
|
2268
|
+
"getValues": () => Promise<string[]>;
|
|
2269
|
+
/**
|
|
2270
|
+
* Id of the label element to describe this option list
|
|
2271
|
+
*/
|
|
2272
|
+
"labelledby"?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* If `true` the list supports multiple selections
|
|
2275
|
+
*/
|
|
2276
|
+
"multiple": boolean;
|
|
2277
|
+
/**
|
|
2278
|
+
* If `true`, the user must fill in a value before submitting a form.
|
|
2279
|
+
*/
|
|
2280
|
+
"required": boolean;
|
|
2281
|
+
/**
|
|
2282
|
+
* Resets the focus index to pristine and scrolls to the top of the list
|
|
2283
|
+
*/
|
|
2284
|
+
"resetFocus": () => Promise<number>;
|
|
2285
|
+
/**
|
|
2286
|
+
* Shows or hides all options
|
|
2287
|
+
*/
|
|
2288
|
+
"resetHidden": (hidden?: boolean) => Promise<void>;
|
|
2289
|
+
/**
|
|
2290
|
+
* Selects or deselects all options
|
|
2291
|
+
*/
|
|
2292
|
+
"resetSelected": (selected?: boolean) => Promise<void>;
|
|
2293
|
+
/**
|
|
2294
|
+
* Selects the option with the current focus
|
|
2295
|
+
*/
|
|
2296
|
+
"selectByFocus": () => Promise<void>;
|
|
2297
|
+
"setAriaForm": (ariaForm: BalAriaForm) => Promise<void>;
|
|
2298
|
+
/**
|
|
2299
|
+
* Updates options
|
|
2300
|
+
*/
|
|
2301
|
+
"updateSelected": (values?: string[]) => Promise<void>;
|
|
2302
|
+
}
|
|
2069
2303
|
interface BalPagination {
|
|
2070
2304
|
/**
|
|
2071
2305
|
* Align the buttons to start, center or end
|
|
@@ -2479,7 +2713,7 @@ export namespace Components {
|
|
|
2479
2713
|
*/
|
|
2480
2714
|
"freeSolo": boolean;
|
|
2481
2715
|
/**
|
|
2482
|
-
*
|
|
2716
|
+
* Returns the value of the component
|
|
2483
2717
|
*/
|
|
2484
2718
|
"getValue": () => Promise<string[]>;
|
|
2485
2719
|
/**
|
|
@@ -2636,7 +2870,7 @@ export namespace Components {
|
|
|
2636
2870
|
/**
|
|
2637
2871
|
* Defines the color of the spinner.
|
|
2638
2872
|
*/
|
|
2639
|
-
"color":
|
|
2873
|
+
"color": BalProps.BalSpinnerColor;
|
|
2640
2874
|
/**
|
|
2641
2875
|
* If `true` the component will not add the spinner animation svg
|
|
2642
2876
|
*/
|
|
@@ -2649,6 +2883,10 @@ export namespace Components {
|
|
|
2649
2883
|
* If `true` the component is smaller
|
|
2650
2884
|
*/
|
|
2651
2885
|
"small": boolean;
|
|
2886
|
+
/**
|
|
2887
|
+
* Defines the look of the spinner
|
|
2888
|
+
*/
|
|
2889
|
+
"variation": BalProps.BalSpinnerVariation;
|
|
2652
2890
|
}
|
|
2653
2891
|
interface BalStack {
|
|
2654
2892
|
/**
|
|
@@ -3270,6 +3508,10 @@ export interface BalDatepickerCustomEvent<T> extends CustomEvent<T> {
|
|
|
3270
3508
|
detail: T;
|
|
3271
3509
|
target: HTMLBalDatepickerElement;
|
|
3272
3510
|
}
|
|
3511
|
+
export interface BalDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
3512
|
+
detail: T;
|
|
3513
|
+
target: HTMLBalDropdownElement;
|
|
3514
|
+
}
|
|
3273
3515
|
export interface BalFieldCustomEvent<T> extends CustomEvent<T> {
|
|
3274
3516
|
detail: T;
|
|
3275
3517
|
target: HTMLBalFieldElement;
|
|
@@ -3318,6 +3560,10 @@ export interface BalNumberInputCustomEvent<T> extends CustomEvent<T> {
|
|
|
3318
3560
|
detail: T;
|
|
3319
3561
|
target: HTMLBalNumberInputElement;
|
|
3320
3562
|
}
|
|
3563
|
+
export interface BalOptionCustomEvent<T> extends CustomEvent<T> {
|
|
3564
|
+
detail: T;
|
|
3565
|
+
target: HTMLBalOptionElement;
|
|
3566
|
+
}
|
|
3321
3567
|
export interface BalPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
3322
3568
|
detail: T;
|
|
3323
3569
|
target: HTMLBalPaginationElement;
|
|
@@ -3727,6 +3973,25 @@ declare global {
|
|
|
3727
3973
|
prototype: HTMLBalDividerElement;
|
|
3728
3974
|
new (): HTMLBalDividerElement;
|
|
3729
3975
|
};
|
|
3976
|
+
interface HTMLBalDropdownElementEventMap {
|
|
3977
|
+
"balChange": BalEvents.BalDropdownChangeDetail;
|
|
3978
|
+
"balFocus": BalEvents.BalDropdownFocusDetail;
|
|
3979
|
+
"balBlur": BalEvents.BalDropdownBlurDetail;
|
|
3980
|
+
}
|
|
3981
|
+
interface HTMLBalDropdownElement extends Components.BalDropdown, HTMLStencilElement {
|
|
3982
|
+
addEventListener<K extends keyof HTMLBalDropdownElementEventMap>(type: K, listener: (this: HTMLBalDropdownElement, ev: BalDropdownCustomEvent<HTMLBalDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3983
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3984
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3985
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3986
|
+
removeEventListener<K extends keyof HTMLBalDropdownElementEventMap>(type: K, listener: (this: HTMLBalDropdownElement, ev: BalDropdownCustomEvent<HTMLBalDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3987
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3988
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3989
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3990
|
+
}
|
|
3991
|
+
var HTMLBalDropdownElement: {
|
|
3992
|
+
prototype: HTMLBalDropdownElement;
|
|
3993
|
+
new (): HTMLBalDropdownElement;
|
|
3994
|
+
};
|
|
3730
3995
|
interface HTMLBalFieldElementEventMap {
|
|
3731
3996
|
"balFormControlDidLoad": BalEvents.BalFieldAriaLabelledByDetail;
|
|
3732
3997
|
}
|
|
@@ -4188,6 +4453,30 @@ declare global {
|
|
|
4188
4453
|
prototype: HTMLBalNumberInputElement;
|
|
4189
4454
|
new (): HTMLBalNumberInputElement;
|
|
4190
4455
|
};
|
|
4456
|
+
interface HTMLBalOptionElementEventMap {
|
|
4457
|
+
"balOptionChange": BalEvents.BalOptionChangeDetail;
|
|
4458
|
+
"balOptionFocus": BalEvents.BalOptionFocusDetail;
|
|
4459
|
+
}
|
|
4460
|
+
interface HTMLBalOptionElement extends Components.BalOption, HTMLStencilElement {
|
|
4461
|
+
addEventListener<K extends keyof HTMLBalOptionElementEventMap>(type: K, listener: (this: HTMLBalOptionElement, ev: BalOptionCustomEvent<HTMLBalOptionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4462
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4463
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4464
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4465
|
+
removeEventListener<K extends keyof HTMLBalOptionElementEventMap>(type: K, listener: (this: HTMLBalOptionElement, ev: BalOptionCustomEvent<HTMLBalOptionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
4466
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4467
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4468
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4469
|
+
}
|
|
4470
|
+
var HTMLBalOptionElement: {
|
|
4471
|
+
prototype: HTMLBalOptionElement;
|
|
4472
|
+
new (): HTMLBalOptionElement;
|
|
4473
|
+
};
|
|
4474
|
+
interface HTMLBalOptionListElement extends Components.BalOptionList, HTMLStencilElement {
|
|
4475
|
+
}
|
|
4476
|
+
var HTMLBalOptionListElement: {
|
|
4477
|
+
prototype: HTMLBalOptionListElement;
|
|
4478
|
+
new (): HTMLBalOptionListElement;
|
|
4479
|
+
};
|
|
4191
4480
|
interface HTMLBalPaginationElementEventMap {
|
|
4192
4481
|
"balChange": BalEvents.BalPaginationChangeDetail;
|
|
4193
4482
|
}
|
|
@@ -4634,6 +4923,7 @@ declare global {
|
|
|
4634
4923
|
"bal-date-calendar-cell": HTMLBalDateCalendarCellElement;
|
|
4635
4924
|
"bal-datepicker": HTMLBalDatepickerElement;
|
|
4636
4925
|
"bal-divider": HTMLBalDividerElement;
|
|
4926
|
+
"bal-dropdown": HTMLBalDropdownElement;
|
|
4637
4927
|
"bal-field": HTMLBalFieldElement;
|
|
4638
4928
|
"bal-field-control": HTMLBalFieldControlElement;
|
|
4639
4929
|
"bal-field-hint": HTMLBalFieldHintElement;
|
|
@@ -4683,6 +4973,8 @@ declare global {
|
|
|
4683
4973
|
"bal-notices": HTMLBalNoticesElement;
|
|
4684
4974
|
"bal-notification": HTMLBalNotificationElement;
|
|
4685
4975
|
"bal-number-input": HTMLBalNumberInputElement;
|
|
4976
|
+
"bal-option": HTMLBalOptionElement;
|
|
4977
|
+
"bal-option-list": HTMLBalOptionListElement;
|
|
4686
4978
|
"bal-pagination": HTMLBalPaginationElement;
|
|
4687
4979
|
"bal-popover": HTMLBalPopoverElement;
|
|
4688
4980
|
"bal-popover-content": HTMLBalPopoverContentElement;
|
|
@@ -5674,6 +5966,84 @@ declare namespace LocalJSX {
|
|
|
5674
5966
|
*/
|
|
5675
5967
|
"space"?: BalProps.BalDividerSpace;
|
|
5676
5968
|
}
|
|
5969
|
+
interface BalDropdown {
|
|
5970
|
+
/**
|
|
5971
|
+
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
5972
|
+
*/
|
|
5973
|
+
"autocomplete"?: BalProps.BalInputAutocomplete;
|
|
5974
|
+
/**
|
|
5975
|
+
* If `true`, the selected options are shown as chips
|
|
5976
|
+
*/
|
|
5977
|
+
"chips"?: boolean;
|
|
5978
|
+
/**
|
|
5979
|
+
* If `true`, a cross at the end is visible to clear the selection
|
|
5980
|
+
*/
|
|
5981
|
+
"clearable"?: boolean;
|
|
5982
|
+
/**
|
|
5983
|
+
* Defines the max height of the list element
|
|
5984
|
+
*/
|
|
5985
|
+
"contentHeight"?: number;
|
|
5986
|
+
/**
|
|
5987
|
+
* If `true`, the user cannot interact with the option.
|
|
5988
|
+
*/
|
|
5989
|
+
"disabled"?: boolean;
|
|
5990
|
+
/**
|
|
5991
|
+
* Defines the filter logic of the list
|
|
5992
|
+
*/
|
|
5993
|
+
"filter"?: BalProps.BalOptionListFilter;
|
|
5994
|
+
/**
|
|
5995
|
+
* If `true` there will be on trigger icon visible
|
|
5996
|
+
*/
|
|
5997
|
+
"icon"?: string;
|
|
5998
|
+
/**
|
|
5999
|
+
* If `true`, the component will be shown as invalid
|
|
6000
|
+
*/
|
|
6001
|
+
"invalid"?: boolean;
|
|
6002
|
+
/**
|
|
6003
|
+
* Defines if the select is in a loading state.
|
|
6004
|
+
*/
|
|
6005
|
+
"loading"?: boolean;
|
|
6006
|
+
/**
|
|
6007
|
+
* If `true`, the user can select multiple options.
|
|
6008
|
+
*/
|
|
6009
|
+
"multiple"?: boolean;
|
|
6010
|
+
/**
|
|
6011
|
+
* The name of the control, which is submitted with the form data.
|
|
6012
|
+
*/
|
|
6013
|
+
"name"?: string;
|
|
6014
|
+
/**
|
|
6015
|
+
* Emitted when the input loses focus.
|
|
6016
|
+
*/
|
|
6017
|
+
"onBalBlur"?: (event: BalDropdownCustomEvent<BalEvents.BalDropdownBlurDetail>) => void;
|
|
6018
|
+
/**
|
|
6019
|
+
* Emitted when a option got selected.
|
|
6020
|
+
*/
|
|
6021
|
+
"onBalChange"?: (event: BalDropdownCustomEvent<BalEvents.BalDropdownChangeDetail>) => void;
|
|
6022
|
+
/**
|
|
6023
|
+
* Emitted when the input has focus.
|
|
6024
|
+
*/
|
|
6025
|
+
"onBalFocus"?: (event: BalDropdownCustomEvent<BalEvents.BalDropdownFocusDetail>) => void;
|
|
6026
|
+
/**
|
|
6027
|
+
* Steps can be passed as a property or through HTML markup.
|
|
6028
|
+
*/
|
|
6029
|
+
"options"?: BalOption[];
|
|
6030
|
+
/**
|
|
6031
|
+
* Defines the placeholder of the component. Only shown when the value is empty
|
|
6032
|
+
*/
|
|
6033
|
+
"placeholder"?: string;
|
|
6034
|
+
/**
|
|
6035
|
+
* If `true` the element can not mutated, meaning the user can not edit the control.
|
|
6036
|
+
*/
|
|
6037
|
+
"readonly"?: boolean;
|
|
6038
|
+
/**
|
|
6039
|
+
* If `true`, the user must fill in a value before submitting a form.
|
|
6040
|
+
*/
|
|
6041
|
+
"required"?: boolean;
|
|
6042
|
+
/**
|
|
6043
|
+
* The value of the selected options.
|
|
6044
|
+
*/
|
|
6045
|
+
"value"?: string | string[];
|
|
6046
|
+
}
|
|
5677
6047
|
interface BalField {
|
|
5678
6048
|
/**
|
|
5679
6049
|
* If `true`, the element is not mutable, focusable, or even submitted with the form. The user can neither edit nor focus on the control, nor its form control descendants.
|
|
@@ -6834,6 +7204,74 @@ declare namespace LocalJSX {
|
|
|
6834
7204
|
*/
|
|
6835
7205
|
"value"?: number;
|
|
6836
7206
|
}
|
|
7207
|
+
interface BalOption {
|
|
7208
|
+
/**
|
|
7209
|
+
* If `true`, the user cannot interact with the option.
|
|
7210
|
+
*/
|
|
7211
|
+
"disabled"?: boolean;
|
|
7212
|
+
/**
|
|
7213
|
+
* If `true`, the option is focused.
|
|
7214
|
+
*/
|
|
7215
|
+
"focused"?: boolean;
|
|
7216
|
+
/**
|
|
7217
|
+
* If `true`, the option is hidden.
|
|
7218
|
+
*/
|
|
7219
|
+
"hidden"?: boolean;
|
|
7220
|
+
/**
|
|
7221
|
+
* If `true`, the option is shown in red.
|
|
7222
|
+
*/
|
|
7223
|
+
"invalid"?: boolean;
|
|
7224
|
+
/**
|
|
7225
|
+
* Label will be shown in the input element when it got selected
|
|
7226
|
+
*/
|
|
7227
|
+
"label"?: string;
|
|
7228
|
+
/**
|
|
7229
|
+
* If `true`, the option can present in more than one line.
|
|
7230
|
+
*/
|
|
7231
|
+
"multiline"?: boolean;
|
|
7232
|
+
/**
|
|
7233
|
+
* Emitted when the option gets selected or unselected
|
|
7234
|
+
*/
|
|
7235
|
+
"onBalOptionChange"?: (event: BalOptionCustomEvent<BalEvents.BalOptionChangeDetail>) => void;
|
|
7236
|
+
/**
|
|
7237
|
+
* If `true`, the option is selected.
|
|
7238
|
+
*/
|
|
7239
|
+
"selected"?: boolean;
|
|
7240
|
+
/**
|
|
7241
|
+
* The value of the select option. This value will be returned by the parent `<bal-select>` element.
|
|
7242
|
+
*/
|
|
7243
|
+
"value"?: string;
|
|
7244
|
+
}
|
|
7245
|
+
interface BalOptionList {
|
|
7246
|
+
/**
|
|
7247
|
+
* Defines the max height of the list element
|
|
7248
|
+
*/
|
|
7249
|
+
"contentHeight"?: number;
|
|
7250
|
+
/**
|
|
7251
|
+
* If `true`, the user cannot interact with the option.
|
|
7252
|
+
*/
|
|
7253
|
+
"disabled"?: boolean;
|
|
7254
|
+
/**
|
|
7255
|
+
* Defines the filter logic of the list
|
|
7256
|
+
*/
|
|
7257
|
+
"filter"?: BalProps.BalOptionListFilter;
|
|
7258
|
+
/**
|
|
7259
|
+
* Defines the focused option with his index value
|
|
7260
|
+
*/
|
|
7261
|
+
"focusIndex"?: number;
|
|
7262
|
+
/**
|
|
7263
|
+
* Id of the label element to describe this option list
|
|
7264
|
+
*/
|
|
7265
|
+
"labelledby"?: string;
|
|
7266
|
+
/**
|
|
7267
|
+
* If `true` the list supports multiple selections
|
|
7268
|
+
*/
|
|
7269
|
+
"multiple"?: boolean;
|
|
7270
|
+
/**
|
|
7271
|
+
* If `true`, the user must fill in a value before submitting a form.
|
|
7272
|
+
*/
|
|
7273
|
+
"required"?: boolean;
|
|
7274
|
+
}
|
|
6837
7275
|
interface BalPagination {
|
|
6838
7276
|
/**
|
|
6839
7277
|
* Align the buttons to start, center or end
|
|
@@ -7400,7 +7838,7 @@ declare namespace LocalJSX {
|
|
|
7400
7838
|
/**
|
|
7401
7839
|
* Defines the color of the spinner.
|
|
7402
7840
|
*/
|
|
7403
|
-
"color"?:
|
|
7841
|
+
"color"?: BalProps.BalSpinnerColor;
|
|
7404
7842
|
/**
|
|
7405
7843
|
* If `true` the component will not add the spinner animation svg
|
|
7406
7844
|
*/
|
|
@@ -7413,6 +7851,10 @@ declare namespace LocalJSX {
|
|
|
7413
7851
|
* If `true` the component is smaller
|
|
7414
7852
|
*/
|
|
7415
7853
|
"small"?: boolean;
|
|
7854
|
+
/**
|
|
7855
|
+
* Defines the look of the spinner
|
|
7856
|
+
*/
|
|
7857
|
+
"variation"?: BalProps.BalSpinnerVariation;
|
|
7416
7858
|
}
|
|
7417
7859
|
interface BalStack {
|
|
7418
7860
|
/**
|
|
@@ -8020,6 +8462,7 @@ declare namespace LocalJSX {
|
|
|
8020
8462
|
"bal-date-calendar-cell": BalDateCalendarCell;
|
|
8021
8463
|
"bal-datepicker": BalDatepicker;
|
|
8022
8464
|
"bal-divider": BalDivider;
|
|
8465
|
+
"bal-dropdown": BalDropdown;
|
|
8023
8466
|
"bal-field": BalField;
|
|
8024
8467
|
"bal-field-control": BalFieldControl;
|
|
8025
8468
|
"bal-field-hint": BalFieldHint;
|
|
@@ -8069,6 +8512,8 @@ declare namespace LocalJSX {
|
|
|
8069
8512
|
"bal-notices": BalNotices;
|
|
8070
8513
|
"bal-notification": BalNotification;
|
|
8071
8514
|
"bal-number-input": BalNumberInput;
|
|
8515
|
+
"bal-option": BalOption;
|
|
8516
|
+
"bal-option-list": BalOptionList;
|
|
8072
8517
|
"bal-pagination": BalPagination;
|
|
8073
8518
|
"bal-popover": BalPopover;
|
|
8074
8519
|
"bal-popover-content": BalPopoverContent;
|
|
@@ -8138,6 +8583,7 @@ declare module "@stencil/core" {
|
|
|
8138
8583
|
"bal-date-calendar-cell": LocalJSX.BalDateCalendarCell & JSXBase.HTMLAttributes<HTMLBalDateCalendarCellElement>;
|
|
8139
8584
|
"bal-datepicker": LocalJSX.BalDatepicker & JSXBase.HTMLAttributes<HTMLBalDatepickerElement>;
|
|
8140
8585
|
"bal-divider": LocalJSX.BalDivider & JSXBase.HTMLAttributes<HTMLBalDividerElement>;
|
|
8586
|
+
"bal-dropdown": LocalJSX.BalDropdown & JSXBase.HTMLAttributes<HTMLBalDropdownElement>;
|
|
8141
8587
|
"bal-field": LocalJSX.BalField & JSXBase.HTMLAttributes<HTMLBalFieldElement>;
|
|
8142
8588
|
"bal-field-control": LocalJSX.BalFieldControl & JSXBase.HTMLAttributes<HTMLBalFieldControlElement>;
|
|
8143
8589
|
"bal-field-hint": LocalJSX.BalFieldHint & JSXBase.HTMLAttributes<HTMLBalFieldHintElement>;
|
|
@@ -8187,6 +8633,8 @@ declare module "@stencil/core" {
|
|
|
8187
8633
|
"bal-notices": LocalJSX.BalNotices & JSXBase.HTMLAttributes<HTMLBalNoticesElement>;
|
|
8188
8634
|
"bal-notification": LocalJSX.BalNotification & JSXBase.HTMLAttributes<HTMLBalNotificationElement>;
|
|
8189
8635
|
"bal-number-input": LocalJSX.BalNumberInput & JSXBase.HTMLAttributes<HTMLBalNumberInputElement>;
|
|
8636
|
+
"bal-option": LocalJSX.BalOption & JSXBase.HTMLAttributes<HTMLBalOptionElement>;
|
|
8637
|
+
"bal-option-list": LocalJSX.BalOptionList & JSXBase.HTMLAttributes<HTMLBalOptionListElement>;
|
|
8190
8638
|
"bal-pagination": LocalJSX.BalPagination & JSXBase.HTMLAttributes<HTMLBalPaginationElement>;
|
|
8191
8639
|
"bal-popover": LocalJSX.BalPopover & JSXBase.HTMLAttributes<HTMLBalPopoverElement>;
|
|
8192
8640
|
"bal-popover-content": LocalJSX.BalPopoverContent & JSXBase.HTMLAttributes<HTMLBalPopoverContentElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export * from './components/bal-label/bal-label.i18n';
|
|
|
30
30
|
* Utils
|
|
31
31
|
*/
|
|
32
32
|
export { initializeBaloiseDesignSystem as initialize, initializeBaloiseDesignSystem } from './initialize';
|
|
33
|
+
export { newBalOption } from './utils/dropdown/option';
|
|
33
34
|
export { newBalStepOption } from './components/bal-steps/bal-step.util';
|
|
34
35
|
export { newBalTabOption } from './components/bal-tabs/bal-tab.util';
|
|
35
36
|
export { newBalCheckboxOption } from './components/bal-checkbox/utils/bal-checkbox.util';
|
|
@@ -13,6 +13,7 @@ import './components/bal-card/bal-card.interfaces'
|
|
|
13
13
|
import './components/bal-carousel/bal-carousel.interfaces'
|
|
14
14
|
import './components/bal-close/bal-close.interfaces'
|
|
15
15
|
import './components/bal-data/bal-data.interfaces'
|
|
16
|
+
import './components/bal-dropdown/bal-dropdown.interfaces'
|
|
16
17
|
import './components/bal-icon/bal-icon.interfaces'
|
|
17
18
|
import './components/bal-list/bal-list.interfaces'
|
|
18
19
|
import './components/bal-logo/bal-logo.interfaces'
|
|
@@ -24,6 +25,8 @@ import './components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.interfaces'
|
|
|
24
25
|
import './components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.interfaces'
|
|
25
26
|
import './components/bal-nav/bal-nav.interfaces'
|
|
26
27
|
import './components/bal-navbar/bal-navbar.interfaces'
|
|
28
|
+
import './components/bal-option/bal-option.interfaces'
|
|
29
|
+
import './components/bal-option-list/bal-option-list.interfaces'
|
|
27
30
|
import './components/bal-pagination/bal-pagination.interfaces'
|
|
28
31
|
import './components/bal-popover/bal-popover.interfaces'
|
|
29
32
|
import './components/bal-popup/bal-popup.interfaces'
|
|
@@ -40,6 +43,7 @@ import './components/bal-text/bal-text.interfaces'
|
|
|
40
43
|
import './components/bal-content/bal-content.interfaces'
|
|
41
44
|
import './components/bal-divider/bal-divider.interfaces'
|
|
42
45
|
import './components/bal-stack/bal-stack.interfaces'
|
|
46
|
+
import './components/bal-spinner/bal-spinner.interfaces'
|
|
43
47
|
import './components/bal-checkbox/bal-checkbox.interfaces'
|
|
44
48
|
import './components/bal-date/bal-date.interfaces'
|
|
45
49
|
import './components/bal-date/bal-date-calendar/bal-date-calendar.interfaces'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ariaBooleanToString: (bool?: boolean) => "true" | "false";
|
|
@@ -23,6 +23,8 @@ export declare class Config {
|
|
|
23
23
|
set logger(logger: BalLogger);
|
|
24
24
|
get animated(): boolean;
|
|
25
25
|
set animated(animated: boolean);
|
|
26
|
+
get httpFormSubmit(): boolean;
|
|
27
|
+
set httpFormSubmit(httpFormSubmit: boolean);
|
|
26
28
|
attach(observer: BalConfigObserver): void;
|
|
27
29
|
detach(observer: BalConfigObserver): void;
|
|
28
30
|
attachComponent(observer: BalConfigObserver): void;
|
|
@@ -17,6 +17,7 @@ export interface BalConfig {
|
|
|
17
17
|
fallbackLanguage?: BalLanguage;
|
|
18
18
|
logger?: BalLogger;
|
|
19
19
|
animated?: boolean;
|
|
20
|
+
httpFormSubmit?: boolean;
|
|
20
21
|
_jmp?: (c: any) => any;
|
|
21
22
|
_raf?: (c: any) => number;
|
|
22
23
|
_ael?: (el: any, eventName: string, listener: any, options: any) => void;
|
|
@@ -31,6 +32,7 @@ export interface BalConfigState {
|
|
|
31
32
|
fallbackLanguage: BalLanguage;
|
|
32
33
|
logger: BalLogger;
|
|
33
34
|
animated: boolean;
|
|
35
|
+
httpFormSubmit: boolean;
|
|
34
36
|
}
|
|
35
37
|
export interface BalPlatformConfig {
|
|
36
38
|
jmp?: (c: any) => any;
|
|
@@ -5,6 +5,7 @@ export interface BalDateInfoOptions {
|
|
|
5
5
|
}
|
|
6
6
|
export declare class BalDate {
|
|
7
7
|
private dt;
|
|
8
|
+
static setTwoDigitCutoffYear(cutoff?: number): void;
|
|
8
9
|
static fromAnyFormat(value: string): BalDate;
|
|
9
10
|
static fromISO(value: string | undefined): BalDate;
|
|
10
11
|
static infoMonths({ format, locale }?: BalDateInfoOptions): string[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DropdownComponent } from './component';
|
|
2
|
+
export declare class DropdownAutoFillUtil {
|
|
3
|
+
private component;
|
|
4
|
+
connectedCallback(component: DropdownComponent): void;
|
|
5
|
+
handleAutoFill: (ev: Event) => Promise<void>;
|
|
6
|
+
private isAutoFillAllowed;
|
|
7
|
+
private parseAutoFillValueWithOptions;
|
|
8
|
+
}
|