@actabldesign/bellhop-core 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bh-accordion-item.js +1 -1
- package/components/bh-activity-feed.js +1 -1
- package/components/bh-alert.js +1 -1
- package/components/bh-appbar.js +1 -1
- package/components/bh-avatar-add.js +1 -1
- package/components/bh-avatar-stacked.js +1 -1
- package/components/bh-avatar.js +1 -1
- package/components/bh-badge-dot.js +1 -1
- package/components/bh-badge.js +1 -1
- package/components/bh-banner.js +1 -1
- package/components/bh-bar-chart.js +1 -1
- package/components/bh-breadcrumbs.js +1 -1
- package/components/bh-button-icon.js +1 -1
- package/components/bh-button.js +1 -1
- package/components/bh-card-content.js +1 -1
- package/components/bh-card-footer.js +1 -1
- package/components/bh-card-header.js +1 -1
- package/components/bh-card.js +1 -1
- package/components/bh-chart-tooltip.js +1 -1
- package/components/bh-chat-message.js +1 -1
- package/components/bh-chat-reaction.js +1 -1
- package/components/bh-checkbox.js +1 -1
- package/components/bh-checklist-task-group.js +1 -1
- package/components/bh-close-button.js +1 -1
- package/components/bh-command-bar.d.ts +11 -0
- package/components/bh-command-bar.js +1 -0
- package/components/bh-container-footer.js +1 -1
- package/components/bh-container.js +1 -1
- package/components/bh-credit-card.js +1 -1
- package/components/bh-data-grid-body.js +1 -1
- package/components/bh-data-grid-change-preview.js +1 -1
- package/components/bh-data-grid-filter-builder.js +1 -1
- package/components/bh-data-grid-footer.js +1 -1
- package/components/bh-data-grid-header.js +1 -1
- package/components/bh-data-grid-toolbar.js +1 -1
- package/components/bh-data-grid.js +2 -2
- package/components/bh-date-picker-content.js +1 -1
- package/components/bh-date-picker.js +1 -1
- package/components/bh-date-range-picker-content.js +1 -1
- package/components/bh-date-range-picker.js +1 -1
- package/components/bh-divider.js +1 -1
- package/components/bh-dropdown-menu.js +1 -1
- package/components/bh-dropdown.js +1 -1
- package/components/bh-emoji-picker.js +1 -1
- package/components/bh-empty-state.js +1 -1
- package/components/bh-fab.js +1 -1
- package/components/bh-featured-icon.js +1 -1
- package/components/bh-feed-item.js +1 -1
- package/components/bh-gauge-chart.js +1 -1
- package/components/bh-guided-checklist.js +1 -1
- package/components/bh-html-editor-bubble-menu.js +1 -1
- package/components/bh-html-editor-toolbar.js +1 -1
- package/components/bh-html-editor.js +1 -1
- package/components/bh-illustrations.js +1 -1
- package/components/bh-inline-cta.js +1 -1
- package/components/bh-input-autocomplete.js +1 -1
- package/components/bh-input-number.js +1 -1
- package/components/bh-input-password.js +1 -1
- package/components/bh-input-text.js +1 -1
- package/components/bh-input-verification.js +1 -1
- package/components/bh-kbd.d.ts +11 -0
- package/components/bh-kbd.js +1 -0
- package/components/bh-label.js +1 -1
- package/components/bh-line-chart.js +1 -1
- package/components/bh-logo-box.js +1 -1
- package/components/bh-menu-item.js +1 -1
- package/components/bh-menu.js +1 -1
- package/components/bh-modal-actions.js +1 -1
- package/components/bh-modal-header.js +1 -1
- package/components/bh-month-picker-content.js +1 -1
- package/components/bh-month-picker.js +1 -1
- package/components/bh-multi-select.js +1 -1
- package/components/bh-nav-item.js +1 -1
- package/components/bh-notification-center.d.ts +11 -0
- package/components/bh-notification-center.js +1 -0
- package/components/bh-page-header.js +1 -1
- package/components/bh-page-navigation-child.js +1 -1
- package/components/bh-page-navigation-multi-level.js +1 -1
- package/components/bh-page-navigation-single-level.js +1 -1
- package/components/bh-page-navigation.js +1 -1
- package/components/bh-pagination.js +1 -1
- package/components/bh-picker-menu.js +1 -1
- package/components/bh-pie-chart.js +1 -1
- package/components/bh-pivot-grid-field-chooser.js +1 -1
- package/components/bh-pivot-grid.js +1 -1
- package/components/bh-progress-bar.js +1 -1
- package/components/bh-progress-ring.js +1 -1
- package/components/bh-property-switcher.js +1 -1
- package/components/bh-radar-chart.js +1 -1
- package/components/bh-radio-button.js +1 -1
- package/components/bh-radio-group.js +1 -1
- package/components/bh-range-slider.js +1 -1
- package/components/bh-section-footer.js +1 -1
- package/components/bh-section-header.js +1 -1
- package/components/bh-select.js +1 -1
- package/components/bh-selection-group-item.js +1 -1
- package/components/bh-selection-group.js +1 -1
- package/components/bh-side-panel-footer.js +1 -1
- package/components/bh-side-panel-header.js +1 -1
- package/components/bh-sidebar.js +1 -1
- package/components/bh-skeleton-loader.js +1 -1
- package/components/bh-stepper.js +1 -1
- package/components/bh-tab-item.js +1 -1
- package/components/bh-table-header.js +1 -1
- package/components/bh-tabs.js +1 -1
- package/components/bh-tag-group.js +1 -1
- package/components/bh-tag-input.js +1 -1
- package/components/bh-tag.js +1 -1
- package/components/bh-textarea.js +1 -1
- package/components/bh-toast-container.js +1 -1
- package/components/bh-toast.js +1 -1
- package/components/bh-toggle.js +1 -1
- package/components/bh-tooltip.js +1 -1
- package/components/bh-trend-chart.js +1 -1
- package/components/index.d.ts +6 -0
- package/components/index.js +1 -1
- package/components/{p-BVwh7Zds.js → p-2SnKTVal.js} +1 -1
- package/components/{p-DpyQ9_VL.js → p-6tew_a-x.js} +1 -1
- package/components/{p-BUoq_1rz.js → p-B7La6Iwp.js} +1 -1
- package/components/p-B8HxD-vO.js +1 -0
- package/components/{p-CdwBDbHF.js → p-B9--bog4.js} +1 -1
- package/components/{p-D_0aDuRr.js → p-BF5hfv7s.js} +1 -1
- package/components/{p-oaisznHL.js → p-BI2Y2Le4.js} +1 -1
- package/components/p-Be6mIKzo.js +1 -0
- package/components/p-Bh0oD_Yf.js +1 -0
- package/components/{p-nMu0IHKp.js → p-BniMhcxp.js} +1 -1
- package/components/{p-CZRjavNE.js → p-Br9M2BbM.js} +1 -1
- package/components/{p-QCa_P3zY.js → p-BwxcuFPS.js} +1 -1
- package/components/{p-Dq8Cpk56.js → p-BzHDM9Tg.js} +1 -1
- package/components/{p-D-D80sUk.js → p-C4rAmars.js} +1 -1
- package/components/{p-B2KPN863.js → p-C7fkgBQS.js} +1 -1
- package/components/{p-cD3vmu49.js → p-CClVva-u.js} +1 -1
- package/components/p-CJUnjRCe.js +1 -0
- package/components/{p--a7Uv1ky.js → p-CK_Py1Yi.js} +1 -1
- package/components/{p-DjJP-dIm.js → p-CWdw6bHR.js} +1 -1
- package/components/{p-XYHjFWDD.js → p-CZ_H3nat.js} +1 -1
- package/components/{p-CtaODgcw.js → p-C_nrq7_Y.js} +1 -1
- package/components/{p-BFL2Pm_E.js → p-CssmbrSc.js} +1 -1
- package/components/p-CvsupUaF.js +1 -0
- package/components/{p-DBAPExTG.js → p-CvwyG_Kj.js} +1 -1
- package/components/{p-Bf_iTZDv.js → p-D6aw0IK6.js} +1 -1
- package/components/{p-CzvaS9up.js → p-DBl9mNfN.js} +1 -1
- package/components/{p-DWoyQVnq.js → p-DG90uKhz.js} +1 -1
- package/components/{p-CWY9YV_9.js → p-DGWzDn9Y.js} +1 -1
- package/components/p-DJlRFgcj.js +1 -0
- package/components/p-DKWhUGrV.js +1 -0
- package/components/{p-CC_DXFwx.js → p-DSDbfC31.js} +1 -1
- package/components/{p-1SkDR91n.js → p-DUm7JrA0.js} +1 -1
- package/components/{p-C6UC_xxP.js → p-DblmzWu8.js} +1 -1
- package/components/{p-BHeNnP2q.js → p-DfCONXO0.js} +1 -1
- package/components/p-DhgfM7Wy.js +1 -0
- package/components/{p-Xa6gUVGr.js → p-DjUfsCJJ.js} +1 -1
- package/components/{p-CVSRqFZ0.js → p-DjpXtbw8.js} +1 -1
- package/components/{p-GjWzFf-V.js → p-Dzlsnb7d.js} +1 -1
- package/components/{p-Be20AcNb.js → p-S-miu3h6.js} +1 -1
- package/components/{p-DIMoIy0w.js → p-W2SGLZN7.js} +1 -1
- package/components/{p-arW9uaFJ.js → p-hhv9O2Qq.js} +1 -1
- package/components/{p-BwwSI2Fv.js → p-jNp3nckG.js} +1 -1
- package/dist/bellhop-core/bellhop-core.esm.js +1 -1
- package/dist/bellhop-core/p-009efb12.entry.js +1 -0
- package/dist/bellhop-core/p-01b505e3.entry.js +1 -0
- package/dist/bellhop-core/p-02945f90.entry.js +1 -0
- package/dist/bellhop-core/p-04d2ec72.entry.js +1 -0
- package/dist/bellhop-core/p-05867224.entry.js +1 -0
- package/dist/bellhop-core/p-05a53d3b.entry.js +1 -0
- package/dist/bellhop-core/p-0692ab72.entry.js +1 -0
- package/dist/bellhop-core/p-06f9b713.entry.js +1 -0
- package/dist/bellhop-core/p-08b8ba36.entry.js +1 -0
- package/dist/bellhop-core/p-0953e008.entry.js +1 -0
- package/dist/bellhop-core/p-0976eb7a.entry.js +1 -0
- package/dist/bellhop-core/p-097d70d9.entry.js +1 -0
- package/dist/bellhop-core/p-0a316bb6.entry.js +1 -0
- package/dist/bellhop-core/p-108ca612.entry.js +1 -0
- package/dist/bellhop-core/p-12d3c4e9.entry.js +1 -0
- package/dist/bellhop-core/p-13f15f41.entry.js +1 -0
- package/dist/bellhop-core/p-15bb1050.entry.js +1 -0
- package/dist/bellhop-core/p-16e01b81.entry.js +1 -0
- package/dist/bellhop-core/p-188980bd.entry.js +1 -0
- package/dist/bellhop-core/p-1fba0985.entry.js +1 -0
- package/dist/bellhop-core/p-24e5c52b.entry.js +1 -0
- package/dist/bellhop-core/p-29729109.entry.js +1 -0
- package/dist/bellhop-core/p-2b93b512.entry.js +1 -0
- package/dist/bellhop-core/{p-213a104c.entry.js → p-2bcd94d0.entry.js} +1 -1
- package/dist/bellhop-core/p-2bdb9784.entry.js +1 -0
- package/dist/bellhop-core/p-2ee44b97.entry.js +1 -0
- package/dist/bellhop-core/p-3348400a.entry.js +1 -0
- package/dist/bellhop-core/p-38873b75.entry.js +1 -0
- package/dist/bellhop-core/p-399be504.entry.js +1 -0
- package/dist/bellhop-core/p-3d67e55f.entry.js +1 -0
- package/dist/bellhop-core/p-3dcf8812.entry.js +1 -0
- package/dist/bellhop-core/p-42f26142.entry.js +1 -0
- package/dist/bellhop-core/p-43d94b51.entry.js +1 -0
- package/dist/bellhop-core/p-4c65d80a.entry.js +1 -0
- package/dist/bellhop-core/p-4e4b59cc.entry.js +1 -0
- package/dist/bellhop-core/p-50c00ac6.entry.js +1 -0
- package/dist/bellhop-core/p-52d0c0ac.entry.js +1 -0
- package/dist/bellhop-core/p-53ddab62.entry.js +1 -0
- package/dist/bellhop-core/p-558c1c9f.entry.js +1 -0
- package/dist/bellhop-core/{p-fb8e0e6c.entry.js → p-59feba80.entry.js} +1 -1
- package/dist/bellhop-core/{p-165b45f3.entry.js → p-5a49ebee.entry.js} +1 -1
- package/dist/bellhop-core/p-5f5648e6.entry.js +1 -0
- package/dist/bellhop-core/p-614f84ff.entry.js +1 -0
- package/dist/bellhop-core/p-6517c63b.entry.js +1 -0
- package/dist/bellhop-core/{p-c86b7e41.entry.js → p-654de2b6.entry.js} +1 -1
- package/dist/bellhop-core/p-65e10ead.entry.js +1 -0
- package/dist/bellhop-core/p-68c5a0bd.entry.js +1 -0
- package/dist/bellhop-core/p-68cf8430.entry.js +1 -0
- package/dist/bellhop-core/p-6ad1ed53.entry.js +1 -0
- package/dist/bellhop-core/p-6df539be.entry.js +1 -0
- package/dist/bellhop-core/p-6e1c1c27.entry.js +1 -0
- package/dist/bellhop-core/p-710e4da7.entry.js +1 -0
- package/dist/bellhop-core/p-7841fbc2.entry.js +1 -0
- package/dist/bellhop-core/p-7bceb793.entry.js +1 -0
- package/dist/bellhop-core/p-7bd58fae.entry.js +1 -0
- package/dist/bellhop-core/p-7c0d23d4.entry.js +1 -0
- package/dist/bellhop-core/p-7e226f98.entry.js +1 -0
- package/dist/bellhop-core/{p-4a96c207.entry.js → p-815fb83e.entry.js} +1 -1
- package/dist/bellhop-core/p-832bf58d.entry.js +1 -0
- package/dist/bellhop-core/p-8370a956.entry.js +1 -0
- package/dist/bellhop-core/{p-b992fd96.entry.js → p-858017eb.entry.js} +1 -1
- package/dist/bellhop-core/p-87c827d7.entry.js +1 -0
- package/dist/bellhop-core/p-8a38724f.entry.js +1 -0
- package/dist/bellhop-core/p-8aa87a99.entry.js +1 -0
- package/dist/bellhop-core/p-8ad4d720.entry.js +1 -0
- package/dist/bellhop-core/p-8d319614.entry.js +1 -0
- package/dist/bellhop-core/p-963e6ad9.entry.js +1 -0
- package/dist/bellhop-core/p-97bed0b0.entry.js +1 -0
- package/dist/bellhop-core/{p-df4c2032.entry.js → p-9b2d67db.entry.js} +2 -2
- package/dist/bellhop-core/p-9b935b1a.entry.js +1 -0
- package/dist/bellhop-core/p-9cf187af.entry.js +1 -0
- package/dist/bellhop-core/p-9e0b9dec.entry.js +1 -0
- package/dist/bellhop-core/p-CBTS9Vhx.js +1 -0
- package/dist/bellhop-core/{p-Dn-MvAk9.js → p-CKTtXT2O.js} +1 -1
- package/dist/bellhop-core/p-CMKOFHIa.js +1 -0
- package/dist/bellhop-core/p-Xi3uD33F.js +1 -0
- package/dist/bellhop-core/p-a57034cf.entry.js +1 -0
- package/dist/bellhop-core/p-a925a3d8.entry.js +1 -0
- package/dist/bellhop-core/p-abf0f15d.entry.js +1 -0
- package/dist/bellhop-core/p-b212b4c1.entry.js +1 -0
- package/dist/bellhop-core/p-b2380f56.entry.js +1 -0
- package/dist/bellhop-core/p-b333c85f.entry.js +1 -0
- package/dist/bellhop-core/p-b9d363b0.entry.js +1 -0
- package/dist/bellhop-core/p-b9d86b80.entry.js +1 -0
- package/dist/bellhop-core/p-baa76b6d.entry.js +1 -0
- package/dist/bellhop-core/p-bb11a7df.entry.js +1 -0
- package/dist/bellhop-core/p-bcc53e7e.entry.js +1 -0
- package/dist/bellhop-core/p-c0513194.entry.js +1 -0
- package/dist/bellhop-core/p-c1eed46c.entry.js +1 -0
- package/dist/bellhop-core/p-c2440a5a.entry.js +1 -0
- package/dist/bellhop-core/p-c338d5ed.entry.js +1 -0
- package/dist/bellhop-core/p-c4cd8445.entry.js +1 -0
- package/dist/bellhop-core/p-cd404c53.entry.js +1 -0
- package/dist/bellhop-core/p-d2fdf27a.entry.js +1 -0
- package/dist/bellhop-core/p-d89a2316.entry.js +1 -0
- package/dist/bellhop-core/p-d9903fd1.entry.js +1 -0
- package/dist/bellhop-core/p-df86ac00.entry.js +1 -0
- package/dist/bellhop-core/p-dfc61397.entry.js +1 -0
- package/dist/bellhop-core/p-e02bdcfb.entry.js +1 -0
- package/dist/bellhop-core/p-e6ad9a10.entry.js +1 -0
- package/dist/bellhop-core/p-e86b4fbf.entry.js +1 -0
- package/dist/bellhop-core/p-eed85b08.entry.js +1 -0
- package/dist/bellhop-core/p-f0a47a26.entry.js +1 -0
- package/dist/bellhop-core/p-f46e818f.entry.js +1 -0
- package/dist/bellhop-core/p-f6c8568f.entry.js +1 -0
- package/dist/bellhop-core/p-f784164a.entry.js +1 -0
- package/dist/bellhop-core/p-f8d47699.entry.js +1 -0
- package/dist/bellhop-core/{p-1323f446.entry.js → p-f8dce3b6.entry.js} +1 -1
- package/dist/bellhop-core/p-f9962334.entry.js +1 -0
- package/dist/bellhop-core/p-fb897d66.entry.js +1 -0
- package/dist/cjs/bellhop-core.cjs.js +1 -1
- package/dist/cjs/bh-accordion-item.cjs.entry.js +4 -3
- package/dist/cjs/bh-accordion.cjs.entry.js +3 -2
- package/dist/cjs/bh-activity-feed_2.cjs.entry.js +174 -0
- package/dist/cjs/bh-alert.cjs.entry.js +4 -3
- package/dist/cjs/bh-appbar.cjs.entry.js +57 -11
- package/dist/cjs/bh-autocomplete-menu.cjs.entry.js +3 -2
- package/dist/cjs/bh-avatar-add.cjs.entry.js +4 -3
- package/dist/cjs/bh-avatar-stacked.cjs.entry.js +4 -3
- package/dist/cjs/bh-avatar.cjs.entry.js +6 -5
- package/dist/cjs/bh-badge-dot_2.cjs.entry.js +8 -7
- package/dist/cjs/bh-badge.cjs.entry.js +6 -5
- package/dist/cjs/bh-banner.cjs.entry.js +5 -4
- package/dist/cjs/bh-bar-chart.cjs.entry.js +5 -4
- package/dist/cjs/bh-breadcrumbs.cjs.entry.js +16 -5
- package/dist/cjs/bh-button-icon_2.cjs.entry.js +5 -4
- package/dist/cjs/bh-button.cjs.entry.js +5 -4
- package/dist/cjs/bh-card-content.cjs.entry.js +4 -3
- package/dist/cjs/bh-card-footer.cjs.entry.js +4 -3
- package/dist/cjs/bh-card-header.cjs.entry.js +4 -3
- package/dist/cjs/bh-card.cjs.entry.js +4 -3
- package/dist/cjs/bh-chart-tooltip.cjs.entry.js +5 -4
- package/dist/cjs/bh-chat-message.cjs.entry.js +5 -4
- package/dist/cjs/bh-chat-reaction.cjs.entry.js +5 -4
- package/dist/cjs/bh-checkbox.cjs.entry.js +3 -2
- package/dist/cjs/bh-checklist-task-group_3.cjs.entry.js +6 -5
- package/dist/cjs/bh-close-button.cjs.entry.js +1 -1
- package/dist/cjs/bh-command-bar.cjs.entry.js +309 -0
- package/dist/cjs/bh-container-footer.cjs.entry.js +4 -3
- package/dist/cjs/bh-container.cjs.entry.js +4 -3
- package/dist/cjs/bh-credit-card.cjs.entry.js +4 -3
- package/dist/cjs/bh-data-grid-body.cjs.entry.js +3 -2
- package/dist/cjs/bh-data-grid-change-preview.cjs.entry.js +3 -2
- package/dist/cjs/bh-data-grid-filter-builder.cjs.entry.js +3 -2
- package/dist/cjs/bh-data-grid-footer.cjs.entry.js +4 -3
- package/dist/cjs/bh-data-grid-header.cjs.entry.js +3 -2
- package/dist/cjs/bh-data-grid-toolbar.cjs.entry.js +4 -3
- package/dist/cjs/bh-data-grid.cjs.entry.js +4 -3
- package/dist/cjs/bh-date-picker-content.cjs.entry.js +6 -5
- package/dist/cjs/bh-date-picker.cjs.entry.js +6 -5
- package/dist/cjs/bh-date-range-picker-content.cjs.entry.js +5 -4
- package/dist/cjs/bh-date-range-picker.cjs.entry.js +7 -6
- package/dist/cjs/bh-divider.cjs.entry.js +4 -3
- package/dist/cjs/bh-dropdown-menu.cjs.entry.js +1 -1
- package/dist/cjs/bh-dropdown.cjs.entry.js +13 -4
- package/dist/cjs/bh-emoji-picker.cjs.entry.js +1 -1
- package/dist/cjs/bh-empty-state_2.cjs.entry.js +6 -5
- package/dist/cjs/bh-featured-icon.cjs.entry.js +4 -3
- package/dist/cjs/bh-gauge-chart.cjs.entry.js +5 -4
- package/dist/cjs/bh-guided-checklist.cjs.entry.js +5 -4
- package/dist/cjs/bh-html-editor-bubble-menu_2.cjs.entry.js +8 -7
- package/dist/cjs/bh-html-editor.cjs.entry.js +5 -4
- package/dist/cjs/bh-illustrations.cjs.entry.js +4 -3
- package/dist/cjs/bh-inline-cta.cjs.entry.js +5 -4
- package/dist/cjs/bh-input-autocomplete.cjs.entry.js +7 -6
- package/dist/cjs/bh-input-number.cjs.entry.js +5 -4
- package/dist/cjs/bh-input-password.cjs.entry.js +6 -5
- package/dist/cjs/bh-input-text.cjs.entry.js +5 -4
- package/dist/cjs/bh-input-verification.cjs.entry.js +4 -3
- package/dist/cjs/bh-kbd.cjs.entry.js +34 -0
- package/dist/cjs/bh-label_2.cjs.entry.js +5 -4
- package/dist/cjs/bh-line-chart.cjs.entry.js +5 -4
- package/dist/cjs/bh-logo-box_2.cjs.entry.js +8 -7
- package/dist/cjs/bh-menu_2.cjs.entry.js +4 -3
- package/dist/cjs/bh-modal-actions.cjs.entry.js +4 -3
- package/dist/cjs/bh-modal-header.cjs.entry.js +7 -6
- package/dist/cjs/bh-modal.cjs.entry.js +4 -3
- package/dist/cjs/bh-month-picker-content.cjs.entry.js +4 -3
- package/dist/cjs/bh-month-picker.cjs.entry.js +6 -5
- package/dist/cjs/bh-multi-select.cjs.entry.js +8 -7
- package/dist/cjs/bh-notification-center.cjs.entry.js +210 -0
- package/dist/cjs/bh-page-header.cjs.entry.js +4 -3
- package/dist/cjs/bh-page-navigation-child.cjs.entry.js +4 -3
- package/dist/cjs/bh-page-navigation-multi-level_2.cjs.entry.js +7 -6
- package/dist/cjs/bh-page-navigation.cjs.entry.js +4 -3
- package/dist/cjs/bh-pagination_2.cjs.entry.js +10 -9
- package/dist/cjs/bh-picker-menu.cjs.entry.js +3 -2
- package/dist/cjs/bh-pie-chart.cjs.entry.js +6 -5
- package/dist/cjs/bh-pivot-grid-field-chooser.cjs.entry.js +5 -4
- package/dist/cjs/bh-pivot-grid.cjs.entry.js +20 -19
- package/dist/cjs/bh-popover.cjs.entry.js +3 -2
- package/dist/cjs/bh-product-switcher.cjs.entry.js +3 -2
- package/dist/cjs/bh-progress-bar.cjs.entry.js +7 -6
- package/dist/cjs/bh-progress-ring.cjs.entry.js +1 -1
- package/dist/cjs/bh-property-switcher.cjs.entry.js +22 -5
- package/dist/cjs/bh-radar-chart.cjs.entry.js +5 -4
- package/dist/cjs/bh-radio-button.cjs.entry.js +3 -2
- package/dist/cjs/bh-radio-group.cjs.entry.js +4 -3
- package/dist/cjs/bh-range-slider.cjs.entry.js +4 -3
- package/dist/cjs/bh-section-footer.cjs.entry.js +4 -3
- package/dist/cjs/bh-section-header.cjs.entry.js +4 -3
- package/dist/cjs/bh-selection-group-item.cjs.entry.js +3 -2
- package/dist/cjs/bh-selection-group.cjs.entry.js +4 -3
- package/dist/cjs/bh-side-panel-footer.cjs.entry.js +1 -1
- package/dist/cjs/bh-side-panel-header.cjs.entry.js +1 -1
- package/dist/cjs/bh-sidebar.cjs.entry.js +19 -5
- package/dist/cjs/bh-stepper.cjs.entry.js +3 -2
- package/dist/cjs/bh-tab-item.cjs.entry.js +5 -4
- package/dist/cjs/bh-table-header.cjs.entry.js +4 -3
- package/dist/cjs/bh-tabs.cjs.entry.js +4 -3
- package/dist/cjs/bh-tag-group.cjs.entry.js +4 -3
- package/dist/cjs/bh-tag-input.cjs.entry.js +5 -4
- package/dist/cjs/bh-textarea.cjs.entry.js +5 -4
- package/dist/cjs/bh-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/bh-toast.cjs.entry.js +5 -4
- package/dist/cjs/bh-toggle.cjs.entry.js +4 -3
- package/dist/cjs/bh-trend-chart.cjs.entry.js +5 -4
- package/dist/cjs/{component-error-handler-C4vfF_Qu.js → component-error-handler-BxXlGq4E.js} +1 -1
- package/dist/cjs/error-boundary-fNUNT0lE.js +75 -0
- package/dist/cjs/hotkeys-BzAUI8Zg.js +113 -0
- package/dist/cjs/index-B6sArKsK.js +20 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{error-boundary-Bf7TcT4U.js → logger-DZionBgs.js} +0 -71
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/bh-accordion/bh-accordion-item/bh-accordion-item.js +1 -1
- package/dist/collection/components/bh-activity-feed/bh-activity-feed.css +8 -0
- package/dist/collection/components/bh-activity-feed/bh-activity-feed.js +29 -2
- package/dist/collection/components/bh-appbar/bh-appbar.css +28 -1
- package/dist/collection/components/bh-appbar/bh-appbar.js +220 -9
- package/dist/collection/components/bh-appbar/bh-notification-center/bh-notification-center.css +118 -0
- package/dist/collection/components/bh-appbar/bh-notification-center/bh-notification-center.js +513 -0
- package/dist/collection/components/bh-avatar/bh-avatar-add/bh-avatar-add.js +1 -1
- package/dist/collection/components/bh-avatar/bh-avatar-stacked/bh-avatar-stacked.js +1 -1
- package/dist/collection/components/bh-avatar/bh-avatar.css +8 -2
- package/dist/collection/components/bh-avatar/bh-avatar.js +2 -2
- package/dist/collection/components/bh-badge/bh-badge-dot/bh-badge-dot.js +1 -1
- package/dist/collection/components/bh-badge/bh-badge.js +2 -2
- package/dist/collection/components/bh-banner/bh-banner.js +2 -2
- package/dist/collection/components/bh-breadcrumbs/bh-breadcrumbs.css +3 -1
- package/dist/collection/components/bh-breadcrumbs/bh-breadcrumbs.js +14 -3
- package/dist/collection/components/bh-button/bh-button-icon/bh-button-icon.js +1 -1
- package/dist/collection/components/bh-button/bh-button.js +1 -1
- package/dist/collection/components/bh-card/bh-card-content/bh-card-content.js +1 -1
- package/dist/collection/components/bh-card/bh-card-footer/bh-card-footer.js +1 -1
- package/dist/collection/components/bh-card/bh-card-header/bh-card-header.js +1 -1
- package/dist/collection/components/bh-card/bh-card.js +1 -1
- package/dist/collection/components/bh-chart/bh-bar-chart/bh-bar-chart.js +2 -2
- package/dist/collection/components/bh-chart/bh-chart-tooltip/bh-chart-tooltip.js +2 -2
- package/dist/collection/components/bh-chart/bh-gauge-chart/bh-gauge-chart.js +2 -2
- package/dist/collection/components/bh-chart/bh-line-chart/bh-line-chart.js +2 -2
- package/dist/collection/components/bh-chart/bh-pie-chart/bh-pie-chart.js +3 -3
- package/dist/collection/components/bh-chart/bh-progress-bar/bh-progress-bar.js +4 -4
- package/dist/collection/components/bh-chart/bh-radar-chart/bh-radar-chart.js +2 -2
- package/dist/collection/components/bh-chart/bh-trend-chart/bh-trend-chart.js +2 -2
- package/dist/collection/components/bh-chat/bh-chat-message/bh-chat-message.js +2 -2
- package/dist/collection/components/bh-chat/bh-chat-reaction/bh-chat-reaction.js +2 -2
- package/dist/collection/components/bh-close-button/bh-close-button.js +1 -1
- package/dist/collection/components/bh-command-bar/bh-command-bar.css +181 -0
- package/dist/collection/components/bh-command-bar/bh-command-bar.figma.js +9 -0
- package/dist/collection/components/bh-command-bar/bh-command-bar.js +663 -0
- package/dist/collection/components/bh-container/bh-container-footer/bh-container-footer.js +1 -1
- package/dist/collection/components/bh-container/bh-container.js +1 -1
- package/dist/collection/components/bh-credit-card/bh-credit-card.js +1 -1
- package/dist/collection/components/bh-data-grid/bh-data-grid-footer.js +1 -1
- package/dist/collection/components/bh-data-grid/bh-data-grid-toolbar.js +1 -1
- package/dist/collection/components/bh-divider/bh-divider.js +1 -1
- package/dist/collection/components/bh-dropdown/bh-dropdown-menu/bh-dropdown-menu.js +1 -1
- package/dist/collection/components/bh-dropdown/bh-dropdown.js +29 -1
- package/dist/collection/components/bh-emoji-picker/bh-emoji-picker.js +1 -1
- package/dist/collection/components/bh-empty-state/bh-empty-state.js +1 -1
- package/dist/collection/components/bh-fab/bh-fab.js +2 -2
- package/dist/collection/components/bh-featured-icon/bh-featured-icon.js +1 -1
- package/dist/collection/components/bh-feed-item/bh-feed-item.css +9 -2
- package/dist/collection/components/bh-feed-item/bh-feed-item.js +81 -4
- package/dist/collection/components/bh-guided-checklist/bh-guided-checklist.js +1 -1
- package/dist/collection/components/bh-html-editor/bh-html-editor-bubble-menu/bh-html-editor-bubble-menu.js +3 -3
- package/dist/collection/components/bh-html-editor/bh-html-editor-toolbar/bh-html-editor-toolbar.js +1 -1
- package/dist/collection/components/bh-html-editor/bh-html-editor.js +2 -2
- package/dist/collection/components/bh-illustrations/bh-illustrations.js +1 -1
- package/dist/collection/components/bh-inline-cta/bh-inline-cta.js +2 -2
- package/dist/collection/components/bh-input/bh-input-autocomplete/bh-input-autocomplete.js +3 -3
- package/dist/collection/components/bh-input/bh-input-number/bh-input-number.js +2 -2
- package/dist/collection/components/bh-input/bh-input-password/bh-input-password.js +3 -3
- package/dist/collection/components/bh-input/bh-input-text/bh-input-text.js +2 -2
- package/dist/collection/components/bh-input/bh-input-verification/bh-input-verification.js +1 -1
- package/dist/collection/components/bh-input/bh-tag-input/bh-tag-input.js +2 -2
- package/dist/collection/components/bh-input/bh-textarea/bh-textarea.js +2 -2
- package/dist/collection/components/bh-kbd/bh-kbd.css +33 -0
- package/dist/collection/components/bh-kbd/bh-kbd.figma.js +11 -0
- package/dist/collection/components/bh-kbd/bh-kbd.js +78 -0
- package/dist/collection/components/bh-logo-box/bh-logo-box.js +2 -2
- package/dist/collection/components/bh-modal/bh-modal-actions/bh-modal-actions.js +1 -1
- package/dist/collection/components/bh-modal/bh-modal-header/bh-modal-header.js +4 -4
- package/dist/collection/components/bh-multi-select/bh-multi-select.js +3 -3
- package/dist/collection/components/bh-page-header/bh-page-header.js +2 -2
- package/dist/collection/components/bh-page-navigation/bh-page-navigation-child/bh-page-navigation-child.js +1 -1
- package/dist/collection/components/bh-page-navigation/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js +2 -2
- package/dist/collection/components/bh-page-navigation/bh-page-navigation-single-level/bh-page-navigation-single-level.js +1 -1
- package/dist/collection/components/bh-page-navigation/bh-page-navigation.js +1 -1
- package/dist/collection/components/bh-pagination/bh-pagination.js +2 -2
- package/dist/collection/components/bh-picker/bh-date-picker/bh-date-picker-content/bh-date-picker-content.js +3 -3
- package/dist/collection/components/bh-picker/bh-date-picker/bh-date-picker.js +3 -3
- package/dist/collection/components/bh-picker/bh-date-range-picker/bh-date-range-picker-content/bh-date-range-picker-content.js +2 -2
- package/dist/collection/components/bh-picker/bh-date-range-picker/bh-date-range-picker.js +4 -4
- package/dist/collection/components/bh-picker/bh-month-picker/bh-month-picker-content/bh-month-picker-content.js +1 -1
- package/dist/collection/components/bh-picker/bh-month-picker/bh-month-picker.js +3 -3
- package/dist/collection/components/bh-pivot-grid/bh-pivot-grid-field-chooser/bh-pivot-grid-field-chooser.js +2 -2
- package/dist/collection/components/bh-pivot-grid/bh-pivot-grid.js +16 -16
- package/dist/collection/components/bh-progress-ring/bh-progress-ring.js +1 -1
- package/dist/collection/components/bh-property-switcher/bh-property-switcher.js +20 -4
- package/dist/collection/components/bh-radio-group/bh-radio-group.js +1 -1
- package/dist/collection/components/bh-range-slider/bh-range-slider.js +1 -1
- package/dist/collection/components/bh-section-footer/bh-section-footer.js +1 -1
- package/dist/collection/components/bh-section-header/bh-section-header.js +1 -1
- package/dist/collection/components/bh-select/bh-select.js +4 -4
- package/dist/collection/components/bh-selection-group/bh-selection-group.js +1 -1
- package/dist/collection/components/bh-side-panel/bh-side-panel-footer/bh-side-panel-footer.js +1 -1
- package/dist/collection/components/bh-side-panel/bh-side-panel-header/bh-side-panel-header.js +1 -1
- package/dist/collection/components/bh-sidebar/bh-nav-item/bh-nav-item.js +2 -2
- package/dist/collection/components/bh-sidebar/bh-sidebar.js +79 -3
- package/dist/collection/components/bh-skeleton-loader/bh-skeleton-loader.js +1 -1
- package/dist/collection/components/bh-table-header/bh-table-header.js +1 -1
- package/dist/collection/components/bh-tabs/bh-tab-item/bh-tab-item.js +2 -2
- package/dist/collection/components/bh-tabs/bh-tabs.js +1 -1
- package/dist/collection/components/bh-tag/bh-tag-group/bh-tag-group.js +1 -1
- package/dist/collection/components/bh-tag/bh-tag.js +2 -2
- package/dist/collection/components/bh-toast/bh-toast.js +2 -2
- package/dist/collection/components/bh-toast-container/bh-toast-container.js +1 -1
- package/dist/collection/components/bh-toggle/bh-toggle.js +1 -1
- package/dist/collection/components/bh-tooltip/bh-tooltip.js +1 -1
- package/dist/collection/components/index.js +5 -0
- package/dist/collection/utils/hotkeys.js +107 -0
- package/dist/collection/utils/index.js +4 -0
- package/dist/esm/bellhop-core.js +1 -1
- package/dist/esm/bh-accordion-item.entry.js +3 -2
- package/dist/esm/bh-accordion.entry.js +2 -1
- package/dist/esm/bh-activity-feed_2.entry.js +171 -0
- package/dist/esm/bh-alert.entry.js +3 -2
- package/dist/esm/bh-appbar.entry.js +56 -10
- package/dist/esm/bh-autocomplete-menu.entry.js +2 -1
- package/dist/esm/bh-avatar-add.entry.js +3 -2
- package/dist/esm/bh-avatar-stacked.entry.js +3 -2
- package/dist/esm/bh-avatar.entry.js +5 -4
- package/dist/esm/bh-badge-dot_2.entry.js +6 -5
- package/dist/esm/bh-badge.entry.js +5 -4
- package/dist/esm/bh-banner.entry.js +4 -3
- package/dist/esm/bh-bar-chart.entry.js +4 -3
- package/dist/esm/bh-breadcrumbs.entry.js +15 -4
- package/dist/esm/bh-button-icon_2.entry.js +3 -2
- package/dist/esm/bh-button.entry.js +4 -3
- package/dist/esm/bh-card-content.entry.js +3 -2
- package/dist/esm/bh-card-footer.entry.js +3 -2
- package/dist/esm/bh-card-header.entry.js +3 -2
- package/dist/esm/bh-card.entry.js +3 -2
- package/dist/esm/bh-chart-tooltip.entry.js +4 -3
- package/dist/esm/bh-chat-message.entry.js +4 -3
- package/dist/esm/bh-chat-reaction.entry.js +4 -3
- package/dist/esm/bh-checkbox.entry.js +2 -1
- package/dist/esm/bh-checklist-task-group_3.entry.js +5 -4
- package/dist/esm/bh-close-button.entry.js +1 -1
- package/dist/esm/bh-command-bar.entry.js +307 -0
- package/dist/esm/bh-container-footer.entry.js +3 -2
- package/dist/esm/bh-container.entry.js +3 -2
- package/dist/esm/bh-credit-card.entry.js +3 -2
- package/dist/esm/bh-data-grid-body.entry.js +2 -1
- package/dist/esm/bh-data-grid-change-preview.entry.js +2 -1
- package/dist/esm/bh-data-grid-filter-builder.entry.js +2 -1
- package/dist/esm/bh-data-grid-footer.entry.js +3 -2
- package/dist/esm/bh-data-grid-header.entry.js +2 -1
- package/dist/esm/bh-data-grid-toolbar.entry.js +3 -2
- package/dist/esm/bh-data-grid.entry.js +3 -2
- package/dist/esm/bh-date-picker-content.entry.js +5 -4
- package/dist/esm/bh-date-picker.entry.js +5 -4
- package/dist/esm/bh-date-range-picker-content.entry.js +4 -3
- package/dist/esm/bh-date-range-picker.entry.js +6 -5
- package/dist/esm/bh-divider.entry.js +3 -2
- package/dist/esm/bh-dropdown-menu.entry.js +1 -1
- package/dist/esm/bh-dropdown.entry.js +12 -3
- package/dist/esm/bh-emoji-picker.entry.js +1 -1
- package/dist/esm/bh-empty-state_2.entry.js +4 -3
- package/dist/esm/bh-featured-icon.entry.js +3 -2
- package/dist/esm/bh-gauge-chart.entry.js +4 -3
- package/dist/esm/bh-guided-checklist.entry.js +4 -3
- package/dist/esm/bh-html-editor-bubble-menu_2.entry.js +6 -5
- package/dist/esm/bh-html-editor.entry.js +4 -3
- package/dist/esm/bh-illustrations.entry.js +3 -2
- package/dist/esm/bh-inline-cta.entry.js +4 -3
- package/dist/esm/bh-input-autocomplete.entry.js +6 -5
- package/dist/esm/bh-input-number.entry.js +4 -3
- package/dist/esm/bh-input-password.entry.js +5 -4
- package/dist/esm/bh-input-text.entry.js +4 -3
- package/dist/esm/bh-input-verification.entry.js +3 -2
- package/dist/esm/bh-kbd.entry.js +32 -0
- package/dist/esm/bh-label_2.entry.js +3 -2
- package/dist/esm/bh-line-chart.entry.js +4 -3
- package/dist/esm/bh-logo-box_2.entry.js +6 -5
- package/dist/esm/bh-menu_2.entry.js +2 -1
- package/dist/esm/bh-modal-actions.entry.js +3 -2
- package/dist/esm/bh-modal-header.entry.js +6 -5
- package/dist/esm/bh-modal.entry.js +3 -2
- package/dist/esm/bh-month-picker-content.entry.js +3 -2
- package/dist/esm/bh-month-picker.entry.js +5 -4
- package/dist/esm/bh-multi-select.entry.js +7 -6
- package/dist/esm/bh-notification-center.entry.js +208 -0
- package/dist/esm/bh-page-header.entry.js +3 -2
- package/dist/esm/bh-page-navigation-child.entry.js +3 -2
- package/dist/esm/bh-page-navigation-multi-level_2.entry.js +5 -4
- package/dist/esm/bh-page-navigation.entry.js +3 -2
- package/dist/esm/bh-pagination_2.entry.js +8 -7
- package/dist/esm/bh-picker-menu.entry.js +2 -1
- package/dist/esm/bh-pie-chart.entry.js +5 -4
- package/dist/esm/bh-pivot-grid-field-chooser.entry.js +4 -3
- package/dist/esm/bh-pivot-grid.entry.js +19 -18
- package/dist/esm/bh-popover.entry.js +2 -1
- package/dist/esm/bh-product-switcher.entry.js +2 -1
- package/dist/esm/bh-progress-bar.entry.js +6 -5
- package/dist/esm/bh-progress-ring.entry.js +1 -1
- package/dist/esm/bh-property-switcher.entry.js +21 -4
- package/dist/esm/bh-radar-chart.entry.js +4 -3
- package/dist/esm/bh-radio-button.entry.js +2 -1
- package/dist/esm/bh-radio-group.entry.js +3 -2
- package/dist/esm/bh-range-slider.entry.js +3 -2
- package/dist/esm/bh-section-footer.entry.js +3 -2
- package/dist/esm/bh-section-header.entry.js +3 -2
- package/dist/esm/bh-selection-group-item.entry.js +2 -1
- package/dist/esm/bh-selection-group.entry.js +3 -2
- package/dist/esm/bh-side-panel-footer.entry.js +1 -1
- package/dist/esm/bh-side-panel-header.entry.js +1 -1
- package/dist/esm/bh-sidebar.entry.js +18 -4
- package/dist/esm/bh-stepper.entry.js +2 -1
- package/dist/esm/bh-tab-item.entry.js +4 -3
- package/dist/esm/bh-table-header.entry.js +3 -2
- package/dist/esm/bh-tabs.entry.js +3 -2
- package/dist/esm/bh-tag-group.entry.js +3 -2
- package/dist/esm/bh-tag-input.entry.js +4 -3
- package/dist/esm/bh-textarea.entry.js +4 -3
- package/dist/esm/bh-toast-container.entry.js +1 -1
- package/dist/esm/bh-toast.entry.js +4 -3
- package/dist/esm/bh-toggle.entry.js +3 -2
- package/dist/esm/bh-trend-chart.entry.js +4 -3
- package/dist/esm/{component-error-handler-BVWQSuxn.js → component-error-handler-bgLpf9Pn.js} +1 -1
- package/dist/esm/error-boundary-afpK3NgJ.js +70 -0
- package/dist/esm/hotkeys-CBTS9Vhx.js +109 -0
- package/dist/esm/index-CTHvNfIu.js +20 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{error-boundary-YLeLKAYJ.js → logger-CMKOFHIa.js} +1 -68
- package/dist/locales/bh-appbar/de.json +4 -1
- package/dist/locales/bh-appbar/en.json +4 -1
- package/dist/locales/bh-appbar/es.json +4 -1
- package/dist/locales/bh-appbar/fr.json +4 -1
- package/dist/locales/bh-appbar/ja.json +4 -1
- package/dist/locales/bh-appbar/pt.json +4 -1
- package/dist/locales/bh-appbar/ru.json +4 -1
- package/dist/locales/bh-appbar/zh.json +4 -1
- package/dist/locales/bh-command-bar/de.json +13 -0
- package/dist/locales/bh-command-bar/en.json +13 -0
- package/dist/locales/bh-command-bar/es.json +13 -0
- package/dist/locales/bh-command-bar/fr.json +13 -0
- package/dist/locales/bh-command-bar/ja.json +13 -0
- package/dist/locales/bh-command-bar/pt.json +13 -0
- package/dist/locales/bh-command-bar/ru.json +13 -0
- package/dist/locales/bh-command-bar/zh.json +13 -0
- package/dist/types/components/bh-activity-feed/bh-activity-feed.d.ts +6 -0
- package/dist/types/components/bh-appbar/bh-appbar.d.ts +38 -0
- package/dist/types/components/bh-appbar/bh-notification-center/bh-notification-center.d.ts +108 -0
- package/dist/types/components/bh-breadcrumbs/bh-breadcrumbs.d.ts +8 -0
- package/dist/types/components/bh-command-bar/bh-command-bar.d.ts +131 -0
- package/dist/types/components/bh-command-bar/bh-command-bar.figma.d.ts +1 -0
- package/dist/types/components/bh-dropdown/bh-dropdown.d.ts +4 -0
- package/dist/types/components/bh-feed-item/bh-feed-item.d.ts +15 -0
- package/dist/types/components/bh-kbd/bh-kbd.d.ts +13 -0
- package/dist/types/components/bh-kbd/bh-kbd.figma.d.ts +1 -0
- package/dist/types/components/bh-property-switcher/bh-property-switcher.d.ts +2 -0
- package/dist/types/components/bh-sidebar/bh-sidebar.d.ts +14 -1
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components.d.ts +541 -4
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/hotkeys.d.ts +23 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/hydrate/index.js +1021 -189
- package/hydrate/index.mjs +1021 -189
- package/llms.txt +4251 -286
- package/package.json +1 -1
- package/vscode-data.json +215 -0
- package/components/p-B7i48CAz.js +0 -1
- package/components/p-Bk-ipvH3.js +0 -1
- package/components/p-Cy98fCjm.js +0 -1
- package/components/p-i7ZvTRXV.js +0 -1
- package/dist/bellhop-core/p-008932dc.entry.js +0 -1
- package/dist/bellhop-core/p-03e002af.entry.js +0 -1
- package/dist/bellhop-core/p-062955a0.entry.js +0 -1
- package/dist/bellhop-core/p-0705eb78.entry.js +0 -1
- package/dist/bellhop-core/p-0a1548b0.entry.js +0 -1
- package/dist/bellhop-core/p-0a758a65.entry.js +0 -1
- package/dist/bellhop-core/p-0b3a286d.entry.js +0 -1
- package/dist/bellhop-core/p-0e60f7f5.entry.js +0 -1
- package/dist/bellhop-core/p-105d9352.entry.js +0 -1
- package/dist/bellhop-core/p-11eec77c.entry.js +0 -1
- package/dist/bellhop-core/p-1334408b.entry.js +0 -1
- package/dist/bellhop-core/p-141d68b7.entry.js +0 -1
- package/dist/bellhop-core/p-164db491.entry.js +0 -1
- package/dist/bellhop-core/p-170c4a62.entry.js +0 -1
- package/dist/bellhop-core/p-19739563.entry.js +0 -1
- package/dist/bellhop-core/p-1cfa274f.entry.js +0 -1
- package/dist/bellhop-core/p-1ddb2ef9.entry.js +0 -1
- package/dist/bellhop-core/p-22243198.entry.js +0 -1
- package/dist/bellhop-core/p-23acfc6a.entry.js +0 -1
- package/dist/bellhop-core/p-277693e6.entry.js +0 -1
- package/dist/bellhop-core/p-283eb6ee.entry.js +0 -1
- package/dist/bellhop-core/p-298d6782.entry.js +0 -1
- package/dist/bellhop-core/p-30f1e109.entry.js +0 -1
- package/dist/bellhop-core/p-31e952ed.entry.js +0 -1
- package/dist/bellhop-core/p-3254b058.entry.js +0 -1
- package/dist/bellhop-core/p-332a6b0d.entry.js +0 -1
- package/dist/bellhop-core/p-43c97303.entry.js +0 -1
- package/dist/bellhop-core/p-4b8fe1fa.entry.js +0 -1
- package/dist/bellhop-core/p-4d8b9186.entry.js +0 -1
- package/dist/bellhop-core/p-50b95dc8.entry.js +0 -1
- package/dist/bellhop-core/p-53006e0e.entry.js +0 -1
- package/dist/bellhop-core/p-53683664.entry.js +0 -1
- package/dist/bellhop-core/p-53dc8f16.entry.js +0 -1
- package/dist/bellhop-core/p-54d147b9.entry.js +0 -1
- package/dist/bellhop-core/p-56b090e1.entry.js +0 -1
- package/dist/bellhop-core/p-58eae3e6.entry.js +0 -1
- package/dist/bellhop-core/p-5d43f80b.entry.js +0 -1
- package/dist/bellhop-core/p-61aeccd7.entry.js +0 -1
- package/dist/bellhop-core/p-63303380.entry.js +0 -1
- package/dist/bellhop-core/p-63af6f45.entry.js +0 -1
- package/dist/bellhop-core/p-640aaf14.entry.js +0 -1
- package/dist/bellhop-core/p-6632ba13.entry.js +0 -1
- package/dist/bellhop-core/p-6807b97e.entry.js +0 -1
- package/dist/bellhop-core/p-6a725cbe.entry.js +0 -1
- package/dist/bellhop-core/p-6bfb6425.entry.js +0 -1
- package/dist/bellhop-core/p-6c4eb165.entry.js +0 -1
- package/dist/bellhop-core/p-72cd0a98.entry.js +0 -1
- package/dist/bellhop-core/p-74972e2e.entry.js +0 -1
- package/dist/bellhop-core/p-77a7967d.entry.js +0 -1
- package/dist/bellhop-core/p-79bc0c14.entry.js +0 -1
- package/dist/bellhop-core/p-7f2736ab.entry.js +0 -1
- package/dist/bellhop-core/p-83024333.entry.js +0 -1
- package/dist/bellhop-core/p-8c01d55f.entry.js +0 -1
- package/dist/bellhop-core/p-8d4654ea.entry.js +0 -1
- package/dist/bellhop-core/p-9429002f.entry.js +0 -1
- package/dist/bellhop-core/p-956ca990.entry.js +0 -1
- package/dist/bellhop-core/p-9b0d2d1d.entry.js +0 -1
- package/dist/bellhop-core/p-YLeLKAYJ.js +0 -1
- package/dist/bellhop-core/p-a0005573.entry.js +0 -1
- package/dist/bellhop-core/p-a26f1ec0.entry.js +0 -1
- package/dist/bellhop-core/p-a42cca95.entry.js +0 -1
- package/dist/bellhop-core/p-a7153865.entry.js +0 -1
- package/dist/bellhop-core/p-a7608d57.entry.js +0 -1
- package/dist/bellhop-core/p-a94d36ae.entry.js +0 -1
- package/dist/bellhop-core/p-a9644488.entry.js +0 -1
- package/dist/bellhop-core/p-aac0f3c1.entry.js +0 -1
- package/dist/bellhop-core/p-aae7e90e.entry.js +0 -1
- package/dist/bellhop-core/p-ac2d706c.entry.js +0 -1
- package/dist/bellhop-core/p-b21105d4.entry.js +0 -1
- package/dist/bellhop-core/p-b7995c47.entry.js +0 -1
- package/dist/bellhop-core/p-bacf8b19.entry.js +0 -1
- package/dist/bellhop-core/p-bf2f5dbd.entry.js +0 -1
- package/dist/bellhop-core/p-c10aff52.entry.js +0 -1
- package/dist/bellhop-core/p-c30fcfcb.entry.js +0 -1
- package/dist/bellhop-core/p-c581c876.entry.js +0 -1
- package/dist/bellhop-core/p-c97c166b.entry.js +0 -1
- package/dist/bellhop-core/p-cb19b35b.entry.js +0 -1
- package/dist/bellhop-core/p-cb1dde19.entry.js +0 -1
- package/dist/bellhop-core/p-cf8c9d85.entry.js +0 -1
- package/dist/bellhop-core/p-d3816b20.entry.js +0 -1
- package/dist/bellhop-core/p-d4107350.entry.js +0 -1
- package/dist/bellhop-core/p-d59fdc08.entry.js +0 -1
- package/dist/bellhop-core/p-d77016ec.entry.js +0 -1
- package/dist/bellhop-core/p-dd1e6138.entry.js +0 -1
- package/dist/bellhop-core/p-dd6f2996.entry.js +0 -1
- package/dist/bellhop-core/p-e082bce2.entry.js +0 -1
- package/dist/bellhop-core/p-e0e28b1f.entry.js +0 -1
- package/dist/bellhop-core/p-e4a47861.entry.js +0 -1
- package/dist/bellhop-core/p-e74a03e3.entry.js +0 -1
- package/dist/bellhop-core/p-e9168244.entry.js +0 -1
- package/dist/bellhop-core/p-ea1fe131.entry.js +0 -1
- package/dist/bellhop-core/p-ecf1b0c4.entry.js +0 -1
- package/dist/bellhop-core/p-f16e07ca.entry.js +0 -1
- package/dist/bellhop-core/p-f2d2abb2.entry.js +0 -1
- package/dist/bellhop-core/p-f8f6e900.entry.js +0 -1
- package/dist/bellhop-core/p-fbdeab71.entry.js +0 -1
- package/dist/bellhop-core/p-fcb058cf.entry.js +0 -1
- package/dist/cjs/bh-activity-feed.cjs.entry.js +0 -71
- package/dist/cjs/bh-feed-item.cjs.entry.js +0 -82
- package/dist/esm/bh-activity-feed.entry.js +0 -69
- package/dist/esm/bh-feed-item.entry.js +0 -80
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-B6sArKsK.js');
|
|
4
|
+
var logger = require('./logger-DZionBgs.js');
|
|
5
|
+
var i18n = require('./i18n-Twgo5raQ.js');
|
|
6
|
+
var dismissalManager = require('./dismissal-manager-VevirmgP.js');
|
|
7
|
+
require('./keyboard-helpers-CiUQBd3w.js');
|
|
8
|
+
require('./keyboard-constants-ByvH1XTM.js');
|
|
9
|
+
|
|
10
|
+
const bhNotificationCenterCss = () => `@charset "UTF-8";:host{position:relative;display:inline-block}.trigger{position:relative;display:inline-flex}.icon-badge-count{position:absolute;top:var(--bh-corner-badge-count-offset, calc(-1.5 * var(--spacing-sm, 8px)));right:var(--bh-corner-badge-count-offset, calc(-1.5 * var(--spacing-sm, 8px)));opacity:0.8;pointer-events:none}.icon-badge-count:hover{opacity:1}.panel{position:absolute;top:calc(100% + var(--spacing-sm, 8px));right:0;z-index:var(--bh-notification-center-z-index, 1000);width:var(--bh-notification-center-width, 360px);max-height:var(--bh-notification-center-max-height, 480px);display:flex;flex-direction:column;overflow:hidden;background:var(--color-bg-primary, #fff);border-radius:var(--radius-lg, 12px);box-shadow:var(--shadow-popup, 0 4px 12px rgba(0, 0, 0, 0.15))}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-sm, 8px);padding:var(--spacing-md, 12px) var(--spacing-lg, 16px);min-height:calc(var(--bh-button-height-sm, 32px) + 2 * var(--spacing-md, 12px))}.panel-title{font-family:var(--font-inter, inherit);font-size:var(--text-md-size, 1rem);font-weight:var(--weight-semibold, 600);color:var(--color-text-primary, #101828)}.filters{display:flex;gap:var(--spacing-xs, 4px);padding:var(--spacing-sm, 8px) var(--spacing-lg, 16px);border-bottom:1px solid var(--color-border-tertiary, #eaecf0)}.filter{padding:var(--spacing-xs, 4px) var(--spacing-md, 12px);font-family:var(--font-inter, inherit);font-size:var(--text-sm-size, 0.875rem);color:var(--color-text-secondary, #475467);background:transparent;border:none;border-radius:var(--radius-md, 8px);cursor:pointer}.filter:hover{background:var(--color-bg-secondary, #f9fafb)}.filter.active{color:var(--color-text-primary, #101828);font-weight:var(--weight-semibold, 600);background:var(--color-bg-tertiary, #f2f4f7)}.feed{overflow-y:auto}.feed bh-feed-item{display:block;padding:var(--spacing-md, 12px) var(--spacing-lg, 16px);cursor:pointer}.feed bh-feed-item:hover{background:var(--color-bg-secondary, #f9fafb)}.feed bh-feed-item.unread{background:var(--color-brand-25, hsl(220, 82%, 98%))}.feed bh-feed-item.unread:hover{background:var(--color-bg-secondary, #f9fafb)}.panel-inline{position:static;width:100%;max-height:none;border:1px solid var(--color-border-primary, #e4e7ec);box-shadow:none}.empty{padding:var(--spacing-2xl, 32px) var(--spacing-lg, 16px);font-family:var(--font-inter, inherit);font-size:var(--text-sm-size, 0.875rem);color:var(--color-text-secondary, #475467);text-align:center}`;
|
|
11
|
+
|
|
12
|
+
const BhNotificationCenter = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.bhOpen = index.createEvent(this, "bhOpen");
|
|
16
|
+
this.bhClose = index.createEvent(this, "bhClose");
|
|
17
|
+
this.bhChange = index.createEvent(this, "bhChange");
|
|
18
|
+
this.bhItemClick = index.createEvent(this, "bhItemClick");
|
|
19
|
+
}
|
|
20
|
+
logger = logger.createComponentLogger("bh-notification-center");
|
|
21
|
+
dismissalManager;
|
|
22
|
+
i18nUnsubscribe;
|
|
23
|
+
_i18nVersion = 0;
|
|
24
|
+
get el() { return index.getElement(this); }
|
|
25
|
+
/**
|
|
26
|
+
* Notifications to display (array or JSON string). Read/unread state is
|
|
27
|
+
* held internally after load; re-assigning the prop re-syncs it.
|
|
28
|
+
*/
|
|
29
|
+
notifications = [];
|
|
30
|
+
/**
|
|
31
|
+
* Whether the panel is open. Reflects so consumers can read/drive it.
|
|
32
|
+
* Ignored in inline display, where the panel always renders in place.
|
|
33
|
+
*/
|
|
34
|
+
open = false;
|
|
35
|
+
/**
|
|
36
|
+
* Presentation: "popover" renders the bell trigger with a floating,
|
|
37
|
+
* dismissable panel; "inline" renders the panel in place (no bell,
|
|
38
|
+
* no dismissal) for pages and side panels.
|
|
39
|
+
*/
|
|
40
|
+
display = "popover";
|
|
41
|
+
/**
|
|
42
|
+
* Panel header title. Allows i18n.
|
|
43
|
+
*/
|
|
44
|
+
headerTitle = "Notifications";
|
|
45
|
+
/**
|
|
46
|
+
* Mark-all-read button label. Allows i18n.
|
|
47
|
+
*/
|
|
48
|
+
markAllLabel = "Mark all as read";
|
|
49
|
+
/**
|
|
50
|
+
* Empty-state message. Allows i18n.
|
|
51
|
+
*/
|
|
52
|
+
emptyMessage = "You're all caught up";
|
|
53
|
+
/**
|
|
54
|
+
* "All" filter tab label. Allows i18n.
|
|
55
|
+
*/
|
|
56
|
+
filterAllLabel = "All";
|
|
57
|
+
/**
|
|
58
|
+
* "Unread" filter tab label. Allows i18n.
|
|
59
|
+
*/
|
|
60
|
+
filterUnreadLabel = "Unread";
|
|
61
|
+
/**
|
|
62
|
+
* Accessible label for the bell trigger. Allows i18n.
|
|
63
|
+
*/
|
|
64
|
+
bellAriaLabel = "Notifications";
|
|
65
|
+
items = [];
|
|
66
|
+
filter = "all";
|
|
67
|
+
/**
|
|
68
|
+
* Emitted when the panel opens.
|
|
69
|
+
*/
|
|
70
|
+
bhOpen;
|
|
71
|
+
/**
|
|
72
|
+
* Emitted when the panel closes.
|
|
73
|
+
*/
|
|
74
|
+
bhClose;
|
|
75
|
+
/**
|
|
76
|
+
* Emitted when read state changes. Detail carries the ids marked read in
|
|
77
|
+
* this change and the remaining unread count.
|
|
78
|
+
*/
|
|
79
|
+
bhChange;
|
|
80
|
+
/**
|
|
81
|
+
* Emitted when a notification is clicked.
|
|
82
|
+
*/
|
|
83
|
+
bhItemClick;
|
|
84
|
+
syncFromProp() {
|
|
85
|
+
this.items = this.parseNotifications();
|
|
86
|
+
}
|
|
87
|
+
handleOpenChange(isOpen) {
|
|
88
|
+
if (isOpen) {
|
|
89
|
+
this.dismissalManager?.enable();
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.dismissalManager?.disable();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
componentWillLoad() {
|
|
96
|
+
this.items = this.parseNotifications();
|
|
97
|
+
this.i18nUnsubscribe = i18n.BellhopI18n.onLocaleChange(() => {
|
|
98
|
+
this._i18nVersion++;
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
componentDidLoad() {
|
|
102
|
+
if (this.display === "inline") {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
this.dismissalManager = dismissalManager.createDismissalManager(this.el, {
|
|
106
|
+
onDismiss: () => this.setOpen(false),
|
|
107
|
+
escapeKey: true,
|
|
108
|
+
clickOutside: true,
|
|
109
|
+
focusLoss: false,
|
|
110
|
+
});
|
|
111
|
+
if (this.open) {
|
|
112
|
+
this.dismissalManager.enable();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
disconnectedCallback() {
|
|
116
|
+
this.dismissalManager?.destroy();
|
|
117
|
+
this.i18nUnsubscribe?.();
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Mark a single notification as read.
|
|
121
|
+
*/
|
|
122
|
+
async markRead(id) {
|
|
123
|
+
this.applyRead(this.items.filter((n) => n.id === id && !n.read));
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Mark every notification as read.
|
|
127
|
+
*/
|
|
128
|
+
async markAllRead() {
|
|
129
|
+
this.applyRead(this.items.filter((n) => !n.read));
|
|
130
|
+
}
|
|
131
|
+
parseNotifications() {
|
|
132
|
+
if (typeof this.notifications !== "string") {
|
|
133
|
+
return this.notifications.map((n) => ({ ...n }));
|
|
134
|
+
}
|
|
135
|
+
if (this.notifications.trim() === "") {
|
|
136
|
+
return [];
|
|
137
|
+
}
|
|
138
|
+
try {
|
|
139
|
+
return JSON.parse(this.notifications);
|
|
140
|
+
}
|
|
141
|
+
catch (error) {
|
|
142
|
+
this.logger.error("Invalid notifications JSON", error instanceof Error ? error : new Error(String(error)));
|
|
143
|
+
return [];
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
applyRead(toMark) {
|
|
147
|
+
if (toMark.length === 0) {
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
const readIds = toMark.map((n) => n.id);
|
|
151
|
+
this.items = this.items.map((n) => readIds.includes(n.id) ? { ...n, read: true } : n);
|
|
152
|
+
this.bhChange.emit({ readIds, unreadCount: this.unreadCount() });
|
|
153
|
+
}
|
|
154
|
+
unreadCount() {
|
|
155
|
+
return this.items.filter((n) => !n.read).length;
|
|
156
|
+
}
|
|
157
|
+
visibleItems() {
|
|
158
|
+
return this.filter === "unread"
|
|
159
|
+
? this.items.filter((n) => !n.read)
|
|
160
|
+
: this.items;
|
|
161
|
+
}
|
|
162
|
+
setOpen(isOpen) {
|
|
163
|
+
if (this.open === isOpen) {
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
this.open = isOpen;
|
|
167
|
+
if (isOpen) {
|
|
168
|
+
this.bhOpen.emit();
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
this.bhClose.emit();
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
handleBellClick = () => {
|
|
175
|
+
this.setOpen(!this.open);
|
|
176
|
+
};
|
|
177
|
+
handleItemClick = (notification) => {
|
|
178
|
+
this.bhItemClick.emit(notification);
|
|
179
|
+
this.applyRead(this.items.filter((n) => n.id === notification.id && !n.read));
|
|
180
|
+
};
|
|
181
|
+
t(key, propValue, fallback) {
|
|
182
|
+
return i18n.resolveI18n("bh-notification-center", key, propValue, fallback);
|
|
183
|
+
}
|
|
184
|
+
renderTrigger(unread) {
|
|
185
|
+
const bellLabel = this.t("bellAriaLabel", this.bellAriaLabel, "Notifications");
|
|
186
|
+
return (index.h("div", { class: "trigger", part: "trigger" }, index.h("bh-button-icon", { ariaLabel: unread > 0 ? `${bellLabel} (${unread})` : bellLabel, hierarchy: "tertiary", iconName: "notifications", onClick: this.handleBellClick, size: "sm" }), unread > 0 && (index.h("bh-badge", { class: "icon-badge-count", emphasis: "high", label: String(unread), size: "sm", variant: "error" }))));
|
|
187
|
+
}
|
|
188
|
+
render() {
|
|
189
|
+
const unread = this.unreadCount();
|
|
190
|
+
const visible = this.visibleItems();
|
|
191
|
+
const isInline = this.display === "inline";
|
|
192
|
+
const showPanel = isInline || this.open;
|
|
193
|
+
return (index.h(index.Host, { key: '1cec4c416a7dc25a5eb5f6ba1596315d86c50271' }, !isInline && this.renderTrigger(unread), showPanel && (index.h("div", { key: 'eae2068a2a56f938c04bd5be6eac8885de8db987', "aria-label": this.t("headerTitle", this.headerTitle, "Notifications"), class: { panel: true, "panel-inline": isInline }, part: "panel", role: isInline ? "region" : "dialog" }, index.h("div", { key: '2990d636c1ea32f28df29e84d60da4ddc8325960', class: "panel-header", part: "header" }, index.h("span", { key: 'c0b9291e8dbb52ebde5f62e95eedb646569f075d', class: "panel-title" }, this.t("headerTitle", this.headerTitle, "Notifications")), unread > 0 && (index.h("bh-button", { key: '76217c3ca371df29bf782af9c04a6113ecdda805', hierarchy: "tertiary", label: this.t("markAllLabel", this.markAllLabel, "Mark all as read"), onClick: () => this.markAllRead(), size: "sm" }))), index.h("div", { key: '696ebb7f1ba24de12b98a32f519abc71fd7dcd54', class: "filters", part: "filters", role: "tablist" }, ["all", "unread"].map((f) => (index.h("button", { "aria-selected": this.filter === f ? "true" : "false", class: { filter: true, active: this.filter === f }, "data-filter": f, onClick: () => {
|
|
194
|
+
this.filter = f;
|
|
195
|
+
}, role: "tab", type: "button" }, f === "all"
|
|
196
|
+
? this.t("filterAllLabel", this.filterAllLabel, "All")
|
|
197
|
+
: this.t("filterUnreadLabel", this.filterUnreadLabel, "Unread"))))), visible.length === 0 ? (index.h("div", { class: "empty", part: "empty" }, this.t("emptyMessage", this.emptyMessage, "You're all caught up"))) : (index.h("bh-activity-feed", { class: "feed", divider: "line", flush: true, part: "list", type: "notifications" }, visible.map((n) => (index.h("bh-feed-item", { author: n.author ?? "", class: { unread: !n.read }, content: n.body ?? "", "data-id": n.id, icon: n.author ? undefined : n.icon, itemTitle: n.title, key: n.id, onBhClick: () => this.handleItemClick(n), showDot: !n.read, size: "sm", timestamp: n.timestamp ?? "", variant: n.author ? "user" : "system" })))))))));
|
|
198
|
+
}
|
|
199
|
+
static get watchers() { return {
|
|
200
|
+
"notifications": [{
|
|
201
|
+
"syncFromProp": 0
|
|
202
|
+
}],
|
|
203
|
+
"open": [{
|
|
204
|
+
"handleOpenChange": 0
|
|
205
|
+
}]
|
|
206
|
+
}; }
|
|
207
|
+
};
|
|
208
|
+
BhNotificationCenter.style = bhNotificationCenterCss();
|
|
209
|
+
|
|
210
|
+
exports.bh_notification_center = BhNotificationCenter;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B6sArKsK.js');
|
|
4
|
-
var
|
|
4
|
+
var logger = require('./logger-DZionBgs.js');
|
|
5
5
|
var metrics = require('./metrics-DtkENqew.js');
|
|
6
|
+
var errorBoundary = require('./error-boundary-fNUNT0lE.js');
|
|
6
7
|
|
|
7
8
|
const bhPageHeaderCss = () => `@charset "UTF-8"; :root { --bh-breakpoint-xs: 0; --bh-breakpoint-sm: 576px; --bh-breakpoint-md: 768px; --bh-breakpoint-lg: 992px; --bh-breakpoint-xl: 1200px; --bh-breakpoint-xxl: 1400px; --bh-container-sm: 540px; --bh-container-md: 720px; --bh-container-lg: 960px; --bh-container-xl: 1140px; --bh-container-xxl: 1320px; } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { display: block; --bh-page-header-bg: var(--color-bg-primary); --bh-page-header-heading-color: var(--color-text-primary); --bh-page-header-supporting-color: var(--color-text-tertiary); --bh-page-header-divider-color: var(--color-border-secondary); --bh-page-header-banner-height: 240px; --bh-page-header-banner-height-mobile: 160px; --bh-page-header-avatar-size: 160px; --bh-page-header-avatar-size-mobile: 96px; --bh-page-header-avatar-border-color: var(--color-white); --bh-page-header-container-padding: var(--spacing-4xl); --bh-page-header-container-padding-mobile: var(--spacing-xl); } } @layer bh-base { .page-header { display: flex; flex-direction: column; align-items: stretch; width: 100%; font-family: var(--font-inter); } .container { display: flex; flex-direction: column; gap: var(--spacing-2xl); width: 100%; max-width: var(--sp-320); margin: 0 auto; padding: 0 var(--bh-page-header-container-padding); box-sizing: border-box; } .banner-image-wrap { width: 100%; height: var(--bh-page-header-banner-height); overflow: hidden; position: relative; } .banner-image { width: 100%; height: 100%; object-fit: cover; display: block; } .banner-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--color-brand-400), var(--color-accent-400)); } .avatar-wrap { flex-shrink: 0; } .avatar-wrap bh-avatar { --avatar-size-2xl: var(--bh-page-header-avatar-size); display: block; border: 4px solid var(--bh-page-header-avatar-border-color); border-radius: var(--radius-full); box-shadow: var(--shadow-lg); } .avatar-wrap { } .avatar-wrap bh-avatar::part(border) { border: 1px solid var(--border-contrast-medium); } .avatar-inline bh-avatar { border: none; box-shadow: none; } .text-content { display: flex; flex-direction: column; gap: var(--spacing-xs); min-width: 0; } .heading { margin: 0; font-family: var(--font-inter); font-weight: var(--weight-medium); font-size: var(--display-xs-size); line-height: var(--text-2xl-line); color: var(--bh-page-header-heading-color); } .supporting-text { margin: 0; font-family: var(--font-inter); font-weight: var(--weight-regular); font-size: var(--text-sm-size); line-height: var(--text-sm-line); color: var(--bh-page-header-supporting-color); } .heading-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--spacing-2xl) var(--spacing-xl); width: 100%; } .heading-row > .text-content { flex: 1 0 0; min-width: 320px; } .actions { display: flex; align-items: center; gap: var(--spacing-lg); flex-shrink: 0; } .search-slot { flex-shrink: 0; } .breadcrumbs-slot { display: flex; } .tabs-slot { display: contents; } .divider { width: 100%; height: 1px; background: var(--bh-page-header-divider-color); } .content-block { display: flex; flex-direction: column; gap: var(--spacing-2xl); padding-top: var(--spacing-3xl); } .avatar-inline { display: flex; align-items: center; gap: var(--spacing-2xl); flex: 1 0 0; min-width: 320px; } .avatar-inline .avatar-photo { width: var(--bh-avatar-size-lg); height: var(--bh-avatar-size-lg); box-shadow: none; border-width: 0; } .avatar-and-content { display: flex; gap: var(--spacing-3xl); align-items: flex-start; width: 100%; } .avatar-and-content > .avatar-wrap { margin-top: calc(-1 * var(--spacing-5xl)); } .content-beside-avatar { display: flex; flex-direction: column; flex: 1 0 0; min-width: 0; gap: var(--spacing-2xl); padding-top: var(--spacing-7xl); } .centered-content { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-2xl); text-align: center; } .centered-content .text-content { max-width: 640px; align-items: center; } .centered-content > .avatar-wrap { margin-top: calc(-1 * var(--spacing-7xl)); } } @layer bh-variants { :host([variant=banner-avatar]) .banner-image-wrap { margin-bottom: calc(-1 * var(--spacing-5xl)); } :host([variant=banner-avatar-centered]) .banner-image-wrap { margin-bottom: calc(-1 * var(--spacing-7xl)); } :host([variant=banner-avatar-centered]) .container { padding-bottom: 0; } } @layer bh-utilities { @media (max-width: 768px) { .container { padding: 0 var(--bh-page-header-container-padding-mobile); gap: var(--spacing-xl); } .banner-image-wrap { height: var(--bh-page-header-banner-height-mobile); } .avatar-wrap bh-avatar { --avatar-size-2xl: var(--bh-page-header-avatar-size-mobile); } .heading-row > .text-content { min-width: 0; } .avatar-inline { min-width: 0; } .heading-row { flex-direction: column; gap: var(--spacing-xl); } .content-block { padding-top: 0; } } }`;
|
|
8
9
|
|
|
@@ -12,7 +13,7 @@ const BhPageHeader = class {
|
|
|
12
13
|
index.registerInstance(this, hostRef);
|
|
13
14
|
this.bhItemClick = index.createEvent(this, "bhItemClick");
|
|
14
15
|
}
|
|
15
|
-
logger =
|
|
16
|
+
logger = logger.createComponentLogger(COMPONENT_NAME);
|
|
16
17
|
/**
|
|
17
18
|
* The main heading text
|
|
18
19
|
*/
|
|
@@ -136,7 +137,7 @@ const BhPageHeader = class {
|
|
|
136
137
|
"is-centered": this.isCentered,
|
|
137
138
|
"has-avatar": this.hasAvatar,
|
|
138
139
|
};
|
|
139
|
-
return (index.h(index.Host, { key: '
|
|
140
|
+
return (index.h(index.Host, { key: '62d3783612c4c884eb25afb83fcbacbabc419e32', "aria-label": this.heading || "Page header", role: "banner" }, index.h("div", { key: 'b1760099f2852fa0893576ee95ad07ee27d8747f', class: classes, part: "base" }, this.renderBannerImage(), index.h("div", { key: 'c1e4eb847e4b97fa8c7fb73bd06944e0c3916c4d', class: "container" }, !this.isBanner && this.renderBreadcrumbs(), this.renderVariantContent(), this.renderTabs(), this.renderDivider()))));
|
|
140
141
|
}
|
|
141
142
|
};
|
|
142
143
|
BhPageHeader.style = bhPageHeaderCss();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B6sArKsK.js');
|
|
4
|
-
var
|
|
4
|
+
var logger = require('./logger-DZionBgs.js');
|
|
5
5
|
var focusStateManager = require('./focus-state-manager-BoEvV-Lq.js');
|
|
6
6
|
var metrics = require('./metrics-DtkENqew.js');
|
|
7
|
+
var errorBoundary = require('./error-boundary-fNUNT0lE.js');
|
|
7
8
|
var keyboardHelpers = require('./keyboard-helpers-CiUQBd3w.js');
|
|
8
9
|
require('./keyboard-constants-ByvH1XTM.js');
|
|
9
10
|
|
|
@@ -14,7 +15,7 @@ const BhPageNavigationChild = class {
|
|
|
14
15
|
index.registerInstance(this, hostRef);
|
|
15
16
|
this.bhItemClick = index.createEvent(this, "bhItemClick");
|
|
16
17
|
}
|
|
17
|
-
logger =
|
|
18
|
+
logger = logger.createComponentLogger("bh-page-navigation-child");
|
|
18
19
|
/**
|
|
19
20
|
* Label text for the navigation item
|
|
20
21
|
*/
|
|
@@ -80,7 +81,7 @@ const BhPageNavigationChild = class {
|
|
|
80
81
|
};
|
|
81
82
|
}
|
|
82
83
|
render() {
|
|
83
|
-
return (index.h(index.Host, { key: '
|
|
84
|
+
return (index.h(index.Host, { key: '7ca3756e57ce7523707ac6398e009a41251b5773' }, index.h("div", { key: '9d17db048c227e3d53d5d2adcacf5d06ebdb529e', "aria-current": this.isActive ? "page" : undefined, class: this.getItemClasses(), "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "container", role: "button", tabIndex: 0 }, index.h("div", { key: '6e73d0d8e106d4712b45671d8501dd743925702d', class: "page-navigation-child-content", part: "content" }, index.h("span", { key: '6c7b32b203015fbf3eb2dfc9e41ae2a569c77c63', class: "page-navigation-child-label", part: "label" }, this.label), this.badge !== undefined && this.showBadge && (index.h("bh-badge", { key: 'a8510c3e2b9d0fd265f94273afbb09f9ca259361', class: "page-navigation-child-badge", emphasis: "medium", label: String(this.badge), part: "badge", size: "sm", variant: "gray" }))))));
|
|
84
85
|
}
|
|
85
86
|
};
|
|
86
87
|
BhPageNavigationChild.style = bhPageNavigationChildCss();
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B6sArKsK.js');
|
|
4
|
-
var
|
|
4
|
+
var logger = require('./logger-DZionBgs.js');
|
|
5
5
|
var lifecycle = require('./lifecycle-CnkLRXH9.js');
|
|
6
6
|
var focusStateManager = require('./focus-state-manager-BoEvV-Lq.js');
|
|
7
7
|
var metrics = require('./metrics-DtkENqew.js');
|
|
8
|
+
var errorBoundary = require('./error-boundary-fNUNT0lE.js');
|
|
8
9
|
var timers = require('./timers-DP0qMGY7.js');
|
|
9
10
|
var validators = require('./validators-DfzKUg-b.js');
|
|
10
11
|
var keyboardHelpers = require('./keyboard-helpers-CiUQBd3w.js');
|
|
@@ -25,7 +26,7 @@ const BhPageNavigationMultiLevel = class {
|
|
|
25
26
|
this.bhItemClick = index.createEvent(this, "bhItemClick");
|
|
26
27
|
this.bhAction = index.createEvent(this, "bhAction");
|
|
27
28
|
}
|
|
28
|
-
logger =
|
|
29
|
+
logger = logger.createComponentLogger("bh-page-navigation-multi-level");
|
|
29
30
|
destroy$ = lifecycle.createDestroySubjectSync();
|
|
30
31
|
/**
|
|
31
32
|
* Label text for the navigation item
|
|
@@ -151,11 +152,11 @@ const BhPageNavigationMultiLevel = class {
|
|
|
151
152
|
};
|
|
152
153
|
}
|
|
153
154
|
render() {
|
|
154
|
-
return (index.h(index.Host, { key: '
|
|
155
|
+
return (index.h(index.Host, { key: 'd9741d97ddd3eafaa584a4ed2874b54586f12d27' }, index.h("div", { key: '78c214b1a6eed4371ddb9f9e7bfe6623d1981f9c', class: this.getItemClasses(), part: "container" }, index.h("div", { key: '61b5570c3bc98afccb9d8fa12036874eff797b00', "aria-expanded": String(this.isExpanded), class: "page-navigation-multi-level-parent", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: this.handleParentClick, onFocus: this.handleFocus, onKeyDown: this.handleParentKeyDown, onMouseEnter: () => this.focusState.handleMouseEnter(), onMouseLeave: () => this.focusState.handleMouseLeave(), part: "parent", role: "button", tabIndex: 0 }, index.h("div", { key: 'ecb225085b57e91a45ca5261160e5faa8fb5320d', class: "page-navigation-item-content" }, !this.focusState.isHovered && (index.h("span", { key: '3ec3d64a64ca0557f5dd1868b58afce58f5028c3', "aria-hidden": "true", class: "page-navigation-item-icon material-symbols-outlined" }, this.icon)), this.focusState.isHovered && (index.h("span", { key: '6e63fa64c2d5a24f6fc0440a961e58aad6fd044c', "aria-hidden": "true", class: {
|
|
155
156
|
"page-navigation-chevron-icon": true,
|
|
156
157
|
"material-symbols-outlined": true,
|
|
157
158
|
expanded: this.isExpanded,
|
|
158
|
-
} }, "expand_more")), index.h("span", { key: '
|
|
159
|
+
} }, "expand_more")), index.h("span", { key: 'e48c777f044af85e035969be85c75a44c0033972', class: "page-navigation-item-label" }, this.label), this.badge !== undefined && (index.h("bh-badge", { key: 'b3e00c448d7dd26de9c4a39e2cf256f7dc14e039', class: "page-navigation-item-badge", emphasis: "medium", label: String(this.badge), part: "badge", size: "sm", variant: "gray" })), index.h("bh-button-icon", { key: '4e6154e0f29457173b4617f554095c99bb1edee6', ariaLabel: `Add to ${this.label}`, hierarchy: "tertiary", iconName: "add", onClick: this.handleAddClick, size: "xs" }))), (this.isExpanded || this.isAnimating) && (index.h("div", { key: '4df9880e7f4975b317544e9a3b18156b5590830c', class: `page-navigation-children ${this.animationClass}`, part: "children", role: "group" }, this.getParsedChildItems().map((child, index$1) => (index.h("bh-page-navigation-child", { badge: child.badge, isActive: child.isActive, key: index$1, label: child.label, onBhItemClick: () => this.handleChildClick(index$1), showBadge: child.showBadge }))))))));
|
|
159
160
|
}
|
|
160
161
|
static get watchers() { return {
|
|
161
162
|
"isExpanded": [{
|
|
@@ -172,7 +173,7 @@ const BhPageNavigationSingleLevel = class {
|
|
|
172
173
|
index.registerInstance(this, hostRef);
|
|
173
174
|
this.bhItemClick = index.createEvent(this, "bhItemClick");
|
|
174
175
|
}
|
|
175
|
-
logger =
|
|
176
|
+
logger = logger.createComponentLogger("bh-page-navigation-single-level");
|
|
176
177
|
/**
|
|
177
178
|
* Label text for the navigation item
|
|
178
179
|
*/
|
|
@@ -235,7 +236,7 @@ const BhPageNavigationSingleLevel = class {
|
|
|
235
236
|
};
|
|
236
237
|
}
|
|
237
238
|
render() {
|
|
238
|
-
return (index.h(index.Host, { key: '
|
|
239
|
+
return (index.h(index.Host, { key: 'ffa7f8fae621f03d4c069c8f335b905c35cec6fa' }, index.h("div", { key: 'de70f38734b07e9b2a3b9daee4e11c053aa73fdf', "aria-current": this.isActive ? "page" : undefined, class: this.getItemClasses(), "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), onBlur: this.handleBlur, onClick: () => this.handleClick(), onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "container", role: "button", tabIndex: 0 }, index.h("div", { key: 'd5e9efd758166f3fc2f0c66f66f8442a0cd0e192', class: "page-navigation-item-content", part: "content" }, index.h("span", { key: '3d8bb218a663ed658fb59e8cb74fe8b754130406', "aria-hidden": "true", class: "page-navigation-item-icon material-symbols-outlined", part: "icon" }, this.icon), index.h("span", { key: '6d864cb47d3daca69f451f145f85b5fa823b81e9', class: "page-navigation-item-label", part: "label" }, this.label)))));
|
|
239
240
|
}
|
|
240
241
|
};
|
|
241
242
|
BhPageNavigationSingleLevel.style = bhPageNavigationSingleLevelCss();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B6sArKsK.js');
|
|
4
|
-
var
|
|
4
|
+
var logger = require('./logger-DZionBgs.js');
|
|
5
5
|
var keyboardNavigation = require('./keyboard-navigation-C6C9tbAx.js');
|
|
6
6
|
var metrics = require('./metrics-DtkENqew.js');
|
|
7
|
+
var errorBoundary = require('./error-boundary-fNUNT0lE.js');
|
|
7
8
|
var i18n = require('./i18n-Twgo5raQ.js');
|
|
8
9
|
require('./keyboard-constants-ByvH1XTM.js');
|
|
9
10
|
|
|
@@ -18,7 +19,7 @@ const BhPageNavigation = class {
|
|
|
18
19
|
this.bhToggle = index.createEvent(this, "bhToggle");
|
|
19
20
|
}
|
|
20
21
|
get el() { return index.getElement(this); }
|
|
21
|
-
logger =
|
|
22
|
+
logger = logger.createComponentLogger("bh-page-navigation");
|
|
22
23
|
i18nUnsubscribe;
|
|
23
24
|
_i18nVersion = 0;
|
|
24
25
|
/**
|
|
@@ -141,7 +142,7 @@ const BhPageNavigation = class {
|
|
|
141
142
|
}
|
|
142
143
|
};
|
|
143
144
|
render() {
|
|
144
|
-
return (index.h(index.Host, { key: '
|
|
145
|
+
return (index.h(index.Host, { key: 'dc139f2e304e1d39a1b112faca7cbe3438154b82', onKeyDown: this.handleKeyDown }, index.h("div", { key: '8c358776ba7d8eba4689955cd16ca1891a23b060', class: "page-navigation", part: "container" }, index.h("div", { key: 'e0ccffaef211d071899db55b17f64261baf55bcc', class: "page-navigation-header", part: "header" }, index.h("h2", { key: 'aa20cdaa13d5f80590baf4b6c0ca546798f3800f', class: "page-navigation-title", part: "title" }, i18n.resolveI18n("bh-page-navigation", "navTitle", this.navTitle, "Navigation"))), index.h("nav", { key: 'b5ac929da441edf4bb5128d508302ab243cc5be1', class: "page-navigation-list", part: "list" }, this.items.map((item) => item.type === "single" ? (index.h("bh-page-navigation-single-level", { icon: item.icon, isActive: item.isActive, key: item.id, label: item.label, onBhItemClick: () => this.handleSingleLevelClick(item.id) })) : (index.h("bh-page-navigation-multi-level", { childItems: item.children || [], icon: item.icon, isExpanded: item.isExpanded, key: item.id, label: item.label, onBhChildClick: (e) => this.handleMultiLevelChildClick(item.id, e.detail), onBhToggle: () => this.handleMultiLevelToggle(item.id) })))), this.el.querySelector('[slot="bottom-button"]') && (index.h("div", { key: '00f87f12096138fafec24be173695a61634dd9ae', class: "page-navigation-footer", part: "footer" }, index.h("slot", { key: '1f5a1be10ef4e4d7048fa324b134a4af1a9c0081', name: "bottom-button" }))))));
|
|
145
146
|
}
|
|
146
147
|
static get watchers() { return {
|
|
147
148
|
"navigationItems": [{
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B6sArKsK.js');
|
|
4
|
-
var
|
|
4
|
+
var logger = require('./logger-DZionBgs.js');
|
|
5
5
|
var focusStateManager = require('./focus-state-manager-BoEvV-Lq.js');
|
|
6
6
|
var metrics = require('./metrics-DtkENqew.js');
|
|
7
|
+
var errorBoundary = require('./error-boundary-fNUNT0lE.js');
|
|
7
8
|
var i18n = require('./i18n-Twgo5raQ.js');
|
|
8
9
|
var keyboardConstants = require('./keyboard-constants-ByvH1XTM.js');
|
|
9
10
|
var idGenerator = require('./id-generator-1p5-oe0z.js');
|
|
@@ -29,7 +30,7 @@ const BhPagination = class {
|
|
|
29
30
|
index.registerInstance(this, hostRef);
|
|
30
31
|
this.bhChange = index.createEvent(this, "bhChange");
|
|
31
32
|
}
|
|
32
|
-
logger =
|
|
33
|
+
logger = logger.createComponentLogger("bh-pagination");
|
|
33
34
|
focusState = focusStateManager.createFocusStateManager();
|
|
34
35
|
i18nUnsubscribe;
|
|
35
36
|
_i18nVersion = 0;
|
|
@@ -350,10 +351,10 @@ const BhPagination = class {
|
|
|
350
351
|
"pagination-disabled": this.disabled,
|
|
351
352
|
"pagination-compact": this.compact,
|
|
352
353
|
};
|
|
353
|
-
return (index.h(index.Host, { key: '
|
|
354
|
+
return (index.h(index.Host, { key: 'd589b2ea9f5847b246c11fba873a94d559e2c54d' }, index.h("div", { key: 'ac6334183a690267b6b353383a77c78c2f5af164', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": "Pagination", class: paginationClasses, "data-focus-version": this.focusVersion, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "pagination", role: "navigation", tabIndex: this.disabled ? -1 : 0 }, index.h("div", { key: 'd3810303e27e59bb90738eedf0613373411f8b8f', class: "pagination-controls", part: "controls" }, this.showPageSize && (index.h("div", { key: '31cec839476e410aad5a83d9122d7b6d35ea10d3', "aria-label": i18n.resolveI18n("bh-pagination", "rowsPerPageLabel", this.rowsPerPageLabel, "Rows per page:"), class: "pagination-page-size", role: "group" }, index.h("span", { key: '06930e1fb13f06b3171fe0c76d1aba14d04e69f0', "aria-hidden": "true", class: "pagination-page-size-label" }, i18n.resolveI18n("bh-pagination", "rowsPerPageLabel", this.rowsPerPageLabel, "Rows per page:")), index.h("bh-select", { key: 'fe42b32ff394ca8dd4e2002dcb8103b3a19368ab', class: "pagination-select", disabled: this.disabled, onBhChange: (e) => this.handlePageSizeChange(e), options: this.pageSizeOptions.map((size) => ({
|
|
354
355
|
value: String(size),
|
|
355
356
|
label: String(size),
|
|
356
|
-
})), size: "sm", value: String(this.internalPageSize) }))), index.h("div", { key: '
|
|
357
|
+
})), size: "sm", value: String(this.internalPageSize) }))), index.h("div", { key: 'c4f4c7c46ca38c867d95ce1aab1dbcbdeb150b14', class: "pagination-nav", part: "nav" }, index.h("bh-button-icon", { key: '8c1338fe1ba4a928dea15ba223dd57f480425a0e', ariaLabel: "Go to previous page", class: "pagination-btn", disabled: !this.canGoPrevious, hierarchy: "tertiary", iconName: "chevron_left", onClick: this.goToPrevious, size: "sm" }), this.renderPageNumbers(), index.h("bh-button-icon", { key: 'c0c49d698452890b3996394ffa5b142a8f23890e', ariaLabel: "Go to next page", class: "pagination-btn", disabled: !this.canGoNext, hierarchy: "tertiary", iconName: "chevron_right", onClick: this.goToNext, size: "sm" }))), this.showItemCount && (index.h("div", { key: 'f5bc52de1ea8511b4ffc92ee5285be558c3cb633', "aria-atomic": "true", "aria-live": "polite", class: "pagination-info", part: "info" }, index.h("span", { key: '475b2a8c3eb9c9c6f992bf7d424b91538b44a5e9', class: "pagination-info-text" }, this.getInfoText()))))));
|
|
357
358
|
}
|
|
358
359
|
};
|
|
359
360
|
BhPagination.style = bhPaginationCss();
|
|
@@ -382,7 +383,7 @@ const BhSelect = class {
|
|
|
382
383
|
}
|
|
383
384
|
get el() { return index.getElement(this); }
|
|
384
385
|
internals;
|
|
385
|
-
logger =
|
|
386
|
+
logger = logger.createComponentLogger("bh-select");
|
|
386
387
|
focusState = focusStateManager.createFocusStateManager();
|
|
387
388
|
selectId = idGenerator.generateUniqueId("bh-select");
|
|
388
389
|
triggerRef;
|
|
@@ -873,7 +874,7 @@ const BhSelect = class {
|
|
|
873
874
|
width: this.menuWidth > 0 ? `${this.menuWidth}px` : undefined,
|
|
874
875
|
}
|
|
875
876
|
: { display: "none" };
|
|
876
|
-
return (index.h(index.Host, { key: '
|
|
877
|
+
return (index.h(index.Host, { key: '43f8bb5f4e255ab16856ae95df0fa99b13479168' }, index.h("div", { key: 'ff1b24b8180c0369bbbc3f5a7d80d9cc04ae4c58', class: "select-wrapper", part: "wrapper" }, this.label && (index.h("span", { key: '7999ddb59b69cc028089060abd65d39cddcc6477', class: "select-label", id: labelId, part: "label" }, this.label, this.required && (index.h("span", { key: '801a705676425d1f3894eeb088fb0d244ea6f498', "aria-hidden": "true", class: "select-required" }, "*")))), index.h("div", { key: 'f10ec8ddb06c3b7d738ee667afe3cb07c255e502', "aria-activedescendant": this.isOpen && this.activeIndex >= 0
|
|
877
878
|
? this.optionId(this.activeIndex)
|
|
878
879
|
: undefined, "aria-controls": listboxId, "aria-describedby": this.supportingText ? supportingId : undefined, "aria-disabled": this.disabled ? "true" : undefined, "aria-expanded": String(this.isOpen), "aria-haspopup": "listbox", "aria-invalid": this.error ? "true" : undefined, "aria-labelledby": this.label ? labelId : undefined, "aria-required": this.required ? "true" : undefined, class: triggerClasses, onBlur: this.handleBlur, onClick: this.toggleMenu, onFocus: this.handleFocus, onKeyDown: this.handleTriggerKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "trigger", ref: (el) => (this.triggerRef = el), role: "combobox", tabindex: this.disabled ? -1 : 0 }, !this.multiple &&
|
|
879
880
|
this.searchable &&
|
|
@@ -892,13 +893,13 @@ const BhSelect = class {
|
|
|
892
893
|
e.stopPropagation();
|
|
893
894
|
}, onInput: this.handleSearchInput, placeholder: i18n.resolveI18n("bh-select", "placeholder", this.placeholder, "Select…"), readOnly: !this.isOpen, ref: (el) => {
|
|
894
895
|
this.searchInputRef = el;
|
|
895
|
-
}, type: "text", value: this.isOpen ? this.searchQuery : (selected?.label ?? "") })) : selected ? (index.h("span", { class: "select-value" }, selected.label)) : (index.h("span", { class: "select-placeholder" }, i18n.resolveI18n("bh-select", "placeholder", this.placeholder, "Select…"))), this.clearable && hasValue && (index.h("button", { key: '
|
|
896
|
+
}, type: "text", value: this.isOpen ? this.searchQuery : (selected?.label ?? "") })) : selected ? (index.h("span", { class: "select-value" }, selected.label)) : (index.h("span", { class: "select-placeholder" }, i18n.resolveI18n("bh-select", "placeholder", this.placeholder, "Select…"))), this.clearable && hasValue && (index.h("button", { key: 'c062ac5e898db328ec3ff70daf488ecddb246238', "aria-label": "Clear selection", class: "trigger-clear", onClick: this.clearAll, tabIndex: -1, type: "button" }, index.h("span", { key: '89e0d0c5288c7c2345a3e576a006442bd7c079ae', "aria-hidden": "true", class: "material-symbols-outlined" }, "close"))), index.h("span", { key: 'a3336ce2bf823cccdae80eff7c472b259b43e51c', "aria-hidden": "true", class: "material-symbols-outlined trigger-icon" }, this.isOpen ? "expand_less" : "expand_more")), this.supportingText && (index.h("div", { key: 'd35ed101cccc3eb83a4a8fc15f2b53f4afb28773', class: {
|
|
896
897
|
"supporting-text": true,
|
|
897
898
|
"supporting-error": this.error,
|
|
898
|
-
}, id: supportingId, part: "supporting-text" }, this.supportingText)), index.h("div", { key: '
|
|
899
|
+
}, id: supportingId, part: "supporting-text" }, this.supportingText)), index.h("div", { key: '4f971a6b8303001b0036cc8d37b8fa8d31dbdb26', "aria-labelledby": this.label ? labelId : undefined, "aria-multiselectable": this.multiple ? "true" : undefined, class: {
|
|
899
900
|
"select-menu": true,
|
|
900
901
|
"animate-menu-enter": this.isOpen,
|
|
901
|
-
}, id: listboxId, part: "menu", ref: (el) => (this.menuRef = el), role: "listbox", style: menuStyle }, index.h("div", { key: '
|
|
902
|
+
}, id: listboxId, part: "menu", ref: (el) => (this.menuRef = el), role: "listbox", style: menuStyle }, index.h("div", { key: 'fe60eb6b80628bd41af456f4576ae26ac8fc8d76', class: "menu-items" }, this.displayedOptions.map((option, index$1) => {
|
|
902
903
|
const isSelected = this.multiple
|
|
903
904
|
? this.parsedValues.includes(option.value)
|
|
904
905
|
: option.value === this.value;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B6sArKsK.js');
|
|
4
|
-
var
|
|
4
|
+
var logger = require('./logger-DZionBgs.js');
|
|
5
5
|
var lifecycle = require('./lifecycle-CnkLRXH9.js');
|
|
6
6
|
var metrics = require('./metrics-DtkENqew.js');
|
|
7
|
+
var errorBoundary = require('./error-boundary-fNUNT0lE.js');
|
|
7
8
|
var timers = require('./timers-DP0qMGY7.js');
|
|
8
9
|
var i18n = require('./i18n-Twgo5raQ.js');
|
|
9
10
|
var constants = require('./constants-B93iN3Uz.js');
|
|
@@ -16,7 +17,7 @@ const BhPickerMenu = class {
|
|
|
16
17
|
this.bhChange = index.createEvent(this, "bhChange");
|
|
17
18
|
this.bhAction = index.createEvent(this, "bhAction");
|
|
18
19
|
}
|
|
19
|
-
logger =
|
|
20
|
+
logger = logger.createComponentLogger("bh-picker-menu");
|
|
20
21
|
destroy$ = lifecycle.createDestroySubjectSync();
|
|
21
22
|
i18nUnsubscribe;
|
|
22
23
|
_i18nVersion = 0;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B6sArKsK.js');
|
|
4
|
-
var
|
|
4
|
+
var logger = require('./logger-DZionBgs.js');
|
|
5
5
|
var i18n = require('./i18n-Twgo5raQ.js');
|
|
6
6
|
var metrics = require('./metrics-DtkENqew.js');
|
|
7
|
+
var errorBoundary = require('./error-boundary-fNUNT0lE.js');
|
|
7
8
|
|
|
8
9
|
const bhPieChartCss = () => ` @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"); @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } @layer bh-reset, bh-tokens, bh-base, bh-utilities; @layer bh-tokens { :root { --color-white: hsl(0, 0%, 100%); --color-black: hsl(0, 0%, 0%); --color-transparent: hsla(0, 0%, 100%, 0); --color-neutral-25: hsl(210, 20%, 99%); --color-neutral-50: hsl(225, 40%, 98%); --color-neutral-100: hsl(225, 40%, 96%); --color-neutral-200: hsl(223, 32%, 91%); --color-neutral-300: hsl(223, 29%, 84%); --color-neutral-400: hsl(224, 23%, 65%); --color-neutral-500: hsl(226, 16%, 47%); --color-neutral-600: hsl(225, 22%, 37%); --color-neutral-700: hsl(224, 25%, 27%); --color-neutral-800: hsl(226, 25%, 20%); --color-neutral-900: hsl(227, 31%, 11%); --color-neutral-950: hsl(228, 38%, 5%); --color-brand-25: hsl(220, 82%, 98%); --color-brand-50: hsl(226, 100%, 97%); --color-brand-100: hsl(223, 88%, 94%); --color-brand-200: hsl(226, 71%, 86%); --color-brand-300: hsl(227, 75%, 78%); --color-brand-400: hsl(228, 73%, 67%); --color-brand-500: hsl(230, 69%, 59%); --color-brand-600: hsl(230, 69%, 48%); --color-brand-700: hsl(230, 69%, 41%); --color-brand-800: hsl(230, 69%, 31%); --color-brand-900: hsl(230, 68%, 21%); --color-brand-950: hsl(229, 70%, 8%); --color-error-25: hsl(6, 100%, 99%); --color-error-50: hsl(6, 100%, 98%); --color-error-100: hsl(10, 100%, 93%); --color-error-200: hsl(8, 100%, 88%); --color-error-300: hsl(8, 100%, 79%); --color-error-400: hsl(10, 94%, 65%); --color-error-500: hsl(16, 100%, 48%); --color-error-600: hsl(12, 100%, 44%); --color-error-700: hsl(11, 100%, 37%); --color-error-800: hsl(10, 100%, 30%); --color-error-900: hsl(14, 100%, 25%); --color-error-950: hsl(7, 100%, 14%); --color-warning-25: hsl(47, 92%, 98%); --color-warning-50: hsl(47, 100%, 96%); --color-warning-100: hsl(48, 93%, 89%); --color-warning-200: hsl(48, 95%, 78%); --color-warning-300: hsl(46, 96%, 65%); --color-warning-400: hsl(40, 95%, 60%); --color-warning-500: hsl(33, 92%, 58%); --color-warning-600: hsl(26, 71%, 51%); --color-warning-700: hsl(21, 72%, 41%); --color-warning-800: hsl(21, 75%, 33%); --color-warning-900: hsl(21, 71%, 27%); --color-warning-950: hsl(21, 84%, 14%); --color-success-25: hsl(144, 78%, 98%); --color-success-50: hsl(138, 76%, 97%); --color-success-100: hsl(141, 78%, 93%); --color-success-200: hsl(140, 76%, 85%); --color-success-300: hsl(142, 75%, 73%); --color-success-400: hsl(143, 68%, 55%); --color-success-500: hsl(136, 57%, 49%); --color-success-600: hsl(134, 58%, 41%); --color-success-700: hsl(139, 61%, 31%); --color-success-800: hsl(143, 63%, 24%); --color-success-900: hsl(142, 54%, 19%); --color-success-950: hsl(143, 67%, 11%); --font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --weight-regular: 400; --weight-medium: 500; --weight-semibold: 600; --weight-bold: 700; --text-xl-size: 1.25rem; --text-lg-size: 1.125rem; --text-md-size: 1rem; --text-sm-size: 0.875rem; --text-xs-size: 0.75rem; --text-xl-line: 1.875rem; --text-lg-line: 1.75rem; --text-md-line: 1.5rem; --text-sm-line: 1.25rem; --text-xs-line: 1.125rem; --spacing-none: 0rem; --spacing-xxs: 0.125rem; --spacing-xs: 0.25rem; --spacing-sm: 0.375rem; --spacing-md: 0.5rem; --spacing-lg: 0.75rem; --spacing-xl: 1rem; --spacing-2xl: 1.25rem; --spacing-3xl: 1.5rem; --spacing-4xl: 2rem; --spacing-5xl: 2.5rem; --spacing-6xl: 3rem; --radius-none: 0rem; --radius-xxs: 0.125rem; --radius-xs: 0.25rem; --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.625rem; --radius-xl: 0.75rem; --radius-2xl: 1rem; --radius-3xl: 1.25rem; --radius-4xl: 1.5rem; --radius-full: 9999px; --shadow-xs: 0px 1px 2px rgba(16, 24, 40, 0.05); --shadow-sm: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06); --shadow-md: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06); --shadow-lg: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03); --shadow-xl: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03); --icon-compensation-xs-btn: calc(var(--spacing-lg) - var(--spacing-xs)); --icon-compensation-sm-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --icon-compensation-md-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --icon-compensation-lg-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --color-bg-primary: var(--color-white); --color-bg-secondary: var(--color-neutral-50); --color-bg-tertiary: var(--color-neutral-100); --color-bg-quaternary: var(--color-neutral-200); --color-bg-inverse: var(--color-neutral-900); --color-bg-interactive: var(--color-brand-600); --color-bg-interactive-hover: var(--color-brand-700); --color-bg-interactive-active: var(--color-brand-800); --color-bg-destructive: var(--color-error-600); --color-bg-destructive-hover: var(--color-error-700); --color-bg-destructive-active: var(--color-error-800); --color-bg-success: var(--color-success-700); --color-bg-success-hover: var(--color-success-800); --color-bg-warning: var(--color-warning-500); --color-bg-disabled: var(--color-neutral-200); --color-text-primary: var(--color-neutral-900); --color-text-secondary: var(--color-neutral-600); --color-text-tertiary: var(--color-neutral-500); --color-text-inverse: var(--color-white); --color-text-interactive: var(--color-brand-600); --color-text-interactive-hover: var(--color-brand-700); --color-text-error: var(--color-error-600); --color-text-success: var(--color-success-700); --color-text-warning: var(--color-warning-700); --color-text-disabled: var(--color-neutral-400); --color-border-primary: var(--color-neutral-300); --color-border-secondary: var(--color-neutral-200); --color-border-interactive: var(--color-brand-500); --color-border-error: var(--color-error-500); --color-border-success: var(--color-success-500); --color-border-disabled: var(--color-neutral-200); --color-surface-overlay: rgba(0, 0, 0, 0.5); --color-surface-elevated: var(--color-white); } } @layer bh-reset { *, *::before, *::after { box-sizing: border-box; } } @layer bh-base { .material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; } } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { display: inline-block; --bh-pie-chart-legend-gap: var(--spacing-lg, 12px); --bh-pie-chart-legend-item-gap: var(--spacing-xs, 4px); --bh-pie-chart-legend-color: var( --color-text-secondary, hsl(226deg 24% 48%) ); --bh-pie-chart-legend-font-size: var(--text-xs-size, 0.75rem); --bh-pie-chart-legend-dot-size: 8px; --bh-pie-chart-center-label-color: var( --color-text-secondary, hsl(226deg 24% 48%) ); --bh-pie-chart-center-value-color: var( --color-text-primary, hsl(233deg 33% 10%) ); --bh-pie-chart-center-value-size: var(--text-lg-size, 1.125rem); --bh-pie-chart-trend-positive-color: var( --color-text-success, hsl(152deg 82% 39%) ); --bh-pie-chart-trend-negative-color: var( --color-text-error, hsl(4deg 76% 48%) ); --bh-pie-chart-trend-neutral-color: var( --color-text-secondary, hsl(226deg 24% 48%) ); } } @layer bh-base { .pie-chart-wrapper { display: inline-flex; align-items: center; gap: var(--bh-pie-chart-legend-gap); } .pie-chart-wrapper.legend-bottom { flex-direction: column; } .pie-chart-wrapper.legend-right { flex-direction: row; } .pie-chart-container { display: inline-block; width: 160px; height: 160px; overflow: visible; position: relative; } .pie-legend { display: flex; flex-direction: column; gap: var(--bh-pie-chart-legend-item-gap); } .pie-legend-item { display: flex; align-items: center; gap: var(--bh-pie-chart-legend-item-gap); font-size: var(--bh-pie-chart-legend-font-size); color: var(--bh-pie-chart-legend-color); font-family: var(--font-inter, system-ui, sans-serif); white-space: nowrap; } .pie-legend-dot { width: var(--bh-pie-chart-legend-dot-size); height: var(--bh-pie-chart-legend-dot-size); border-radius: var(--radius-full, 9999px); flex-shrink: 0; } .pie-center-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; font-family: var(--font-inter, system-ui, sans-serif); } .pie-center-label { font-size: var(--bh-pie-chart-legend-font-size); color: var(--bh-pie-chart-center-label-color); line-height: var(--line-height-normal, 1.5); } .pie-center-value { font-size: var(--bh-pie-chart-center-value-size); font-weight: var(--weight-semibold, 600); color: var(--bh-pie-chart-center-value-color); line-height: var(--line-height-tight, 1.25); } .pie-center-trend { font-size: var(--bh-pie-chart-legend-font-size); line-height: var(--line-height-normal, 1.5); } .pie-center-trend.trend-positive { color: var(--bh-pie-chart-trend-positive-color); } .pie-center-trend.trend-negative { color: var(--bh-pie-chart-trend-negative-color); } .pie-center-trend.trend-neutral { color: var(--bh-pie-chart-trend-neutral-color); } .pie-chart-svg { width: 100%; height: 100%; overflow: visible; } .pie-segment { cursor: pointer; transition: opacity var(--animation-duration-fast, 0.1s) var(--animation-ease-smooth, ease); transform-origin: 80px 80px; } .pie-background { pointer-events: none; } .pie-inner-hole { pointer-events: none; } .pie-segment-group { pointer-events: auto; } } @layer bh-variants { .pie-segment.animated { opacity: 0; transform: scale(0.3) rotate(-180deg); animation: pieSliceReveal 0.8s var(--animation-ease-enter, ease-out) forwards; } } @layer bh-states { .pie-segment:hover { opacity: 0.85; transform: scale(1.05); filter: brightness(1.1); transition: all var(--animation-duration-fast, 0.1s) var(--animation-ease-smooth, ease); } } @layer bh-utilities { @keyframes pieSliceReveal { 0% { opacity: 0; transform: scale(0.3) rotate(-180deg); } 15% { opacity: 0.2; transform: scale(0.45) rotate(-135deg); } 30% { opacity: 0.5; transform: scale(0.7) rotate(-70deg); } 45% { opacity: 0.7; transform: scale(0.9) rotate(-25deg); } 60% { opacity: 0.85; transform: scale(1.05) rotate(-8deg); } 80% { opacity: 0.95; transform: scale(1.01) rotate(-1deg); } 100% { opacity: 1; transform: scale(1) rotate(0deg); } } @media (prefers-reduced-motion: reduce) { .pie-segment.animated { animation: none; opacity: 1; transform: none; } } }`;
|
|
9
10
|
|
|
@@ -70,7 +71,7 @@ const BhPieChart = class {
|
|
|
70
71
|
tooltipX = 0;
|
|
71
72
|
tooltipY = 0;
|
|
72
73
|
tooltipSegment = null;
|
|
73
|
-
logger =
|
|
74
|
+
logger = logger.createComponentLogger("bh-pie-chart");
|
|
74
75
|
i18nUnsubscribe;
|
|
75
76
|
_i18nVersion = 0;
|
|
76
77
|
/**
|
|
@@ -287,12 +288,12 @@ const BhPieChart = class {
|
|
|
287
288
|
render() {
|
|
288
289
|
const segments = this.getSegments();
|
|
289
290
|
const innerRadius = this.getInnerRadius();
|
|
290
|
-
return (index.h(index.Host, { key: '
|
|
291
|
+
return (index.h(index.Host, { key: '32e213722ad430ed2b9e4b235d44d43893a0640a' }, index.h("div", { key: 'd3d031c4e3b35f84cdd11f3f91f235b190a89dfb', class: {
|
|
291
292
|
"pie-chart-wrapper": true,
|
|
292
293
|
[`legend-${this.legendPosition}`]: this.showLegend,
|
|
293
|
-
} }, index.h("div", { key: '
|
|
294
|
+
} }, index.h("div", { key: '6e465a575be22db278fa1d7a4292bbf50075007b', class: "pie-chart-container", part: "container", style: { width: `${this.size}px`, height: `${this.size}px` } }, index.h("svg", { key: 'a0abc090cb119e67b7dfb17ab403a3add4e34e1a', "aria-label": i18n.resolveI18n("bh-pie-chart", "ariaLabel", undefined, "Pie chart"), class: "pie-chart-svg", height: this.size, role: "img", viewBox: "0 0 160 160", width: this.size }, index.h("circle", { key: '3e9d942315f0c22c637d5e76dcabf3a300e7b0a7', class: "pie-background", cx: "80", cy: "80", fill: "transparent", r: "80" }), segments.map((segment, index$1) => (index.h("g", { class: "pie-segment-group", key: index$1 }, index.h("path", { class: { "pie-segment": true, animated: this.animated }, d: segment.path, fill: segment.color, onClick: (e) => this.handleSegmentClick(e, segment), onMouseEnter: (e) => this.handleSegmentHover(e, segment), onMouseLeave: (e) => this.handleSegmentLeave(e, segment), style: {
|
|
294
295
|
animationDelay: this.animated ? `${index$1 * 0.03}s` : "0s",
|
|
295
|
-
} })))), this.hole !== "none" && (index.h("circle", { key: '
|
|
296
|
+
} })))), this.hole !== "none" && (index.h("circle", { key: '6b1fbf81da9588ab088329c32bf3aa9b3d29f2f4', class: "pie-inner-hole", cx: "80", cy: "80", fill: "white", r: innerRadius }))), this.renderCenterText()), this.renderLegend(segments)), index.h("bh-chart-tooltip", { key: '39bce63e5b0eab31b002a481b6e9dc9580ce211a', "aria-hidden": this.tooltipVisible ? undefined : "true", items: this.tooltipSegment
|
|
296
297
|
? [
|
|
297
298
|
{
|
|
298
299
|
label: this.tooltipSegment.name,
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B6sArKsK.js');
|
|
4
4
|
var bhPivotGrid_dnd = require('./bh-pivot-grid.dnd-BiY6AToS.js');
|
|
5
|
-
var
|
|
5
|
+
var logger = require('./logger-DZionBgs.js');
|
|
6
6
|
var metrics = require('./metrics-DtkENqew.js');
|
|
7
|
+
var errorBoundary = require('./error-boundary-fNUNT0lE.js');
|
|
7
8
|
var i18n = require('./i18n-Twgo5raQ.js');
|
|
8
9
|
|
|
9
10
|
const bhPivotGridFieldChooserCss = () => `@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;box-sizing:border-box;--bh-pivot-grid-field-chooser-border-color:var(--color-neutral-200);--bh-pivot-grid-field-chooser-header-text:var(--color-neutral-600);--bh-pivot-grid-field-chooser-chip-bg:var(--color-white);--bh-pivot-grid-field-chooser-chip-radius:var(--radius-xs);--bh-pivot-grid-field-chooser-drop-zone-bg:var(--color-brand-100)}}.field-chooser-root{display:flex;flex-direction:column;gap:var(--spacing-xl);padding:var(--spacing-lg);font-family:var(--font-inter);color:var(--bh-pivot-grid-cell-text)}.field-chooser-areas{display:flex;flex-direction:column;gap:var(--spacing-lg)}.field-chooser-area{display:flex;align-items:center;gap:var(--spacing-md);min-height:var(--bh-button-height-sm)}.field-chooser-area-label{font-size:var(--text-xs-size);font-weight:var(--weight-semibold);line-height:var(--text-xs-line);color:var(--bh-pivot-grid-field-chooser-header-text);min-width:var(--bh-pivot-grid-filter-trigger-min-width);flex-shrink:0}.field-chooser-chips{display:flex;flex-wrap:wrap;gap:var(--spacing-xs);min-height:var(--bh-button-height-sm);padding:var(--spacing-xxs) 0}.field-chooser-chip{display:inline-flex;align-items:center;padding:var(--spacing-xxs) var(--spacing-md);font-size:var(--text-xs-size);line-height:var(--text-xs-line);border-radius:var(--bh-pivot-grid-field-chooser-chip-radius);background:var(--bh-pivot-grid-field-chooser-chip-bg);border:1px solid var(--bh-pivot-grid-field-chooser-border-color);color:var(--bh-pivot-grid-cell-text);user-select:none;transition:background-color var(--animation-duration-fast) ease}.field-chooser-chip[draggable=true]{cursor:grab}:host([aria-disabled=true]) .field-chooser-chip{cursor:not-allowed;opacity:0.6}.field-chooser-drop-zone-active{background:var(--bh-pivot-grid-field-chooser-drop-zone-bg);border-radius:var(--bh-pivot-grid-field-chooser-chip-radius);min-height:var(--bh-button-height-md)}.field-chooser-footer{display:flex;justify-content:flex-end;gap:var(--spacing-md);padding-top:var(--spacing-md);border-top:1px solid var(--bh-pivot-grid-field-chooser-border-color)}.field-chooser-btn{display:inline-flex;align-items:center;justify-content:center;padding:var(--spacing-sm) var(--spacing-lg);font-family:var(--font-inter);font-size:var(--text-sm-size);line-height:var(--text-sm-line);font-weight:var(--weight-medium);border-radius:var(--radius-xs);border:1px solid var(--bh-pivot-grid-field-chooser-border-color);background:var(--bh-pivot-grid-field-chooser-chip-bg);color:var(--bh-pivot-grid-cell-text);cursor:pointer;transition:background-color var(--animation-duration-fast) ease}.field-chooser-btn:hover:not(:disabled){background:var(--bh-pivot-grid-hover-bg)}.field-chooser-btn-primary{background:var(--color-bg-interactive);border-color:var(--color-bg-interactive);color:var(--color-text-inverse)}.field-chooser-btn-primary:hover:not(:disabled){background:var(--color-bg-interactive-hover);border-color:var(--color-bg-interactive-hover)}`;
|
|
@@ -24,7 +25,7 @@ const BhPivotGridFieldChooser = class {
|
|
|
24
25
|
this.bhReady = index.createEvent(this, "bhReady");
|
|
25
26
|
this.bhError = index.createEvent(this, "bhError");
|
|
26
27
|
}
|
|
27
|
-
logger =
|
|
28
|
+
logger = logger.createComponentLogger("bh-pivot-grid-field-chooser");
|
|
28
29
|
// ---------------------------------------------------------------------------
|
|
29
30
|
// Props
|
|
30
31
|
// ---------------------------------------------------------------------------
|
|
@@ -179,9 +180,9 @@ const BhPivotGridFieldChooser = class {
|
|
|
179
180
|
render() {
|
|
180
181
|
const t = this.t;
|
|
181
182
|
const showApplyBar = this.applyChangesMode === "onDemand" && !this.disabled;
|
|
182
|
-
return (index.h(index.Host, { key: '
|
|
183
|
+
return (index.h(index.Host, { key: '160bca86a8a6ed39db89caf216f7488b79adb53a', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": i18n.resolveI18n("bh-pivot-grid-field-chooser", "ariaLabel", undefined, "Pivot grid field chooser"), class: {
|
|
183
184
|
"field-chooser-on-demand": this.applyChangesMode === "onDemand",
|
|
184
|
-
} }, index.h("div", { key: '
|
|
185
|
+
} }, index.h("div", { key: 'dc9212b713e3f624fc4301e7b7f0f700b19acc46', class: "field-chooser-root" }, index.h("div", { key: '57c0ebbf3e46b6c4bc65b957053842242bba24c7', class: "field-chooser-areas" }, this.renderArea("row", t.rowFields ?? "Row Fields"), this.renderArea("column", t.columnFields ?? "Column Fields"), this.renderArea("data", t.dataFields ?? "Data Fields"), this.renderArea("filter", t.filterFields ?? "Filter Fields")), showApplyBar && (index.h("div", { key: 'd86dada751587c7d2fe1c942a275a4a46b048598', class: "field-chooser-footer" }, index.h("button", { key: 'f4214fc1bce9748079ff58c675ab6d4c9161942a', class: "field-chooser-btn", onClick: this.resetPending, type: "button" }, t.cancel ?? "Cancel"), index.h("button", { key: '77812e2d497ccc04c28d9d0c273ec532239d7e57', class: "field-chooser-btn field-chooser-btn-primary", onClick: this.applyPending, type: "button" }, t.ok ??
|
|
185
186
|
i18n.resolveI18n("bh-pivot-grid-field-chooser", "applyLabel", undefined, "Apply")))))));
|
|
186
187
|
}
|
|
187
188
|
static get watchers() { return {
|