@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,513 @@
|
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
|
2
|
+
import { BellhopI18n, createComponentLogger, createDismissalManager, resolveI18n, } from "../../../utils";
|
|
3
|
+
export class BhNotificationCenter {
|
|
4
|
+
logger = createComponentLogger("bh-notification-center");
|
|
5
|
+
dismissalManager;
|
|
6
|
+
i18nUnsubscribe;
|
|
7
|
+
_i18nVersion = 0;
|
|
8
|
+
el;
|
|
9
|
+
/**
|
|
10
|
+
* Notifications to display (array or JSON string). Read/unread state is
|
|
11
|
+
* held internally after load; re-assigning the prop re-syncs it.
|
|
12
|
+
*/
|
|
13
|
+
notifications = [];
|
|
14
|
+
/**
|
|
15
|
+
* Whether the panel is open. Reflects so consumers can read/drive it.
|
|
16
|
+
* Ignored in inline display, where the panel always renders in place.
|
|
17
|
+
*/
|
|
18
|
+
open = false;
|
|
19
|
+
/**
|
|
20
|
+
* Presentation: "popover" renders the bell trigger with a floating,
|
|
21
|
+
* dismissable panel; "inline" renders the panel in place (no bell,
|
|
22
|
+
* no dismissal) for pages and side panels.
|
|
23
|
+
*/
|
|
24
|
+
display = "popover";
|
|
25
|
+
/**
|
|
26
|
+
* Panel header title. Allows i18n.
|
|
27
|
+
*/
|
|
28
|
+
headerTitle = "Notifications";
|
|
29
|
+
/**
|
|
30
|
+
* Mark-all-read button label. Allows i18n.
|
|
31
|
+
*/
|
|
32
|
+
markAllLabel = "Mark all as read";
|
|
33
|
+
/**
|
|
34
|
+
* Empty-state message. Allows i18n.
|
|
35
|
+
*/
|
|
36
|
+
emptyMessage = "You're all caught up";
|
|
37
|
+
/**
|
|
38
|
+
* "All" filter tab label. Allows i18n.
|
|
39
|
+
*/
|
|
40
|
+
filterAllLabel = "All";
|
|
41
|
+
/**
|
|
42
|
+
* "Unread" filter tab label. Allows i18n.
|
|
43
|
+
*/
|
|
44
|
+
filterUnreadLabel = "Unread";
|
|
45
|
+
/**
|
|
46
|
+
* Accessible label for the bell trigger. Allows i18n.
|
|
47
|
+
*/
|
|
48
|
+
bellAriaLabel = "Notifications";
|
|
49
|
+
items = [];
|
|
50
|
+
filter = "all";
|
|
51
|
+
/**
|
|
52
|
+
* Emitted when the panel opens.
|
|
53
|
+
*/
|
|
54
|
+
bhOpen;
|
|
55
|
+
/**
|
|
56
|
+
* Emitted when the panel closes.
|
|
57
|
+
*/
|
|
58
|
+
bhClose;
|
|
59
|
+
/**
|
|
60
|
+
* Emitted when read state changes. Detail carries the ids marked read in
|
|
61
|
+
* this change and the remaining unread count.
|
|
62
|
+
*/
|
|
63
|
+
bhChange;
|
|
64
|
+
/**
|
|
65
|
+
* Emitted when a notification is clicked.
|
|
66
|
+
*/
|
|
67
|
+
bhItemClick;
|
|
68
|
+
syncFromProp() {
|
|
69
|
+
this.items = this.parseNotifications();
|
|
70
|
+
}
|
|
71
|
+
handleOpenChange(isOpen) {
|
|
72
|
+
if (isOpen) {
|
|
73
|
+
this.dismissalManager?.enable();
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
this.dismissalManager?.disable();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
componentWillLoad() {
|
|
80
|
+
this.items = this.parseNotifications();
|
|
81
|
+
this.i18nUnsubscribe = BellhopI18n.onLocaleChange(() => {
|
|
82
|
+
this._i18nVersion++;
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
componentDidLoad() {
|
|
86
|
+
if (this.display === "inline") {
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
this.dismissalManager = createDismissalManager(this.el, {
|
|
90
|
+
onDismiss: () => this.setOpen(false),
|
|
91
|
+
escapeKey: true,
|
|
92
|
+
clickOutside: true,
|
|
93
|
+
focusLoss: false,
|
|
94
|
+
});
|
|
95
|
+
if (this.open) {
|
|
96
|
+
this.dismissalManager.enable();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
disconnectedCallback() {
|
|
100
|
+
this.dismissalManager?.destroy();
|
|
101
|
+
this.i18nUnsubscribe?.();
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Mark a single notification as read.
|
|
105
|
+
*/
|
|
106
|
+
async markRead(id) {
|
|
107
|
+
this.applyRead(this.items.filter((n) => n.id === id && !n.read));
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Mark every notification as read.
|
|
111
|
+
*/
|
|
112
|
+
async markAllRead() {
|
|
113
|
+
this.applyRead(this.items.filter((n) => !n.read));
|
|
114
|
+
}
|
|
115
|
+
parseNotifications() {
|
|
116
|
+
if (typeof this.notifications !== "string") {
|
|
117
|
+
return this.notifications.map((n) => ({ ...n }));
|
|
118
|
+
}
|
|
119
|
+
if (this.notifications.trim() === "") {
|
|
120
|
+
return [];
|
|
121
|
+
}
|
|
122
|
+
try {
|
|
123
|
+
return JSON.parse(this.notifications);
|
|
124
|
+
}
|
|
125
|
+
catch (error) {
|
|
126
|
+
this.logger.error("Invalid notifications JSON", error instanceof Error ? error : new Error(String(error)));
|
|
127
|
+
return [];
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
applyRead(toMark) {
|
|
131
|
+
if (toMark.length === 0) {
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
const readIds = toMark.map((n) => n.id);
|
|
135
|
+
this.items = this.items.map((n) => readIds.includes(n.id) ? { ...n, read: true } : n);
|
|
136
|
+
this.bhChange.emit({ readIds, unreadCount: this.unreadCount() });
|
|
137
|
+
}
|
|
138
|
+
unreadCount() {
|
|
139
|
+
return this.items.filter((n) => !n.read).length;
|
|
140
|
+
}
|
|
141
|
+
visibleItems() {
|
|
142
|
+
return this.filter === "unread"
|
|
143
|
+
? this.items.filter((n) => !n.read)
|
|
144
|
+
: this.items;
|
|
145
|
+
}
|
|
146
|
+
setOpen(isOpen) {
|
|
147
|
+
if (this.open === isOpen) {
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
this.open = isOpen;
|
|
151
|
+
if (isOpen) {
|
|
152
|
+
this.bhOpen.emit();
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
this.bhClose.emit();
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
handleBellClick = () => {
|
|
159
|
+
this.setOpen(!this.open);
|
|
160
|
+
};
|
|
161
|
+
handleItemClick = (notification) => {
|
|
162
|
+
this.bhItemClick.emit(notification);
|
|
163
|
+
this.applyRead(this.items.filter((n) => n.id === notification.id && !n.read));
|
|
164
|
+
};
|
|
165
|
+
t(key, propValue, fallback) {
|
|
166
|
+
return resolveI18n("bh-notification-center", key, propValue, fallback);
|
|
167
|
+
}
|
|
168
|
+
renderTrigger(unread) {
|
|
169
|
+
const bellLabel = this.t("bellAriaLabel", this.bellAriaLabel, "Notifications");
|
|
170
|
+
return (h("div", { class: "trigger", part: "trigger" }, h("bh-button-icon", { ariaLabel: unread > 0 ? `${bellLabel} (${unread})` : bellLabel, hierarchy: "tertiary", iconName: "notifications", onClick: this.handleBellClick, size: "sm" }), unread > 0 && (h("bh-badge", { class: "icon-badge-count", emphasis: "high", label: String(unread), size: "sm", variant: "error" }))));
|
|
171
|
+
}
|
|
172
|
+
render() {
|
|
173
|
+
const unread = this.unreadCount();
|
|
174
|
+
const visible = this.visibleItems();
|
|
175
|
+
const isInline = this.display === "inline";
|
|
176
|
+
const showPanel = isInline || this.open;
|
|
177
|
+
return (h(Host, { key: '1cec4c416a7dc25a5eb5f6ba1596315d86c50271' }, !isInline && this.renderTrigger(unread), showPanel && (h("div", { key: 'eae2068a2a56f938c04bd5be6eac8885de8db987', "aria-label": this.t("headerTitle", this.headerTitle, "Notifications"), class: { panel: true, "panel-inline": isInline }, part: "panel", role: isInline ? "region" : "dialog" }, h("div", { key: '2990d636c1ea32f28df29e84d60da4ddc8325960', class: "panel-header", part: "header" }, h("span", { key: 'c0b9291e8dbb52ebde5f62e95eedb646569f075d', class: "panel-title" }, this.t("headerTitle", this.headerTitle, "Notifications")), unread > 0 && (h("bh-button", { key: '76217c3ca371df29bf782af9c04a6113ecdda805', hierarchy: "tertiary", label: this.t("markAllLabel", this.markAllLabel, "Mark all as read"), onClick: () => this.markAllRead(), size: "sm" }))), h("div", { key: '696ebb7f1ba24de12b98a32f519abc71fd7dcd54', class: "filters", part: "filters", role: "tablist" }, ["all", "unread"].map((f) => (h("button", { "aria-selected": this.filter === f ? "true" : "false", class: { filter: true, active: this.filter === f }, "data-filter": f, onClick: () => {
|
|
178
|
+
this.filter = f;
|
|
179
|
+
}, role: "tab", type: "button" }, f === "all"
|
|
180
|
+
? this.t("filterAllLabel", this.filterAllLabel, "All")
|
|
181
|
+
: this.t("filterUnreadLabel", this.filterUnreadLabel, "Unread"))))), visible.length === 0 ? (h("div", { class: "empty", part: "empty" }, this.t("emptyMessage", this.emptyMessage, "You're all caught up"))) : (h("bh-activity-feed", { class: "feed", divider: "line", flush: true, part: "list", type: "notifications" }, visible.map((n) => (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" })))))))));
|
|
182
|
+
}
|
|
183
|
+
static get is() { return "bh-notification-center"; }
|
|
184
|
+
static get encapsulation() { return "shadow"; }
|
|
185
|
+
static get originalStyleUrls() {
|
|
186
|
+
return {
|
|
187
|
+
"$": ["bh-notification-center.scss"]
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
static get styleUrls() {
|
|
191
|
+
return {
|
|
192
|
+
"$": ["bh-notification-center.css"]
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
static get properties() {
|
|
196
|
+
return {
|
|
197
|
+
"notifications": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"mutable": false,
|
|
200
|
+
"complexType": {
|
|
201
|
+
"original": "BhNotification[] | string",
|
|
202
|
+
"resolved": "BhNotification[] | string",
|
|
203
|
+
"references": {
|
|
204
|
+
"BhNotification": {
|
|
205
|
+
"location": "local",
|
|
206
|
+
"path": "/home/runner/work/bellhop/bellhop/packages/bellhop-core/src/components/bh-appbar/bh-notification-center/bh-notification-center.tsx",
|
|
207
|
+
"id": "src/components/bh-appbar/bh-notification-center/bh-notification-center.tsx::BhNotification"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"required": false,
|
|
212
|
+
"optional": false,
|
|
213
|
+
"docs": {
|
|
214
|
+
"tags": [],
|
|
215
|
+
"text": "Notifications to display (array or JSON string). Read/unread state is\nheld internally after load; re-assigning the prop re-syncs it."
|
|
216
|
+
},
|
|
217
|
+
"getter": false,
|
|
218
|
+
"setter": false,
|
|
219
|
+
"reflect": false,
|
|
220
|
+
"attribute": "notifications",
|
|
221
|
+
"defaultValue": "[]"
|
|
222
|
+
},
|
|
223
|
+
"open": {
|
|
224
|
+
"type": "boolean",
|
|
225
|
+
"mutable": true,
|
|
226
|
+
"complexType": {
|
|
227
|
+
"original": "boolean",
|
|
228
|
+
"resolved": "boolean",
|
|
229
|
+
"references": {}
|
|
230
|
+
},
|
|
231
|
+
"required": false,
|
|
232
|
+
"optional": false,
|
|
233
|
+
"docs": {
|
|
234
|
+
"tags": [],
|
|
235
|
+
"text": "Whether the panel is open. Reflects so consumers can read/drive it.\nIgnored in inline display, where the panel always renders in place."
|
|
236
|
+
},
|
|
237
|
+
"getter": false,
|
|
238
|
+
"setter": false,
|
|
239
|
+
"reflect": true,
|
|
240
|
+
"attribute": "open",
|
|
241
|
+
"defaultValue": "false"
|
|
242
|
+
},
|
|
243
|
+
"display": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"mutable": false,
|
|
246
|
+
"complexType": {
|
|
247
|
+
"original": "\"popover\" | \"inline\"",
|
|
248
|
+
"resolved": "\"inline\" | \"popover\"",
|
|
249
|
+
"references": {}
|
|
250
|
+
},
|
|
251
|
+
"required": false,
|
|
252
|
+
"optional": false,
|
|
253
|
+
"docs": {
|
|
254
|
+
"tags": [],
|
|
255
|
+
"text": "Presentation: \"popover\" renders the bell trigger with a floating,\ndismissable panel; \"inline\" renders the panel in place (no bell,\nno dismissal) for pages and side panels."
|
|
256
|
+
},
|
|
257
|
+
"getter": false,
|
|
258
|
+
"setter": false,
|
|
259
|
+
"reflect": true,
|
|
260
|
+
"attribute": "display",
|
|
261
|
+
"defaultValue": "\"popover\""
|
|
262
|
+
},
|
|
263
|
+
"headerTitle": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"mutable": false,
|
|
266
|
+
"complexType": {
|
|
267
|
+
"original": "string",
|
|
268
|
+
"resolved": "string",
|
|
269
|
+
"references": {}
|
|
270
|
+
},
|
|
271
|
+
"required": false,
|
|
272
|
+
"optional": false,
|
|
273
|
+
"docs": {
|
|
274
|
+
"tags": [],
|
|
275
|
+
"text": "Panel header title. Allows i18n."
|
|
276
|
+
},
|
|
277
|
+
"getter": false,
|
|
278
|
+
"setter": false,
|
|
279
|
+
"reflect": false,
|
|
280
|
+
"attribute": "header-title",
|
|
281
|
+
"defaultValue": "\"Notifications\""
|
|
282
|
+
},
|
|
283
|
+
"markAllLabel": {
|
|
284
|
+
"type": "string",
|
|
285
|
+
"mutable": false,
|
|
286
|
+
"complexType": {
|
|
287
|
+
"original": "string",
|
|
288
|
+
"resolved": "string",
|
|
289
|
+
"references": {}
|
|
290
|
+
},
|
|
291
|
+
"required": false,
|
|
292
|
+
"optional": false,
|
|
293
|
+
"docs": {
|
|
294
|
+
"tags": [],
|
|
295
|
+
"text": "Mark-all-read button label. Allows i18n."
|
|
296
|
+
},
|
|
297
|
+
"getter": false,
|
|
298
|
+
"setter": false,
|
|
299
|
+
"reflect": false,
|
|
300
|
+
"attribute": "mark-all-label",
|
|
301
|
+
"defaultValue": "\"Mark all as read\""
|
|
302
|
+
},
|
|
303
|
+
"emptyMessage": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"mutable": false,
|
|
306
|
+
"complexType": {
|
|
307
|
+
"original": "string",
|
|
308
|
+
"resolved": "string",
|
|
309
|
+
"references": {}
|
|
310
|
+
},
|
|
311
|
+
"required": false,
|
|
312
|
+
"optional": false,
|
|
313
|
+
"docs": {
|
|
314
|
+
"tags": [],
|
|
315
|
+
"text": "Empty-state message. Allows i18n."
|
|
316
|
+
},
|
|
317
|
+
"getter": false,
|
|
318
|
+
"setter": false,
|
|
319
|
+
"reflect": false,
|
|
320
|
+
"attribute": "empty-message",
|
|
321
|
+
"defaultValue": "\"You're all caught up\""
|
|
322
|
+
},
|
|
323
|
+
"filterAllLabel": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"mutable": false,
|
|
326
|
+
"complexType": {
|
|
327
|
+
"original": "string",
|
|
328
|
+
"resolved": "string",
|
|
329
|
+
"references": {}
|
|
330
|
+
},
|
|
331
|
+
"required": false,
|
|
332
|
+
"optional": false,
|
|
333
|
+
"docs": {
|
|
334
|
+
"tags": [],
|
|
335
|
+
"text": "\"All\" filter tab label. Allows i18n."
|
|
336
|
+
},
|
|
337
|
+
"getter": false,
|
|
338
|
+
"setter": false,
|
|
339
|
+
"reflect": false,
|
|
340
|
+
"attribute": "filter-all-label",
|
|
341
|
+
"defaultValue": "\"All\""
|
|
342
|
+
},
|
|
343
|
+
"filterUnreadLabel": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"mutable": false,
|
|
346
|
+
"complexType": {
|
|
347
|
+
"original": "string",
|
|
348
|
+
"resolved": "string",
|
|
349
|
+
"references": {}
|
|
350
|
+
},
|
|
351
|
+
"required": false,
|
|
352
|
+
"optional": false,
|
|
353
|
+
"docs": {
|
|
354
|
+
"tags": [],
|
|
355
|
+
"text": "\"Unread\" filter tab label. Allows i18n."
|
|
356
|
+
},
|
|
357
|
+
"getter": false,
|
|
358
|
+
"setter": false,
|
|
359
|
+
"reflect": false,
|
|
360
|
+
"attribute": "filter-unread-label",
|
|
361
|
+
"defaultValue": "\"Unread\""
|
|
362
|
+
},
|
|
363
|
+
"bellAriaLabel": {
|
|
364
|
+
"type": "string",
|
|
365
|
+
"mutable": false,
|
|
366
|
+
"complexType": {
|
|
367
|
+
"original": "string",
|
|
368
|
+
"resolved": "string",
|
|
369
|
+
"references": {}
|
|
370
|
+
},
|
|
371
|
+
"required": false,
|
|
372
|
+
"optional": false,
|
|
373
|
+
"docs": {
|
|
374
|
+
"tags": [],
|
|
375
|
+
"text": "Accessible label for the bell trigger. Allows i18n."
|
|
376
|
+
},
|
|
377
|
+
"getter": false,
|
|
378
|
+
"setter": false,
|
|
379
|
+
"reflect": false,
|
|
380
|
+
"attribute": "bell-aria-label",
|
|
381
|
+
"defaultValue": "\"Notifications\""
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
static get states() {
|
|
386
|
+
return {
|
|
387
|
+
"_i18nVersion": {},
|
|
388
|
+
"items": {},
|
|
389
|
+
"filter": {}
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
static get events() {
|
|
393
|
+
return [{
|
|
394
|
+
"method": "bhOpen",
|
|
395
|
+
"name": "bhOpen",
|
|
396
|
+
"bubbles": true,
|
|
397
|
+
"cancelable": true,
|
|
398
|
+
"composed": true,
|
|
399
|
+
"docs": {
|
|
400
|
+
"tags": [],
|
|
401
|
+
"text": "Emitted when the panel opens."
|
|
402
|
+
},
|
|
403
|
+
"complexType": {
|
|
404
|
+
"original": "void",
|
|
405
|
+
"resolved": "void",
|
|
406
|
+
"references": {}
|
|
407
|
+
}
|
|
408
|
+
}, {
|
|
409
|
+
"method": "bhClose",
|
|
410
|
+
"name": "bhClose",
|
|
411
|
+
"bubbles": true,
|
|
412
|
+
"cancelable": true,
|
|
413
|
+
"composed": true,
|
|
414
|
+
"docs": {
|
|
415
|
+
"tags": [],
|
|
416
|
+
"text": "Emitted when the panel closes."
|
|
417
|
+
},
|
|
418
|
+
"complexType": {
|
|
419
|
+
"original": "void",
|
|
420
|
+
"resolved": "void",
|
|
421
|
+
"references": {}
|
|
422
|
+
}
|
|
423
|
+
}, {
|
|
424
|
+
"method": "bhChange",
|
|
425
|
+
"name": "bhChange",
|
|
426
|
+
"bubbles": true,
|
|
427
|
+
"cancelable": true,
|
|
428
|
+
"composed": true,
|
|
429
|
+
"docs": {
|
|
430
|
+
"tags": [],
|
|
431
|
+
"text": "Emitted when read state changes. Detail carries the ids marked read in\nthis change and the remaining unread count."
|
|
432
|
+
},
|
|
433
|
+
"complexType": {
|
|
434
|
+
"original": "{ readIds: string[]; unreadCount: number }",
|
|
435
|
+
"resolved": "{ readIds: string[]; unreadCount: number; }",
|
|
436
|
+
"references": {}
|
|
437
|
+
}
|
|
438
|
+
}, {
|
|
439
|
+
"method": "bhItemClick",
|
|
440
|
+
"name": "bhItemClick",
|
|
441
|
+
"bubbles": true,
|
|
442
|
+
"cancelable": true,
|
|
443
|
+
"composed": true,
|
|
444
|
+
"docs": {
|
|
445
|
+
"tags": [],
|
|
446
|
+
"text": "Emitted when a notification is clicked."
|
|
447
|
+
},
|
|
448
|
+
"complexType": {
|
|
449
|
+
"original": "BhNotification",
|
|
450
|
+
"resolved": "{ id: string; title: string; body?: string | undefined; timestamp?: string | undefined; read?: boolean | undefined; icon?: string | undefined; author?: string | undefined; }",
|
|
451
|
+
"references": {
|
|
452
|
+
"BhNotification": {
|
|
453
|
+
"location": "local",
|
|
454
|
+
"path": "/home/runner/work/bellhop/bellhop/packages/bellhop-core/src/components/bh-appbar/bh-notification-center/bh-notification-center.tsx",
|
|
455
|
+
"id": "src/components/bh-appbar/bh-notification-center/bh-notification-center.tsx::BhNotification"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}];
|
|
460
|
+
}
|
|
461
|
+
static get methods() {
|
|
462
|
+
return {
|
|
463
|
+
"markRead": {
|
|
464
|
+
"complexType": {
|
|
465
|
+
"signature": "(id: string) => Promise<void>",
|
|
466
|
+
"parameters": [{
|
|
467
|
+
"name": "id",
|
|
468
|
+
"type": "string",
|
|
469
|
+
"docs": ""
|
|
470
|
+
}],
|
|
471
|
+
"references": {
|
|
472
|
+
"Promise": {
|
|
473
|
+
"location": "global",
|
|
474
|
+
"id": "global::Promise"
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"return": "Promise<void>"
|
|
478
|
+
},
|
|
479
|
+
"docs": {
|
|
480
|
+
"text": "Mark a single notification as read.",
|
|
481
|
+
"tags": []
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"markAllRead": {
|
|
485
|
+
"complexType": {
|
|
486
|
+
"signature": "() => Promise<void>",
|
|
487
|
+
"parameters": [],
|
|
488
|
+
"references": {
|
|
489
|
+
"Promise": {
|
|
490
|
+
"location": "global",
|
|
491
|
+
"id": "global::Promise"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"return": "Promise<void>"
|
|
495
|
+
},
|
|
496
|
+
"docs": {
|
|
497
|
+
"text": "Mark every notification as read.",
|
|
498
|
+
"tags": []
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
};
|
|
502
|
+
}
|
|
503
|
+
static get elementRef() { return "el"; }
|
|
504
|
+
static get watchers() {
|
|
505
|
+
return [{
|
|
506
|
+
"propName": "notifications",
|
|
507
|
+
"methodName": "syncFromProp"
|
|
508
|
+
}, {
|
|
509
|
+
"propName": "open",
|
|
510
|
+
"methodName": "handleOpenChange"
|
|
511
|
+
}];
|
|
512
|
+
}
|
|
513
|
+
}
|
|
@@ -85,7 +85,7 @@ export class BhAvatarAdd {
|
|
|
85
85
|
};
|
|
86
86
|
const resolvedTooltip = resolveI18n("bh-avatar-add", "tooltipText", this.tooltipText, "Add user");
|
|
87
87
|
const shouldShowTooltip = this.showTooltip && this.focusState.isHovered && !this.disabled;
|
|
88
|
-
return (h("div", { key: '
|
|
88
|
+
return (h("div", { key: 'bce336b3645e8d130a24430571bbfee554d33323', "aria-disabled": this.disabled ? "true" : undefined, class: "avatar-add-container", "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), part: "container" }, h("button", { key: '76829e70788fe42c5b7f73b3654c36178b20c12e', "aria-label": resolvedTooltip, class: buttonClasses, disabled: this.disabled, onBlur: this.handleBlur, onClick: this.handleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "button", type: "button" }, h("span", { key: 'e28793543a5908553024a4a828829adbe8a9737c', class: "avatar-add-content", part: "content" }, h("span", { key: '959ac30b33d0e34c447bf03d66a66036e3fb0e99', class: "material-symbols-outlined avatar-add-icon", part: "icon" }, "add"))), this.showTooltip && (h("bh-tooltip", { key: 'd9a5c6a07456c45646c9383dc802c66fcec5cf82', placement: "bottom", text: resolvedTooltip, visible: shouldShowTooltip }))));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "bh-avatar-add"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class BhAvatarStacked {
|
|
|
118
118
|
const getStackedOffsetStyle = (hasItems) => ({
|
|
119
119
|
marginLeft: hasItems ? `-${offset}px` : "0",
|
|
120
120
|
});
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '362579a44a7aca27baf18bc48f0a74356f518a53' }, h("div", { key: 'e71ce5bcb57961c1662b6d4c6fd6422ac0d4fa92', class: `avatar-stacked avatar-stacked-${this.size}`, part: "container" }, visibleAvatars.map((avatar, index) => (h("div", { class: "avatar-item", key: `avatar-${index}`, onMouseEnter: () => this.handleAvatarMouseEnter(index), onMouseLeave: this.handleAvatarMouseLeave, style: getOffsetStyle(index) }, h("bh-avatar", { alt: avatar.text || "Avatar", imageSrc: avatar.imageSrc, size: this.size, text: avatar.text || "?", variant: this.mapAvatarType(avatar.type) }), avatar.tooltipText && (h("bh-tooltip", { placement: "bottom", text: avatar.tooltipText, visible: this.hoveredIndex === index }))))), showCountAvatar && (h("div", { key: 'd5d1fea3392c84fa8eba0ef87db9e1da3221ad73', class: "avatar-item", style: getStackedOffsetStyle(hasVisibleAvatars) }, h("bh-avatar", { key: '7df4ff15b80d56e56d504b9c4062d68e83dd1ab3', alt: `${remainingCount} more`, size: this.size, text: `+${remainingCount}`, variant: "text" }))), this.showAddButton && (h("div", { key: '31e64a100a3ff8d86ceda5c3f884033d72d79495', class: "avatar-item", onMouseEnter: this.handleAddButtonMouseEnter, onMouseLeave: this.handleAddButtonMouseLeave, style: getStackedOffsetStyle(hasVisibleAvatars || showCountAvatar) }, h("bh-avatar-add", { key: 'd01d98af39f2f648b10d8f7b61337d325ac9d976', showTooltip: true, size: this.size, tooltipText: resolveI18n("bh-avatar-stacked", "addTooltipText", this.addTooltipText, "Add member") }))))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "bh-avatar-stacked"; }
|
|
124
124
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
@keyframes spin {
|
|
2
3
|
from {
|
|
3
4
|
transform: rotate(0deg);
|
|
@@ -35,10 +36,15 @@
|
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
@layer bh-base {
|
|
38
|
-
/* Base Avatar
|
|
39
|
+
/* Base Avatar.
|
|
40
|
+
display: flex (not inline-flex) — an inline-level circle sits on the
|
|
41
|
+
host's text baseline, and with a replaced <img> inside that baseline
|
|
42
|
+
is the image bottom, adding descender space below (48px avatar
|
|
43
|
+
measured 54.5px tall in the image variant only). The host is
|
|
44
|
+
inline-block, so inline placement is unaffected. */
|
|
39
45
|
.avatar {
|
|
40
46
|
position: relative;
|
|
41
|
-
display:
|
|
47
|
+
display: flex;
|
|
42
48
|
align-items: center;
|
|
43
49
|
justify-content: center;
|
|
44
50
|
border-radius: 50%;
|
|
@@ -157,9 +157,9 @@ export class BhAvatar {
|
|
|
157
157
|
offline: this.status === "offline",
|
|
158
158
|
},
|
|
159
159
|
});
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'bce13fcc8525b9f59594fb42bee6f558e3136c6e' }, h("div", { key: '8ef438c16d8d4ad9eb891520c3eb9d789ef12292', "aria-disabled": this.interactive && this.disabled ? "true" : undefined, "aria-expanded": this.interactive && this.hasPopup
|
|
161
161
|
? String(this.expanded)
|
|
162
|
-
: undefined, "aria-haspopup": this.interactive && this.hasPopup ? "true" : undefined, "aria-label": resolvedAlt, class: avatarClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "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: "avatar", role: this.interactive ? "button" : "img", tabIndex: this.interactive && !this.disabled ? 0 : undefined }, h("div", { key: '
|
|
162
|
+
: undefined, "aria-haspopup": this.interactive && this.hasPopup ? "true" : undefined, "aria-label": resolvedAlt, class: avatarClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "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: "avatar", role: this.interactive ? "button" : "img", tabIndex: this.interactive && !this.disabled ? 0 : undefined }, h("div", { key: '4728b822f9a8cefa8472bbc9b783437790a48500', class: "avatar-border", part: "border" }), h("div", { key: '397d4e222f3a3926c074b12a13c865b33ce69390', class: "avatar-content", part: "content" }, this.variant === "image" && (h("img", { key: '74da499c751fc5d80aba3f0c1a9f00153e57456e', alt: resolvedAlt, class: "avatar-image", part: "image", src: this.imageSrc })), this.variant === "placeholder" && (h("span", { key: 'debf868bb69baa20abf28304038422c22c5730e4', class: `material-symbols-outlined avatar-placeholder-icon ${this.getIconSizeClass()}`, part: "placeholder-icon" }, "person")), this.variant === "text" && (h("span", { key: '6380c21f54fba6c8c87ed240c4e30f8720a7c2a3', class: `avatar-text ${this.getTextSizeClass()}`, part: "text" }, this.text))), hasStatus && h("div", { key: '47767ec350de25983eecac327195a365a2ad57ff', class: statusClasses, part: "status" }))));
|
|
163
163
|
}
|
|
164
164
|
static get is() { return "bh-avatar"; }
|
|
165
165
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class BhBadgeDot {
|
|
|
29
29
|
[`badge-dot-${this.color}`]: true,
|
|
30
30
|
"badge-dot-outline": this.outline,
|
|
31
31
|
};
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '358a84d2c1db399a89eac842afeb9de7f410a054' }, h("div", { key: '07df236d30ee7e4ec222e8c009856a83147fe798', "aria-hidden": "true", class: dotClasses, part: "dot", role: "presentation" })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "bh-badge-dot"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -119,12 +119,12 @@ export class BhBadge {
|
|
|
119
119
|
const iconColorClass = `badge-icon-${activeColor}-${this.emphasis}`;
|
|
120
120
|
const isDot = this.icon === DOT_ICON_NAME;
|
|
121
121
|
const hasIcon = Boolean(this.icon);
|
|
122
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: '6110746e6cc85b6e623abd53dbeb1b1360485329' }, h("span", { key: '1adae843f5065e81285130644690a76140501004', "aria-disabled": this.disabled ? "true" : undefined, class: badgeClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "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: "badge", role: "status", tabIndex: this.dismissible && !this.disabled ? 0 : -1 }, hasIcon && (h("span", { key: '71f8499d7b4a14d8dcbfe204243deb9ac5079238', class: {
|
|
123
123
|
"material-symbols-outlined": true,
|
|
124
124
|
[iconColorClass]: true,
|
|
125
125
|
"badge-icon-dot": isDot,
|
|
126
126
|
"badge-icon-custom": !isDot,
|
|
127
|
-
} }, isDot ? DOT_MATERIAL_SYMBOL : this.icon)), this.label && h("span", { key: '
|
|
127
|
+
} }, isDot ? DOT_MATERIAL_SYMBOL : this.icon)), this.label && h("span", { key: '9a1cc6cf8d657aff65b0f08bc9e4c9a6e515a8dd', class: "badge-label" }, this.label), this.dismissible && (h("button", { key: '4f6d182fa10dc21f862757c43bf3e39cafd5bbe7', "aria-label": resolveI18n("bh-badge", "dismissAriaLabel", undefined, "Dismiss"), class: "badge-dismiss", disabled: this.disabled, onClick: this.handleDismiss, part: "dismiss-button", type: "button" }, h("span", { key: '5065a67791d6190446f4f55a0ab6f29f35bbccbc', class: `material-symbols-outlined badge-dismiss-icon ${iconColorClass}` }, "close"))))));
|
|
128
128
|
}
|
|
129
129
|
static get is() { return "bh-badge"; }
|
|
130
130
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,11 +54,11 @@ export class BhBanner {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const hasMedia = !!this.imageSrc;
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'f61560c82138e3fccc2a3a9236f5235ecb1847b2' }, h("div", { key: '8a8f37d7a59cbdb6e04f7a3d60d53a108ed63a79', "aria-label": this.heading || "Banner", class: {
|
|
58
58
|
banner: true,
|
|
59
59
|
[`banner-${this.variant}`]: true,
|
|
60
60
|
"banner-with-media": hasMedia,
|
|
61
|
-
}, part: "container", role: "region" }, hasMedia && this.renderMedia(), h("div", { key: '
|
|
61
|
+
}, part: "container", role: "region" }, hasMedia && this.renderMedia(), h("div", { key: 'a5378ca0755d8fa23b940a4c8893590b139005db', class: "banner-content", part: "content" }, h("div", { key: '943dfa074273d6de8ef68706c1c6305878fac47b', class: "banner-body", part: "body" }, h("div", { key: 'c40d87d74a11df3b512e37476f968334cf733081', class: "banner-text", part: "text" }, this.heading && (h("h3", { key: 'f251f4f656b2e75bd8ccfc13f707f73e40c60bd9', class: "banner-heading", part: "heading" }, this.heading)), this.description && (h("p", { key: '322110ba3ab9c0c02bfbc4fcd4bae618c3cbbecb', class: "banner-description", part: "description" }, this.description))), h("slot", { key: 'cfd8adc5a3a8f299cb95381910282ae111fcfba9' })), h("div", { key: 'e62fd391857817eae156462efd7e07a4883944d6', class: "banner-actions", onClick: this.handleActionClick, part: "actions" }, h("slot", { key: '48372d95fc2273890c42e80c9cf16489ca0727ad', name: "actions" }))), this.showDismiss && (h("bh-close-button", { key: 'fa47fbe26e433dadc2d1d7523a1667686c93c41c', ariaLabel: resolveI18n("bh-banner", "dismissAriaLabel", this.dismissAriaLabel, "Dismiss banner"), onClick: this.handleDismiss })))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "bh-banner"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|