@actabldesign/bellhop-core 0.0.3 → 0.0.6
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/README.md +1 -1
- package/dist/bellhop-core/bellhop-core.esm.js +2 -0
- package/dist/bellhop-core/bellhop-core.esm.js.map +1 -0
- package/dist/bellhop-core/bh-accordion-item.entry.esm.js.map +1 -0
- package/dist/bellhop-core/bh-button.bh-loader-spinner.entry.esm.js.map +1 -0
- package/dist/bellhop-core/bh-checkbox.bh-radio-button.entry.esm.js.map +1 -0
- package/dist/bellhop-core/bh-data-grid.entry.esm.js.map +1 -0
- package/dist/bellhop-core/bh-date-picker-content.entry.esm.js.map +1 -0
- package/dist/bellhop-core/bh-date-picker.entry.esm.js.map +1 -0
- package/dist/bellhop-core/bh-dropdown.bh-logo-box.bh-nav-item.entry.esm.js.map +1 -0
- package/dist/bellhop-core/bh-empty-state.bh-pagination.bh-skeleton-loader.entry.esm.js.map +1 -0
- package/dist/bellhop-core/bh-input-text.bh-picker-menu.entry.esm.js.map +1 -0
- package/dist/bellhop-core/index.esm.js +2 -0
- package/dist/bellhop-core/index.esm.js.map +1 -0
- package/dist/bellhop-core/p-03e93cd8.entry.js +2 -0
- package/dist/bellhop-core/p-0438e0a9.entry.js +2 -0
- package/dist/bellhop-core/p-086e8c86.entry.js +2 -0
- package/dist/bellhop-core/p-09f3464e.entry.js +2 -0
- package/dist/bellhop-core/p-10967cab.entry.js +2 -0
- package/dist/bellhop-core/p-10967cab.entry.js.map +1 -0
- package/dist/bellhop-core/p-20d680ce.entry.js +2 -0
- package/dist/bellhop-core/p-2310cb6e.entry.js +13 -0
- package/dist/bellhop-core/p-2310cb6e.entry.js.map +1 -0
- package/dist/bellhop-core/p-239c7e6b.entry.js +2 -0
- package/dist/bellhop-core/p-23b74b40.entry.js +2 -0
- package/dist/bellhop-core/p-2c796978.entry.js +2 -0
- package/dist/bellhop-core/p-356a2ed7.entry.js +2 -0
- package/dist/bellhop-core/p-363dce47.entry.js +2 -0
- package/dist/bellhop-core/p-3719852a.entry.js +2 -0
- package/dist/bellhop-core/p-44241bad.entry.js +2 -0
- package/dist/bellhop-core/p-496fca9b.entry.js +2 -0
- package/dist/bellhop-core/p-496fca9b.entry.js.map +1 -0
- package/dist/bellhop-core/p-4a14cbb5.entry.js +2 -0
- package/dist/bellhop-core/p-52e877e0.entry.js +2 -0
- package/dist/bellhop-core/p-56b857f5.entry.js +2 -0
- package/dist/bellhop-core/p-5760ce66.entry.js +2 -0
- package/dist/bellhop-core/p-57ac382d.entry.js +2 -0
- package/dist/bellhop-core/p-58879213.entry.js +2 -0
- package/dist/bellhop-core/p-5ab50add.entry.js +2 -0
- package/dist/bellhop-core/p-6433b0a7.entry.js +2 -0
- package/dist/bellhop-core/p-67452ed0.entry.js +2 -0
- package/dist/bellhop-core/p-686dea4a.entry.js +2 -0
- package/dist/bellhop-core/p-69f85850.entry.js +2 -0
- package/dist/bellhop-core/p-70ee270c.entry.js +2 -0
- package/dist/bellhop-core/p-859f45da.entry.js +2 -0
- package/dist/bellhop-core/p-860be0be.entry.js +2 -0
- package/dist/bellhop-core/p-870fc023.entry.js +2 -0
- package/dist/bellhop-core/p-87fb26a0.entry.js +2 -0
- package/dist/bellhop-core/p-8981025c.entry.js +2 -0
- package/dist/bellhop-core/p-8981025c.entry.js.map +1 -0
- package/dist/bellhop-core/p-90b9047d.entry.js +2 -0
- package/dist/bellhop-core/p-94d2d599.entry.js +2 -0
- package/dist/bellhop-core/p-9a585c1a.entry.js +2 -0
- package/dist/bellhop-core/p-CIj6YHfo.js +2 -0
- package/dist/bellhop-core/p-CIj6YHfo.js.map +1 -0
- package/dist/bellhop-core/p-DXAL-jSE.js +3 -0
- package/dist/bellhop-core/p-DXAL-jSE.js.map +1 -0
- package/dist/bellhop-core/p-DshiN5nT.js +2 -0
- package/dist/bellhop-core/p-DshiN5nT.js.map +1 -0
- package/dist/bellhop-core/p-I9CPXdBF.js +2 -0
- package/dist/bellhop-core/p-I9CPXdBF.js.map +1 -0
- package/dist/bellhop-core/p-ab2b037c.entry.js +2 -0
- package/dist/bellhop-core/p-ab9c5351.entry.js +2 -0
- package/dist/bellhop-core/p-abe24947.entry.js +2 -0
- package/dist/bellhop-core/p-adcd2e15.entry.js +2 -0
- package/dist/bellhop-core/p-afd0e309.entry.js +2 -0
- package/dist/bellhop-core/p-b1cb34e9.entry.js +2 -0
- package/dist/bellhop-core/p-b546cd23.entry.js +2 -0
- package/dist/bellhop-core/p-b546cd23.entry.js.map +1 -0
- package/dist/bellhop-core/p-b7801d25.entry.js +2 -0
- package/dist/bellhop-core/p-b7801d25.entry.js.map +1 -0
- package/dist/bellhop-core/p-c8fb7f34.entry.js +2 -0
- package/dist/bellhop-core/p-c8fb7f34.entry.js.map +1 -0
- package/dist/bellhop-core/p-cdd593fb.entry.js +2 -0
- package/dist/bellhop-core/p-d4bfd30d.entry.js +2 -0
- package/dist/bellhop-core/p-dcaa20e2.entry.js +2 -0
- package/dist/bellhop-core/p-dd43d560.entry.js +2 -0
- package/dist/bellhop-core/p-e190ac50.entry.js +2 -0
- package/dist/bellhop-core/p-e86780b6.entry.js +2 -0
- package/dist/bellhop-core/p-e99bc91a.entry.js +2 -0
- package/dist/bellhop-core/p-e9ed7c17.entry.js +2 -0
- package/dist/bellhop-core/p-ef47dcd1.entry.js +2 -0
- package/dist/bellhop-core/p-f5468da0.entry.js +2 -0
- package/dist/bellhop-core/p-f5468da0.entry.js.map +1 -0
- package/dist/bellhop-core/p-f6e1b47c.entry.js +2 -0
- package/dist/bellhop-core/p-f7c7416d.entry.js +2 -0
- package/dist/cjs/bellhop-core.cjs.js +25 -0
- package/dist/cjs/bellhop-core.cjs.js.map +1 -0
- package/dist/cjs/bh-accordion-item.cjs.entry.js +82 -0
- package/dist/cjs/bh-accordion-item.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-accordion.cjs.entry.js +119 -0
- package/dist/cjs/bh-appbar.cjs.entry.js +83 -0
- package/dist/cjs/bh-autocomplete-menu_2.cjs.entry.js +177 -0
- package/dist/cjs/bh-avatar-add.cjs.entry.js +75 -0
- package/dist/cjs/bh-avatar-stacked.cjs.entry.js +94 -0
- package/dist/cjs/bh-avatar.cjs.entry.js +93 -0
- package/dist/cjs/bh-badge-dot_2.cjs.entry.js +134 -0
- package/dist/cjs/bh-badge.cjs.entry.js +71 -0
- package/dist/cjs/bh-bar-chart.cjs.entry.js +164 -0
- package/dist/cjs/bh-button-CKYE8jYL.js +117 -0
- package/dist/cjs/bh-button-CKYE8jYL.js.map +1 -0
- package/dist/cjs/bh-button-icon.cjs.entry.js +74 -0
- package/dist/cjs/bh-button.bh-loader-spinner.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-button_2.cjs.entry.js +47 -0
- package/dist/cjs/bh-card-footer.cjs.entry.js +30 -0
- package/dist/cjs/bh-card-header.cjs.entry.js +74 -0
- package/dist/cjs/bh-card.cjs.entry.js +48 -0
- package/dist/cjs/bh-chart-tooltip.cjs.entry.js +57 -0
- package/dist/cjs/bh-checkbox-group-item.cjs.entry.js +142 -0
- package/dist/cjs/bh-checkbox-group.cjs.entry.js +100 -0
- package/dist/cjs/bh-checkbox.bh-radio-button.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-checkbox_2.cjs.entry.js +267 -0
- package/dist/cjs/bh-container-footer.cjs.entry.js +38 -0
- package/dist/cjs/bh-container.cjs.entry.js +26 -0
- package/dist/cjs/bh-data-grid.cjs.entry.js +4230 -0
- package/dist/cjs/bh-data-grid.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-date-picker-content.cjs.entry.js +370 -0
- package/dist/cjs/bh-date-picker-content.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-date-picker.cjs.entry.js +173 -0
- package/dist/cjs/bh-date-picker.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-date-range-picker-content.cjs.entry.js +151 -0
- package/dist/cjs/bh-date-range-picker.cjs.entry.js +167 -0
- package/dist/cjs/bh-dropdown-menu.cjs.entry.js +114 -0
- package/dist/cjs/bh-dropdown.bh-logo-box.bh-nav-item.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-dropdown_3.cjs.entry.js +1887 -0
- package/dist/cjs/bh-empty-state.bh-pagination.bh-skeleton-loader.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-empty-state_3.cjs.entry.js +115 -0
- package/dist/cjs/bh-featured-icon.cjs.entry.js +41 -0
- package/dist/cjs/bh-illustrations.cjs.entry.js +65 -0
- package/dist/cjs/bh-input-autocomplete.cjs.entry.js +342 -0
- package/dist/cjs/bh-input-number.cjs.entry.js +307 -0
- package/dist/cjs/bh-input-password.cjs.entry.js +182 -0
- package/dist/cjs/bh-input-text.bh-picker-menu.entry.cjs.js.map +1 -0
- package/dist/cjs/bh-input-text_2.cjs.entry.js +347 -0
- package/dist/cjs/bh-input-verification.cjs.entry.js +203 -0
- package/dist/cjs/bh-label-DRC8k-B9.js +110 -0
- package/dist/cjs/bh-label-DRC8k-B9.js.map +1 -0
- package/dist/cjs/bh-label_2.cjs.entry.js +48 -0
- package/dist/cjs/bh-modal-actions.cjs.entry.js +66 -0
- package/dist/cjs/bh-modal-header.cjs.entry.js +76 -0
- package/dist/cjs/bh-modal.cjs.entry.js +56 -0
- package/dist/cjs/bh-month-picker-content.cjs.entry.js +189 -0
- package/dist/cjs/bh-month-picker.cjs.entry.js +152 -0
- package/dist/cjs/bh-notification.cjs.entry.js +128 -0
- package/dist/cjs/bh-page-navigation-child.cjs.entry.js +48 -0
- package/dist/cjs/bh-page-navigation-multi-level_2.cjs.entry.js +146 -0
- package/dist/cjs/bh-page-navigation.cjs.entry.js +72 -0
- package/dist/cjs/bh-pagination-BJ1azyCc.js +152 -0
- package/dist/cjs/bh-pagination-BJ1azyCc.js.map +1 -0
- package/dist/cjs/bh-pie-chart.cjs.entry.js +157 -0
- package/dist/cjs/bh-popover.cjs.entry.js +100 -0
- package/dist/cjs/bh-product-switcher.cjs.entry.js +102 -0
- package/dist/cjs/bh-property-switcher.cjs.entry.js +231 -0
- package/dist/cjs/bh-sidebar.cjs.entry.js +110 -0
- package/dist/cjs/bh-tab-item.cjs.entry.js +54 -0
- package/dist/cjs/bh-tabs.cjs.entry.js +52 -0
- package/dist/cjs/bh-textarea.cjs.entry.js +161 -0
- package/dist/cjs/bh-toggle.cjs.entry.js +141 -0
- package/dist/cjs/bh-trend-chart.cjs.entry.js +121 -0
- package/dist/cjs/index-BVJ_Kket.js +1959 -0
- package/dist/cjs/index-BVJ_Kket.js.map +1 -0
- package/dist/cjs/index.cjs.js +34 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/collection/collection-manifest.json +78 -0
- package/dist/collection/components/bh-accordion/bh-accordion.js +227 -0
- package/dist/collection/components/bh-accordion-item/bh-accordion-item.css +119 -0
- package/dist/collection/components/bh-accordion-item/bh-accordion-item.js +207 -0
- package/dist/collection/components/bh-appbar/bh-appbar.js +270 -0
- package/dist/collection/components/bh-autocomplete-menu/bh-autocomplete-menu.js +301 -0
- package/dist/collection/components/bh-avatar/bh-avatar.js +266 -0
- package/dist/collection/components/bh-avatar-add/bh-avatar-add.js +194 -0
- package/dist/collection/components/bh-avatar-stacked/bh-avatar-stacked.js +211 -0
- package/dist/collection/components/bh-badge/bh-badge.js +250 -0
- package/dist/collection/components/bh-badge-dot/bh-badge-dot.js +113 -0
- package/dist/collection/components/bh-bar-chart/bh-bar-chart.css +363 -0
- package/dist/collection/components/bh-bar-chart/bh-bar-chart.js +316 -0
- package/dist/collection/components/bh-breadcrumbs/bh-breadcrumbs.js +231 -0
- package/dist/collection/components/bh-button/bh-button.js +350 -0
- package/dist/collection/components/bh-button-icon/bh-button-icon.js +259 -0
- package/dist/collection/components/bh-card/bh-card.js +139 -0
- package/dist/collection/components/bh-card-footer/bh-card-footer.js +81 -0
- package/dist/collection/components/bh-card-header/bh-card-header.js +348 -0
- package/dist/collection/components/bh-chart-tooltip/bh-chart-tooltip.css +301 -0
- package/dist/collection/components/bh-chart-tooltip/bh-chart-tooltip.js +226 -0
- package/dist/collection/components/bh-checkbox/bh-checkbox.js +383 -0
- package/dist/collection/components/bh-checkbox/bh-checkbox.js.map +1 -0
- package/dist/collection/components/bh-checkbox-group/bh-checkbox-group.js +218 -0
- package/dist/collection/components/bh-checkbox-group-item/bh-checkbox-group-item.js +402 -0
- package/dist/collection/components/bh-container/bh-container.js +51 -0
- package/dist/collection/components/bh-container-footer/bh-container-footer.js +106 -0
- package/dist/collection/components/bh-data-grid/bh-data-grid.css +610 -0
- package/dist/collection/components/bh-data-grid/bh-data-grid.js +1933 -0
- package/dist/collection/components/bh-data-grid/bh-data-grid.js.map +1 -0
- package/dist/collection/components/bh-data-grid/bh-data-grid.types.js +2 -0
- package/dist/collection/components/bh-data-grid/bh-data-grid.types.js.map +1 -0
- package/dist/collection/components/bh-date-picker/bh-date-picker.css +251 -0
- package/dist/collection/components/bh-date-picker/bh-date-picker.js +485 -0
- package/dist/collection/components/bh-date-picker-content/bh-date-picker-content.css +541 -0
- package/dist/collection/components/bh-date-picker-content/bh-date-picker-content.js +711 -0
- package/dist/collection/components/bh-date-range-picker/bh-date-range-picker.css +247 -0
- package/dist/collection/components/bh-date-range-picker/bh-date-range-picker.js +528 -0
- package/dist/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.css +275 -0
- package/dist/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.js +338 -0
- package/dist/collection/components/bh-dropdown/bh-dropdown.css +51 -0
- package/dist/collection/components/bh-dropdown/bh-dropdown.js +569 -0
- package/dist/collection/components/bh-dropdown/bh-dropdown.js.map +1 -0
- package/dist/collection/components/bh-dropdown-menu/bh-dropdown-menu.js +262 -0
- package/dist/collection/components/bh-empty-state/bh-empty-state.js +306 -0
- package/dist/collection/components/bh-featured-icon/bh-featured-icon.js +144 -0
- package/dist/collection/components/bh-illustrations/bh-illustrations.css +328 -0
- package/dist/collection/components/bh-illustrations/bh-illustrations.js +174 -0
- package/dist/collection/components/bh-input-autocomplete/bh-input-autocomplete.css +301 -0
- package/dist/collection/components/bh-input-autocomplete/bh-input-autocomplete.js +872 -0
- package/dist/collection/components/bh-input-number/bh-input-number.js +818 -0
- package/dist/collection/components/bh-input-password/bh-input-password.js +581 -0
- package/dist/collection/components/bh-input-text/bh-input-text.js +696 -0
- package/dist/collection/components/bh-input-verification/bh-input-verification.js +523 -0
- package/dist/collection/components/bh-label/bh-label.js +302 -0
- package/dist/collection/components/bh-loader-spinner/bh-loader-spinner.css +153 -0
- package/dist/collection/components/bh-loader-spinner/bh-loader-spinner.js +182 -0
- package/dist/collection/components/bh-logo-box/bh-logo-box.js +229 -0
- package/dist/collection/components/bh-logo-box/bh-logo-box.js.map +1 -0
- package/dist/collection/components/bh-modal/bh-modal.js +144 -0
- package/dist/collection/components/bh-modal-actions/bh-modal-actions.js +208 -0
- package/dist/collection/components/bh-modal-header/bh-modal-header.js +275 -0
- package/dist/collection/components/bh-month-picker/bh-month-picker.css +251 -0
- package/dist/collection/components/bh-month-picker/bh-month-picker.js +444 -0
- package/dist/collection/components/bh-month-picker-content/bh-month-picker-content.css +406 -0
- package/dist/collection/components/bh-month-picker-content/bh-month-picker-content.js +437 -0
- package/dist/collection/components/bh-notification/bh-notification.js +324 -0
- package/dist/collection/components/bh-page-navigation/bh-page-navigation.css +253 -0
- package/dist/collection/components/bh-page-navigation/bh-page-navigation.js +146 -0
- package/dist/collection/components/bh-page-navigation-child/bh-page-navigation-child.css +281 -0
- package/dist/collection/components/bh-page-navigation-child/bh-page-navigation-child.js +148 -0
- package/dist/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.css +372 -0
- package/dist/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js +268 -0
- package/dist/collection/components/bh-page-navigation-single-level/bh-page-navigation-single-level.js +126 -0
- package/dist/collection/components/bh-pagination/bh-pagination.css +244 -0
- package/dist/collection/components/bh-pagination/bh-pagination.js +448 -0
- package/dist/collection/components/bh-pagination/bh-pagination.js.map +1 -0
- package/dist/collection/components/bh-picker-menu/bh-picker-menu.css +284 -0
- package/dist/collection/components/bh-pie-chart/bh-pie-chart.css +292 -0
- package/dist/collection/components/bh-pie-chart/bh-pie-chart.js +280 -0
- package/dist/collection/components/bh-popover/bh-popover.js +326 -0
- package/dist/collection/components/bh-product-switcher/bh-product-switcher.js +226 -0
- package/dist/collection/components/bh-property-switcher/bh-property-switcher.js +360 -0
- package/dist/collection/components/bh-radio-button/bh-radio-button.js +292 -0
- package/dist/collection/components/bh-sidebar/bh-nav-item.js +157 -0
- package/dist/collection/components/bh-sidebar/bh-sidebar.js +344 -0
- package/dist/collection/components/bh-skeleton-loader/bh-skeleton-loader.js +99 -0
- package/dist/collection/components/bh-tab-item/bh-tab-item.js +158 -0
- package/dist/collection/components/bh-tabs/bh-tabs.js +178 -0
- package/dist/collection/components/bh-tag/bh-tag.js +238 -0
- package/dist/collection/components/bh-textarea/bh-textarea.js +569 -0
- package/dist/collection/components/bh-toggle/bh-toggle.js +369 -0
- package/dist/collection/components/bh-tooltip/bh-tooltip.js +162 -0
- package/dist/collection/components/bh-trend-chart/bh-trend-chart.css +299 -0
- package/dist/collection/components/bh-trend-chart/bh-trend-chart.js +256 -0
- package/dist/collection/index.js +24 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/components/bh-accordion-item.js +111 -0
- package/dist/components/bh-accordion-item.js.map +1 -0
- package/dist/components/bh-accordion.js +147 -0
- package/dist/components/bh-appbar.js +128 -0
- package/dist/components/bh-autocomplete-menu.js +9 -0
- package/dist/components/bh-avatar-add.js +9 -0
- package/dist/components/bh-avatar-stacked.js +141 -0
- package/dist/components/bh-avatar.js +9 -0
- package/dist/components/bh-badge-dot.js +9 -0
- package/dist/components/bh-badge.js +9 -0
- package/dist/components/bh-bar-chart.js +205 -0
- package/dist/components/bh-breadcrumbs.js +9 -0
- package/dist/components/bh-button-icon.js +9 -0
- package/dist/components/bh-button.js +9 -0
- package/dist/components/bh-card-footer.js +9 -0
- package/dist/components/bh-card-header.js +9 -0
- package/dist/components/bh-card.js +9 -0
- package/dist/components/bh-chart-tooltip.js +9 -0
- package/dist/components/bh-checkbox-group-item.js +9 -0
- package/dist/components/bh-checkbox-group.js +9 -0
- package/dist/components/bh-checkbox.js +9 -0
- package/dist/components/bh-container-footer.js +74 -0
- package/dist/components/bh-container.js +49 -0
- package/dist/components/bh-data-grid.js +9 -0
- package/dist/components/bh-date-picker-content.js +9 -0
- package/dist/components/bh-date-picker.js +267 -0
- package/dist/components/bh-date-picker.js.map +1 -0
- package/dist/components/bh-date-range-picker-content.js +9 -0
- package/dist/components/bh-date-range-picker.js +269 -0
- package/dist/components/bh-dropdown-menu.js +9 -0
- package/dist/components/bh-dropdown.js +9 -0
- package/dist/components/bh-empty-state.js +9 -0
- package/dist/components/bh-featured-icon.js +9 -0
- package/dist/components/bh-illustrations.js +92 -0
- package/dist/components/bh-input-autocomplete.js +433 -0
- package/dist/components/bh-input-number.js +370 -0
- package/dist/components/bh-input-password.js +229 -0
- package/dist/components/bh-input-text.js +9 -0
- package/dist/components/bh-input-verification.js +255 -0
- package/dist/components/bh-label.js +9 -0
- package/dist/components/bh-loader-spinner.js +9 -0
- package/dist/components/bh-logo-box.js +9 -0
- package/dist/components/bh-modal-actions.js +105 -0
- package/dist/components/bh-modal-header.js +119 -0
- package/dist/components/bh-modal.js +9 -0
- package/dist/components/bh-month-picker-content.js +9 -0
- package/dist/components/bh-month-picker.js +233 -0
- package/dist/components/bh-nav-item.js +9 -0
- package/dist/components/bh-notification.js +175 -0
- package/dist/components/bh-page-navigation-child.js +9 -0
- package/dist/components/bh-page-navigation-multi-level.js +9 -0
- package/dist/components/bh-page-navigation-single-level.js +9 -0
- package/dist/components/bh-page-navigation.js +129 -0
- package/dist/components/bh-pagination.d.ts +11 -0
- package/dist/components/bh-pagination.js +9 -0
- package/dist/components/bh-pagination.js.map +1 -0
- package/dist/components/bh-picker-menu.js +9 -0
- package/dist/components/bh-pie-chart.js +194 -0
- package/dist/components/bh-popover.js +131 -0
- package/dist/components/bh-product-switcher.js +9 -0
- package/dist/components/bh-property-switcher.js +261 -0
- package/dist/components/bh-radio-button.js +9 -0
- package/dist/components/bh-sidebar.js +195 -0
- package/dist/components/bh-skeleton-loader.js +9 -0
- package/dist/components/bh-skeleton-loader.js.map +1 -0
- package/dist/components/bh-tab-item.js +80 -0
- package/dist/components/bh-tabs.js +78 -0
- package/dist/components/bh-tag.js +9 -0
- package/dist/components/bh-textarea.js +207 -0
- package/dist/components/bh-toggle.js +9 -0
- package/dist/components/bh-tooltip.js +9 -0
- package/dist/components/bh-trend-chart.js +149 -0
- package/dist/components/index.js +17 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/p-3wrr5uYj.js +84 -0
- package/dist/components/p-3wrr5uYj.js.map +1 -0
- package/dist/components/p-B-oXID22.js +214 -0
- package/dist/components/p-B-oXID22.js.map +1 -0
- package/dist/components/p-B7e9Vn80.js +123 -0
- package/dist/components/p-B7e9Vn80.js.map +1 -0
- package/dist/components/p-BAKX4y5m.js +158 -0
- package/dist/components/p-BAKX4y5m.js.map +1 -0
- package/dist/components/p-BE4kximA.js +78 -0
- package/dist/components/p-BE4kximA.js.map +1 -0
- package/dist/components/p-BM_aWCWB.js +92 -0
- package/dist/components/p-BM_aWCWB.js.map +1 -0
- package/dist/components/p-BsB67vNb.js +100 -0
- package/dist/components/p-BsB67vNb.js.map +1 -0
- package/dist/components/p-BsgViq32.js +189 -0
- package/dist/components/p-BsgViq32.js.map +1 -0
- package/dist/components/p-BuUjUqUh.js +224 -0
- package/dist/components/p-BuUjUqUh.js.map +1 -0
- package/dist/components/p-C24VI6pZ.js +71 -0
- package/dist/components/p-C24VI6pZ.js.map +1 -0
- package/dist/components/p-CA0LmFbe.js +70 -0
- package/dist/components/p-CA0LmFbe.js.map +1 -0
- package/dist/components/p-CECXxls6.js +213 -0
- package/dist/components/p-CECXxls6.js.map +1 -0
- package/dist/components/p-CGw-G2Wz.js +123 -0
- package/dist/components/p-CGw-G2Wz.js.map +1 -0
- package/dist/components/p-CHuAmqhM.js +64 -0
- package/dist/components/p-CHuAmqhM.js.map +1 -0
- package/dist/components/p-CKiB8Aa8.js +97 -0
- package/dist/components/p-CKiB8Aa8.js.map +1 -0
- package/dist/components/p-CNifJXgc.js +153 -0
- package/dist/components/p-CNifJXgc.js.map +1 -0
- package/dist/components/p-CcPNBnbg.js +124 -0
- package/dist/components/p-CcPNBnbg.js.map +1 -0
- package/dist/components/p-CnQh9uSW.js +434 -0
- package/dist/components/p-CnQh9uSW.js.map +1 -0
- package/dist/components/p-CoJrxiH7.js +183 -0
- package/dist/components/p-CoJrxiH7.js.map +1 -0
- package/dist/components/p-CrB92GYh.js +241 -0
- package/dist/components/p-CrB92GYh.js.map +1 -0
- package/dist/components/p-CycIV1i_.js +51 -0
- package/dist/components/p-CycIV1i_.js.map +1 -0
- package/dist/components/p-CzM_4nyA.js +142 -0
- package/dist/components/p-CzM_4nyA.js.map +1 -0
- package/dist/components/p-DBL4ByGk.js +125 -0
- package/dist/components/p-DBL4ByGk.js.map +1 -0
- package/dist/components/p-DErr7PhS.js +78 -0
- package/dist/components/p-DErr7PhS.js.map +1 -0
- package/dist/components/p-DK1vwbmm.js +166 -0
- package/dist/components/p-DK1vwbmm.js.map +1 -0
- package/dist/components/p-DLHC5fHk.js +1474 -0
- package/dist/components/p-DLHC5fHk.js.map +1 -0
- package/dist/components/p-DLql1qMx.js +106 -0
- package/dist/components/p-DLql1qMx.js.map +1 -0
- package/dist/components/p-DXXn0saP.js +148 -0
- package/dist/components/p-DXXn0saP.js.map +1 -0
- package/dist/components/p-D_matRYZ.js +118 -0
- package/dist/components/p-D_matRYZ.js.map +1 -0
- package/dist/components/p-DcXhS_xz.js +204 -0
- package/dist/components/p-DcXhS_xz.js.map +1 -0
- package/dist/components/p-DgAfq9r9.js +56 -0
- package/dist/components/p-DgAfq9r9.js.map +1 -0
- package/dist/components/p-DjsErN85.js +72 -0
- package/dist/components/p-DjsErN85.js.map +1 -0
- package/dist/components/p-Djti9xFF.js +1797 -0
- package/dist/components/p-Djti9xFF.js.map +1 -0
- package/dist/components/p-DoORMw6u.js +67 -0
- package/dist/components/p-DoORMw6u.js.map +1 -0
- package/dist/components/p-DpK6k515.js +4357 -0
- package/dist/components/p-DpK6k515.js.map +1 -0
- package/dist/components/p-FVbfBpwz.js +132 -0
- package/dist/components/p-FVbfBpwz.js.map +1 -0
- package/dist/components/p-G4wC-s5k.js +58 -0
- package/dist/components/p-G4wC-s5k.js.map +1 -0
- package/dist/components/p-QjxdVLPX.js +149 -0
- package/dist/components/p-QjxdVLPX.js.map +1 -0
- package/dist/components/p-UG_h-ztP.js +70 -0
- package/dist/components/p-UG_h-ztP.js.map +1 -0
- package/dist/components/p-l5G-q5dj.js +137 -0
- package/dist/components/p-l5G-q5dj.js.map +1 -0
- package/dist/components/p-qS3vvZaC.js +154 -0
- package/dist/components/p-qS3vvZaC.js.map +1 -0
- package/dist/esm/bellhop-core.js +21 -0
- package/dist/esm/bellhop-core.js.map +1 -0
- package/dist/esm/bh-accordion-item.entry.js +80 -0
- package/dist/esm/bh-accordion-item.entry.js.map +1 -0
- package/dist/esm/bh-accordion.entry.js +117 -0
- package/dist/esm/bh-appbar.entry.js +81 -0
- package/dist/esm/bh-autocomplete-menu_2.entry.js +174 -0
- package/dist/esm/bh-avatar-add.entry.js +73 -0
- package/dist/esm/bh-avatar-stacked.entry.js +92 -0
- package/dist/esm/bh-avatar.entry.js +91 -0
- package/dist/esm/bh-badge-dot_2.entry.js +131 -0
- package/dist/esm/bh-badge.entry.js +69 -0
- package/dist/esm/bh-bar-chart.entry.js +162 -0
- package/dist/esm/bh-button-icon.entry.js +72 -0
- package/dist/esm/bh-button-n5gkWRSP.js +115 -0
- package/dist/esm/bh-button-n5gkWRSP.js.map +1 -0
- package/dist/esm/bh-button.bh-loader-spinner.entry.js.map +1 -0
- package/dist/esm/bh-button_2.entry.js +44 -0
- package/dist/esm/bh-card-footer.entry.js +28 -0
- package/dist/esm/bh-card-header.entry.js +72 -0
- package/dist/esm/bh-card.entry.js +46 -0
- package/dist/esm/bh-chart-tooltip.entry.js +55 -0
- package/dist/esm/bh-checkbox-group-item.entry.js +140 -0
- package/dist/esm/bh-checkbox-group.entry.js +98 -0
- package/dist/esm/bh-checkbox.bh-radio-button.entry.js.map +1 -0
- package/dist/esm/bh-checkbox_2.entry.js +264 -0
- package/dist/esm/bh-container-footer.entry.js +36 -0
- package/dist/esm/bh-container.entry.js +24 -0
- package/dist/esm/bh-data-grid.entry.js +4228 -0
- package/dist/esm/bh-data-grid.entry.js.map +1 -0
- package/dist/esm/bh-date-picker-content.entry.js +368 -0
- package/dist/esm/bh-date-picker-content.entry.js.map +1 -0
- package/dist/esm/bh-date-picker.entry.js +171 -0
- package/dist/esm/bh-date-picker.entry.js.map +1 -0
- package/dist/esm/bh-date-range-picker-content.entry.js +149 -0
- package/dist/esm/bh-date-range-picker.entry.js +165 -0
- package/dist/esm/bh-dropdown-menu.entry.js +112 -0
- package/dist/esm/bh-dropdown.bh-logo-box.bh-nav-item.entry.js.map +1 -0
- package/dist/esm/bh-dropdown_3.entry.js +1883 -0
- package/dist/esm/bh-empty-state.bh-pagination.bh-skeleton-loader.entry.js.map +1 -0
- package/dist/esm/bh-empty-state_3.entry.js +111 -0
- package/dist/esm/bh-featured-icon.entry.js +39 -0
- package/dist/esm/bh-illustrations.entry.js +63 -0
- package/dist/esm/bh-input-autocomplete.entry.js +340 -0
- package/dist/esm/bh-input-number.entry.js +305 -0
- package/dist/esm/bh-input-password.entry.js +180 -0
- package/dist/esm/bh-input-text.bh-picker-menu.entry.js.map +1 -0
- package/dist/esm/bh-input-text_2.entry.js +344 -0
- package/dist/esm/bh-input-verification.entry.js +201 -0
- package/dist/esm/bh-label-fV57YpXm.js +108 -0
- package/dist/esm/bh-label-fV57YpXm.js.map +1 -0
- package/dist/esm/bh-label_2.entry.js +45 -0
- package/dist/esm/bh-modal-actions.entry.js +64 -0
- package/dist/esm/bh-modal-header.entry.js +74 -0
- package/dist/esm/bh-modal.entry.js +54 -0
- package/dist/esm/bh-month-picker-content.entry.js +187 -0
- package/dist/esm/bh-month-picker.entry.js +150 -0
- package/dist/esm/bh-notification.entry.js +126 -0
- package/dist/esm/bh-page-navigation-child.entry.js +46 -0
- package/dist/esm/bh-page-navigation-multi-level_2.entry.js +143 -0
- package/dist/esm/bh-page-navigation.entry.js +70 -0
- package/dist/esm/bh-pagination-BtbbslVs.js +150 -0
- package/dist/esm/bh-pagination-BtbbslVs.js.map +1 -0
- package/dist/esm/bh-pie-chart.entry.js +155 -0
- package/dist/esm/bh-popover.entry.js +98 -0
- package/dist/esm/bh-product-switcher.entry.js +100 -0
- package/dist/esm/bh-property-switcher.entry.js +229 -0
- package/dist/esm/bh-sidebar.entry.js +108 -0
- package/dist/esm/bh-tab-item.entry.js +52 -0
- package/dist/esm/bh-tabs.entry.js +50 -0
- package/dist/esm/bh-textarea.entry.js +159 -0
- package/dist/esm/bh-toggle.entry.js +139 -0
- package/dist/esm/bh-trend-chart.entry.js +119 -0
- package/dist/esm/index-DXAL-jSE.js +1929 -0
- package/dist/esm/index-DXAL-jSE.js.map +1 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/types/components/bh-checkbox/bh-checkbox.d.ts +46 -0
- package/dist/types/components/bh-data-grid/bh-data-grid.d.ts +155 -0
- package/dist/types/components/bh-data-grid/bh-data-grid.types.d.ts +93 -0
- package/dist/types/components/bh-dropdown/bh-dropdown.d.ts +89 -0
- package/dist/types/components/bh-logo-box/bh-logo-box.d.ts +36 -0
- package/dist/types/components/bh-pagination/bh-pagination.d.ts +80 -0
- package/dist/types/components.d.ts +7496 -0
- package/dist/types/index.d.ts +13 -0
- package/llms.txt +41649 -0
- package/package.json +63 -16
- package/react.d.ts +253 -0
- package/bellhop-core/bellhop-core.esm.js +0 -2
- package/bellhop-core/bellhop-core.esm.js.map +0 -1
- package/bellhop-core/bh-accordion-item.entry.esm.js.map +0 -1
- package/bellhop-core/bh-button.bh-loader-spinner.entry.esm.js.map +0 -1
- package/bellhop-core/bh-checkbox.entry.esm.js.map +0 -1
- package/bellhop-core/bh-data-grid.entry.esm.js.map +0 -1
- package/bellhop-core/bh-date-picker-content.bh-picker-menu.entry.esm.js.map +0 -1
- package/bellhop-core/bh-date-picker.bh-empty-state.entry.esm.js.map +0 -1
- package/bellhop-core/bh-dropdown.bh-logo-box.bh-nav-item.entry.esm.js.map +0 -1
- package/bellhop-core/bh-input-text.entry.esm.js.map +0 -1
- package/bellhop-core/bh-radio-button.entry.esm.js.map +0 -1
- package/bellhop-core/bh-skeleton-loader.entry.esm.js.map +0 -1
- package/bellhop-core/index.esm.js +0 -2
- package/bellhop-core/index.esm.js.map +0 -1
- package/bellhop-core/p-051a25aa.entry.js +0 -2
- package/bellhop-core/p-0579ce8d.entry.js +0 -2
- package/bellhop-core/p-05c13d72.entry.js +0 -2
- package/bellhop-core/p-0e013732.entry.js +0 -2
- package/bellhop-core/p-1960c2d0.entry.js +0 -2
- package/bellhop-core/p-2735c901.entry.js +0 -2
- package/bellhop-core/p-2735c901.entry.js.map +0 -1
- package/bellhop-core/p-2c80bc07.entry.js +0 -2
- package/bellhop-core/p-2cc0c4cf.entry.js +0 -2
- package/bellhop-core/p-3038cc1a.entry.js +0 -2
- package/bellhop-core/p-324cad08.entry.js +0 -2
- package/bellhop-core/p-324cad08.entry.js.map +0 -1
- package/bellhop-core/p-3bf098fd.entry.js +0 -2
- package/bellhop-core/p-3c739eea.entry.js +0 -2
- package/bellhop-core/p-4c71a0b6.entry.js +0 -2
- package/bellhop-core/p-5a220f12.entry.js +0 -2
- package/bellhop-core/p-5d844699.entry.js +0 -2
- package/bellhop-core/p-5e8d2fc0.entry.js +0 -2
- package/bellhop-core/p-71391701.entry.js +0 -2
- package/bellhop-core/p-7e67af77.entry.js +0 -2
- package/bellhop-core/p-7e908d03.entry.js +0 -2
- package/bellhop-core/p-7e908d03.entry.js.map +0 -1
- package/bellhop-core/p-8053e945.entry.js +0 -2
- package/bellhop-core/p-852564d6.entry.js +0 -2
- package/bellhop-core/p-86bbff38.entry.js +0 -2
- package/bellhop-core/p-87d1ed92.entry.js +0 -2
- package/bellhop-core/p-94156013.entry.js +0 -2
- package/bellhop-core/p-954b9c38.entry.js +0 -2
- package/bellhop-core/p-9693180e.entry.js +0 -2
- package/bellhop-core/p-98a336f7.entry.js +0 -2
- package/bellhop-core/p-98cc729f.entry.js +0 -2
- package/bellhop-core/p-9e7e64dc.entry.js +0 -2
- package/bellhop-core/p-9fe1fd2e.entry.js +0 -2
- package/bellhop-core/p-DANVSPII.js +0 -2
- package/bellhop-core/p-DANVSPII.js.map +0 -1
- package/bellhop-core/p-DKeuA-TM.js +0 -2
- package/bellhop-core/p-DKeuA-TM.js.map +0 -1
- package/bellhop-core/p-DtVghh5W.js +0 -3
- package/bellhop-core/p-DtVghh5W.js.map +0 -1
- package/bellhop-core/p-a901ae33.entry.js +0 -2
- package/bellhop-core/p-a901ae33.entry.js.map +0 -1
- package/bellhop-core/p-abd6ade0.entry.js +0 -2
- package/bellhop-core/p-abd6ade0.entry.js.map +0 -1
- package/bellhop-core/p-abf68de4.entry.js +0 -2
- package/bellhop-core/p-ad15a4b9.entry.js +0 -2
- package/bellhop-core/p-b1affa8d.entry.js +0 -2
- package/bellhop-core/p-b1affa8d.entry.js.map +0 -1
- package/bellhop-core/p-b4104ae5.entry.js +0 -2
- package/bellhop-core/p-c194883a.entry.js +0 -2
- package/bellhop-core/p-c48ca590.entry.js +0 -2
- package/bellhop-core/p-c82e73aa.entry.js +0 -2
- package/bellhop-core/p-d14192df.entry.js +0 -2
- package/bellhop-core/p-d5fb8d0f.entry.js +0 -2
- package/bellhop-core/p-d9106838.entry.js +0 -2
- package/bellhop-core/p-d941cdba.entry.js +0 -2
- package/bellhop-core/p-d94b296e.entry.js +0 -2
- package/bellhop-core/p-df2728a1.entry.js +0 -2
- package/bellhop-core/p-df45027c.entry.js +0 -2
- package/bellhop-core/p-df45027c.entry.js.map +0 -1
- package/bellhop-core/p-dfe0574c.entry.js +0 -2
- package/bellhop-core/p-e3c5d1e3.entry.js +0 -2
- package/bellhop-core/p-e3d79592.entry.js +0 -2
- package/bellhop-core/p-e44539e9.entry.js +0 -2
- package/bellhop-core/p-e5b9a3de.entry.js +0 -2
- package/bellhop-core/p-e8e0739d.entry.js +0 -2
- package/bellhop-core/p-ebb2492c.entry.js +0 -2
- package/bellhop-core/p-ec894e11.entry.js +0 -2
- package/bellhop-core/p-f0cfc744.entry.js +0 -2
- package/bellhop-core/p-f0cfc744.entry.js.map +0 -1
- package/bellhop-core/p-f261bdae.entry.js +0 -2
- package/bellhop-core/p-f261bdae.entry.js.map +0 -1
- package/bellhop-core/p-f4c4c70d.entry.js +0 -2
- package/cjs/bellhop-core.cjs.js +0 -25
- package/cjs/bellhop-core.cjs.js.map +0 -1
- package/cjs/bh-accordion-item.cjs.entry.js +0 -82
- package/cjs/bh-accordion-item.entry.cjs.js.map +0 -1
- package/cjs/bh-accordion.cjs.entry.js +0 -119
- package/cjs/bh-appbar.cjs.entry.js +0 -83
- package/cjs/bh-autocomplete-menu_2.cjs.entry.js +0 -177
- package/cjs/bh-avatar-add.cjs.entry.js +0 -75
- package/cjs/bh-avatar-stacked.cjs.entry.js +0 -94
- package/cjs/bh-avatar.cjs.entry.js +0 -93
- package/cjs/bh-badge-dot_2.cjs.entry.js +0 -134
- package/cjs/bh-badge.cjs.entry.js +0 -71
- package/cjs/bh-bar-chart.cjs.entry.js +0 -164
- package/cjs/bh-button-BKVcf-nK.js +0 -117
- package/cjs/bh-button-BKVcf-nK.js.map +0 -1
- package/cjs/bh-button-icon.cjs.entry.js +0 -74
- package/cjs/bh-button.bh-loader-spinner.entry.cjs.js.map +0 -1
- package/cjs/bh-button_2.cjs.entry.js +0 -47
- package/cjs/bh-card-footer.cjs.entry.js +0 -30
- package/cjs/bh-card-header.cjs.entry.js +0 -74
- package/cjs/bh-card.cjs.entry.js +0 -48
- package/cjs/bh-chart-tooltip.cjs.entry.js +0 -57
- package/cjs/bh-checkbox-group-item.cjs.entry.js +0 -142
- package/cjs/bh-checkbox-group.cjs.entry.js +0 -100
- package/cjs/bh-checkbox.cjs.entry.js +0 -144
- package/cjs/bh-checkbox.entry.cjs.js.map +0 -1
- package/cjs/bh-container-footer.cjs.entry.js +0 -38
- package/cjs/bh-container.cjs.entry.js +0 -26
- package/cjs/bh-data-grid.cjs.entry.js +0 -812
- package/cjs/bh-data-grid.entry.cjs.js.map +0 -1
- package/cjs/bh-date-picker-content.bh-picker-menu.entry.cjs.js.map +0 -1
- package/cjs/bh-date-picker-content_2.cjs.entry.js +0 -525
- package/cjs/bh-date-picker.bh-empty-state.entry.cjs.js.map +0 -1
- package/cjs/bh-date-picker_2.cjs.entry.js +0 -252
- package/cjs/bh-date-range-picker-content.cjs.entry.js +0 -151
- package/cjs/bh-date-range-picker.cjs.entry.js +0 -167
- package/cjs/bh-dropdown-menu.cjs.entry.js +0 -114
- package/cjs/bh-dropdown.bh-logo-box.bh-nav-item.entry.cjs.js.map +0 -1
- package/cjs/bh-dropdown_3.cjs.entry.js +0 -307
- package/cjs/bh-featured-icon.cjs.entry.js +0 -41
- package/cjs/bh-illustrations.cjs.entry.js +0 -65
- package/cjs/bh-input-autocomplete.cjs.entry.js +0 -342
- package/cjs/bh-input-number.cjs.entry.js +0 -307
- package/cjs/bh-input-password.cjs.entry.js +0 -182
- package/cjs/bh-input-text.cjs.entry.js +0 -192
- package/cjs/bh-input-text.entry.cjs.js.map +0 -1
- package/cjs/bh-input-verification.cjs.entry.js +0 -203
- package/cjs/bh-label-DBqucnaO.js +0 -110
- package/cjs/bh-label-DBqucnaO.js.map +0 -1
- package/cjs/bh-label_2.cjs.entry.js +0 -48
- package/cjs/bh-modal-actions.cjs.entry.js +0 -66
- package/cjs/bh-modal-header.cjs.entry.js +0 -76
- package/cjs/bh-modal.cjs.entry.js +0 -56
- package/cjs/bh-month-picker-content.cjs.entry.js +0 -189
- package/cjs/bh-month-picker.cjs.entry.js +0 -152
- package/cjs/bh-notification.cjs.entry.js +0 -128
- package/cjs/bh-page-navigation-child.cjs.entry.js +0 -48
- package/cjs/bh-page-navigation-multi-level_2.cjs.entry.js +0 -146
- package/cjs/bh-page-navigation.cjs.entry.js +0 -72
- package/cjs/bh-pie-chart.cjs.entry.js +0 -157
- package/cjs/bh-popover.cjs.entry.js +0 -100
- package/cjs/bh-product-switcher.cjs.entry.js +0 -102
- package/cjs/bh-property-switcher.cjs.entry.js +0 -231
- package/cjs/bh-radio-button.cjs.entry.js +0 -124
- package/cjs/bh-radio-button.entry.cjs.js.map +0 -1
- package/cjs/bh-sidebar.cjs.entry.js +0 -110
- package/cjs/bh-skeleton-loader.cjs.entry.js +0 -34
- package/cjs/bh-skeleton-loader.entry.cjs.js.map +0 -1
- package/cjs/bh-tab-item.cjs.entry.js +0 -54
- package/cjs/bh-tabs.cjs.entry.js +0 -52
- package/cjs/bh-textarea.cjs.entry.js +0 -161
- package/cjs/bh-toggle.cjs.entry.js +0 -141
- package/cjs/bh-trend-chart.cjs.entry.js +0 -121
- package/cjs/index-tZqSQc8E.js +0 -1951
- package/cjs/index-tZqSQc8E.js.map +0 -1
- package/cjs/index.cjs.js +0 -32
- package/cjs/index.cjs.js.map +0 -1
- package/cjs/loader.cjs.js +0 -13
- package/collection/collection-manifest.json +0 -77
- package/collection/components/bh-accordion/bh-accordion.js +0 -227
- package/collection/components/bh-accordion-item/bh-accordion-item.css +0 -119
- package/collection/components/bh-accordion-item/bh-accordion-item.js +0 -207
- package/collection/components/bh-appbar/bh-appbar.js +0 -270
- package/collection/components/bh-autocomplete-menu/bh-autocomplete-menu.js +0 -301
- package/collection/components/bh-avatar/bh-avatar.js +0 -266
- package/collection/components/bh-avatar-add/bh-avatar-add.js +0 -194
- package/collection/components/bh-avatar-stacked/bh-avatar-stacked.js +0 -211
- package/collection/components/bh-badge/bh-badge.js +0 -250
- package/collection/components/bh-badge-dot/bh-badge-dot.js +0 -113
- package/collection/components/bh-bar-chart/bh-bar-chart.css +0 -363
- package/collection/components/bh-bar-chart/bh-bar-chart.js +0 -316
- package/collection/components/bh-breadcrumbs/bh-breadcrumbs.js +0 -231
- package/collection/components/bh-button/bh-button.js +0 -350
- package/collection/components/bh-button-icon/bh-button-icon.js +0 -259
- package/collection/components/bh-card/bh-card.js +0 -139
- package/collection/components/bh-card-footer/bh-card-footer.js +0 -81
- package/collection/components/bh-card-header/bh-card-header.js +0 -348
- package/collection/components/bh-chart-tooltip/bh-chart-tooltip.css +0 -301
- package/collection/components/bh-chart-tooltip/bh-chart-tooltip.js +0 -226
- package/collection/components/bh-checkbox/bh-checkbox.js +0 -378
- package/collection/components/bh-checkbox/bh-checkbox.js.map +0 -1
- package/collection/components/bh-checkbox-group/bh-checkbox-group.js +0 -218
- package/collection/components/bh-checkbox-group-item/bh-checkbox-group-item.js +0 -402
- package/collection/components/bh-container/bh-container.js +0 -51
- package/collection/components/bh-container-footer/bh-container-footer.js +0 -106
- package/collection/components/bh-data-grid/bh-data-grid.css +0 -602
- package/collection/components/bh-data-grid/bh-data-grid.js +0 -1488
- package/collection/components/bh-data-grid/bh-data-grid.js.map +0 -1
- package/collection/components/bh-date-picker/bh-date-picker.css +0 -251
- package/collection/components/bh-date-picker/bh-date-picker.js +0 -485
- package/collection/components/bh-date-picker-content/bh-date-picker-content.css +0 -541
- package/collection/components/bh-date-picker-content/bh-date-picker-content.js +0 -711
- package/collection/components/bh-date-range-picker/bh-date-range-picker.css +0 -247
- package/collection/components/bh-date-range-picker/bh-date-range-picker.js +0 -528
- package/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.css +0 -275
- package/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.js +0 -338
- package/collection/components/bh-dropdown/bh-dropdown.css +0 -64
- package/collection/components/bh-dropdown/bh-dropdown.js +0 -512
- package/collection/components/bh-dropdown/bh-dropdown.js.map +0 -1
- package/collection/components/bh-dropdown-menu/bh-dropdown-menu.js +0 -262
- package/collection/components/bh-empty-state/bh-empty-state.js +0 -306
- package/collection/components/bh-featured-icon/bh-featured-icon.js +0 -144
- package/collection/components/bh-illustrations/bh-illustrations.css +0 -328
- package/collection/components/bh-illustrations/bh-illustrations.js +0 -174
- package/collection/components/bh-input-autocomplete/bh-input-autocomplete.css +0 -301
- package/collection/components/bh-input-autocomplete/bh-input-autocomplete.js +0 -872
- package/collection/components/bh-input-number/bh-input-number.js +0 -818
- package/collection/components/bh-input-password/bh-input-password.js +0 -581
- package/collection/components/bh-input-text/bh-input-text.js +0 -696
- package/collection/components/bh-input-verification/bh-input-verification.js +0 -523
- package/collection/components/bh-label/bh-label.js +0 -302
- package/collection/components/bh-loader-spinner/bh-loader-spinner.css +0 -153
- package/collection/components/bh-loader-spinner/bh-loader-spinner.js +0 -182
- package/collection/components/bh-logo-box/bh-logo-box.js +0 -184
- package/collection/components/bh-logo-box/bh-logo-box.js.map +0 -1
- package/collection/components/bh-modal/bh-modal.js +0 -144
- package/collection/components/bh-modal-actions/bh-modal-actions.js +0 -208
- package/collection/components/bh-modal-header/bh-modal-header.js +0 -275
- package/collection/components/bh-month-picker/bh-month-picker.css +0 -251
- package/collection/components/bh-month-picker/bh-month-picker.js +0 -444
- package/collection/components/bh-month-picker-content/bh-month-picker-content.css +0 -406
- package/collection/components/bh-month-picker-content/bh-month-picker-content.js +0 -437
- package/collection/components/bh-notification/bh-notification.js +0 -324
- package/collection/components/bh-page-navigation/bh-page-navigation.css +0 -253
- package/collection/components/bh-page-navigation/bh-page-navigation.js +0 -146
- package/collection/components/bh-page-navigation-child/bh-page-navigation-child.css +0 -281
- package/collection/components/bh-page-navigation-child/bh-page-navigation-child.js +0 -148
- package/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.css +0 -372
- package/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js +0 -268
- package/collection/components/bh-page-navigation-single-level/bh-page-navigation-single-level.js +0 -126
- package/collection/components/bh-picker-menu/bh-picker-menu.css +0 -284
- package/collection/components/bh-pie-chart/bh-pie-chart.css +0 -292
- package/collection/components/bh-pie-chart/bh-pie-chart.js +0 -280
- package/collection/components/bh-popover/bh-popover.js +0 -326
- package/collection/components/bh-product-switcher/bh-product-switcher.js +0 -226
- package/collection/components/bh-property-switcher/bh-property-switcher.js +0 -360
- package/collection/components/bh-radio-button/bh-radio-button.js +0 -292
- package/collection/components/bh-sidebar/bh-nav-item.js +0 -157
- package/collection/components/bh-sidebar/bh-sidebar.js +0 -344
- package/collection/components/bh-skeleton-loader/bh-skeleton-loader.js +0 -99
- package/collection/components/bh-tab-item/bh-tab-item.js +0 -158
- package/collection/components/bh-tabs/bh-tabs.js +0 -178
- package/collection/components/bh-tag/bh-tag.js +0 -238
- package/collection/components/bh-textarea/bh-textarea.js +0 -569
- package/collection/components/bh-toggle/bh-toggle.js +0 -369
- package/collection/components/bh-tooltip/bh-tooltip.js +0 -162
- package/collection/components/bh-trend-chart/bh-trend-chart.css +0 -299
- package/collection/components/bh-trend-chart/bh-trend-chart.js +0 -256
- package/collection/index.js +0 -22
- package/collection/index.js.map +0 -1
- package/components/bh-accordion-item.js +0 -111
- package/components/bh-accordion-item.js.map +0 -1
- package/components/bh-accordion.js +0 -147
- package/components/bh-appbar.js +0 -128
- package/components/bh-autocomplete-menu.js +0 -9
- package/components/bh-avatar-add.js +0 -9
- package/components/bh-avatar-stacked.js +0 -141
- package/components/bh-avatar.js +0 -9
- package/components/bh-badge-dot.js +0 -9
- package/components/bh-badge.js +0 -9
- package/components/bh-bar-chart.js +0 -205
- package/components/bh-breadcrumbs.js +0 -9
- package/components/bh-button-icon.js +0 -9
- package/components/bh-button.js +0 -9
- package/components/bh-card-footer.js +0 -9
- package/components/bh-card-header.js +0 -9
- package/components/bh-card.js +0 -9
- package/components/bh-chart-tooltip.js +0 -9
- package/components/bh-checkbox-group-item.js +0 -9
- package/components/bh-checkbox-group.js +0 -9
- package/components/bh-checkbox.js +0 -9
- package/components/bh-container-footer.js +0 -74
- package/components/bh-container.js +0 -49
- package/components/bh-data-grid.js +0 -9
- package/components/bh-date-picker-content.js +0 -9
- package/components/bh-date-picker.js +0 -9
- package/components/bh-date-picker.js.map +0 -1
- package/components/bh-date-range-picker-content.js +0 -9
- package/components/bh-date-range-picker.js +0 -269
- package/components/bh-dropdown-menu.js +0 -9
- package/components/bh-dropdown.js +0 -9
- package/components/bh-empty-state.js +0 -9
- package/components/bh-featured-icon.js +0 -9
- package/components/bh-illustrations.js +0 -92
- package/components/bh-input-autocomplete.js +0 -433
- package/components/bh-input-number.js +0 -370
- package/components/bh-input-password.js +0 -229
- package/components/bh-input-text.js +0 -9
- package/components/bh-input-verification.js +0 -255
- package/components/bh-label.js +0 -9
- package/components/bh-loader-spinner.js +0 -9
- package/components/bh-logo-box.js +0 -9
- package/components/bh-modal-actions.js +0 -105
- package/components/bh-modal-header.js +0 -119
- package/components/bh-modal.js +0 -9
- package/components/bh-month-picker-content.js +0 -9
- package/components/bh-month-picker.js +0 -233
- package/components/bh-nav-item.js +0 -9
- package/components/bh-notification.js +0 -175
- package/components/bh-page-navigation-child.js +0 -9
- package/components/bh-page-navigation-multi-level.js +0 -9
- package/components/bh-page-navigation-single-level.js +0 -9
- package/components/bh-page-navigation.js +0 -129
- package/components/bh-picker-menu.js +0 -9
- package/components/bh-pie-chart.js +0 -194
- package/components/bh-popover.js +0 -131
- package/components/bh-product-switcher.js +0 -9
- package/components/bh-property-switcher.js +0 -261
- package/components/bh-radio-button.js +0 -9
- package/components/bh-sidebar.js +0 -195
- package/components/bh-skeleton-loader.js +0 -59
- package/components/bh-skeleton-loader.js.map +0 -1
- package/components/bh-tab-item.js +0 -80
- package/components/bh-tabs.js +0 -78
- package/components/bh-tag.js +0 -9
- package/components/bh-textarea.js +0 -207
- package/components/bh-toggle.js +0 -9
- package/components/bh-tooltip.js +0 -9
- package/components/bh-trend-chart.js +0 -149
- package/components/index.js +0 -16
- package/components/index.js.map +0 -1
- package/components/p-54wXxbeh.js +0 -213
- package/components/p-54wXxbeh.js.map +0 -1
- package/components/p-9a7sQzad.js +0 -1463
- package/components/p-9a7sQzad.js.map +0 -1
- package/components/p-B3doeS-4.js +0 -158
- package/components/p-B3doeS-4.js.map +0 -1
- package/components/p-B4TBDBoW.js +0 -71
- package/components/p-B4TBDBoW.js.map +0 -1
- package/components/p-BBenNW93.js +0 -184
- package/components/p-BBenNW93.js.map +0 -1
- package/components/p-BLRNfy0t.js +0 -84
- package/components/p-BLRNfy0t.js.map +0 -1
- package/components/p-BYhYSIIs.js +0 -941
- package/components/p-BYhYSIIs.js.map +0 -1
- package/components/p-Bbo_Dwmk.js +0 -70
- package/components/p-Bbo_Dwmk.js.map +0 -1
- package/components/p-BdcGkck5.js +0 -72
- package/components/p-BdcGkck5.js.map +0 -1
- package/components/p-Bk8GbEQp.js +0 -132
- package/components/p-Bk8GbEQp.js.map +0 -1
- package/components/p-CDPKBnfQ.js +0 -92
- package/components/p-CDPKBnfQ.js.map +0 -1
- package/components/p-CDgBIIbC.js +0 -224
- package/components/p-CDgBIIbC.js.map +0 -1
- package/components/p-CErNA5c8.js +0 -204
- package/components/p-CErNA5c8.js.map +0 -1
- package/components/p-CQBqn1IO.js +0 -67
- package/components/p-CQBqn1IO.js.map +0 -1
- package/components/p-CTjPiCcp.js +0 -51
- package/components/p-CTjPiCcp.js.map +0 -1
- package/components/p-CciWcvHP.js +0 -123
- package/components/p-CciWcvHP.js.map +0 -1
- package/components/p-CiQqgc-m.js +0 -434
- package/components/p-CiQqgc-m.js.map +0 -1
- package/components/p-CsRNKalM.js +0 -166
- package/components/p-CsRNKalM.js.map +0 -1
- package/components/p-CuVsQ9St.js +0 -123
- package/components/p-CuVsQ9St.js.map +0 -1
- package/components/p-D3OkBDd3.js +0 -100
- package/components/p-D3OkBDd3.js.map +0 -1
- package/components/p-D6cM-mvE.js +0 -64
- package/components/p-D6cM-mvE.js.map +0 -1
- package/components/p-D6kh9oF2.js +0 -70
- package/components/p-D6kh9oF2.js.map +0 -1
- package/components/p-DHSWIF-h.js +0 -214
- package/components/p-DHSWIF-h.js.map +0 -1
- package/components/p-DNhCX5eS.js +0 -153
- package/components/p-DNhCX5eS.js.map +0 -1
- package/components/p-DRGkYX1u.js +0 -78
- package/components/p-DRGkYX1u.js.map +0 -1
- package/components/p-DRJW4zBc.js +0 -58
- package/components/p-DRJW4zBc.js.map +0 -1
- package/components/p-DTgHvmlL.js +0 -149
- package/components/p-DTgHvmlL.js.map +0 -1
- package/components/p-DVhHZCku.js +0 -220
- package/components/p-DVhHZCku.js.map +0 -1
- package/components/p-DWpdUpK5.js +0 -264
- package/components/p-DWpdUpK5.js.map +0 -1
- package/components/p-D_DKZMpk.js +0 -78
- package/components/p-D_DKZMpk.js.map +0 -1
- package/components/p-Dbl0HXBJ.js +0 -241
- package/components/p-Dbl0HXBJ.js.map +0 -1
- package/components/p-DecYIvq4.js +0 -124
- package/components/p-DecYIvq4.js.map +0 -1
- package/components/p-DfXkVfrE.js +0 -129
- package/components/p-DfXkVfrE.js.map +0 -1
- package/components/p-HEcFS8Jc.js +0 -125
- package/components/p-HEcFS8Jc.js.map +0 -1
- package/components/p-MIbEYjCv.js +0 -142
- package/components/p-MIbEYjCv.js.map +0 -1
- package/components/p-NXL0pYS_.js +0 -97
- package/components/p-NXL0pYS_.js.map +0 -1
- package/components/p-X9MH3dtg.js +0 -154
- package/components/p-X9MH3dtg.js.map +0 -1
- package/components/p-YJm8-pxX.js +0 -118
- package/components/p-YJm8-pxX.js.map +0 -1
- package/components/p-ghuDbZwh.js +0 -148
- package/components/p-ghuDbZwh.js.map +0 -1
- package/components/p-p8W0xKpn.js +0 -106
- package/components/p-p8W0xKpn.js.map +0 -1
- package/esm/bellhop-core.js +0 -21
- package/esm/bellhop-core.js.map +0 -1
- package/esm/bh-accordion-item.entry.js +0 -80
- package/esm/bh-accordion-item.entry.js.map +0 -1
- package/esm/bh-accordion.entry.js +0 -117
- package/esm/bh-appbar.entry.js +0 -81
- package/esm/bh-autocomplete-menu_2.entry.js +0 -174
- package/esm/bh-avatar-add.entry.js +0 -73
- package/esm/bh-avatar-stacked.entry.js +0 -92
- package/esm/bh-avatar.entry.js +0 -91
- package/esm/bh-badge-dot_2.entry.js +0 -131
- package/esm/bh-badge.entry.js +0 -69
- package/esm/bh-bar-chart.entry.js +0 -162
- package/esm/bh-button-CBZGiLVh.js +0 -115
- package/esm/bh-button-CBZGiLVh.js.map +0 -1
- package/esm/bh-button-icon.entry.js +0 -72
- package/esm/bh-button.bh-loader-spinner.entry.js.map +0 -1
- package/esm/bh-button_2.entry.js +0 -44
- package/esm/bh-card-footer.entry.js +0 -28
- package/esm/bh-card-header.entry.js +0 -72
- package/esm/bh-card.entry.js +0 -46
- package/esm/bh-chart-tooltip.entry.js +0 -55
- package/esm/bh-checkbox-group-item.entry.js +0 -140
- package/esm/bh-checkbox-group.entry.js +0 -98
- package/esm/bh-checkbox.entry.js +0 -142
- package/esm/bh-checkbox.entry.js.map +0 -1
- package/esm/bh-container-footer.entry.js +0 -36
- package/esm/bh-container.entry.js +0 -24
- package/esm/bh-data-grid.entry.js +0 -810
- package/esm/bh-data-grid.entry.js.map +0 -1
- package/esm/bh-date-picker-content.bh-picker-menu.entry.js.map +0 -1
- package/esm/bh-date-picker-content_2.entry.js +0 -522
- package/esm/bh-date-picker.bh-empty-state.entry.js.map +0 -1
- package/esm/bh-date-picker_2.entry.js +0 -249
- package/esm/bh-date-range-picker-content.entry.js +0 -149
- package/esm/bh-date-range-picker.entry.js +0 -165
- package/esm/bh-dropdown-menu.entry.js +0 -112
- package/esm/bh-dropdown.bh-logo-box.bh-nav-item.entry.js.map +0 -1
- package/esm/bh-dropdown_3.entry.js +0 -303
- package/esm/bh-featured-icon.entry.js +0 -39
- package/esm/bh-illustrations.entry.js +0 -63
- package/esm/bh-input-autocomplete.entry.js +0 -340
- package/esm/bh-input-number.entry.js +0 -305
- package/esm/bh-input-password.entry.js +0 -180
- package/esm/bh-input-text.entry.js +0 -190
- package/esm/bh-input-text.entry.js.map +0 -1
- package/esm/bh-input-verification.entry.js +0 -201
- package/esm/bh-label-DqsVrCg_.js +0 -108
- package/esm/bh-label-DqsVrCg_.js.map +0 -1
- package/esm/bh-label_2.entry.js +0 -45
- package/esm/bh-modal-actions.entry.js +0 -64
- package/esm/bh-modal-header.entry.js +0 -74
- package/esm/bh-modal.entry.js +0 -54
- package/esm/bh-month-picker-content.entry.js +0 -187
- package/esm/bh-month-picker.entry.js +0 -150
- package/esm/bh-notification.entry.js +0 -126
- package/esm/bh-page-navigation-child.entry.js +0 -46
- package/esm/bh-page-navigation-multi-level_2.entry.js +0 -143
- package/esm/bh-page-navigation.entry.js +0 -70
- package/esm/bh-pie-chart.entry.js +0 -155
- package/esm/bh-popover.entry.js +0 -98
- package/esm/bh-product-switcher.entry.js +0 -100
- package/esm/bh-property-switcher.entry.js +0 -229
- package/esm/bh-radio-button.entry.js +0 -122
- package/esm/bh-radio-button.entry.js.map +0 -1
- package/esm/bh-sidebar.entry.js +0 -108
- package/esm/bh-skeleton-loader.entry.js +0 -32
- package/esm/bh-skeleton-loader.entry.js.map +0 -1
- package/esm/bh-tab-item.entry.js +0 -52
- package/esm/bh-tabs.entry.js +0 -50
- package/esm/bh-textarea.entry.js +0 -159
- package/esm/bh-toggle.entry.js +0 -139
- package/esm/bh-trend-chart.entry.js +0 -119
- package/esm/index-DtVghh5W.js +0 -1922
- package/esm/index-DtVghh5W.js.map +0 -1
- package/esm/index.js +0 -15
- package/esm/index.js.map +0 -1
- package/esm/loader.js +0 -11
- package/types/components/bh-checkbox/bh-checkbox.d.ts +0 -45
- package/types/components/bh-data-grid/bh-data-grid.d.ts +0 -235
- package/types/components/bh-dropdown/bh-dropdown.d.ts +0 -78
- package/types/components/bh-logo-box/bh-logo-box.d.ts +0 -28
- package/types/components.d.ts +0 -7199
- package/types/index.d.ts +0 -12
- /package/{bellhop-core → dist/bellhop-core}/bellhop-core.css +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-accordion.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-appbar.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-autocomplete-menu.bh-tag.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-avatar-add.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-avatar-stacked.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-avatar.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-badge-dot.bh-breadcrumbs.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-badge.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-bar-chart.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-button-icon.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-card-footer.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-card-header.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-card.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-chart-tooltip.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-checkbox-group-item.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-checkbox-group.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-container-footer.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-container.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-date-range-picker-content.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-date-range-picker.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-dropdown-menu.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-featured-icon.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-illustrations.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-input-autocomplete.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-input-number.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-input-password.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-input-verification.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-label.bh-tooltip.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-modal-actions.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-modal-header.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-modal.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-month-picker-content.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-month-picker.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-notification.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-page-navigation-child.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-page-navigation.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-pie-chart.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-popover.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-product-switcher.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-property-switcher.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-sidebar.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-tab-item.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-tabs.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-textarea.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-toggle.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/bh-trend-chart.entry.esm.js.map +0 -0
- /package/{bellhop-core → dist/bellhop-core}/loader.esm.js.map +0 -0
- /package/{bellhop-core/p-c48ca590.entry.js.map → dist/bellhop-core/p-03e93cd8.entry.js.map} +0 -0
- /package/{bellhop-core/p-86bbff38.entry.js.map → dist/bellhop-core/p-0438e0a9.entry.js.map} +0 -0
- /package/{bellhop-core/p-b4104ae5.entry.js.map → dist/bellhop-core/p-086e8c86.entry.js.map} +0 -0
- /package/{bellhop-core/p-852564d6.entry.js.map → dist/bellhop-core/p-09f3464e.entry.js.map} +0 -0
- /package/{bellhop-core/p-3c739eea.entry.js.map → dist/bellhop-core/p-20d680ce.entry.js.map} +0 -0
- /package/{bellhop-core/p-d5fb8d0f.entry.js.map → dist/bellhop-core/p-239c7e6b.entry.js.map} +0 -0
- /package/{bellhop-core/p-abf68de4.entry.js.map → dist/bellhop-core/p-23b74b40.entry.js.map} +0 -0
- /package/{bellhop-core/p-e44539e9.entry.js.map → dist/bellhop-core/p-2c796978.entry.js.map} +0 -0
- /package/{bellhop-core/p-98cc729f.entry.js.map → dist/bellhop-core/p-356a2ed7.entry.js.map} +0 -0
- /package/{bellhop-core/p-9e7e64dc.entry.js.map → dist/bellhop-core/p-363dce47.entry.js.map} +0 -0
- /package/{bellhop-core/p-9fe1fd2e.entry.js.map → dist/bellhop-core/p-3719852a.entry.js.map} +0 -0
- /package/{bellhop-core/p-05c13d72.entry.js.map → dist/bellhop-core/p-44241bad.entry.js.map} +0 -0
- /package/{bellhop-core/p-c194883a.entry.js.map → dist/bellhop-core/p-4a14cbb5.entry.js.map} +0 -0
- /package/{bellhop-core/p-df2728a1.entry.js.map → dist/bellhop-core/p-52e877e0.entry.js.map} +0 -0
- /package/{bellhop-core/p-98a336f7.entry.js.map → dist/bellhop-core/p-56b857f5.entry.js.map} +0 -0
- /package/{bellhop-core/p-8053e945.entry.js.map → dist/bellhop-core/p-5760ce66.entry.js.map} +0 -0
- /package/{bellhop-core/p-e5b9a3de.entry.js.map → dist/bellhop-core/p-57ac382d.entry.js.map} +0 -0
- /package/{bellhop-core/p-dfe0574c.entry.js.map → dist/bellhop-core/p-58879213.entry.js.map} +0 -0
- /package/{bellhop-core/p-d9106838.entry.js.map → dist/bellhop-core/p-5ab50add.entry.js.map} +0 -0
- /package/{bellhop-core/p-ebb2492c.entry.js.map → dist/bellhop-core/p-6433b0a7.entry.js.map} +0 -0
- /package/{bellhop-core/p-5d844699.entry.js.map → dist/bellhop-core/p-67452ed0.entry.js.map} +0 -0
- /package/{bellhop-core/p-e3c5d1e3.entry.js.map → dist/bellhop-core/p-686dea4a.entry.js.map} +0 -0
- /package/{bellhop-core/p-e3d79592.entry.js.map → dist/bellhop-core/p-69f85850.entry.js.map} +0 -0
- /package/{bellhop-core/p-5e8d2fc0.entry.js.map → dist/bellhop-core/p-70ee270c.entry.js.map} +0 -0
- /package/{bellhop-core/p-2c80bc07.entry.js.map → dist/bellhop-core/p-859f45da.entry.js.map} +0 -0
- /package/{bellhop-core/p-0e013732.entry.js.map → dist/bellhop-core/p-860be0be.entry.js.map} +0 -0
- /package/{bellhop-core/p-d941cdba.entry.js.map → dist/bellhop-core/p-870fc023.entry.js.map} +0 -0
- /package/{bellhop-core/p-1960c2d0.entry.js.map → dist/bellhop-core/p-87fb26a0.entry.js.map} +0 -0
- /package/{bellhop-core/p-9693180e.entry.js.map → dist/bellhop-core/p-90b9047d.entry.js.map} +0 -0
- /package/{bellhop-core/p-3bf098fd.entry.js.map → dist/bellhop-core/p-94d2d599.entry.js.map} +0 -0
- /package/{bellhop-core/p-d14192df.entry.js.map → dist/bellhop-core/p-9a585c1a.entry.js.map} +0 -0
- /package/{bellhop-core → dist/bellhop-core}/p-CPgx0iFq.js +0 -0
- /package/{bellhop-core → dist/bellhop-core}/p-CPgx0iFq.js.map +0 -0
- /package/{bellhop-core/p-87d1ed92.entry.js.map → dist/bellhop-core/p-ab2b037c.entry.js.map} +0 -0
- /package/{bellhop-core/p-051a25aa.entry.js.map → dist/bellhop-core/p-ab9c5351.entry.js.map} +0 -0
- /package/{bellhop-core/p-5a220f12.entry.js.map → dist/bellhop-core/p-abe24947.entry.js.map} +0 -0
- /package/{bellhop-core/p-c82e73aa.entry.js.map → dist/bellhop-core/p-adcd2e15.entry.js.map} +0 -0
- /package/{bellhop-core/p-e8e0739d.entry.js.map → dist/bellhop-core/p-afd0e309.entry.js.map} +0 -0
- /package/{bellhop-core/p-ad15a4b9.entry.js.map → dist/bellhop-core/p-b1cb34e9.entry.js.map} +0 -0
- /package/{bellhop-core/p-3038cc1a.entry.js.map → dist/bellhop-core/p-cdd593fb.entry.js.map} +0 -0
- /package/{bellhop-core/p-94156013.entry.js.map → dist/bellhop-core/p-d4bfd30d.entry.js.map} +0 -0
- /package/{bellhop-core/p-954b9c38.entry.js.map → dist/bellhop-core/p-dcaa20e2.entry.js.map} +0 -0
- /package/{bellhop-core/p-ec894e11.entry.js.map → dist/bellhop-core/p-dd43d560.entry.js.map} +0 -0
- /package/{bellhop-core/p-4c71a0b6.entry.js.map → dist/bellhop-core/p-e190ac50.entry.js.map} +0 -0
- /package/{bellhop-core/p-f4c4c70d.entry.js.map → dist/bellhop-core/p-e86780b6.entry.js.map} +0 -0
- /package/{bellhop-core/p-71391701.entry.js.map → dist/bellhop-core/p-e99bc91a.entry.js.map} +0 -0
- /package/{bellhop-core/p-0579ce8d.entry.js.map → dist/bellhop-core/p-e9ed7c17.entry.js.map} +0 -0
- /package/{bellhop-core/p-d94b296e.entry.js.map → dist/bellhop-core/p-ef47dcd1.entry.js.map} +0 -0
- /package/{bellhop-core/p-2cc0c4cf.entry.js.map → dist/bellhop-core/p-f6e1b47c.entry.js.map} +0 -0
- /package/{bellhop-core/p-7e67af77.entry.js.map → dist/bellhop-core/p-f7c7416d.entry.js.map} +0 -0
- /package/{cjs → dist/cjs}/bh-accordion.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-appbar.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-autocomplete-menu.bh-tag.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-avatar-add.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-avatar-stacked.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-avatar.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-badge-dot.bh-breadcrumbs.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-badge.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-bar-chart.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-button-icon.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-card-footer.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-card-header.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-card.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-chart-tooltip.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-checkbox-group-item.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-checkbox-group.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-container-footer.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-container.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-date-range-picker-content.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-date-range-picker.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-dropdown-menu.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-featured-icon.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-illustrations.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-input-autocomplete.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-input-number.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-input-password.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-input-verification.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-label.bh-tooltip.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-modal-actions.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-modal-header.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-modal.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-month-picker-content.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-month-picker.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-notification.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-page-navigation-child.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-page-navigation.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-pie-chart.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-popover.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-product-switcher.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-property-switcher.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-sidebar.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-tab-item.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-tabs.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-textarea.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-toggle.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/bh-trend-chart.entry.cjs.js.map +0 -0
- /package/{cjs → dist/cjs}/form-9mbajZ3y.js +0 -0
- /package/{cjs → dist/cjs}/form-9mbajZ3y.js.map +0 -0
- /package/{cjs → dist/cjs}/loader.cjs.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-accordion/bh-accordion.css +0 -0
- /package/{collection → dist/collection}/components/bh-accordion/bh-accordion.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-accordion-item/bh-accordion-item.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-appbar/bh-appbar.css +0 -0
- /package/{collection → dist/collection}/components/bh-appbar/bh-appbar.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-autocomplete-menu/bh-autocomplete-menu.css +0 -0
- /package/{collection → dist/collection}/components/bh-autocomplete-menu/bh-autocomplete-menu.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-avatar/bh-avatar.css +0 -0
- /package/{collection → dist/collection}/components/bh-avatar/bh-avatar.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-avatar-add/bh-avatar-add.css +0 -0
- /package/{collection → dist/collection}/components/bh-avatar-add/bh-avatar-add.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-avatar-stacked/bh-avatar-stacked.css +0 -0
- /package/{collection → dist/collection}/components/bh-avatar-stacked/bh-avatar-stacked.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-badge/bh-badge.css +0 -0
- /package/{collection → dist/collection}/components/bh-badge/bh-badge.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-badge-dot/bh-badge-dot.css +0 -0
- /package/{collection → dist/collection}/components/bh-badge-dot/bh-badge-dot.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-bar-chart/bh-bar-chart.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-breadcrumbs/bh-breadcrumbs.css +0 -0
- /package/{collection → dist/collection}/components/bh-breadcrumbs/bh-breadcrumbs.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-button/bh-button.css +0 -0
- /package/{collection → dist/collection}/components/bh-button/bh-button.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-button-icon/bh-button-icon.css +0 -0
- /package/{collection → dist/collection}/components/bh-button-icon/bh-button-icon.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-card/bh-card.css +0 -0
- /package/{collection → dist/collection}/components/bh-card/bh-card.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-card-footer/bh-card-footer.css +0 -0
- /package/{collection → dist/collection}/components/bh-card-footer/bh-card-footer.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-card-header/bh-card-header.css +0 -0
- /package/{collection → dist/collection}/components/bh-card-header/bh-card-header.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-chart-tooltip/bh-chart-tooltip.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-checkbox/bh-checkbox.css +0 -0
- /package/{collection → dist/collection}/components/bh-checkbox-group/bh-checkbox-group.css +0 -0
- /package/{collection → dist/collection}/components/bh-checkbox-group/bh-checkbox-group.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-checkbox-group-item/bh-checkbox-group-item.css +0 -0
- /package/{collection → dist/collection}/components/bh-checkbox-group-item/bh-checkbox-group-item.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-container/bh-container.css +0 -0
- /package/{collection → dist/collection}/components/bh-container/bh-container.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-container-footer/bh-container-footer.css +0 -0
- /package/{collection → dist/collection}/components/bh-container-footer/bh-container-footer.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-date-picker/bh-date-picker.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-date-picker-content/bh-date-picker-content.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-date-range-picker/bh-date-range-picker.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-date-range-picker-content/bh-date-range-picker-content.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-dropdown-menu/bh-dropdown-menu.css +0 -0
- /package/{collection → dist/collection}/components/bh-dropdown-menu/bh-dropdown-menu.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-empty-state/bh-empty-state.css +0 -0
- /package/{collection → dist/collection}/components/bh-empty-state/bh-empty-state.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-featured-icon/bh-featured-icon.css +0 -0
- /package/{collection → dist/collection}/components/bh-featured-icon/bh-featured-icon.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-illustrations/bh-illustrations.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-input-autocomplete/bh-input-autocomplete.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-input-number/bh-input-number.css +0 -0
- /package/{collection → dist/collection}/components/bh-input-number/bh-input-number.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-input-password/bh-input-password.css +0 -0
- /package/{collection → dist/collection}/components/bh-input-password/bh-input-password.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-input-text/bh-input-text.css +0 -0
- /package/{collection → dist/collection}/components/bh-input-text/bh-input-text.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-input-verification/bh-input-verification.css +0 -0
- /package/{collection → dist/collection}/components/bh-input-verification/bh-input-verification.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-label/bh-label.css +0 -0
- /package/{collection → dist/collection}/components/bh-label/bh-label.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-loader-spinner/bh-loader-spinner.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-logo-box/bh-logo-box.css +0 -0
- /package/{collection → dist/collection}/components/bh-modal/bh-modal.css +0 -0
- /package/{collection → dist/collection}/components/bh-modal/bh-modal.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-modal-actions/bh-modal-actions.css +0 -0
- /package/{collection → dist/collection}/components/bh-modal-actions/bh-modal-actions.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-modal-header/bh-modal-header.css +0 -0
- /package/{collection → dist/collection}/components/bh-modal-header/bh-modal-header.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-month-picker/bh-month-picker.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-month-picker-content/bh-month-picker-content.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-notification/bh-notification.css +0 -0
- /package/{collection → dist/collection}/components/bh-notification/bh-notification.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-page-navigation/bh-page-navigation.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-page-navigation-child/bh-page-navigation-child.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-page-navigation-single-level/bh-page-navigation-single-level.css +0 -0
- /package/{collection → dist/collection}/components/bh-page-navigation-single-level/bh-page-navigation-single-level.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-picker-menu/bh-picker-menu.js +0 -0
- /package/{collection → dist/collection}/components/bh-picker-menu/bh-picker-menu.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-pie-chart/bh-pie-chart.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-popover/bh-popover.css +0 -0
- /package/{collection → dist/collection}/components/bh-popover/bh-popover.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-product-switcher/bh-product-switcher.css +0 -0
- /package/{collection → dist/collection}/components/bh-product-switcher/bh-product-switcher.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-property-switcher/bh-property-switcher.css +0 -0
- /package/{collection → dist/collection}/components/bh-property-switcher/bh-property-switcher.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-radio-button/bh-radio-button.css +0 -0
- /package/{collection → dist/collection}/components/bh-radio-button/bh-radio-button.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-sidebar/bh-nav-item.css +0 -0
- /package/{collection → dist/collection}/components/bh-sidebar/bh-nav-item.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-sidebar/bh-sidebar.css +0 -0
- /package/{collection → dist/collection}/components/bh-sidebar/bh-sidebar.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-skeleton-loader/bh-skeleton-loader.css +0 -0
- /package/{collection → dist/collection}/components/bh-skeleton-loader/bh-skeleton-loader.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-tab-item/bh-tab-item.css +0 -0
- /package/{collection → dist/collection}/components/bh-tab-item/bh-tab-item.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-tabs/bh-tabs.css +0 -0
- /package/{collection → dist/collection}/components/bh-tabs/bh-tabs.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-tag/bh-tag.css +0 -0
- /package/{collection → dist/collection}/components/bh-tag/bh-tag.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-textarea/bh-textarea.css +0 -0
- /package/{collection → dist/collection}/components/bh-textarea/bh-textarea.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-toggle/bh-toggle.css +0 -0
- /package/{collection → dist/collection}/components/bh-toggle/bh-toggle.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-tooltip/bh-tooltip.css +0 -0
- /package/{collection → dist/collection}/components/bh-tooltip/bh-tooltip.js.map +0 -0
- /package/{collection → dist/collection}/components/bh-trend-chart/bh-trend-chart.js.map +0 -0
- /package/{collection → dist/collection}/utils/form.js +0 -0
- /package/{collection → dist/collection}/utils/form.js.map +0 -0
- /package/{components → dist/components}/bh-accordion-item.d.ts +0 -0
- /package/{components → dist/components}/bh-accordion.d.ts +0 -0
- /package/{components → dist/components}/bh-accordion.js.map +0 -0
- /package/{components → dist/components}/bh-appbar.d.ts +0 -0
- /package/{components → dist/components}/bh-appbar.js.map +0 -0
- /package/{components → dist/components}/bh-autocomplete-menu.d.ts +0 -0
- /package/{components → dist/components}/bh-autocomplete-menu.js.map +0 -0
- /package/{components → dist/components}/bh-avatar-add.d.ts +0 -0
- /package/{components → dist/components}/bh-avatar-add.js.map +0 -0
- /package/{components → dist/components}/bh-avatar-stacked.d.ts +0 -0
- /package/{components → dist/components}/bh-avatar-stacked.js.map +0 -0
- /package/{components → dist/components}/bh-avatar.d.ts +0 -0
- /package/{components → dist/components}/bh-avatar.js.map +0 -0
- /package/{components → dist/components}/bh-badge-dot.d.ts +0 -0
- /package/{components → dist/components}/bh-badge-dot.js.map +0 -0
- /package/{components → dist/components}/bh-badge.d.ts +0 -0
- /package/{components → dist/components}/bh-badge.js.map +0 -0
- /package/{components → dist/components}/bh-bar-chart.d.ts +0 -0
- /package/{components → dist/components}/bh-bar-chart.js.map +0 -0
- /package/{components → dist/components}/bh-breadcrumbs.d.ts +0 -0
- /package/{components → dist/components}/bh-breadcrumbs.js.map +0 -0
- /package/{components → dist/components}/bh-button-icon.d.ts +0 -0
- /package/{components → dist/components}/bh-button-icon.js.map +0 -0
- /package/{components → dist/components}/bh-button.d.ts +0 -0
- /package/{components → dist/components}/bh-button.js.map +0 -0
- /package/{components → dist/components}/bh-card-footer.d.ts +0 -0
- /package/{components → dist/components}/bh-card-footer.js.map +0 -0
- /package/{components → dist/components}/bh-card-header.d.ts +0 -0
- /package/{components → dist/components}/bh-card-header.js.map +0 -0
- /package/{components → dist/components}/bh-card.d.ts +0 -0
- /package/{components → dist/components}/bh-card.js.map +0 -0
- /package/{components → dist/components}/bh-chart-tooltip.d.ts +0 -0
- /package/{components → dist/components}/bh-chart-tooltip.js.map +0 -0
- /package/{components → dist/components}/bh-checkbox-group-item.d.ts +0 -0
- /package/{components → dist/components}/bh-checkbox-group-item.js.map +0 -0
- /package/{components → dist/components}/bh-checkbox-group.d.ts +0 -0
- /package/{components → dist/components}/bh-checkbox-group.js.map +0 -0
- /package/{components → dist/components}/bh-checkbox.d.ts +0 -0
- /package/{components → dist/components}/bh-checkbox.js.map +0 -0
- /package/{components → dist/components}/bh-container-footer.d.ts +0 -0
- /package/{components → dist/components}/bh-container-footer.js.map +0 -0
- /package/{components → dist/components}/bh-container.d.ts +0 -0
- /package/{components → dist/components}/bh-container.js.map +0 -0
- /package/{components → dist/components}/bh-data-grid.d.ts +0 -0
- /package/{components → dist/components}/bh-data-grid.js.map +0 -0
- /package/{components → dist/components}/bh-date-picker-content.d.ts +0 -0
- /package/{components → dist/components}/bh-date-picker-content.js.map +0 -0
- /package/{components → dist/components}/bh-date-picker.d.ts +0 -0
- /package/{components → dist/components}/bh-date-range-picker-content.d.ts +0 -0
- /package/{components → dist/components}/bh-date-range-picker-content.js.map +0 -0
- /package/{components → dist/components}/bh-date-range-picker.d.ts +0 -0
- /package/{components → dist/components}/bh-date-range-picker.js.map +0 -0
- /package/{components → dist/components}/bh-dropdown-menu.d.ts +0 -0
- /package/{components → dist/components}/bh-dropdown-menu.js.map +0 -0
- /package/{components → dist/components}/bh-dropdown.d.ts +0 -0
- /package/{components → dist/components}/bh-dropdown.js.map +0 -0
- /package/{components → dist/components}/bh-empty-state.d.ts +0 -0
- /package/{components → dist/components}/bh-empty-state.js.map +0 -0
- /package/{components → dist/components}/bh-featured-icon.d.ts +0 -0
- /package/{components → dist/components}/bh-featured-icon.js.map +0 -0
- /package/{components → dist/components}/bh-illustrations.d.ts +0 -0
- /package/{components → dist/components}/bh-illustrations.js.map +0 -0
- /package/{components → dist/components}/bh-input-autocomplete.d.ts +0 -0
- /package/{components → dist/components}/bh-input-autocomplete.js.map +0 -0
- /package/{components → dist/components}/bh-input-number.d.ts +0 -0
- /package/{components → dist/components}/bh-input-number.js.map +0 -0
- /package/{components → dist/components}/bh-input-password.d.ts +0 -0
- /package/{components → dist/components}/bh-input-password.js.map +0 -0
- /package/{components → dist/components}/bh-input-text.d.ts +0 -0
- /package/{components → dist/components}/bh-input-text.js.map +0 -0
- /package/{components → dist/components}/bh-input-verification.d.ts +0 -0
- /package/{components → dist/components}/bh-input-verification.js.map +0 -0
- /package/{components → dist/components}/bh-label.d.ts +0 -0
- /package/{components → dist/components}/bh-label.js.map +0 -0
- /package/{components → dist/components}/bh-loader-spinner.d.ts +0 -0
- /package/{components → dist/components}/bh-loader-spinner.js.map +0 -0
- /package/{components → dist/components}/bh-logo-box.d.ts +0 -0
- /package/{components → dist/components}/bh-logo-box.js.map +0 -0
- /package/{components → dist/components}/bh-modal-actions.d.ts +0 -0
- /package/{components → dist/components}/bh-modal-actions.js.map +0 -0
- /package/{components → dist/components}/bh-modal-header.d.ts +0 -0
- /package/{components → dist/components}/bh-modal-header.js.map +0 -0
- /package/{components → dist/components}/bh-modal.d.ts +0 -0
- /package/{components → dist/components}/bh-modal.js.map +0 -0
- /package/{components → dist/components}/bh-month-picker-content.d.ts +0 -0
- /package/{components → dist/components}/bh-month-picker-content.js.map +0 -0
- /package/{components → dist/components}/bh-month-picker.d.ts +0 -0
- /package/{components → dist/components}/bh-month-picker.js.map +0 -0
- /package/{components → dist/components}/bh-nav-item.d.ts +0 -0
- /package/{components → dist/components}/bh-nav-item.js.map +0 -0
- /package/{components → dist/components}/bh-notification.d.ts +0 -0
- /package/{components → dist/components}/bh-notification.js.map +0 -0
- /package/{components → dist/components}/bh-page-navigation-child.d.ts +0 -0
- /package/{components → dist/components}/bh-page-navigation-child.js.map +0 -0
- /package/{components → dist/components}/bh-page-navigation-multi-level.d.ts +0 -0
- /package/{components → dist/components}/bh-page-navigation-multi-level.js.map +0 -0
- /package/{components → dist/components}/bh-page-navigation-single-level.d.ts +0 -0
- /package/{components → dist/components}/bh-page-navigation-single-level.js.map +0 -0
- /package/{components → dist/components}/bh-page-navigation.d.ts +0 -0
- /package/{components → dist/components}/bh-page-navigation.js.map +0 -0
- /package/{components → dist/components}/bh-picker-menu.d.ts +0 -0
- /package/{components → dist/components}/bh-picker-menu.js.map +0 -0
- /package/{components → dist/components}/bh-pie-chart.d.ts +0 -0
- /package/{components → dist/components}/bh-pie-chart.js.map +0 -0
- /package/{components → dist/components}/bh-popover.d.ts +0 -0
- /package/{components → dist/components}/bh-popover.js.map +0 -0
- /package/{components → dist/components}/bh-product-switcher.d.ts +0 -0
- /package/{components → dist/components}/bh-product-switcher.js.map +0 -0
- /package/{components → dist/components}/bh-property-switcher.d.ts +0 -0
- /package/{components → dist/components}/bh-property-switcher.js.map +0 -0
- /package/{components → dist/components}/bh-radio-button.d.ts +0 -0
- /package/{components → dist/components}/bh-radio-button.js.map +0 -0
- /package/{components → dist/components}/bh-sidebar.d.ts +0 -0
- /package/{components → dist/components}/bh-sidebar.js.map +0 -0
- /package/{components → dist/components}/bh-skeleton-loader.d.ts +0 -0
- /package/{components → dist/components}/bh-tab-item.d.ts +0 -0
- /package/{components → dist/components}/bh-tab-item.js.map +0 -0
- /package/{components → dist/components}/bh-tabs.d.ts +0 -0
- /package/{components → dist/components}/bh-tabs.js.map +0 -0
- /package/{components → dist/components}/bh-tag.d.ts +0 -0
- /package/{components → dist/components}/bh-tag.js.map +0 -0
- /package/{components → dist/components}/bh-textarea.d.ts +0 -0
- /package/{components → dist/components}/bh-textarea.js.map +0 -0
- /package/{components → dist/components}/bh-toggle.d.ts +0 -0
- /package/{components → dist/components}/bh-toggle.js.map +0 -0
- /package/{components → dist/components}/bh-tooltip.d.ts +0 -0
- /package/{components → dist/components}/bh-tooltip.js.map +0 -0
- /package/{components → dist/components}/bh-trend-chart.d.ts +0 -0
- /package/{components → dist/components}/bh-trend-chart.js.map +0 -0
- /package/{components → dist/components}/index.d.ts +0 -0
- /package/{components → dist/components}/p-2KjdCYlS.js +0 -0
- /package/{components → dist/components}/p-2KjdCYlS.js.map +0 -0
- /package/{esm → dist/esm}/bh-accordion.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-appbar.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-autocomplete-menu.bh-tag.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-avatar-add.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-avatar-stacked.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-avatar.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-badge-dot.bh-breadcrumbs.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-badge.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-bar-chart.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-button-icon.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-card-footer.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-card-header.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-card.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-chart-tooltip.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-checkbox-group-item.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-checkbox-group.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-container-footer.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-container.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-date-range-picker-content.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-date-range-picker.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-dropdown-menu.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-featured-icon.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-illustrations.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-input-autocomplete.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-input-number.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-input-password.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-input-verification.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-label.bh-tooltip.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-modal-actions.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-modal-header.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-modal.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-month-picker-content.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-month-picker.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-notification.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-page-navigation-child.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-page-navigation.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-pie-chart.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-popover.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-product-switcher.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-property-switcher.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-sidebar.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-tab-item.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-tabs.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-textarea.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-toggle.entry.js.map +0 -0
- /package/{esm → dist/esm}/bh-trend-chart.entry.js.map +0 -0
- /package/{esm → dist/esm}/form-CPgx0iFq.js +0 -0
- /package/{esm → dist/esm}/form-CPgx0iFq.js.map +0 -0
- /package/{esm → dist/esm}/loader.js.map +0 -0
- /package/{index.cjs.js → dist/index.cjs.js} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{types → dist/types}/components/bh-accordion/bh-accordion.d.ts +0 -0
- /package/{types → dist/types}/components/bh-accordion-item/bh-accordion-item.d.ts +0 -0
- /package/{types → dist/types}/components/bh-appbar/bh-appbar.d.ts +0 -0
- /package/{types → dist/types}/components/bh-autocomplete-menu/bh-autocomplete-menu.d.ts +0 -0
- /package/{types → dist/types}/components/bh-avatar/bh-avatar.d.ts +0 -0
- /package/{types → dist/types}/components/bh-avatar-add/bh-avatar-add.d.ts +0 -0
- /package/{types → dist/types}/components/bh-avatar-stacked/bh-avatar-stacked.d.ts +0 -0
- /package/{types → dist/types}/components/bh-badge/bh-badge.d.ts +0 -0
- /package/{types → dist/types}/components/bh-badge-dot/bh-badge-dot.d.ts +0 -0
- /package/{types → dist/types}/components/bh-bar-chart/bh-bar-chart.d.ts +0 -0
- /package/{types → dist/types}/components/bh-breadcrumbs/bh-breadcrumbs.d.ts +0 -0
- /package/{types → dist/types}/components/bh-button/bh-button.d.ts +0 -0
- /package/{types → dist/types}/components/bh-button-icon/bh-button-icon.d.ts +0 -0
- /package/{types → dist/types}/components/bh-card/bh-card.d.ts +0 -0
- /package/{types → dist/types}/components/bh-card-footer/bh-card-footer.d.ts +0 -0
- /package/{types → dist/types}/components/bh-card-header/bh-card-header.d.ts +0 -0
- /package/{types → dist/types}/components/bh-chart-tooltip/bh-chart-tooltip.d.ts +0 -0
- /package/{types → dist/types}/components/bh-checkbox-group/bh-checkbox-group.d.ts +0 -0
- /package/{types → dist/types}/components/bh-checkbox-group-item/bh-checkbox-group-item.d.ts +0 -0
- /package/{types → dist/types}/components/bh-container/bh-container.d.ts +0 -0
- /package/{types → dist/types}/components/bh-container-footer/bh-container-footer.d.ts +0 -0
- /package/{types → dist/types}/components/bh-date-picker/bh-date-picker.d.ts +0 -0
- /package/{types → dist/types}/components/bh-date-picker-content/bh-date-picker-content.d.ts +0 -0
- /package/{types → dist/types}/components/bh-date-range-picker/bh-date-range-picker.d.ts +0 -0
- /package/{types → dist/types}/components/bh-date-range-picker-content/bh-date-range-picker-content.d.ts +0 -0
- /package/{types → dist/types}/components/bh-dropdown-menu/bh-dropdown-menu.d.ts +0 -0
- /package/{types → dist/types}/components/bh-empty-state/bh-empty-state.d.ts +0 -0
- /package/{types → dist/types}/components/bh-featured-icon/bh-featured-icon.d.ts +0 -0
- /package/{types → dist/types}/components/bh-illustrations/bh-illustrations.d.ts +0 -0
- /package/{types → dist/types}/components/bh-input-autocomplete/bh-input-autocomplete.d.ts +0 -0
- /package/{types → dist/types}/components/bh-input-number/bh-input-number.d.ts +0 -0
- /package/{types → dist/types}/components/bh-input-password/bh-input-password.d.ts +0 -0
- /package/{types → dist/types}/components/bh-input-text/bh-input-text.d.ts +0 -0
- /package/{types → dist/types}/components/bh-input-verification/bh-input-verification.d.ts +0 -0
- /package/{types → dist/types}/components/bh-label/bh-label.d.ts +0 -0
- /package/{types → dist/types}/components/bh-loader-spinner/bh-loader-spinner.d.ts +0 -0
- /package/{types → dist/types}/components/bh-modal/bh-modal.d.ts +0 -0
- /package/{types → dist/types}/components/bh-modal-actions/bh-modal-actions.d.ts +0 -0
- /package/{types → dist/types}/components/bh-modal-header/bh-modal-header.d.ts +0 -0
- /package/{types → dist/types}/components/bh-month-picker/bh-month-picker.d.ts +0 -0
- /package/{types → dist/types}/components/bh-month-picker-content/bh-month-picker-content.d.ts +0 -0
- /package/{types → dist/types}/components/bh-notification/bh-notification.d.ts +0 -0
- /package/{types → dist/types}/components/bh-page-navigation/bh-page-navigation.d.ts +0 -0
- /package/{types → dist/types}/components/bh-page-navigation-child/bh-page-navigation-child.d.ts +0 -0
- /package/{types → dist/types}/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.d.ts +0 -0
- /package/{types → dist/types}/components/bh-page-navigation-single-level/bh-page-navigation-single-level.d.ts +0 -0
- /package/{types → dist/types}/components/bh-picker-menu/bh-picker-menu.d.ts +0 -0
- /package/{types → dist/types}/components/bh-pie-chart/bh-pie-chart.d.ts +0 -0
- /package/{types → dist/types}/components/bh-popover/bh-popover.d.ts +0 -0
- /package/{types → dist/types}/components/bh-product-switcher/bh-product-switcher.d.ts +0 -0
- /package/{types → dist/types}/components/bh-property-switcher/bh-property-switcher.d.ts +0 -0
- /package/{types → dist/types}/components/bh-radio-button/bh-radio-button.d.ts +0 -0
- /package/{types → dist/types}/components/bh-sidebar/bh-nav-item.d.ts +0 -0
- /package/{types → dist/types}/components/bh-sidebar/bh-sidebar.d.ts +0 -0
- /package/{types → dist/types}/components/bh-skeleton-loader/bh-skeleton-loader.d.ts +0 -0
- /package/{types → dist/types}/components/bh-tab-item/bh-tab-item.d.ts +0 -0
- /package/{types → dist/types}/components/bh-tabs/bh-tabs.d.ts +0 -0
- /package/{types → dist/types}/components/bh-tag/bh-tag.d.ts +0 -0
- /package/{types → dist/types}/components/bh-textarea/bh-textarea.d.ts +0 -0
- /package/{types → dist/types}/components/bh-toggle/bh-toggle.d.ts +0 -0
- /package/{types → dist/types}/components/bh-tooltip/bh-tooltip.d.ts +0 -0
- /package/{types → dist/types}/components/bh-trend-chart/bh-trend-chart.d.ts +0 -0
- /package/{types → dist/types}/stencil-public-runtime.d.ts +0 -0
- /package/{types → dist/types}/utils/form.d.ts +0 -0
|
@@ -0,0 +1,1887 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BVJ_Kket.js');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Custom positioning reference element.
|
|
7
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
const min = Math.min;
|
|
11
|
+
const max = Math.max;
|
|
12
|
+
const round = Math.round;
|
|
13
|
+
const floor = Math.floor;
|
|
14
|
+
const createCoords = v => ({
|
|
15
|
+
x: v,
|
|
16
|
+
y: v
|
|
17
|
+
});
|
|
18
|
+
const oppositeSideMap = {
|
|
19
|
+
left: 'right',
|
|
20
|
+
right: 'left',
|
|
21
|
+
bottom: 'top',
|
|
22
|
+
top: 'bottom'
|
|
23
|
+
};
|
|
24
|
+
const oppositeAlignmentMap = {
|
|
25
|
+
start: 'end',
|
|
26
|
+
end: 'start'
|
|
27
|
+
};
|
|
28
|
+
function clamp(start, value, end) {
|
|
29
|
+
return max(start, min(value, end));
|
|
30
|
+
}
|
|
31
|
+
function evaluate(value, param) {
|
|
32
|
+
return typeof value === 'function' ? value(param) : value;
|
|
33
|
+
}
|
|
34
|
+
function getSide(placement) {
|
|
35
|
+
return placement.split('-')[0];
|
|
36
|
+
}
|
|
37
|
+
function getAlignment(placement) {
|
|
38
|
+
return placement.split('-')[1];
|
|
39
|
+
}
|
|
40
|
+
function getOppositeAxis(axis) {
|
|
41
|
+
return axis === 'x' ? 'y' : 'x';
|
|
42
|
+
}
|
|
43
|
+
function getAxisLength(axis) {
|
|
44
|
+
return axis === 'y' ? 'height' : 'width';
|
|
45
|
+
}
|
|
46
|
+
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
47
|
+
function getSideAxis(placement) {
|
|
48
|
+
return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
|
|
49
|
+
}
|
|
50
|
+
function getAlignmentAxis(placement) {
|
|
51
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
52
|
+
}
|
|
53
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
54
|
+
if (rtl === void 0) {
|
|
55
|
+
rtl = false;
|
|
56
|
+
}
|
|
57
|
+
const alignment = getAlignment(placement);
|
|
58
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
59
|
+
const length = getAxisLength(alignmentAxis);
|
|
60
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
61
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
62
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
63
|
+
}
|
|
64
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
65
|
+
}
|
|
66
|
+
function getExpandedPlacements(placement) {
|
|
67
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
68
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
69
|
+
}
|
|
70
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
71
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
72
|
+
}
|
|
73
|
+
const lrPlacement = ['left', 'right'];
|
|
74
|
+
const rlPlacement = ['right', 'left'];
|
|
75
|
+
const tbPlacement = ['top', 'bottom'];
|
|
76
|
+
const btPlacement = ['bottom', 'top'];
|
|
77
|
+
function getSideList(side, isStart, rtl) {
|
|
78
|
+
switch (side) {
|
|
79
|
+
case 'top':
|
|
80
|
+
case 'bottom':
|
|
81
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
82
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
83
|
+
case 'left':
|
|
84
|
+
case 'right':
|
|
85
|
+
return isStart ? tbPlacement : btPlacement;
|
|
86
|
+
default:
|
|
87
|
+
return [];
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
91
|
+
const alignment = getAlignment(placement);
|
|
92
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
93
|
+
if (alignment) {
|
|
94
|
+
list = list.map(side => side + "-" + alignment);
|
|
95
|
+
if (flipAlignment) {
|
|
96
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return list;
|
|
100
|
+
}
|
|
101
|
+
function getOppositePlacement(placement) {
|
|
102
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
103
|
+
}
|
|
104
|
+
function expandPaddingObject(padding) {
|
|
105
|
+
return {
|
|
106
|
+
top: 0,
|
|
107
|
+
right: 0,
|
|
108
|
+
bottom: 0,
|
|
109
|
+
left: 0,
|
|
110
|
+
...padding
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
function getPaddingObject(padding) {
|
|
114
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
115
|
+
top: padding,
|
|
116
|
+
right: padding,
|
|
117
|
+
bottom: padding,
|
|
118
|
+
left: padding
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function rectToClientRect(rect) {
|
|
122
|
+
const {
|
|
123
|
+
x,
|
|
124
|
+
y,
|
|
125
|
+
width,
|
|
126
|
+
height
|
|
127
|
+
} = rect;
|
|
128
|
+
return {
|
|
129
|
+
width,
|
|
130
|
+
height,
|
|
131
|
+
top: y,
|
|
132
|
+
left: x,
|
|
133
|
+
right: x + width,
|
|
134
|
+
bottom: y + height,
|
|
135
|
+
x,
|
|
136
|
+
y
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
141
|
+
let {
|
|
142
|
+
reference,
|
|
143
|
+
floating
|
|
144
|
+
} = _ref;
|
|
145
|
+
const sideAxis = getSideAxis(placement);
|
|
146
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
147
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
148
|
+
const side = getSide(placement);
|
|
149
|
+
const isVertical = sideAxis === 'y';
|
|
150
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
151
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
152
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
153
|
+
let coords;
|
|
154
|
+
switch (side) {
|
|
155
|
+
case 'top':
|
|
156
|
+
coords = {
|
|
157
|
+
x: commonX,
|
|
158
|
+
y: reference.y - floating.height
|
|
159
|
+
};
|
|
160
|
+
break;
|
|
161
|
+
case 'bottom':
|
|
162
|
+
coords = {
|
|
163
|
+
x: commonX,
|
|
164
|
+
y: reference.y + reference.height
|
|
165
|
+
};
|
|
166
|
+
break;
|
|
167
|
+
case 'right':
|
|
168
|
+
coords = {
|
|
169
|
+
x: reference.x + reference.width,
|
|
170
|
+
y: commonY
|
|
171
|
+
};
|
|
172
|
+
break;
|
|
173
|
+
case 'left':
|
|
174
|
+
coords = {
|
|
175
|
+
x: reference.x - floating.width,
|
|
176
|
+
y: commonY
|
|
177
|
+
};
|
|
178
|
+
break;
|
|
179
|
+
default:
|
|
180
|
+
coords = {
|
|
181
|
+
x: reference.x,
|
|
182
|
+
y: reference.y
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
switch (getAlignment(placement)) {
|
|
186
|
+
case 'start':
|
|
187
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
188
|
+
break;
|
|
189
|
+
case 'end':
|
|
190
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
return coords;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
198
|
+
* next to a given reference element.
|
|
199
|
+
*
|
|
200
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
201
|
+
* write one for the platform you are using Floating UI with.
|
|
202
|
+
*/
|
|
203
|
+
const computePosition$1 = async (reference, floating, config) => {
|
|
204
|
+
const {
|
|
205
|
+
placement = 'bottom',
|
|
206
|
+
strategy = 'absolute',
|
|
207
|
+
middleware = [],
|
|
208
|
+
platform
|
|
209
|
+
} = config;
|
|
210
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
211
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
212
|
+
let rects = await platform.getElementRects({
|
|
213
|
+
reference,
|
|
214
|
+
floating,
|
|
215
|
+
strategy
|
|
216
|
+
});
|
|
217
|
+
let {
|
|
218
|
+
x,
|
|
219
|
+
y
|
|
220
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
221
|
+
let statefulPlacement = placement;
|
|
222
|
+
let middlewareData = {};
|
|
223
|
+
let resetCount = 0;
|
|
224
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
225
|
+
const {
|
|
226
|
+
name,
|
|
227
|
+
fn
|
|
228
|
+
} = validMiddleware[i];
|
|
229
|
+
const {
|
|
230
|
+
x: nextX,
|
|
231
|
+
y: nextY,
|
|
232
|
+
data,
|
|
233
|
+
reset
|
|
234
|
+
} = await fn({
|
|
235
|
+
x,
|
|
236
|
+
y,
|
|
237
|
+
initialPlacement: placement,
|
|
238
|
+
placement: statefulPlacement,
|
|
239
|
+
strategy,
|
|
240
|
+
middlewareData,
|
|
241
|
+
rects,
|
|
242
|
+
platform,
|
|
243
|
+
elements: {
|
|
244
|
+
reference,
|
|
245
|
+
floating
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
x = nextX != null ? nextX : x;
|
|
249
|
+
y = nextY != null ? nextY : y;
|
|
250
|
+
middlewareData = {
|
|
251
|
+
...middlewareData,
|
|
252
|
+
[name]: {
|
|
253
|
+
...middlewareData[name],
|
|
254
|
+
...data
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
if (reset && resetCount <= 50) {
|
|
258
|
+
resetCount++;
|
|
259
|
+
if (typeof reset === 'object') {
|
|
260
|
+
if (reset.placement) {
|
|
261
|
+
statefulPlacement = reset.placement;
|
|
262
|
+
}
|
|
263
|
+
if (reset.rects) {
|
|
264
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
|
265
|
+
reference,
|
|
266
|
+
floating,
|
|
267
|
+
strategy
|
|
268
|
+
}) : reset.rects;
|
|
269
|
+
}
|
|
270
|
+
({
|
|
271
|
+
x,
|
|
272
|
+
y
|
|
273
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
274
|
+
}
|
|
275
|
+
i = -1;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
return {
|
|
279
|
+
x,
|
|
280
|
+
y,
|
|
281
|
+
placement: statefulPlacement,
|
|
282
|
+
strategy,
|
|
283
|
+
middlewareData
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
289
|
+
* element is overflowing a given clipping boundary on each side.
|
|
290
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
291
|
+
* - negative = how many pixels left before it will overflow
|
|
292
|
+
* - 0 = lies flush with the boundary
|
|
293
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
294
|
+
*/
|
|
295
|
+
async function detectOverflow(state, options) {
|
|
296
|
+
var _await$platform$isEle;
|
|
297
|
+
if (options === void 0) {
|
|
298
|
+
options = {};
|
|
299
|
+
}
|
|
300
|
+
const {
|
|
301
|
+
x,
|
|
302
|
+
y,
|
|
303
|
+
platform,
|
|
304
|
+
rects,
|
|
305
|
+
elements,
|
|
306
|
+
strategy
|
|
307
|
+
} = state;
|
|
308
|
+
const {
|
|
309
|
+
boundary = 'clippingAncestors',
|
|
310
|
+
rootBoundary = 'viewport',
|
|
311
|
+
elementContext = 'floating',
|
|
312
|
+
altBoundary = false,
|
|
313
|
+
padding = 0
|
|
314
|
+
} = evaluate(options, state);
|
|
315
|
+
const paddingObject = getPaddingObject(padding);
|
|
316
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
317
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
318
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
319
|
+
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))),
|
|
320
|
+
boundary,
|
|
321
|
+
rootBoundary,
|
|
322
|
+
strategy
|
|
323
|
+
}));
|
|
324
|
+
const rect = elementContext === 'floating' ? {
|
|
325
|
+
x,
|
|
326
|
+
y,
|
|
327
|
+
width: rects.floating.width,
|
|
328
|
+
height: rects.floating.height
|
|
329
|
+
} : rects.reference;
|
|
330
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
331
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
332
|
+
x: 1,
|
|
333
|
+
y: 1
|
|
334
|
+
} : {
|
|
335
|
+
x: 1,
|
|
336
|
+
y: 1
|
|
337
|
+
};
|
|
338
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
339
|
+
elements,
|
|
340
|
+
rect,
|
|
341
|
+
offsetParent,
|
|
342
|
+
strategy
|
|
343
|
+
}) : rect);
|
|
344
|
+
return {
|
|
345
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
346
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
347
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
348
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
354
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
355
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
356
|
+
* @see https://floating-ui.com/docs/flip
|
|
357
|
+
*/
|
|
358
|
+
const flip$1 = function (options) {
|
|
359
|
+
if (options === void 0) {
|
|
360
|
+
options = {};
|
|
361
|
+
}
|
|
362
|
+
return {
|
|
363
|
+
name: 'flip',
|
|
364
|
+
options,
|
|
365
|
+
async fn(state) {
|
|
366
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
367
|
+
const {
|
|
368
|
+
placement,
|
|
369
|
+
middlewareData,
|
|
370
|
+
rects,
|
|
371
|
+
initialPlacement,
|
|
372
|
+
platform,
|
|
373
|
+
elements
|
|
374
|
+
} = state;
|
|
375
|
+
const {
|
|
376
|
+
mainAxis: checkMainAxis = true,
|
|
377
|
+
crossAxis: checkCrossAxis = true,
|
|
378
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
379
|
+
fallbackStrategy = 'bestFit',
|
|
380
|
+
fallbackAxisSideDirection = 'none',
|
|
381
|
+
flipAlignment = true,
|
|
382
|
+
...detectOverflowOptions
|
|
383
|
+
} = evaluate(options, state);
|
|
384
|
+
|
|
385
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
386
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
387
|
+
// work.
|
|
388
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
389
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
390
|
+
return {};
|
|
391
|
+
}
|
|
392
|
+
const side = getSide(placement);
|
|
393
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
394
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
395
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
396
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
397
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
398
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
399
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
400
|
+
}
|
|
401
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
402
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
403
|
+
const overflows = [];
|
|
404
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
405
|
+
if (checkMainAxis) {
|
|
406
|
+
overflows.push(overflow[side]);
|
|
407
|
+
}
|
|
408
|
+
if (checkCrossAxis) {
|
|
409
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
410
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
411
|
+
}
|
|
412
|
+
overflowsData = [...overflowsData, {
|
|
413
|
+
placement,
|
|
414
|
+
overflows
|
|
415
|
+
}];
|
|
416
|
+
|
|
417
|
+
// One or more sides is overflowing.
|
|
418
|
+
if (!overflows.every(side => side <= 0)) {
|
|
419
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
420
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
421
|
+
const nextPlacement = placements[nextIndex];
|
|
422
|
+
if (nextPlacement) {
|
|
423
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
424
|
+
if (!ignoreCrossAxisOverflow ||
|
|
425
|
+
// We leave the current main axis only if every placement on that axis
|
|
426
|
+
// overflows the main axis.
|
|
427
|
+
overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
428
|
+
// Try next placement and re-run the lifecycle.
|
|
429
|
+
return {
|
|
430
|
+
data: {
|
|
431
|
+
index: nextIndex,
|
|
432
|
+
overflows: overflowsData
|
|
433
|
+
},
|
|
434
|
+
reset: {
|
|
435
|
+
placement: nextPlacement
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
442
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
443
|
+
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;
|
|
444
|
+
|
|
445
|
+
// Otherwise fallback.
|
|
446
|
+
if (!resetPlacement) {
|
|
447
|
+
switch (fallbackStrategy) {
|
|
448
|
+
case 'bestFit':
|
|
449
|
+
{
|
|
450
|
+
var _overflowsData$filter2;
|
|
451
|
+
const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
|
|
452
|
+
if (hasFallbackAxisSideDirection) {
|
|
453
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
454
|
+
return currentSideAxis === initialSideAxis ||
|
|
455
|
+
// Create a bias to the `y` side axis due to horizontal
|
|
456
|
+
// reading directions favoring greater width.
|
|
457
|
+
currentSideAxis === 'y';
|
|
458
|
+
}
|
|
459
|
+
return true;
|
|
460
|
+
}).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];
|
|
461
|
+
if (placement) {
|
|
462
|
+
resetPlacement = placement;
|
|
463
|
+
}
|
|
464
|
+
break;
|
|
465
|
+
}
|
|
466
|
+
case 'initialPlacement':
|
|
467
|
+
resetPlacement = initialPlacement;
|
|
468
|
+
break;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
if (placement !== resetPlacement) {
|
|
472
|
+
return {
|
|
473
|
+
reset: {
|
|
474
|
+
placement: resetPlacement
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
return {};
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
485
|
+
|
|
486
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
487
|
+
// Derivable.
|
|
488
|
+
|
|
489
|
+
async function convertValueToCoords(state, options) {
|
|
490
|
+
const {
|
|
491
|
+
placement,
|
|
492
|
+
platform,
|
|
493
|
+
elements
|
|
494
|
+
} = state;
|
|
495
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
496
|
+
const side = getSide(placement);
|
|
497
|
+
const alignment = getAlignment(placement);
|
|
498
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
499
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
500
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
501
|
+
const rawValue = evaluate(options, state);
|
|
502
|
+
|
|
503
|
+
// eslint-disable-next-line prefer-const
|
|
504
|
+
let {
|
|
505
|
+
mainAxis,
|
|
506
|
+
crossAxis,
|
|
507
|
+
alignmentAxis
|
|
508
|
+
} = typeof rawValue === 'number' ? {
|
|
509
|
+
mainAxis: rawValue,
|
|
510
|
+
crossAxis: 0,
|
|
511
|
+
alignmentAxis: null
|
|
512
|
+
} : {
|
|
513
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
514
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
515
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
516
|
+
};
|
|
517
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
518
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
519
|
+
}
|
|
520
|
+
return isVertical ? {
|
|
521
|
+
x: crossAxis * crossAxisMulti,
|
|
522
|
+
y: mainAxis * mainAxisMulti
|
|
523
|
+
} : {
|
|
524
|
+
x: mainAxis * mainAxisMulti,
|
|
525
|
+
y: crossAxis * crossAxisMulti
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Modifies the placement by translating the floating element along the
|
|
531
|
+
* specified axes.
|
|
532
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
533
|
+
* object may be passed.
|
|
534
|
+
* @see https://floating-ui.com/docs/offset
|
|
535
|
+
*/
|
|
536
|
+
const offset$1 = function (options) {
|
|
537
|
+
if (options === void 0) {
|
|
538
|
+
options = 0;
|
|
539
|
+
}
|
|
540
|
+
return {
|
|
541
|
+
name: 'offset',
|
|
542
|
+
options,
|
|
543
|
+
async fn(state) {
|
|
544
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
545
|
+
const {
|
|
546
|
+
x,
|
|
547
|
+
y,
|
|
548
|
+
placement,
|
|
549
|
+
middlewareData
|
|
550
|
+
} = state;
|
|
551
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
552
|
+
|
|
553
|
+
// If the placement is the same and the arrow caused an alignment offset
|
|
554
|
+
// then we don't need to change the positioning coordinates.
|
|
555
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
556
|
+
return {};
|
|
557
|
+
}
|
|
558
|
+
return {
|
|
559
|
+
x: x + diffCoords.x,
|
|
560
|
+
y: y + diffCoords.y,
|
|
561
|
+
data: {
|
|
562
|
+
...diffCoords,
|
|
563
|
+
placement
|
|
564
|
+
}
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
572
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
573
|
+
* @see https://floating-ui.com/docs/shift
|
|
574
|
+
*/
|
|
575
|
+
const shift$1 = function (options) {
|
|
576
|
+
if (options === void 0) {
|
|
577
|
+
options = {};
|
|
578
|
+
}
|
|
579
|
+
return {
|
|
580
|
+
name: 'shift',
|
|
581
|
+
options,
|
|
582
|
+
async fn(state) {
|
|
583
|
+
const {
|
|
584
|
+
x,
|
|
585
|
+
y,
|
|
586
|
+
placement
|
|
587
|
+
} = state;
|
|
588
|
+
const {
|
|
589
|
+
mainAxis: checkMainAxis = true,
|
|
590
|
+
crossAxis: checkCrossAxis = false,
|
|
591
|
+
limiter = {
|
|
592
|
+
fn: _ref => {
|
|
593
|
+
let {
|
|
594
|
+
x,
|
|
595
|
+
y
|
|
596
|
+
} = _ref;
|
|
597
|
+
return {
|
|
598
|
+
x,
|
|
599
|
+
y
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
...detectOverflowOptions
|
|
604
|
+
} = evaluate(options, state);
|
|
605
|
+
const coords = {
|
|
606
|
+
x,
|
|
607
|
+
y
|
|
608
|
+
};
|
|
609
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
610
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
611
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
612
|
+
let mainAxisCoord = coords[mainAxis];
|
|
613
|
+
let crossAxisCoord = coords[crossAxis];
|
|
614
|
+
if (checkMainAxis) {
|
|
615
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
616
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
617
|
+
const min = mainAxisCoord + overflow[minSide];
|
|
618
|
+
const max = mainAxisCoord - overflow[maxSide];
|
|
619
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
620
|
+
}
|
|
621
|
+
if (checkCrossAxis) {
|
|
622
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
623
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
624
|
+
const min = crossAxisCoord + overflow[minSide];
|
|
625
|
+
const max = crossAxisCoord - overflow[maxSide];
|
|
626
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
627
|
+
}
|
|
628
|
+
const limitedCoords = limiter.fn({
|
|
629
|
+
...state,
|
|
630
|
+
[mainAxis]: mainAxisCoord,
|
|
631
|
+
[crossAxis]: crossAxisCoord
|
|
632
|
+
});
|
|
633
|
+
return {
|
|
634
|
+
...limitedCoords,
|
|
635
|
+
data: {
|
|
636
|
+
x: limitedCoords.x - x,
|
|
637
|
+
y: limitedCoords.y - y,
|
|
638
|
+
enabled: {
|
|
639
|
+
[mainAxis]: checkMainAxis,
|
|
640
|
+
[crossAxis]: checkCrossAxis
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
};
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
function hasWindow() {
|
|
649
|
+
return typeof window !== 'undefined';
|
|
650
|
+
}
|
|
651
|
+
function getNodeName(node) {
|
|
652
|
+
if (isNode(node)) {
|
|
653
|
+
return (node.nodeName || '').toLowerCase();
|
|
654
|
+
}
|
|
655
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
656
|
+
// returning `#document` an infinite loop won't occur.
|
|
657
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
658
|
+
return '#document';
|
|
659
|
+
}
|
|
660
|
+
function getWindow(node) {
|
|
661
|
+
var _node$ownerDocument;
|
|
662
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
663
|
+
}
|
|
664
|
+
function getDocumentElement(node) {
|
|
665
|
+
var _ref;
|
|
666
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
667
|
+
}
|
|
668
|
+
function isNode(value) {
|
|
669
|
+
if (!hasWindow()) {
|
|
670
|
+
return false;
|
|
671
|
+
}
|
|
672
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
673
|
+
}
|
|
674
|
+
function isElement(value) {
|
|
675
|
+
if (!hasWindow()) {
|
|
676
|
+
return false;
|
|
677
|
+
}
|
|
678
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
679
|
+
}
|
|
680
|
+
function isHTMLElement(value) {
|
|
681
|
+
if (!hasWindow()) {
|
|
682
|
+
return false;
|
|
683
|
+
}
|
|
684
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
685
|
+
}
|
|
686
|
+
function isShadowRoot(value) {
|
|
687
|
+
if (!hasWindow() || typeof ShadowRoot === 'undefined') {
|
|
688
|
+
return false;
|
|
689
|
+
}
|
|
690
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
691
|
+
}
|
|
692
|
+
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
693
|
+
function isOverflowElement(element) {
|
|
694
|
+
const {
|
|
695
|
+
overflow,
|
|
696
|
+
overflowX,
|
|
697
|
+
overflowY,
|
|
698
|
+
display
|
|
699
|
+
} = getComputedStyle$1(element);
|
|
700
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
701
|
+
}
|
|
702
|
+
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
703
|
+
function isTableElement(element) {
|
|
704
|
+
return tableElements.has(getNodeName(element));
|
|
705
|
+
}
|
|
706
|
+
const topLayerSelectors = [':popover-open', ':modal'];
|
|
707
|
+
function isTopLayer(element) {
|
|
708
|
+
return topLayerSelectors.some(selector => {
|
|
709
|
+
try {
|
|
710
|
+
return element.matches(selector);
|
|
711
|
+
} catch (_e) {
|
|
712
|
+
return false;
|
|
713
|
+
}
|
|
714
|
+
});
|
|
715
|
+
}
|
|
716
|
+
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
717
|
+
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
718
|
+
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
719
|
+
function isContainingBlock(elementOrCss) {
|
|
720
|
+
const webkit = isWebKit();
|
|
721
|
+
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
722
|
+
|
|
723
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
724
|
+
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
725
|
+
return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
|
|
726
|
+
}
|
|
727
|
+
function getContainingBlock(element) {
|
|
728
|
+
let currentNode = getParentNode(element);
|
|
729
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
730
|
+
if (isContainingBlock(currentNode)) {
|
|
731
|
+
return currentNode;
|
|
732
|
+
} else if (isTopLayer(currentNode)) {
|
|
733
|
+
return null;
|
|
734
|
+
}
|
|
735
|
+
currentNode = getParentNode(currentNode);
|
|
736
|
+
}
|
|
737
|
+
return null;
|
|
738
|
+
}
|
|
739
|
+
function isWebKit() {
|
|
740
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
741
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
742
|
+
}
|
|
743
|
+
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
744
|
+
function isLastTraversableNode(node) {
|
|
745
|
+
return lastTraversableNodeNames.has(getNodeName(node));
|
|
746
|
+
}
|
|
747
|
+
function getComputedStyle$1(element) {
|
|
748
|
+
return getWindow(element).getComputedStyle(element);
|
|
749
|
+
}
|
|
750
|
+
function getNodeScroll(element) {
|
|
751
|
+
if (isElement(element)) {
|
|
752
|
+
return {
|
|
753
|
+
scrollLeft: element.scrollLeft,
|
|
754
|
+
scrollTop: element.scrollTop
|
|
755
|
+
};
|
|
756
|
+
}
|
|
757
|
+
return {
|
|
758
|
+
scrollLeft: element.scrollX,
|
|
759
|
+
scrollTop: element.scrollY
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
function getParentNode(node) {
|
|
763
|
+
if (getNodeName(node) === 'html') {
|
|
764
|
+
return node;
|
|
765
|
+
}
|
|
766
|
+
const result =
|
|
767
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
768
|
+
node.assignedSlot ||
|
|
769
|
+
// DOM Element detected.
|
|
770
|
+
node.parentNode ||
|
|
771
|
+
// ShadowRoot detected.
|
|
772
|
+
isShadowRoot(node) && node.host ||
|
|
773
|
+
// Fallback.
|
|
774
|
+
getDocumentElement(node);
|
|
775
|
+
return isShadowRoot(result) ? result.host : result;
|
|
776
|
+
}
|
|
777
|
+
function getNearestOverflowAncestor(node) {
|
|
778
|
+
const parentNode = getParentNode(node);
|
|
779
|
+
if (isLastTraversableNode(parentNode)) {
|
|
780
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
781
|
+
}
|
|
782
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
783
|
+
return parentNode;
|
|
784
|
+
}
|
|
785
|
+
return getNearestOverflowAncestor(parentNode);
|
|
786
|
+
}
|
|
787
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
788
|
+
var _node$ownerDocument2;
|
|
789
|
+
if (list === void 0) {
|
|
790
|
+
list = [];
|
|
791
|
+
}
|
|
792
|
+
if (traverseIframes === void 0) {
|
|
793
|
+
traverseIframes = true;
|
|
794
|
+
}
|
|
795
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
796
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
797
|
+
const win = getWindow(scrollableAncestor);
|
|
798
|
+
if (isBody) {
|
|
799
|
+
const frameElement = getFrameElement(win);
|
|
800
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
801
|
+
}
|
|
802
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
803
|
+
}
|
|
804
|
+
function getFrameElement(win) {
|
|
805
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
function getCssDimensions(element) {
|
|
809
|
+
const css = getComputedStyle$1(element);
|
|
810
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
811
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
812
|
+
let width = parseFloat(css.width) || 0;
|
|
813
|
+
let height = parseFloat(css.height) || 0;
|
|
814
|
+
const hasOffset = isHTMLElement(element);
|
|
815
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
816
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
817
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
818
|
+
if (shouldFallback) {
|
|
819
|
+
width = offsetWidth;
|
|
820
|
+
height = offsetHeight;
|
|
821
|
+
}
|
|
822
|
+
return {
|
|
823
|
+
width,
|
|
824
|
+
height,
|
|
825
|
+
$: shouldFallback
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
function unwrapElement(element) {
|
|
830
|
+
return !isElement(element) ? element.contextElement : element;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
function getScale(element) {
|
|
834
|
+
const domElement = unwrapElement(element);
|
|
835
|
+
if (!isHTMLElement(domElement)) {
|
|
836
|
+
return createCoords(1);
|
|
837
|
+
}
|
|
838
|
+
const rect = domElement.getBoundingClientRect();
|
|
839
|
+
const {
|
|
840
|
+
width,
|
|
841
|
+
height,
|
|
842
|
+
$
|
|
843
|
+
} = getCssDimensions(domElement);
|
|
844
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
845
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
846
|
+
|
|
847
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
848
|
+
|
|
849
|
+
if (!x || !Number.isFinite(x)) {
|
|
850
|
+
x = 1;
|
|
851
|
+
}
|
|
852
|
+
if (!y || !Number.isFinite(y)) {
|
|
853
|
+
y = 1;
|
|
854
|
+
}
|
|
855
|
+
return {
|
|
856
|
+
x,
|
|
857
|
+
y
|
|
858
|
+
};
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
862
|
+
function getVisualOffsets(element) {
|
|
863
|
+
const win = getWindow(element);
|
|
864
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
865
|
+
return noOffsets;
|
|
866
|
+
}
|
|
867
|
+
return {
|
|
868
|
+
x: win.visualViewport.offsetLeft,
|
|
869
|
+
y: win.visualViewport.offsetTop
|
|
870
|
+
};
|
|
871
|
+
}
|
|
872
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
873
|
+
if (isFixed === void 0) {
|
|
874
|
+
isFixed = false;
|
|
875
|
+
}
|
|
876
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
877
|
+
return false;
|
|
878
|
+
}
|
|
879
|
+
return isFixed;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
883
|
+
if (includeScale === void 0) {
|
|
884
|
+
includeScale = false;
|
|
885
|
+
}
|
|
886
|
+
if (isFixedStrategy === void 0) {
|
|
887
|
+
isFixedStrategy = false;
|
|
888
|
+
}
|
|
889
|
+
const clientRect = element.getBoundingClientRect();
|
|
890
|
+
const domElement = unwrapElement(element);
|
|
891
|
+
let scale = createCoords(1);
|
|
892
|
+
if (includeScale) {
|
|
893
|
+
if (offsetParent) {
|
|
894
|
+
if (isElement(offsetParent)) {
|
|
895
|
+
scale = getScale(offsetParent);
|
|
896
|
+
}
|
|
897
|
+
} else {
|
|
898
|
+
scale = getScale(element);
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
902
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
903
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
904
|
+
let width = clientRect.width / scale.x;
|
|
905
|
+
let height = clientRect.height / scale.y;
|
|
906
|
+
if (domElement) {
|
|
907
|
+
const win = getWindow(domElement);
|
|
908
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
909
|
+
let currentWin = win;
|
|
910
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
911
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
912
|
+
const iframeScale = getScale(currentIFrame);
|
|
913
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
914
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
915
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
916
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
917
|
+
x *= iframeScale.x;
|
|
918
|
+
y *= iframeScale.y;
|
|
919
|
+
width *= iframeScale.x;
|
|
920
|
+
height *= iframeScale.y;
|
|
921
|
+
x += left;
|
|
922
|
+
y += top;
|
|
923
|
+
currentWin = getWindow(currentIFrame);
|
|
924
|
+
currentIFrame = getFrameElement(currentWin);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
return rectToClientRect({
|
|
928
|
+
width,
|
|
929
|
+
height,
|
|
930
|
+
x,
|
|
931
|
+
y
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
936
|
+
// incorrect for RTL.
|
|
937
|
+
function getWindowScrollBarX(element, rect) {
|
|
938
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
939
|
+
if (!rect) {
|
|
940
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
941
|
+
}
|
|
942
|
+
return rect.left + leftScroll;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
946
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
947
|
+
const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
948
|
+
const y = htmlRect.top + scroll.scrollTop;
|
|
949
|
+
return {
|
|
950
|
+
x,
|
|
951
|
+
y
|
|
952
|
+
};
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
956
|
+
let {
|
|
957
|
+
elements,
|
|
958
|
+
rect,
|
|
959
|
+
offsetParent,
|
|
960
|
+
strategy
|
|
961
|
+
} = _ref;
|
|
962
|
+
const isFixed = strategy === 'fixed';
|
|
963
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
964
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
965
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
966
|
+
return rect;
|
|
967
|
+
}
|
|
968
|
+
let scroll = {
|
|
969
|
+
scrollLeft: 0,
|
|
970
|
+
scrollTop: 0
|
|
971
|
+
};
|
|
972
|
+
let scale = createCoords(1);
|
|
973
|
+
const offsets = createCoords(0);
|
|
974
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
975
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
976
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
977
|
+
scroll = getNodeScroll(offsetParent);
|
|
978
|
+
}
|
|
979
|
+
if (isHTMLElement(offsetParent)) {
|
|
980
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
981
|
+
scale = getScale(offsetParent);
|
|
982
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
983
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
987
|
+
return {
|
|
988
|
+
width: rect.width * scale.x,
|
|
989
|
+
height: rect.height * scale.y,
|
|
990
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
991
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
992
|
+
};
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
function getClientRects(element) {
|
|
996
|
+
return Array.from(element.getClientRects());
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
1000
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1001
|
+
function getDocumentRect(element) {
|
|
1002
|
+
const html = getDocumentElement(element);
|
|
1003
|
+
const scroll = getNodeScroll(element);
|
|
1004
|
+
const body = element.ownerDocument.body;
|
|
1005
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1006
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1007
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1008
|
+
const y = -scroll.scrollTop;
|
|
1009
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1010
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1011
|
+
}
|
|
1012
|
+
return {
|
|
1013
|
+
width,
|
|
1014
|
+
height,
|
|
1015
|
+
x,
|
|
1016
|
+
y
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
// Safety check: ensure the scrollbar space is reasonable in case this
|
|
1021
|
+
// calculation is affected by unusual styles.
|
|
1022
|
+
// Most scrollbars leave 15-18px of space.
|
|
1023
|
+
const SCROLLBAR_MAX = 25;
|
|
1024
|
+
function getViewportRect(element, strategy) {
|
|
1025
|
+
const win = getWindow(element);
|
|
1026
|
+
const html = getDocumentElement(element);
|
|
1027
|
+
const visualViewport = win.visualViewport;
|
|
1028
|
+
let width = html.clientWidth;
|
|
1029
|
+
let height = html.clientHeight;
|
|
1030
|
+
let x = 0;
|
|
1031
|
+
let y = 0;
|
|
1032
|
+
if (visualViewport) {
|
|
1033
|
+
width = visualViewport.width;
|
|
1034
|
+
height = visualViewport.height;
|
|
1035
|
+
const visualViewportBased = isWebKit();
|
|
1036
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1037
|
+
x = visualViewport.offsetLeft;
|
|
1038
|
+
y = visualViewport.offsetTop;
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
const windowScrollbarX = getWindowScrollBarX(html);
|
|
1042
|
+
// <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the
|
|
1043
|
+
// visual width of the <html> but this is not considered in the size
|
|
1044
|
+
// of `html.clientWidth`.
|
|
1045
|
+
if (windowScrollbarX <= 0) {
|
|
1046
|
+
const doc = html.ownerDocument;
|
|
1047
|
+
const body = doc.body;
|
|
1048
|
+
const bodyStyles = getComputedStyle(body);
|
|
1049
|
+
const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
1050
|
+
const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
1051
|
+
if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
|
|
1052
|
+
width -= clippingStableScrollbarWidth;
|
|
1053
|
+
}
|
|
1054
|
+
} else if (windowScrollbarX <= SCROLLBAR_MAX) {
|
|
1055
|
+
// If the <body> scrollbar is on the left, the width needs to be extended
|
|
1056
|
+
// by the scrollbar amount so there isn't extra space on the right.
|
|
1057
|
+
width += windowScrollbarX;
|
|
1058
|
+
}
|
|
1059
|
+
return {
|
|
1060
|
+
width,
|
|
1061
|
+
height,
|
|
1062
|
+
x,
|
|
1063
|
+
y
|
|
1064
|
+
};
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
1068
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1069
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1070
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1071
|
+
const top = clientRect.top + element.clientTop;
|
|
1072
|
+
const left = clientRect.left + element.clientLeft;
|
|
1073
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1074
|
+
const width = element.clientWidth * scale.x;
|
|
1075
|
+
const height = element.clientHeight * scale.y;
|
|
1076
|
+
const x = left * scale.x;
|
|
1077
|
+
const y = top * scale.y;
|
|
1078
|
+
return {
|
|
1079
|
+
width,
|
|
1080
|
+
height,
|
|
1081
|
+
x,
|
|
1082
|
+
y
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1086
|
+
let rect;
|
|
1087
|
+
if (clippingAncestor === 'viewport') {
|
|
1088
|
+
rect = getViewportRect(element, strategy);
|
|
1089
|
+
} else if (clippingAncestor === 'document') {
|
|
1090
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1091
|
+
} else if (isElement(clippingAncestor)) {
|
|
1092
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1093
|
+
} else {
|
|
1094
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1095
|
+
rect = {
|
|
1096
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1097
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
1098
|
+
width: clippingAncestor.width,
|
|
1099
|
+
height: clippingAncestor.height
|
|
1100
|
+
};
|
|
1101
|
+
}
|
|
1102
|
+
return rectToClientRect(rect);
|
|
1103
|
+
}
|
|
1104
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1105
|
+
const parentNode = getParentNode(element);
|
|
1106
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1107
|
+
return false;
|
|
1108
|
+
}
|
|
1109
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1113
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1114
|
+
// of the given element up the tree.
|
|
1115
|
+
function getClippingElementAncestors(element, cache) {
|
|
1116
|
+
const cachedResult = cache.get(element);
|
|
1117
|
+
if (cachedResult) {
|
|
1118
|
+
return cachedResult;
|
|
1119
|
+
}
|
|
1120
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1121
|
+
let currentContainingBlockComputedStyle = null;
|
|
1122
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1123
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1124
|
+
|
|
1125
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1126
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1127
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1128
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1129
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1130
|
+
currentContainingBlockComputedStyle = null;
|
|
1131
|
+
}
|
|
1132
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1133
|
+
if (shouldDropCurrentNode) {
|
|
1134
|
+
// Drop non-containing blocks.
|
|
1135
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1136
|
+
} else {
|
|
1137
|
+
// Record last containing block for next iteration.
|
|
1138
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1139
|
+
}
|
|
1140
|
+
currentNode = getParentNode(currentNode);
|
|
1141
|
+
}
|
|
1142
|
+
cache.set(element, result);
|
|
1143
|
+
return result;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
1147
|
+
// clipping ancestors.
|
|
1148
|
+
function getClippingRect(_ref) {
|
|
1149
|
+
let {
|
|
1150
|
+
element,
|
|
1151
|
+
boundary,
|
|
1152
|
+
rootBoundary,
|
|
1153
|
+
strategy
|
|
1154
|
+
} = _ref;
|
|
1155
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1156
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1157
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1158
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1159
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1160
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1161
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1162
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1163
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1164
|
+
return accRect;
|
|
1165
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1166
|
+
return {
|
|
1167
|
+
width: clippingRect.right - clippingRect.left,
|
|
1168
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1169
|
+
x: clippingRect.left,
|
|
1170
|
+
y: clippingRect.top
|
|
1171
|
+
};
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
function getDimensions(element) {
|
|
1175
|
+
const {
|
|
1176
|
+
width,
|
|
1177
|
+
height
|
|
1178
|
+
} = getCssDimensions(element);
|
|
1179
|
+
return {
|
|
1180
|
+
width,
|
|
1181
|
+
height
|
|
1182
|
+
};
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1186
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1187
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1188
|
+
const isFixed = strategy === 'fixed';
|
|
1189
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1190
|
+
let scroll = {
|
|
1191
|
+
scrollLeft: 0,
|
|
1192
|
+
scrollTop: 0
|
|
1193
|
+
};
|
|
1194
|
+
const offsets = createCoords(0);
|
|
1195
|
+
|
|
1196
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1197
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1198
|
+
function setLeftRTLScrollbarOffset() {
|
|
1199
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1200
|
+
}
|
|
1201
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1202
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1203
|
+
scroll = getNodeScroll(offsetParent);
|
|
1204
|
+
}
|
|
1205
|
+
if (isOffsetParentAnElement) {
|
|
1206
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1207
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1208
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1209
|
+
} else if (documentElement) {
|
|
1210
|
+
setLeftRTLScrollbarOffset();
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
1214
|
+
setLeftRTLScrollbarOffset();
|
|
1215
|
+
}
|
|
1216
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1217
|
+
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1218
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1219
|
+
return {
|
|
1220
|
+
x,
|
|
1221
|
+
y,
|
|
1222
|
+
width: rect.width,
|
|
1223
|
+
height: rect.height
|
|
1224
|
+
};
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
function isStaticPositioned(element) {
|
|
1228
|
+
return getComputedStyle$1(element).position === 'static';
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1232
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1233
|
+
return null;
|
|
1234
|
+
}
|
|
1235
|
+
if (polyfill) {
|
|
1236
|
+
return polyfill(element);
|
|
1237
|
+
}
|
|
1238
|
+
let rawOffsetParent = element.offsetParent;
|
|
1239
|
+
|
|
1240
|
+
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
1241
|
+
// while Chrome and Safari return the <body> element. The <body> element must
|
|
1242
|
+
// be used to perform the correct calculations even if the <html> element is
|
|
1243
|
+
// non-static.
|
|
1244
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1245
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1246
|
+
}
|
|
1247
|
+
return rawOffsetParent;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1251
|
+
// such as table ancestors and cross browser bugs.
|
|
1252
|
+
function getOffsetParent(element, polyfill) {
|
|
1253
|
+
const win = getWindow(element);
|
|
1254
|
+
if (isTopLayer(element)) {
|
|
1255
|
+
return win;
|
|
1256
|
+
}
|
|
1257
|
+
if (!isHTMLElement(element)) {
|
|
1258
|
+
let svgOffsetParent = getParentNode(element);
|
|
1259
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1260
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1261
|
+
return svgOffsetParent;
|
|
1262
|
+
}
|
|
1263
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1264
|
+
}
|
|
1265
|
+
return win;
|
|
1266
|
+
}
|
|
1267
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1268
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1269
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1270
|
+
}
|
|
1271
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1272
|
+
return win;
|
|
1273
|
+
}
|
|
1274
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
const getElementRects = async function (data) {
|
|
1278
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1279
|
+
const getDimensionsFn = this.getDimensions;
|
|
1280
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1281
|
+
return {
|
|
1282
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1283
|
+
floating: {
|
|
1284
|
+
x: 0,
|
|
1285
|
+
y: 0,
|
|
1286
|
+
width: floatingDimensions.width,
|
|
1287
|
+
height: floatingDimensions.height
|
|
1288
|
+
}
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
|
|
1292
|
+
function isRTL(element) {
|
|
1293
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
const platform = {
|
|
1297
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1298
|
+
getDocumentElement,
|
|
1299
|
+
getClippingRect,
|
|
1300
|
+
getOffsetParent,
|
|
1301
|
+
getElementRects,
|
|
1302
|
+
getClientRects,
|
|
1303
|
+
getDimensions,
|
|
1304
|
+
getScale,
|
|
1305
|
+
isElement,
|
|
1306
|
+
isRTL
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
function rectsAreEqual(a, b) {
|
|
1310
|
+
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
// https://samthor.au/2021/observing-dom/
|
|
1314
|
+
function observeMove(element, onMove) {
|
|
1315
|
+
let io = null;
|
|
1316
|
+
let timeoutId;
|
|
1317
|
+
const root = getDocumentElement(element);
|
|
1318
|
+
function cleanup() {
|
|
1319
|
+
var _io;
|
|
1320
|
+
clearTimeout(timeoutId);
|
|
1321
|
+
(_io = io) == null || _io.disconnect();
|
|
1322
|
+
io = null;
|
|
1323
|
+
}
|
|
1324
|
+
function refresh(skip, threshold) {
|
|
1325
|
+
if (skip === void 0) {
|
|
1326
|
+
skip = false;
|
|
1327
|
+
}
|
|
1328
|
+
if (threshold === void 0) {
|
|
1329
|
+
threshold = 1;
|
|
1330
|
+
}
|
|
1331
|
+
cleanup();
|
|
1332
|
+
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1333
|
+
const {
|
|
1334
|
+
left,
|
|
1335
|
+
top,
|
|
1336
|
+
width,
|
|
1337
|
+
height
|
|
1338
|
+
} = elementRectForRootMargin;
|
|
1339
|
+
if (!skip) {
|
|
1340
|
+
onMove();
|
|
1341
|
+
}
|
|
1342
|
+
if (!width || !height) {
|
|
1343
|
+
return;
|
|
1344
|
+
}
|
|
1345
|
+
const insetTop = floor(top);
|
|
1346
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1347
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1348
|
+
const insetLeft = floor(left);
|
|
1349
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1350
|
+
const options = {
|
|
1351
|
+
rootMargin,
|
|
1352
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1353
|
+
};
|
|
1354
|
+
let isFirstUpdate = true;
|
|
1355
|
+
function handleObserve(entries) {
|
|
1356
|
+
const ratio = entries[0].intersectionRatio;
|
|
1357
|
+
if (ratio !== threshold) {
|
|
1358
|
+
if (!isFirstUpdate) {
|
|
1359
|
+
return refresh();
|
|
1360
|
+
}
|
|
1361
|
+
if (!ratio) {
|
|
1362
|
+
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
1363
|
+
// to prevent an infinite loop of updates.
|
|
1364
|
+
timeoutId = setTimeout(() => {
|
|
1365
|
+
refresh(false, 1e-7);
|
|
1366
|
+
}, 1000);
|
|
1367
|
+
} else {
|
|
1368
|
+
refresh(false, ratio);
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1372
|
+
// It's possible that even though the ratio is reported as 1, the
|
|
1373
|
+
// element is not actually fully within the IntersectionObserver's root
|
|
1374
|
+
// area anymore. This can happen under performance constraints. This may
|
|
1375
|
+
// be a bug in the browser's IntersectionObserver implementation. To
|
|
1376
|
+
// work around this, we compare the element's bounding rect now with
|
|
1377
|
+
// what it was at the time we created the IntersectionObserver. If they
|
|
1378
|
+
// are not equal then the element moved, so we refresh.
|
|
1379
|
+
refresh();
|
|
1380
|
+
}
|
|
1381
|
+
isFirstUpdate = false;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
1385
|
+
// error.
|
|
1386
|
+
try {
|
|
1387
|
+
io = new IntersectionObserver(handleObserve, {
|
|
1388
|
+
...options,
|
|
1389
|
+
// Handle <iframe>s
|
|
1390
|
+
root: root.ownerDocument
|
|
1391
|
+
});
|
|
1392
|
+
} catch (_e) {
|
|
1393
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1394
|
+
}
|
|
1395
|
+
io.observe(element);
|
|
1396
|
+
}
|
|
1397
|
+
refresh(true);
|
|
1398
|
+
return cleanup;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Automatically updates the position of the floating element when necessary.
|
|
1403
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
1404
|
+
* visible on the screen.
|
|
1405
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
1406
|
+
* removed from the DOM or hidden from the screen.
|
|
1407
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
1408
|
+
*/
|
|
1409
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1410
|
+
if (options === void 0) {
|
|
1411
|
+
options = {};
|
|
1412
|
+
}
|
|
1413
|
+
const {
|
|
1414
|
+
ancestorScroll = true,
|
|
1415
|
+
ancestorResize = true,
|
|
1416
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
1417
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1418
|
+
animationFrame = false
|
|
1419
|
+
} = options;
|
|
1420
|
+
const referenceEl = unwrapElement(reference);
|
|
1421
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1422
|
+
ancestors.forEach(ancestor => {
|
|
1423
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1424
|
+
passive: true
|
|
1425
|
+
});
|
|
1426
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1427
|
+
});
|
|
1428
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1429
|
+
let reobserveFrame = -1;
|
|
1430
|
+
let resizeObserver = null;
|
|
1431
|
+
if (elementResize) {
|
|
1432
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
1433
|
+
let [firstEntry] = _ref;
|
|
1434
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1435
|
+
// Prevent update loops when using the `size` middleware.
|
|
1436
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1437
|
+
resizeObserver.unobserve(floating);
|
|
1438
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1439
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1440
|
+
var _resizeObserver;
|
|
1441
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1442
|
+
});
|
|
1443
|
+
}
|
|
1444
|
+
update();
|
|
1445
|
+
});
|
|
1446
|
+
if (referenceEl && !animationFrame) {
|
|
1447
|
+
resizeObserver.observe(referenceEl);
|
|
1448
|
+
}
|
|
1449
|
+
resizeObserver.observe(floating);
|
|
1450
|
+
}
|
|
1451
|
+
let frameId;
|
|
1452
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1453
|
+
if (animationFrame) {
|
|
1454
|
+
frameLoop();
|
|
1455
|
+
}
|
|
1456
|
+
function frameLoop() {
|
|
1457
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1458
|
+
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
1459
|
+
update();
|
|
1460
|
+
}
|
|
1461
|
+
prevRefRect = nextRefRect;
|
|
1462
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1463
|
+
}
|
|
1464
|
+
update();
|
|
1465
|
+
return () => {
|
|
1466
|
+
var _resizeObserver2;
|
|
1467
|
+
ancestors.forEach(ancestor => {
|
|
1468
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1469
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1470
|
+
});
|
|
1471
|
+
cleanupIo == null || cleanupIo();
|
|
1472
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1473
|
+
resizeObserver = null;
|
|
1474
|
+
if (animationFrame) {
|
|
1475
|
+
cancelAnimationFrame(frameId);
|
|
1476
|
+
}
|
|
1477
|
+
};
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* Modifies the placement by translating the floating element along the
|
|
1482
|
+
* specified axes.
|
|
1483
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
1484
|
+
* object may be passed.
|
|
1485
|
+
* @see https://floating-ui.com/docs/offset
|
|
1486
|
+
*/
|
|
1487
|
+
const offset = offset$1;
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
1491
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
1492
|
+
* @see https://floating-ui.com/docs/shift
|
|
1493
|
+
*/
|
|
1494
|
+
const shift = shift$1;
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1498
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
1499
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
1500
|
+
* @see https://floating-ui.com/docs/flip
|
|
1501
|
+
*/
|
|
1502
|
+
const flip = flip$1;
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1506
|
+
* next to a given reference element.
|
|
1507
|
+
*/
|
|
1508
|
+
const computePosition = (reference, floating, options) => {
|
|
1509
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1510
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1511
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
1512
|
+
const cache = new Map();
|
|
1513
|
+
const mergedOptions = {
|
|
1514
|
+
platform,
|
|
1515
|
+
...options
|
|
1516
|
+
};
|
|
1517
|
+
const platformWithCache = {
|
|
1518
|
+
...mergedOptions.platform,
|
|
1519
|
+
_c: cache
|
|
1520
|
+
};
|
|
1521
|
+
return computePosition$1(reference, floating, {
|
|
1522
|
+
...mergedOptions,
|
|
1523
|
+
platform: platformWithCache
|
|
1524
|
+
});
|
|
1525
|
+
};
|
|
1526
|
+
|
|
1527
|
+
const bhDropdownCss = ":host{display:inline-block;position:relative}.dropdown-container{position:relative;display:inline-block}.dropdown-container bh-dropdown-menu{}.dropdown-avatar{cursor:pointer;border-radius:50%;transition:box-shadow 0.2s ease;outline:none;display:inline-flex;user-select:none;line-height:0}.dropdown-avatar:hover:not(.dropdown-avatar-disabled){box-shadow:0 0 0 2px var(--color-neutral-200)}.dropdown-avatar:focus:not(.dropdown-avatar-disabled){box-shadow:0 0 0 2px var(--color-brand-500)}.dropdown-avatar-focus{box-shadow:0 0 0 2px var(--color-brand-500)}.dropdown-avatar-disabled{cursor:not-allowed;opacity:0.5}.dropdown-open bh-button{--button-focus-ring:0 0 0 2px var(--color-brand-100)}";
|
|
1528
|
+
|
|
1529
|
+
const BhDropdown = class {
|
|
1530
|
+
constructor(hostRef) {
|
|
1531
|
+
index.registerInstance(this, hostRef);
|
|
1532
|
+
this.bhItemClick = index.createEvent(this, "bhItemClick");
|
|
1533
|
+
}
|
|
1534
|
+
get el() { return index.getElement(this); }
|
|
1535
|
+
triggerRef;
|
|
1536
|
+
menuRef;
|
|
1537
|
+
cleanupAutoUpdate;
|
|
1538
|
+
/**
|
|
1539
|
+
* Size of the dropdown trigger
|
|
1540
|
+
*/
|
|
1541
|
+
size = 'md';
|
|
1542
|
+
/**
|
|
1543
|
+
* State of the dropdown
|
|
1544
|
+
*/
|
|
1545
|
+
state = 'default';
|
|
1546
|
+
/**
|
|
1547
|
+
* Visual variant of the dropdown trigger
|
|
1548
|
+
*/
|
|
1549
|
+
variant = 'outlined';
|
|
1550
|
+
/**
|
|
1551
|
+
* Label for the dropdown button
|
|
1552
|
+
*/
|
|
1553
|
+
label = 'Options';
|
|
1554
|
+
/**
|
|
1555
|
+
* Icon name for icon-only variants
|
|
1556
|
+
*/
|
|
1557
|
+
iconName = 'more_vert';
|
|
1558
|
+
/**
|
|
1559
|
+
* Whether the dropdown is disabled
|
|
1560
|
+
*/
|
|
1561
|
+
disabled = false;
|
|
1562
|
+
/**
|
|
1563
|
+
* Menu items (JSON string or array)
|
|
1564
|
+
*/
|
|
1565
|
+
menuItems = [];
|
|
1566
|
+
/**
|
|
1567
|
+
* Header configuration (JSON string or object)
|
|
1568
|
+
*/
|
|
1569
|
+
header;
|
|
1570
|
+
/**
|
|
1571
|
+
* Avatar image source for avatar variant
|
|
1572
|
+
*/
|
|
1573
|
+
avatarSrc = '';
|
|
1574
|
+
/**
|
|
1575
|
+
* Avatar alt text
|
|
1576
|
+
*/
|
|
1577
|
+
avatarAlt = 'Avatar';
|
|
1578
|
+
/**
|
|
1579
|
+
* Avatar size for avatar variant
|
|
1580
|
+
*/
|
|
1581
|
+
avatarSize = 'md';
|
|
1582
|
+
/**
|
|
1583
|
+
* Avatar name for header
|
|
1584
|
+
*/
|
|
1585
|
+
avatarName;
|
|
1586
|
+
/**
|
|
1587
|
+
* Avatar email for header
|
|
1588
|
+
*/
|
|
1589
|
+
avatarEmail;
|
|
1590
|
+
/**
|
|
1591
|
+
* Whether to show icons in menu items
|
|
1592
|
+
*/
|
|
1593
|
+
showIcons = true;
|
|
1594
|
+
isOpen = false;
|
|
1595
|
+
menuPosition = { x: 0, y: 0 };
|
|
1596
|
+
/**
|
|
1597
|
+
* Event emitted when a menu item is clicked
|
|
1598
|
+
*/
|
|
1599
|
+
bhItemClick;
|
|
1600
|
+
handleClickOutside(event) {
|
|
1601
|
+
const path = event.composedPath();
|
|
1602
|
+
const clickedInside = path.includes(this.el);
|
|
1603
|
+
if (this.isOpen && !clickedInside) {
|
|
1604
|
+
this.isOpen = false;
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
handleOpenChange(newValue) {
|
|
1608
|
+
if (newValue) {
|
|
1609
|
+
this.setupFloatingUI();
|
|
1610
|
+
}
|
|
1611
|
+
else {
|
|
1612
|
+
this.cleanupFloating();
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
disconnectedCallback() {
|
|
1616
|
+
this.cleanupFloating();
|
|
1617
|
+
}
|
|
1618
|
+
setupFloatingUI() {
|
|
1619
|
+
if (!this.triggerRef || !this.menuRef)
|
|
1620
|
+
return;
|
|
1621
|
+
const placement = this.variant === 'avatar' ? 'right-end' : 'bottom-end';
|
|
1622
|
+
const updatePosition = async () => {
|
|
1623
|
+
if (!this.triggerRef || !this.menuRef)
|
|
1624
|
+
return;
|
|
1625
|
+
const { x, y } = await computePosition(this.triggerRef, this.menuRef, {
|
|
1626
|
+
placement,
|
|
1627
|
+
middleware: [
|
|
1628
|
+
offset(8),
|
|
1629
|
+
flip({ fallbackPlacements: ['top-end', 'bottom-start', 'top-start'] }),
|
|
1630
|
+
shift({ padding: 8 }),
|
|
1631
|
+
],
|
|
1632
|
+
});
|
|
1633
|
+
this.menuPosition = { x, y };
|
|
1634
|
+
};
|
|
1635
|
+
updatePosition();
|
|
1636
|
+
this.cleanupAutoUpdate = autoUpdate(this.triggerRef, this.menuRef, updatePosition);
|
|
1637
|
+
}
|
|
1638
|
+
cleanupFloating() {
|
|
1639
|
+
if (this.cleanupAutoUpdate) {
|
|
1640
|
+
this.cleanupAutoUpdate();
|
|
1641
|
+
this.cleanupAutoUpdate = undefined;
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
get parsedMenuItems() {
|
|
1645
|
+
if (typeof this.menuItems === 'string') {
|
|
1646
|
+
try {
|
|
1647
|
+
return JSON.parse(this.menuItems);
|
|
1648
|
+
}
|
|
1649
|
+
catch {
|
|
1650
|
+
return [];
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
return this.menuItems || [];
|
|
1654
|
+
}
|
|
1655
|
+
get parsedHeader() {
|
|
1656
|
+
if (this.variant === 'avatar') {
|
|
1657
|
+
return {
|
|
1658
|
+
avatarGroup: true,
|
|
1659
|
+
avatarSrc: this.avatarSrc,
|
|
1660
|
+
name: this.avatarName,
|
|
1661
|
+
email: this.avatarEmail,
|
|
1662
|
+
};
|
|
1663
|
+
}
|
|
1664
|
+
if (!this.header)
|
|
1665
|
+
return undefined;
|
|
1666
|
+
if (typeof this.header === 'string') {
|
|
1667
|
+
try {
|
|
1668
|
+
return JSON.parse(this.header);
|
|
1669
|
+
}
|
|
1670
|
+
catch {
|
|
1671
|
+
return undefined;
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
return this.header;
|
|
1675
|
+
}
|
|
1676
|
+
toggleDropdown = () => {
|
|
1677
|
+
if (this.disabled)
|
|
1678
|
+
return;
|
|
1679
|
+
this.isOpen = !this.isOpen;
|
|
1680
|
+
};
|
|
1681
|
+
handleMenuItemClick = (event) => {
|
|
1682
|
+
const item = event.detail;
|
|
1683
|
+
if (!item.disabled) {
|
|
1684
|
+
this.bhItemClick.emit(item);
|
|
1685
|
+
this.isOpen = false;
|
|
1686
|
+
}
|
|
1687
|
+
};
|
|
1688
|
+
get isIconOnly() {
|
|
1689
|
+
return (this.variant === 'icon-only-outlined' ||
|
|
1690
|
+
this.variant === 'icon-only-ghost');
|
|
1691
|
+
}
|
|
1692
|
+
get showAvatar() {
|
|
1693
|
+
return this.variant === 'avatar';
|
|
1694
|
+
}
|
|
1695
|
+
get buttonHierarchy() {
|
|
1696
|
+
return this.variant === 'ghost' || this.variant === 'icon-only-ghost'
|
|
1697
|
+
? 'tertiary'
|
|
1698
|
+
: 'secondary';
|
|
1699
|
+
}
|
|
1700
|
+
render() {
|
|
1701
|
+
const containerClasses = {
|
|
1702
|
+
'dropdown-container': true,
|
|
1703
|
+
'dropdown-open': this.isOpen,
|
|
1704
|
+
'dropdown-avatar-variant': this.variant === 'avatar',
|
|
1705
|
+
};
|
|
1706
|
+
const avatarClasses = {
|
|
1707
|
+
'dropdown-avatar': true,
|
|
1708
|
+
'dropdown-avatar-focus': this.isOpen,
|
|
1709
|
+
'dropdown-avatar-disabled': this.disabled,
|
|
1710
|
+
};
|
|
1711
|
+
const menuStyle = {
|
|
1712
|
+
position: 'fixed',
|
|
1713
|
+
left: `${this.menuPosition.x}px`,
|
|
1714
|
+
top: `${this.menuPosition.y}px`,
|
|
1715
|
+
zIndex: '9999',
|
|
1716
|
+
};
|
|
1717
|
+
return (index.h("div", { key: '72b74114a40b815346fbac4bc318c1a8c521c3bb', class: containerClasses }, !this.showAvatar && (index.h("div", { key: 'b7c5750fd9541b41ef7d44f080f5d54c443f36b5', ref: (el) => (this.triggerRef = el) }, index.h("bh-button", { key: 'bb1261290773322b49f84247a11f154f5805d79f', hierarchy: this.buttonHierarchy, icon: this.isIconOnly ? 'only' : 'trailing', size: this.size, label: this.isIconOnly ? '' : this.label, iconName: this.isIconOnly ? this.iconName : 'expand_more', disabled: this.disabled, onClick: this.toggleDropdown }))), this.showAvatar && (index.h("div", { key: '0a160fb08b45336d5f7a6bd34869f46c5e3e60a4', ref: (el) => (this.triggerRef = el), class: avatarClasses, onClick: (e) => {
|
|
1718
|
+
if (!this.disabled) {
|
|
1719
|
+
e.stopPropagation();
|
|
1720
|
+
this.toggleDropdown();
|
|
1721
|
+
}
|
|
1722
|
+
}, role: "button", tabindex: this.disabled ? -1 : 0, onKeyDown: (e) => {
|
|
1723
|
+
if (!this.disabled && (e.key === 'Enter' || e.key === ' ')) {
|
|
1724
|
+
e.preventDefault();
|
|
1725
|
+
this.toggleDropdown();
|
|
1726
|
+
}
|
|
1727
|
+
} }, index.h("bh-avatar", { key: 'cffa687bee8d8e8c67fe301aa69aacb422fc80a6', type: "image", size: this.avatarSize, imageSrc: this.avatarSrc, alt: this.avatarAlt }))), index.h("bh-dropdown-menu", { key: 'a382a01f558fbd84cffa1dd65a191427ad027509', ref: (el) => (this.menuRef = el), style: this.isOpen ? menuStyle : { display: 'none' }, visible: this.isOpen, showIcons: this.showIcons, menuItems: JSON.stringify(this.parsedMenuItems), header: this.parsedHeader ? JSON.stringify(this.parsedHeader) : undefined, onBhItemClick: this.handleMenuItemClick })));
|
|
1728
|
+
}
|
|
1729
|
+
static get watchers() { return {
|
|
1730
|
+
"isOpen": ["handleOpenChange"]
|
|
1731
|
+
}; }
|
|
1732
|
+
};
|
|
1733
|
+
BhDropdown.style = bhDropdownCss;
|
|
1734
|
+
|
|
1735
|
+
const bhLogoBoxCss = ".logo-box{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;width:40px;flex-shrink:0;isolation:isolate}.logo-active{background-color:var(--color-brand-600);box-sizing:border-box;display:flex;gap:var(--spacing-lg);align-items:center;justify-content:center;padding:var(--spacing-sm);position:relative;border-radius:var(--radius-md);flex-shrink:0;width:40px;height:40px;z-index:2;transition:background-color 0.3s ease;cursor:pointer}.logo-box:hover .logo-active,.logo-box.dropdown-open .logo-active{background-color:var(--color-brand-700)}.logo{overflow:hidden;position:relative;flex-shrink:0;width:32px;height:32px;background-size:contain;background-repeat:no-repeat;background-position:center;transition:background-image 0.4s cubic-bezier(0.08, 0.52, 0.52, 1)}.logo-actabl{}.logo-al{}.logo-he{}.logo-ps{}.logo-tr{}.logo-more-products{position:absolute;background-color:var(--color-brand-200);right:2px;bottom:-4px;border-radius:5px;width:36px;height:35px;z-index:1;transition:transform 0.3s ease}.logo-box:hover .logo-more-products,.logo-box.dropdown-open .logo-more-products{transform:translateY(-4px)}";
|
|
1736
|
+
|
|
1737
|
+
const BhLogoBox = class {
|
|
1738
|
+
constructor(hostRef) {
|
|
1739
|
+
index.registerInstance(this, hostRef);
|
|
1740
|
+
this.bhProductSelect = index.createEvent(this, "bhProductSelect");
|
|
1741
|
+
}
|
|
1742
|
+
/**
|
|
1743
|
+
* Type of logo to display
|
|
1744
|
+
*/
|
|
1745
|
+
logoType = 'actabl';
|
|
1746
|
+
/**
|
|
1747
|
+
* Custom logo source URL. If provided, overrides the default logo path.
|
|
1748
|
+
*/
|
|
1749
|
+
logoSrc;
|
|
1750
|
+
/**
|
|
1751
|
+
* Base path for asset URLs. Defaults to '/bellhop/assets'
|
|
1752
|
+
*/
|
|
1753
|
+
assetBasePath = '/bellhop/assets';
|
|
1754
|
+
/**
|
|
1755
|
+
* Array of products to display in the switcher
|
|
1756
|
+
*/
|
|
1757
|
+
products = [
|
|
1758
|
+
{
|
|
1759
|
+
id: 'alice',
|
|
1760
|
+
name: 'Alice',
|
|
1761
|
+
description: 'Housekeeping & Guest Services',
|
|
1762
|
+
logo: './assets/logos/AL.svg',
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
id: 'hotel-effectiveness',
|
|
1766
|
+
name: 'Hotel Effectiveness',
|
|
1767
|
+
description: 'Labor planning',
|
|
1768
|
+
logo: './assets/logos/HE.svg',
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
id: 'profit-sword',
|
|
1772
|
+
name: 'ProfitSword',
|
|
1773
|
+
description: 'B.I and Finance',
|
|
1774
|
+
logo: './assets/logos/PS.svg',
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
id: 'transcendent',
|
|
1778
|
+
name: 'Transcendent',
|
|
1779
|
+
description: 'Asset Management & CapEx',
|
|
1780
|
+
logo: './assets/logos/TR.svg',
|
|
1781
|
+
},
|
|
1782
|
+
];
|
|
1783
|
+
/**
|
|
1784
|
+
* Event emitted when a product is selected
|
|
1785
|
+
*/
|
|
1786
|
+
bhProductSelect;
|
|
1787
|
+
isOpen = false;
|
|
1788
|
+
anchorPosition = { top: 0, left: 0 };
|
|
1789
|
+
logoActiveRef;
|
|
1790
|
+
handleLogoClick = () => {
|
|
1791
|
+
if (this.logoActiveRef) {
|
|
1792
|
+
const rect = this.logoActiveRef.getBoundingClientRect();
|
|
1793
|
+
this.anchorPosition = {
|
|
1794
|
+
top: rect.bottom + 8,
|
|
1795
|
+
left: rect.left,
|
|
1796
|
+
};
|
|
1797
|
+
this.isOpen = !this.isOpen;
|
|
1798
|
+
}
|
|
1799
|
+
};
|
|
1800
|
+
handleClose = () => {
|
|
1801
|
+
this.isOpen = false;
|
|
1802
|
+
};
|
|
1803
|
+
handleProductSelect = (event) => {
|
|
1804
|
+
this.bhProductSelect.emit(event.detail);
|
|
1805
|
+
this.isOpen = false;
|
|
1806
|
+
};
|
|
1807
|
+
getLogoSrc = () => {
|
|
1808
|
+
if (this.logoSrc) {
|
|
1809
|
+
return this.logoSrc;
|
|
1810
|
+
}
|
|
1811
|
+
const logoMap = {
|
|
1812
|
+
actabl: 'actabl.svg',
|
|
1813
|
+
al: 'AL.svg',
|
|
1814
|
+
he: 'HE.svg',
|
|
1815
|
+
ps: 'PS.svg',
|
|
1816
|
+
tr: 'TR.svg',
|
|
1817
|
+
};
|
|
1818
|
+
const logoFile = logoMap[this.logoType] || 'actabl.svg';
|
|
1819
|
+
return `${this.assetBasePath}/logos/${logoFile}`;
|
|
1820
|
+
};
|
|
1821
|
+
render() {
|
|
1822
|
+
const logoBoxClasses = {
|
|
1823
|
+
'logo-box': true,
|
|
1824
|
+
'dropdown-open': this.isOpen,
|
|
1825
|
+
};
|
|
1826
|
+
const logoClasses = {
|
|
1827
|
+
'logo': true,
|
|
1828
|
+
[`logo-${this.logoType}`]: true,
|
|
1829
|
+
};
|
|
1830
|
+
return (index.h(index.Host, { key: 'cddf182854e6f8d264dd11f87ff837c116b4b749' }, index.h("div", { key: '592e2ba2a109d7c88ebd32718ba6e58bfa5fdc2f', class: logoBoxClasses }, index.h("div", { key: '219a43154e0e2d216beaf5c071d36a09bf6de8a9', ref: (el) => (this.logoActiveRef = el), class: "logo-active", onClick: this.handleLogoClick }, index.h("img", { key: '7e69029e9e9f70f6395f128b348a6592fcce6731', src: this.getLogoSrc(), alt: `${this.logoType} logo`, class: logoClasses })), index.h("div", { key: '81edc7607a9aceb72d32d790e948d347f50555dc', class: "logo-more-products" })), index.h("bh-product-switcher", { key: '17d181c5e33d7cc942433345cc8c88a5b1ef1671', isOpen: this.isOpen, anchorPosition: this.anchorPosition, products: this.products, onBhClose: this.handleClose, onBhProductSelect: this.handleProductSelect })));
|
|
1831
|
+
}
|
|
1832
|
+
};
|
|
1833
|
+
BhLogoBox.style = bhLogoBoxCss;
|
|
1834
|
+
|
|
1835
|
+
const bhNavItemCss = ":host{display:inline-block}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;flex-shrink:0;width:100%;max-width:52px;height:fit-content}.nav-item-button{background-color:var(--color-white);box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:var(--spacing-md);position:relative;border-radius:var(--radius-sm);flex-shrink:0;transition:background-color 0.2s ease;cursor:pointer;border:none;outline:none}.nav-item-button:hover{background-color:var(--color-neutral-50)}.nav-item-button:focus-visible{box-shadow:0 0 0 2px var(--color-brand-100)}.nav-item.active .nav-item-button{background-color:var(--color-brand-50)}.nav-item-button .icon{width:20px;height:20px;display:block;flex-shrink:0;color:var(--color-neutral-500);transition:color 0.2s ease;font-size:20px;font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20}.nav-item-button:hover .icon{color:var(--color-neutral-700)}.nav-item.active .nav-item-button .icon{color:var(--color-brand-600);font-variation-settings:'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20}.nav-item-label{font-family:var(--font-inter);font-weight:var(--weight-medium);height:18px;line-height:18px;font-style:normal;overflow:hidden;text-overflow:ellipsis;position:relative;flex-shrink:0;color:var(--color-neutral-700);font-size:10px;text-align:center;white-space:nowrap;width:100%;max-width:100%;margin:var(--spacing-none);margin-top:var(--spacing-xxs);box-sizing:border-box;direction:ltr}.nav-item.active .nav-item-label{color:var(--color-neutral-700);font-weight:var(--weight-semibold)}.nav-item.disabled .nav-item-button{cursor:not-allowed;opacity:0.5}.nav-item.disabled .nav-item-button:hover{background-color:var(--color-white)}.nav-item.disabled .nav-item-button .icon{color:var(--color-neutral-400)}.nav-item.disabled .nav-item-label{color:var(--color-neutral-400)}";
|
|
1836
|
+
|
|
1837
|
+
const BhNavItem = class {
|
|
1838
|
+
constructor(hostRef) {
|
|
1839
|
+
index.registerInstance(this, hostRef);
|
|
1840
|
+
this.bhClick = index.createEvent(this, "bhClick");
|
|
1841
|
+
}
|
|
1842
|
+
/**
|
|
1843
|
+
* Material Symbols icon name
|
|
1844
|
+
*/
|
|
1845
|
+
icon = 'home';
|
|
1846
|
+
/**
|
|
1847
|
+
* Label text displayed below the icon
|
|
1848
|
+
*/
|
|
1849
|
+
label = 'Home';
|
|
1850
|
+
/**
|
|
1851
|
+
* Whether the nav item is active/selected
|
|
1852
|
+
*/
|
|
1853
|
+
isActive = false;
|
|
1854
|
+
/**
|
|
1855
|
+
* Whether the nav item is disabled
|
|
1856
|
+
*/
|
|
1857
|
+
disabled = false;
|
|
1858
|
+
/**
|
|
1859
|
+
* Event emitted when the nav item is clicked
|
|
1860
|
+
*/
|
|
1861
|
+
bhClick;
|
|
1862
|
+
handleClick = () => {
|
|
1863
|
+
if (!this.disabled) {
|
|
1864
|
+
this.bhClick.emit();
|
|
1865
|
+
}
|
|
1866
|
+
};
|
|
1867
|
+
handleKeyDown = (event) => {
|
|
1868
|
+
if ((event.key === 'Enter' || event.key === ' ') && !this.disabled) {
|
|
1869
|
+
event.preventDefault();
|
|
1870
|
+
this.bhClick.emit();
|
|
1871
|
+
}
|
|
1872
|
+
};
|
|
1873
|
+
render() {
|
|
1874
|
+
const navItemClasses = {
|
|
1875
|
+
'nav-item': true,
|
|
1876
|
+
'active': this.isActive,
|
|
1877
|
+
'disabled': this.disabled,
|
|
1878
|
+
};
|
|
1879
|
+
return (index.h("div", { key: '0d118945925ec1e60f16ef60ca3e913386578fa8', class: navItemClasses }, index.h("button", { key: '41b8753e8c5048614505e02688b8678993f1c8d1', class: "nav-item-button", "aria-label": this.label, type: "button", onClick: this.handleClick, onKeyDown: this.handleKeyDown, disabled: this.disabled, tabIndex: this.disabled ? -1 : 0 }, index.h("span", { key: 'bbd4414639535eabedf673412e57d5f3c83e3ddc', class: "material-symbols-outlined icon" }, this.icon)), index.h("p", { key: 'cb747ba8b73b5201c47bd66de61d2b9bf5bd8a95', class: "nav-item-label" }, this.label)));
|
|
1880
|
+
}
|
|
1881
|
+
};
|
|
1882
|
+
BhNavItem.style = bhNavItemCss;
|
|
1883
|
+
|
|
1884
|
+
exports.bh_dropdown = BhDropdown;
|
|
1885
|
+
exports.bh_logo_box = BhLogoBox;
|
|
1886
|
+
exports.bh_nav_item = BhNavItem;
|
|
1887
|
+
//# sourceMappingURL=bh-dropdown.bh-logo-box.bh-nav-item.entry.cjs.js.map
|