@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
|
@@ -4,8 +4,9 @@ import { c as createFocusStateManager, g as getFocusStateClasses } from './focus
|
|
|
4
4
|
import { t as timer$Sync } from './timers-Bf0qW3wI.js';
|
|
5
5
|
import { a as isActionKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
6
6
|
import { A as ANIMATION_DURATIONS } from './constants-BoVgy_Ao.js';
|
|
7
|
-
import { c as createComponentLogger
|
|
7
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
8
8
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
9
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
9
10
|
import './keyboard-constants-zdFuIabL.js';
|
|
10
11
|
|
|
11
12
|
const bhAccordionItemCss = () => `@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:flex;flex-direction:column;width:100%;--bh-accordion-item-bg:var(--color-bg-primary);--bh-accordion-item-border-color:var(--color-border-secondary);--bh-accordion-item-hover-bg:var(--color-bg-secondary);--bh-accordion-item-focus-ring:var(--color-border-interactive);--bh-accordion-item-title-color:var(--color-text-primary);--bh-accordion-item-icon-color:var(--color-text-tertiary);background-color:var(--bh-accordion-item-bg)}}@layer bh-base{.accordion-header{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-xl);padding:var(--spacing-xl) var(--spacing-2xl);cursor:pointer;background-color:var(--bh-accordion-item-bg);border:none;border-bottom:1px solid var(--bh-accordion-item-border-color);transition:background-color var(--animation-duration-fast) ease}.accordion-header-content{display:flex;flex-direction:column;gap:var(--spacing-xxs);flex:1;min-width:0}.accordion-title{font-family:var(--font-inter);font-size:var(--text-md-size);font-weight:var(--weight-semibold);line-height:var(--line-height-normal);color:var(--bh-accordion-item-title-color)}.accordion-icon{display:flex;align-items:center;justify-content:center;width:var(--icon-size-lg);height:var(--icon-size-lg);font-size:var(--icon-size-lg);color:var(--bh-accordion-item-icon-color);transition:transform var(--animation-duration-normal) ease;flex-shrink:0}.accordion-content{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--animation-duration-normal) ease;overflow:hidden}.accordion-content-inner{min-height:0;overflow:hidden}}@layer bh-states{:host(.accordion-item-expanded) .accordion-header{border-bottom-color:transparent}:host(.accordion-item-expanded) .accordion-content{grid-template-rows:1fr}:host(.accordion-item-expanded) .accordion-content-inner{padding:var(--spacing-xl) var(--spacing-2xl) var(--spacing-2xl);border-bottom:1px solid var(--bh-accordion-item-border-color)}:host(.accordion-item-disabled){opacity:0.5;pointer-events:none}:host(.accordion-item-disabled) .accordion-header{cursor:not-allowed}:host(.accordion-item-animating) .accordion-content-inner{overflow:hidden}.accordion-header:hover{background-color:var(--bh-accordion-item-hover-bg)}.accordion-header:focus{outline:none}.accordion-header:focus-visible{outline:2px solid var(--bh-accordion-item-focus-ring);outline-offset:-2px}}`;
|
|
@@ -117,7 +118,7 @@ const BhAccordionItem = class {
|
|
|
117
118
|
...(this.disabled ? {} : focusClasses),
|
|
118
119
|
};
|
|
119
120
|
const iconName = this.expanded ? ICON_EXPANDED : ICON_COLLAPSED;
|
|
120
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: 'd82a922b41f625b1248368c17a2110d21750fbc5', class: hostClasses }, h("div", { key: '687ee90838c80ca143a8d09ad0fcde037cdf5c82', "aria-controls": `content-${this.value}`, "aria-disabled": this.disabled ? "true" : "false", "aria-expanded": this.expanded ? "true" : "false", class: headerClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": String(this.focusState.isFocused), "data-hovered": String(this.focusState.isHovered), id: `header-${this.value}`, onBlur: this.handleBlur, onClick: this.handleHeaderClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "header", role: "button", tabindex: this.disabled ? -1 : 0 }, h("div", { key: 'd49e9935d195158dc6650174ac026c085d7c89e4', class: "accordion-header-content" }, h("span", { key: 'a001b08616eb0aee016872d245b90a2170ac9648', class: "accordion-title", part: "title" }, this.header)), h("span", { key: '83904edf776736ecff2e9e2f100003ed900a4a25', class: "accordion-icon material-symbols-outlined", part: "icon" }, iconName)), h("div", { key: '320ecef3a9c68f018814e7a452177add0d54b6b3', "aria-hidden": this.expanded ? "false" : "true", "aria-labelledby": `header-${this.value}`, class: "accordion-content", id: `content-${this.value}`, part: "content", role: "region" }, h("div", { key: '64b99758e415308056f49dfc781da4b401161ff5', class: "accordion-content-inner" }, h("slot", { key: 'e7d64ed9ad3d1d3be99e6eaa9b03136b90e63bd0' })))));
|
|
121
122
|
}
|
|
122
123
|
static get watchers() { return {
|
|
123
124
|
"expanded": [{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, a as getElement, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
3
3
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
4
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
4
5
|
|
|
5
6
|
const bhAccordionCss = () => `@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;width:100%;--bh-accordion-bg:var(--color-bg-primary)}}@layer bh-base{.accordion-container{display:flex;flex-direction:column;width:100%;background-color:var(--bh-accordion-bg)}}@layer bh-variants{.accordion-single .accordion-container{}.accordion-multiple .accordion-container{}}`;
|
|
6
7
|
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
3
|
+
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
4
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
5
|
+
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
6
|
+
import { a as isActionKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
7
|
+
import './keyboard-constants-zdFuIabL.js';
|
|
8
|
+
|
|
9
|
+
const bhActivityFeedCss = () => `@charset "UTF-8";@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;font-family:var(--font-inter);--bh-activity-feed-bg:var(--color-bg-primary);--bh-activity-feed-border:var(--color-border-secondary);--bh-activity-feed-header-bg:var(--color-bg-primary);--bh-activity-feed-header-border:var(--color-border-secondary);--bh-activity-feed-divider-color:var(--color-border-secondary);--bh-activity-feed-heading-color:var(--color-text-primary);--bh-activity-feed-connector-color:var(--color-border-secondary);--bh-activity-feed-connector-width:2px}}@layer bh-base{.activity-feed{display:flex;flex-direction:column;background:var(--bh-activity-feed-bg);width:100%}.activity-feed-header{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-xl);border-bottom:1px solid var(--bh-activity-feed-header-border);background:var(--bh-activity-feed-header-bg)}.activity-feed-header-content{display:flex;align-items:center;gap:var(--spacing-md);flex:1;min-width:0}.header-icon{font-family:"Material Symbols Outlined";font-weight:normal;font-style:normal;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-smoothing:antialiased;font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;font-size:var(--icon-size-md);color:var(--bh-activity-feed-heading-color)}.activity-feed-heading{font-size:var(--text-lg-size);font-weight:var(--weight-semibold);line-height:var(--text-lg-line);color:var(--bh-activity-feed-heading-color);margin:0}.activity-feed-list{display:flex;flex-direction:column;overflow-y:auto;padding:var(--spacing-lg)}}@layer bh-variants{.activity-feed-divider-line .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){border-bottom:1px solid var(--bh-activity-feed-divider-color);padding-bottom:var(--spacing-xl);margin-bottom:var(--spacing-xl)}.activity-feed-flush .activity-feed-list{padding:0}.activity-feed-flush.activity-feed-divider-line .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){padding-bottom:0;margin-bottom:0}.activity-feed-divider-divider .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){border-bottom:1px solid var(--bh-activity-feed-divider-color);padding-bottom:var(--spacing-2xl);margin-bottom:var(--spacing-2xl)}.activity-feed-divider-connector .activity-feed-list ::slotted(bh-feed-item){margin-bottom:0}.activity-feed-divider-none .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){margin-bottom:var(--spacing-xl)}.activity-feed-messages .activity-feed-list ::slotted(bh-feed-item:not(:last-child)){margin-bottom:var(--spacing-2xl)}.activity-feed-with-header{border:1px solid var(--bh-activity-feed-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);overflow:hidden}}`;
|
|
10
|
+
|
|
11
|
+
const COMPONENT_NAME$1 = "bh-activity-feed";
|
|
12
|
+
const BhActivityFeed = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
registerInstance(this, hostRef);
|
|
15
|
+
this.bhClose = createEvent(this, "bhClose");
|
|
16
|
+
}
|
|
17
|
+
logger = createComponentLogger(COMPONENT_NAME$1);
|
|
18
|
+
i18nUnsubscribe;
|
|
19
|
+
_i18nVersion = 0;
|
|
20
|
+
/** Type of feed content: notifications (compact) or messages (chat-style) */
|
|
21
|
+
type = "notifications";
|
|
22
|
+
/** Divider style between feed items */
|
|
23
|
+
divider = "none";
|
|
24
|
+
/** Whether to show a header with title and close button */
|
|
25
|
+
showHeader = false;
|
|
26
|
+
/** Header title text (e.g. "Notifications") */
|
|
27
|
+
heading = "";
|
|
28
|
+
/** Material icon name for the header icon */
|
|
29
|
+
headerIcon = "";
|
|
30
|
+
/** Maximum height for the scrollable feed area (CSS value, e.g. "400px") */
|
|
31
|
+
maxHeight = "";
|
|
32
|
+
/**
|
|
33
|
+
* Edge-to-edge list: removes the list padding and inter-item margins so
|
|
34
|
+
* item backgrounds and dividers span the full container width — for
|
|
35
|
+
* panel-style surfaces like notification centers.
|
|
36
|
+
*/
|
|
37
|
+
flush = false;
|
|
38
|
+
/** Accessible label for the close button. Allows i18n. */
|
|
39
|
+
closeAriaLabel = "Close";
|
|
40
|
+
/** Emitted when the close button is clicked */
|
|
41
|
+
bhClose;
|
|
42
|
+
componentDidCatch(error) {
|
|
43
|
+
this.logger.error("Component error caught", error instanceof Error ? error : new Error(String(error)));
|
|
44
|
+
metrics.increment(MetricNames.COMPONENT_ERROR, {
|
|
45
|
+
component: COMPONENT_NAME$1,
|
|
46
|
+
error_type: error instanceof Error ? error.name : "unknown",
|
|
47
|
+
});
|
|
48
|
+
reportComponentError(COMPONENT_NAME$1, error);
|
|
49
|
+
}
|
|
50
|
+
componentWillLoad() {
|
|
51
|
+
this.i18nUnsubscribe = BellhopI18n.onLocaleChange(() => {
|
|
52
|
+
this._i18nVersion++;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
disconnectedCallback() {
|
|
56
|
+
this.i18nUnsubscribe?.();
|
|
57
|
+
}
|
|
58
|
+
handleClose = () => {
|
|
59
|
+
this.bhClose.emit();
|
|
60
|
+
};
|
|
61
|
+
renderHeader() {
|
|
62
|
+
if (!this.showHeader)
|
|
63
|
+
return null;
|
|
64
|
+
return (h("div", { class: "activity-feed-header", part: "header" }, h("div", { class: "activity-feed-header-content" }, this.headerIcon && (h("span", { class: "header-icon" }, h("bh-featured-icon", { color: "gray", icon: this.headerIcon, "icon-style": "outlined", size: "md" }))), this.heading && (h("h2", { class: "activity-feed-heading", part: "heading" }, this.heading)), h("slot", { name: "header-actions" })), h("bh-close-button", { ariaLabel: resolveI18n(COMPONENT_NAME$1, "closeAriaLabel", this.closeAriaLabel, "Close"), onClick: this.handleClose })));
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
const feedStyle = this.maxHeight ? { "max-height": this.maxHeight } : {};
|
|
68
|
+
return (h(Host, { key: '0a631e358bb25ec3d4a21d8b6cc2d86c91a0dca4' }, h("div", { key: '9e5eddafb5bd043acfdf54af7bd6dbeb4569d961', class: {
|
|
69
|
+
"activity-feed": true,
|
|
70
|
+
[`activity-feed-${this.type}`]: true,
|
|
71
|
+
[`activity-feed-divider-${this.divider}`]: true,
|
|
72
|
+
"activity-feed-with-header": this.showHeader,
|
|
73
|
+
"activity-feed-flush": this.flush,
|
|
74
|
+
}, part: "container" }, this.renderHeader(), h("div", { key: '6647af1dce5d657c05bd8dce423842d690426275', "aria-label": this.heading || "Activity feed", class: "activity-feed-list", part: "list", role: "feed", style: feedStyle }, h("slot", { key: '65cf6330ac0cfb361145d0c28396f2d5cfb739cc' })))));
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
BhActivityFeed.style = bhActivityFeedCss();
|
|
78
|
+
|
|
79
|
+
const bhFeedItemCss = () => `@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:block;font-family:var(--font-inter);--bh-feed-item-author-color:var(--color-text-primary);--bh-feed-item-timestamp-color:var(--color-text-tertiary);--bh-feed-item-text-color:var(--color-text-secondary);--bh-feed-item-connector-color:var(--color-border-secondary);--bh-feed-item-connector-width:2px;--bh-feed-item-bubble-border:var(--color-border-secondary);--bh-feed-item-bubble-shadow:var(--shadow-xs)}}@layer bh-base{.feed-item{display:flex;align-items:flex-start;gap:var(--spacing-lg);position:relative;width:100%}.feed-item-avatar-col{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-xs);flex-shrink:0}.feed-item-icon-col{display:flex;align-items:flex-start;flex-shrink:0}.feed-item-avatar-col-connector{align-self:stretch;padding-bottom:var(--spacing-xs)}.feed-item-avatar{flex-shrink:0}.feed-item-connector{flex:1;width:var(--bh-feed-item-connector-width);min-height:1px;background:var(--bh-feed-item-connector-color);border-radius:var(--spacing-xxs)}.feed-item-content{display:flex;flex-direction:column;flex:1;min-width:0;min-height:1px;gap:var(--spacing-lg)}.feed-item-content-with-connector{padding-bottom:var(--spacing-4xl)}.feed-item-content-no-supporting{gap:0}.feed-item-header{display:flex;flex-direction:column;gap:0;width:100%}.feed-item-meta{display:flex;align-items:center;gap:var(--spacing-md);width:100%}.feed-item-author{font-size:var(--text-sm-size);font-weight:var(--weight-medium);line-height:var(--line-height-normal);color:var(--bh-feed-item-author-color);flex-shrink:0}.feed-item-timestamp{font-size:var(--text-xs-size);font-weight:var(--weight-regular);line-height:var(--text-xs-line);color:var(--bh-feed-item-timestamp-color);flex-shrink:0}.feed-item-text{font-size:var(--text-sm-size);font-weight:var(--weight-regular);line-height:var(--line-height-normal);color:var(--bh-feed-item-text-color);width:100%;word-wrap:break-word}.feed-item-supporting{width:100%}.feed-item-dot{flex-shrink:0;display:flex;align-items:flex-start;padding-top:var(--spacing-xs)}}@layer bh-variants{.feed-item-sm .feed-item-avatar ::slotted(*){width:var(--bh-avatar-size-sm);height:var(--bh-avatar-size-sm)}.feed-item-md .feed-item-avatar ::slotted(*){width:var(--bh-avatar-size-md);height:var(--bh-avatar-size-md)}.feed-item-supporting-text ::slotted(*){border:1px solid var(--bh-feed-item-bubble-border);border-radius:0 var(--spacing-md) var(--spacing-md) var(--spacing-md);padding:var(--spacing-lg);box-shadow:var(--bh-feed-item-bubble-shadow);font-size:var(--text-sm-size);line-height:var(--line-height-normal);color:var(--color-text-secondary)}.feed-item-supporting-file ::slotted(*){display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md) var(--spacing-lg);border:1px solid var(--color-border-secondary);border-radius:var(--radius-md);background:var(--color-bg-primary)}.feed-item-supporting-labels ::slotted(*){display:flex;flex-wrap:wrap;gap:var(--spacing-sm)}}@layer bh-states{.feed-item{cursor:pointer}}`;
|
|
80
|
+
|
|
81
|
+
const COMPONENT_NAME = "bh-feed-item";
|
|
82
|
+
const BhFeedItem = class {
|
|
83
|
+
constructor(hostRef) {
|
|
84
|
+
registerInstance(this, hostRef);
|
|
85
|
+
this.bhClick = createEvent(this, "bhClick");
|
|
86
|
+
}
|
|
87
|
+
logger = createComponentLogger(COMPONENT_NAME);
|
|
88
|
+
/** Author name displayed in the feed item */
|
|
89
|
+
author = "";
|
|
90
|
+
/** Timestamp text (e.g. "2 mins ago") */
|
|
91
|
+
timestamp = "";
|
|
92
|
+
/**
|
|
93
|
+
* Plain text content fallback. For rich content with inline links
|
|
94
|
+
* (as shown in Figma), use the default slot instead:
|
|
95
|
+
* `<bh-feed-item><span>Invited <a href="#">Name</a></span></bh-feed-item>`
|
|
96
|
+
*/
|
|
97
|
+
content = "";
|
|
98
|
+
/** Size variant */
|
|
99
|
+
size = "md";
|
|
100
|
+
/** Whether to show the vertical connector line */
|
|
101
|
+
showConnector = false;
|
|
102
|
+
/** Whether to show the new/unread status dot */
|
|
103
|
+
showDot = false;
|
|
104
|
+
/** Whether to show the subtext (timestamp) */
|
|
105
|
+
showSubtext = true;
|
|
106
|
+
/** Type of supporting content below the main text */
|
|
107
|
+
supportingContent = "none";
|
|
108
|
+
/**
|
|
109
|
+
* Item flavor: "user" renders the avatar/author column; "system" is a
|
|
110
|
+
* sender-less message (notifications, audit events) with an optional
|
|
111
|
+
* icon column instead.
|
|
112
|
+
*/
|
|
113
|
+
variant = "user";
|
|
114
|
+
/** Material Symbols icon shown in place of the avatar (system variant) */
|
|
115
|
+
icon;
|
|
116
|
+
/**
|
|
117
|
+
* Bold heading text rendered where the author name sits. When set it
|
|
118
|
+
* wins over `author` (which still drives the avatar) — e.g. a user
|
|
119
|
+
* notification titled "New comment" sent by Chris. Required for
|
|
120
|
+
* system items, which have no author.
|
|
121
|
+
*/
|
|
122
|
+
itemTitle;
|
|
123
|
+
/** Emitted when the feed item is clicked */
|
|
124
|
+
bhClick;
|
|
125
|
+
componentDidCatch(error) {
|
|
126
|
+
this.logger.error("Component error caught", error instanceof Error ? error : new Error(String(error)));
|
|
127
|
+
metrics.increment(MetricNames.COMPONENT_ERROR, {
|
|
128
|
+
component: COMPONENT_NAME,
|
|
129
|
+
error_type: error instanceof Error ? error.name : "unknown",
|
|
130
|
+
});
|
|
131
|
+
reportComponentError(COMPONENT_NAME, error);
|
|
132
|
+
}
|
|
133
|
+
getInitials() {
|
|
134
|
+
return this.author
|
|
135
|
+
.split(" ")
|
|
136
|
+
.map((word) => word.charAt(0))
|
|
137
|
+
.join("")
|
|
138
|
+
.toUpperCase()
|
|
139
|
+
.slice(0, 2);
|
|
140
|
+
}
|
|
141
|
+
handleClick = () => {
|
|
142
|
+
this.bhClick.emit();
|
|
143
|
+
};
|
|
144
|
+
handleKeyDown = (event) => {
|
|
145
|
+
if (isActionKey(event)) {
|
|
146
|
+
event.preventDefault();
|
|
147
|
+
this.bhClick.emit();
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
render() {
|
|
151
|
+
const hasSupportingContent = this.supportingContent !== "none";
|
|
152
|
+
return (h(Host, { key: 'c236a43e36605b1769858667ff7046ca659dbf8a' }, h("div", { key: 'b3bbc51636b33ab2db63bc3ae049ec683d344159', "aria-label": this.variant === "system"
|
|
153
|
+
? this.itemTitle || "Notification"
|
|
154
|
+
: this.author
|
|
155
|
+
? `Feed item from ${this.author}`
|
|
156
|
+
: "Feed item", class: {
|
|
157
|
+
"feed-item": true,
|
|
158
|
+
[`feed-item-${this.size}`]: true,
|
|
159
|
+
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown, part: "container", role: "article", tabindex: 0 }, this.variant === "system" ? (this.icon && (h("div", { class: "feed-item-icon-col", part: "icon-column" }, h("bh-featured-icon", { class: "feed-item-icon", color: "brand", icon: this.icon, part: "icon", size: this.size === "sm" ? "sm" : "md" })))) : (h("div", { class: {
|
|
160
|
+
"feed-item-avatar-col": true,
|
|
161
|
+
"feed-item-avatar-col-connector": this.showConnector,
|
|
162
|
+
}, part: "avatar-column" }, h("div", { class: "feed-item-avatar", part: "avatar" }, h("slot", { name: "avatar" }, this.author && (h("bh-avatar", { size: this.size === "sm" ? "sm" : "md", text: this.getInitials(), variant: "text" })))), this.showConnector && (h("div", { class: "feed-item-connector", part: "connector" })))), h("div", { key: '45bf8238ad5b012d7cb66127e5b519c56a28fbd0', class: {
|
|
163
|
+
"feed-item-content": true,
|
|
164
|
+
"feed-item-content-with-connector": this.showConnector && hasSupportingContent,
|
|
165
|
+
"feed-item-content-no-supporting": !hasSupportingContent,
|
|
166
|
+
}, part: "content" }, h("div", { key: 'bc295befb3b4c2d1596499c1e4611c4f7d8eb959', class: "feed-item-header", part: "header" }, h("div", { key: '7c2253540cae0b97cb205fe1753c5dbaaa3b5e83', class: "feed-item-meta", part: "meta" }, (this.itemTitle || this.author) && (h("span", { key: '16990d09e3e477031180420c53d56fa9093a4397', class: "feed-item-author", part: "author" }, this.itemTitle || this.author)), this.showSubtext && this.timestamp && (h("span", { key: '7c31c0e8e80d85c12351ec061d88a0e3a5238296', class: "feed-item-timestamp", part: "timestamp" }, this.timestamp))), h("div", { key: '70f12d1eb6c8af4e2a421859e631b7c073d721fd', class: "feed-item-text", part: "text" }, h("slot", { key: '064ca607229d49a25477d9166abc6ecd515d8213' }, this.content))), hasSupportingContent && (h("div", { key: '8c334fcf61af0f2084b85ea3ab960f3d8740246b', class: `feed-item-supporting feed-item-supporting-${this.supportingContent}`, part: "supporting" }, h("slot", { key: 'c2e97890f6b6787c72c522c4c8af4fa88be3715e', name: "supporting" })))), this.showDot && (h("div", { key: 'fc40de69cc7312dd15f103f606e0797bfb1de003', class: "feed-item-dot", part: "dot" }, h("bh-badge-dot", { key: 'e7a4fde08499915ffee1a2b6145fbcf7176168f1', color: "success", size: this.size }))))));
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
BhFeedItem.style = bhFeedItemCss();
|
|
170
|
+
|
|
171
|
+
export { BhActivityFeed as bh_activity_feed, BhFeedItem as bh_feed_item };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger, r as reportComponentError } from './error-boundary-YLeLKAYJ.js';
|
|
3
|
-
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
4
2
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
3
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
4
|
+
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
5
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
5
6
|
import { i as isEscapeKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
6
7
|
import './keyboard-constants-zdFuIabL.js';
|
|
7
8
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
3
3
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
4
4
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
5
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
5
6
|
|
|
6
|
-
const bhAppbarCss = () => `@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } :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 { --bh-appbar-bg: var(--color-bg-primary); --bh-appbar-border-color: var(--color-border-secondary); --bh-appbar-logo-color: var(--color-text-interactive); } } @layer bh-base { .appbar { display: flex; align-items: center; justify-content: space-between; height: var(--bh-avatar-size-xl);
|
|
7
|
+
const bhAppbarCss = () => `@charset "UTF-8"; @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } :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 { --bh-appbar-bg: var(--color-bg-primary); --bh-appbar-border-color: var(--color-border-secondary); --bh-appbar-logo-color: var(--color-text-interactive); } } @layer bh-base { .appbar { display: flex; align-items: center; justify-content: space-between; height: var(--bh-avatar-size-xl); padding: 0 var(--spacing-xl) 0 var(--spacing-sm); background-color: var(--bh-appbar-bg); border-bottom: 1px solid var(--bh-appbar-border-color); font-family: var(--font-inter); position: sticky; top: 0; z-index: var(--bh-z-index-fixed); box-sizing: border-box; user-select: none; } .left-section { display: flex; align-items: center; gap: var(--spacing-xl); flex-shrink: 0; } .logo { display: flex; align-items: center; justify-content: center; width: var(--spacing-5xl); height: var(--spacing-5xl); color: var(--bh-appbar-logo-color); } .logo-image { width: var(--icon-size-3xl); height: var(--icon-size-3xl); object-fit: contain; } .right-section { display: flex; align-items: center; gap: var(--spacing-md); flex-shrink: 0; } ::slotted([slot=actions]) { display: flex; align-items: center; gap: var(--spacing-md); } .icon-button-wrapper { position: relative; } .icon-badge-dot { position: absolute; top: calc(-1 * var(--spacing-md)); right: var(--spacing-xxs); } .icon-badge-count { position: absolute; top: var(--bh-corner-badge-count-offset, calc(-1.5 * var(--spacing-sm))); right: var(--bh-corner-badge-count-offset, calc(-1.5 * var(--spacing-sm))); opacity: 0.8; pointer-events: none; } .icon-badge-count:hover { opacity: 1; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } } @layer bh-utilities { @media (max-width: 768px) { .appbar { padding: 0 var(--spacing-xl); } .left-section { gap: var(--spacing-lg); } } @media (max-width: 480px) { .appbar { padding: 0 var(--spacing-lg); } .right-section { gap: var(--spacing-xs); } } }`;
|
|
7
8
|
|
|
8
9
|
const BhAppbar = class {
|
|
9
10
|
constructor(hostRef) {
|
|
@@ -51,6 +52,42 @@ const BhAppbar = class {
|
|
|
51
52
|
* Show the home icon in the breadcrumb trail
|
|
52
53
|
*/
|
|
53
54
|
showBreadcrumbHome = true;
|
|
55
|
+
/**
|
|
56
|
+
* Show the built-in calendar action button
|
|
57
|
+
*/
|
|
58
|
+
showCalendar = true;
|
|
59
|
+
/**
|
|
60
|
+
* Show the built-in settings action button
|
|
61
|
+
*/
|
|
62
|
+
showSettings = true;
|
|
63
|
+
/**
|
|
64
|
+
* Show the built-in notifications action button
|
|
65
|
+
*/
|
|
66
|
+
showNotifications = true;
|
|
67
|
+
/**
|
|
68
|
+
* Unread-notification indicator style: badge dot or count badge
|
|
69
|
+
*/
|
|
70
|
+
notificationBadge = "dot";
|
|
71
|
+
/**
|
|
72
|
+
* Notification data (array or JSON string). When provided, the built-in
|
|
73
|
+
* bell becomes a full bh-notification-center (popover panel, read state,
|
|
74
|
+
* mark-read) and `notificationCount` is ignored. Without it, the plain
|
|
75
|
+
* bell renders and clicking it emits bhAction only.
|
|
76
|
+
*/
|
|
77
|
+
notifications;
|
|
78
|
+
/**
|
|
79
|
+
* Accessible label for the notifications button. Allows i18n.
|
|
80
|
+
*/
|
|
81
|
+
notificationsAriaLabel = "Notifications";
|
|
82
|
+
/**
|
|
83
|
+
* Screen-reader announcement template when notifications exist.
|
|
84
|
+
* `{{count}}` is replaced with the notification count. Allows i18n.
|
|
85
|
+
*/
|
|
86
|
+
notificationsAnnouncement = "{{count}} new notifications";
|
|
87
|
+
/**
|
|
88
|
+
* Screen-reader announcement when there are no notifications. Allows i18n.
|
|
89
|
+
*/
|
|
90
|
+
noNotificationsAnnouncement = "No new notifications";
|
|
54
91
|
/**
|
|
55
92
|
* Event emitted when menu toggle is clicked
|
|
56
93
|
*/
|
|
@@ -88,19 +125,28 @@ const BhAppbar = class {
|
|
|
88
125
|
this.bhItemClick.emit(item);
|
|
89
126
|
}
|
|
90
127
|
};
|
|
91
|
-
handleNotificationClick = () => {
|
|
128
|
+
handleNotificationClick = () => {
|
|
129
|
+
this.bhAction.emit({ action: "notifications" });
|
|
130
|
+
};
|
|
92
131
|
handleCalendarClick = () => {
|
|
93
132
|
this.bhAction.emit({ action: "calendar" });
|
|
94
133
|
};
|
|
95
|
-
handleSettingsClick = () => {
|
|
134
|
+
handleSettingsClick = () => {
|
|
135
|
+
this.bhAction.emit({ action: "settings" });
|
|
136
|
+
};
|
|
137
|
+
notificationAnnouncement() {
|
|
138
|
+
if (this.notificationCount > 0) {
|
|
139
|
+
return resolveI18n("bh-appbar", "notificationsAnnouncement", this.notificationsAnnouncement, "{{count}} new notifications").replace("{{count}}", String(this.notificationCount));
|
|
140
|
+
}
|
|
141
|
+
return resolveI18n("bh-appbar", "noNotificationsAnnouncement", this.noNotificationsAnnouncement, "No new notifications");
|
|
142
|
+
}
|
|
96
143
|
render() {
|
|
97
|
-
return (h(Host, { key: '
|
|
144
|
+
return (h(Host, { key: 'fae737fd6bd652262a50fe772c6d747665320bae' }, h("header", { key: 'ee050d082b31aacfa3cfac28c41194ba542bbb10', class: "appbar", part: "header", role: "banner" }, h("div", { key: 'de0b399c07780c4c3c1a80c3a2e51c5a38139bf9', class: "left-section", part: "left-section" }, h("bh-button-icon", { key: 'e69b1989ac771ae1dfb17f608098be3163433593', ariaLabel: this.isMenuOpen
|
|
98
145
|
? resolveI18n("bh-appbar", "closeMenuAriaLabel", this.closeMenuAriaLabel, "Close menu")
|
|
99
|
-
: resolveI18n("bh-appbar", "openMenuAriaLabel", this.openMenuAriaLabel, "Open menu"), hierarchy: "tertiary", iconName: this.isMenuOpen ? "left_panel_close" : "left_panel_open", onClick: this.handleMenuToggle, size: "sm" }), this.logoSrc && (h("div", { key: '
|
|
100
|
-
?
|
|
101
|
-
: "
|
|
102
|
-
?
|
|
103
|
-
: "No new notifications")))));
|
|
146
|
+
: resolveI18n("bh-appbar", "openMenuAriaLabel", this.openMenuAriaLabel, "Open menu"), hierarchy: "tertiary", iconName: this.isMenuOpen ? "left_panel_close" : "left_panel_open", onClick: this.handleMenuToggle, size: "sm" }), this.logoSrc && (h("div", { key: 'a7128b21be6c890bdff308af74b3c9f5b34d1ac3', class: "logo" }, h("img", { key: '5553c2777fe290ae08c24b34df5833451da95dd1', alt: resolveI18n("bh-appbar", "logoAlt", this.logoAlt, "Solstice"), class: "logo-image", src: this.logoSrc }))), h("slot", { key: '0d5e2b11736ccbe69ccafc1db6cb0db608b00d98', name: "property-switcher" }), h("slot", { key: '035ec16e4dd285cd415b2018048b983178daf104', name: "breadcrumb" }, h("bh-breadcrumbs", { key: '2544b67f1cc428a097ee9bfbcf98d2bdc1135048', items: this.breadcrumbItems, onBhItemClick: (e) => this.handleBreadcrumbClick(e.detail), showHome: this.showBreadcrumbHome }))), h("div", { key: '13f1b1304a2779d82e1913149400ac6910261c39', class: "right-section", part: "right-section" }, h("slot", { key: 'bcd44a315dbf486913727354368bf5896321bab3', name: "actions" }), this.showCalendar && (h("slot", { key: 'd81f877985b0a33b9b0c60f62c9e868b27f48bde', name: "calendar-action" }, h("div", { key: '97fbe4205b82f386458ee0fd6bca33df706e4041', class: "icon-button-wrapper" }, h("bh-button-icon", { key: '20ebeb4cc3dab4830cb09887fe6822279eae906b', ariaLabel: "Calendar", hierarchy: "tertiary", iconName: "calendar_today", onClick: this.handleCalendarClick, size: "sm" }), h("bh-badge-dot", { key: '444fe1c20f8686c9150e749e580ef5ef947924d1', class: "icon-badge-dot", color: "success", outline: true, size: "sm" })))), this.showSettings && (h("slot", { key: '06cacd66349b11b634b6b50a6f234cd3981ce205', name: "settings-action" }, h("div", { key: '31fcabb84e93e329fbd336fa5b29e29d1fa215d8', class: "icon-button-wrapper" }, h("bh-button-icon", { key: '469baf5832cfb5ec12843e02900f527f251009ea', ariaLabel: "Settings", hierarchy: "tertiary", iconName: "settings", onClick: this.handleSettingsClick, size: "sm" }), h("bh-badge-dot", { key: 'df04da757acdf33d55c002034e12305e3a5a23e3', class: "icon-badge-dot", color: "blue", outline: true, size: "sm" })))), this.showNotifications && this.notifications !== undefined && (h("slot", { key: '1661133fd56ca74fdf2b4ae59d0f6e34da93633e', name: "notifications-action" }, h("bh-notification-center", { key: '8159626a0ed74847d263ec66e5257ffc7d39c485', notifications: this.notifications }))), this.showNotifications && this.notifications === undefined && (h("slot", { key: '67a6e116a630d36bec72585c157291f4b80a3359', name: "notifications-action" }, h("div", { key: 'b67fe03724f8325b891fcc057a6d68107cbef300', class: "icon-button-wrapper" }, h("bh-button-icon", { key: '271b3fe7ce69a0b94228428521b2f5f52f33a443', ariaLabel: this.notificationCount > 0
|
|
147
|
+
? `${resolveI18n("bh-appbar", "notificationsAriaLabel", this.notificationsAriaLabel, "Notifications")} (${this.notificationCount})`
|
|
148
|
+
: resolveI18n("bh-appbar", "notificationsAriaLabel", this.notificationsAriaLabel, "Notifications"), hierarchy: "tertiary", iconName: "notifications", onClick: this.handleNotificationClick, size: "sm" }), this.notificationCount > 0 &&
|
|
149
|
+
(this.notificationBadge === "count" ? (h("bh-badge", { class: "icon-badge-count", emphasis: "high", label: String(this.notificationCount), size: "sm", variant: "error" })) : (h("bh-badge-dot", { class: "icon-badge-dot", color: "error", outline: true, size: "sm" })))))), this.notifications === undefined && (h("div", { key: '3cb9d0a8bd66dddb418daa407a524e741fe79ba0', "aria-atomic": "true", "aria-live": "polite", class: "sr-only", part: "notification-live-region" }, this.notificationAnnouncement()))))));
|
|
104
150
|
}
|
|
105
151
|
};
|
|
106
152
|
BhAppbar.style = bhAppbarCss();
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
3
3
|
import { c as createDestroySubjectSync, a as completeSubject } from './lifecycle-CS8F5LFw.js';
|
|
4
4
|
import { g as generateUniqueId } from './id-generator-CLrVoF3x.js';
|
|
5
5
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
6
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
6
7
|
import { t as timer$Sync } from './timers-Bf0qW3wI.js';
|
|
7
8
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
8
9
|
import { A as ANIMATION_DURATIONS } from './constants-BoVgy_Ao.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
3
3
|
import { c as createFocusStateManager, g as getFocusStateClasses } from './focus-state-manager-YdVz1TeW.js';
|
|
4
4
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
5
5
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
6
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
6
7
|
import { a as isActionKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
7
8
|
import './keyboard-constants-zdFuIabL.js';
|
|
8
9
|
|
|
@@ -95,7 +96,7 @@ const BhAvatarAdd = class {
|
|
|
95
96
|
};
|
|
96
97
|
const resolvedTooltip = resolveI18n("bh-avatar-add", "tooltipText", this.tooltipText, "Add user");
|
|
97
98
|
const shouldShowTooltip = this.showTooltip && this.focusState.isHovered && !this.disabled;
|
|
98
|
-
return (h("div", { key: '
|
|
99
|
+
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 }))));
|
|
99
100
|
}
|
|
100
101
|
};
|
|
101
102
|
BhAvatarAdd.style = bhAvatarAddCss();
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
2
|
import { v as validateJSON } from './validators-R-A72b5e.js';
|
|
3
|
-
import { c as createComponentLogger
|
|
3
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
4
4
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
5
5
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
6
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
6
7
|
|
|
7
8
|
const bhAvatarStackedCss = () => `@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:inline-block;font-family:var(--font-inter, "Inter", -apple-system, BlinkMacSystemFont, sans-serif);--bh-avatar-stacked-border-color:var(--color-bg-primary)}}@layer bh-base{.avatar-stacked{display:flex;align-items:center}.avatar-item{position:relative;display:inline-flex;}.avatar-item bh-avatar,.avatar-item bh-avatar-add{box-shadow:0 0 0 2px var(--bh-avatar-stacked-border-color);border-radius:50%}}`;
|
|
8
9
|
|
|
@@ -128,7 +129,7 @@ const BhAvatarStacked = class {
|
|
|
128
129
|
const getStackedOffsetStyle = (hasItems) => ({
|
|
129
130
|
marginLeft: hasItems ? `-${offset}px` : "0",
|
|
130
131
|
});
|
|
131
|
-
return (h(Host, { key: '
|
|
132
|
+
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") }))))));
|
|
132
133
|
}
|
|
133
134
|
};
|
|
134
135
|
BhAvatarStacked.style = bhAvatarStackedCss();
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
3
3
|
import { c as createFocusStateManager, g as getFocusStateClasses } from './focus-state-manager-YdVz1TeW.js';
|
|
4
4
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
5
5
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
6
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
6
7
|
import { a as isActionKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
7
8
|
import { m as mergeClasses, b as buildComponentClasses } from './class-builder-Bam7V_bL.js';
|
|
8
9
|
import './keyboard-constants-zdFuIabL.js';
|
|
9
10
|
|
|
10
|
-
const bhAvatarCss = () => `@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:inline-block;--bh-avatar-bg:var(--color-bg-secondary);--bh-avatar-border-color:var(--color-border-primary);--bh-avatar-text-color:var(--color-text-secondary);--bh-avatar-placeholder-color:var(--color-text-disabled);--bh-avatar-status-online-color:var(--color-text-success);--bh-avatar-status-offline-color:var(--color-text-disabled);--bh-avatar-status-border-color:var(--color-bg-primary)}}@layer bh-base{.avatar{position:relative;display:
|
|
11
|
+
const bhAvatarCss = () => `@charset "UTF-8";@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:inline-block;--bh-avatar-bg:var(--color-bg-secondary);--bh-avatar-border-color:var(--color-border-primary);--bh-avatar-text-color:var(--color-text-secondary);--bh-avatar-placeholder-color:var(--color-text-disabled);--bh-avatar-status-online-color:var(--color-text-success);--bh-avatar-status-offline-color:var(--color-text-disabled);--bh-avatar-status-border-color:var(--color-bg-primary)}}@layer bh-base{.avatar{position:relative;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:var(--bh-avatar-bg);flex-shrink:0}.avatar-border{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:50%;pointer-events:none}.avatar-content{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;z-index:0}.avatar-image{width:100%;height:100%;object-fit:cover;border-radius:50%;aspect-ratio:1/1}.avatar-placeholder-icon{color:var(--bh-avatar-placeholder-color);line-height:1;display:flex;align-items:center;justify-content:center}.avatar-text{color:var(--bh-avatar-text-color);font-family:var(--font-inter);font-weight:var(--weight-semibold);text-align:center;line-height:1}}@layer bh-variants{.avatar-xxs{width:var(--bh-avatar-size-xxs);height:var(--bh-avatar-size-xxs)}.avatar-xs{width:var(--bh-avatar-size-xs);height:var(--bh-avatar-size-xs)}.avatar-sm{width:var(--bh-avatar-size-sm);height:var(--bh-avatar-size-sm)}.avatar-md{width:var(--bh-avatar-size-md);height:var(--bh-avatar-size-md)}.avatar-lg{width:var(--bh-avatar-size-lg);height:var(--bh-avatar-size-lg)}.avatar-xl{width:var(--bh-avatar-size-xl);height:var(--bh-avatar-size-xl)}.avatar-2xl{width:var(--bh-avatar-size-2xl);height:var(--bh-avatar-size-2xl)}.avatar-xs .avatar-border,.avatar-sm .avatar-border{border:0.5px solid var(--bh-avatar-border-color)}.avatar-md .avatar-border,.avatar-lg .avatar-border,.avatar-xl .avatar-border,.avatar-2xl .avatar-border{border:0.75px solid var(--bh-avatar-border-color)}.text-xxs{font-size:var(--bh-avatar-text-xxs);line-height:1.6em}.text-xs{font-size:var(--bh-avatar-text-xs);line-height:1.5em}.text-sm{font-size:var(--text-sm-size);line-height:var(--line-height-normal)}.text-md{font-size:var(--text-md-size);line-height:var(--line-height-normal)}.text-lg{font-size:var(--bh-avatar-text-lg);line-height:1.56em}.text-xl{font-size:var(--bh-avatar-text-xl);line-height:1.5em}.text-2xl{font-size:var(--bh-avatar-text-2xl);line-height:1.33em}.icon-sm{font-size:var(--icon-size-sm)}.icon-md{font-size:var(--icon-size-md)}.icon-lg{font-size:var(--icon-size-lg)}.icon-xl{font-size:var(--icon-size-xl)}.icon-2xl{font-size:var(--icon-size-2xl)}.icon-3xl{font-size:var(--icon-size-3xl)}.icon-4xl{font-size:var(--icon-size-4xl)}}@layer bh-states{.avatar-interactive{cursor:pointer;transition:box-shadow var(--animation-duration-normal) ease, transform 0.1s ease}.avatar-interactive:focus{outline:none}.avatar-interactive:focus-visible{box-shadow:0 0 0 2px var(--color-bg-primary), 0 0 0 4px var(--color-border-interactive)}.avatar-focused{box-shadow:0 0 0 2px var(--color-bg-primary), 0 0 0 4px var(--color-border-interactive)}.avatar-interactive.avatar-hovered:not(.avatar-disabled){transform:scale(1.05)}.avatar-disabled{cursor:not-allowed;opacity:0.5}.avatar-status{position:absolute;border-radius:50%;background-color:var(--bh-avatar-status-online-color);border:1.5px solid var(--bh-avatar-status-border-color);z-index:2}.avatar-status-online{background-color:var(--bh-avatar-status-online-color)}.avatar-status-offline{background-color:var(--bh-avatar-status-offline-color)}.avatar-status-xxs{width:var(--bh-avatar-status-size-xxs);height:var(--bh-avatar-status-size-xxs);bottom:0;right:0}.avatar-status-xs{width:var(--bh-avatar-status-size-xs);height:var(--bh-avatar-status-size-xs);bottom:0;right:0}.avatar-status-sm{width:var(--bh-avatar-status-size-sm);height:var(--bh-avatar-status-size-sm);bottom:0;right:0}.avatar-status-md{width:var(--bh-avatar-status-size-md);height:var(--bh-avatar-status-size-md);bottom:0;right:0}.avatar-status-lg{width:var(--bh-avatar-status-size-lg);height:var(--bh-avatar-status-size-lg);bottom:0;right:0}.avatar-status-xl{width:var(--bh-avatar-status-size-xl);height:var(--bh-avatar-status-size-xl);bottom:0;right:0}.avatar-status-2xl{width:var(--bh-avatar-status-size-2xl);height:var(--bh-avatar-status-size-2xl);bottom:0;right:0}}`;
|
|
11
12
|
|
|
12
13
|
/** Maps avatar size to text CSS class */
|
|
13
14
|
const TEXT_SIZE_MAP = new Map([
|
|
@@ -169,9 +170,9 @@ const BhAvatar = class {
|
|
|
169
170
|
offline: this.status === "offline",
|
|
170
171
|
},
|
|
171
172
|
});
|
|
172
|
-
return (h(Host, { key: '
|
|
173
|
+
return (h(Host, { key: 'bce13fcc8525b9f59594fb42bee6f558e3136c6e' }, h("div", { key: '8ef438c16d8d4ad9eb891520c3eb9d789ef12292', "aria-disabled": this.interactive && this.disabled ? "true" : undefined, "aria-expanded": this.interactive && this.hasPopup
|
|
173
174
|
? String(this.expanded)
|
|
174
|
-
: 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: '
|
|
175
|
+
: 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" }))));
|
|
175
176
|
}
|
|
176
177
|
};
|
|
177
178
|
BhAvatar.style = bhAvatarCss();
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
3
3
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
4
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
5
|
+
import { m as mergeClasses, b as buildComponentClasses } from './class-builder-Bam7V_bL.js';
|
|
4
6
|
import { c as createDestroySubjectSync, a as completeSubject } from './lifecycle-CS8F5LFw.js';
|
|
5
7
|
import { c as createFocusStateManager, g as getFocusStateClasses } from './focus-state-manager-YdVz1TeW.js';
|
|
6
8
|
import { t as timer$Sync } from './timers-Bf0qW3wI.js';
|
|
7
9
|
import { a as isActionKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
8
|
-
import { m as mergeClasses, b as buildComponentClasses } from './class-builder-Bam7V_bL.js';
|
|
9
10
|
import { A as ANIMATION_DURATIONS } from './constants-BoVgy_Ao.js';
|
|
10
11
|
import './keyboard-constants-zdFuIabL.js';
|
|
11
12
|
|
|
@@ -43,7 +44,7 @@ const BhBadgeDot = class {
|
|
|
43
44
|
[`badge-dot-${this.color}`]: true,
|
|
44
45
|
"badge-dot-outline": this.outline,
|
|
45
46
|
};
|
|
46
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '358a84d2c1db399a89eac842afeb9de7f410a054' }, h("div", { key: '07df236d30ee7e4ec222e8c009856a83147fe798', "aria-hidden": "true", class: dotClasses, part: "dot", role: "presentation" })));
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
BhBadgeDot.style = bhBadgeDotCss();
|
|
@@ -205,10 +206,10 @@ const BhTag = class {
|
|
|
205
206
|
width: CHECKBOX_SIZE_MAP[this.size],
|
|
206
207
|
height: CHECKBOX_SIZE_MAP[this.size],
|
|
207
208
|
};
|
|
208
|
-
return (h(Host, { key: '
|
|
209
|
+
return (h(Host, { key: '4d29753431e9e6e060207d62eee48abed885cda9' }, h("span", { key: 'a5b87c658722d637947af883ce2305c906f53dbd', "aria-disabled": this.disabled ? "true" : undefined, class: classes, "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: "tag", role: "status", tabIndex: isInteractive && !this.disabled ? 0 : -1 }, h("div", { key: 'cc80dd525464a72f1114d68e8172004251503bf3', class: "tag-content" }, this.isCheckboxMode && (h("div", { key: '290ad9389b202f4e21c37c1447c685ace4382af4', "aria-hidden": "true", class: {
|
|
209
210
|
"tag-checkbox": true,
|
|
210
211
|
"tag-checkbox-checked": this.checked === true,
|
|
211
|
-
}, style: checkboxStyle }, this.checked && (h("span", { key: '
|
|
212
|
+
}, style: checkboxStyle }, this.checked && (h("span", { key: '2b33240f231f44c0806b3507498a867c99a6a897', class: "material-symbols-outlined tag-checkbox-icon" }, "check")))), this.variant === "dot" && (h("bh-badge-dot", { key: '443267726ac2e0a0985fb2f72b0ca399b4c0ebc0', color: this.dotColor, size: DOT_SIZE_MAP[this.size] })), this.variant === "avatar" && (h("bh-avatar", { key: '984c31beb18196be69cb8c6317958a6e691f48ff', imageSrc: this.avatarSrc, size: "xxs", variant: this.avatarSrc ? "image" : "placeholder" })), h("span", { key: '2f322d1088b3693f5f19cb08e06c8b1c60913b6b', class: "tag-label-wrapper" }, h("span", { key: 'bed69f25fc9ee9a91d01767265f0538bd4b4818a', class: "tag-label", part: "label", style: labelStyle }, this.label))), this.showCount && (h("span", { key: 'b8ae69d629f8985b3fb72fc868187b20aba74116', class: "tag-count", part: "count" }, this.count)), this.showDismiss && (h("bh-button-icon", { key: '1f9309576c7b7f748c0a32a9ba62ecf2be2437ab', ariaLabel: `Remove ${this.label}`, class: "tag-dismiss", disabled: this.disabled, hierarchy: "tertiary", iconName: "close", onClick: this.handleDismiss, part: "dismiss-button", size: "xs" })))));
|
|
212
213
|
}
|
|
213
214
|
};
|
|
214
215
|
BhTag.style = bhTagCss();
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
|
-
import {
|
|
3
|
-
import { c as createComponentLogger, r as reportComponentError } from './error-boundary-YLeLKAYJ.js';
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
4
3
|
import { c as createFocusStateManager, g as getFocusStateClasses } from './focus-state-manager-YdVz1TeW.js';
|
|
5
4
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
6
5
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
6
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
7
7
|
import { a as isActionKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
8
|
+
import { m as mergeClasses, b as buildComponentClasses } from './class-builder-Bam7V_bL.js';
|
|
8
9
|
import './keyboard-constants-zdFuIabL.js';
|
|
9
10
|
|
|
10
11
|
const bhBadgeCss = () => `@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}@layer bh-tokens,bh-base,bh-variants,bh-states,bh-utilities; @layer bh-tokens{:host{display:inline-block;--bh-badge-border-radius:var(--radius-full);--bh-badge-font-family:var(--font-inter);--bh-badge-font-weight:var(--weight-medium);--bh-badge-gap-sm:var(--spacing-sm);--bh-badge-gap-xxs:var(--spacing-xxs);--bh-badge-padding-xs:var(--spacing-xxs);--bh-badge-padding-sm:var(--spacing-sm);--bh-badge-padding-md:var(--spacing-md);--bh-badge-padding-lg:var(--spacing-lg);--bh-badge-padding-xl:var(--spacing-xl);--bh-badge-text-xs:var(--text-xs-size);--bh-badge-text-sm:var(--text-sm-size);--bh-badge-text-md:var(--text-md-size);--bh-badge-line-height-xs:var(--line-height-tight);--bh-badge-line-height-sm:var(--line-height-normal);--bh-badge-line-height-md:var(--line-height-normal)}}@layer bh-base{.badge{display:inline-flex;align-items:center;justify-content:center;gap:var(--bh-badge-gap-sm);font-family:var(--bh-badge-font-family);font-weight:var(--bh-badge-font-weight);border-radius:var(--bh-badge-border-radius);white-space:nowrap;text-align:center;transition:background-color var(--animation-duration-normal) ease, color var(--animation-duration-normal) ease, border-color var(--animation-duration-normal) ease;border:1px solid transparent;user-select:none;cursor:default}.badge-icon-only{aspect-ratio:1;padding:0;justify-content:center;box-sizing:border-box}.badge-icon-only.badge-sm{width:var(--bh-badge-height-sm);height:var(--bh-badge-height-sm);padding:0}.badge-icon-only.badge-md{width:var(--bh-badge-height-md);height:var(--bh-badge-height-md);padding:0}.badge-icon-only.badge-lg{width:var(--bh-badge-height-lg);height:var(--bh-badge-height-lg);padding:0}.badge-icon-only .badge-icon-custom{font-size:var(--bh-badge-icon-custom-size-md) !important;line-height:1}.badge-icon-dot{font-size:var(--bh-badge-dot-sm) !important;width:var(--bh-badge-dot-sm);height:var(--bh-badge-dot-sm);line-height:1;flex-shrink:0;font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 16}.badge-icon-custom{font-size:var(--bh-badge-icon-md) !important;font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 16}.badge-label{flex-shrink:0;font-weight:inherit}.badge-dismiss{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:0;margin-left:var(--bh-badge-gap-xxs);border-radius:var(--radius-full);transition:background-color var(--animation-duration-normal) ease, opacity var(--animation-duration-normal) ease;width:var(--bh-badge-icon-md);height:var(--bh-badge-icon-md)}.badge-dismiss-icon{font-size:var(--bh-badge-icon-sm) !important;width:var(--bh-badge-icon-sm);height:var(--bh-badge-icon-sm);line-height:1;font-variation-settings:"FILL" 0, "wght" 400, "GRAD" 0, "opsz" 14}}@layer bh-variants{.badge-sm{height:var(--bh-badge-height-sm);box-sizing:border-box;padding:0 var(--bh-badge-padding-sm);font-size:var(--bh-badge-font-size-sm);line-height:var(--bh-badge-line-height-xs)}.badge-sm .badge-icon-dot{font-size:var(--bh-badge-dot-xs) !important;width:var(--bh-badge-dot-xs);height:var(--bh-badge-dot-xs)}.badge-sm .badge-icon-custom{font-size:var(--bh-badge-icon-xs) !important}.badge-sm .badge-dismiss{width:var(--bh-badge-icon-sm);height:var(--bh-badge-icon-sm)}.badge-sm .badge-dismiss-icon{font-size:var(--bh-badge-icon-xs) !important;width:var(--bh-badge-icon-xs);height:var(--bh-badge-icon-xs)}.badge-md{height:var(--bh-badge-height-md);box-sizing:border-box;padding:0 var(--bh-badge-padding-md);font-size:var(--bh-badge-font-size-md);line-height:var(--bh-badge-line-height-sm)}.badge-lg{height:var(--bh-badge-height-lg);box-sizing:border-box;padding:0 var(--bh-badge-padding-lg);font-size:var(--bh-badge-font-size-md);line-height:var(--bh-badge-line-height-md)}.badge-lg .badge-icon-dot{font-size:var(--bh-badge-dot-md) !important;width:var(--bh-badge-dot-md);height:var(--bh-badge-dot-md)}.badge-lg .badge-icon-custom{font-size:var(--bh-badge-icon-xl) !important}.badge-lg .badge-dismiss{width:var(--bh-badge-icon-lg);height:var(--bh-badge-icon-lg)}.badge-lg .badge-dismiss-icon{font-size:var(--bh-badge-icon-md) !important;width:var(--bh-badge-icon-md);height:var(--bh-badge-icon-md)}.badge-high.badge-gray{background-color:var(--color-neutral-200);color:var(--color-neutral-700)}.badge-high .badge-icon-gray-high,.badge-high .badge-dismiss-icon.badge-icon-gray-high{color:var(--color-neutral-700) !important}.badge-high.badge-brand{background-color:var(--color-brand-200);color:var(--color-brand-800)}.badge-high .badge-icon-brand-high,.badge-high .badge-dismiss-icon.badge-icon-brand-high{color:var(--color-brand-800) !important}.badge-high.badge-blue{background-color:var(--color-blue-200);color:var(--color-blue-900)}.badge-high .badge-icon-blue-high,.badge-high .badge-dismiss-icon.badge-icon-blue-high{color:var(--color-blue-900) !important}.badge-high.badge-error{background-color:var(--color-error-200);color:var(--color-error-900)}.badge-high .badge-icon-error-high,.badge-high .badge-dismiss-icon.badge-icon-error-high{color:var(--color-error-900) !important}.badge-high.badge-warning{background-color:var(--color-warning-200);color:var(--color-warning-900)}.badge-high .badge-icon-warning-high,.badge-high .badge-dismiss-icon.badge-icon-warning-high{color:var(--color-warning-900) !important}.badge-high.badge-success{background-color:var(--color-success-200);color:var(--color-success-900)}.badge-high .badge-icon-success-high,.badge-high .badge-dismiss-icon.badge-icon-success-high{color:var(--color-success-900) !important}.badge-high.badge-purple{background-color:var(--color-purple-200);color:var(--color-purple-800)}.badge-high .badge-icon-purple-high,.badge-high .badge-dismiss-icon.badge-icon-purple-high{color:var(--color-purple-800) !important}.badge-high.badge-pink{background-color:var(--color-pink-200);color:var(--color-pink-800)}.badge-high .badge-icon-pink-high,.badge-high .badge-dismiss-icon.badge-icon-pink-high{color:var(--color-pink-800) !important}.badge-high.badge-orange{background-color:var(--color-orange-200);color:var(--color-orange-800)}.badge-high .badge-icon-orange-high,.badge-high .badge-dismiss-icon.badge-icon-orange-high{color:var(--color-orange-800) !important}.badge-medium.badge-gray{background-color:var(--color-neutral-50);color:var(--color-neutral-700);border-color:var(--color-neutral-200)}.badge-medium .badge-icon-gray-medium,.badge-medium .badge-dismiss-icon.badge-icon-gray-medium{color:var(--color-neutral-700) !important}.badge-medium.badge-brand{background-color:var(--color-brand-50);color:var(--color-brand-700);border-color:var(--color-brand-200)}.badge-medium .badge-icon-brand-medium,.badge-medium .badge-dismiss-icon.badge-icon-brand-medium{color:var(--color-brand-700) !important}.badge-medium.badge-blue{background-color:var(--color-blue-50);color:var(--color-blue-700);border-color:var(--color-blue-200)}.badge-medium .badge-icon-blue-medium,.badge-medium .badge-dismiss-icon.badge-icon-blue-medium{color:var(--color-blue-700) !important}.badge-medium.badge-error{background-color:var(--color-error-50);color:var(--color-error-700);border-color:var(--color-error-200)}.badge-medium .badge-icon-error-medium,.badge-medium .badge-dismiss-icon.badge-icon-error-medium{color:var(--color-error-700) !important}.badge-medium.badge-warning{background-color:var(--color-warning-50);color:var(--color-warning-700);border-color:var(--color-warning-200)}.badge-medium .badge-icon-warning-medium,.badge-medium .badge-dismiss-icon.badge-icon-warning-medium{color:var(--color-warning-700) !important}.badge-medium.badge-success{background-color:var(--color-success-50);color:var(--color-success-700);border-color:var(--color-success-200)}.badge-medium .badge-icon-success-medium,.badge-medium .badge-dismiss-icon.badge-icon-success-medium{color:var(--color-success-700) !important}.badge-medium.badge-purple{background-color:var(--color-purple-50);color:var(--color-purple-700);border-color:var(--color-purple-200)}.badge-medium .badge-icon-purple-medium,.badge-medium .badge-dismiss-icon.badge-icon-purple-medium{color:var(--color-purple-700) !important}.badge-medium.badge-pink{background-color:var(--color-pink-50);color:var(--color-pink-800);border-color:var(--color-pink-200)}.badge-medium .badge-icon-pink-medium,.badge-medium .badge-dismiss-icon.badge-icon-pink-medium{color:var(--color-pink-800) !important}.badge-medium.badge-orange{background-color:var(--color-orange-50);color:var(--color-orange-800);border-color:var(--color-orange-200)}.badge-medium .badge-icon-orange-medium,.badge-medium .badge-dismiss-icon.badge-icon-orange-medium{color:var(--color-orange-800) !important}.badge-low.badge-gray{background-color:transparent;color:var(--color-neutral-600);border-color:var(--color-neutral-200)}.badge-low .badge-icon-gray-low,.badge-low .badge-dismiss-icon.badge-icon-gray-low{color:var(--color-neutral-600) !important}.badge-low.badge-brand{background-color:transparent;color:var(--color-brand-600);border-color:var(--color-brand-200)}.badge-low .badge-icon-brand-low,.badge-low .badge-dismiss-icon.badge-icon-brand-low{color:var(--color-brand-600) !important}.badge-low.badge-blue{background-color:transparent;color:var(--color-blue-700);border-color:var(--color-blue-200)}.badge-low .badge-icon-blue-low,.badge-low .badge-dismiss-icon.badge-icon-blue-low{color:var(--color-blue-700) !important}.badge-low.badge-error{background-color:transparent;color:var(--color-error-600);border-color:var(--color-error-200)}.badge-low .badge-icon-error-low,.badge-low .badge-dismiss-icon.badge-icon-error-low{color:var(--color-error-600) !important}.badge-low.badge-warning{background-color:transparent;color:var(--color-warning-700);border-color:var(--color-warning-200)}.badge-low .badge-icon-warning-low,.badge-low .badge-dismiss-icon.badge-icon-warning-low{color:var(--color-warning-700) !important}.badge-low.badge-success{background-color:transparent;color:var(--color-success-700);border-color:var(--color-success-200)}.badge-low .badge-icon-success-low,.badge-low .badge-dismiss-icon.badge-icon-success-low{color:var(--color-success-700) !important}.badge-low.badge-purple{background-color:transparent;color:var(--color-purple-600);border-color:var(--color-purple-200)}.badge-low .badge-icon-purple-low,.badge-low .badge-dismiss-icon.badge-icon-purple-low{color:var(--color-purple-600) !important}.badge-low.badge-pink{background-color:transparent;color:var(--color-pink-600);border-color:var(--color-pink-200)}.badge-low .badge-icon-pink-low,.badge-low .badge-dismiss-icon.badge-icon-pink-low{color:var(--color-pink-600) !important}.badge-low.badge-orange{background-color:transparent;color:var(--color-orange-700);border-color:var(--color-orange-200)}.badge-low .badge-icon-orange-low,.badge-low .badge-dismiss-icon.badge-icon-orange-low{color:var(--color-orange-700) !important}.badge-disabled{opacity:0.5;cursor:not-allowed}}`;
|
|
@@ -131,12 +132,12 @@ const BhBadge = class {
|
|
|
131
132
|
const iconColorClass = `badge-icon-${activeColor}-${this.emphasis}`;
|
|
132
133
|
const isDot = this.icon === DOT_ICON_NAME;
|
|
133
134
|
const hasIcon = Boolean(this.icon);
|
|
134
|
-
return (h(Host, { key: '
|
|
135
|
+
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: {
|
|
135
136
|
"material-symbols-outlined": true,
|
|
136
137
|
[iconColorClass]: true,
|
|
137
138
|
"badge-icon-dot": isDot,
|
|
138
139
|
"badge-icon-custom": !isDot,
|
|
139
|
-
} }, isDot ? DOT_MATERIAL_SYMBOL : this.icon)), this.label && h("span", { key: '
|
|
140
|
+
} }, 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"))))));
|
|
140
141
|
}
|
|
141
142
|
};
|
|
142
143
|
BhBadge.style = bhBadgeCss();
|