@baloise/ds-core 19.9.4 → 20.0.0-next.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/LICENSE +2 -2
- package/README.md +2 -6
- package/components/all.d.ts +84 -234
- package/components/all.js +126 -351
- package/components/ds-accordion.d.ts +11 -0
- package/components/ds-accordion.js +4 -0
- package/components/ds-alert-container.d.ts +11 -0
- package/components/ds-alert-container.js +4 -0
- package/components/ds-app.d.ts +11 -0
- package/components/ds-app.js +4 -0
- package/components/ds-badge.d.ts +11 -0
- package/components/ds-badge.js +4 -0
- package/components/ds-button-group.d.ts +11 -0
- package/components/ds-button-group.js +4 -0
- package/components/ds-button.d.ts +11 -0
- package/components/ds-button.js +4 -0
- package/components/ds-card-actions.d.ts +11 -0
- package/components/ds-card-actions.js +4 -0
- package/components/ds-card-content.d.ts +11 -0
- package/components/ds-card-content.js +4 -0
- package/components/ds-card-header.d.ts +11 -0
- package/components/ds-card-header.js +4 -0
- package/components/ds-card-subtitle.d.ts +11 -0
- package/components/ds-card-subtitle.js +4 -0
- package/components/ds-card-title.d.ts +11 -0
- package/components/ds-card-title.js +4 -0
- package/components/ds-card.d.ts +11 -0
- package/components/ds-card.js +4 -0
- package/components/ds-checkbox-group.d.ts +11 -0
- package/components/ds-checkbox-group.js +4 -0
- package/components/ds-checkbox.d.ts +11 -0
- package/components/ds-checkbox.js +4 -0
- package/components/ds-close.d.ts +11 -0
- package/components/ds-close.js +4 -0
- package/components/ds-content.d.ts +11 -0
- package/components/ds-content.js +4 -0
- package/components/ds-divider.d.ts +11 -0
- package/components/ds-divider.js +4 -0
- package/components/ds-heading.d.ts +11 -0
- package/components/ds-heading.js +4 -0
- package/components/ds-icon.d.ts +11 -0
- package/components/ds-icon.js +4 -0
- package/components/ds-input.d.ts +11 -0
- package/components/ds-input.js +4 -0
- package/components/ds-item.d.ts +11 -0
- package/components/ds-item.js +4 -0
- package/components/ds-label.d.ts +11 -0
- package/components/ds-label.js +4 -0
- package/components/ds-list.d.ts +11 -0
- package/components/ds-list.js +4 -0
- package/components/ds-logo.d.ts +11 -0
- package/components/ds-logo.js +4 -0
- package/components/ds-notification.d.ts +11 -0
- package/components/ds-notification.js +4 -0
- package/components/ds-number-input.d.ts +11 -0
- package/components/ds-number-input.js +4 -0
- package/components/ds-pagination.d.ts +11 -0
- package/components/ds-pagination.js +4 -0
- package/components/ds-progress-bar.d.ts +11 -0
- package/components/ds-progress-bar.js +4 -0
- package/components/ds-radio-group.d.ts +11 -0
- package/components/ds-radio-group.js +4 -0
- package/components/ds-radio.d.ts +11 -0
- package/components/ds-radio.js +4 -0
- package/components/ds-segment-item.d.ts +11 -0
- package/components/ds-segment-item.js +4 -0
- package/components/ds-segment.d.ts +11 -0
- package/components/ds-segment.js +4 -0
- package/components/ds-shape.d.ts +11 -0
- package/components/ds-shape.js +4 -0
- package/components/ds-snackbar.d.ts +11 -0
- package/components/ds-snackbar.js +4 -0
- package/components/ds-spinner.d.ts +11 -0
- package/components/ds-spinner.js +4 -0
- package/components/ds-stack.d.ts +11 -0
- package/components/ds-stack.js +4 -0
- package/components/ds-tag-group.d.ts +11 -0
- package/components/ds-tag-group.js +4 -0
- package/components/ds-tag.d.ts +11 -0
- package/components/ds-tag.js +4 -0
- package/components/ds-text.d.ts +11 -0
- package/components/ds-text.js +4 -0
- package/components/ds-textarea.d.ts +11 -0
- package/components/ds-textarea.js +4 -0
- package/components/ds-toast.d.ts +11 -0
- package/components/ds-toast.js +4 -0
- package/components/ds-toggle.d.ts +11 -0
- package/components/ds-toggle.js +4 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +3 -622
- package/components/p-5Sp1eJOt.js +4 -0
- package/components/p-82RSSk25.js +4 -0
- package/components/p-B62ocg4Q.js +4 -0
- package/components/p-BATOumsf.js +4 -0
- package/components/p-BEngECpF.js +4 -0
- package/components/p-BFeO6Gq4.js +4 -0
- package/components/p-BMBthpLd.js +4 -0
- package/components/p-BNY3JzuV.js +4 -0
- package/components/p-BOTkpyFe.js +5 -0
- package/components/p-BOgMmRCt.js +4 -0
- package/components/p-BR1SYpQO.js +4 -0
- package/components/p-BTyFgjT3.js +4 -0
- package/components/p-Bbn3sYo5.js +4 -0
- package/components/p-BdyfOBon.js +4 -0
- package/components/p-BlyIAln5.js +4 -0
- package/components/p-Bt20CEww.js +4 -0
- package/components/p-C7I7OlaM.js +4 -0
- package/components/p-CDYlUuhB.js +4 -0
- package/components/p-CYHzHtnv.js +4 -0
- package/components/p-Cb75Rr6o.js +4 -0
- package/components/p-Ceu7FIWM.js +4 -0
- package/components/p-CojUmpFm.js +4 -0
- package/components/p-D86WpWIE.js +4 -0
- package/components/p-DDKh7hkm.js +4 -0
- package/components/p-DHeVI6dR.js +4 -0
- package/components/p-DR5LIaCn.js +4 -0
- package/components/p-DTPbL3uY.js +4 -0
- package/components/p-DYfTMCkl.js +4 -0
- package/components/p-DZqqelPH.js +4 -0
- package/components/p-Diz11uvt.js +4 -0
- package/components/p-DnnGnukM.js +4 -0
- package/components/p-Dr4dquer.js +4 -0
- package/components/p-DtuTnY5l.js +4 -0
- package/components/p-Duhf3ymL.js +4 -0
- package/components/p-E1SnOz0L.js +4 -0
- package/components/p-E8U6M5ii.js +4 -0
- package/components/p-HDclecaJ.js +4 -0
- package/components/p-JZ1uDtZv.js +4 -0
- package/components/p-LCAsAZzj.js +4 -0
- package/components/p-Urcs7-vS.js +4 -0
- package/components/p-cSbDziZm.js +4 -0
- package/components/p-gA-94RPS.js +4 -0
- package/components/p-ng5ZzTOj.js +4 -0
- package/components/p-xDEngwqW.js +4 -0
- package/components/p-z1jJgtep.js +4 -0
- package/components/package.json +1 -1
- package/dist/cjs/_commonjsHelpers-DVhpm0hL.js +13 -0
- package/dist/cjs/_getTag-B468r9bu.js +950 -0
- package/dist/cjs/accordion.interfaces-BPzfNHzH.js +16 -0
- package/dist/cjs/app.focus.util-DOa3ViTR.js +77 -0
- package/dist/cjs/aria-C3Tx6AHY.js +13 -0
- package/dist/cjs/attributes-D57TMQsY.js +31 -0
- package/dist/cjs/breakpoints.decorator-qaoHOU6Q.js +22 -0
- package/dist/cjs/breakpoints.subject-DhAN_ZAn.js +268 -0
- package/dist/cjs/button.interfaces-BueDWsuH.js +36 -0
- package/dist/cjs/card.interfaces-BnIQxJmW.js +64 -0
- package/dist/cjs/checkbox.interfaces-CboipPFV.js +12 -0
- package/dist/cjs/close.i18n-CSDAywTb.js +39 -0
- package/dist/cjs/config.decorator-Qmrq4ZYj.js +22 -0
- package/dist/cjs/config.utils-Cv4cx_Xa.js +98 -0
- package/dist/cjs/contact-SPfz2A_q.js +1647 -0
- package/dist/cjs/design-system.cjs.js +48 -0
- package/dist/cjs/device-CptgCtVc.js +57 -0
- package/dist/cjs/ds-accordion.cjs.entry.js +255 -0
- package/dist/cjs/ds-alert-container.cjs.entry.js +191 -0
- package/dist/cjs/ds-app.cjs.entry.js +93 -0
- package/dist/cjs/ds-badge.cjs.entry.js +93 -0
- package/dist/cjs/ds-button-group.cjs.entry.js +89 -0
- package/dist/cjs/ds-button_2.cjs.entry.js +528 -0
- package/dist/cjs/ds-card-actions.cjs.entry.js +41 -0
- package/dist/cjs/ds-card-content.cjs.entry.js +31 -0
- package/dist/cjs/ds-card-header.cjs.entry.js +38 -0
- package/dist/cjs/ds-card-subtitle.cjs.entry.js +67 -0
- package/dist/cjs/ds-card-title.cjs.entry.js +59 -0
- package/dist/cjs/ds-card.cjs.entry.js +185 -0
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +2351 -0
- package/dist/cjs/ds-checkbox.cjs.entry.js +235 -0
- package/dist/cjs/ds-content.cjs.entry.js +154 -0
- package/dist/cjs/ds-divider.cjs.entry.js +131 -0
- package/dist/cjs/ds-heading.cjs.entry.js +242 -0
- package/dist/cjs/ds-icon_2.cjs.entry.js +1463 -0
- package/dist/cjs/ds-input.cjs.entry.js +830 -0
- package/dist/cjs/ds-item.cjs.entry.js +258 -0
- package/dist/cjs/ds-label.cjs.entry.js +186 -0
- package/dist/cjs/ds-list.cjs.entry.js +56 -0
- package/dist/cjs/ds-logo.cjs.entry.js +223 -0
- package/dist/cjs/ds-notification.cjs.entry.js +150 -0
- package/dist/cjs/ds-number-input.cjs.entry.js +648 -0
- package/dist/cjs/ds-pagination.cjs.entry.js +342 -0
- package/dist/cjs/ds-progress-bar.cjs.entry.js +228 -0
- package/dist/cjs/ds-radio-group.cjs.entry.js +399 -0
- package/dist/cjs/ds-radio.cjs.entry.js +338 -0
- package/dist/cjs/ds-segment-item.cjs.entry.js +86 -0
- package/dist/cjs/ds-segment.cjs.entry.js +447 -0
- package/dist/cjs/ds-shape.cjs.entry.js +90 -0
- package/dist/cjs/ds-snackbar.cjs.entry.js +253 -0
- package/dist/cjs/ds-stack.cjs.entry.js +224 -0
- package/dist/cjs/ds-tag-group.cjs.entry.js +35 -0
- package/dist/cjs/ds-tag.cjs.entry.js +150 -0
- package/dist/cjs/ds-text.cjs.entry.js +241 -0
- package/dist/cjs/ds-textarea.cjs.entry.js +312 -0
- package/dist/cjs/ds-toast.cjs.entry.js +271 -0
- package/dist/cjs/ds-toggle.cjs.entry.js +252 -0
- package/dist/cjs/field.util-RjuvTLNZ.js +19 -0
- package/dist/cjs/form-control-Bno2tBGf.js +120 -0
- package/dist/cjs/heading.interfaces-B5NJ2yjL.js +33 -0
- package/dist/cjs/index-CdD-TT_n.js +3514 -0
- package/dist/cjs/index.cjs.js +8456 -206
- package/dist/cjs/input.interfaces-YapUUaRx.js +116 -0
- package/dist/cjs/isEmpty-BmKp4bH4.js +99 -0
- package/dist/cjs/isNil-DuJ_OV5R.js +46 -0
- package/dist/cjs/isObjectLike-h-ta_ikf.js +259 -0
- package/dist/cjs/keys.constant-BYIApas2.js +26 -0
- package/dist/cjs/label.i18n-C00ZY0P9.js +39 -0
- package/dist/cjs/listener-DgVWqfa1.js +92 -0
- package/dist/cjs/loader.cjs.js +6 -10
- package/dist/cjs/logo.animation-Bfx2buFZ.js +2610 -0
- package/dist/cjs/lottie_light_html-BHYW2LDx.js +13651 -0
- package/dist/cjs/pagination.i18n-D2ElLaZ_.js +59 -0
- package/dist/cjs/radio.interfaces-BdYDfzHd.js +12 -0
- package/dist/cjs/spinner.animation-HRyBK4iv.js +2605 -0
- package/dist/cjs/stack.interfaces-6vlKvBmb.js +68 -0
- package/dist/cjs/svg-D7Mwbcvp.js +1482 -0
- package/dist/cjs/t-shirt-AyhbnEdJ.js +53 -0
- package/dist/cjs/tslib.es6-BTi-SLnA.js +117 -0
- package/dist/cjs/validate.decorator-C9-9HA0Y.js +115 -0
- package/dist/collection/collection-manifest.json +47 -395
- package/dist/collection/components/accordion/accordion.host.css +1 -0
- package/dist/collection/components/accordion/accordion.interfaces.js +8 -0
- package/dist/collection/components/accordion/accordion.js +729 -0
- package/dist/collection/components/accordion/test/accordion.a11y.play.js +20 -0
- package/dist/collection/components/accordion/test/accordion.component.play.js +65 -0
- package/dist/collection/components/accordion/test/accordion.visual.play.js +32 -0
- package/dist/collection/components/alert/alert-container.host.css +1 -0
- package/dist/collection/components/alert/alert-container.interfaces.js +17 -0
- package/dist/collection/components/alert/alert-container.js +331 -0
- package/dist/collection/components/alert/alert.controller.js +43 -0
- package/dist/collection/components/alert/snackbar/snackbar.host.css +1 -0
- package/dist/collection/components/alert/snackbar/snackbar.interfaces.js +4 -0
- package/dist/collection/components/alert/snackbar/snackbar.js +656 -0
- package/dist/collection/components/alert/test/alert.visual.play.js +65 -0
- package/dist/collection/components/alert/test/snackbar.a11y.play.js +17 -0
- package/dist/collection/components/alert/test/snackbar.component.play.js +29 -0
- package/dist/collection/components/alert/test/snackbar.visual.play.js +26 -0
- package/dist/collection/components/alert/test/toast.a11y.play.js +17 -0
- package/dist/collection/components/alert/test/toast.visual.play.js +16 -0
- package/dist/collection/components/alert/toast/toast.host.css +1 -0
- package/dist/collection/components/alert/toast/toast.interfaces.js +5 -0
- package/dist/collection/components/alert/toast/toast.js +768 -0
- package/dist/collection/components/app/app.css +1 -0
- package/dist/collection/components/app/app.focus.util.js +73 -0
- package/dist/collection/components/app/app.js +217 -0
- package/dist/collection/components/badge/badge.host.css +1 -0
- package/dist/collection/components/badge/badge.interfaces.js +6 -0
- package/dist/collection/components/badge/badge.js +225 -0
- package/dist/collection/components/badge/test/badge.a11y.play.js +17 -0
- package/dist/collection/components/badge/test/badge.component.play.js +22 -0
- package/dist/collection/components/badge/test/badge.visual.play.js +16 -0
- package/dist/collection/components/button/button-group/button-group.host.css +1 -0
- package/dist/collection/components/button/button-group/button-group.js +196 -0
- package/dist/collection/components/button/button.host.css +1 -0
- package/dist/collection/components/button/button.interfaces.js +27 -0
- package/dist/collection/components/button/button.js +1139 -0
- package/dist/collection/components/button/test/button-group.visual.play.js +29 -0
- package/dist/collection/components/button/test/button.a11y.play.js +39 -0
- package/dist/collection/components/button/test/button.component.play.js +32 -0
- package/dist/collection/components/button/test/button.visual.play.js +50 -0
- package/dist/collection/components/card/card-actions/card-actions.js +74 -0
- package/dist/collection/components/card/card-content/card-content.host.css +1 -0
- package/dist/collection/components/card/card-content/card-content.js +39 -0
- package/dist/collection/components/card/card-header/card-header.host.css +1 -0
- package/dist/collection/components/card/card-header/card-header.js +78 -0
- package/dist/collection/components/card/card-subtitle/card-subtitle.host.css +1 -0
- package/dist/collection/components/card/card-subtitle/card-subtitle.js +147 -0
- package/dist/collection/components/card/card-title/card-title.host.css +1 -0
- package/dist/collection/components/card/card-title/card-title.js +146 -0
- package/dist/collection/components/card/card.host.css +1 -0
- package/dist/collection/components/card/card.interfaces.js +56 -0
- package/dist/collection/components/card/card.js +484 -0
- package/dist/collection/components/card/test/card.a11y.play.js +84 -0
- package/dist/collection/components/card/test/card.component.play.js +65 -0
- package/dist/collection/components/card/test/card.visual.play.js +42 -0
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.host.css +1 -0
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.js +930 -0
- package/dist/collection/components/checkbox/checkbox.host.css +1 -0
- package/dist/collection/components/checkbox/checkbox.interfaces.js +6 -0
- package/dist/collection/components/checkbox/checkbox.js +666 -0
- package/dist/collection/components/checkbox/test/checkbox.a11y.play.js +36 -0
- package/dist/collection/components/checkbox/test/checkbox.component.play.js +157 -0
- package/dist/collection/components/checkbox/test/checkbox.visual.play.js +58 -0
- package/dist/collection/components/close/close.host.css +1 -0
- package/dist/collection/components/close/close.i18n.js +35 -0
- package/dist/collection/components/close/close.interfaces.js +4 -0
- package/dist/collection/components/close/close.js +278 -0
- package/dist/collection/components/close/test/close.a11y.play.js +12 -0
- package/dist/collection/components/close/test/close.component.play.js +20 -0
- package/dist/collection/components/close/test/close.visual.play.js +16 -0
- package/dist/collection/components/container/test/container.visual.play.js +16 -0
- package/dist/collection/components/content/content.host.css +1 -0
- package/dist/collection/components/content/content.interfaces.js +22 -0
- package/dist/collection/components/content/content.js +314 -0
- package/dist/collection/components/content/test/content.component.play.js +14 -0
- package/dist/collection/components/content/test/content.visual.play.js +29 -0
- package/dist/collection/components/divider/divider.host.css +1 -0
- package/dist/collection/components/divider/divider.interfaces.js +42 -0
- package/dist/collection/components/divider/divider.js +206 -0
- package/dist/collection/components/divider/test/divider.a11y.play.js +31 -0
- package/dist/collection/components/divider/test/divider.component.play.js +13 -0
- package/dist/collection/components/divider/test/divider.visual.play.js +29 -0
- package/dist/collection/components/form/test/form.visual.play.js +16 -0
- package/dist/collection/components/grid/test/grid.visual.play.js +25 -0
- package/dist/collection/components/heading/heading.const.js +51 -0
- package/dist/collection/components/heading/heading.host.css +1 -0
- package/dist/collection/components/heading/heading.interfaces.js +25 -0
- package/dist/collection/components/heading/heading.js +428 -0
- package/dist/collection/components/heading/test/heading.a11y.play.js +41 -0
- package/dist/collection/components/heading/test/heading.component.play.js +14 -0
- package/dist/collection/components/heading/test/heading.visual.play.js +29 -0
- package/dist/collection/components/icon/icon.host.css +1 -0
- package/dist/collection/components/icon/icon.interfaces.js +44 -0
- package/dist/collection/components/icon/icon.js +564 -0
- package/dist/collection/components/icon/test/icon.a11y.play.js +8 -0
- package/dist/collection/components/icon/test/icon.component.play.js +13 -0
- package/dist/collection/components/icon/test/icon.visual.play.js +28 -0
- package/dist/collection/components/input/field.util.js +14 -0
- package/dist/collection/components/input/input.host.css +1 -0
- package/dist/collection/components/input/input.interfaces.js +107 -0
- package/dist/collection/components/input/input.js +1341 -0
- package/dist/collection/components/input/input.mask.js +27 -0
- package/dist/collection/components/input/masks/basic-contract-number.js +58 -0
- package/dist/collection/components/input/masks/be-enterprise-number.js +48 -0
- package/dist/collection/components/input/masks/be-iban.js +55 -0
- package/dist/collection/components/input/masks/claim-number.js +59 -0
- package/dist/collection/components/input/masks/contract-number.js +59 -0
- package/dist/collection/components/input/masks/index.js +20 -0
- package/dist/collection/components/input/masks/offer-number.js +55 -0
- package/dist/collection/components/input/masks/vehicle-registration-number.js +55 -0
- package/dist/collection/components/input/test/input.a11y.play.js +32 -0
- package/dist/collection/components/input/test/input.component.play.js +119 -0
- package/dist/collection/components/input/test/input.visual.play.js +43 -0
- package/dist/collection/components/label/label.host.css +1 -0
- package/dist/collection/components/label/label.i18n.js +35 -0
- package/dist/collection/components/label/label.interfaces.js +17 -0
- package/dist/collection/components/label/label.js +437 -0
- package/dist/collection/components/label/test/label.a11y.play.js +30 -0
- package/dist/collection/components/label/test/label.component.play.js +14 -0
- package/dist/collection/components/label/test/label.visual.play.js +31 -0
- package/dist/collection/components/link/test/link.a11y.play.js +8 -0
- package/dist/collection/components/link/test/link.visual.play.js +16 -0
- package/dist/collection/components/list/item/item.host.css +1 -0
- package/dist/collection/components/list/item/item.interfaces.js +7 -0
- package/dist/collection/components/list/item/item.js +711 -0
- package/dist/collection/components/list/list.host.css +1 -0
- package/dist/collection/components/list/list.js +89 -0
- package/dist/collection/components/list/test/list-native.visual.play.js +15 -0
- package/dist/collection/components/list/test/list.component.play.js +61 -0
- package/dist/collection/components/logo/logo.animation.js +20 -0
- package/dist/collection/components/logo/logo.data.js +2588 -0
- package/dist/collection/components/logo/logo.host.css +1 -0
- package/dist/collection/components/logo/logo.icons.js +14 -0
- package/dist/collection/components/logo/logo.interfaces.js +6 -0
- package/dist/collection/components/logo/logo.js +360 -0
- package/dist/collection/components/logo/test/logo.a11y.play.js +8 -0
- package/dist/collection/components/logo/test/logo.component.play.js +13 -0
- package/dist/collection/components/logo/test/logo.visual.play.js +16 -0
- package/dist/collection/components/notification/notification.host.css +1 -0
- package/dist/collection/components/notification/notification.interfaces.js +17 -0
- package/dist/collection/components/notification/notification.js +368 -0
- package/dist/collection/components/notification/test/notification.a11y.play.js +28 -0
- package/dist/collection/components/notification/test/notification.component.play.js +23 -0
- package/dist/collection/components/notification/test/notification.visual.play.js +29 -0
- package/dist/collection/components/number-input/number-input.host.css +1 -0
- package/dist/collection/components/number-input/number-input.js +1049 -0
- package/dist/collection/components/number-input/number-input.utils.js +109 -0
- package/dist/collection/components/number-input/test/number-input.a11y.play.js +32 -0
- package/dist/collection/components/number-input/test/number-input.component.play.js +97 -0
- package/dist/collection/components/number-input/test/number-input.visual.play.js +18 -0
- package/dist/collection/components/pagination/pagination.host.css +1 -0
- package/dist/collection/components/pagination/pagination.i18n.js +55 -0
- package/dist/collection/components/pagination/pagination.interfaces.js +7 -0
- package/dist/collection/components/pagination/pagination.js +630 -0
- package/dist/collection/components/pagination/pagination.util.js +80 -0
- package/dist/collection/components/pagination/test/pagination.a11y.play.js +32 -0
- package/dist/collection/components/pagination/test/pagination.component.play.js +98 -0
- package/dist/collection/components/pagination/test/pagination.visual.play.js +18 -0
- package/dist/collection/components/progress-bar/progress-bar.host.css +1 -0
- package/dist/collection/components/progress-bar/progress-bar.i18n.js +35 -0
- package/dist/collection/components/progress-bar/progress-bar.interfaces.js +6 -0
- package/dist/collection/components/progress-bar/progress-bar.js +273 -0
- package/dist/collection/components/progress-bar/test/progress-bar.a11y.play.js +8 -0
- package/dist/collection/components/progress-bar/test/progress-bar.visual.play.js +16 -0
- package/dist/collection/components/radio/radio-group/radio-group.host.css +1 -0
- package/dist/collection/components/radio/radio-group/radio-group.js +986 -0
- package/dist/collection/components/radio/radio.host.css +1 -0
- package/dist/collection/components/radio/radio.interfaces.js +6 -0
- package/dist/collection/components/radio/radio.js +846 -0
- package/dist/collection/components/radio/test/radio.a11y.play.js +37 -0
- package/dist/collection/components/radio/test/radio.component.play.js +140 -0
- package/dist/collection/components/radio/test/radio.visual.play.js +58 -0
- package/dist/collection/components/segment/segment/segment.host.css +1 -0
- package/dist/collection/components/segment/segment/segment.js +826 -0
- package/dist/collection/components/segment/segment-item.host.css +1 -0
- package/dist/collection/components/segment/segment-item.interfaces.js +4 -0
- package/dist/collection/components/segment/segment-item.js +217 -0
- package/dist/collection/components/segment/test/segment.a11y.play.js +37 -0
- package/dist/collection/components/segment/test/segment.component.play.js +99 -0
- package/dist/collection/components/segment/test/segment.visual.play.js +50 -0
- package/dist/collection/components/shape/shape.data.js +9 -0
- package/dist/collection/components/shape/shape.host.css +1 -0
- package/dist/collection/components/shape/shape.interfaces.js +15 -0
- package/dist/collection/components/shape/shape.js +167 -0
- package/dist/collection/components/shape/test/shape.component.play.js +13 -0
- package/dist/collection/components/shape/test/shape.visual.play.js +16 -0
- package/dist/collection/components/spinner/spinner.animation.js +15 -0
- package/dist/collection/components/spinner/spinner.data.js +2588 -0
- package/dist/collection/components/spinner/spinner.host.css +1 -0
- package/dist/collection/components/spinner/spinner.i18n.js +35 -0
- package/dist/collection/components/spinner/spinner.interfaces.js +7 -0
- package/dist/collection/components/spinner/spinner.js +509 -0
- package/dist/collection/components/spinner/test/spinner.a11y.play.js +8 -0
- package/dist/collection/components/spinner/test/spinner.visual.play.js +16 -0
- package/dist/collection/components/stack/stack.host.css +1 -0
- package/dist/collection/components/stack/stack.interfaces.js +60 -0
- package/dist/collection/components/stack/stack.js +543 -0
- package/dist/collection/components/stack/test/stack.component.play.js +14 -0
- package/dist/collection/components/stack/test/stack.visual.play.js +44 -0
- package/dist/collection/components/table/test/table.visual.play.js +16 -0
- package/dist/collection/components/tag/tag-group/tag-group.host.css +1 -0
- package/dist/collection/components/tag/tag-group/tag-group.js +42 -0
- package/dist/collection/components/tag/tag.host.css +1 -0
- package/dist/collection/components/tag/tag.interfaces.js +28 -0
- package/dist/collection/components/tag/tag.js +330 -0
- package/dist/collection/components/tag/test/tag.a11y.play.js +42 -0
- package/dist/collection/components/tag/test/tag.component.play.js +22 -0
- package/dist/collection/components/tag/test/tag.visual.play.js +29 -0
- package/dist/collection/components/text/test/text.a11y.play.js +40 -0
- package/dist/collection/components/text/test/text.component.play.js +14 -0
- package/dist/collection/components/text/test/text.visual.play.js +40 -0
- package/dist/collection/components/text/text.host.css +1 -0
- package/dist/collection/components/text/text.interfaces.js +38 -0
- package/dist/collection/components/text/text.js +552 -0
- package/dist/collection/components/textarea/test/textarea.a11y.play.js +32 -0
- package/dist/collection/components/textarea/test/textarea.component.play.js +58 -0
- package/dist/collection/components/textarea/test/textarea.visual.play.js +29 -0
- package/dist/collection/components/textarea/textarea.host.css +1 -0
- package/dist/collection/components/textarea/textarea.interfaces.js +4 -0
- package/dist/collection/components/textarea/textarea.js +1023 -0
- package/dist/collection/components/toggle/test/toggle.a11y.play.js +28 -0
- package/dist/collection/components/toggle/test/toggle.component.play.js +90 -0
- package/dist/collection/components/toggle/test/toggle.visual.play.js +30 -0
- package/dist/collection/components/toggle/toggle.host.css +1 -0
- package/dist/collection/components/toggle/toggle.interfaces.js +16 -0
- package/dist/collection/components/toggle/toggle.js +692 -0
- package/dist/collection/global/config/config.const.js +4 -0
- package/dist/collection/global/config/config.decorator.js +17 -0
- package/dist/collection/global/config/config.default.js +63 -0
- package/dist/collection/global/config/config.js +146 -0
- package/dist/collection/global/config/config.utils.js +82 -0
- package/dist/collection/global/config/index.js +10 -0
- package/dist/collection/global/config/initialize.js +14 -0
- package/dist/collection/global/constants/icons.constant.js +42 -0
- package/dist/collection/global/constants/keys.constant.js +20 -0
- package/dist/collection/global/constants/tags.constant.js +48 -0
- package/dist/collection/global/constants/version.constant.js +5 -0
- package/dist/collection/global/global.js +7 -0
- package/dist/collection/global/index.js +14 -0
- package/dist/collection/global/initialize.js +53 -0
- package/dist/collection/index.js +35 -40
- package/dist/collection/utils/aria.js +3 -0
- package/dist/collection/utils/array.js +5 -2
- package/dist/collection/utils/attributes.js +5 -2
- package/dist/collection/utils/breakpoints/breakpoints.const.js +6 -3
- package/dist/collection/utils/breakpoints/breakpoints.decorator.js +6 -3
- package/dist/collection/utils/breakpoints/breakpoints.js +23 -20
- package/dist/collection/utils/breakpoints/breakpoints.map.js +18 -16
- package/dist/collection/utils/breakpoints/breakpoints.subject.js +13 -10
- package/dist/collection/utils/breakpoints/index.js +4 -0
- package/dist/collection/utils/browser.js +6 -3
- package/dist/collection/utils/constants/icons.constant.js +41 -28
- package/dist/collection/utils/date/date.helpers.js +3 -0
- package/dist/collection/utils/date/date.js +15 -12
- package/dist/collection/utils/date/index.js +3 -0
- package/dist/collection/utils/device.js +12 -9
- package/dist/collection/utils/element-states/element-states.decorator.js +10 -7
- package/dist/collection/utils/element-states/element-states.listener.js +14 -11
- package/dist/collection/utils/element-states/element-states.subject.js +7 -4
- package/dist/collection/utils/element-states/index.js +3 -0
- package/dist/collection/utils/form-control.js +121 -0
- package/dist/collection/utils/helpers.js +84 -48
- package/dist/collection/utils/index.js +25 -0
- package/dist/collection/utils/keyboard/index.js +3 -0
- package/dist/collection/utils/keyboard/keyboard.decorator.js +10 -7
- package/dist/collection/utils/keyboard/keyboard.helpers.js +3 -0
- package/dist/collection/utils/keyboard/keyboard.listener.js +5 -2
- package/dist/collection/utils/keyboard/keyboard.subject.js +7 -4
- package/dist/collection/utils/log.js +10 -7
- package/dist/collection/utils/number.js +16 -6
- package/dist/collection/utils/orientation/index.js +3 -0
- package/dist/collection/utils/orientation/orientation.decorator.js +6 -3
- package/dist/collection/utils/orientation/orientation.subject.js +12 -9
- package/dist/collection/utils/property-checkers/check-array-of.js +13 -0
- package/dist/collection/utils/property-checkers/check-date.js +18 -0
- package/dist/collection/utils/property-checkers/check-iso-date.js +14 -0
- package/dist/collection/utils/property-checkers/check-one-of.js +13 -0
- package/dist/collection/utils/property-checkers/check-pattern.js +13 -0
- package/dist/collection/utils/property-checkers/check-type.js +20 -0
- package/dist/collection/utils/property-checkers/check-url.js +20 -0
- package/dist/collection/utils/property-checkers/constants.js +4 -0
- package/dist/collection/utils/property-checkers/empty-or.js +15 -0
- package/dist/collection/utils/property-checkers/index.js +57 -0
- package/dist/collection/utils/property-checkers/is-iso-date.js +17 -0
- package/dist/collection/utils/property-checkers/is-value-empty.js +7 -0
- package/dist/collection/utils/property-checkers/required-and.js +20 -0
- package/dist/collection/utils/resize/index.js +3 -0
- package/dist/collection/utils/resize/resize.decorator.js +10 -7
- package/dist/collection/utils/resize/resize.listener.js +6 -3
- package/dist/collection/utils/resize/resize.subject.js +7 -4
- package/dist/collection/utils/resize/window-resize.decorator.js +10 -7
- package/dist/collection/utils/resize/window-resize.handler.js +14 -11
- package/dist/collection/utils/resize/window-resize.listener.js +7 -4
- package/dist/collection/utils/resize/window-resize.subject.js +10 -7
- package/dist/collection/utils/scroll.js +9 -6
- package/dist/collection/utils/svg.js +3 -0
- package/dist/collection/utils/swipe/index.js +3 -0
- package/dist/collection/utils/swipe/swipe.decorator.js +10 -7
- package/dist/collection/utils/swipe/swipe.listener.js +4 -20
- package/dist/collection/utils/swipe/swipe.subject.js +9 -6
- package/dist/collection/utils/t-shirt.js +52 -0
- package/dist/collection/utils/timer.js +24 -0
- package/dist/collection/utils/types/listener.js +5 -2
- package/dist/collection/utils/types/signal.js +3 -0
- package/dist/collection/utils/validate.decorator.js +203 -0
- package/dist/design-system/design-system.css +1 -0
- package/dist/design-system/design-system.esm.js +4 -0
- package/dist/design-system/index.esm.js +4 -0
- package/dist/design-system/p-03bbcdf9de.entry.js +4 -0
- package/dist/design-system/p-1154323457.entry.js +4 -0
- package/dist/design-system/p-15bc012833.entry.js +4 -0
- package/dist/design-system/p-1d312498a6.entry.js +4 -0
- package/dist/design-system/p-1f0601a4f4.entry.js +4 -0
- package/dist/design-system/p-21b080a49a.entry.js +4 -0
- package/dist/design-system/p-27c34c4e5f.entry.js +4 -0
- package/dist/design-system/p-2b91de302f.entry.js +4 -0
- package/dist/design-system/p-31c1235ac5.entry.js +4 -0
- package/dist/design-system/p-3259acaa64.entry.js +4 -0
- package/dist/design-system/p-339d85cca0.entry.js +4 -0
- package/dist/design-system/p-35e63b52e7.entry.js +4 -0
- package/dist/design-system/p-363f3a7ab4.entry.js +4 -0
- package/dist/design-system/p-3d901720f7.entry.js +4 -0
- package/dist/design-system/p-40ba8b9812.entry.js +4 -0
- package/dist/design-system/p-432430e14f.entry.js +4 -0
- package/dist/design-system/p-487807f228.entry.js +4 -0
- package/dist/design-system/p-4a049d1b7f.entry.js +4 -0
- package/dist/design-system/p-4f4cce8ce4.entry.js +4 -0
- package/dist/design-system/p-5a901a9b8e.entry.js +4 -0
- package/dist/design-system/p-5d3330bf93.entry.js +4 -0
- package/dist/design-system/p-640223834c.entry.js +4 -0
- package/dist/design-system/p-6b9aab417f.entry.js +4 -0
- package/dist/design-system/p-799705af3a.entry.js +4 -0
- package/dist/design-system/p-7e6ed497e7.entry.js +4 -0
- package/dist/design-system/p-82RSSk25.js +4 -0
- package/dist/design-system/p-8e0872fef0.entry.js +4 -0
- package/dist/design-system/p-9617d56181.entry.js +4 -0
- package/dist/design-system/p-B62ocg4Q.js +4 -0
- package/dist/design-system/p-BATOumsf.js +4 -0
- package/dist/design-system/p-BFeO6Gq4.js +4 -0
- package/dist/design-system/p-BLPSziW-.js +4 -0
- package/dist/design-system/p-BR1SYpQO.js +4 -0
- package/dist/design-system/p-BTyFgjT3.js +4 -0
- package/dist/design-system/p-BUK_uRdC.js +4 -0
- package/dist/design-system/p-BaIoYrFa.js +5 -0
- package/dist/design-system/p-Bbn3sYo5.js +4 -0
- package/dist/design-system/p-BkESlUMc.js +4 -0
- package/dist/design-system/p-BlyIAln5.js +4 -0
- package/dist/design-system/p-Br3Spw-v.js +4 -0
- package/dist/design-system/p-BwrOVItb.js +4 -0
- package/dist/design-system/p-C7EnKCpl.js +4 -0
- package/dist/design-system/p-C7I7OlaM.js +4 -0
- package/dist/design-system/p-C7u0gyLh.js +4 -0
- package/dist/design-system/p-CAcwu8uP.js +4 -0
- package/dist/design-system/p-CYHzHtnv.js +4 -0
- package/dist/design-system/p-Cb75Rr6o.js +4 -0
- package/dist/design-system/p-Ceu7FIWM.js +4 -0
- package/dist/design-system/p-CqZ6YSy9.js +4 -0
- package/dist/design-system/p-CqzM3doy.js +4 -0
- package/dist/design-system/p-CuwLeg-T.js +5 -0
- package/dist/design-system/p-D2tr7015.js +4 -0
- package/dist/design-system/p-D86WpWIE.js +4 -0
- package/dist/design-system/p-DCf2fJmI.js +4 -0
- package/dist/design-system/p-DDKh7hkm.js +4 -0
- package/dist/design-system/p-DHeVI6dR.js +4 -0
- package/dist/design-system/p-DJxr2Dcd.js +4 -0
- package/dist/design-system/p-DR5LIaCn.js +4 -0
- package/dist/design-system/p-DTPbL3uY.js +4 -0
- package/dist/design-system/p-DYfTMCkl.js +4 -0
- package/dist/design-system/p-Dnjznncd.js +4 -0
- package/dist/design-system/p-Duhf3ymL.js +4 -0
- package/dist/design-system/p-LCAsAZzj.js +4 -0
- package/dist/design-system/p-aff68865ee.entry.js +4 -0
- package/dist/design-system/p-b3c6327744.entry.js +4 -0
- package/dist/design-system/p-be9023a38b.entry.js +4 -0
- package/dist/design-system/p-c031d1dce5.entry.js +4 -0
- package/dist/design-system/p-c3ae96e220.entry.js +4 -0
- package/dist/design-system/p-d430812a57.entry.js +4 -0
- package/dist/design-system/p-de1354f022.entry.js +4 -0
- package/dist/design-system/p-e3d0c82e2a.entry.js +4 -0
- package/dist/design-system/p-ea1a5e1f75.entry.js +4 -0
- package/dist/design-system/p-ea7169501c.entry.js +4 -0
- package/dist/design-system/p-eab397e041.entry.js +4 -0
- package/dist/design-system/p-ecba4deb9a.entry.js +4 -0
- package/dist/design-system/p-fe0dbd4b03.entry.js +4 -0
- package/dist/design-system/p-ng5ZzTOj.js +4 -0
- package/dist/esm/_commonjsHelpers-Duhf3ymL.js +10 -0
- package/dist/esm/_getTag-DFxL3s3h.js +940 -0
- package/dist/esm/accordion.interfaces-C7u0gyLh.js +10 -0
- package/dist/esm/app.focus.util-BTyFgjT3.js +74 -0
- package/dist/esm/aria-DYfTMCkl.js +11 -0
- package/dist/esm/attributes-B62ocg4Q.js +29 -0
- package/dist/esm/breakpoints.decorator-L2xeP46f.js +20 -0
- package/dist/esm/breakpoints.subject-BhbzG-rl.js +261 -0
- package/dist/esm/button.interfaces-BkESlUMc.js +29 -0
- package/dist/esm/card.interfaces-BlyIAln5.js +57 -0
- package/dist/esm/checkbox.interfaces-LCAsAZzj.js +8 -0
- package/dist/esm/close.i18n-Bbn3sYo5.js +37 -0
- package/dist/esm/config.decorator-BQNIja4k.js +20 -0
- package/dist/esm/config.utils-COlKFRlV.js +85 -0
- package/dist/esm/contact-Cb75Rr6o.js +1636 -0
- package/dist/esm/design-system.js +44 -0
- package/dist/esm/device-Dhwt3m7W.js +54 -0
- package/dist/esm/ds-accordion.entry.js +253 -0
- package/dist/esm/ds-alert-container.entry.js +189 -0
- package/dist/esm/ds-app.entry.js +91 -0
- package/dist/esm/ds-badge.entry.js +91 -0
- package/dist/esm/ds-button-group.entry.js +87 -0
- package/dist/esm/ds-button_2.entry.js +525 -0
- package/dist/esm/ds-card-actions.entry.js +39 -0
- package/dist/esm/ds-card-content.entry.js +29 -0
- package/dist/esm/ds-card-header.entry.js +36 -0
- package/dist/esm/ds-card-subtitle.entry.js +65 -0
- package/dist/esm/ds-card-title.entry.js +57 -0
- package/dist/esm/ds-card.entry.js +183 -0
- package/dist/esm/ds-checkbox-group.entry.js +2349 -0
- package/dist/esm/ds-checkbox.entry.js +233 -0
- package/dist/esm/ds-content.entry.js +152 -0
- package/dist/esm/ds-divider.entry.js +129 -0
- package/dist/esm/ds-heading.entry.js +240 -0
- package/dist/esm/ds-icon_2.entry.js +1460 -0
- package/dist/esm/ds-input.entry.js +828 -0
- package/dist/esm/ds-item.entry.js +256 -0
- package/dist/esm/ds-label.entry.js +184 -0
- package/dist/esm/ds-list.entry.js +54 -0
- package/dist/esm/ds-logo.entry.js +221 -0
- package/dist/esm/ds-notification.entry.js +148 -0
- package/dist/esm/ds-number-input.entry.js +646 -0
- package/dist/esm/ds-pagination.entry.js +340 -0
- package/dist/esm/ds-progress-bar.entry.js +226 -0
- package/dist/esm/ds-radio-group.entry.js +397 -0
- package/dist/esm/ds-radio.entry.js +336 -0
- package/dist/esm/ds-segment-item.entry.js +84 -0
- package/dist/esm/ds-segment.entry.js +445 -0
- package/dist/esm/ds-shape.entry.js +88 -0
- package/dist/esm/ds-snackbar.entry.js +251 -0
- package/dist/esm/ds-stack.entry.js +222 -0
- package/dist/esm/ds-tag-group.entry.js +33 -0
- package/dist/esm/ds-tag.entry.js +148 -0
- package/dist/esm/ds-text.entry.js +239 -0
- package/dist/esm/ds-textarea.entry.js +310 -0
- package/dist/esm/ds-toast.entry.js +269 -0
- package/dist/esm/ds-toggle.entry.js +250 -0
- package/dist/esm/field.util-BXxRO7CD.js +17 -0
- package/dist/esm/form-control-D2O-sb65.js +117 -0
- package/dist/esm/heading.interfaces-Ceu7FIWM.js +27 -0
- package/dist/esm/index-CuwLeg-T.js +3454 -0
- package/dist/esm/index.js +8401 -133
- package/dist/esm/input.interfaces-C7EnKCpl.js +109 -0
- package/dist/esm/isEmpty-DmZYZqE9.js +97 -0
- package/dist/esm/isNil--HeEBNs3.js +44 -0
- package/dist/esm/isObjectLike-BAYao9w7.js +252 -0
- package/dist/esm/keys.constant-D86WpWIE.js +22 -0
- package/dist/esm/label.i18n-C7I7OlaM.js +37 -0
- package/dist/esm/listener-C_kjUVTE.js +88 -0
- package/dist/esm/loader.js +6 -10
- package/dist/esm/logo.animation-DwNj8wwS.js +2608 -0
- package/dist/esm/lottie_light_html-C2-ebQsQ.js +13648 -0
- package/dist/esm/pagination.i18n-BR1SYpQO.js +57 -0
- package/dist/esm/radio.interfaces-BFeO6Gq4.js +8 -0
- package/dist/esm/spinner.animation-rYIM3SEm.js +2603 -0
- package/dist/esm/stack.interfaces-ng5ZzTOj.js +62 -0
- package/dist/esm/svg-BaIoYrFa.js +1480 -0
- package/dist/esm/t-shirt-DR5LIaCn.js +51 -0
- package/dist/esm/tslib.es6-tdchDLyb.js +113 -0
- package/dist/esm/validate.decorator-82RSSk25.js +110 -0
- package/dist/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +129 -0
- package/dist/types/components/accordion/accordion.interfaces.d.ts +20 -0
- package/dist/types/components/alert/alert-container.d.ts +67 -0
- package/dist/types/components/alert/alert-container.interfaces.d.ts +24 -0
- package/dist/types/components/alert/alert.controller.d.ts +9 -0
- package/dist/types/components/alert/snackbar/snackbar.d.ts +129 -0
- package/dist/types/components/alert/snackbar/snackbar.interfaces.d.ts +11 -0
- package/dist/types/components/alert/toast/toast.d.ts +143 -0
- package/dist/types/components/alert/toast/toast.interfaces.d.ts +16 -0
- package/dist/types/components/app/app.d.ts +39 -0
- package/dist/types/components/app/app.focus.util.d.ts +6 -0
- package/dist/types/components/app/app.interfaces.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +39 -0
- package/dist/types/components/badge/badge.interfaces.d.ts +6 -0
- package/dist/types/components/button/button-group/button-group.d.ts +46 -0
- package/dist/types/components/button/button.d.ts +197 -0
- package/dist/types/components/button/button.interfaces.d.ts +32 -0
- package/dist/types/components/card/card-actions/card-actions.d.ts +21 -0
- package/dist/types/components/card/card-content/card-content.d.ts +15 -0
- package/dist/types/components/card/card-header/card-header.d.ts +17 -0
- package/dist/types/components/card/card-subtitle/card-subtitle.d.ts +29 -0
- package/dist/types/components/card/card-title/card-title.d.ts +30 -0
- package/dist/types/components/card/card.d.ts +74 -0
- package/dist/types/components/card/card.interfaces.d.ts +17 -0
- package/dist/types/components/checkbox/checkbox-group/checkbox-group.d.ts +157 -0
- package/dist/types/components/checkbox/checkbox.d.ts +136 -0
- package/dist/types/components/checkbox/checkbox.interfaces.d.ts +26 -0
- package/dist/types/components/close/close.d.ts +45 -0
- package/dist/types/components/close/close.i18n.d.ts +6 -0
- package/dist/types/components/close/close.interfaces.d.ts +2 -0
- package/dist/types/components/content/content.d.ts +55 -0
- package/dist/types/components/content/content.interfaces.d.ts +10 -0
- package/dist/types/components/divider/divider.d.ts +42 -0
- package/dist/types/components/divider/divider.interfaces.d.ts +8 -0
- package/dist/types/components/heading/heading.const.d.ts +12 -0
- package/dist/types/components/heading/heading.d.ts +85 -0
- package/dist/types/components/heading/heading.interfaces.d.ts +10 -0
- package/dist/types/components/icon/icon.d.ts +99 -0
- package/dist/types/components/icon/icon.interfaces.d.ts +8 -0
- package/dist/types/components/input/field.util.d.ts +22 -0
- package/dist/types/components/input/input.d.ts +242 -0
- package/dist/types/components/input/input.interfaces.d.ts +28 -0
- package/dist/types/components/input/input.mask.d.ts +21 -0
- package/dist/types/components/input/masks/basic-contract-number.d.ts +10 -0
- package/dist/types/components/input/masks/be-enterprise-number.d.ts +10 -0
- package/dist/types/components/input/masks/be-iban.d.ts +10 -0
- package/dist/types/components/input/masks/claim-number.d.ts +10 -0
- package/dist/types/components/input/masks/contract-number.d.ts +11 -0
- package/dist/types/components/input/masks/index.d.ts +4 -0
- package/dist/types/components/input/masks/offer-number.d.ts +10 -0
- package/dist/types/components/input/masks/vehicle-registration-number.d.ts +10 -0
- package/dist/types/components/label/label.d.ts +86 -0
- package/dist/types/components/label/label.i18n.d.ts +6 -0
- package/dist/types/components/label/label.interfaces.d.ts +4 -0
- package/dist/types/components/list/item/item.d.ts +129 -0
- package/dist/types/components/list/item/item.interfaces.d.ts +8 -0
- package/dist/types/components/list/list.d.ts +32 -0
- package/dist/types/components/logo/logo.animation.d.ts +2 -0
- package/dist/types/components/logo/logo.d.ts +75 -0
- package/dist/types/components/logo/logo.data.d.ts +1756 -0
- package/dist/types/components/logo/logo.icons.d.ts +9 -0
- package/dist/types/components/logo/logo.interfaces.d.ts +6 -0
- package/dist/types/components/notification/notification.d.ts +81 -0
- package/dist/types/components/notification/notification.interfaces.d.ts +12 -0
- package/dist/types/components/number-input/number-input.d.ts +193 -0
- package/dist/types/components/number-input/number-input.interfaces.d.ts +16 -0
- package/dist/types/components/pagination/pagination.d.ts +116 -0
- package/dist/types/components/pagination/pagination.i18n.d.ts +8 -0
- package/dist/types/components/pagination/pagination.interfaces.d.ts +12 -0
- package/dist/types/components/pagination/pagination.util.d.ts +7 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +61 -0
- package/dist/types/components/progress-bar/progress-bar.i18n.d.ts +6 -0
- package/dist/types/components/progress-bar/progress-bar.interfaces.d.ts +4 -0
- package/dist/types/components/radio/radio-group/radio-group.d.ts +160 -0
- package/dist/types/components/radio/radio.d.ts +161 -0
- package/dist/types/components/radio/radio.interfaces.d.ts +26 -0
- package/dist/types/components/segment/segment/segment.d.ts +150 -0
- package/dist/types/components/segment/segment-item.d.ts +63 -0
- package/dist/types/components/segment/segment-item.interfaces.d.ts +16 -0
- package/dist/types/components/segment/segment-item.type.d.ts +7 -0
- package/dist/types/components/shape/shape.d.ts +41 -0
- package/dist/types/components/shape/shape.data.d.ts +1 -0
- package/dist/types/components/shape/shape.interfaces.d.ts +6 -0
- package/dist/types/components/spinner/spinner.d.ts +89 -0
- package/dist/types/components/spinner/spinner.data.d.ts +1756 -0
- package/dist/types/components/spinner/spinner.i18n.d.ts +6 -0
- package/dist/types/components/spinner/spinner.interfaces.d.ts +8 -0
- package/dist/types/components/stack/stack.d.ts +84 -0
- package/dist/types/components/stack/stack.interfaces.d.ts +10 -0
- package/dist/types/components/tag/tag-group/tag-group.d.ts +18 -0
- package/dist/types/components/tag/tag.d.ts +65 -0
- package/dist/types/components/tag/tag.interfaces.d.ts +16 -0
- package/dist/types/components/text/text.d.ts +96 -0
- package/dist/types/components/text/text.interfaces.d.ts +8 -0
- package/dist/types/components/textarea/textarea.d.ts +191 -0
- package/dist/types/components/textarea/textarea.interfaces.d.ts +20 -0
- package/dist/types/components/toggle/toggle.d.ts +130 -0
- package/dist/types/components/toggle/toggle.interfaces.d.ts +16 -0
- package/dist/types/components.d.ts +4213 -8424
- package/dist/types/global/component.type.d.ts +6 -0
- package/dist/types/global/config/config.const.d.ts +1 -0
- package/dist/types/global/config/config.d.ts +39 -0
- package/dist/types/global/config/config.decorator.d.ts +3 -0
- package/dist/types/global/config/config.default.d.ts +43 -0
- package/dist/types/global/config/config.types.d.ts +48 -0
- package/dist/types/global/config/config.utils.d.ts +16 -0
- package/dist/types/global/config/initialize.d.ts +3 -0
- package/dist/types/global/config/observable/observer.d.ts +4 -0
- package/dist/types/global/config/observable/subject.d.ts +6 -0
- package/dist/types/global/constants/icons.constant.d.ts +38 -0
- package/dist/types/global/constants/version.constant.d.ts +1 -0
- package/dist/types/global/index.d.ts +7 -0
- package/dist/types/global/initialize.d.ts +2 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/accordion.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/app.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/badge.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/button.po.d.ts +9 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/card.po.d.ts +25 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/checkbox.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/close.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/content.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/divider.po.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/heading.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/icon.po.d.ts +7 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +29 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/input.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/label.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/list.po.d.ts +18 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/logo.po.d.ts +7 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/notification.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/number-input.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/pagination.po.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/radio.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/segment.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/shape.po.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/snackbar.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/spinner.po.d.ts +7 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/stack.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tag.po.d.ts +8 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/text.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/textarea.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/toast.po.d.ts +14 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/toggle.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/extend.d.ts +7 -3
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/event-spy.d.ts +3 -3
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/locator.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/mount.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/spy-on-event.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/wait-for-changes.d.ts +2 -2
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/types.d.ts +4 -3
- package/dist/types/index.d.ts +13 -40
- package/dist/types/interfaces.d.ts +60 -64
- package/dist/types/stencil-public-runtime.d.ts +110 -6
- package/dist/types/utils/aria.d.ts +1 -1
- package/dist/types/utils/attributes.d.ts +2 -2
- package/dist/types/utils/breakpoints/breakpoints.const.d.ts +2 -2
- package/dist/types/utils/breakpoints/breakpoints.d.ts +14 -14
- package/dist/types/utils/breakpoints/breakpoints.decorator.d.ts +2 -2
- package/dist/types/utils/breakpoints/breakpoints.interfaces.d.ts +6 -6
- package/dist/types/utils/breakpoints/breakpoints.map.d.ts +3 -3
- package/dist/types/utils/breakpoints/breakpoints.subject.d.ts +5 -5
- package/dist/types/utils/breakpoints/index.d.ts +1 -0
- package/dist/types/utils/browser.d.ts +1 -1
- package/dist/types/utils/constants/icons.constant.d.ts +38 -28
- package/dist/types/utils/date/date.d.ts +9 -9
- package/dist/types/utils/device.d.ts +4 -4
- package/dist/types/utils/element-states/element-states.decorator.d.ts +2 -2
- package/dist/types/utils/element-states/element-states.interfaces.d.ts +4 -4
- package/dist/types/utils/element-states/element-states.listener.d.ts +3 -3
- package/dist/types/utils/element-states/element-states.subject.d.ts +3 -3
- package/dist/types/utils/form-control.d.ts +63 -0
- package/dist/types/utils/helpers.d.ts +7 -7
- package/dist/types/utils/index.d.ts +22 -0
- package/dist/types/utils/keyboard/keyboard.decorator.d.ts +2 -2
- package/dist/types/utils/keyboard/keyboard.interfaces.d.ts +4 -4
- package/dist/types/utils/keyboard/keyboard.listener.d.ts +2 -2
- package/dist/types/utils/keyboard/keyboard.subject.d.ts +3 -3
- package/dist/types/utils/log.d.ts +2 -2
- package/dist/types/utils/orientation/orientation.decorator.d.ts +2 -2
- package/dist/types/utils/orientation/orientation.interfaces.d.ts +3 -3
- package/dist/types/utils/orientation/orientation.subject.d.ts +4 -4
- package/dist/types/utils/property-checkers/check-array-of.d.ts +2 -0
- package/dist/types/utils/property-checkers/check-date.d.ts +1 -0
- package/dist/types/utils/property-checkers/check-iso-date.d.ts +1 -0
- package/dist/types/utils/property-checkers/check-one-of.d.ts +1 -0
- package/dist/types/utils/property-checkers/check-pattern.d.ts +1 -0
- package/dist/types/utils/property-checkers/check-type.d.ts +2 -0
- package/dist/types/utils/property-checkers/check-url.d.ts +1 -0
- package/dist/types/utils/property-checkers/constants.d.ts +1 -0
- package/dist/types/utils/property-checkers/empty-or.d.ts +1 -0
- package/dist/types/utils/property-checkers/index.d.ts +19 -0
- package/dist/types/utils/property-checkers/is-iso-date.d.ts +1 -0
- package/dist/types/utils/property-checkers/is-value-empty.d.ts +1 -0
- package/dist/types/utils/property-checkers/property-types.d.ts +3 -0
- package/dist/types/utils/property-checkers/required-and.d.ts +1 -0
- package/dist/types/utils/resize/resize.decorator.d.ts +2 -2
- package/dist/types/utils/resize/resize.interfaces.d.ts +4 -4
- package/dist/types/utils/resize/resize.listener.d.ts +2 -2
- package/dist/types/utils/resize/resize.subject.d.ts +3 -3
- package/dist/types/utils/resize/window-resize.decorator.d.ts +2 -2
- package/dist/types/utils/resize/window-resize.handler.d.ts +4 -4
- package/dist/types/utils/resize/window-resize.interfaces.d.ts +3 -3
- package/dist/types/utils/resize/window-resize.listener.d.ts +1 -1
- package/dist/types/utils/resize/window-resize.subject.d.ts +4 -4
- package/dist/types/utils/scroll.d.ts +1 -1
- package/dist/types/utils/svg.d.ts +1 -1
- package/dist/types/utils/swipe/swipe.decorator.d.ts +2 -2
- package/dist/types/utils/swipe/swipe.interfaces.d.ts +4 -4
- package/dist/types/utils/swipe/swipe.listener.d.ts +2 -3
- package/dist/types/utils/swipe/swipe.subject.d.ts +3 -3
- package/dist/types/utils/t-shirt.d.ts +26 -0
- package/dist/types/utils/timer.d.ts +6 -0
- package/dist/types/utils/types/signal.d.ts +2 -2
- package/dist/types/utils/validate.decorator.d.ts +114 -0
- package/docs/components.json +42790 -0
- package/docs/html.html-data.json +4894 -0
- package/docs/tags.json +44 -0
- package/loader/cdn.js +4 -2
- package/loader/index.cjs.js +4 -2
- package/loader/index.es2017.js +3 -1
- package/loader/index.js +4 -2
- package/package.json +38 -32
- package/components/_commonjsHelpers.js +0 -7
- package/components/animation.decorator.js +0 -75
- package/components/aria.js +0 -8
- package/components/array.js +0 -20
- package/components/attributes.js +0 -38
- package/components/bal-accordion-details.d.ts +0 -11
- package/components/bal-accordion-details.js +0 -103
- package/components/bal-accordion-summary.d.ts +0 -11
- package/components/bal-accordion-summary.js +0 -139
- package/components/bal-accordion-trigger.d.ts +0 -11
- package/components/bal-accordion-trigger.js +0 -284
- package/components/bal-accordion.d.ts +0 -11
- package/components/bal-accordion.js +0 -404
- package/components/bal-app.d.ts +0 -11
- package/components/bal-app.js +0 -107
- package/components/bal-badge.d.ts +0 -11
- package/components/bal-badge.js +0 -6
- package/components/bal-badge2.js +0 -63
- package/components/bal-button-group.d.ts +0 -11
- package/components/bal-button-group.js +0 -6
- package/components/bal-button-group2.js +0 -52
- package/components/bal-button.d.ts +0 -11
- package/components/bal-button.js +0 -6
- package/components/bal-button2.js +0 -315
- package/components/bal-card-actions.d.ts +0 -11
- package/components/bal-card-actions.js +0 -43
- package/components/bal-card-button.d.ts +0 -11
- package/components/bal-card-button.js +0 -83
- package/components/bal-card-content.d.ts +0 -11
- package/components/bal-card-content.js +0 -6
- package/components/bal-card-content2.js +0 -28
- package/components/bal-card-subtitle.d.ts +0 -11
- package/components/bal-card-subtitle.js +0 -49
- package/components/bal-card-title.d.ts +0 -11
- package/components/bal-card-title.js +0 -43
- package/components/bal-card.d.ts +0 -11
- package/components/bal-card.js +0 -6
- package/components/bal-card2.js +0 -91
- package/components/bal-carousel-item.d.ts +0 -11
- package/components/bal-carousel-item.js +0 -163
- package/components/bal-carousel.d.ts +0 -11
- package/components/bal-carousel.js +0 -324
- package/components/bal-check.d.ts +0 -11
- package/components/bal-check.js +0 -6
- package/components/bal-check2.js +0 -82
- package/components/bal-checkbox-group.d.ts +0 -11
- package/components/bal-checkbox-group.js +0 -413
- package/components/bal-checkbox.d.ts +0 -11
- package/components/bal-checkbox.js +0 -6
- package/components/bal-checkbox2.js +0 -428
- package/components/bal-close.d.ts +0 -11
- package/components/bal-close.i18n.js +0 -34
- package/components/bal-close.js +0 -6
- package/components/bal-close2.js +0 -76
- package/components/bal-content.d.ts +0 -11
- package/components/bal-content.js +0 -6
- package/components/bal-content2.js +0 -95
- package/components/bal-data-item.d.ts +0 -11
- package/components/bal-data-item.js +0 -44
- package/components/bal-data-label.d.ts +0 -11
- package/components/bal-data-label.js +0 -38
- package/components/bal-data-value.d.ts +0 -11
- package/components/bal-data-value.js +0 -82
- package/components/bal-data.d.ts +0 -11
- package/components/bal-data.js +0 -70
- package/components/bal-date-calendar-cell.d.ts +0 -11
- package/components/bal-date-calendar-cell.js +0 -6
- package/components/bal-date-calendar-cell2.js +0 -61
- package/components/bal-date-calendar.d.ts +0 -11
- package/components/bal-date-calendar.js +0 -6
- package/components/bal-date-calendar2.js +0 -505
- package/components/bal-date.d.ts +0 -11
- package/components/bal-date.i18n.js +0 -64
- package/components/bal-date.js +0 -459
- package/components/bal-divider.d.ts +0 -11
- package/components/bal-divider.js +0 -81
- package/components/bal-dropdown.d.ts +0 -11
- package/components/bal-dropdown.js +0 -881
- package/components/bal-field-control.d.ts +0 -11
- package/components/bal-field-control.js +0 -79
- package/components/bal-field-hint.d.ts +0 -11
- package/components/bal-field-hint.js +0 -134
- package/components/bal-field-label.d.ts +0 -11
- package/components/bal-field-label.js +0 -108
- package/components/bal-field-message.d.ts +0 -11
- package/components/bal-field-message.js +0 -79
- package/components/bal-field.d.ts +0 -11
- package/components/bal-field.js +0 -256
- package/components/bal-file-upload.d.ts +0 -11
- package/components/bal-file-upload.js +0 -505
- package/components/bal-file-upload.type.js +0 -10
- package/components/bal-footer.d.ts +0 -11
- package/components/bal-footer.js +0 -239
- package/components/bal-form-col.d.ts +0 -11
- package/components/bal-form-col.js +0 -46
- package/components/bal-form-grid.d.ts +0 -11
- package/components/bal-form-grid.js +0 -34
- package/components/bal-form.d.ts +0 -11
- package/components/bal-form.js +0 -69
- package/components/bal-heading.d.ts +0 -11
- package/components/bal-heading.js +0 -6
- package/components/bal-heading2.js +0 -206
- package/components/bal-hint-text.d.ts +0 -11
- package/components/bal-hint-text.js +0 -6
- package/components/bal-hint-text2.js +0 -33
- package/components/bal-hint-title.d.ts +0 -11
- package/components/bal-hint-title.js +0 -6
- package/components/bal-hint-title2.js +0 -33
- package/components/bal-hint.d.ts +0 -11
- package/components/bal-hint.js +0 -6
- package/components/bal-hint2.js +0 -224
- package/components/bal-icon.d.ts +0 -11
- package/components/bal-icon.js +0 -6
- package/components/bal-icon2.js +0 -1156
- package/components/bal-input-date.d.ts +0 -11
- package/components/bal-input-date.js +0 -6
- package/components/bal-input-date2.js +0 -1095
- package/components/bal-input-group.d.ts +0 -11
- package/components/bal-input-group.js +0 -6
- package/components/bal-input-group2.js +0 -54
- package/components/bal-input-slider.d.ts +0 -11
- package/components/bal-input-slider.js +0 -252
- package/components/bal-input-stepper.d.ts +0 -11
- package/components/bal-input-stepper.i18n.js +0 -44
- package/components/bal-input-stepper.js +0 -1277
- package/components/bal-input.d.ts +0 -11
- package/components/bal-input.js +0 -639
- package/components/bal-label.d.ts +0 -11
- package/components/bal-label.i18n.js +0 -34
- package/components/bal-label.js +0 -6
- package/components/bal-label2.js +0 -177
- package/components/bal-list-item-accordion-body.d.ts +0 -11
- package/components/bal-list-item-accordion-body.js +0 -6
- package/components/bal-list-item-accordion-body2.js +0 -152
- package/components/bal-list-item-accordion-head.d.ts +0 -11
- package/components/bal-list-item-accordion-head.js +0 -6
- package/components/bal-list-item-accordion-head2.js +0 -207
- package/components/bal-list-item-content.d.ts +0 -11
- package/components/bal-list-item-content.js +0 -6
- package/components/bal-list-item-content2.js +0 -33
- package/components/bal-list-item-icon.d.ts +0 -11
- package/components/bal-list-item-icon.js +0 -6
- package/components/bal-list-item-icon2.js +0 -37
- package/components/bal-list-item-subtitle.d.ts +0 -11
- package/components/bal-list-item-subtitle.js +0 -6
- package/components/bal-list-item-subtitle2.js +0 -28
- package/components/bal-list-item-title.d.ts +0 -11
- package/components/bal-list-item-title.js +0 -6
- package/components/bal-list-item-title2.js +0 -41
- package/components/bal-list-item.d.ts +0 -11
- package/components/bal-list-item.js +0 -6
- package/components/bal-list-item2.js +0 -329
- package/components/bal-list.d.ts +0 -11
- package/components/bal-list.js +0 -6
- package/components/bal-list2.js +0 -76
- package/components/bal-logo.animation.js +0 -2599
- package/components/bal-logo.d.ts +0 -11
- package/components/bal-logo.js +0 -6
- package/components/bal-logo2.js +0 -198
- package/components/bal-modal-body.d.ts +0 -11
- package/components/bal-modal-body.js +0 -31
- package/components/bal-modal-header.d.ts +0 -11
- package/components/bal-modal-header.js +0 -59
- package/components/bal-modal.d.ts +0 -11
- package/components/bal-modal.js +0 -324
- package/components/bal-nav-link-grid-col.d.ts +0 -11
- package/components/bal-nav-link-grid-col.js +0 -6
- package/components/bal-nav-link-grid-col2.js +0 -59
- package/components/bal-nav-link-grid.d.ts +0 -11
- package/components/bal-nav-link-grid.js +0 -6
- package/components/bal-nav-link-grid2.js +0 -48
- package/components/bal-nav-link-group.d.ts +0 -11
- package/components/bal-nav-link-group.js +0 -62
- package/components/bal-nav-link.d.ts +0 -11
- package/components/bal-nav-link.js +0 -6
- package/components/bal-nav-link2.js +0 -87
- package/components/bal-nav-menu-bar.d.ts +0 -11
- package/components/bal-nav-menu-bar.js +0 -6
- package/components/bal-nav-menu-bar2.js +0 -76
- package/components/bal-nav-menu-flyout.d.ts +0 -11
- package/components/bal-nav-menu-flyout.js +0 -6
- package/components/bal-nav-menu-flyout2.js +0 -109
- package/components/bal-nav-meta-bar.d.ts +0 -11
- package/components/bal-nav-meta-bar.js +0 -6
- package/components/bal-nav-meta-bar2.js +0 -120
- package/components/bal-nav.d.ts +0 -11
- package/components/bal-nav.js +0 -1041
- package/components/bal-navbar-brand.d.ts +0 -11
- package/components/bal-navbar-brand.js +0 -220
- package/components/bal-navbar-menu-end.d.ts +0 -11
- package/components/bal-navbar-menu-end.js +0 -42
- package/components/bal-navbar-menu-start.d.ts +0 -11
- package/components/bal-navbar-menu-start.js +0 -42
- package/components/bal-navbar-menu.d.ts +0 -11
- package/components/bal-navbar-menu.js +0 -79
- package/components/bal-navbar.d.ts +0 -11
- package/components/bal-navbar.js +0 -86
- package/components/bal-notices.d.ts +0 -11
- package/components/bal-notices.js +0 -54
- package/components/bal-notification.d.ts +0 -11
- package/components/bal-notification.js +0 -54
- package/components/bal-number-input.d.ts +0 -11
- package/components/bal-number-input.js +0 -462
- package/components/bal-option-list.d.ts +0 -11
- package/components/bal-option-list.js +0 -6
- package/components/bal-option-list2.js +0 -504
- package/components/bal-option.d.ts +0 -11
- package/components/bal-option.js +0 -6
- package/components/bal-option2.js +0 -197
- package/components/bal-pagination.d.ts +0 -11
- package/components/bal-pagination.js +0 -333
- package/components/bal-popover-content.d.ts +0 -11
- package/components/bal-popover-content.js +0 -6
- package/components/bal-popover-content2.js +0 -124
- package/components/bal-popover.d.ts +0 -11
- package/components/bal-popover.js +0 -6
- package/components/bal-popover2.js +0 -2146
- package/components/bal-popup.d.ts +0 -11
- package/components/bal-popup.js +0 -6
- package/components/bal-popup2.js +0 -732
- package/components/bal-progress-bar.d.ts +0 -11
- package/components/bal-progress-bar.js +0 -122
- package/components/bal-radio-group.d.ts +0 -11
- package/components/bal-radio-group.js +0 -427
- package/components/bal-radio-icon.d.ts +0 -11
- package/components/bal-radio-icon.js +0 -6
- package/components/bal-radio-icon2.js +0 -76
- package/components/bal-radio.d.ts +0 -11
- package/components/bal-radio.js +0 -6
- package/components/bal-radio2.js +0 -422
- package/components/bal-segment-item.d.ts +0 -11
- package/components/bal-segment-item.js +0 -249
- package/components/bal-segment.d.ts +0 -11
- package/components/bal-segment.js +0 -437
- package/components/bal-select-option.d.ts +0 -11
- package/components/bal-select-option.js +0 -6
- package/components/bal-select-option2.js +0 -54
- package/components/bal-select.d.ts +0 -11
- package/components/bal-select.js +0 -6
- package/components/bal-select2.js +0 -913
- package/components/bal-shape.d.ts +0 -11
- package/components/bal-shape.js +0 -6
- package/components/bal-shape2.js +0 -88
- package/components/bal-sheet.d.ts +0 -11
- package/components/bal-sheet.js +0 -45
- package/components/bal-snackbar.d.ts +0 -11
- package/components/bal-snackbar.js +0 -167
- package/components/bal-spinner.animation.js +0 -4543
- package/components/bal-spinner.d.ts +0 -11
- package/components/bal-spinner.js +0 -6
- package/components/bal-spinner2.js +0 -208
- package/components/bal-stack.d.ts +0 -11
- package/components/bal-stack.js +0 -6
- package/components/bal-stack2.js +0 -124
- package/components/bal-stage-back-link.d.ts +0 -11
- package/components/bal-stage-back-link.js +0 -56
- package/components/bal-stage-body.d.ts +0 -11
- package/components/bal-stage-body.js +0 -34
- package/components/bal-stage-foot.d.ts +0 -11
- package/components/bal-stage-foot.js +0 -32
- package/components/bal-stage-head.d.ts +0 -11
- package/components/bal-stage-head.js +0 -32
- package/components/bal-stage-image.d.ts +0 -11
- package/components/bal-stage-image.js +0 -51
- package/components/bal-stage.d.ts +0 -11
- package/components/bal-stage.js +0 -95
- package/components/bal-step-item.d.ts +0 -11
- package/components/bal-step-item.js +0 -128
- package/components/bal-step.util.js +0 -5
- package/components/bal-steps.d.ts +0 -11
- package/components/bal-steps.js +0 -300
- package/components/bal-switch.d.ts +0 -11
- package/components/bal-switch.js +0 -79
- package/components/bal-tab-item.d.ts +0 -11
- package/components/bal-tab-item.js +0 -168
- package/components/bal-tab.util.js +0 -5
- package/components/bal-table.d.ts +0 -11
- package/components/bal-table.js +0 -45
- package/components/bal-tabs.d.ts +0 -11
- package/components/bal-tabs.js +0 -6
- package/components/bal-tabs2.js +0 -968
- package/components/bal-tag-group.d.ts +0 -11
- package/components/bal-tag-group.js +0 -31
- package/components/bal-tag.d.ts +0 -11
- package/components/bal-tag.js +0 -6
- package/components/bal-tag2.js +0 -110
- package/components/bal-text.d.ts +0 -11
- package/components/bal-text.js +0 -143
- package/components/bal-textarea.d.ts +0 -11
- package/components/bal-textarea.js +0 -205
- package/components/bal-time-input.d.ts +0 -11
- package/components/bal-time-input.i18n.js +0 -44
- package/components/bal-time-input.js +0 -242
- package/components/bal-toast.d.ts +0 -11
- package/components/bal-toast.js +0 -104
- package/components/bal-tooltip.d.ts +0 -11
- package/components/bal-tooltip.js +0 -313
- package/components/bem.js +0 -10
- package/components/breakpoints.decorator.js +0 -17
- package/components/breakpoints.subject.js +0 -251
- package/components/browser.js +0 -62
- package/components/config.decorator.js +0 -17
- package/components/config.default.js +0 -48
- package/components/config.utils.js +0 -102
- package/components/contact.js +0 -1633
- package/components/date.js +0 -7840
- package/components/device.js +0 -51
- package/components/element-states.decorator.js +0 -95
- package/components/floating-ui.dom.js +0 -2100
- package/components/floating-ui.js +0 -26
- package/components/focus-visible.js +0 -71
- package/components/focus.decorator.js +0 -86
- package/components/form-input.js +0 -86
- package/components/form.js +0 -21
- package/components/helpers.js +0 -307
- package/components/index.esm.js +0 -210
- package/components/index2.js +0 -48
- package/components/index3.js +0 -569
- package/components/index4.js +0 -600
- package/components/index5.js +0 -1866
- package/components/index6.js +0 -125
- package/components/keyboard.helpers.js +0 -68
- package/components/keys.constant.js +0 -19
- package/components/listener.js +0 -85
- package/components/log.js +0 -77
- package/components/lottie_light_html.js +0 -11702
- package/components/mask-util.js +0 -3
- package/components/mutation.decorator.js +0 -124
- package/components/number.js +0 -34
- package/components/option.js +0 -50
- package/components/overlays.js +0 -364
- package/components/resize.decorator.js +0 -94
- package/components/scroll.js +0 -84
- package/components/string.js +0 -12
- package/components/svg.js +0 -1605
- package/components/swipe.decorator.js +0 -23
- package/components/swipe.subject.js +0 -75
- package/components/swiper.util.js +0 -437
- package/components/tokens.esm.js +0 -21
- package/components/tslib.es6.js +0 -29
- package/components/utils.js +0 -76
- package/components/visibility.decorator.js +0 -88
- package/components/window-resize.decorator.js +0 -46
- package/dist/baloise-design-system/baloise-design-system.esm.js +0 -1
- package/dist/baloise-design-system/baloise-design-system.js +0 -127
- package/dist/baloise-design-system/index.esm.js +0 -1
- package/dist/baloise-design-system/p-00d493e589.system.entry.js +0 -1
- package/dist/baloise-design-system/p-02323ca1fe.entry.js +0 -1
- package/dist/baloise-design-system/p-041bf35913.entry.js +0 -1
- package/dist/baloise-design-system/p-07b3561d34.entry.js +0 -1
- package/dist/baloise-design-system/p-08644e325b.entry.js +0 -1
- package/dist/baloise-design-system/p-09341cadc6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-0974dcb139.entry.js +0 -1
- package/dist/baloise-design-system/p-1b1fdadab3.entry.js +0 -1
- package/dist/baloise-design-system/p-1d8afd6f97.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2264ba1f28.entry.js +0 -1
- package/dist/baloise-design-system/p-23537928fa.entry.js +0 -1
- package/dist/baloise-design-system/p-24185181f1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-29d68d2132.entry.js +0 -1
- package/dist/baloise-design-system/p-29defa9270.system.entry.js +0 -1
- package/dist/baloise-design-system/p-2dbbdfb785.system.entry.js +0 -1
- package/dist/baloise-design-system/p-340cd7b9e8.entry.js +0 -1
- package/dist/baloise-design-system/p-345901e33b.entry.js +0 -1
- package/dist/baloise-design-system/p-34d75cbfe8.entry.js +0 -1
- package/dist/baloise-design-system/p-353111ebe0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3678c7a958.entry.js +0 -1
- package/dist/baloise-design-system/p-36934c6f59.system.entry.js +0 -1
- package/dist/baloise-design-system/p-372ba2be28.system.entry.js +0 -1
- package/dist/baloise-design-system/p-3bb89f6a82.entry.js +0 -1
- package/dist/baloise-design-system/p-3c2762a456.entry.js +0 -1
- package/dist/baloise-design-system/p-3ff089ddd6.system.entry.js +0 -1
- package/dist/baloise-design-system/p-40f2569a17.system.entry.js +0 -1
- package/dist/baloise-design-system/p-41c63c9a82.system.entry.js +0 -1
- package/dist/baloise-design-system/p-427fe8eede.entry.js +0 -1
- package/dist/baloise-design-system/p-43878b51c9.system.entry.js +0 -1
- package/dist/baloise-design-system/p-46986c305d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-47a709940f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-484747871b.entry.js +0 -1
- package/dist/baloise-design-system/p-495621ad03.entry.js +0 -1
- package/dist/baloise-design-system/p-49c12d2474.entry.js +0 -1
- package/dist/baloise-design-system/p-4RgSLeC0.system.js +0 -1
- package/dist/baloise-design-system/p-4Y53iwfN.system.js +0 -1
- package/dist/baloise-design-system/p-4b2eeb8c37.entry.js +0 -1
- package/dist/baloise-design-system/p-4be902176f.entry.js +0 -1
- package/dist/baloise-design-system/p-4c23ab651a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-4f036f58ab.entry.js +0 -1
- package/dist/baloise-design-system/p-50a9cbd963.entry.js +0 -1
- package/dist/baloise-design-system/p-52c76f1bdd.entry.js +0 -1
- package/dist/baloise-design-system/p-54f5a92feb.entry.js +0 -1
- package/dist/baloise-design-system/p-5965694a0f.entry.js +0 -1
- package/dist/baloise-design-system/p-5d95c50514.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5f105bc63d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-5f8ae628c4.system.entry.js +0 -1
- package/dist/baloise-design-system/p-608249b400.system.entry.js +0 -1
- package/dist/baloise-design-system/p-627def5e99.entry.js +0 -1
- package/dist/baloise-design-system/p-670a2bf1e7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-67f2a7fbef.system.entry.js +0 -1
- package/dist/baloise-design-system/p-68e405562e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-692f76ee0c.entry.js +0 -1
- package/dist/baloise-design-system/p-6d9619c9d0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-71ab949cfb.system.entry.js +0 -1
- package/dist/baloise-design-system/p-71d9805e14.system.entry.js +0 -1
- package/dist/baloise-design-system/p-72b37feadf.entry.js +0 -1
- package/dist/baloise-design-system/p-744c19c66d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-746165a211.system.entry.js +0 -1
- package/dist/baloise-design-system/p-75f3abf19e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-77404bcf6d.system.entry.js +0 -1
- package/dist/baloise-design-system/p-79d0e94ea1.entry.js +0 -1
- package/dist/baloise-design-system/p-7b52e9987d.entry.js +0 -1
- package/dist/baloise-design-system/p-813c277b9f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8346d5f6ae.entry.js +0 -1
- package/dist/baloise-design-system/p-85428cc869.entry.js +0 -1
- package/dist/baloise-design-system/p-87d7996b33.system.entry.js +0 -1
- package/dist/baloise-design-system/p-88f9358a95.system.entry.js +0 -1
- package/dist/baloise-design-system/p-8f06689f6a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-90d225c57c.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9417cf5581.system.entry.js +0 -1
- package/dist/baloise-design-system/p-979dfed703.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9871800426.entry.js +0 -1
- package/dist/baloise-design-system/p-9be82de5a5.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9bf6adbd21.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9fc710438a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-B-L34nz8.js +0 -1
- package/dist/baloise-design-system/p-B1u-Mq75.js +0 -1
- package/dist/baloise-design-system/p-B4aDEwd8.js +0 -1
- package/dist/baloise-design-system/p-B6GTvSSK.js +0 -1
- package/dist/baloise-design-system/p-B9BMZmYk.js +0 -1
- package/dist/baloise-design-system/p-BAaDJIzy.js +0 -1
- package/dist/baloise-design-system/p-BERg8BNc.js +0 -1
- package/dist/baloise-design-system/p-BFRjY4w3.js +0 -1
- package/dist/baloise-design-system/p-BFTU3MAI.js +0 -1
- package/dist/baloise-design-system/p-BG4j3FEv.js +0 -1
- package/dist/baloise-design-system/p-BHFw3KrT.js +0 -1
- package/dist/baloise-design-system/p-BJHY1rVR.system.js +0 -1
- package/dist/baloise-design-system/p-BLp4ll3i.js +0 -1
- package/dist/baloise-design-system/p-BM_oHMik.system.js +0 -1
- package/dist/baloise-design-system/p-BNWt5z9B.system.js +0 -1
- package/dist/baloise-design-system/p-BPUKeAhO.system.js +0 -1
- package/dist/baloise-design-system/p-BRAmUyPx.system.js +0 -1
- package/dist/baloise-design-system/p-B_C7V4Sa.js +0 -1
- package/dist/baloise-design-system/p-Ba5qjFjW.js +0 -1
- package/dist/baloise-design-system/p-BbAtjg9Y.system.js +0 -1
- package/dist/baloise-design-system/p-BdVwMG9u.js +0 -2
- package/dist/baloise-design-system/p-BhPUGxAx.system.js +0 -1
- package/dist/baloise-design-system/p-Bk7UdnZ5.system.js +0 -1
- package/dist/baloise-design-system/p-BkEdlCZJ.js +0 -1
- package/dist/baloise-design-system/p-BktTDSq4.system.js +0 -1
- package/dist/baloise-design-system/p-BmOE4zEk.system.js +0 -1
- package/dist/baloise-design-system/p-BmVI6cLw.js +0 -1
- package/dist/baloise-design-system/p-BnVL_HEz.js +0 -1
- package/dist/baloise-design-system/p-Bp0A6Ore.system.js +0 -1
- package/dist/baloise-design-system/p-BpMXwP_q.system.js +0 -1
- package/dist/baloise-design-system/p-BwTzTXZG.js +0 -1
- package/dist/baloise-design-system/p-ByiN-QjD.js +0 -1
- package/dist/baloise-design-system/p-Bzy18UgU.system.js +0 -1
- package/dist/baloise-design-system/p-C20cwFWy.js +0 -1
- package/dist/baloise-design-system/p-C4sZQbkT.js +0 -1
- package/dist/baloise-design-system/p-C6x8G3mu.system.js +0 -1
- package/dist/baloise-design-system/p-C78VTo3I.js +0 -1
- package/dist/baloise-design-system/p-CAb2C8az.js +0 -1
- package/dist/baloise-design-system/p-CBkFUwrD.js +0 -1
- package/dist/baloise-design-system/p-CDeyBUqm.system.js +0 -1
- package/dist/baloise-design-system/p-CDt5sRVY.system.js +0 -1
- package/dist/baloise-design-system/p-CEOTg0oT.system.js +0 -1
- package/dist/baloise-design-system/p-CGJ8YYiA.system.js +0 -1
- package/dist/baloise-design-system/p-CKN3W8qn.js +0 -1
- package/dist/baloise-design-system/p-CLDmOIBx.system.js +0 -1
- package/dist/baloise-design-system/p-CLfE_o7e.system.js +0 -1
- package/dist/baloise-design-system/p-CM1lc2ni.system.js +0 -1
- package/dist/baloise-design-system/p-CM3hCeNH.js +0 -1
- package/dist/baloise-design-system/p-CTl0uAFp.system.js +0 -1
- package/dist/baloise-design-system/p-CTuoH3RE.system.js +0 -1
- package/dist/baloise-design-system/p-CXAw6SMX.system.js +0 -1
- package/dist/baloise-design-system/p-C_FHgwWW.js +0 -1
- package/dist/baloise-design-system/p-CbvOgU0G.js +0 -1
- package/dist/baloise-design-system/p-CeRECGC7.js +0 -1
- package/dist/baloise-design-system/p-Cj6DXhmQ.js +0 -1
- package/dist/baloise-design-system/p-Cjiw70Dk.system.js +0 -15
- package/dist/baloise-design-system/p-Ck7YRry-.system.js +0 -2
- package/dist/baloise-design-system/p-CpDHeXfo.js +0 -1
- package/dist/baloise-design-system/p-CpWDVANq.system.js +0 -1
- package/dist/baloise-design-system/p-Cr2H7Jt3.js +0 -1
- package/dist/baloise-design-system/p-CsPrCX4f.system.js +0 -1
- package/dist/baloise-design-system/p-Ct27z6g9.js +0 -1
- package/dist/baloise-design-system/p-Cu1ebAbd.system.js +0 -1
- package/dist/baloise-design-system/p-CuyVPNj2.system.js +0 -1
- package/dist/baloise-design-system/p-CvHtWfhm.system.js +0 -1
- package/dist/baloise-design-system/p-CviYHi5s.system.js +0 -1
- package/dist/baloise-design-system/p-CwRoS0HB.js +0 -1
- package/dist/baloise-design-system/p-Czl2AFQD.system.js +0 -1
- package/dist/baloise-design-system/p-D-yL3ygS.system.js +0 -1
- package/dist/baloise-design-system/p-D1opIX9W.system.js +0 -1
- package/dist/baloise-design-system/p-D5Gy6WbU.system.js +0 -1
- package/dist/baloise-design-system/p-D5aEF_JU.system.js +0 -1
- package/dist/baloise-design-system/p-D7M-7v58.js +0 -1
- package/dist/baloise-design-system/p-D7_eHNTI.system.js +0 -1
- package/dist/baloise-design-system/p-D7ovid3w.js +0 -1
- package/dist/baloise-design-system/p-DAOAbG5Y.system.js +0 -1
- package/dist/baloise-design-system/p-DBsOHTWj.js +0 -1
- package/dist/baloise-design-system/p-DDPYMMGG.system.js +0 -1
- package/dist/baloise-design-system/p-DEb5iNGc.js +0 -1
- package/dist/baloise-design-system/p-DIC_sxLd.js +0 -1
- package/dist/baloise-design-system/p-DKjTFqnu.system.js +0 -1
- package/dist/baloise-design-system/p-DOUIg6bI.js +0 -1
- package/dist/baloise-design-system/p-DPYRyPTD.system.js +0 -1
- package/dist/baloise-design-system/p-DRqAN-8G.js +0 -1
- package/dist/baloise-design-system/p-DST0VloN.system.js +0 -1
- package/dist/baloise-design-system/p-DV-2u4Pm.system.js +0 -1
- package/dist/baloise-design-system/p-DWgCJRpS.system.js +0 -1
- package/dist/baloise-design-system/p-Dd7xQwRJ.system.js +0 -1
- package/dist/baloise-design-system/p-DdX8FaaK.system.js +0 -1
- package/dist/baloise-design-system/p-DkfWaTsH.system.js +0 -1
- package/dist/baloise-design-system/p-DojUs2K8.js +0 -2
- package/dist/baloise-design-system/p-Dou6adza.system.js +0 -1
- package/dist/baloise-design-system/p-DowF7e07.system.js +0 -1
- package/dist/baloise-design-system/p-Dp4edqFK.js +0 -1
- package/dist/baloise-design-system/p-DpQhsHDk.system.js +0 -9
- package/dist/baloise-design-system/p-DqCbGYzv.js +0 -1
- package/dist/baloise-design-system/p-DtlqgdI2.system.js +0 -1
- package/dist/baloise-design-system/p-DuObDTix.js +0 -1
- package/dist/baloise-design-system/p-Dvgek0Sb.js +0 -1
- package/dist/baloise-design-system/p-DwxDqMbM.system.js +0 -1
- package/dist/baloise-design-system/p-Dxz8zGB7.system.js +0 -1
- package/dist/baloise-design-system/p-FCLKfv6B.js +0 -1
- package/dist/baloise-design-system/p-IZFfLjcz.js +0 -1
- package/dist/baloise-design-system/p-JHAE10yr.js +0 -1
- package/dist/baloise-design-system/p-MBsgW7uz.js +0 -1
- package/dist/baloise-design-system/p-PNu_g_s6.system.js +0 -2
- package/dist/baloise-design-system/p-PSBwy3yf.js +0 -1
- package/dist/baloise-design-system/p-RzJv7e7Y.system.js +0 -1
- package/dist/baloise-design-system/p-S5-HQnxq.js +0 -1
- package/dist/baloise-design-system/p-Yg1qLcvR.js +0 -1
- package/dist/baloise-design-system/p-a0020dcf30.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a1482cbe4a.entry.js +0 -1
- package/dist/baloise-design-system/p-a3c4c9d422.entry.js +0 -1
- package/dist/baloise-design-system/p-a576422cb2.entry.js +0 -1
- package/dist/baloise-design-system/p-a584c6763e.entry.js +0 -1
- package/dist/baloise-design-system/p-a6135f2559.system.entry.js +0 -1
- package/dist/baloise-design-system/p-a97c5309f7.entry.js +0 -1
- package/dist/baloise-design-system/p-aaf33f152f.system.entry.js +0 -1
- package/dist/baloise-design-system/p-af292102b8.entry.js +0 -1
- package/dist/baloise-design-system/p-b03de8e7ba.system.entry.js +0 -1
- package/dist/baloise-design-system/p-b13d48cf28.entry.js +0 -1
- package/dist/baloise-design-system/p-b4fa55782e.entry.js +0 -1
- package/dist/baloise-design-system/p-b66021b38c.entry.js +0 -1
- package/dist/baloise-design-system/p-c78c0dd43a.entry.js +0 -1
- package/dist/baloise-design-system/p-c900ad58d0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ccdbef8f33.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ce3e34fa95.entry.js +0 -1
- package/dist/baloise-design-system/p-cf77551018.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d20d698c0b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d41ca5c096.system.entry.js +0 -1
- package/dist/baloise-design-system/p-d5365ffe38.entry.js +0 -1
- package/dist/baloise-design-system/p-d5de84380b.entry.js +0 -1
- package/dist/baloise-design-system/p-d680dc3dd0.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ddd75e43d6.entry.js +0 -1
- package/dist/baloise-design-system/p-def5a43710.entry.js +0 -1
- package/dist/baloise-design-system/p-dfXERft2.js +0 -15
- package/dist/baloise-design-system/p-e125257826.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e2296eb10b.system.entry.js +0 -1
- package/dist/baloise-design-system/p-e7a78b097d.entry.js +0 -1
- package/dist/baloise-design-system/p-ea29fa4382.entry.js +0 -1
- package/dist/baloise-design-system/p-ec911df779.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ed1aad24be.entry.js +0 -1
- package/dist/baloise-design-system/p-ee070d06bc.entry.js +0 -1
- package/dist/baloise-design-system/p-eeff81381f.entry.js +0 -1
- package/dist/baloise-design-system/p-f12905324e.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f217ad88a9.entry.js +0 -1
- package/dist/baloise-design-system/p-f2222919fc.entry.js +0 -1
- package/dist/baloise-design-system/p-f393662ba3.system.entry.js +0 -1
- package/dist/baloise-design-system/p-f7b16f08ab.entry.js +0 -1
- package/dist/baloise-design-system/p-fc8024a9d7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-fc9a46b295.entry.js +0 -1
- package/dist/baloise-design-system/p-fd5d4c0fd7.system.entry.js +0 -1
- package/dist/baloise-design-system/p-ff649f9b8a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-giOY60zQ.system.js +0 -1
- package/dist/baloise-design-system/p-hcWLO6Gg.js +0 -1
- package/dist/baloise-design-system/p-j851_ZaC.js +0 -1
- package/dist/baloise-design-system/p-j8ENYrr7.js +0 -1
- package/dist/baloise-design-system/p-jQQqRgMt.system.js +0 -1
- package/dist/baloise-design-system/p-jv0tWyso.js +0 -1
- package/dist/baloise-design-system/p-lFDHYLJ4.system.js +0 -1
- package/dist/baloise-design-system/p-m5GX4h3i.system.js +0 -1
- package/dist/baloise-design-system/p-ncoiCFQ1.system.js +0 -1
- package/dist/baloise-design-system/p-rBUN7c88.js +0 -1
- package/dist/baloise-design-system/p-wTePExHL.system.js +0 -1
- package/dist/baloise-design-system/p-xVPGsAdF.js +0 -1
- package/dist/baloise-design-system/p-xbSOW78W.js +0 -1
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
- package/dist/cjs/animation.decorator-B4NJvcMF.js +0 -77
- package/dist/cjs/app-globals-D4xKyILL.js +0 -11
- package/dist/cjs/aria-BzkqcV7W.js +0 -10
- package/dist/cjs/array-Db63Hhl1.js +0 -22
- package/dist/cjs/attributes-Cp0kpySW.js +0 -41
- package/dist/cjs/bal-accordion_4.cjs.entry.js +0 -761
- package/dist/cjs/bal-app.cjs.entry.js +0 -86
- package/dist/cjs/bal-badge.cjs.entry.js +0 -38
- package/dist/cjs/bal-button_2.cjs.entry.js +0 -291
- package/dist/cjs/bal-card_6.cjs.entry.js +0 -165
- package/dist/cjs/bal-carousel_2.cjs.entry.js +0 -395
- package/dist/cjs/bal-check.cjs.entry.js +0 -55
- package/dist/cjs/bal-checkbox_2.cjs.entry.js +0 -734
- package/dist/cjs/bal-close.cjs.entry.js +0 -53
- package/dist/cjs/bal-close.i18n-B3X5xlkl.js +0 -36
- package/dist/cjs/bal-content.cjs.entry.js +0 -76
- package/dist/cjs/bal-data_4.cjs.entry.js +0 -123
- package/dist/cjs/bal-date-calendar-cell.cjs.entry.js +0 -41
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +0 -1501
- package/dist/cjs/bal-date.cjs.entry.js +0 -378
- package/dist/cjs/bal-divider.cjs.entry.js +0 -60
- package/dist/cjs/bal-dropdown_3.cjs.entry.js +0 -1374
- package/dist/cjs/bal-field_5.cjs.entry.js +0 -436
- package/dist/cjs/bal-file-upload.cjs.entry.js +0 -406
- package/dist/cjs/bal-file-upload.type-BzNkF3YQ.js +0 -10
- package/dist/cjs/bal-footer.cjs.entry.js +0 -200
- package/dist/cjs/bal-form-col_2.cjs.entry.js +0 -40
- package/dist/cjs/bal-form.cjs.entry.js +0 -49
- package/dist/cjs/bal-heading_2.cjs.entry.js +0 -284
- package/dist/cjs/bal-hint_5.cjs.entry.js +0 -2380
- package/dist/cjs/bal-icon.cjs.entry.js +0 -1123
- package/dist/cjs/bal-input-group.cjs.entry.js +0 -36
- package/dist/cjs/bal-input-slider.cjs.entry.js +0 -217
- package/dist/cjs/bal-input-stepper.cjs.entry.js +0 -1224
- package/dist/cjs/bal-input-stepper.i18n-D57DHpYR.js +0 -46
- package/dist/cjs/bal-input.cjs.entry.js +0 -587
- package/dist/cjs/bal-label.cjs.entry.js +0 -146
- package/dist/cjs/bal-label.i18n-BcNNm9Es.js +0 -36
- package/dist/cjs/bal-list_8.cjs.entry.js +0 -698
- package/dist/cjs/bal-logo.animation-B4LvXc5Q.js +0 -2602
- package/dist/cjs/bal-logo.cjs.entry.js +0 -179
- package/dist/cjs/bal-modal_3.cjs.entry.js +0 -317
- package/dist/cjs/bal-nav_8.cjs.entry.js +0 -1227
- package/dist/cjs/bal-navbar_5.cjs.entry.js +0 -312
- package/dist/cjs/bal-notices_3.cjs.entry.js +0 -203
- package/dist/cjs/bal-notification.cjs.entry.js +0 -33
- package/dist/cjs/bal-number-input.cjs.entry.js +0 -417
- package/dist/cjs/bal-pagination.cjs.entry.js +0 -298
- package/dist/cjs/bal-popup.cjs.entry.js +0 -664
- package/dist/cjs/bal-progress-bar.cjs.entry.js +0 -105
- package/dist/cjs/bal-radio-icon.cjs.entry.js +0 -55
- package/dist/cjs/bal-radio_2.cjs.entry.js +0 -733
- package/dist/cjs/bal-segment_2.cjs.entry.js +0 -590
- package/dist/cjs/bal-select_2.cjs.entry.js +0 -855
- package/dist/cjs/bal-shape.cjs.entry.js +0 -70
- package/dist/cjs/bal-sheet.cjs.entry.js +0 -26
- package/dist/cjs/bal-spinner.animation-BL6PkxOx.js +0 -4545
- package/dist/cjs/bal-spinner.cjs.entry.js +0 -186
- package/dist/cjs/bal-stack.cjs.entry.js +0 -99
- package/dist/cjs/bal-stage_6.cjs.entry.js +0 -149
- package/dist/cjs/bal-step-item.cjs.entry.js +0 -96
- package/dist/cjs/bal-step.util-DQcaqybX.js +0 -7
- package/dist/cjs/bal-steps.cjs.entry.js +0 -271
- package/dist/cjs/bal-switch.cjs.entry.js +0 -50
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +0 -988
- package/dist/cjs/bal-tab.util-DFGwGbfr.js +0 -7
- package/dist/cjs/bal-table.cjs.entry.js +0 -26
- package/dist/cjs/bal-tag_2.cjs.entry.js +0 -85
- package/dist/cjs/bal-textarea.cjs.entry.js +0 -162
- package/dist/cjs/bal-time-input.cjs.entry.js +0 -196
- package/dist/cjs/bal-time-input.i18n-Bfr3EMVD.js +0 -46
- package/dist/cjs/bal-tooltip.cjs.entry.js +0 -279
- package/dist/cjs/baloise-design-system.cjs.js +0 -31
- package/dist/cjs/bem-p0PWVN8n.js +0 -12
- package/dist/cjs/breakpoints.decorator-DIeNdkiK.js +0 -19
- package/dist/cjs/breakpoints.subject-YppJaklV.js +0 -257
- package/dist/cjs/browser-BwmkTmm8.js +0 -64
- package/dist/cjs/config.decorator-CUe4yCTd.js +0 -19
- package/dist/cjs/config.default-Cko-wpRU.js +0 -51
- package/dist/cjs/config.utils-Civnz2jT.js +0 -142
- package/dist/cjs/contact-qHJM5IBh.js +0 -1644
- package/dist/cjs/date-BPyuc34s.js +0 -7907
- package/dist/cjs/device-CoogBamh.js +0 -54
- package/dist/cjs/element-states.decorator-BG2oNUsO.js +0 -98
- package/dist/cjs/floating-ui-BE1Qsw-b.js +0 -28
- package/dist/cjs/floating-ui.dom-DCg2YBDr.js +0 -2115
- package/dist/cjs/focus-visible-DFZa8IIA.js +0 -74
- package/dist/cjs/focus.decorator-BL2kLsNv.js +0 -88
- package/dist/cjs/form-BSlIiqcR.js +0 -24
- package/dist/cjs/form-input-BwFB4Rej.js +0 -100
- package/dist/cjs/helpers-HuaiWXrB.js +0 -331
- package/dist/cjs/index-BZ67Dcnb.js +0 -50
- package/dist/cjs/index-BobQkZjn.js +0 -1868
- package/dist/cjs/index-C413E-IK.js +0 -571
- package/dist/cjs/index-CuY5w2n4.js +0 -602
- package/dist/cjs/index-feA4skrY.js +0 -2024
- package/dist/cjs/index-ifu9fMyU.js +0 -127
- package/dist/cjs/index.esm-CKDqUwIC.js +0 -216
- package/dist/cjs/initialize-BzrcZo6Y.js +0 -457
- package/dist/cjs/keyboard.helpers-BkZpVT-9.js +0 -80
- package/dist/cjs/keys.constant-LnwxHAZo.js +0 -23
- package/dist/cjs/listener-DspXpqzY.js +0 -89
- package/dist/cjs/log-CXDMiw7o.js +0 -80
- package/dist/cjs/lottie_light_html-OP40Exqq.js +0 -11704
- package/dist/cjs/mask-util-B8hrxmqO.js +0 -5
- package/dist/cjs/mutation.decorator-BolUYaKD.js +0 -126
- package/dist/cjs/number-Zs70JOU-.js +0 -39
- package/dist/cjs/option-kGk4eTdA.js +0 -53
- package/dist/cjs/overlays-DQGlu5jj.js +0 -371
- package/dist/cjs/resize.decorator-ChuFQ8x3.js +0 -96
- package/dist/cjs/scroll-B_kvfDui.js +0 -86
- package/dist/cjs/string-CKS6CsMi.js +0 -453
- package/dist/cjs/svg-qEvvK3mS.js +0 -1607
- package/dist/cjs/swipe.decorator-C_jX7Il5.js +0 -25
- package/dist/cjs/swipe.subject-iyL-XVHG.js +0 -77
- package/dist/cjs/tokens.esm-CGjXTIYw.js +0 -36
- package/dist/cjs/tslib.es6-DrfCPgT9.js +0 -32
- package/dist/cjs/utils-Bl0u6rg1.js +0 -87
- package/dist/cjs/visibility.decorator-DTARY-5M.js +0 -90
- package/dist/cjs/window-resize.decorator-CnkxxD9I.js +0 -48
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.css +0 -1
- package/dist/collection/components/bal-accordion/bal-accordion-details/bal-accordion-details.js +0 -167
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.css +0 -1
- package/dist/collection/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.js +0 -200
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.css +0 -1
- package/dist/collection/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.js +0 -485
- package/dist/collection/components/bal-accordion/bal-accordion.css +0 -1
- package/dist/collection/components/bal-accordion/bal-accordion.i18n.js +0 -42
- package/dist/collection/components/bal-accordion/bal-accordion.interfaces.js +0 -4
- package/dist/collection/components/bal-accordion/bal-accordion.js +0 -691
- package/dist/collection/components/bal-accordion/test/bal-accordion.visual.play.js +0 -16
- package/dist/collection/components/bal-app/bal-app.css +0 -1
- package/dist/collection/components/bal-app/bal-app.interfaces.js +0 -4
- package/dist/collection/components/bal-app/bal-app.js +0 -181
- package/dist/collection/components/bal-badge/bal-badge.css +0 -1
- package/dist/collection/components/bal-badge/bal-badge.interfaces.js +0 -4
- package/dist/collection/components/bal-badge/bal-badge.js +0 -138
- package/dist/collection/components/bal-badge/test/bal-badge.visual.play.js +0 -13
- package/dist/collection/components/bal-button/bal-button-group/bal-button-group.js +0 -103
- package/dist/collection/components/bal-button/bal-button.css +0 -1
- package/dist/collection/components/bal-button/bal-button.interfaces.js +0 -4
- package/dist/collection/components/bal-button/bal-button.js +0 -954
- package/dist/collection/components/bal-button/test/bal-button.visual.play.js +0 -32
- package/dist/collection/components/bal-card/bal-card-actions/bal-card-actions.js +0 -42
- package/dist/collection/components/bal-card/bal-card-button/bal-card-button.js +0 -206
- package/dist/collection/components/bal-card/bal-card-content/bal-card-content.js +0 -7
- package/dist/collection/components/bal-card/bal-card-subtitle/bal-card-subtitle.js +0 -92
- package/dist/collection/components/bal-card/bal-card-title/bal-card-title.js +0 -37
- package/dist/collection/components/bal-card/bal-card.css +0 -1
- package/dist/collection/components/bal-card/bal-card.interfaces.js +0 -4
- package/dist/collection/components/bal-card/bal-card.js +0 -263
- package/dist/collection/components/bal-card/test/bal-card.visual.play.js +0 -13
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +0 -470
- package/dist/collection/components/bal-carousel/bal-carousel.css +0 -1
- package/dist/collection/components/bal-carousel/bal-carousel.interfaces.js +0 -4
- package/dist/collection/components/bal-carousel/bal-carousel.js +0 -688
- package/dist/collection/components/bal-carousel/controls/tab-control.js +0 -14
- package/dist/collection/components/bal-carousel/test/bal-carousel.visual.play.js +0 -13
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-check/bal-check.js +0 -187
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.js +0 -880
- package/dist/collection/components/bal-checkbox/bal-checkbox.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-checkbox.interfaces.js +0 -4
- package/dist/collection/components/bal-checkbox/bal-checkbox.js +0 -1028
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.css +0 -1
- package/dist/collection/components/bal-checkbox/bal-switch/bal-switch.js +0 -162
- package/dist/collection/components/bal-checkbox/test/bal-checkbox-icons.visual.play.js +0 -13
- package/dist/collection/components/bal-checkbox/test/bal-checkbox-tiles.visual.play.js +0 -13
- package/dist/collection/components/bal-checkbox/test/bal-checkbox.visual.play.js +0 -30
- package/dist/collection/components/bal-checkbox/utils/bal-checkbox.util.js +0 -3
- package/dist/collection/components/bal-close/bal-close.css +0 -1
- package/dist/collection/components/bal-close/bal-close.i18n.js +0 -32
- package/dist/collection/components/bal-close/bal-close.interfaces.js +0 -4
- package/dist/collection/components/bal-close/bal-close.js +0 -139
- package/dist/collection/components/bal-close/test/bal-close.visual.play.js +0 -13
- package/dist/collection/components/bal-content/bal-content.css +0 -1
- package/dist/collection/components/bal-content/bal-content.interfaces.js +0 -4
- package/dist/collection/components/bal-content/bal-content.js +0 -212
- package/dist/collection/components/bal-content/test/bal-content.visual.play.js +0 -13
- package/dist/collection/components/bal-data/bal-data-item/bal-data-item.js +0 -63
- package/dist/collection/components/bal-data/bal-data-label/bal-data-label.js +0 -38
- package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +0 -162
- package/dist/collection/components/bal-data/bal-data.css +0 -1
- package/dist/collection/components/bal-data/bal-data.interfaces.js +0 -4
- package/dist/collection/components/bal-data/bal-data.js +0 -97
- package/dist/collection/components/bal-data/test/bal-data.visual.play.js +0 -13
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.css +0 -1
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.interfaces.js +0 -4
- package/dist/collection/components/bal-date/bal-date-calendar/bal-date-calendar.js +0 -505
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__gird.js +0 -8
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__list.js +0 -14
- package/dist/collection/components/bal-date/bal-date-calendar/components/bal-date-calendar__nav.js +0 -13
- package/dist/collection/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.js +0 -214
- package/dist/collection/components/bal-date/bal-date.css +0 -1
- package/dist/collection/components/bal-date/bal-date.i18n.js +0 -62
- package/dist/collection/components/bal-date/bal-date.interfaces.js +0 -4
- package/dist/collection/components/bal-date/bal-date.js +0 -1142
- package/dist/collection/components/bal-date/test/bal-date.visual.play.js +0 -24
- package/dist/collection/components/bal-date/utils/calendar.js +0 -154
- package/dist/collection/components/bal-divider/bal-divider.css +0 -1
- package/dist/collection/components/bal-divider/bal-divider.interfaces.js +0 -4
- package/dist/collection/components/bal-divider/bal-divider.js +0 -165
- package/dist/collection/components/bal-divider/test/bal-divider.visual.play.js +0 -13
- package/dist/collection/components/bal-dropdown/bal-dropdown.css +0 -1
- package/dist/collection/components/bal-dropdown/bal-dropdown.interfaces.js +0 -4
- package/dist/collection/components/bal-dropdown/bal-dropdown.js +0 -1078
- package/dist/collection/components/bal-dropdown/test/bal-dropdown.visual.play.js +0 -85
- package/dist/collection/components/bal-field/bal-field-control/bal-field-control.js +0 -137
- package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +0 -130
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.i18n.js +0 -32
- package/dist/collection/components/bal-field/bal-field-label/bal-field-label.js +0 -246
- package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +0 -215
- package/dist/collection/components/bal-field/bal-field.css +0 -1
- package/dist/collection/components/bal-field/bal-field.interfaces.js +0 -4
- package/dist/collection/components/bal-field/bal-field.js +0 -405
- package/dist/collection/components/bal-field/test/bal-field-horizontal.visual.play.js +0 -13
- package/dist/collection/components/bal-field/test/bal-field.visual.play.js +0 -26
- package/dist/collection/components/bal-file-upload/bal-file-upload.css +0 -1
- package/dist/collection/components/bal-file-upload/bal-file-upload.interfaces.js +0 -15
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +0 -865
- package/dist/collection/components/bal-file-upload/bal-file-upload.type.js +0 -8
- package/dist/collection/components/bal-file-upload/components/file-list.js +0 -9
- package/dist/collection/components/bal-file-upload/test/bal-file-upload.visual.play.js +0 -13
- package/dist/collection/components/bal-file-upload/test/file.mock.js +0 -16
- package/dist/collection/components/bal-file-upload/utils/file-list.util.js +0 -17
- package/dist/collection/components/bal-file-upload/utils/file-validation.util.js +0 -46
- package/dist/collection/components/bal-footer/bal-footer.css +0 -1
- package/dist/collection/components/bal-footer/bal-footer.i18n.js +0 -32
- package/dist/collection/components/bal-footer/bal-footer.js +0 -336
- package/dist/collection/components/bal-footer/test/bal-footer.visual.play.js +0 -42
- package/dist/collection/components/bal-form/bal-form.css +0 -1
- package/dist/collection/components/bal-form/bal-form.js +0 -134
- package/dist/collection/components/bal-form-grid/bal-form-col/bal-form-col.js +0 -51
- package/dist/collection/components/bal-form-grid/bal-form-gird.interfaces.js +0 -4
- package/dist/collection/components/bal-form-grid/bal-form-grid.css +0 -1
- package/dist/collection/components/bal-form-grid/bal-form-grid.js +0 -17
- package/dist/collection/components/bal-form-grid/test/bal-form-grid.visual.play.js +0 -13
- package/dist/collection/components/bal-heading/bal-heading.const.js +0 -57
- package/dist/collection/components/bal-heading/bal-heading.css +0 -1
- package/dist/collection/components/bal-heading/bal-heading.interfaces.js +0 -4
- package/dist/collection/components/bal-heading/bal-heading.js +0 -335
- package/dist/collection/components/bal-heading/test/bal-heading.visual.play.js +0 -24
- package/dist/collection/components/bal-hint/bal-hint-text/bal-hint-text.js +0 -12
- package/dist/collection/components/bal-hint/bal-hint-title/bal-hint-title.js +0 -12
- package/dist/collection/components/bal-hint/bal-hint.css +0 -1
- package/dist/collection/components/bal-hint/bal-hint.js +0 -287
- package/dist/collection/components/bal-hint/test/bal-hint.visual.play.js +0 -15
- package/dist/collection/components/bal-icon/bal-icon.css +0 -1
- package/dist/collection/components/bal-icon/bal-icon.interfaces.js +0 -4
- package/dist/collection/components/bal-icon/bal-icon.js +0 -600
- package/dist/collection/components/bal-icon/test/bal-icon.visual.play.js +0 -13
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.css +0 -1
- package/dist/collection/components/bal-input/bal-input-date/bal-input-date.js +0 -720
- package/dist/collection/components/bal-input/bal-input-util.js +0 -155
- package/dist/collection/components/bal-input/bal-input.css +0 -1
- package/dist/collection/components/bal-input/bal-input.interfaces.js +0 -4
- package/dist/collection/components/bal-input/bal-input.js +0 -1245
- package/dist/collection/components/bal-input/test/bal-input.visual.play.js +0 -13
- package/dist/collection/components/bal-input-group/bal-input-group.css +0 -1
- package/dist/collection/components/bal-input-group/bal-input-group.js +0 -102
- package/dist/collection/components/bal-input-group/test/bal-input-group.visual.play.js +0 -26
- package/dist/collection/components/bal-input-slider/bal-input-slider.css +0 -1
- package/dist/collection/components/bal-input-slider/bal-input-slider.interfaces.js +0 -4
- package/dist/collection/components/bal-input-slider/bal-input-slider.js +0 -674
- package/dist/collection/components/bal-input-slider/test/bal-input-slider.visual.play.js +0 -13
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.css +0 -1
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.i18n.js +0 -42
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.interfaces.js +0 -4
- package/dist/collection/components/bal-input-stepper/bal-input-stepper.js +0 -629
- package/dist/collection/components/bal-input-stepper/test/bal-input-stepper.visual.play.js +0 -13
- package/dist/collection/components/bal-label/bal-label.css +0 -1
- package/dist/collection/components/bal-label/bal-label.i18n.js +0 -32
- package/dist/collection/components/bal-label/bal-label.interfaces.js +0 -4
- package/dist/collection/components/bal-label/bal-label.js +0 -494
- package/dist/collection/components/bal-label/test/bal-label.visual.play.js +0 -13
- package/dist/collection/components/bal-list/bal-list-item/bal-list-item.js +0 -654
- package/dist/collection/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.js +0 -238
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.js +0 -42
- package/dist/collection/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.js +0 -266
- package/dist/collection/components/bal-list/bal-list-item-content/bal-list-item-content.js +0 -33
- package/dist/collection/components/bal-list/bal-list-item-icon/bal-list-item-icon.js +0 -40
- package/dist/collection/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.js +0 -7
- package/dist/collection/components/bal-list/bal-list-item-title/bal-list-item-title.js +0 -66
- package/dist/collection/components/bal-list/bal-list.css +0 -1
- package/dist/collection/components/bal-list/bal-list.interfaces.js +0 -4
- package/dist/collection/components/bal-list/bal-list.js +0 -173
- package/dist/collection/components/bal-list/test/bal-list.visual.play.js +0 -13
- package/dist/collection/components/bal-logo/bal-logo.animation.js +0 -11
- package/dist/collection/components/bal-logo/bal-logo.css +0 -1
- package/dist/collection/components/bal-logo/bal-logo.data.js +0 -2585
- package/dist/collection/components/bal-logo/bal-logo.interfaces.js +0 -4
- package/dist/collection/components/bal-logo/bal-logo.js +0 -284
- package/dist/collection/components/bal-logo/test/bal-logo.visual.play.js +0 -13
- package/dist/collection/components/bal-modal/bal-modal-body/bal-modal-body.js +0 -7
- package/dist/collection/components/bal-modal/bal-modal-header/bal-modal-header.js +0 -19
- package/dist/collection/components/bal-modal/bal-modal.controller.js +0 -47
- package/dist/collection/components/bal-modal/bal-modal.css +0 -1
- package/dist/collection/components/bal-modal/bal-modal.interfaces.js +0 -4
- package/dist/collection/components/bal-modal/bal-modal.js +0 -778
- package/dist/collection/components/bal-modal/test/bal-modal.visual.play.js +0 -13
- package/dist/collection/components/bal-nav/bal-nav-focus.util.js +0 -87
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-link/bal-nav-link.js +0 -200
- package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.js +0 -34
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.js +0 -74
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-link-group/bal-nav-link-group.js +0 -74
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.js +0 -119
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.js +0 -154
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.js +0 -239
- package/dist/collection/components/bal-nav/bal-nav.css +0 -1
- package/dist/collection/components/bal-nav/bal-nav.i18n.js +0 -72
- package/dist/collection/components/bal-nav/bal-nav.interfaces.js +0 -4
- package/dist/collection/components/bal-nav/bal-nav.js +0 -571
- package/dist/collection/components/bal-nav/components/accordion-button.js +0 -6
- package/dist/collection/components/bal-nav/components/overview-link.js +0 -12
- package/dist/collection/components/bal-nav/components/section-list.js +0 -15
- package/dist/collection/components/bal-nav/components/service-list.js +0 -15
- package/dist/collection/components/bal-nav/models/bal-nav-link-item.js +0 -55
- package/dist/collection/components/bal-nav/models/bal-nav-menu-link-item.js +0 -49
- package/dist/collection/components/bal-nav/models/bal-nav-meta-button.js +0 -78
- package/dist/collection/components/bal-nav/models/bal-nav-meta-link-item.js +0 -38
- package/dist/collection/components/bal-nav/models/bal-nav-section-link-item.js +0 -28
- package/dist/collection/components/bal-nav/models/bal-nav-service-link-item.js +0 -26
- package/dist/collection/components/bal-nav/test/bal-nav-colors.visual.play.js +0 -9
- package/dist/collection/components/bal-nav/test/bal-nav-long.visual.play.js +0 -9
- package/dist/collection/components/bal-nav/test/bal-nav.visual.play.js +0 -9
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.js +0 -32
- package/dist/collection/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.js +0 -467
- package/dist/collection/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.js +0 -117
- package/dist/collection/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.js +0 -50
- package/dist/collection/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.js +0 -50
- package/dist/collection/components/bal-navbar/bal-navbar.css +0 -1
- package/dist/collection/components/bal-navbar/bal-navbar.interfaces.js +0 -4
- package/dist/collection/components/bal-navbar/bal-navbar.js +0 -161
- package/dist/collection/components/bal-navbar/test/bal-navbar.visual.play.js +0 -20
- package/dist/collection/components/bal-notices/bal-notices.css +0 -1
- package/dist/collection/components/bal-notices/bal-notices.js +0 -108
- package/dist/collection/components/bal-notification/bal-notification.css +0 -1
- package/dist/collection/components/bal-notification/bal-notification.interfaces.js +0 -4
- package/dist/collection/components/bal-notification/bal-notification.js +0 -104
- package/dist/collection/components/bal-notification/test/bal-notification.visual.play.js +0 -13
- package/dist/collection/components/bal-number-input/bal-number-input.css +0 -1
- package/dist/collection/components/bal-number-input/bal-number-input.interfaces.js +0 -4
- package/dist/collection/components/bal-number-input/bal-number-input.js +0 -881
- package/dist/collection/components/bal-number-input/bal-number-input.utils.js +0 -106
- package/dist/collection/components/bal-number-input/test/bal-number-input.visual.play.js +0 -13
- package/dist/collection/components/bal-option/bal-option.css +0 -1
- package/dist/collection/components/bal-option/bal-option.interfaces.js +0 -4
- package/dist/collection/components/bal-option/bal-option.js +0 -404
- package/dist/collection/components/bal-option/test/bal-option.visual.play.js +0 -13
- package/dist/collection/components/bal-option-list/bal-option-list.css +0 -1
- package/dist/collection/components/bal-option-list/bal-option-list.interfaces.js +0 -4
- package/dist/collection/components/bal-option-list/bal-option-list.js +0 -1016
- package/dist/collection/components/bal-option-list/test/bal-option-list.visual.play.js +0 -13
- package/dist/collection/components/bal-pagination/bal-pagination.css +0 -1
- package/dist/collection/components/bal-pagination/bal-pagination.i18n.js +0 -42
- package/dist/collection/components/bal-pagination/bal-pagination.interfaces.js +0 -4
- package/dist/collection/components/bal-pagination/bal-pagination.js +0 -472
- package/dist/collection/components/bal-pagination/bal-pagination.util.js +0 -77
- package/dist/collection/components/bal-pagination/test/bal-pagination.visual.play.js +0 -13
- package/dist/collection/components/bal-popover/bal-popover-content/bal-popover-content.js +0 -292
- package/dist/collection/components/bal-popover/bal-popover.css +0 -1
- package/dist/collection/components/bal-popover/bal-popover.interfaces.js +0 -4
- package/dist/collection/components/bal-popover/bal-popover.js +0 -769
- package/dist/collection/components/bal-popover/test/bal-popover.visual.play.js +0 -13
- package/dist/collection/components/bal-popup/bal-popup.css +0 -1
- package/dist/collection/components/bal-popup/bal-popup.interfaces.js +0 -4
- package/dist/collection/components/bal-popup/bal-popup.js +0 -882
- package/dist/collection/components/bal-popup/test/bal-popup.visual.play.js +0 -13
- package/dist/collection/components/bal-popup/variants/abstract-variant.renderer.js +0 -49
- package/dist/collection/components/bal-popup/variants/drawer-variant.renderer.js +0 -36
- package/dist/collection/components/bal-popup/variants/fullscreen-variant.renderer.js +0 -41
- package/dist/collection/components/bal-popup/variants/index.js +0 -4
- package/dist/collection/components/bal-popup/variants/popover-variant.renderer.js +0 -136
- package/dist/collection/components/bal-popup/variants/variant.renderer.js +0 -31
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.css +0 -1
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.interfaces.js +0 -4
- package/dist/collection/components/bal-progress-bar/bal-progress-bar.js +0 -205
- package/dist/collection/components/bal-progress-bar/test/bal-progress-bar.visual.play.js +0 -13
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.css +0 -1
- package/dist/collection/components/bal-radio/bal-radio-group/bal-radio-group.js +0 -895
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.css +0 -1
- package/dist/collection/components/bal-radio/bal-radio-icon/bal-radio-icon.js +0 -187
- package/dist/collection/components/bal-radio/bal-radio.css +0 -1
- package/dist/collection/components/bal-radio/bal-radio.interfaces.js +0 -4
- package/dist/collection/components/bal-radio/bal-radio.js +0 -994
- package/dist/collection/components/bal-radio/test/bal-radio-icons.visual.play.js +0 -13
- package/dist/collection/components/bal-radio/test/bal-radio-tiles.visual.play.js +0 -13
- package/dist/collection/components/bal-radio/test/bal-radio.visual.play.js +0 -25
- package/dist/collection/components/bal-radio/test/car.svg +0 -15
- package/dist/collection/components/bal-radio/utils/bal-radio.util.js +0 -3
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.css +0 -1
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +0 -395
- package/dist/collection/components/bal-segment/bal-segment.css +0 -1
- package/dist/collection/components/bal-segment/bal-segment.interfaces.js +0 -4
- package/dist/collection/components/bal-segment/bal-segment.js +0 -720
- package/dist/collection/components/bal-segment/test/bal-segment.visual.play.js +0 -13
- package/dist/collection/components/bal-select/bal-select-option/bal-select-option.js +0 -115
- package/dist/collection/components/bal-select/bal-select.css +0 -1
- package/dist/collection/components/bal-select/bal-select.interfaces.js +0 -4
- package/dist/collection/components/bal-select/bal-select.js +0 -1568
- package/dist/collection/components/bal-select/test/bal-select-multiple.visual.play.js +0 -28
- package/dist/collection/components/bal-select/test/bal-select.visual.play.js +0 -28
- package/dist/collection/components/bal-select/utils/bal-option.util.js +0 -11
- package/dist/collection/components/bal-select/utils/utils.js +0 -73
- package/dist/collection/components/bal-select/utils/watch-options.js +0 -19
- package/dist/collection/components/bal-shape/bal-shape.css +0 -1
- package/dist/collection/components/bal-shape/bal-shape.interfaces.js +0 -4
- package/dist/collection/components/bal-shape/bal-shape.js +0 -151
- package/dist/collection/components/bal-shape/test/bal-shape.visual.play.js +0 -13
- package/dist/collection/components/bal-sheet/bal-sheet.css +0 -1
- package/dist/collection/components/bal-sheet/bal-sheet.interfaces.js +0 -4
- package/dist/collection/components/bal-sheet/bal-sheet.js +0 -57
- package/dist/collection/components/bal-sheet/test/bal-sheet.visual.play.js +0 -12
- package/dist/collection/components/bal-snackbar/bal-snackbar.controller.js +0 -12
- package/dist/collection/components/bal-snackbar/bal-snackbar.css +0 -1
- package/dist/collection/components/bal-snackbar/bal-snackbar.interfaces.js +0 -4
- package/dist/collection/components/bal-snackbar/bal-snackbar.js +0 -413
- package/dist/collection/components/bal-snackbar/test/bal-snackbar.visual.play.js +0 -13
- package/dist/collection/components/bal-spinner/bal-spinner.animation.js +0 -12
- package/dist/collection/components/bal-spinner/bal-spinner.css +0 -1
- package/dist/collection/components/bal-spinner/bal-spinner.data.js +0 -2585
- package/dist/collection/components/bal-spinner/bal-spinner.interfaces.js +0 -4
- package/dist/collection/components/bal-spinner/bal-spinner.js +0 -309
- package/dist/collection/components/bal-stack/bal-stack.css +0 -1
- package/dist/collection/components/bal-stack/bal-stack.interfaces.js +0 -4
- package/dist/collection/components/bal-stack/bal-stack.js +0 -373
- package/dist/collection/components/bal-stack/test/bal-stack.visual.play.js +0 -13
- package/dist/collection/components/bal-stage/bal-stage-back-link/bal-stage-back-link.js +0 -105
- package/dist/collection/components/bal-stage/bal-stage-body/bal-stage-body.js +0 -10
- package/dist/collection/components/bal-stage/bal-stage-foot/bal-stage-foot.js +0 -8
- package/dist/collection/components/bal-stage/bal-stage-head/bal-stage-head.js +0 -8
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +0 -72
- package/dist/collection/components/bal-stage/bal-stage.css +0 -1
- package/dist/collection/components/bal-stage/bal-stage.interfaces.js +0 -4
- package/dist/collection/components/bal-stage/bal-stage.js +0 -214
- package/dist/collection/components/bal-stage/test/bal-stage.visual.play.js +0 -11
- package/dist/collection/components/bal-steps/bal-step-item/bal-step-item.js +0 -393
- package/dist/collection/components/bal-steps/bal-step.util.js +0 -3
- package/dist/collection/components/bal-steps/bal-steps.css +0 -1
- package/dist/collection/components/bal-steps/bal-steps.interfaces.js +0 -4
- package/dist/collection/components/bal-steps/bal-steps.js +0 -448
- package/dist/collection/components/bal-steps/components/step-button.js +0 -14
- package/dist/collection/components/bal-steps/components/step-icon.js +0 -6
- package/dist/collection/components/bal-steps/components/step-label.js +0 -6
- package/dist/collection/components/bal-steps/test/bal-steps.visual.play.js +0 -13
- package/dist/collection/components/bal-table/bal-table.css +0 -1
- package/dist/collection/components/bal-table/bal-table.js +0 -52
- package/dist/collection/components/bal-table/test/bal-table.visual.play.js +0 -13
- package/dist/collection/components/bal-tabs/bal-tab-item/bal-tab-item.js +0 -551
- package/dist/collection/components/bal-tabs/bal-tab.util.js +0 -3
- package/dist/collection/components/bal-tabs/bal-tabs.css +0 -1
- package/dist/collection/components/bal-tabs/bal-tabs.interfaces.js +0 -4
- package/dist/collection/components/bal-tabs/bal-tabs.js +0 -1409
- package/dist/collection/components/bal-tabs/components/tab-button.js +0 -51
- package/dist/collection/components/bal-tabs/components/tab-icon.js +0 -10
- package/dist/collection/components/bal-tabs/components/tab-label.js +0 -6
- package/dist/collection/components/bal-tabs/components/tab-nav.js +0 -27
- package/dist/collection/components/bal-tabs/components/tab-select.js +0 -21
- package/dist/collection/components/bal-tabs/test/bal-tabs.visual.play.js +0 -25
- package/dist/collection/components/bal-tag/bal-tag-group/bal-tag-group.js +0 -7
- package/dist/collection/components/bal-tag/bal-tag.css +0 -1
- package/dist/collection/components/bal-tag/bal-tag.interfaces.js +0 -4
- package/dist/collection/components/bal-tag/bal-tag.js +0 -281
- package/dist/collection/components/bal-tag/test/bal-tag.a11y.play.js +0 -20
- package/dist/collection/components/bal-tag/test/bal-tag.component.play.js +0 -19
- package/dist/collection/components/bal-tag/test/bal-tag.visual.play.js +0 -18
- package/dist/collection/components/bal-text/bal-text.css +0 -1
- package/dist/collection/components/bal-text/bal-text.interfaces.js +0 -4
- package/dist/collection/components/bal-text/bal-text.js +0 -399
- package/dist/collection/components/bal-text/test/bal-text.visual.play.js +0 -13
- package/dist/collection/components/bal-textarea/bal-textarea.css +0 -1
- package/dist/collection/components/bal-textarea/bal-textarea.interfaces.js +0 -4
- package/dist/collection/components/bal-textarea/bal-textarea.js +0 -767
- package/dist/collection/components/bal-textarea/test/bal-textarea.visual.play.js +0 -13
- package/dist/collection/components/bal-time-input/bal-time-input.css +0 -1
- package/dist/collection/components/bal-time-input/bal-time-input.i18n.js +0 -42
- package/dist/collection/components/bal-time-input/bal-time-input.interfaces.js +0 -4
- package/dist/collection/components/bal-time-input/bal-time-input.js +0 -621
- package/dist/collection/components/bal-time-input/bal-time-input.util.js +0 -19
- package/dist/collection/components/bal-time-input/test/bal-time-input.visual.play.js +0 -13
- package/dist/collection/components/bal-toast/bal-toast.controller.js +0 -12
- package/dist/collection/components/bal-toast/bal-toast.css +0 -1
- package/dist/collection/components/bal-toast/bal-toast.interfaces.js +0 -4
- package/dist/collection/components/bal-toast/bal-toast.js +0 -243
- package/dist/collection/components/bal-toast/test/bal-toast.visual.play.js +0 -13
- package/dist/collection/components/bal-tooltip/bal-tooltip.css +0 -1
- package/dist/collection/components/bal-tooltip/bal-tooltip.interfaces.js +0 -4
- package/dist/collection/components/bal-tooltip/bal-tooltip.js +0 -471
- package/dist/collection/components/bal-tooltip/bal-tooltip.util.js +0 -37
- package/dist/collection/components/bal-tooltip/test/bal-tooltip.visual.play.js +0 -15
- package/dist/collection/global.js +0 -4
- package/dist/collection/initialize.js +0 -51
- package/dist/collection/tags-all.js +0 -119
- package/dist/collection/test/css-border.visual.play.js +0 -23
- package/dist/collection/test/css-color.visual.play.js +0 -27
- package/dist/collection/test/css-core.visual.play.js +0 -13
- package/dist/collection/test/css-display.visual.play.js +0 -19
- package/dist/collection/test/css-flex.visual.play.js +0 -21
- package/dist/collection/test/css-grid.visual.play.js +0 -23
- package/dist/collection/test/css-inheritance.visual.play.js +0 -13
- package/dist/collection/test/css-opacity.visual.play.js +0 -13
- package/dist/collection/test/css-radius.visual.play.js +0 -13
- package/dist/collection/test/css-shadow.visual.play.js +0 -13
- package/dist/collection/test/css-spacing.visual.play.js +0 -27
- package/dist/collection/test/css-structure.visual.play.js +0 -13
- package/dist/collection/test/css-typography.visual.play.js +0 -12
- package/dist/collection/test/theme-compact.visual.play.js +0 -13
- package/dist/collection/utils/animation/animation.decorator.js +0 -23
- package/dist/collection/utils/animation/animation.listener.js +0 -30
- package/dist/collection/utils/animation/animation.subject.js +0 -20
- package/dist/collection/utils/animation/index.js +0 -2
- package/dist/collection/utils/bem.js +0 -8
- package/dist/collection/utils/config/config.const.js +0 -1
- package/dist/collection/utils/config/config.decorator.js +0 -14
- package/dist/collection/utils/config/config.default.js +0 -45
- package/dist/collection/utils/config/config.js +0 -143
- package/dist/collection/utils/config/config.utils.js +0 -69
- package/dist/collection/utils/config/index.js +0 -7
- package/dist/collection/utils/config/initialize.js +0 -11
- package/dist/collection/utils/constants/keys.constant.js +0 -17
- package/dist/collection/utils/constants/version.constant.js +0 -2
- package/dist/collection/utils/css-classes.js +0 -15
- package/dist/collection/utils/dropdown/auto-fill.js +0 -38
- package/dist/collection/utils/dropdown/dropdown.i18n.js +0 -52
- package/dist/collection/utils/dropdown/events.js +0 -56
- package/dist/collection/utils/dropdown/filters.js +0 -10
- package/dist/collection/utils/dropdown/focus.js +0 -19
- package/dist/collection/utils/dropdown/form-submit.js +0 -35
- package/dist/collection/utils/dropdown/icon.js +0 -18
- package/dist/collection/utils/dropdown/index.js +0 -12
- package/dist/collection/utils/dropdown/input.js +0 -12
- package/dist/collection/utils/dropdown/option.js +0 -48
- package/dist/collection/utils/dropdown/popup.js +0 -48
- package/dist/collection/utils/dropdown/value.js +0 -108
- package/dist/collection/utils/floating-ui.js +0 -23
- package/dist/collection/utils/focus/focus.decorator.js +0 -20
- package/dist/collection/utils/focus/focus.listener.js +0 -34
- package/dist/collection/utils/focus/focus.subject.js +0 -30
- package/dist/collection/utils/focus/index.js +0 -2
- package/dist/collection/utils/focus-visible.js +0 -70
- package/dist/collection/utils/form-input.js +0 -87
- package/dist/collection/utils/form.js +0 -19
- package/dist/collection/utils/framework-delegate.js +0 -31
- package/dist/collection/utils/legacy.js +0 -32
- package/dist/collection/utils/mask/__test__/mask-component.mock.js +0 -19
- package/dist/collection/utils/mask/__test__/mask-context.mocks.js +0 -6
- package/dist/collection/utils/mask/__test__/mask.mock.js +0 -16
- package/dist/collection/utils/mask/blocks/index.js +0 -3
- package/dist/collection/utils/mask/blocks/mask-block-list.js +0 -85
- package/dist/collection/utils/mask/blocks/mask-block.js +0 -59
- package/dist/collection/utils/mask/component/index.js +0 -2
- package/dist/collection/utils/mask/component/mask-component-adapter.js +0 -124
- package/dist/collection/utils/mask/context/index.js +0 -9
- package/dist/collection/utils/mask/context/mask-clipboard-context.js +0 -7
- package/dist/collection/utils/mask/context/mask-context.js +0 -61
- package/dist/collection/utils/mask/context/mask-focus-context.js +0 -3
- package/dist/collection/utils/mask/context/mask-keyboard-context.js +0 -58
- package/dist/collection/utils/mask/context/mask-locale-context.js +0 -6
- package/dist/collection/utils/mask/context/mask-mouse-context.js +0 -3
- package/dist/collection/utils/mask/context/mask-position.js +0 -65
- package/dist/collection/utils/mask/context/mask-value-changed-context.js +0 -12
- package/dist/collection/utils/mask/index.js +0 -5
- package/dist/collection/utils/mask/mask-util.js +0 -1
- package/dist/collection/utils/mask/mask.js +0 -266
- package/dist/collection/utils/mask/types/index.js +0 -1
- package/dist/collection/utils/mask/types/mask-date.js +0 -129
- package/dist/collection/utils/mutation/index.js +0 -2
- package/dist/collection/utils/mutation/mutation.decorator.js +0 -20
- package/dist/collection/utils/mutation/mutation.listener.js +0 -69
- package/dist/collection/utils/mutation/mutation.subject.js +0 -34
- package/dist/collection/utils/overlays/focus-trap.js +0 -91
- package/dist/collection/utils/overlays/notice.controller.js +0 -100
- package/dist/collection/utils/overlays/overlays.js +0 -272
- package/dist/collection/utils/string.js +0 -10
- package/dist/collection/utils/style.js +0 -35
- package/dist/collection/utils/swiper/controls/dot-control.js +0 -17
- package/dist/collection/utils/swiper/controls/index.js +0 -3
- package/dist/collection/utils/swiper/controls/large-control.js +0 -8
- package/dist/collection/utils/swiper/controls/small-control.js +0 -8
- package/dist/collection/utils/swiper/index.js +0 -1
- package/dist/collection/utils/swiper/swiper.i18n.js +0 -42
- package/dist/collection/utils/swiper/swiper.util.js +0 -330
- package/dist/collection/utils/visibility/index.js +0 -2
- package/dist/collection/utils/visibility/visibility.decorator.js +0 -23
- package/dist/collection/utils/visibility/visibility.listener.js +0 -41
- package/dist/collection/utils/visibility/visibility.subject.js +0 -23
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
- package/dist/esm/animation.decorator-zbSqKhw6.js +0 -75
- package/dist/esm/app-globals-Blx--ecs.js +0 -9
- package/dist/esm/aria-DBsOHTWj.js +0 -8
- package/dist/esm/array-CDfSqLEo.js +0 -20
- package/dist/esm/attributes-C4sZQbkT.js +0 -38
- package/dist/esm/bal-accordion_4.entry.js +0 -756
- package/dist/esm/bal-app.entry.js +0 -84
- package/dist/esm/bal-badge.entry.js +0 -36
- package/dist/esm/bal-button_2.entry.js +0 -288
- package/dist/esm/bal-card_6.entry.js +0 -158
- package/dist/esm/bal-carousel_2.entry.js +0 -392
- package/dist/esm/bal-check.entry.js +0 -53
- package/dist/esm/bal-checkbox_2.entry.js +0 -731
- package/dist/esm/bal-close.entry.js +0 -51
- package/dist/esm/bal-close.i18n-Ct27z6g9.js +0 -34
- package/dist/esm/bal-content.entry.js +0 -74
- package/dist/esm/bal-data_4.entry.js +0 -118
- package/dist/esm/bal-date-calendar-cell.entry.js +0 -39
- package/dist/esm/bal-date-calendar_2.entry.js +0 -1498
- package/dist/esm/bal-date.entry.js +0 -376
- package/dist/esm/bal-divider.entry.js +0 -58
- package/dist/esm/bal-dropdown_3.entry.js +0 -1370
- package/dist/esm/bal-field_5.entry.js +0 -430
- package/dist/esm/bal-file-upload.entry.js +0 -404
- package/dist/esm/bal-file-upload.type-rBUN7c88.js +0 -10
- package/dist/esm/bal-footer.entry.js +0 -198
- package/dist/esm/bal-form-col_2.entry.js +0 -37
- package/dist/esm/bal-form.entry.js +0 -47
- package/dist/esm/bal-heading_2.entry.js +0 -281
- package/dist/esm/bal-hint_5.entry.js +0 -2374
- package/dist/esm/bal-icon.entry.js +0 -1121
- package/dist/esm/bal-input-group.entry.js +0 -34
- package/dist/esm/bal-input-slider.entry.js +0 -215
- package/dist/esm/bal-input-stepper.entry.js +0 -1222
- package/dist/esm/bal-input-stepper.i18n-DEb5iNGc.js +0 -44
- package/dist/esm/bal-input.entry.js +0 -585
- package/dist/esm/bal-label.entry.js +0 -144
- package/dist/esm/bal-label.i18n-JHAE10yr.js +0 -34
- package/dist/esm/bal-list_8.entry.js +0 -689
- package/dist/esm/bal-logo.animation-DQd9HTdg.js +0 -2600
- package/dist/esm/bal-logo.entry.js +0 -177
- package/dist/esm/bal-modal_3.entry.js +0 -313
- package/dist/esm/bal-nav_8.entry.js +0 -1218
- package/dist/esm/bal-navbar_5.entry.js +0 -306
- package/dist/esm/bal-notices_3.entry.js +0 -199
- package/dist/esm/bal-notification.entry.js +0 -31
- package/dist/esm/bal-number-input.entry.js +0 -415
- package/dist/esm/bal-pagination.entry.js +0 -296
- package/dist/esm/bal-popup.entry.js +0 -662
- package/dist/esm/bal-progress-bar.entry.js +0 -103
- package/dist/esm/bal-radio-icon.entry.js +0 -53
- package/dist/esm/bal-radio_2.entry.js +0 -730
- package/dist/esm/bal-segment_2.entry.js +0 -587
- package/dist/esm/bal-select_2.entry.js +0 -852
- package/dist/esm/bal-shape.entry.js +0 -68
- package/dist/esm/bal-sheet.entry.js +0 -24
- package/dist/esm/bal-spinner.animation-Bv2Ow6xu.js +0 -4543
- package/dist/esm/bal-spinner.entry.js +0 -184
- package/dist/esm/bal-stack.entry.js +0 -97
- package/dist/esm/bal-stage_6.entry.js +0 -142
- package/dist/esm/bal-step-item.entry.js +0 -94
- package/dist/esm/bal-step.util-DIC_sxLd.js +0 -5
- package/dist/esm/bal-steps.entry.js +0 -269
- package/dist/esm/bal-switch.entry.js +0 -48
- package/dist/esm/bal-tab-item_2.entry.js +0 -985
- package/dist/esm/bal-tab.util-BmVI6cLw.js +0 -5
- package/dist/esm/bal-table.entry.js +0 -24
- package/dist/esm/bal-tag_2.entry.js +0 -82
- package/dist/esm/bal-textarea.entry.js +0 -160
- package/dist/esm/bal-time-input.entry.js +0 -194
- package/dist/esm/bal-time-input.i18n-B4aDEwd8.js +0 -44
- package/dist/esm/bal-tooltip.entry.js +0 -277
- package/dist/esm/baloise-design-system.js +0 -27
- package/dist/esm/bem-ByiN-QjD.js +0 -10
- package/dist/esm/breakpoints.decorator-CLJL1mrw.js +0 -17
- package/dist/esm/breakpoints.subject-CaVH5CdH.js +0 -251
- package/dist/esm/browser-B1u-Mq75.js +0 -62
- package/dist/esm/config.decorator-3bfyZ-0Y.js +0 -17
- package/dist/esm/config.default-RE8-gLMQ.js +0 -48
- package/dist/esm/config.utils-B7jugjyM.js +0 -102
- package/dist/esm/contact-BkEdlCZJ.js +0 -1633
- package/dist/esm/date-W0XtD641.js +0 -7903
- package/dist/esm/device-TtMibDFL.js +0 -51
- package/dist/esm/element-states.decorator-B68ANq1p.js +0 -95
- package/dist/esm/floating-ui-gZ7E41T8.js +0 -26
- package/dist/esm/floating-ui.dom-Cr2H7Jt3.js +0 -2100
- package/dist/esm/focus-visible-DqCbGYzv.js +0 -71
- package/dist/esm/focus.decorator-C1s3OoqI.js +0 -86
- package/dist/esm/form-FCLKfv6B.js +0 -21
- package/dist/esm/form-input-DYvzaBlM.js +0 -86
- package/dist/esm/helpers-BNj87EbG.js +0 -307
- package/dist/esm/index-B4k_dH6V.js +0 -1866
- package/dist/esm/index-BU7FUSdu.js +0 -569
- package/dist/esm/index-BdVwMG9u.js +0 -2013
- package/dist/esm/index-D6JOtC1P.js +0 -125
- package/dist/esm/index-dYcsHLfj.js +0 -600
- package/dist/esm/index-zWZxKBfo.js +0 -48
- package/dist/esm/index.esm-Btc0yydR.js +0 -210
- package/dist/esm/initialize-W3od-FM9.js +0 -450
- package/dist/esm/keyboard.helpers-BERg8BNc.js +0 -68
- package/dist/esm/keys.constant-xVPGsAdF.js +0 -19
- package/dist/esm/listener-CClDIhvK.js +0 -85
- package/dist/esm/log-CwssmmaV.js +0 -77
- package/dist/esm/lottie_light_html-DuyI5RA6.js +0 -11702
- package/dist/esm/mask-util-DuObDTix.js +0 -3
- package/dist/esm/mutation.decorator-DhVeNnnY.js +0 -124
- package/dist/esm/number-DfnRcL0e.js +0 -34
- package/dist/esm/option-BLp4ll3i.js +0 -50
- package/dist/esm/overlays-DuvWMrlA.js +0 -364
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/resize.decorator-ZKPOJfw5.js +0 -94
- package/dist/esm/scroll-X92R_eyZ.js +0 -84
- package/dist/esm/string-Dk4PnSfl.js +0 -448
- package/dist/esm/svg-DhNz-XmR.js +0 -1605
- package/dist/esm/swipe.decorator-B-pmjyNr.js +0 -23
- package/dist/esm/swipe.subject-BXuaiulg.js +0 -75
- package/dist/esm/tokens.esm-PSBwy3yf.js +0 -21
- package/dist/esm/tslib.es6-dfXERft2.js +0 -29
- package/dist/esm/utils-C_qktPg7.js +0 -76
- package/dist/esm/visibility.decorator-zTjPC2du.js +0 -88
- package/dist/esm/window-resize.decorator-B6C5v87J.js +0 -46
- package/dist/esm-es5/_commonjsHelpers-BFTU3MAI.js +0 -1
- package/dist/esm-es5/animation.decorator-zbSqKhw6.js +0 -1
- package/dist/esm-es5/app-globals-Blx--ecs.js +0 -1
- package/dist/esm-es5/aria-DBsOHTWj.js +0 -1
- package/dist/esm-es5/array-CDfSqLEo.js +0 -1
- package/dist/esm-es5/attributes-C4sZQbkT.js +0 -1
- package/dist/esm-es5/bal-accordion_4.entry.js +0 -1
- package/dist/esm-es5/bal-app.entry.js +0 -1
- package/dist/esm-es5/bal-badge.entry.js +0 -1
- package/dist/esm-es5/bal-button_2.entry.js +0 -1
- package/dist/esm-es5/bal-card_6.entry.js +0 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +0 -1
- package/dist/esm-es5/bal-check.entry.js +0 -1
- package/dist/esm-es5/bal-checkbox_2.entry.js +0 -1
- package/dist/esm-es5/bal-close.entry.js +0 -1
- package/dist/esm-es5/bal-close.i18n-Ct27z6g9.js +0 -1
- package/dist/esm-es5/bal-content.entry.js +0 -1
- package/dist/esm-es5/bal-data_4.entry.js +0 -1
- package/dist/esm-es5/bal-date-calendar-cell.entry.js +0 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +0 -1
- package/dist/esm-es5/bal-date.entry.js +0 -1
- package/dist/esm-es5/bal-divider.entry.js +0 -1
- package/dist/esm-es5/bal-dropdown_3.entry.js +0 -1
- package/dist/esm-es5/bal-field_5.entry.js +0 -1
- package/dist/esm-es5/bal-file-upload.entry.js +0 -1
- package/dist/esm-es5/bal-file-upload.type-rBUN7c88.js +0 -1
- package/dist/esm-es5/bal-footer.entry.js +0 -1
- package/dist/esm-es5/bal-form-col_2.entry.js +0 -1
- package/dist/esm-es5/bal-form.entry.js +0 -1
- package/dist/esm-es5/bal-heading_2.entry.js +0 -1
- package/dist/esm-es5/bal-hint_5.entry.js +0 -1
- package/dist/esm-es5/bal-icon.entry.js +0 -1
- package/dist/esm-es5/bal-input-group.entry.js +0 -1
- package/dist/esm-es5/bal-input-slider.entry.js +0 -1
- package/dist/esm-es5/bal-input-stepper.entry.js +0 -1
- package/dist/esm-es5/bal-input-stepper.i18n-DEb5iNGc.js +0 -1
- package/dist/esm-es5/bal-input.entry.js +0 -1
- package/dist/esm-es5/bal-label.entry.js +0 -1
- package/dist/esm-es5/bal-label.i18n-JHAE10yr.js +0 -1
- package/dist/esm-es5/bal-list_8.entry.js +0 -1
- package/dist/esm-es5/bal-logo.animation-DQd9HTdg.js +0 -1
- package/dist/esm-es5/bal-logo.entry.js +0 -1
- package/dist/esm-es5/bal-modal_3.entry.js +0 -1
- package/dist/esm-es5/bal-nav_8.entry.js +0 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +0 -1
- package/dist/esm-es5/bal-notices_3.entry.js +0 -1
- package/dist/esm-es5/bal-notification.entry.js +0 -1
- package/dist/esm-es5/bal-number-input.entry.js +0 -1
- package/dist/esm-es5/bal-pagination.entry.js +0 -1
- package/dist/esm-es5/bal-popup.entry.js +0 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +0 -1
- package/dist/esm-es5/bal-radio-icon.entry.js +0 -1
- package/dist/esm-es5/bal-radio_2.entry.js +0 -1
- package/dist/esm-es5/bal-segment_2.entry.js +0 -1
- package/dist/esm-es5/bal-select_2.entry.js +0 -1
- package/dist/esm-es5/bal-shape.entry.js +0 -1
- package/dist/esm-es5/bal-sheet.entry.js +0 -1
- package/dist/esm-es5/bal-spinner.animation-Bv2Ow6xu.js +0 -1
- package/dist/esm-es5/bal-spinner.entry.js +0 -1
- package/dist/esm-es5/bal-stack.entry.js +0 -1
- package/dist/esm-es5/bal-stage_6.entry.js +0 -1
- package/dist/esm-es5/bal-step-item.entry.js +0 -1
- package/dist/esm-es5/bal-step.util-DIC_sxLd.js +0 -1
- package/dist/esm-es5/bal-steps.entry.js +0 -1
- package/dist/esm-es5/bal-switch.entry.js +0 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +0 -1
- package/dist/esm-es5/bal-tab.util-BmVI6cLw.js +0 -1
- package/dist/esm-es5/bal-table.entry.js +0 -1
- package/dist/esm-es5/bal-tag_2.entry.js +0 -1
- package/dist/esm-es5/bal-textarea.entry.js +0 -1
- package/dist/esm-es5/bal-time-input.entry.js +0 -1
- package/dist/esm-es5/bal-time-input.i18n-B4aDEwd8.js +0 -1
- package/dist/esm-es5/bal-tooltip.entry.js +0 -1
- package/dist/esm-es5/baloise-design-system.js +0 -1
- package/dist/esm-es5/bem-ByiN-QjD.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-CLJL1mrw.js +0 -1
- package/dist/esm-es5/breakpoints.subject-CaVH5CdH.js +0 -1
- package/dist/esm-es5/browser-B1u-Mq75.js +0 -1
- package/dist/esm-es5/config.decorator-3bfyZ-0Y.js +0 -1
- package/dist/esm-es5/config.default-RE8-gLMQ.js +0 -1
- package/dist/esm-es5/config.utils-B7jugjyM.js +0 -1
- package/dist/esm-es5/contact-BkEdlCZJ.js +0 -1
- package/dist/esm-es5/date-W0XtD641.js +0 -1
- package/dist/esm-es5/device-TtMibDFL.js +0 -1
- package/dist/esm-es5/element-states.decorator-B68ANq1p.js +0 -1
- package/dist/esm-es5/floating-ui-gZ7E41T8.js +0 -1
- package/dist/esm-es5/floating-ui.dom-Cr2H7Jt3.js +0 -1
- package/dist/esm-es5/focus-visible-DqCbGYzv.js +0 -1
- package/dist/esm-es5/focus.decorator-C1s3OoqI.js +0 -1
- package/dist/esm-es5/form-FCLKfv6B.js +0 -1
- package/dist/esm-es5/form-input-DYvzaBlM.js +0 -1
- package/dist/esm-es5/helpers-BNj87EbG.js +0 -1
- package/dist/esm-es5/index-B4k_dH6V.js +0 -1
- package/dist/esm-es5/index-BU7FUSdu.js +0 -1
- package/dist/esm-es5/index-BdVwMG9u.js +0 -2
- package/dist/esm-es5/index-D6JOtC1P.js +0 -1
- package/dist/esm-es5/index-dYcsHLfj.js +0 -1
- package/dist/esm-es5/index-zWZxKBfo.js +0 -1
- package/dist/esm-es5/index.esm-Btc0yydR.js +0 -1
- package/dist/esm-es5/index.js +0 -1
- package/dist/esm-es5/initialize-W3od-FM9.js +0 -1
- package/dist/esm-es5/keyboard.helpers-BERg8BNc.js +0 -1
- package/dist/esm-es5/keys.constant-xVPGsAdF.js +0 -1
- package/dist/esm-es5/listener-CClDIhvK.js +0 -1
- package/dist/esm-es5/loader.js +0 -1
- package/dist/esm-es5/log-CwssmmaV.js +0 -1
- package/dist/esm-es5/lottie_light_html-DuyI5RA6.js +0 -9
- package/dist/esm-es5/mask-util-DuObDTix.js +0 -1
- package/dist/esm-es5/mutation.decorator-DhVeNnnY.js +0 -1
- package/dist/esm-es5/number-DfnRcL0e.js +0 -1
- package/dist/esm-es5/option-BLp4ll3i.js +0 -1
- package/dist/esm-es5/overlays-DuvWMrlA.js +0 -1
- package/dist/esm-es5/resize.decorator-ZKPOJfw5.js +0 -1
- package/dist/esm-es5/scroll-X92R_eyZ.js +0 -1
- package/dist/esm-es5/string-Dk4PnSfl.js +0 -1
- package/dist/esm-es5/svg-DhNz-XmR.js +0 -2
- package/dist/esm-es5/swipe.decorator-B-pmjyNr.js +0 -1
- package/dist/esm-es5/swipe.subject-BXuaiulg.js +0 -1
- package/dist/esm-es5/tokens.esm-PSBwy3yf.js +0 -1
- package/dist/esm-es5/tslib.es6-dfXERft2.js +0 -15
- package/dist/esm-es5/utils-C_qktPg7.js +0 -1
- package/dist/esm-es5/visibility.decorator-zTjPC2du.js +0 -1
- package/dist/esm-es5/window-resize.decorator-B6C5v87J.js +0 -1
- package/dist/html.html-data.json +0 -7860
- package/dist/types/components/bal-accordion/bal-accordion-details/bal-accordion-details.d.ts +0 -48
- package/dist/types/components/bal-accordion/bal-accordion-summary/bal-accordion-summary.d.ts +0 -54
- package/dist/types/components/bal-accordion/bal-accordion-trigger/bal-accordion-trigger.d.ts +0 -133
- package/dist/types/components/bal-accordion/bal-accordion.d.ts +0 -134
- package/dist/types/components/bal-accordion/bal-accordion.i18n.d.ts +0 -7
- package/dist/types/components/bal-accordion/bal-accordion.interfaces.d.ts +0 -16
- package/dist/types/components/bal-app/bal-app.d.ts +0 -28
- package/dist/types/components/bal-app/bal-app.interfaces.d.ts +0 -6
- package/dist/types/components/bal-badge/bal-badge.d.ts +0 -22
- package/dist/types/components/bal-badge/bal-badge.interfaces.d.ts +0 -5
- package/dist/types/components/bal-button/bal-button-group/bal-button-group.d.ts +0 -17
- package/dist/types/components/bal-button/bal-button.d.ts +0 -158
- package/dist/types/components/bal-button/bal-button.interfaces.d.ts +0 -30
- package/dist/types/components/bal-card/bal-card-actions/bal-card-actions.d.ts +0 -7
- package/dist/types/components/bal-card/bal-card-button/bal-card-button.d.ts +0 -37
- package/dist/types/components/bal-card/bal-card-content/bal-card-content.d.ts +0 -3
- package/dist/types/components/bal-card/bal-card-subtitle/bal-card-subtitle.d.ts +0 -15
- package/dist/types/components/bal-card/bal-card-title/bal-card-title.d.ts +0 -7
- package/dist/types/components/bal-card/bal-card.d.ts +0 -40
- package/dist/types/components/bal-card/bal-card.interfaces.d.ts +0 -7
- package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +0 -91
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +0 -136
- package/dist/types/components/bal-carousel/bal-carousel.interfaces.d.ts +0 -21
- package/dist/types/components/bal-carousel/controls/tab-control.d.ts +0 -12
- package/dist/types/components/bal-checkbox/bal-check/bal-check.d.ts +0 -36
- package/dist/types/components/bal-checkbox/bal-checkbox-group/bal-checkbox-group.d.ts +0 -154
- package/dist/types/components/bal-checkbox/bal-checkbox.d.ts +0 -193
- package/dist/types/components/bal-checkbox/bal-checkbox.interfaces.d.ts +0 -28
- package/dist/types/components/bal-checkbox/bal-checkbox.type.d.ts +0 -17
- package/dist/types/components/bal-checkbox/bal-switch/bal-switch.d.ts +0 -32
- package/dist/types/components/bal-checkbox/utils/bal-checkbox.util.d.ts +0 -18
- package/dist/types/components/bal-close/bal-close.d.ts +0 -21
- package/dist/types/components/bal-close/bal-close.i18n.d.ts +0 -6
- package/dist/types/components/bal-close/bal-close.interfaces.d.ts +0 -3
- package/dist/types/components/bal-content/bal-content.d.ts +0 -39
- package/dist/types/components/bal-content/bal-content.interfaces.d.ts +0 -6
- package/dist/types/components/bal-data/bal-data-item/bal-data-item.d.ts +0 -11
- package/dist/types/components/bal-data/bal-data-label/bal-data-label.d.ts +0 -7
- package/dist/types/components/bal-data/bal-data-value/bal-data-value.d.ts +0 -31
- package/dist/types/components/bal-data/bal-data.d.ts +0 -17
- package/dist/types/components/bal-data/bal-data.interfaces.d.ts +0 -12
- package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.d.ts +0 -121
- package/dist/types/components/bal-date/bal-date-calendar/bal-date-calendar.interfaces.d.ts +0 -17
- package/dist/types/components/bal-date/bal-date-calendar/components/bal-date-calendar__gird.d.ts +0 -12
- package/dist/types/components/bal-date/bal-date-calendar/components/bal-date-calendar__list.d.ts +0 -11
- package/dist/types/components/bal-date/bal-date-calendar/components/bal-date-calendar__nav.d.ts +0 -14
- package/dist/types/components/bal-date/bal-date-calendar-cell/bal-date-calendar-cell.d.ts +0 -29
- package/dist/types/components/bal-date/bal-date.d.ts +0 -228
- package/dist/types/components/bal-date/bal-date.i18n.d.ts +0 -8
- package/dist/types/components/bal-date/bal-date.interfaces.d.ts +0 -25
- package/dist/types/components/bal-date/utils/calendar.d.ts +0 -38
- package/dist/types/components/bal-divider/bal-divider.d.ts +0 -32
- package/dist/types/components/bal-divider/bal-divider.interfaces.d.ts +0 -6
- package/dist/types/components/bal-dropdown/bal-dropdown.d.ts +0 -203
- package/dist/types/components/bal-dropdown/bal-dropdown.interfaces.d.ts +0 -16
- package/dist/types/components/bal-field/bal-field-control/bal-field-control.d.ts +0 -23
- package/dist/types/components/bal-field/bal-field-hint/bal-field-hint.d.ts +0 -22
- package/dist/types/components/bal-field/bal-field-label/bal-field-label.d.ts +0 -55
- package/dist/types/components/bal-field/bal-field-label/bal-field-label.i18n.d.ts +0 -6
- package/dist/types/components/bal-field/bal-field-message/bal-field-message.d.ts +0 -33
- package/dist/types/components/bal-field/bal-field.d.ts +0 -63
- package/dist/types/components/bal-field/bal-field.interfaces.d.ts +0 -13
- package/dist/types/components/bal-file-upload/bal-file-upload.d.ts +0 -181
- package/dist/types/components/bal-file-upload/bal-file-upload.interfaces.d.ts +0 -31
- package/dist/types/components/bal-file-upload/bal-file-upload.type.d.ts +0 -11
- package/dist/types/components/bal-file-upload/components/file-list.d.ts +0 -8
- package/dist/types/components/bal-file-upload/test/file.mock.d.ts +0 -1
- package/dist/types/components/bal-file-upload/utils/file-list.util.d.ts +0 -9
- package/dist/types/components/bal-file-upload/utils/file-validation.util.d.ts +0 -13
- package/dist/types/components/bal-footer/bal-footer.d.ts +0 -67
- package/dist/types/components/bal-footer/bal-footer.i18n.d.ts +0 -5
- package/dist/types/components/bal-form/bal-form.d.ts +0 -22
- package/dist/types/components/bal-form-grid/bal-form-col/bal-form-col.d.ts +0 -8
- package/dist/types/components/bal-form-grid/bal-form-gird.interfaces.d.ts +0 -3
- package/dist/types/components/bal-form-grid/bal-form-grid.d.ts +0 -4
- package/dist/types/components/bal-heading/bal-heading.const.d.ts +0 -13
- package/dist/types/components/bal-heading/bal-heading.d.ts +0 -75
- package/dist/types/components/bal-heading/bal-heading.interfaces.d.ts +0 -5
- package/dist/types/components/bal-hint/bal-hint-text/bal-hint-text.d.ts +0 -3
- package/dist/types/components/bal-hint/bal-hint-title/bal-hint-title.d.ts +0 -3
- package/dist/types/components/bal-hint/bal-hint.d.ts +0 -45
- package/dist/types/components/bal-icon/bal-icon.d.ts +0 -96
- package/dist/types/components/bal-icon/bal-icon.interfaces.d.ts +0 -5
- package/dist/types/components/bal-input/bal-input-date/bal-input-date.d.ts +0 -156
- package/dist/types/components/bal-input/bal-input-util.d.ts +0 -49
- package/dist/types/components/bal-input/bal-input.d.ts +0 -200
- package/dist/types/components/bal-input/bal-input.interfaces.d.ts +0 -37
- package/dist/types/components/bal-input-group/bal-input-group.d.ts +0 -18
- package/dist/types/components/bal-input-slider/bal-input-slider.d.ts +0 -116
- package/dist/types/components/bal-input-slider/bal-input-slider.interfaces.d.ts +0 -16
- package/dist/types/components/bal-input-stepper/bal-input-stepper.d.ts +0 -111
- package/dist/types/components/bal-input-stepper/bal-input-stepper.i18n.d.ts +0 -7
- package/dist/types/components/bal-input-stepper/bal-input-stepper.interfaces.d.ts +0 -18
- package/dist/types/components/bal-label/bal-label.d.ts +0 -97
- package/dist/types/components/bal-label/bal-label.i18n.d.ts +0 -6
- package/dist/types/components/bal-label/bal-label.interfaces.d.ts +0 -4
- package/dist/types/components/bal-list/bal-list-item/bal-list-item.d.ts +0 -132
- package/dist/types/components/bal-list/bal-list-item-accordion-body/bal-list-item-accordion-body.d.ts +0 -67
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.d.ts +0 -70
- package/dist/types/components/bal-list/bal-list-item-accordion-head/bal-list-item-accordion-head.i18n.d.ts +0 -7
- package/dist/types/components/bal-list/bal-list-item-content/bal-list-item-content.d.ts +0 -4
- package/dist/types/components/bal-list/bal-list-item-icon/bal-list-item-icon.d.ts +0 -7
- package/dist/types/components/bal-list/bal-list-item-subtitle/bal-list-item-subtitle.d.ts +0 -3
- package/dist/types/components/bal-list/bal-list-item-title/bal-list-item-title.d.ts +0 -13
- package/dist/types/components/bal-list/bal-list.d.ts +0 -27
- package/dist/types/components/bal-list/bal-list.interfaces.d.ts +0 -28
- package/dist/types/components/bal-logo/bal-logo.animation.d.ts +0 -2
- package/dist/types/components/bal-logo/bal-logo.d.ts +0 -65
- package/dist/types/components/bal-logo/bal-logo.data.d.ts +0 -1756
- package/dist/types/components/bal-logo/bal-logo.interfaces.d.ts +0 -5
- package/dist/types/components/bal-modal/bal-modal-body/bal-modal-body.d.ts +0 -3
- package/dist/types/components/bal-modal/bal-modal-header/bal-modal-header.d.ts +0 -7
- package/dist/types/components/bal-modal/bal-modal.controller.d.ts +0 -10
- package/dist/types/components/bal-modal/bal-modal.d.ts +0 -125
- package/dist/types/components/bal-modal/bal-modal.interfaces.d.ts +0 -30
- package/dist/types/components/bal-modal/bal-modal.type.d.ts +0 -39
- package/dist/types/components/bal-nav/bal-nav-focus.util.d.ts +0 -34
- package/dist/types/components/bal-nav/bal-nav-link/bal-nav-link.d.ts +0 -41
- package/dist/types/components/bal-nav/bal-nav-link/bal-nav-link.interfaces.d.ts +0 -3
- package/dist/types/components/bal-nav/bal-nav-link-grid/bal-nav-link-grid.d.ts +0 -11
- package/dist/types/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.d.ts +0 -19
- package/dist/types/components/bal-nav/bal-nav-link-grid-col/bal-nav-link-grid-col.interfaces.d.ts +0 -3
- package/dist/types/components/bal-nav/bal-nav-link-group/bal-nav-link-group.d.ts +0 -19
- package/dist/types/components/bal-nav/bal-nav-link-group/bal-nav-link-group.interfaces.d.ts +0 -3
- package/dist/types/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.d.ts +0 -32
- package/dist/types/components/bal-nav/bal-nav-menu-bar/bal-nav-menu-bar.interfaces.d.ts +0 -5
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.d.ts +0 -45
- package/dist/types/components/bal-nav/bal-nav-menu-flyout/bal-nav-menu-flyout.interfaces.d.ts +0 -3
- package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.d.ts +0 -45
- package/dist/types/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.interfaces.d.ts +0 -7
- package/dist/types/components/bal-nav/bal-nav.d.ts +0 -110
- package/dist/types/components/bal-nav/bal-nav.i18n.d.ts +0 -10
- package/dist/types/components/bal-nav/bal-nav.interfaces.d.ts +0 -76
- package/dist/types/components/bal-nav/bal-nav.types.d.ts +0 -5
- package/dist/types/components/bal-nav/components/accordion-button.d.ts +0 -13
- package/dist/types/components/bal-nav/components/overview-link.d.ts +0 -9
- package/dist/types/components/bal-nav/components/section-list.d.ts +0 -6
- package/dist/types/components/bal-nav/components/service-list.d.ts +0 -6
- package/dist/types/components/bal-nav/models/bal-nav-link-item.d.ts +0 -28
- package/dist/types/components/bal-nav/models/bal-nav-menu-link-item.d.ts +0 -21
- package/dist/types/components/bal-nav/models/bal-nav-meta-button.d.ts +0 -19
- package/dist/types/components/bal-nav/models/bal-nav-meta-link-item.d.ts +0 -17
- package/dist/types/components/bal-nav/models/bal-nav-section-link-item.d.ts +0 -16
- package/dist/types/components/bal-nav/models/bal-nav-service-link-item.d.ts +0 -16
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.d.ts +0 -82
- package/dist/types/components/bal-navbar/bal-navbar-brand/bal-navbar-brand.i18n.d.ts +0 -5
- package/dist/types/components/bal-navbar/bal-navbar-menu/bal-navbar-menu.d.ts +0 -20
- package/dist/types/components/bal-navbar/bal-navbar-menu-end/bal-navbar-menu-end.d.ts +0 -10
- package/dist/types/components/bal-navbar/bal-navbar-menu-start/bal-navbar-menu-start.d.ts +0 -10
- package/dist/types/components/bal-navbar/bal-navbar.d.ts +0 -26
- package/dist/types/components/bal-navbar/bal-navbar.interfaces.d.ts +0 -15
- package/dist/types/components/bal-notices/bal-notices.d.ts +0 -15
- package/dist/types/components/bal-notification/bal-notification.d.ts +0 -16
- package/dist/types/components/bal-notification/bal-notification.interfaces.d.ts +0 -3
- package/dist/types/components/bal-number-input/bal-number-input.d.ts +0 -176
- package/dist/types/components/bal-number-input/bal-number-input.interfaces.d.ts +0 -16
- package/dist/types/components/bal-option/bal-option.d.ts +0 -92
- package/dist/types/components/bal-option/bal-option.interfaces.d.ts +0 -18
- package/dist/types/components/bal-option-list/bal-option-list.d.ts +0 -174
- package/dist/types/components/bal-option-list/bal-option-list.interfaces.d.ts +0 -4
- package/dist/types/components/bal-pagination/bal-pagination.d.ts +0 -70
- package/dist/types/components/bal-pagination/bal-pagination.i18n.d.ts +0 -7
- package/dist/types/components/bal-pagination/bal-pagination.interfaces.d.ts +0 -13
- package/dist/types/components/bal-pagination/bal-pagination.util.d.ts +0 -7
- package/dist/types/components/bal-popover/bal-popover-content/bal-popover-content.d.ts +0 -51
- package/dist/types/components/bal-popover/bal-popover.d.ts +0 -144
- package/dist/types/components/bal-popover/bal-popover.interfaces.d.ts +0 -17
- package/dist/types/components/bal-popup/bal-popup.d.ts +0 -175
- package/dist/types/components/bal-popup/bal-popup.interfaces.d.ts +0 -17
- package/dist/types/components/bal-popup/variants/abstract-variant.renderer.d.ts +0 -14
- package/dist/types/components/bal-popup/variants/drawer-variant.renderer.d.ts +0 -9
- package/dist/types/components/bal-popup/variants/fullscreen-variant.renderer.d.ts +0 -8
- package/dist/types/components/bal-popup/variants/index.d.ts +0 -4
- package/dist/types/components/bal-popup/variants/popover-variant.renderer.d.ts +0 -14
- package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +0 -31
- package/dist/types/components/bal-popup/variants/variant.renderer.d.ts +0 -8
- package/dist/types/components/bal-progress-bar/bal-progress-bar.d.ts +0 -49
- package/dist/types/components/bal-progress-bar/bal-progress-bar.interfaces.d.ts +0 -4
- package/dist/types/components/bal-radio/bal-radio-group/bal-radio-group.d.ts +0 -157
- package/dist/types/components/bal-radio/bal-radio-icon/bal-radio-icon.d.ts +0 -36
- package/dist/types/components/bal-radio/bal-radio.d.ts +0 -183
- package/dist/types/components/bal-radio/bal-radio.interfaces.d.ts +0 -28
- package/dist/types/components/bal-radio/bal-radio.type.d.ts +0 -16
- package/dist/types/components/bal-radio/utils/bal-radio.util.d.ts +0 -17
- package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +0 -68
- package/dist/types/components/bal-segment/bal-segment.d.ts +0 -140
- package/dist/types/components/bal-segment/bal-segment.interfaces.d.ts +0 -21
- package/dist/types/components/bal-segment/bal-segment.types.d.ts +0 -1
- package/dist/types/components/bal-select/bal-select-option/bal-select-option.d.ts +0 -24
- package/dist/types/components/bal-select/bal-select.d.ts +0 -271
- package/dist/types/components/bal-select/bal-select.interfaces.d.ts +0 -23
- package/dist/types/components/bal-select/utils/bal-option.type.d.ts +0 -6
- package/dist/types/components/bal-select/utils/bal-option.util.d.ts +0 -3
- package/dist/types/components/bal-select/utils/utils.d.ts +0 -11
- package/dist/types/components/bal-select/utils/watch-options.d.ts +0 -2
- package/dist/types/components/bal-shape/bal-shape.d.ts +0 -19
- package/dist/types/components/bal-shape/bal-shape.interfaces.d.ts +0 -5
- package/dist/types/components/bal-sheet/bal-sheet.d.ts +0 -7
- package/dist/types/components/bal-sheet/bal-sheet.interfaces.d.ts +0 -3
- package/dist/types/components/bal-snackbar/bal-snackbar.controller.d.ts +0 -13
- package/dist/types/components/bal-snackbar/bal-snackbar.d.ts +0 -66
- package/dist/types/components/bal-snackbar/bal-snackbar.interfaces.d.ts +0 -13
- package/dist/types/components/bal-spinner/bal-spinner.d.ts +0 -68
- package/dist/types/components/bal-spinner/bal-spinner.data.d.ts +0 -1756
- package/dist/types/components/bal-spinner/bal-spinner.interfaces.d.ts +0 -5
- package/dist/types/components/bal-stack/bal-stack.d.ts +0 -64
- package/dist/types/components/bal-stack/bal-stack.interfaces.d.ts +0 -7
- package/dist/types/components/bal-stage/bal-stage-back-link/bal-stage-back-link.d.ts +0 -23
- package/dist/types/components/bal-stage/bal-stage-body/bal-stage-body.d.ts +0 -6
- package/dist/types/components/bal-stage/bal-stage-foot/bal-stage-foot.d.ts +0 -6
- package/dist/types/components/bal-stage/bal-stage-head/bal-stage-head.d.ts +0 -6
- package/dist/types/components/bal-stage/bal-stage-image/bal-stage-image.d.ts +0 -18
- package/dist/types/components/bal-stage/bal-stage.d.ts +0 -30
- package/dist/types/components/bal-stage/bal-stage.interfaces.d.ts +0 -5
- package/dist/types/components/bal-steps/bal-step-item/bal-step-item.d.ts +0 -85
- package/dist/types/components/bal-steps/bal-step.type.d.ts +0 -20
- package/dist/types/components/bal-steps/bal-step.util.d.ts +0 -16
- package/dist/types/components/bal-steps/bal-steps.d.ts +0 -92
- package/dist/types/components/bal-steps/bal-steps.interfaces.d.ts +0 -17
- package/dist/types/components/bal-steps/components/step-button.d.ts +0 -10
- package/dist/types/components/bal-steps/components/step-icon.d.ts +0 -6
- package/dist/types/components/bal-steps/components/step-label.d.ts +0 -5
- package/dist/types/components/bal-table/bal-table.d.ts +0 -10
- package/dist/types/components/bal-tabs/bal-tab-item/bal-tab-item.d.ts +0 -117
- package/dist/types/components/bal-tabs/bal-tab.type.d.ts +0 -73
- package/dist/types/components/bal-tabs/bal-tab.util.d.ts +0 -16
- package/dist/types/components/bal-tabs/bal-tabs.d.ts +0 -240
- package/dist/types/components/bal-tabs/bal-tabs.interfaces.d.ts +0 -30
- package/dist/types/components/bal-tabs/components/tab-button.d.ts +0 -23
- package/dist/types/components/bal-tabs/components/tab-icon.d.ts +0 -11
- package/dist/types/components/bal-tabs/components/tab-label.d.ts +0 -12
- package/dist/types/components/bal-tabs/components/tab-nav.d.ts +0 -31
- package/dist/types/components/bal-tabs/components/tab-select.d.ts +0 -8
- package/dist/types/components/bal-tag/bal-tag-group/bal-tag-group.d.ts +0 -3
- package/dist/types/components/bal-tag/bal-tag.d.ts +0 -46
- package/dist/types/components/bal-tag/bal-tag.interfaces.d.ts +0 -14
- package/dist/types/components/bal-text/bal-text.d.ts +0 -72
- package/dist/types/components/bal-text/bal-text.interfaces.d.ts +0 -5
- package/dist/types/components/bal-textarea/bal-textarea.d.ts +0 -145
- package/dist/types/components/bal-textarea/bal-textarea.interfaces.d.ts +0 -20
- package/dist/types/components/bal-time-input/bal-time-input.d.ts +0 -114
- package/dist/types/components/bal-time-input/bal-time-input.i18n.d.ts +0 -7
- package/dist/types/components/bal-time-input/bal-time-input.interfaces.d.ts +0 -18
- package/dist/types/components/bal-time-input/bal-time-input.util.d.ts +0 -7
- package/dist/types/components/bal-toast/bal-toast.controller.d.ts +0 -10
- package/dist/types/components/bal-toast/bal-toast.d.ts +0 -41
- package/dist/types/components/bal-toast/bal-toast.interfaces.d.ts +0 -11
- package/dist/types/components/bal-tooltip/bal-tooltip.d.ts +0 -82
- package/dist/types/components/bal-tooltip/bal-tooltip.interfaces.d.ts +0 -17
- package/dist/types/components/bal-tooltip/bal-tooltip.util.d.ts +0 -6
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/bal-tag.po.d.ts +0 -8
- package/dist/types/initialize.d.ts +0 -2
- package/dist/types/test/css-spacing.visual.play.d.ts +0 -1
- package/dist/types/test/css-structure.visual.play.d.ts +0 -1
- package/dist/types/test/css-typography.visual.play.d.ts +0 -1
- package/dist/types/test/theme-compact.visual.play.d.ts +0 -1
- package/dist/types/utils/animation/animation.decorator.d.ts +0 -3
- package/dist/types/utils/animation/animation.interfaces.d.ts +0 -8
- package/dist/types/utils/animation/animation.listener.d.ts +0 -10
- package/dist/types/utils/animation/animation.subject.d.ts +0 -9
- package/dist/types/utils/animation/index.d.ts +0 -2
- package/dist/types/utils/bem.d.ts +0 -9
- package/dist/types/utils/config/config.const.d.ts +0 -1
- package/dist/types/utils/config/config.d.ts +0 -39
- package/dist/types/utils/config/config.decorator.d.ts +0 -3
- package/dist/types/utils/config/config.default.d.ts +0 -33
- package/dist/types/utils/config/config.types.d.ts +0 -48
- package/dist/types/utils/config/config.utils.d.ts +0 -15
- package/dist/types/utils/config/initialize.d.ts +0 -3
- package/dist/types/utils/config/observable/observer.d.ts +0 -4
- package/dist/types/utils/config/observable/subject.d.ts +0 -6
- package/dist/types/utils/constants/version.constant.d.ts +0 -1
- package/dist/types/utils/css-classes.d.ts +0 -5
- package/dist/types/utils/dropdown/auto-fill.d.ts +0 -8
- package/dist/types/utils/dropdown/component.d.ts +0 -36
- package/dist/types/utils/dropdown/dropdown.i18n.d.ts +0 -8
- package/dist/types/utils/dropdown/events.d.ts +0 -15
- package/dist/types/utils/dropdown/filters.d.ts +0 -2
- package/dist/types/utils/dropdown/focus.d.ts +0 -13
- package/dist/types/utils/dropdown/form-submit.d.ts +0 -22
- package/dist/types/utils/dropdown/icon.d.ts +0 -15
- package/dist/types/utils/dropdown/index.d.ts +0 -12
- package/dist/types/utils/dropdown/input.d.ts +0 -26
- package/dist/types/utils/dropdown/option.d.ts +0 -25
- package/dist/types/utils/dropdown/popup.d.ts +0 -11
- package/dist/types/utils/dropdown/value.d.ts +0 -26
- package/dist/types/utils/floating-ui.d.ts +0 -15
- package/dist/types/utils/focus/focus.decorator.d.ts +0 -3
- package/dist/types/utils/focus/focus.interfaces.d.ts +0 -13
- package/dist/types/utils/focus/focus.listener.d.ts +0 -9
- package/dist/types/utils/focus/focus.subject.d.ts +0 -8
- package/dist/types/utils/focus/index.d.ts +0 -2
- package/dist/types/utils/focus-visible.d.ts +0 -6
- package/dist/types/utils/form-input.d.ts +0 -31
- package/dist/types/utils/form.d.ts +0 -17
- package/dist/types/utils/framework-delegate.d.ts +0 -9
- package/dist/types/utils/legacy.d.ts +0 -23
- package/dist/types/utils/mask/__test__/mask-component.mock.d.ts +0 -28
- package/dist/types/utils/mask/__test__/mask-context.mocks.d.ts +0 -4
- package/dist/types/utils/mask/__test__/mask.mock.d.ts +0 -15
- package/dist/types/utils/mask/blocks/index.d.ts +0 -3
- package/dist/types/utils/mask/blocks/mask-block-interfaces.d.ts +0 -11
- package/dist/types/utils/mask/blocks/mask-block-list.d.ts +0 -17
- package/dist/types/utils/mask/blocks/mask-block.d.ts +0 -21
- package/dist/types/utils/mask/component/index.d.ts +0 -2
- package/dist/types/utils/mask/component/mask-component-adapter.d.ts +0 -23
- package/dist/types/utils/mask/component/mask-component-interfaces.d.ts +0 -44
- package/dist/types/utils/mask/context/index.d.ts +0 -9
- package/dist/types/utils/mask/context/mask-clipboard-context.d.ts +0 -10
- package/dist/types/utils/mask/context/mask-context-interfaces.d.ts +0 -11
- package/dist/types/utils/mask/context/mask-context.d.ts +0 -18
- package/dist/types/utils/mask/context/mask-focus-context.d.ts +0 -6
- package/dist/types/utils/mask/context/mask-keyboard-context.d.ts +0 -25
- package/dist/types/utils/mask/context/mask-locale-context.d.ts +0 -8
- package/dist/types/utils/mask/context/mask-mouse-context.d.ts +0 -6
- package/dist/types/utils/mask/context/mask-position.d.ts +0 -25
- package/dist/types/utils/mask/context/mask-value-changed-context.d.ts +0 -11
- package/dist/types/utils/mask/index.d.ts +0 -5
- package/dist/types/utils/mask/mask-interfaces.d.ts +0 -15
- package/dist/types/utils/mask/mask-util.d.ts +0 -1
- package/dist/types/utils/mask/mask.d.ts +0 -54
- package/dist/types/utils/mask/types/index.d.ts +0 -1
- package/dist/types/utils/mask/types/mask-date.d.ts +0 -18
- package/dist/types/utils/mutation/index.d.ts +0 -2
- package/dist/types/utils/mutation/mutation.decorator.d.ts +0 -3
- package/dist/types/utils/mutation/mutation.interfaces.d.ts +0 -11
- package/dist/types/utils/mutation/mutation.listener.d.ts +0 -14
- package/dist/types/utils/mutation/mutation.subject.d.ts +0 -10
- package/dist/types/utils/overlays/focus-trap.d.ts +0 -36
- package/dist/types/utils/overlays/notice.controller.d.ts +0 -36
- package/dist/types/utils/overlays/overlays.d.ts +0 -25
- package/dist/types/utils/string.d.ts +0 -1
- package/dist/types/utils/style.d.ts +0 -10
- package/dist/types/utils/swiper/controls/dot-control.d.ts +0 -11
- package/dist/types/utils/swiper/controls/index.d.ts +0 -3
- package/dist/types/utils/swiper/controls/large-control.d.ts +0 -13
- package/dist/types/utils/swiper/controls/small-control.d.ts +0 -12
- package/dist/types/utils/swiper/index.d.ts +0 -2
- package/dist/types/utils/swiper/swiper.i18n.d.ts +0 -7
- package/dist/types/utils/swiper/swiper.type.d.ts +0 -33
- package/dist/types/utils/swiper/swiper.util.d.ts +0 -92
- package/dist/types/utils/visibility/index.d.ts +0 -2
- package/dist/types/utils/visibility/visibility.decorator.d.ts +0 -3
- package/dist/types/utils/visibility/visibility.interfaces.d.ts +0 -5
- package/dist/types/utils/visibility/visibility.listener.d.ts +0 -10
- package/dist/types/utils/visibility/visibility.subject.d.ts +0 -9
- /package/dist/collection/components/{bal-checkbox/bal-checkbox.type.js → app/app.interfaces.js} +0 -0
- /package/dist/collection/components/{bal-modal/bal-modal.type.js → number-input/number-input.interfaces.js} +0 -0
- /package/dist/collection/components/{bal-nav/bal-nav.types.js → segment/segment-item.type.js} +0 -0
- /package/dist/collection/{components/bal-popup/variants/variant.interfaces.js → global/component.type.js} +0 -0
- /package/dist/collection/{utils → global}/config/config.types.js +0 -0
- /package/dist/collection/{utils → global}/config/observable/observer.js +0 -0
- /package/dist/collection/{utils → global}/config/observable/subject.js +0 -0
- /package/dist/collection/{components/bal-radio/bal-radio.type.js → utils/property-checkers/property-types.js} +0 -0
- /package/dist/{collection/components/bal-segment/bal-segment.types.js → types/components/accordion/test/accordion.a11y.play.d.ts} +0 -0
- /package/dist/{collection/components/bal-select/utils/bal-option.type.js → types/components/accordion/test/accordion.component.play.d.ts} +0 -0
- /package/dist/{collection/components/bal-steps/bal-step.type.js → types/components/accordion/test/accordion.visual.play.d.ts} +0 -0
- /package/dist/{collection/components/bal-tabs/bal-tab.type.js → types/components/alert/test/alert.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/animation/animation.interfaces.js → types/components/alert/test/snackbar.a11y.play.d.ts} +0 -0
- /package/dist/{collection/utils/dropdown/component.js → types/components/alert/test/snackbar.component.play.d.ts} +0 -0
- /package/dist/{collection/utils/focus/focus.interfaces.js → types/components/alert/test/snackbar.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/mask/blocks/mask-block-interfaces.js → types/components/alert/test/toast.a11y.play.d.ts} +0 -0
- /package/dist/{collection/utils/mask/component/mask-component-interfaces.js → types/components/alert/test/toast.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/mask/context/mask-context-interfaces.js → types/components/badge/test/badge.a11y.play.d.ts} +0 -0
- /package/dist/{collection/utils/mask/mask-interfaces.js → types/components/badge/test/badge.component.play.d.ts} +0 -0
- /package/dist/{collection/utils/mutation/mutation.interfaces.js → types/components/badge/test/badge.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/swiper/swiper.type.js → types/components/button/test/button-group.visual.play.d.ts} +0 -0
- /package/dist/{collection/utils/visibility/visibility.interfaces.js → types/components/button/test/button.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-accordion/test/bal-accordion.visual.play.d.ts → button/test/button.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-badge/test/bal-badge.visual.play.d.ts → button/test/button.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-button/test/bal-button.visual.play.d.ts → card/test/card.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-card/test/bal-card.visual.play.d.ts → card/test/card.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-carousel/test/bal-carousel.visual.play.d.ts → card/test/card.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-checkbox/test/bal-checkbox-icons.visual.play.d.ts → checkbox/test/checkbox.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-checkbox/test/bal-checkbox-tiles.visual.play.d.ts → checkbox/test/checkbox.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-checkbox/test/bal-checkbox.visual.play.d.ts → checkbox/test/checkbox.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-close/test/bal-close.visual.play.d.ts → close/test/close.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-content/test/bal-content.visual.play.d.ts → close/test/close.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-data/test/bal-data.visual.play.d.ts → close/test/close.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-date/test/bal-date.visual.play.d.ts → container/test/container.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-divider/test/bal-divider.visual.play.d.ts → content/test/content.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-dropdown/test/bal-dropdown.visual.play.d.ts → content/test/content.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-field/test/bal-field-horizontal.visual.play.d.ts → divider/test/divider.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-field/test/bal-field.visual.play.d.ts → divider/test/divider.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-file-upload/test/bal-file-upload.visual.play.d.ts → divider/test/divider.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-footer/test/bal-footer.visual.play.d.ts → form/test/form.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-form-grid/test/bal-form-grid.visual.play.d.ts → grid/test/grid.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-heading/test/bal-heading.visual.play.d.ts → heading/test/heading.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-hint/test/bal-hint.visual.play.d.ts → heading/test/heading.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-icon/test/bal-icon.visual.play.d.ts → heading/test/heading.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-input-group/test/bal-input-group.visual.play.d.ts → icon/test/icon.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-input-slider/test/bal-input-slider.visual.play.d.ts → icon/test/icon.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-input-stepper/test/bal-input-stepper.visual.play.d.ts → icon/test/icon.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-input/test/bal-input.visual.play.d.ts → input/test/input.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-label/test/bal-label.visual.play.d.ts → input/test/input.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-list/test/bal-list.visual.play.d.ts → input/test/input.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-logo/test/bal-logo.visual.play.d.ts → label/test/label.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-modal/test/bal-modal.visual.play.d.ts → label/test/label.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-nav/test/bal-nav-colors.visual.play.d.ts → label/test/label.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-nav/test/bal-nav-long.visual.play.d.ts → link/test/link.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-nav/test/bal-nav.visual.play.d.ts → link/test/link.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-navbar/test/bal-navbar.visual.play.d.ts → list/test/list-native.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-notification/test/bal-notification.visual.play.d.ts → list/test/list.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-number-input/test/bal-number-input.visual.play.d.ts → logo/test/logo.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-option-list/test/bal-option-list.visual.play.d.ts → logo/test/logo.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-option/test/bal-option.visual.play.d.ts → logo/test/logo.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-pagination/test/bal-pagination.visual.play.d.ts → notification/test/notification.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-popover/test/bal-popover.visual.play.d.ts → notification/test/notification.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-popup/test/bal-popup.visual.play.d.ts → notification/test/notification.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-number-input/bal-number-input.utils.d.ts → number-input/number-input.utils.d.ts} +0 -0
- /package/dist/types/components/{bal-progress-bar/test/bal-progress-bar.visual.play.d.ts → number-input/test/number-input.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-radio/test/bal-radio-icons.visual.play.d.ts → number-input/test/number-input.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-radio/test/bal-radio-tiles.visual.play.d.ts → number-input/test/number-input.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-radio/test/bal-radio.visual.play.d.ts → pagination/test/pagination.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-segment/test/bal-segment.visual.play.d.ts → pagination/test/pagination.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-select/test/bal-select-multiple.visual.play.d.ts → pagination/test/pagination.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-select/test/bal-select.visual.play.d.ts → progress-bar/test/progress-bar.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-shape/test/bal-shape.visual.play.d.ts → progress-bar/test/progress-bar.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-sheet/test/bal-sheet.visual.play.d.ts → radio/test/radio.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-snackbar/test/bal-snackbar.visual.play.d.ts → radio/test/radio.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-stack/test/bal-stack.visual.play.d.ts → radio/test/radio.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-stage/test/bal-stage.visual.play.d.ts → segment/test/segment.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-steps/test/bal-steps.visual.play.d.ts → segment/test/segment.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-table/test/bal-table.visual.play.d.ts → segment/test/segment.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-tabs/test/bal-tabs.visual.play.d.ts → shape/test/shape.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-tag/test/bal-tag.a11y.play.d.ts → shape/test/shape.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-spinner/bal-spinner.animation.d.ts → spinner/spinner.animation.d.ts} +0 -0
- /package/dist/types/components/{bal-tag/test/bal-tag.component.play.d.ts → spinner/test/spinner.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-tag/test/bal-tag.visual.play.d.ts → spinner/test/spinner.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-text/test/bal-text.visual.play.d.ts → stack/test/stack.component.play.d.ts} +0 -0
- /package/dist/types/components/{bal-textarea/test/bal-textarea.visual.play.d.ts → stack/test/stack.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-time-input/test/bal-time-input.visual.play.d.ts → table/test/table.visual.play.d.ts} +0 -0
- /package/dist/types/components/{bal-toast/test/bal-toast.visual.play.d.ts → tag/test/tag.a11y.play.d.ts} +0 -0
- /package/dist/types/components/{bal-tooltip/test/bal-tooltip.visual.play.d.ts → tag/test/tag.component.play.d.ts} +0 -0
- /package/dist/types/{test/css-border.visual.play.d.ts → components/tag/test/tag.visual.play.d.ts} +0 -0
- /package/dist/types/{test/css-color.visual.play.d.ts → components/text/test/text.a11y.play.d.ts} +0 -0
- /package/dist/types/{test/css-core.visual.play.d.ts → components/text/test/text.component.play.d.ts} +0 -0
- /package/dist/types/{test/css-display.visual.play.d.ts → components/text/test/text.visual.play.d.ts} +0 -0
- /package/dist/types/{test/css-flex.visual.play.d.ts → components/textarea/test/textarea.a11y.play.d.ts} +0 -0
- /package/dist/types/{test/css-grid.visual.play.d.ts → components/textarea/test/textarea.component.play.d.ts} +0 -0
- /package/dist/types/{test/css-inheritance.visual.play.d.ts → components/textarea/test/textarea.visual.play.d.ts} +0 -0
- /package/dist/types/{test/css-opacity.visual.play.d.ts → components/toggle/test/toggle.a11y.play.d.ts} +0 -0
- /package/dist/types/{test/css-radius.visual.play.d.ts → components/toggle/test/toggle.component.play.d.ts} +0 -0
- /package/dist/types/{test/css-shadow.visual.play.d.ts → components/toggle/test/toggle.visual.play.d.ts} +0 -0
- /package/dist/types/{utils → global}/config/index.d.ts +0 -0
- /package/dist/types/{utils → global}/constants/keys.constant.d.ts +0 -0
- /package/dist/types/{tags-all.d.ts → global/constants/tags.constant.d.ts} +0 -0
- /package/dist/types/{global.d.ts → global/global.d.ts} +0 -0
|
@@ -1,2100 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom positioning reference element.
|
|
3
|
-
* @see https://floating-ui.com/docs/virtual-elements
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
|
7
|
-
const alignments = ['start', 'end'];
|
|
8
|
-
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
9
|
-
const min = Math.min;
|
|
10
|
-
const max = Math.max;
|
|
11
|
-
const round = Math.round;
|
|
12
|
-
const floor = Math.floor;
|
|
13
|
-
const createCoords = v => ({
|
|
14
|
-
x: v,
|
|
15
|
-
y: v
|
|
16
|
-
});
|
|
17
|
-
const oppositeSideMap = {
|
|
18
|
-
left: 'right',
|
|
19
|
-
right: 'left',
|
|
20
|
-
bottom: 'top',
|
|
21
|
-
top: 'bottom'
|
|
22
|
-
};
|
|
23
|
-
function clamp(start, value, end) {
|
|
24
|
-
return max(start, min(value, end));
|
|
25
|
-
}
|
|
26
|
-
function evaluate(value, param) {
|
|
27
|
-
return typeof value === 'function' ? value(param) : value;
|
|
28
|
-
}
|
|
29
|
-
function getSide(placement) {
|
|
30
|
-
return placement.split('-')[0];
|
|
31
|
-
}
|
|
32
|
-
function getAlignment(placement) {
|
|
33
|
-
return placement.split('-')[1];
|
|
34
|
-
}
|
|
35
|
-
function getOppositeAxis(axis) {
|
|
36
|
-
return axis === 'x' ? 'y' : 'x';
|
|
37
|
-
}
|
|
38
|
-
function getAxisLength(axis) {
|
|
39
|
-
return axis === 'y' ? 'height' : 'width';
|
|
40
|
-
}
|
|
41
|
-
function getSideAxis(placement) {
|
|
42
|
-
const firstChar = placement[0];
|
|
43
|
-
return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
|
|
44
|
-
}
|
|
45
|
-
function getAlignmentAxis(placement) {
|
|
46
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
47
|
-
}
|
|
48
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
49
|
-
if (rtl === void 0) {
|
|
50
|
-
rtl = false;
|
|
51
|
-
}
|
|
52
|
-
const alignment = getAlignment(placement);
|
|
53
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
54
|
-
const length = getAxisLength(alignmentAxis);
|
|
55
|
-
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
56
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
57
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
58
|
-
}
|
|
59
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
60
|
-
}
|
|
61
|
-
function getExpandedPlacements(placement) {
|
|
62
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
63
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
64
|
-
}
|
|
65
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
66
|
-
return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
|
|
67
|
-
}
|
|
68
|
-
const lrPlacement = ['left', 'right'];
|
|
69
|
-
const rlPlacement = ['right', 'left'];
|
|
70
|
-
const tbPlacement = ['top', 'bottom'];
|
|
71
|
-
const btPlacement = ['bottom', 'top'];
|
|
72
|
-
function getSideList(side, isStart, rtl) {
|
|
73
|
-
switch (side) {
|
|
74
|
-
case 'top':
|
|
75
|
-
case 'bottom':
|
|
76
|
-
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
77
|
-
return isStart ? lrPlacement : rlPlacement;
|
|
78
|
-
case 'left':
|
|
79
|
-
case 'right':
|
|
80
|
-
return isStart ? tbPlacement : btPlacement;
|
|
81
|
-
default:
|
|
82
|
-
return [];
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
86
|
-
const alignment = getAlignment(placement);
|
|
87
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
88
|
-
if (alignment) {
|
|
89
|
-
list = list.map(side => side + "-" + alignment);
|
|
90
|
-
if (flipAlignment) {
|
|
91
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
return list;
|
|
95
|
-
}
|
|
96
|
-
function getOppositePlacement(placement) {
|
|
97
|
-
const side = getSide(placement);
|
|
98
|
-
return oppositeSideMap[side] + placement.slice(side.length);
|
|
99
|
-
}
|
|
100
|
-
function expandPaddingObject(padding) {
|
|
101
|
-
return {
|
|
102
|
-
top: 0,
|
|
103
|
-
right: 0,
|
|
104
|
-
bottom: 0,
|
|
105
|
-
left: 0,
|
|
106
|
-
...padding
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
function getPaddingObject(padding) {
|
|
110
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
111
|
-
top: padding,
|
|
112
|
-
right: padding,
|
|
113
|
-
bottom: padding,
|
|
114
|
-
left: padding
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
function rectToClientRect(rect) {
|
|
118
|
-
const {
|
|
119
|
-
x,
|
|
120
|
-
y,
|
|
121
|
-
width,
|
|
122
|
-
height
|
|
123
|
-
} = rect;
|
|
124
|
-
return {
|
|
125
|
-
width,
|
|
126
|
-
height,
|
|
127
|
-
top: y,
|
|
128
|
-
left: x,
|
|
129
|
-
right: x + width,
|
|
130
|
-
bottom: y + height,
|
|
131
|
-
x,
|
|
132
|
-
y
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
137
|
-
let {
|
|
138
|
-
reference,
|
|
139
|
-
floating
|
|
140
|
-
} = _ref;
|
|
141
|
-
const sideAxis = getSideAxis(placement);
|
|
142
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
143
|
-
const alignLength = getAxisLength(alignmentAxis);
|
|
144
|
-
const side = getSide(placement);
|
|
145
|
-
const isVertical = sideAxis === 'y';
|
|
146
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
147
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
148
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
149
|
-
let coords;
|
|
150
|
-
switch (side) {
|
|
151
|
-
case 'top':
|
|
152
|
-
coords = {
|
|
153
|
-
x: commonX,
|
|
154
|
-
y: reference.y - floating.height
|
|
155
|
-
};
|
|
156
|
-
break;
|
|
157
|
-
case 'bottom':
|
|
158
|
-
coords = {
|
|
159
|
-
x: commonX,
|
|
160
|
-
y: reference.y + reference.height
|
|
161
|
-
};
|
|
162
|
-
break;
|
|
163
|
-
case 'right':
|
|
164
|
-
coords = {
|
|
165
|
-
x: reference.x + reference.width,
|
|
166
|
-
y: commonY
|
|
167
|
-
};
|
|
168
|
-
break;
|
|
169
|
-
case 'left':
|
|
170
|
-
coords = {
|
|
171
|
-
x: reference.x - floating.width,
|
|
172
|
-
y: commonY
|
|
173
|
-
};
|
|
174
|
-
break;
|
|
175
|
-
default:
|
|
176
|
-
coords = {
|
|
177
|
-
x: reference.x,
|
|
178
|
-
y: reference.y
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
switch (getAlignment(placement)) {
|
|
182
|
-
case 'start':
|
|
183
|
-
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
184
|
-
break;
|
|
185
|
-
case 'end':
|
|
186
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
187
|
-
break;
|
|
188
|
-
}
|
|
189
|
-
return coords;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
194
|
-
* element is overflowing a given clipping boundary on each side.
|
|
195
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
196
|
-
* - negative = how many pixels left before it will overflow
|
|
197
|
-
* - 0 = lies flush with the boundary
|
|
198
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
199
|
-
*/
|
|
200
|
-
async function detectOverflow$1(state, options) {
|
|
201
|
-
var _await$platform$isEle;
|
|
202
|
-
if (options === void 0) {
|
|
203
|
-
options = {};
|
|
204
|
-
}
|
|
205
|
-
const {
|
|
206
|
-
x,
|
|
207
|
-
y,
|
|
208
|
-
platform,
|
|
209
|
-
rects,
|
|
210
|
-
elements,
|
|
211
|
-
strategy
|
|
212
|
-
} = state;
|
|
213
|
-
const {
|
|
214
|
-
boundary = 'clippingAncestors',
|
|
215
|
-
rootBoundary = 'viewport',
|
|
216
|
-
elementContext = 'floating',
|
|
217
|
-
altBoundary = false,
|
|
218
|
-
padding = 0
|
|
219
|
-
} = evaluate(options, state);
|
|
220
|
-
const paddingObject = getPaddingObject(padding);
|
|
221
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
222
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
223
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
224
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
225
|
-
boundary,
|
|
226
|
-
rootBoundary,
|
|
227
|
-
strategy
|
|
228
|
-
}));
|
|
229
|
-
const rect = elementContext === 'floating' ? {
|
|
230
|
-
x,
|
|
231
|
-
y,
|
|
232
|
-
width: rects.floating.width,
|
|
233
|
-
height: rects.floating.height
|
|
234
|
-
} : rects.reference;
|
|
235
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
236
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
237
|
-
x: 1,
|
|
238
|
-
y: 1
|
|
239
|
-
} : {
|
|
240
|
-
x: 1,
|
|
241
|
-
y: 1
|
|
242
|
-
};
|
|
243
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
244
|
-
elements,
|
|
245
|
-
rect,
|
|
246
|
-
offsetParent,
|
|
247
|
-
strategy
|
|
248
|
-
}) : rect);
|
|
249
|
-
return {
|
|
250
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
251
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
252
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
253
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
// Maximum number of resets that can occur before bailing to avoid infinite reset loops.
|
|
258
|
-
const MAX_RESET_COUNT = 50;
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
262
|
-
* next to a given reference element.
|
|
263
|
-
*
|
|
264
|
-
* This export does not have any `platform` interface logic. You will need to
|
|
265
|
-
* write one for the platform you are using Floating UI with.
|
|
266
|
-
*/
|
|
267
|
-
const computePosition$1 = async (reference, floating, config) => {
|
|
268
|
-
const {
|
|
269
|
-
placement = 'bottom',
|
|
270
|
-
strategy = 'absolute',
|
|
271
|
-
middleware = [],
|
|
272
|
-
platform
|
|
273
|
-
} = config;
|
|
274
|
-
const platformWithDetectOverflow = platform.detectOverflow ? platform : {
|
|
275
|
-
...platform,
|
|
276
|
-
detectOverflow: detectOverflow$1
|
|
277
|
-
};
|
|
278
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
279
|
-
let rects = await platform.getElementRects({
|
|
280
|
-
reference,
|
|
281
|
-
floating,
|
|
282
|
-
strategy
|
|
283
|
-
});
|
|
284
|
-
let {
|
|
285
|
-
x,
|
|
286
|
-
y
|
|
287
|
-
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
288
|
-
let statefulPlacement = placement;
|
|
289
|
-
let resetCount = 0;
|
|
290
|
-
const middlewareData = {};
|
|
291
|
-
for (let i = 0; i < middleware.length; i++) {
|
|
292
|
-
const currentMiddleware = middleware[i];
|
|
293
|
-
if (!currentMiddleware) {
|
|
294
|
-
continue;
|
|
295
|
-
}
|
|
296
|
-
const {
|
|
297
|
-
name,
|
|
298
|
-
fn
|
|
299
|
-
} = currentMiddleware;
|
|
300
|
-
const {
|
|
301
|
-
x: nextX,
|
|
302
|
-
y: nextY,
|
|
303
|
-
data,
|
|
304
|
-
reset
|
|
305
|
-
} = await fn({
|
|
306
|
-
x,
|
|
307
|
-
y,
|
|
308
|
-
initialPlacement: placement,
|
|
309
|
-
placement: statefulPlacement,
|
|
310
|
-
strategy,
|
|
311
|
-
middlewareData,
|
|
312
|
-
rects,
|
|
313
|
-
platform: platformWithDetectOverflow,
|
|
314
|
-
elements: {
|
|
315
|
-
reference,
|
|
316
|
-
floating
|
|
317
|
-
}
|
|
318
|
-
});
|
|
319
|
-
x = nextX != null ? nextX : x;
|
|
320
|
-
y = nextY != null ? nextY : y;
|
|
321
|
-
middlewareData[name] = {
|
|
322
|
-
...middlewareData[name],
|
|
323
|
-
...data
|
|
324
|
-
};
|
|
325
|
-
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
326
|
-
resetCount++;
|
|
327
|
-
if (typeof reset === 'object') {
|
|
328
|
-
if (reset.placement) {
|
|
329
|
-
statefulPlacement = reset.placement;
|
|
330
|
-
}
|
|
331
|
-
if (reset.rects) {
|
|
332
|
-
rects = reset.rects === true ? await platform.getElementRects({
|
|
333
|
-
reference,
|
|
334
|
-
floating,
|
|
335
|
-
strategy
|
|
336
|
-
}) : reset.rects;
|
|
337
|
-
}
|
|
338
|
-
({
|
|
339
|
-
x,
|
|
340
|
-
y
|
|
341
|
-
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
342
|
-
}
|
|
343
|
-
i = -1;
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
return {
|
|
347
|
-
x,
|
|
348
|
-
y,
|
|
349
|
-
placement: statefulPlacement,
|
|
350
|
-
strategy,
|
|
351
|
-
middlewareData
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Provides data to position an inner element of the floating element so that it
|
|
357
|
-
* appears centered to the reference element.
|
|
358
|
-
* @see https://floating-ui.com/docs/arrow
|
|
359
|
-
*/
|
|
360
|
-
const arrow$1 = options => ({
|
|
361
|
-
name: 'arrow',
|
|
362
|
-
options,
|
|
363
|
-
async fn(state) {
|
|
364
|
-
const {
|
|
365
|
-
x,
|
|
366
|
-
y,
|
|
367
|
-
placement,
|
|
368
|
-
rects,
|
|
369
|
-
platform,
|
|
370
|
-
elements,
|
|
371
|
-
middlewareData
|
|
372
|
-
} = state;
|
|
373
|
-
// Since `element` is required, we don't Partial<> the type.
|
|
374
|
-
const {
|
|
375
|
-
element,
|
|
376
|
-
padding = 0
|
|
377
|
-
} = evaluate(options, state) || {};
|
|
378
|
-
if (element == null) {
|
|
379
|
-
return {};
|
|
380
|
-
}
|
|
381
|
-
const paddingObject = getPaddingObject(padding);
|
|
382
|
-
const coords = {
|
|
383
|
-
x,
|
|
384
|
-
y
|
|
385
|
-
};
|
|
386
|
-
const axis = getAlignmentAxis(placement);
|
|
387
|
-
const length = getAxisLength(axis);
|
|
388
|
-
const arrowDimensions = await platform.getDimensions(element);
|
|
389
|
-
const isYAxis = axis === 'y';
|
|
390
|
-
const minProp = isYAxis ? 'top' : 'left';
|
|
391
|
-
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
392
|
-
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
393
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
394
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
|
395
|
-
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
396
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
397
|
-
|
|
398
|
-
// DOM platform can return `window` as the `offsetParent`.
|
|
399
|
-
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
400
|
-
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
401
|
-
}
|
|
402
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
403
|
-
|
|
404
|
-
// If the padding is large enough that it causes the arrow to no longer be
|
|
405
|
-
// centered, modify the padding so that it is centered.
|
|
406
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
407
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
408
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
409
|
-
|
|
410
|
-
// Make sure the arrow doesn't overflow the floating element if the center
|
|
411
|
-
// point is outside the floating element's bounds.
|
|
412
|
-
const min$1 = minPadding;
|
|
413
|
-
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
414
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
415
|
-
const offset = clamp(min$1, center, max);
|
|
416
|
-
|
|
417
|
-
// If the reference is small enough that the arrow's padding causes it to
|
|
418
|
-
// to point to nothing for an aligned placement, adjust the offset of the
|
|
419
|
-
// floating element itself. To ensure `shift()` continues to take action,
|
|
420
|
-
// a single reset is performed when this is true.
|
|
421
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
422
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
423
|
-
return {
|
|
424
|
-
[axis]: coords[axis] + alignmentOffset,
|
|
425
|
-
data: {
|
|
426
|
-
[axis]: offset,
|
|
427
|
-
centerOffset: center - offset - alignmentOffset,
|
|
428
|
-
...(shouldAddOffset && {
|
|
429
|
-
alignmentOffset
|
|
430
|
-
})
|
|
431
|
-
},
|
|
432
|
-
reset: shouldAddOffset
|
|
433
|
-
};
|
|
434
|
-
}
|
|
435
|
-
});
|
|
436
|
-
|
|
437
|
-
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
438
|
-
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
439
|
-
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
440
|
-
if (alignment) {
|
|
441
|
-
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
|
442
|
-
}
|
|
443
|
-
return true;
|
|
444
|
-
});
|
|
445
|
-
}
|
|
446
|
-
/**
|
|
447
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
|
448
|
-
* that has the most space available automatically, without needing to specify a
|
|
449
|
-
* preferred placement. Alternative to `flip`.
|
|
450
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
451
|
-
*/
|
|
452
|
-
const autoPlacement$1 = function (options) {
|
|
453
|
-
if (options === void 0) {
|
|
454
|
-
options = {};
|
|
455
|
-
}
|
|
456
|
-
return {
|
|
457
|
-
name: 'autoPlacement',
|
|
458
|
-
options,
|
|
459
|
-
async fn(state) {
|
|
460
|
-
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
|
461
|
-
const {
|
|
462
|
-
rects,
|
|
463
|
-
middlewareData,
|
|
464
|
-
placement,
|
|
465
|
-
platform,
|
|
466
|
-
elements
|
|
467
|
-
} = state;
|
|
468
|
-
const {
|
|
469
|
-
crossAxis = false,
|
|
470
|
-
alignment,
|
|
471
|
-
allowedPlacements = placements,
|
|
472
|
-
autoAlignment = true,
|
|
473
|
-
...detectOverflowOptions
|
|
474
|
-
} = evaluate(options, state);
|
|
475
|
-
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
476
|
-
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
477
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
478
|
-
const currentPlacement = placements$1[currentIndex];
|
|
479
|
-
if (currentPlacement == null) {
|
|
480
|
-
return {};
|
|
481
|
-
}
|
|
482
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
483
|
-
|
|
484
|
-
// Make `computeCoords` start from the right place.
|
|
485
|
-
if (placement !== currentPlacement) {
|
|
486
|
-
return {
|
|
487
|
-
reset: {
|
|
488
|
-
placement: placements$1[0]
|
|
489
|
-
}
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
493
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
494
|
-
placement: currentPlacement,
|
|
495
|
-
overflows: currentOverflows
|
|
496
|
-
}];
|
|
497
|
-
const nextPlacement = placements$1[currentIndex + 1];
|
|
498
|
-
|
|
499
|
-
// There are more placements to check.
|
|
500
|
-
if (nextPlacement) {
|
|
501
|
-
return {
|
|
502
|
-
data: {
|
|
503
|
-
index: currentIndex + 1,
|
|
504
|
-
overflows: allOverflows
|
|
505
|
-
},
|
|
506
|
-
reset: {
|
|
507
|
-
placement: nextPlacement
|
|
508
|
-
}
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
|
-
const placementsSortedByMostSpace = allOverflows.map(d => {
|
|
512
|
-
const alignment = getAlignment(d.placement);
|
|
513
|
-
return [d.placement, alignment && crossAxis ?
|
|
514
|
-
// Check along the mainAxis and main crossAxis side.
|
|
515
|
-
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
|
516
|
-
// Check only the mainAxis.
|
|
517
|
-
d.overflows[0], d.overflows];
|
|
518
|
-
}).sort((a, b) => a[1] - b[1]);
|
|
519
|
-
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
|
520
|
-
// Aligned placements should not check their opposite crossAxis
|
|
521
|
-
// side.
|
|
522
|
-
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
523
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
524
|
-
if (resetPlacement !== placement) {
|
|
525
|
-
return {
|
|
526
|
-
data: {
|
|
527
|
-
index: currentIndex + 1,
|
|
528
|
-
overflows: allOverflows
|
|
529
|
-
},
|
|
530
|
-
reset: {
|
|
531
|
-
placement: resetPlacement
|
|
532
|
-
}
|
|
533
|
-
};
|
|
534
|
-
}
|
|
535
|
-
return {};
|
|
536
|
-
}
|
|
537
|
-
};
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
542
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
543
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
544
|
-
* @see https://floating-ui.com/docs/flip
|
|
545
|
-
*/
|
|
546
|
-
const flip$1 = function (options) {
|
|
547
|
-
if (options === void 0) {
|
|
548
|
-
options = {};
|
|
549
|
-
}
|
|
550
|
-
return {
|
|
551
|
-
name: 'flip',
|
|
552
|
-
options,
|
|
553
|
-
async fn(state) {
|
|
554
|
-
var _middlewareData$arrow, _middlewareData$flip;
|
|
555
|
-
const {
|
|
556
|
-
placement,
|
|
557
|
-
middlewareData,
|
|
558
|
-
rects,
|
|
559
|
-
initialPlacement,
|
|
560
|
-
platform,
|
|
561
|
-
elements
|
|
562
|
-
} = state;
|
|
563
|
-
const {
|
|
564
|
-
mainAxis: checkMainAxis = true,
|
|
565
|
-
crossAxis: checkCrossAxis = true,
|
|
566
|
-
fallbackPlacements: specifiedFallbackPlacements,
|
|
567
|
-
fallbackStrategy = 'bestFit',
|
|
568
|
-
fallbackAxisSideDirection = 'none',
|
|
569
|
-
flipAlignment = true,
|
|
570
|
-
...detectOverflowOptions
|
|
571
|
-
} = evaluate(options, state);
|
|
572
|
-
|
|
573
|
-
// If a reset by the arrow was caused due to an alignment offset being
|
|
574
|
-
// added, we should skip any logic now since `flip()` has already done its
|
|
575
|
-
// work.
|
|
576
|
-
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
577
|
-
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
578
|
-
return {};
|
|
579
|
-
}
|
|
580
|
-
const side = getSide(placement);
|
|
581
|
-
const initialSideAxis = getSideAxis(initialPlacement);
|
|
582
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
583
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
584
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
585
|
-
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
586
|
-
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
587
|
-
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
588
|
-
}
|
|
589
|
-
const placements = [initialPlacement, ...fallbackPlacements];
|
|
590
|
-
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
591
|
-
const overflows = [];
|
|
592
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
593
|
-
if (checkMainAxis) {
|
|
594
|
-
overflows.push(overflow[side]);
|
|
595
|
-
}
|
|
596
|
-
if (checkCrossAxis) {
|
|
597
|
-
const sides = getAlignmentSides(placement, rects, rtl);
|
|
598
|
-
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
599
|
-
}
|
|
600
|
-
overflowsData = [...overflowsData, {
|
|
601
|
-
placement,
|
|
602
|
-
overflows
|
|
603
|
-
}];
|
|
604
|
-
|
|
605
|
-
// One or more sides is overflowing.
|
|
606
|
-
if (!overflows.every(side => side <= 0)) {
|
|
607
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
|
608
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
609
|
-
const nextPlacement = placements[nextIndex];
|
|
610
|
-
if (nextPlacement) {
|
|
611
|
-
const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
612
|
-
if (!ignoreCrossAxisOverflow ||
|
|
613
|
-
// We leave the current main axis only if every placement on that axis
|
|
614
|
-
// overflows the main axis.
|
|
615
|
-
overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
616
|
-
// Try next placement and re-run the lifecycle.
|
|
617
|
-
return {
|
|
618
|
-
data: {
|
|
619
|
-
index: nextIndex,
|
|
620
|
-
overflows: overflowsData
|
|
621
|
-
},
|
|
622
|
-
reset: {
|
|
623
|
-
placement: nextPlacement
|
|
624
|
-
}
|
|
625
|
-
};
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
630
|
-
// then find the placement that fits the best on the main crossAxis side.
|
|
631
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
632
|
-
|
|
633
|
-
// Otherwise fallback.
|
|
634
|
-
if (!resetPlacement) {
|
|
635
|
-
switch (fallbackStrategy) {
|
|
636
|
-
case 'bestFit':
|
|
637
|
-
{
|
|
638
|
-
var _overflowsData$filter2;
|
|
639
|
-
const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
|
|
640
|
-
if (hasFallbackAxisSideDirection) {
|
|
641
|
-
const currentSideAxis = getSideAxis(d.placement);
|
|
642
|
-
return currentSideAxis === initialSideAxis ||
|
|
643
|
-
// Create a bias to the `y` side axis due to horizontal
|
|
644
|
-
// reading directions favoring greater width.
|
|
645
|
-
currentSideAxis === 'y';
|
|
646
|
-
}
|
|
647
|
-
return true;
|
|
648
|
-
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
649
|
-
if (placement) {
|
|
650
|
-
resetPlacement = placement;
|
|
651
|
-
}
|
|
652
|
-
break;
|
|
653
|
-
}
|
|
654
|
-
case 'initialPlacement':
|
|
655
|
-
resetPlacement = initialPlacement;
|
|
656
|
-
break;
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
if (placement !== resetPlacement) {
|
|
660
|
-
return {
|
|
661
|
-
reset: {
|
|
662
|
-
placement: resetPlacement
|
|
663
|
-
}
|
|
664
|
-
};
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
return {};
|
|
668
|
-
}
|
|
669
|
-
};
|
|
670
|
-
};
|
|
671
|
-
|
|
672
|
-
function getSideOffsets(overflow, rect) {
|
|
673
|
-
return {
|
|
674
|
-
top: overflow.top - rect.height,
|
|
675
|
-
right: overflow.right - rect.width,
|
|
676
|
-
bottom: overflow.bottom - rect.height,
|
|
677
|
-
left: overflow.left - rect.width
|
|
678
|
-
};
|
|
679
|
-
}
|
|
680
|
-
function isAnySideFullyClipped(overflow) {
|
|
681
|
-
return sides.some(side => overflow[side] >= 0);
|
|
682
|
-
}
|
|
683
|
-
/**
|
|
684
|
-
* Provides data to hide the floating element in applicable situations, such as
|
|
685
|
-
* when it is not in the same clipping context as the reference element.
|
|
686
|
-
* @see https://floating-ui.com/docs/hide
|
|
687
|
-
*/
|
|
688
|
-
const hide$1 = function (options) {
|
|
689
|
-
if (options === void 0) {
|
|
690
|
-
options = {};
|
|
691
|
-
}
|
|
692
|
-
return {
|
|
693
|
-
name: 'hide',
|
|
694
|
-
options,
|
|
695
|
-
async fn(state) {
|
|
696
|
-
const {
|
|
697
|
-
rects,
|
|
698
|
-
platform
|
|
699
|
-
} = state;
|
|
700
|
-
const {
|
|
701
|
-
strategy = 'referenceHidden',
|
|
702
|
-
...detectOverflowOptions
|
|
703
|
-
} = evaluate(options, state);
|
|
704
|
-
switch (strategy) {
|
|
705
|
-
case 'referenceHidden':
|
|
706
|
-
{
|
|
707
|
-
const overflow = await platform.detectOverflow(state, {
|
|
708
|
-
...detectOverflowOptions,
|
|
709
|
-
elementContext: 'reference'
|
|
710
|
-
});
|
|
711
|
-
const offsets = getSideOffsets(overflow, rects.reference);
|
|
712
|
-
return {
|
|
713
|
-
data: {
|
|
714
|
-
referenceHiddenOffsets: offsets,
|
|
715
|
-
referenceHidden: isAnySideFullyClipped(offsets)
|
|
716
|
-
}
|
|
717
|
-
};
|
|
718
|
-
}
|
|
719
|
-
case 'escaped':
|
|
720
|
-
{
|
|
721
|
-
const overflow = await platform.detectOverflow(state, {
|
|
722
|
-
...detectOverflowOptions,
|
|
723
|
-
altBoundary: true
|
|
724
|
-
});
|
|
725
|
-
const offsets = getSideOffsets(overflow, rects.floating);
|
|
726
|
-
return {
|
|
727
|
-
data: {
|
|
728
|
-
escapedOffsets: offsets,
|
|
729
|
-
escaped: isAnySideFullyClipped(offsets)
|
|
730
|
-
}
|
|
731
|
-
};
|
|
732
|
-
}
|
|
733
|
-
default:
|
|
734
|
-
{
|
|
735
|
-
return {};
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
};
|
|
740
|
-
};
|
|
741
|
-
|
|
742
|
-
function getBoundingRect(rects) {
|
|
743
|
-
const minX = min(...rects.map(rect => rect.left));
|
|
744
|
-
const minY = min(...rects.map(rect => rect.top));
|
|
745
|
-
const maxX = max(...rects.map(rect => rect.right));
|
|
746
|
-
const maxY = max(...rects.map(rect => rect.bottom));
|
|
747
|
-
return {
|
|
748
|
-
x: minX,
|
|
749
|
-
y: minY,
|
|
750
|
-
width: maxX - minX,
|
|
751
|
-
height: maxY - minY
|
|
752
|
-
};
|
|
753
|
-
}
|
|
754
|
-
function getRectsByLine(rects) {
|
|
755
|
-
const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
|
|
756
|
-
const groups = [];
|
|
757
|
-
let prevRect = null;
|
|
758
|
-
for (let i = 0; i < sortedRects.length; i++) {
|
|
759
|
-
const rect = sortedRects[i];
|
|
760
|
-
if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {
|
|
761
|
-
groups.push([rect]);
|
|
762
|
-
} else {
|
|
763
|
-
groups[groups.length - 1].push(rect);
|
|
764
|
-
}
|
|
765
|
-
prevRect = rect;
|
|
766
|
-
}
|
|
767
|
-
return groups.map(rect => rectToClientRect(getBoundingRect(rect)));
|
|
768
|
-
}
|
|
769
|
-
/**
|
|
770
|
-
* Provides improved positioning for inline reference elements that can span
|
|
771
|
-
* over multiple lines, such as hyperlinks or range selections.
|
|
772
|
-
* @see https://floating-ui.com/docs/inline
|
|
773
|
-
*/
|
|
774
|
-
const inline$1 = function (options) {
|
|
775
|
-
if (options === void 0) {
|
|
776
|
-
options = {};
|
|
777
|
-
}
|
|
778
|
-
return {
|
|
779
|
-
name: 'inline',
|
|
780
|
-
options,
|
|
781
|
-
async fn(state) {
|
|
782
|
-
const {
|
|
783
|
-
placement,
|
|
784
|
-
elements,
|
|
785
|
-
rects,
|
|
786
|
-
platform,
|
|
787
|
-
strategy
|
|
788
|
-
} = state;
|
|
789
|
-
// A MouseEvent's client{X,Y} coords can be up to 2 pixels off a
|
|
790
|
-
// ClientRect's bounds, despite the event listener being triggered. A
|
|
791
|
-
// padding of 2 seems to handle this issue.
|
|
792
|
-
const {
|
|
793
|
-
padding = 2,
|
|
794
|
-
x,
|
|
795
|
-
y
|
|
796
|
-
} = evaluate(options, state);
|
|
797
|
-
const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
|
|
798
|
-
const clientRects = getRectsByLine(nativeClientRects);
|
|
799
|
-
const fallback = rectToClientRect(getBoundingRect(nativeClientRects));
|
|
800
|
-
const paddingObject = getPaddingObject(padding);
|
|
801
|
-
function getBoundingClientRect() {
|
|
802
|
-
// There are two rects and they are disjoined.
|
|
803
|
-
if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
|
|
804
|
-
// Find the first rect in which the point is fully inside.
|
|
805
|
-
return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
// There are 2 or more connected rects.
|
|
809
|
-
if (clientRects.length >= 2) {
|
|
810
|
-
if (getSideAxis(placement) === 'y') {
|
|
811
|
-
const firstRect = clientRects[0];
|
|
812
|
-
const lastRect = clientRects[clientRects.length - 1];
|
|
813
|
-
const isTop = getSide(placement) === 'top';
|
|
814
|
-
const top = firstRect.top;
|
|
815
|
-
const bottom = lastRect.bottom;
|
|
816
|
-
const left = isTop ? firstRect.left : lastRect.left;
|
|
817
|
-
const right = isTop ? firstRect.right : lastRect.right;
|
|
818
|
-
const width = right - left;
|
|
819
|
-
const height = bottom - top;
|
|
820
|
-
return {
|
|
821
|
-
top,
|
|
822
|
-
bottom,
|
|
823
|
-
left,
|
|
824
|
-
right,
|
|
825
|
-
width,
|
|
826
|
-
height,
|
|
827
|
-
x: left,
|
|
828
|
-
y: top
|
|
829
|
-
};
|
|
830
|
-
}
|
|
831
|
-
const isLeftSide = getSide(placement) === 'left';
|
|
832
|
-
const maxRight = max(...clientRects.map(rect => rect.right));
|
|
833
|
-
const minLeft = min(...clientRects.map(rect => rect.left));
|
|
834
|
-
const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
|
|
835
|
-
const top = measureRects[0].top;
|
|
836
|
-
const bottom = measureRects[measureRects.length - 1].bottom;
|
|
837
|
-
const left = minLeft;
|
|
838
|
-
const right = maxRight;
|
|
839
|
-
const width = right - left;
|
|
840
|
-
const height = bottom - top;
|
|
841
|
-
return {
|
|
842
|
-
top,
|
|
843
|
-
bottom,
|
|
844
|
-
left,
|
|
845
|
-
right,
|
|
846
|
-
width,
|
|
847
|
-
height,
|
|
848
|
-
x: left,
|
|
849
|
-
y: top
|
|
850
|
-
};
|
|
851
|
-
}
|
|
852
|
-
return fallback;
|
|
853
|
-
}
|
|
854
|
-
const resetRects = await platform.getElementRects({
|
|
855
|
-
reference: {
|
|
856
|
-
getBoundingClientRect
|
|
857
|
-
},
|
|
858
|
-
floating: elements.floating,
|
|
859
|
-
strategy
|
|
860
|
-
});
|
|
861
|
-
if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {
|
|
862
|
-
return {
|
|
863
|
-
reset: {
|
|
864
|
-
rects: resetRects
|
|
865
|
-
}
|
|
866
|
-
};
|
|
867
|
-
}
|
|
868
|
-
return {};
|
|
869
|
-
}
|
|
870
|
-
};
|
|
871
|
-
};
|
|
872
|
-
|
|
873
|
-
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
874
|
-
|
|
875
|
-
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
876
|
-
// Derivable.
|
|
877
|
-
|
|
878
|
-
async function convertValueToCoords(state, options) {
|
|
879
|
-
const {
|
|
880
|
-
placement,
|
|
881
|
-
platform,
|
|
882
|
-
elements
|
|
883
|
-
} = state;
|
|
884
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
885
|
-
const side = getSide(placement);
|
|
886
|
-
const alignment = getAlignment(placement);
|
|
887
|
-
const isVertical = getSideAxis(placement) === 'y';
|
|
888
|
-
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
889
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
890
|
-
const rawValue = evaluate(options, state);
|
|
891
|
-
|
|
892
|
-
// eslint-disable-next-line prefer-const
|
|
893
|
-
let {
|
|
894
|
-
mainAxis,
|
|
895
|
-
crossAxis,
|
|
896
|
-
alignmentAxis
|
|
897
|
-
} = typeof rawValue === 'number' ? {
|
|
898
|
-
mainAxis: rawValue,
|
|
899
|
-
crossAxis: 0,
|
|
900
|
-
alignmentAxis: null
|
|
901
|
-
} : {
|
|
902
|
-
mainAxis: rawValue.mainAxis || 0,
|
|
903
|
-
crossAxis: rawValue.crossAxis || 0,
|
|
904
|
-
alignmentAxis: rawValue.alignmentAxis
|
|
905
|
-
};
|
|
906
|
-
if (alignment && typeof alignmentAxis === 'number') {
|
|
907
|
-
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
908
|
-
}
|
|
909
|
-
return isVertical ? {
|
|
910
|
-
x: crossAxis * crossAxisMulti,
|
|
911
|
-
y: mainAxis * mainAxisMulti
|
|
912
|
-
} : {
|
|
913
|
-
x: mainAxis * mainAxisMulti,
|
|
914
|
-
y: crossAxis * crossAxisMulti
|
|
915
|
-
};
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
/**
|
|
919
|
-
* Modifies the placement by translating the floating element along the
|
|
920
|
-
* specified axes.
|
|
921
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
922
|
-
* object may be passed.
|
|
923
|
-
* @see https://floating-ui.com/docs/offset
|
|
924
|
-
*/
|
|
925
|
-
const offset$1 = function (options) {
|
|
926
|
-
if (options === void 0) {
|
|
927
|
-
options = 0;
|
|
928
|
-
}
|
|
929
|
-
return {
|
|
930
|
-
name: 'offset',
|
|
931
|
-
options,
|
|
932
|
-
async fn(state) {
|
|
933
|
-
var _middlewareData$offse, _middlewareData$arrow;
|
|
934
|
-
const {
|
|
935
|
-
x,
|
|
936
|
-
y,
|
|
937
|
-
placement,
|
|
938
|
-
middlewareData
|
|
939
|
-
} = state;
|
|
940
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
941
|
-
|
|
942
|
-
// If the placement is the same and the arrow caused an alignment offset
|
|
943
|
-
// then we don't need to change the positioning coordinates.
|
|
944
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
945
|
-
return {};
|
|
946
|
-
}
|
|
947
|
-
return {
|
|
948
|
-
x: x + diffCoords.x,
|
|
949
|
-
y: y + diffCoords.y,
|
|
950
|
-
data: {
|
|
951
|
-
...diffCoords,
|
|
952
|
-
placement
|
|
953
|
-
}
|
|
954
|
-
};
|
|
955
|
-
}
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
|
|
959
|
-
/**
|
|
960
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
961
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
962
|
-
* @see https://floating-ui.com/docs/shift
|
|
963
|
-
*/
|
|
964
|
-
const shift$1 = function (options) {
|
|
965
|
-
if (options === void 0) {
|
|
966
|
-
options = {};
|
|
967
|
-
}
|
|
968
|
-
return {
|
|
969
|
-
name: 'shift',
|
|
970
|
-
options,
|
|
971
|
-
async fn(state) {
|
|
972
|
-
const {
|
|
973
|
-
x,
|
|
974
|
-
y,
|
|
975
|
-
placement,
|
|
976
|
-
platform
|
|
977
|
-
} = state;
|
|
978
|
-
const {
|
|
979
|
-
mainAxis: checkMainAxis = true,
|
|
980
|
-
crossAxis: checkCrossAxis = false,
|
|
981
|
-
limiter = {
|
|
982
|
-
fn: _ref => {
|
|
983
|
-
let {
|
|
984
|
-
x,
|
|
985
|
-
y
|
|
986
|
-
} = _ref;
|
|
987
|
-
return {
|
|
988
|
-
x,
|
|
989
|
-
y
|
|
990
|
-
};
|
|
991
|
-
}
|
|
992
|
-
},
|
|
993
|
-
...detectOverflowOptions
|
|
994
|
-
} = evaluate(options, state);
|
|
995
|
-
const coords = {
|
|
996
|
-
x,
|
|
997
|
-
y
|
|
998
|
-
};
|
|
999
|
-
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
1000
|
-
const crossAxis = getSideAxis(getSide(placement));
|
|
1001
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
1002
|
-
let mainAxisCoord = coords[mainAxis];
|
|
1003
|
-
let crossAxisCoord = coords[crossAxis];
|
|
1004
|
-
if (checkMainAxis) {
|
|
1005
|
-
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
1006
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
1007
|
-
const min = mainAxisCoord + overflow[minSide];
|
|
1008
|
-
const max = mainAxisCoord - overflow[maxSide];
|
|
1009
|
-
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
1010
|
-
}
|
|
1011
|
-
if (checkCrossAxis) {
|
|
1012
|
-
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
1013
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
1014
|
-
const min = crossAxisCoord + overflow[minSide];
|
|
1015
|
-
const max = crossAxisCoord - overflow[maxSide];
|
|
1016
|
-
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
1017
|
-
}
|
|
1018
|
-
const limitedCoords = limiter.fn({
|
|
1019
|
-
...state,
|
|
1020
|
-
[mainAxis]: mainAxisCoord,
|
|
1021
|
-
[crossAxis]: crossAxisCoord
|
|
1022
|
-
});
|
|
1023
|
-
return {
|
|
1024
|
-
...limitedCoords,
|
|
1025
|
-
data: {
|
|
1026
|
-
x: limitedCoords.x - x,
|
|
1027
|
-
y: limitedCoords.y - y,
|
|
1028
|
-
enabled: {
|
|
1029
|
-
[mainAxis]: checkMainAxis,
|
|
1030
|
-
[crossAxis]: checkCrossAxis
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
};
|
|
1034
|
-
}
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
/**
|
|
1038
|
-
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
1039
|
-
*/
|
|
1040
|
-
const limitShift$1 = function (options) {
|
|
1041
|
-
if (options === void 0) {
|
|
1042
|
-
options = {};
|
|
1043
|
-
}
|
|
1044
|
-
return {
|
|
1045
|
-
options,
|
|
1046
|
-
fn(state) {
|
|
1047
|
-
const {
|
|
1048
|
-
x,
|
|
1049
|
-
y,
|
|
1050
|
-
placement,
|
|
1051
|
-
rects,
|
|
1052
|
-
middlewareData
|
|
1053
|
-
} = state;
|
|
1054
|
-
const {
|
|
1055
|
-
offset = 0,
|
|
1056
|
-
mainAxis: checkMainAxis = true,
|
|
1057
|
-
crossAxis: checkCrossAxis = true
|
|
1058
|
-
} = evaluate(options, state);
|
|
1059
|
-
const coords = {
|
|
1060
|
-
x,
|
|
1061
|
-
y
|
|
1062
|
-
};
|
|
1063
|
-
const crossAxis = getSideAxis(placement);
|
|
1064
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
1065
|
-
let mainAxisCoord = coords[mainAxis];
|
|
1066
|
-
let crossAxisCoord = coords[crossAxis];
|
|
1067
|
-
const rawOffset = evaluate(offset, state);
|
|
1068
|
-
const computedOffset = typeof rawOffset === 'number' ? {
|
|
1069
|
-
mainAxis: rawOffset,
|
|
1070
|
-
crossAxis: 0
|
|
1071
|
-
} : {
|
|
1072
|
-
mainAxis: 0,
|
|
1073
|
-
crossAxis: 0,
|
|
1074
|
-
...rawOffset
|
|
1075
|
-
};
|
|
1076
|
-
if (checkMainAxis) {
|
|
1077
|
-
const len = mainAxis === 'y' ? 'height' : 'width';
|
|
1078
|
-
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
|
1079
|
-
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
|
1080
|
-
if (mainAxisCoord < limitMin) {
|
|
1081
|
-
mainAxisCoord = limitMin;
|
|
1082
|
-
} else if (mainAxisCoord > limitMax) {
|
|
1083
|
-
mainAxisCoord = limitMax;
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
if (checkCrossAxis) {
|
|
1087
|
-
var _middlewareData$offse, _middlewareData$offse2;
|
|
1088
|
-
const len = mainAxis === 'y' ? 'width' : 'height';
|
|
1089
|
-
const isOriginSide = originSides.has(getSide(placement));
|
|
1090
|
-
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
|
1091
|
-
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
|
1092
|
-
if (crossAxisCoord < limitMin) {
|
|
1093
|
-
crossAxisCoord = limitMin;
|
|
1094
|
-
} else if (crossAxisCoord > limitMax) {
|
|
1095
|
-
crossAxisCoord = limitMax;
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
return {
|
|
1099
|
-
[mainAxis]: mainAxisCoord,
|
|
1100
|
-
[crossAxis]: crossAxisCoord
|
|
1101
|
-
};
|
|
1102
|
-
}
|
|
1103
|
-
};
|
|
1104
|
-
};
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* Provides data that allows you to change the size of the floating element —
|
|
1108
|
-
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
1109
|
-
* width of the reference element.
|
|
1110
|
-
* @see https://floating-ui.com/docs/size
|
|
1111
|
-
*/
|
|
1112
|
-
const size$1 = function (options) {
|
|
1113
|
-
if (options === void 0) {
|
|
1114
|
-
options = {};
|
|
1115
|
-
}
|
|
1116
|
-
return {
|
|
1117
|
-
name: 'size',
|
|
1118
|
-
options,
|
|
1119
|
-
async fn(state) {
|
|
1120
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
1121
|
-
const {
|
|
1122
|
-
placement,
|
|
1123
|
-
rects,
|
|
1124
|
-
platform,
|
|
1125
|
-
elements
|
|
1126
|
-
} = state;
|
|
1127
|
-
const {
|
|
1128
|
-
apply = () => {},
|
|
1129
|
-
...detectOverflowOptions
|
|
1130
|
-
} = evaluate(options, state);
|
|
1131
|
-
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
1132
|
-
const side = getSide(placement);
|
|
1133
|
-
const alignment = getAlignment(placement);
|
|
1134
|
-
const isYAxis = getSideAxis(placement) === 'y';
|
|
1135
|
-
const {
|
|
1136
|
-
width,
|
|
1137
|
-
height
|
|
1138
|
-
} = rects.floating;
|
|
1139
|
-
let heightSide;
|
|
1140
|
-
let widthSide;
|
|
1141
|
-
if (side === 'top' || side === 'bottom') {
|
|
1142
|
-
heightSide = side;
|
|
1143
|
-
widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
|
|
1144
|
-
} else {
|
|
1145
|
-
widthSide = side;
|
|
1146
|
-
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
|
1147
|
-
}
|
|
1148
|
-
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
1149
|
-
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
1150
|
-
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
1151
|
-
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
1152
|
-
const noShift = !state.middlewareData.shift;
|
|
1153
|
-
let availableHeight = overflowAvailableHeight;
|
|
1154
|
-
let availableWidth = overflowAvailableWidth;
|
|
1155
|
-
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
1156
|
-
availableWidth = maximumClippingWidth;
|
|
1157
|
-
}
|
|
1158
|
-
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
1159
|
-
availableHeight = maximumClippingHeight;
|
|
1160
|
-
}
|
|
1161
|
-
if (noShift && !alignment) {
|
|
1162
|
-
const xMin = max(overflow.left, 0);
|
|
1163
|
-
const xMax = max(overflow.right, 0);
|
|
1164
|
-
const yMin = max(overflow.top, 0);
|
|
1165
|
-
const yMax = max(overflow.bottom, 0);
|
|
1166
|
-
if (isYAxis) {
|
|
1167
|
-
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
1168
|
-
} else {
|
|
1169
|
-
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
await apply({
|
|
1173
|
-
...state,
|
|
1174
|
-
availableWidth,
|
|
1175
|
-
availableHeight
|
|
1176
|
-
});
|
|
1177
|
-
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
1178
|
-
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
1179
|
-
return {
|
|
1180
|
-
reset: {
|
|
1181
|
-
rects: true
|
|
1182
|
-
}
|
|
1183
|
-
};
|
|
1184
|
-
}
|
|
1185
|
-
return {};
|
|
1186
|
-
}
|
|
1187
|
-
};
|
|
1188
|
-
};
|
|
1189
|
-
|
|
1190
|
-
function hasWindow() {
|
|
1191
|
-
return typeof window !== 'undefined';
|
|
1192
|
-
}
|
|
1193
|
-
function getNodeName(node) {
|
|
1194
|
-
if (isNode(node)) {
|
|
1195
|
-
return (node.nodeName || '').toLowerCase();
|
|
1196
|
-
}
|
|
1197
|
-
// Mocked nodes in testing environments may not be instances of Node. By
|
|
1198
|
-
// returning `#document` an infinite loop won't occur.
|
|
1199
|
-
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
1200
|
-
return '#document';
|
|
1201
|
-
}
|
|
1202
|
-
function getWindow(node) {
|
|
1203
|
-
var _node$ownerDocument;
|
|
1204
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
1205
|
-
}
|
|
1206
|
-
function getDocumentElement(node) {
|
|
1207
|
-
var _ref;
|
|
1208
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1209
|
-
}
|
|
1210
|
-
function isNode(value) {
|
|
1211
|
-
if (!hasWindow()) {
|
|
1212
|
-
return false;
|
|
1213
|
-
}
|
|
1214
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
1215
|
-
}
|
|
1216
|
-
function isElement(value) {
|
|
1217
|
-
if (!hasWindow()) {
|
|
1218
|
-
return false;
|
|
1219
|
-
}
|
|
1220
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
1221
|
-
}
|
|
1222
|
-
function isHTMLElement(value) {
|
|
1223
|
-
if (!hasWindow()) {
|
|
1224
|
-
return false;
|
|
1225
|
-
}
|
|
1226
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
1227
|
-
}
|
|
1228
|
-
function isShadowRoot(value) {
|
|
1229
|
-
if (!hasWindow() || typeof ShadowRoot === 'undefined') {
|
|
1230
|
-
return false;
|
|
1231
|
-
}
|
|
1232
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
1233
|
-
}
|
|
1234
|
-
function isOverflowElement(element) {
|
|
1235
|
-
const {
|
|
1236
|
-
overflow,
|
|
1237
|
-
overflowX,
|
|
1238
|
-
overflowY,
|
|
1239
|
-
display
|
|
1240
|
-
} = getComputedStyle(element);
|
|
1241
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
|
|
1242
|
-
}
|
|
1243
|
-
function isTableElement(element) {
|
|
1244
|
-
return /^(table|td|th)$/.test(getNodeName(element));
|
|
1245
|
-
}
|
|
1246
|
-
function isTopLayer(element) {
|
|
1247
|
-
try {
|
|
1248
|
-
if (element.matches(':popover-open')) {
|
|
1249
|
-
return true;
|
|
1250
|
-
}
|
|
1251
|
-
} catch (_e) {
|
|
1252
|
-
// no-op
|
|
1253
|
-
}
|
|
1254
|
-
try {
|
|
1255
|
-
return element.matches(':modal');
|
|
1256
|
-
} catch (_e) {
|
|
1257
|
-
return false;
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1260
|
-
const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
1261
|
-
const containRe = /paint|layout|strict|content/;
|
|
1262
|
-
const isNotNone = value => !!value && value !== 'none';
|
|
1263
|
-
let isWebKitValue;
|
|
1264
|
-
function isContainingBlock(elementOrCss) {
|
|
1265
|
-
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
|
1266
|
-
|
|
1267
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1268
|
-
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
1269
|
-
return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
|
|
1270
|
-
}
|
|
1271
|
-
function getContainingBlock(element) {
|
|
1272
|
-
let currentNode = getParentNode(element);
|
|
1273
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1274
|
-
if (isContainingBlock(currentNode)) {
|
|
1275
|
-
return currentNode;
|
|
1276
|
-
} else if (isTopLayer(currentNode)) {
|
|
1277
|
-
return null;
|
|
1278
|
-
}
|
|
1279
|
-
currentNode = getParentNode(currentNode);
|
|
1280
|
-
}
|
|
1281
|
-
return null;
|
|
1282
|
-
}
|
|
1283
|
-
function isWebKit() {
|
|
1284
|
-
if (isWebKitValue == null) {
|
|
1285
|
-
isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
|
|
1286
|
-
}
|
|
1287
|
-
return isWebKitValue;
|
|
1288
|
-
}
|
|
1289
|
-
function isLastTraversableNode(node) {
|
|
1290
|
-
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
1291
|
-
}
|
|
1292
|
-
function getComputedStyle(element) {
|
|
1293
|
-
return getWindow(element).getComputedStyle(element);
|
|
1294
|
-
}
|
|
1295
|
-
function getNodeScroll(element) {
|
|
1296
|
-
if (isElement(element)) {
|
|
1297
|
-
return {
|
|
1298
|
-
scrollLeft: element.scrollLeft,
|
|
1299
|
-
scrollTop: element.scrollTop
|
|
1300
|
-
};
|
|
1301
|
-
}
|
|
1302
|
-
return {
|
|
1303
|
-
scrollLeft: element.scrollX,
|
|
1304
|
-
scrollTop: element.scrollY
|
|
1305
|
-
};
|
|
1306
|
-
}
|
|
1307
|
-
function getParentNode(node) {
|
|
1308
|
-
if (getNodeName(node) === 'html') {
|
|
1309
|
-
return node;
|
|
1310
|
-
}
|
|
1311
|
-
const result =
|
|
1312
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
1313
|
-
node.assignedSlot ||
|
|
1314
|
-
// DOM Element detected.
|
|
1315
|
-
node.parentNode ||
|
|
1316
|
-
// ShadowRoot detected.
|
|
1317
|
-
isShadowRoot(node) && node.host ||
|
|
1318
|
-
// Fallback.
|
|
1319
|
-
getDocumentElement(node);
|
|
1320
|
-
return isShadowRoot(result) ? result.host : result;
|
|
1321
|
-
}
|
|
1322
|
-
function getNearestOverflowAncestor(node) {
|
|
1323
|
-
const parentNode = getParentNode(node);
|
|
1324
|
-
if (isLastTraversableNode(parentNode)) {
|
|
1325
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1326
|
-
}
|
|
1327
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1328
|
-
return parentNode;
|
|
1329
|
-
}
|
|
1330
|
-
return getNearestOverflowAncestor(parentNode);
|
|
1331
|
-
}
|
|
1332
|
-
function getOverflowAncestors(node, list, traverseIframes) {
|
|
1333
|
-
var _node$ownerDocument2;
|
|
1334
|
-
if (list === void 0) {
|
|
1335
|
-
list = [];
|
|
1336
|
-
}
|
|
1337
|
-
if (traverseIframes === void 0) {
|
|
1338
|
-
traverseIframes = true;
|
|
1339
|
-
}
|
|
1340
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1341
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
1342
|
-
const win = getWindow(scrollableAncestor);
|
|
1343
|
-
if (isBody) {
|
|
1344
|
-
const frameElement = getFrameElement(win);
|
|
1345
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
1346
|
-
} else {
|
|
1347
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
function getFrameElement(win) {
|
|
1351
|
-
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
function getCssDimensions(element) {
|
|
1355
|
-
const css = getComputedStyle(element);
|
|
1356
|
-
// In testing environments, the `width` and `height` properties are empty
|
|
1357
|
-
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1358
|
-
let width = parseFloat(css.width) || 0;
|
|
1359
|
-
let height = parseFloat(css.height) || 0;
|
|
1360
|
-
const hasOffset = isHTMLElement(element);
|
|
1361
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1362
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1363
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1364
|
-
if (shouldFallback) {
|
|
1365
|
-
width = offsetWidth;
|
|
1366
|
-
height = offsetHeight;
|
|
1367
|
-
}
|
|
1368
|
-
return {
|
|
1369
|
-
width,
|
|
1370
|
-
height,
|
|
1371
|
-
$: shouldFallback
|
|
1372
|
-
};
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
function unwrapElement(element) {
|
|
1376
|
-
return !isElement(element) ? element.contextElement : element;
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
function getScale(element) {
|
|
1380
|
-
const domElement = unwrapElement(element);
|
|
1381
|
-
if (!isHTMLElement(domElement)) {
|
|
1382
|
-
return createCoords(1);
|
|
1383
|
-
}
|
|
1384
|
-
const rect = domElement.getBoundingClientRect();
|
|
1385
|
-
const {
|
|
1386
|
-
width,
|
|
1387
|
-
height,
|
|
1388
|
-
$
|
|
1389
|
-
} = getCssDimensions(domElement);
|
|
1390
|
-
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1391
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1392
|
-
|
|
1393
|
-
// 0, NaN, or Infinity should always fallback to 1.
|
|
1394
|
-
|
|
1395
|
-
if (!x || !Number.isFinite(x)) {
|
|
1396
|
-
x = 1;
|
|
1397
|
-
}
|
|
1398
|
-
if (!y || !Number.isFinite(y)) {
|
|
1399
|
-
y = 1;
|
|
1400
|
-
}
|
|
1401
|
-
return {
|
|
1402
|
-
x,
|
|
1403
|
-
y
|
|
1404
|
-
};
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1408
|
-
function getVisualOffsets(element) {
|
|
1409
|
-
const win = getWindow(element);
|
|
1410
|
-
if (!isWebKit() || !win.visualViewport) {
|
|
1411
|
-
return noOffsets;
|
|
1412
|
-
}
|
|
1413
|
-
return {
|
|
1414
|
-
x: win.visualViewport.offsetLeft,
|
|
1415
|
-
y: win.visualViewport.offsetTop
|
|
1416
|
-
};
|
|
1417
|
-
}
|
|
1418
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1419
|
-
if (isFixed === void 0) {
|
|
1420
|
-
isFixed = false;
|
|
1421
|
-
}
|
|
1422
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1423
|
-
return false;
|
|
1424
|
-
}
|
|
1425
|
-
return isFixed;
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1429
|
-
if (includeScale === void 0) {
|
|
1430
|
-
includeScale = false;
|
|
1431
|
-
}
|
|
1432
|
-
if (isFixedStrategy === void 0) {
|
|
1433
|
-
isFixedStrategy = false;
|
|
1434
|
-
}
|
|
1435
|
-
const clientRect = element.getBoundingClientRect();
|
|
1436
|
-
const domElement = unwrapElement(element);
|
|
1437
|
-
let scale = createCoords(1);
|
|
1438
|
-
if (includeScale) {
|
|
1439
|
-
if (offsetParent) {
|
|
1440
|
-
if (isElement(offsetParent)) {
|
|
1441
|
-
scale = getScale(offsetParent);
|
|
1442
|
-
}
|
|
1443
|
-
} else {
|
|
1444
|
-
scale = getScale(element);
|
|
1445
|
-
}
|
|
1446
|
-
}
|
|
1447
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1448
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1449
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1450
|
-
let width = clientRect.width / scale.x;
|
|
1451
|
-
let height = clientRect.height / scale.y;
|
|
1452
|
-
if (domElement) {
|
|
1453
|
-
const win = getWindow(domElement);
|
|
1454
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1455
|
-
let currentWin = win;
|
|
1456
|
-
let currentIFrame = getFrameElement(currentWin);
|
|
1457
|
-
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
1458
|
-
const iframeScale = getScale(currentIFrame);
|
|
1459
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1460
|
-
const css = getComputedStyle(currentIFrame);
|
|
1461
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1462
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1463
|
-
x *= iframeScale.x;
|
|
1464
|
-
y *= iframeScale.y;
|
|
1465
|
-
width *= iframeScale.x;
|
|
1466
|
-
height *= iframeScale.y;
|
|
1467
|
-
x += left;
|
|
1468
|
-
y += top;
|
|
1469
|
-
currentWin = getWindow(currentIFrame);
|
|
1470
|
-
currentIFrame = getFrameElement(currentWin);
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
return rectToClientRect({
|
|
1474
|
-
width,
|
|
1475
|
-
height,
|
|
1476
|
-
x,
|
|
1477
|
-
y
|
|
1478
|
-
});
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1482
|
-
// incorrect for RTL.
|
|
1483
|
-
function getWindowScrollBarX(element, rect) {
|
|
1484
|
-
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1485
|
-
if (!rect) {
|
|
1486
|
-
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1487
|
-
}
|
|
1488
|
-
return rect.left + leftScroll;
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1492
|
-
if (ignoreScrollbarX === void 0) {
|
|
1493
|
-
ignoreScrollbarX = false;
|
|
1494
|
-
}
|
|
1495
|
-
const htmlRect = documentElement.getBoundingClientRect();
|
|
1496
|
-
const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :
|
|
1497
|
-
// RTL <body> scrollbar.
|
|
1498
|
-
getWindowScrollBarX(documentElement, htmlRect));
|
|
1499
|
-
const y = htmlRect.top + scroll.scrollTop;
|
|
1500
|
-
return {
|
|
1501
|
-
x,
|
|
1502
|
-
y
|
|
1503
|
-
};
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1507
|
-
let {
|
|
1508
|
-
elements,
|
|
1509
|
-
rect,
|
|
1510
|
-
offsetParent,
|
|
1511
|
-
strategy
|
|
1512
|
-
} = _ref;
|
|
1513
|
-
const isFixed = strategy === 'fixed';
|
|
1514
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1515
|
-
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1516
|
-
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1517
|
-
return rect;
|
|
1518
|
-
}
|
|
1519
|
-
let scroll = {
|
|
1520
|
-
scrollLeft: 0,
|
|
1521
|
-
scrollTop: 0
|
|
1522
|
-
};
|
|
1523
|
-
let scale = createCoords(1);
|
|
1524
|
-
const offsets = createCoords(0);
|
|
1525
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1526
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1527
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1528
|
-
scroll = getNodeScroll(offsetParent);
|
|
1529
|
-
}
|
|
1530
|
-
if (isHTMLElement(offsetParent)) {
|
|
1531
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1532
|
-
scale = getScale(offsetParent);
|
|
1533
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1534
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1535
|
-
}
|
|
1536
|
-
}
|
|
1537
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
|
|
1538
|
-
return {
|
|
1539
|
-
width: rect.width * scale.x,
|
|
1540
|
-
height: rect.height * scale.y,
|
|
1541
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1542
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1543
|
-
};
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
function getClientRects(element) {
|
|
1547
|
-
return Array.from(element.getClientRects());
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
// Gets the entire size of the scrollable document area, even extending outside
|
|
1551
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1552
|
-
function getDocumentRect(element) {
|
|
1553
|
-
const html = getDocumentElement(element);
|
|
1554
|
-
const scroll = getNodeScroll(element);
|
|
1555
|
-
const body = element.ownerDocument.body;
|
|
1556
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1557
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1558
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1559
|
-
const y = -scroll.scrollTop;
|
|
1560
|
-
if (getComputedStyle(body).direction === 'rtl') {
|
|
1561
|
-
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1562
|
-
}
|
|
1563
|
-
return {
|
|
1564
|
-
width,
|
|
1565
|
-
height,
|
|
1566
|
-
x,
|
|
1567
|
-
y
|
|
1568
|
-
};
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
function getViewportRect(element, strategy) {
|
|
1572
|
-
const win = getWindow(element);
|
|
1573
|
-
const html = getDocumentElement(element);
|
|
1574
|
-
const visualViewport = win.visualViewport;
|
|
1575
|
-
let width = html.clientWidth;
|
|
1576
|
-
let height = html.clientHeight;
|
|
1577
|
-
let x = 0;
|
|
1578
|
-
let y = 0;
|
|
1579
|
-
if (visualViewport) {
|
|
1580
|
-
width = visualViewport.width;
|
|
1581
|
-
height = visualViewport.height;
|
|
1582
|
-
const visualViewportBased = isWebKit();
|
|
1583
|
-
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1584
|
-
x = visualViewport.offsetLeft;
|
|
1585
|
-
y = visualViewport.offsetTop;
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
return {
|
|
1589
|
-
width,
|
|
1590
|
-
height,
|
|
1591
|
-
x,
|
|
1592
|
-
y
|
|
1593
|
-
};
|
|
1594
|
-
}
|
|
1595
|
-
|
|
1596
|
-
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1597
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
1598
|
-
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1599
|
-
const top = clientRect.top + element.clientTop;
|
|
1600
|
-
const left = clientRect.left + element.clientLeft;
|
|
1601
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1602
|
-
const width = element.clientWidth * scale.x;
|
|
1603
|
-
const height = element.clientHeight * scale.y;
|
|
1604
|
-
const x = left * scale.x;
|
|
1605
|
-
const y = top * scale.y;
|
|
1606
|
-
return {
|
|
1607
|
-
width,
|
|
1608
|
-
height,
|
|
1609
|
-
x,
|
|
1610
|
-
y
|
|
1611
|
-
};
|
|
1612
|
-
}
|
|
1613
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1614
|
-
let rect;
|
|
1615
|
-
if (clippingAncestor === 'viewport') {
|
|
1616
|
-
rect = getViewportRect(element, strategy);
|
|
1617
|
-
} else if (clippingAncestor === 'document') {
|
|
1618
|
-
rect = getDocumentRect(getDocumentElement(element));
|
|
1619
|
-
} else if (isElement(clippingAncestor)) {
|
|
1620
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1621
|
-
} else {
|
|
1622
|
-
const visualOffsets = getVisualOffsets(element);
|
|
1623
|
-
rect = {
|
|
1624
|
-
x: clippingAncestor.x - visualOffsets.x,
|
|
1625
|
-
y: clippingAncestor.y - visualOffsets.y,
|
|
1626
|
-
width: clippingAncestor.width,
|
|
1627
|
-
height: clippingAncestor.height
|
|
1628
|
-
};
|
|
1629
|
-
}
|
|
1630
|
-
return rectToClientRect(rect);
|
|
1631
|
-
}
|
|
1632
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1633
|
-
const parentNode = getParentNode(element);
|
|
1634
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1635
|
-
return false;
|
|
1636
|
-
}
|
|
1637
|
-
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1641
|
-
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1642
|
-
// of the given element up the tree.
|
|
1643
|
-
function getClippingElementAncestors(element, cache) {
|
|
1644
|
-
const cachedResult = cache.get(element);
|
|
1645
|
-
if (cachedResult) {
|
|
1646
|
-
return cachedResult;
|
|
1647
|
-
}
|
|
1648
|
-
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1649
|
-
let currentContainingBlockComputedStyle = null;
|
|
1650
|
-
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
1651
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1652
|
-
|
|
1653
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1654
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1655
|
-
const computedStyle = getComputedStyle(currentNode);
|
|
1656
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1657
|
-
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1658
|
-
currentContainingBlockComputedStyle = null;
|
|
1659
|
-
}
|
|
1660
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1661
|
-
if (shouldDropCurrentNode) {
|
|
1662
|
-
// Drop non-containing blocks.
|
|
1663
|
-
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1664
|
-
} else {
|
|
1665
|
-
// Record last containing block for next iteration.
|
|
1666
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1667
|
-
}
|
|
1668
|
-
currentNode = getParentNode(currentNode);
|
|
1669
|
-
}
|
|
1670
|
-
cache.set(element, result);
|
|
1671
|
-
return result;
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
|
-
// Gets the maximum area that the element is visible in due to any number of
|
|
1675
|
-
// clipping ancestors.
|
|
1676
|
-
function getClippingRect(_ref) {
|
|
1677
|
-
let {
|
|
1678
|
-
element,
|
|
1679
|
-
boundary,
|
|
1680
|
-
rootBoundary,
|
|
1681
|
-
strategy
|
|
1682
|
-
} = _ref;
|
|
1683
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1684
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1685
|
-
const firstClippingAncestor = clippingAncestors[0];
|
|
1686
|
-
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1687
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1688
|
-
accRect.top = max(rect.top, accRect.top);
|
|
1689
|
-
accRect.right = min(rect.right, accRect.right);
|
|
1690
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1691
|
-
accRect.left = max(rect.left, accRect.left);
|
|
1692
|
-
return accRect;
|
|
1693
|
-
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1694
|
-
return {
|
|
1695
|
-
width: clippingRect.right - clippingRect.left,
|
|
1696
|
-
height: clippingRect.bottom - clippingRect.top,
|
|
1697
|
-
x: clippingRect.left,
|
|
1698
|
-
y: clippingRect.top
|
|
1699
|
-
};
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
function getDimensions(element) {
|
|
1703
|
-
const {
|
|
1704
|
-
width,
|
|
1705
|
-
height
|
|
1706
|
-
} = getCssDimensions(element);
|
|
1707
|
-
return {
|
|
1708
|
-
width,
|
|
1709
|
-
height
|
|
1710
|
-
};
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1714
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1715
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1716
|
-
const isFixed = strategy === 'fixed';
|
|
1717
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1718
|
-
let scroll = {
|
|
1719
|
-
scrollLeft: 0,
|
|
1720
|
-
scrollTop: 0
|
|
1721
|
-
};
|
|
1722
|
-
const offsets = createCoords(0);
|
|
1723
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1724
|
-
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1725
|
-
scroll = getNodeScroll(offsetParent);
|
|
1726
|
-
}
|
|
1727
|
-
if (isOffsetParentAnElement) {
|
|
1728
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1729
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1730
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1731
|
-
} else if (documentElement) {
|
|
1732
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1733
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1734
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1735
|
-
}
|
|
1736
|
-
}
|
|
1737
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1738
|
-
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1739
|
-
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1740
|
-
return {
|
|
1741
|
-
x,
|
|
1742
|
-
y,
|
|
1743
|
-
width: rect.width,
|
|
1744
|
-
height: rect.height
|
|
1745
|
-
};
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
function isStaticPositioned(element) {
|
|
1749
|
-
return getComputedStyle(element).position === 'static';
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
function getTrueOffsetParent(element, polyfill) {
|
|
1753
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1754
|
-
return null;
|
|
1755
|
-
}
|
|
1756
|
-
if (polyfill) {
|
|
1757
|
-
return polyfill(element);
|
|
1758
|
-
}
|
|
1759
|
-
let rawOffsetParent = element.offsetParent;
|
|
1760
|
-
|
|
1761
|
-
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
1762
|
-
// while Chrome and Safari return the <body> element. The <body> element must
|
|
1763
|
-
// be used to perform the correct calculations even if the <html> element is
|
|
1764
|
-
// non-static.
|
|
1765
|
-
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1766
|
-
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1767
|
-
}
|
|
1768
|
-
return rawOffsetParent;
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1772
|
-
// such as table ancestors and cross browser bugs.
|
|
1773
|
-
function getOffsetParent(element, polyfill) {
|
|
1774
|
-
const win = getWindow(element);
|
|
1775
|
-
if (isTopLayer(element)) {
|
|
1776
|
-
return win;
|
|
1777
|
-
}
|
|
1778
|
-
if (!isHTMLElement(element)) {
|
|
1779
|
-
let svgOffsetParent = getParentNode(element);
|
|
1780
|
-
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1781
|
-
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1782
|
-
return svgOffsetParent;
|
|
1783
|
-
}
|
|
1784
|
-
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1785
|
-
}
|
|
1786
|
-
return win;
|
|
1787
|
-
}
|
|
1788
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1789
|
-
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1790
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1791
|
-
}
|
|
1792
|
-
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1793
|
-
return win;
|
|
1794
|
-
}
|
|
1795
|
-
return offsetParent || getContainingBlock(element) || win;
|
|
1796
|
-
}
|
|
1797
|
-
|
|
1798
|
-
const getElementRects = async function (data) {
|
|
1799
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1800
|
-
const getDimensionsFn = this.getDimensions;
|
|
1801
|
-
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1802
|
-
return {
|
|
1803
|
-
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1804
|
-
floating: {
|
|
1805
|
-
x: 0,
|
|
1806
|
-
y: 0,
|
|
1807
|
-
width: floatingDimensions.width,
|
|
1808
|
-
height: floatingDimensions.height
|
|
1809
|
-
}
|
|
1810
|
-
};
|
|
1811
|
-
};
|
|
1812
|
-
|
|
1813
|
-
function isRTL(element) {
|
|
1814
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
1815
|
-
}
|
|
1816
|
-
|
|
1817
|
-
const platform = {
|
|
1818
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1819
|
-
getDocumentElement,
|
|
1820
|
-
getClippingRect,
|
|
1821
|
-
getOffsetParent,
|
|
1822
|
-
getElementRects,
|
|
1823
|
-
getClientRects,
|
|
1824
|
-
getDimensions,
|
|
1825
|
-
getScale,
|
|
1826
|
-
isElement,
|
|
1827
|
-
isRTL
|
|
1828
|
-
};
|
|
1829
|
-
|
|
1830
|
-
function rectsAreEqual(a, b) {
|
|
1831
|
-
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
1832
|
-
}
|
|
1833
|
-
|
|
1834
|
-
// https://samthor.au/2021/observing-dom/
|
|
1835
|
-
function observeMove(element, onMove) {
|
|
1836
|
-
let io = null;
|
|
1837
|
-
let timeoutId;
|
|
1838
|
-
const root = getDocumentElement(element);
|
|
1839
|
-
function cleanup() {
|
|
1840
|
-
var _io;
|
|
1841
|
-
clearTimeout(timeoutId);
|
|
1842
|
-
(_io = io) == null || _io.disconnect();
|
|
1843
|
-
io = null;
|
|
1844
|
-
}
|
|
1845
|
-
function refresh(skip, threshold) {
|
|
1846
|
-
if (skip === void 0) {
|
|
1847
|
-
skip = false;
|
|
1848
|
-
}
|
|
1849
|
-
if (threshold === void 0) {
|
|
1850
|
-
threshold = 1;
|
|
1851
|
-
}
|
|
1852
|
-
cleanup();
|
|
1853
|
-
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1854
|
-
const {
|
|
1855
|
-
left,
|
|
1856
|
-
top,
|
|
1857
|
-
width,
|
|
1858
|
-
height
|
|
1859
|
-
} = elementRectForRootMargin;
|
|
1860
|
-
if (!skip) {
|
|
1861
|
-
onMove();
|
|
1862
|
-
}
|
|
1863
|
-
if (!width || !height) {
|
|
1864
|
-
return;
|
|
1865
|
-
}
|
|
1866
|
-
const insetTop = floor(top);
|
|
1867
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
|
1868
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1869
|
-
const insetLeft = floor(left);
|
|
1870
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1871
|
-
const options = {
|
|
1872
|
-
rootMargin,
|
|
1873
|
-
threshold: max(0, min(1, threshold)) || 1
|
|
1874
|
-
};
|
|
1875
|
-
let isFirstUpdate = true;
|
|
1876
|
-
function handleObserve(entries) {
|
|
1877
|
-
const ratio = entries[0].intersectionRatio;
|
|
1878
|
-
if (ratio !== threshold) {
|
|
1879
|
-
if (!isFirstUpdate) {
|
|
1880
|
-
return refresh();
|
|
1881
|
-
}
|
|
1882
|
-
if (!ratio) {
|
|
1883
|
-
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
1884
|
-
// to prevent an infinite loop of updates.
|
|
1885
|
-
timeoutId = setTimeout(() => {
|
|
1886
|
-
refresh(false, 1e-7);
|
|
1887
|
-
}, 1000);
|
|
1888
|
-
} else {
|
|
1889
|
-
refresh(false, ratio);
|
|
1890
|
-
}
|
|
1891
|
-
}
|
|
1892
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1893
|
-
// It's possible that even though the ratio is reported as 1, the
|
|
1894
|
-
// element is not actually fully within the IntersectionObserver's root
|
|
1895
|
-
// area anymore. This can happen under performance constraints. This may
|
|
1896
|
-
// be a bug in the browser's IntersectionObserver implementation. To
|
|
1897
|
-
// work around this, we compare the element's bounding rect now with
|
|
1898
|
-
// what it was at the time we created the IntersectionObserver. If they
|
|
1899
|
-
// are not equal then the element moved, so we refresh.
|
|
1900
|
-
refresh();
|
|
1901
|
-
}
|
|
1902
|
-
isFirstUpdate = false;
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
// Older browsers don't support a `document` as the root and will throw an
|
|
1906
|
-
// error.
|
|
1907
|
-
try {
|
|
1908
|
-
io = new IntersectionObserver(handleObserve, {
|
|
1909
|
-
...options,
|
|
1910
|
-
// Handle <iframe>s
|
|
1911
|
-
root: root.ownerDocument
|
|
1912
|
-
});
|
|
1913
|
-
} catch (e) {
|
|
1914
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
1915
|
-
}
|
|
1916
|
-
io.observe(element);
|
|
1917
|
-
}
|
|
1918
|
-
refresh(true);
|
|
1919
|
-
return cleanup;
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
/**
|
|
1923
|
-
* Automatically updates the position of the floating element when necessary.
|
|
1924
|
-
* Should only be called when the floating element is mounted on the DOM or
|
|
1925
|
-
* visible on the screen.
|
|
1926
|
-
* @returns cleanup function that should be invoked when the floating element is
|
|
1927
|
-
* removed from the DOM or hidden from the screen.
|
|
1928
|
-
* @see https://floating-ui.com/docs/autoUpdate
|
|
1929
|
-
*/
|
|
1930
|
-
function autoUpdate(reference, floating, update, options) {
|
|
1931
|
-
if (options === void 0) {
|
|
1932
|
-
options = {};
|
|
1933
|
-
}
|
|
1934
|
-
const {
|
|
1935
|
-
ancestorScroll = true,
|
|
1936
|
-
ancestorResize = true,
|
|
1937
|
-
elementResize = typeof ResizeObserver === 'function',
|
|
1938
|
-
layoutShift = typeof IntersectionObserver === 'function',
|
|
1939
|
-
animationFrame = false
|
|
1940
|
-
} = options;
|
|
1941
|
-
const referenceEl = unwrapElement(reference);
|
|
1942
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1943
|
-
ancestors.forEach(ancestor => {
|
|
1944
|
-
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1945
|
-
passive: true
|
|
1946
|
-
});
|
|
1947
|
-
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1948
|
-
});
|
|
1949
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1950
|
-
let reobserveFrame = -1;
|
|
1951
|
-
let resizeObserver = null;
|
|
1952
|
-
if (elementResize) {
|
|
1953
|
-
resizeObserver = new ResizeObserver(_ref => {
|
|
1954
|
-
let [firstEntry] = _ref;
|
|
1955
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1956
|
-
// Prevent update loops when using the `size` middleware.
|
|
1957
|
-
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1958
|
-
resizeObserver.unobserve(floating);
|
|
1959
|
-
cancelAnimationFrame(reobserveFrame);
|
|
1960
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
1961
|
-
var _resizeObserver;
|
|
1962
|
-
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1963
|
-
});
|
|
1964
|
-
}
|
|
1965
|
-
update();
|
|
1966
|
-
});
|
|
1967
|
-
if (referenceEl && !animationFrame) {
|
|
1968
|
-
resizeObserver.observe(referenceEl);
|
|
1969
|
-
}
|
|
1970
|
-
resizeObserver.observe(floating);
|
|
1971
|
-
}
|
|
1972
|
-
let frameId;
|
|
1973
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1974
|
-
if (animationFrame) {
|
|
1975
|
-
frameLoop();
|
|
1976
|
-
}
|
|
1977
|
-
function frameLoop() {
|
|
1978
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
1979
|
-
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
1980
|
-
update();
|
|
1981
|
-
}
|
|
1982
|
-
prevRefRect = nextRefRect;
|
|
1983
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
1984
|
-
}
|
|
1985
|
-
update();
|
|
1986
|
-
return () => {
|
|
1987
|
-
var _resizeObserver2;
|
|
1988
|
-
ancestors.forEach(ancestor => {
|
|
1989
|
-
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1990
|
-
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1991
|
-
});
|
|
1992
|
-
cleanupIo == null || cleanupIo();
|
|
1993
|
-
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1994
|
-
resizeObserver = null;
|
|
1995
|
-
if (animationFrame) {
|
|
1996
|
-
cancelAnimationFrame(frameId);
|
|
1997
|
-
}
|
|
1998
|
-
};
|
|
1999
|
-
}
|
|
2000
|
-
|
|
2001
|
-
/**
|
|
2002
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
2003
|
-
* element is overflowing a given clipping boundary on each side.
|
|
2004
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
2005
|
-
* - negative = how many pixels left before it will overflow
|
|
2006
|
-
* - 0 = lies flush with the boundary
|
|
2007
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
2008
|
-
*/
|
|
2009
|
-
const detectOverflow = detectOverflow$1;
|
|
2010
|
-
|
|
2011
|
-
/**
|
|
2012
|
-
* Modifies the placement by translating the floating element along the
|
|
2013
|
-
* specified axes.
|
|
2014
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
2015
|
-
* object may be passed.
|
|
2016
|
-
* @see https://floating-ui.com/docs/offset
|
|
2017
|
-
*/
|
|
2018
|
-
const offset = offset$1;
|
|
2019
|
-
|
|
2020
|
-
/**
|
|
2021
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
|
2022
|
-
* that has the most space available automatically, without needing to specify a
|
|
2023
|
-
* preferred placement. Alternative to `flip`.
|
|
2024
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
2025
|
-
*/
|
|
2026
|
-
const autoPlacement = autoPlacement$1;
|
|
2027
|
-
|
|
2028
|
-
/**
|
|
2029
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
2030
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
2031
|
-
* @see https://floating-ui.com/docs/shift
|
|
2032
|
-
*/
|
|
2033
|
-
const shift = shift$1;
|
|
2034
|
-
|
|
2035
|
-
/**
|
|
2036
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
2037
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
2038
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
2039
|
-
* @see https://floating-ui.com/docs/flip
|
|
2040
|
-
*/
|
|
2041
|
-
const flip = flip$1;
|
|
2042
|
-
|
|
2043
|
-
/**
|
|
2044
|
-
* Provides data that allows you to change the size of the floating element —
|
|
2045
|
-
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
2046
|
-
* width of the reference element.
|
|
2047
|
-
* @see https://floating-ui.com/docs/size
|
|
2048
|
-
*/
|
|
2049
|
-
const size = size$1;
|
|
2050
|
-
|
|
2051
|
-
/**
|
|
2052
|
-
* Provides data to hide the floating element in applicable situations, such as
|
|
2053
|
-
* when it is not in the same clipping context as the reference element.
|
|
2054
|
-
* @see https://floating-ui.com/docs/hide
|
|
2055
|
-
*/
|
|
2056
|
-
const hide = hide$1;
|
|
2057
|
-
|
|
2058
|
-
/**
|
|
2059
|
-
* Provides data to position an inner element of the floating element so that it
|
|
2060
|
-
* appears centered to the reference element.
|
|
2061
|
-
* @see https://floating-ui.com/docs/arrow
|
|
2062
|
-
*/
|
|
2063
|
-
const arrow = arrow$1;
|
|
2064
|
-
|
|
2065
|
-
/**
|
|
2066
|
-
* Provides improved positioning for inline reference elements that can span
|
|
2067
|
-
* over multiple lines, such as hyperlinks or range selections.
|
|
2068
|
-
* @see https://floating-ui.com/docs/inline
|
|
2069
|
-
*/
|
|
2070
|
-
const inline = inline$1;
|
|
2071
|
-
|
|
2072
|
-
/**
|
|
2073
|
-
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
2074
|
-
*/
|
|
2075
|
-
const limitShift = limitShift$1;
|
|
2076
|
-
|
|
2077
|
-
/**
|
|
2078
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
2079
|
-
* next to a given reference element.
|
|
2080
|
-
*/
|
|
2081
|
-
const computePosition = (reference, floating, options) => {
|
|
2082
|
-
// This caches the expensive `getClippingElementAncestors` function so that
|
|
2083
|
-
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
2084
|
-
// single call. If other functions become expensive, we can add them as well.
|
|
2085
|
-
const cache = new Map();
|
|
2086
|
-
const mergedOptions = {
|
|
2087
|
-
platform,
|
|
2088
|
-
...options
|
|
2089
|
-
};
|
|
2090
|
-
const platformWithCache = {
|
|
2091
|
-
...mergedOptions.platform,
|
|
2092
|
-
_c: cache
|
|
2093
|
-
};
|
|
2094
|
-
return computePosition$1(reference, floating, {
|
|
2095
|
-
...mergedOptions,
|
|
2096
|
-
platform: platformWithCache
|
|
2097
|
-
});
|
|
2098
|
-
};
|
|
2099
|
-
|
|
2100
|
-
export { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, platform, shift, size };
|