@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
|
@@ -1,6 +1,7 @@
|
|
|
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 { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
4
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
4
5
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
5
6
|
|
|
6
7
|
const bhBannerCss = () => `@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-banner-bg:var(--color-bg-primary);--bh-banner-border-color:var(--color-border-secondary);--bh-banner-border-radius:var(--radius-xl);--bh-banner-shadow:var(--shadow-xs);--bh-banner-heading-color:var(--color-text-primary);--bh-banner-description-color:var(--color-text-tertiary)}}@layer bh-base{.banner{display:flex;background:var(--bh-banner-bg);border:1px solid var(--bh-banner-border-color);border-radius:var(--bh-banner-border-radius);box-shadow:var(--bh-banner-shadow);overflow:clip;position:relative}.banner-content{display:flex;flex-direction:column;gap:var(--spacing-2xl);flex:1;min-width:0}.banner-body{display:flex;flex-direction:column;gap:var(--spacing-2xl);width:100%}.banner-text{display:flex;flex-direction:column;gap:var(--spacing-xs);width:100%}.banner-heading{font-size:var(--text-lg-size);font-weight:var(--weight-semibold);line-height:var(--text-lg-line);color:var(--bh-banner-heading-color);margin:0}.banner-description{font-size:var(--text-sm-size);font-weight:var(--weight-regular);line-height:var(--line-height-normal);color:var(--bh-banner-description-color);margin:0}.banner-actions{display:flex;gap:var(--spacing-lg);align-items:flex-start}.banner-media{flex-shrink:0;overflow:clip}.banner-image{display:block;width:100%;height:100%;object-fit:cover}.material-symbols-outlined{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}}@layer bh-variants{.banner-horizontal{flex-direction:row;align-items:stretch}.banner-horizontal .banner-media{width:240px;align-self:stretch}.banner-horizontal .banner-content{padding:var(--spacing-3xl)}.banner-horizontal:not(.banner-with-media) .banner-content{padding:var(--spacing-3xl)}.banner-vertical{flex-direction:column}.banner-vertical .banner-media{width:100%;height:200px}.banner-vertical .banner-content{padding:var(--spacing-xl) var(--spacing-xl) var(--spacing-2xl)}.banner-vertical .banner-actions{flex-direction:column;width:100%}.banner-vertical .banner-actions ::slotted(*){width:100%}}`;
|
|
@@ -64,11 +65,11 @@ const BhBanner = class {
|
|
|
64
65
|
}
|
|
65
66
|
render() {
|
|
66
67
|
const hasMedia = !!this.imageSrc;
|
|
67
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'f61560c82138e3fccc2a3a9236f5235ecb1847b2' }, h("div", { key: '8a8f37d7a59cbdb6e04f7a3d60d53a108ed63a79', "aria-label": this.heading || "Banner", class: {
|
|
68
69
|
banner: true,
|
|
69
70
|
[`banner-${this.variant}`]: true,
|
|
70
71
|
"banner-with-media": hasMedia,
|
|
71
|
-
}, part: "container", role: "region" }, hasMedia && this.renderMedia(), h("div", { key: '
|
|
72
|
+
}, part: "container", role: "region" }, hasMedia && this.renderMedia(), h("div", { key: 'a5378ca0755d8fa23b940a4c8893590b139005db', class: "banner-content", part: "content" }, h("div", { key: '943dfa074273d6de8ef68706c1c6305878fac47b', class: "banner-body", part: "body" }, h("div", { key: 'c40d87d74a11df3b512e37476f968334cf733081', class: "banner-text", part: "text" }, this.heading && (h("h3", { key: 'f251f4f656b2e75bd8ccfc13f707f73e40c60bd9', class: "banner-heading", part: "heading" }, this.heading)), this.description && (h("p", { key: '322110ba3ab9c0c02bfbc4fcd4bae618c3cbbecb', class: "banner-description", part: "description" }, this.description))), h("slot", { key: 'cfd8adc5a3a8f299cb95381910282ae111fcfba9' })), h("div", { key: 'e62fd391857817eae156462efd7e07a4883944d6', class: "banner-actions", onClick: this.handleActionClick, part: "actions" }, h("slot", { key: '48372d95fc2273890c42e80c9cf16489ca0727ad', name: "actions" }))), this.showDismiss && (h("bh-close-button", { key: 'fa47fbe26e433dadc2d1d7523a1667686c93c41c', ariaLabel: resolveI18n("bh-banner", "dismissAriaLabel", this.dismissAriaLabel, "Dismiss banner"), onClick: this.handleDismiss })))));
|
|
72
73
|
}
|
|
73
74
|
};
|
|
74
75
|
BhBanner.style = bhBannerCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
2
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
3
|
-
import { r as reportComponentError
|
|
3
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
4
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
4
5
|
|
|
5
6
|
const bhBarChartCss = () => ` @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"); @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } @layer bh-reset, bh-tokens, bh-base, bh-utilities; @layer bh-tokens { :root { --color-white: hsl(0, 0%, 100%); --color-black: hsl(0, 0%, 0%); --color-transparent: hsla(0, 0%, 100%, 0); --color-neutral-25: hsl(210, 20%, 99%); --color-neutral-50: hsl(225, 40%, 98%); --color-neutral-100: hsl(225, 40%, 96%); --color-neutral-200: hsl(223, 32%, 91%); --color-neutral-300: hsl(223, 29%, 84%); --color-neutral-400: hsl(224, 23%, 65%); --color-neutral-500: hsl(226, 16%, 47%); --color-neutral-600: hsl(225, 22%, 37%); --color-neutral-700: hsl(224, 25%, 27%); --color-neutral-800: hsl(226, 25%, 20%); --color-neutral-900: hsl(227, 31%, 11%); --color-neutral-950: hsl(228, 38%, 5%); --color-brand-25: hsl(220, 82%, 98%); --color-brand-50: hsl(226, 100%, 97%); --color-brand-100: hsl(223, 88%, 94%); --color-brand-200: hsl(226, 71%, 86%); --color-brand-300: hsl(227, 75%, 78%); --color-brand-400: hsl(228, 73%, 67%); --color-brand-500: hsl(230, 69%, 59%); --color-brand-600: hsl(230, 69%, 48%); --color-brand-700: hsl(230, 69%, 41%); --color-brand-800: hsl(230, 69%, 31%); --color-brand-900: hsl(230, 68%, 21%); --color-brand-950: hsl(229, 70%, 8%); --color-error-25: hsl(6, 100%, 99%); --color-error-50: hsl(6, 100%, 98%); --color-error-100: hsl(10, 100%, 93%); --color-error-200: hsl(8, 100%, 88%); --color-error-300: hsl(8, 100%, 79%); --color-error-400: hsl(10, 94%, 65%); --color-error-500: hsl(16, 100%, 48%); --color-error-600: hsl(12, 100%, 44%); --color-error-700: hsl(11, 100%, 37%); --color-error-800: hsl(10, 100%, 30%); --color-error-900: hsl(14, 100%, 25%); --color-error-950: hsl(7, 100%, 14%); --color-warning-25: hsl(47, 92%, 98%); --color-warning-50: hsl(47, 100%, 96%); --color-warning-100: hsl(48, 93%, 89%); --color-warning-200: hsl(48, 95%, 78%); --color-warning-300: hsl(46, 96%, 65%); --color-warning-400: hsl(40, 95%, 60%); --color-warning-500: hsl(33, 92%, 58%); --color-warning-600: hsl(26, 71%, 51%); --color-warning-700: hsl(21, 72%, 41%); --color-warning-800: hsl(21, 75%, 33%); --color-warning-900: hsl(21, 71%, 27%); --color-warning-950: hsl(21, 84%, 14%); --color-success-25: hsl(144, 78%, 98%); --color-success-50: hsl(138, 76%, 97%); --color-success-100: hsl(141, 78%, 93%); --color-success-200: hsl(140, 76%, 85%); --color-success-300: hsl(142, 75%, 73%); --color-success-400: hsl(143, 68%, 55%); --color-success-500: hsl(136, 57%, 49%); --color-success-600: hsl(134, 58%, 41%); --color-success-700: hsl(139, 61%, 31%); --color-success-800: hsl(143, 63%, 24%); --color-success-900: hsl(142, 54%, 19%); --color-success-950: hsl(143, 67%, 11%); --font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --weight-regular: 400; --weight-medium: 500; --weight-semibold: 600; --weight-bold: 700; --text-xl-size: 1.25rem; --text-lg-size: 1.125rem; --text-md-size: 1rem; --text-sm-size: 0.875rem; --text-xs-size: 0.75rem; --text-xl-line: 1.875rem; --text-lg-line: 1.75rem; --text-md-line: 1.5rem; --text-sm-line: 1.25rem; --text-xs-line: 1.125rem; --spacing-none: 0rem; --spacing-xxs: 0.125rem; --spacing-xs: 0.25rem; --spacing-sm: 0.375rem; --spacing-md: 0.5rem; --spacing-lg: 0.75rem; --spacing-xl: 1rem; --spacing-2xl: 1.25rem; --spacing-3xl: 1.5rem; --spacing-4xl: 2rem; --spacing-5xl: 2.5rem; --spacing-6xl: 3rem; --radius-none: 0rem; --radius-xxs: 0.125rem; --radius-xs: 0.25rem; --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.625rem; --radius-xl: 0.75rem; --radius-2xl: 1rem; --radius-3xl: 1.25rem; --radius-4xl: 1.5rem; --radius-full: 9999px; --shadow-xs: 0px 1px 2px rgba(16, 24, 40, 0.05); --shadow-sm: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06); --shadow-md: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06); --shadow-lg: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03); --shadow-xl: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03); --icon-compensation-xs-btn: calc(var(--spacing-lg) - var(--spacing-xs)); --icon-compensation-sm-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --icon-compensation-md-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --icon-compensation-lg-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --color-bg-primary: var(--color-white); --color-bg-secondary: var(--color-neutral-50); --color-bg-tertiary: var(--color-neutral-100); --color-bg-quaternary: var(--color-neutral-200); --color-bg-inverse: var(--color-neutral-900); --color-bg-interactive: var(--color-brand-600); --color-bg-interactive-hover: var(--color-brand-700); --color-bg-interactive-active: var(--color-brand-800); --color-bg-destructive: var(--color-error-600); --color-bg-destructive-hover: var(--color-error-700); --color-bg-destructive-active: var(--color-error-800); --color-bg-success: var(--color-success-700); --color-bg-success-hover: var(--color-success-800); --color-bg-warning: var(--color-warning-500); --color-bg-disabled: var(--color-neutral-200); --color-text-primary: var(--color-neutral-900); --color-text-secondary: var(--color-neutral-600); --color-text-tertiary: var(--color-neutral-500); --color-text-inverse: var(--color-white); --color-text-interactive: var(--color-brand-600); --color-text-interactive-hover: var(--color-brand-700); --color-text-error: var(--color-error-600); --color-text-success: var(--color-success-700); --color-text-warning: var(--color-warning-700); --color-text-disabled: var(--color-neutral-400); --color-border-primary: var(--color-neutral-300); --color-border-secondary: var(--color-neutral-200); --color-border-interactive: var(--color-brand-500); --color-border-error: var(--color-error-500); --color-border-success: var(--color-success-500); --color-border-disabled: var(--color-neutral-200); --color-surface-overlay: rgba(0, 0, 0, 0.5); --color-surface-elevated: var(--color-white); } } @layer bh-reset { *, *::before, *::after { box-sizing: border-box; } } @layer bh-base { .material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; } } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { display: block; --bh-bar-chart-gap: var(--spacing-xxs); --bh-bar-chart-gap-lg: var(--spacing-lg); --bh-bar-chart-hover-bg: var(--color-bg-tertiary); --bh-bar-chart-color-1: var(--color-bg-interactive); --bh-bar-chart-color-2: var(--color-orange-500); --bh-bar-chart-color-3: var(--color-text-success); --bh-bar-chart-color-purple: var(--color-purple-600); --bh-bar-chart-color-accent: var(--color-accent-500); --bh-bar-chart-color-4: var(--color-teal-500); --bh-bar-chart-color-5: var(--color-lime-500); --bh-bar-chart-color-6: var(--color-amber-500); --bh-bar-chart-color-7: var(--color-purple-600); --bh-bar-chart-color-8: var(--color-accent-500); } } @layer bh-base { .vertical-container { display: flex; align-items: flex-end; height: 180px; width: 100%; } .bar-column.vertical { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: 1; gap: var(--bh-bar-chart-gap); margin: 0 2px; border-radius: var(--radius-xs); transition: background-color var(--animation-duration-normal) ease; } .bar-segment.vertical { width: 6px; border-radius: var(--radius-xxs); min-height: 2px; transition: all var(--animation-duration-slow) ease; transform-origin: bottom; } .horizontal-container { display: flex; flex-direction: column; justify-content: space-between; height: auto; min-height: 140px; gap: var(--bh-bar-chart-gap-lg); } .bar-row.horizontal { display: flex; align-items: center; width: 100%; height: 6px; min-height: 6px; max-height: 6px; gap: var(--bh-bar-chart-gap); margin: 2px 0; border-radius: var(--radius-xs); transition: background-color var(--animation-duration-normal) ease; padding: 2px; } .bar-segment.horizontal { height: 100%; min-height: 6px; max-height: 6px; border-radius: var(--radius-xxs); min-width: 2px; transition: all var(--animation-duration-slow) ease; transform-origin: left; } } @layer bh-variants { .vertical-container.simple { height: 180px; width: 100%; } .vertical-container.simple .bar-column.vertical { flex: 1; margin: 0 2px; } .vertical-container.simple .bar-segment.horizontal { min-width: 2px; height: 6px; min-height: 6px; max-height: 6px; } .horizontal-container.simple { height: auto; min-height: 140px; gap: var(--bh-bar-chart-gap-lg); } .horizontal-container.simple .bar-row.horizontal { height: 6px; min-height: 6px; max-height: 6px; margin: 2px 0; padding: 2px; } .horizontal-container.simple .bar-segment.horizontal { min-width: 2px; height: 6px; min-height: 6px; max-height: 6px; } } @layer bh-states { .bar-column, .bar-row { cursor: pointer; } .bar-column:hover { background-color: color-mix(in srgb, var(--bh-bar-chart-hover-bg) 50%, transparent); } .bar-column:hover .bar-segment { opacity: 0.9; filter: brightness(1.05); } .bar-row:hover { background-color: color-mix(in srgb, var(--bh-bar-chart-hover-bg) 50%, transparent); } .bar-row:hover .bar-segment { opacity: 0.9; filter: brightness(1.05); } } @layer bh-utilities { .bar-chart-animated .bar-segment.vertical { animation: barGrowVertical 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; } .bar-chart-animated .bar-segment.horizontal { animation: barGrowHorizontal 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; } @keyframes barGrowVertical { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } } @keyframes barGrowHorizontal { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } } @media (prefers-reduced-motion: reduce) { .bar-chart-animated .bar-segment.vertical, .bar-chart-animated .bar-segment.horizontal { animation: none; opacity: 1; transform: none; } } }`;
|
|
6
7
|
|
|
@@ -264,7 +265,7 @@ const BhBarChart = class {
|
|
|
264
265
|
};
|
|
265
266
|
render() {
|
|
266
267
|
const processedData = this.processData();
|
|
267
|
-
return (h(Host, { key: '
|
|
268
|
+
return (h(Host, { key: '8b47527eb278b71ffbb786697e7f09fba39365e7' }, h("div", { key: '26f988f02923c782f36eb4d6653a7a51fcbc91e2', class: {
|
|
268
269
|
"bar-chart": true,
|
|
269
270
|
[this.variant]: true,
|
|
270
271
|
[this.orientation]: true,
|
|
@@ -275,7 +276,7 @@ const BhBarChart = class {
|
|
|
275
276
|
} })))))))) : (h("div", { class: "horizontal-container" }, processedData.map((bar, i) => (h("div", { class: "bar-row horizontal", key: i, onClick: (e) => this.handleColumnClick(e, bar, i), onMouseEnter: (e) => this.handleColumnHover(e, bar, i), onMouseLeave: (e) => this.handleColumnLeave(e, bar, i), onMouseMove: this.handleColumnMove }, bar.segments.map((segment, segIndex) => (h("div", { class: "bar-segment horizontal", key: segIndex, style: {
|
|
276
277
|
width: `${(segment.value / bar.totalValue) * 100}%`,
|
|
277
278
|
backgroundColor: segment.color,
|
|
278
|
-
} }))))))))), h("bh-chart-tooltip", { key: '
|
|
279
|
+
} }))))))))), h("bh-chart-tooltip", { key: 'fb810fcde8a557567f020d34d8ca6622330acb27', "aria-hidden": this.tooltipVisible ? undefined : "true", header: this.tooltipHeader, items: this.tooltipItems, showTotal: this.showTooltipTotal, total: this.tooltipTotal, visible: this.tooltipVisible, x: this.tooltipX, y: this.tooltipY })));
|
|
279
280
|
}
|
|
280
281
|
};
|
|
281
282
|
BhBarChart.style = bhBarChartCss();
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger
|
|
2
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
3
3
|
import { c as createKeyboardNavigationState, h as handleKeyboardNavigation } from './keyboard-navigation-BQ6-iZ9t.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 { v as validateJSON } from './validators-R-A72b5e.js';
|
|
7
8
|
import { a as isActionKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
8
9
|
import './keyboard-constants-zdFuIabL.js';
|
|
9
10
|
|
|
10
|
-
const bhBreadcrumbsCss = () => `@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 { display: block; --bh-breadcrumbs-color: var(--color-text-secondary); --bh-breadcrumbs-color-hover: var(--color-text-primary); --bh-breadcrumbs-bg-hover: var(--color-bg-secondary); --bh-breadcrumbs-current-bg: var(--color-bg-secondary); --bh-breadcrumbs-current-color: var(--color-text-primary); --bh-breadcrumbs-separator-color: var(--color-border-primary); --bh-breadcrumbs-focus-ring-color: var(--color-border-interactive); } } @layer bh-base { .breadcrumbs { font-family: var(--font-inter); user-select: none; } .breadcrumbs-container { display: flex; align-items: center; gap: var(--spacing-xs); flex-wrap: wrap; } .breadcrumb-item { display: flex; align-items: center; } .breadcrumb-button { display: flex; align-items: center; justify-content: center; padding: var(--spacing-xs) var(--spacing-sm); border: none; background: transparent; border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--animation-duration-fast) ease, color var(--animation-duration-fast) ease; color: var(--bh-breadcrumbs-color); text-decoration: none; font-family: var(--font-inter); font-size: var(--text-sm-size); font-weight: var(--weight-medium); line-height: var(--line-height-normal); min-height: var(--bh-breadcrumbs-min-height); box-sizing: border-box; } .breadcrumb-text { white-space: nowrap; max-width: var(--bh-breadcrumbs-item-max-width); overflow: hidden; text-overflow: ellipsis; } .breadcrumb-icon { flex-shrink: 0; font-size: var(--bh-breadcrumbs-icon-size); width: var(--bh-breadcrumbs-icon-size); height: var(--bh-breadcrumbs-icon-size); color: var(--bh-breadcrumbs-color); } .breadcrumb-separator { display: flex; align-items: center; color: var(--bh-breadcrumbs-separator-color); font-size: var(--bh-breadcrumbs-icon-size); flex-shrink: 0; } .breadcrumb-separator .material-symbols-outlined { font-size: var(--bh-breadcrumbs-icon-size); width: var(--bh-breadcrumbs-icon-size); height: var(--bh-breadcrumbs-icon-size); } .material-symbols-outlined { 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-lg); } } @layer bh-variants { .breadcrumb-home { padding: var(--spacing-xs); min-width: var(--bh-breadcrumbs-min-height); min-height: var(--bh-breadcrumbs-min-height); } .breadcrumb-home .breadcrumb-icon { font-size: var(--text-lg-size); width: var(--text-lg-size); height: var(--text-lg-size); } .breadcrumb-current { background-color: var(--bh-breadcrumbs-current-bg); color: var(--bh-breadcrumbs-current-color); font-weight: var(--weight-medium); cursor: default; } .breadcrumb-ellipsis { color: var(--bh-breadcrumbs-color); font-weight: var(--weight-medium); } } @layer bh-states { .breadcrumb-button:hover { background-color: var(--bh-breadcrumbs-bg-hover); color: var(--bh-breadcrumbs-color-hover); } .breadcrumb-button:focus-visible { outline: 2px solid var(--bh-breadcrumbs-focus-ring-color); outline-offset: 2px; } .breadcrumb-current:hover { background-color: var(--bh-breadcrumbs-current-bg); color: var(--bh-breadcrumbs-current-color); } .breadcrumb-ellipsis:hover { background-color: var(--bh-breadcrumbs-bg-hover); color: var(--bh-breadcrumbs-color-hover); } } @layer bh-utilities { @media (max-width: 640px) { .breadcrumb-text { max-width: var(--bh-breadcrumbs-item-max-width-sm); } .breadcrumbs-container { gap: var(--spacing-xxs); } .breadcrumb-button { padding: var(--spacing-xxs) var(--spacing-xs); font-size: var(--text-xs-size); } } } .breadcrumb-dropdown { position: relative; display: inline-flex; } .breadcrumb-dropdown-trigger { display: inline-flex; align-items: center; gap: var(--spacing-xs); } .breadcrumb-dropdown-chevron { font-size: var(--icon-size-base); color: var(--color-text-disabled); transition: color var(--animation-duration-normal) ease; } .breadcrumb-dropdown-trigger:hover .breadcrumb-dropdown-chevron { color: var(--color-text-secondary); } .breadcrumb-dropdown-menu { position: absolute; top: calc(100% + var(--spacing-xs)); left: 0; z-index: var(--bh-z-index-dropdown); min-width: 240px; background: var(--color-surface-elevated); border-radius: var(--radius-md); box-shadow: var(--shadow-dropdown); overflow: hidden; box-sizing: border-box; padding: var(--spacing-xs); } .breadcrumb-dropdown-search { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-md); border-bottom: 1px solid var(--color-border-secondary); margin-bottom: var(--spacing-xs); } .breadcrumb-dropdown-search .material-symbols-outlined { font-size: var(--icon-size-base); color: var(--color-text-secondary); } .breadcrumb-dropdown-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-inter); font-size: var(--text-sm-size); color: var(--color-text-primary); } .breadcrumb-dropdown-search input::placeholder { color: var(--color-text-tertiary); } .breadcrumb-dropdown-item { display: flex; align-items: center; gap: var(--spacing-md); width: 100%; padding: var(--spacing-md); border: none; background: transparent; border-radius: var(--radius-sm); font-family: var(--font-inter); font-size: var(--text-sm-size); color: var(--color-text-primary); cursor: pointer; text-align: left; transition: background-color var(--animation-duration-fast) ease; } .breadcrumb-dropdown-item .material-symbols-outlined { font-size: var(--icon-size-base); color: var(--color-text-secondary); } .breadcrumb-dropdown-item:hover { background: var(--color-bg-secondary); } .breadcrumb-dropdown-item.selected { background: var(--color-neutral-200); }`;
|
|
11
|
+
const bhBreadcrumbsCss = () => `@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 { display: block; --bh-breadcrumbs-color: var(--color-text-secondary); --bh-breadcrumbs-color-hover: var(--color-text-primary); --bh-breadcrumbs-bg-hover: var(--color-bg-secondary); --bh-breadcrumbs-current-bg: var(--color-bg-secondary); --bh-breadcrumbs-current-color: var(--color-text-primary); --bh-breadcrumbs-separator-color: var(--color-border-primary); --bh-breadcrumbs-focus-ring-color: var(--color-border-interactive); } } @layer bh-base { .breadcrumbs { font-family: var(--font-inter); user-select: none; } .breadcrumbs-container { display: flex; align-items: center; gap: var(--spacing-xs); flex-wrap: wrap; } .breadcrumb-item, .breadcrumb-start, .breadcrumb-slot-item { display: flex; align-items: center; } .breadcrumb-button { display: flex; align-items: center; justify-content: center; padding: var(--spacing-xs) var(--spacing-sm); border: none; background: transparent; border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--animation-duration-fast) ease, color var(--animation-duration-fast) ease; color: var(--bh-breadcrumbs-color); text-decoration: none; font-family: var(--font-inter); font-size: var(--text-sm-size); font-weight: var(--weight-medium); line-height: var(--line-height-normal); min-height: var(--bh-breadcrumbs-min-height); box-sizing: border-box; } .breadcrumb-text { white-space: nowrap; max-width: var(--bh-breadcrumbs-item-max-width); overflow: hidden; text-overflow: ellipsis; } .breadcrumb-icon { flex-shrink: 0; font-size: var(--bh-breadcrumbs-icon-size); width: var(--bh-breadcrumbs-icon-size); height: var(--bh-breadcrumbs-icon-size); color: var(--bh-breadcrumbs-color); } .breadcrumb-separator { display: flex; align-items: center; color: var(--bh-breadcrumbs-separator-color); font-size: var(--bh-breadcrumbs-icon-size); flex-shrink: 0; } .breadcrumb-separator .material-symbols-outlined { font-size: var(--bh-breadcrumbs-icon-size); width: var(--bh-breadcrumbs-icon-size); height: var(--bh-breadcrumbs-icon-size); } .material-symbols-outlined { 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-lg); } } @layer bh-variants { .breadcrumb-home { padding: var(--spacing-xs); min-width: var(--bh-breadcrumbs-min-height); min-height: var(--bh-breadcrumbs-min-height); } .breadcrumb-home .breadcrumb-icon { font-size: var(--text-lg-size); width: var(--text-lg-size); height: var(--text-lg-size); } .breadcrumb-current { background-color: var(--bh-breadcrumbs-current-bg); color: var(--bh-breadcrumbs-current-color); font-weight: var(--weight-medium); cursor: default; } .breadcrumb-ellipsis { color: var(--bh-breadcrumbs-color); font-weight: var(--weight-medium); } } @layer bh-states { .breadcrumb-button:hover { background-color: var(--bh-breadcrumbs-bg-hover); color: var(--bh-breadcrumbs-color-hover); } .breadcrumb-button:focus-visible { outline: 2px solid var(--bh-breadcrumbs-focus-ring-color); outline-offset: 2px; } .breadcrumb-current:hover { background-color: var(--bh-breadcrumbs-current-bg); color: var(--bh-breadcrumbs-current-color); } .breadcrumb-ellipsis:hover { background-color: var(--bh-breadcrumbs-bg-hover); color: var(--bh-breadcrumbs-color-hover); } } @layer bh-utilities { @media (max-width: 640px) { .breadcrumb-text { max-width: var(--bh-breadcrumbs-item-max-width-sm); } .breadcrumbs-container { gap: var(--spacing-xxs); } .breadcrumb-button { padding: var(--spacing-xxs) var(--spacing-xs); font-size: var(--text-xs-size); } } } .breadcrumb-dropdown { position: relative; display: inline-flex; } .breadcrumb-dropdown-trigger { display: inline-flex; align-items: center; gap: var(--spacing-xs); } .breadcrumb-dropdown-chevron { font-size: var(--icon-size-base); color: var(--color-text-disabled); transition: color var(--animation-duration-normal) ease; } .breadcrumb-dropdown-trigger:hover .breadcrumb-dropdown-chevron { color: var(--color-text-secondary); } .breadcrumb-dropdown-menu { position: absolute; top: calc(100% + var(--spacing-xs)); left: 0; z-index: var(--bh-z-index-dropdown); min-width: 240px; background: var(--color-surface-elevated); border-radius: var(--radius-md); box-shadow: var(--shadow-dropdown); overflow: hidden; box-sizing: border-box; padding: var(--spacing-xs); } .breadcrumb-dropdown-search { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-md); border-bottom: 1px solid var(--color-border-secondary); margin-bottom: var(--spacing-xs); } .breadcrumb-dropdown-search .material-symbols-outlined { font-size: var(--icon-size-base); color: var(--color-text-secondary); } .breadcrumb-dropdown-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-inter); font-size: var(--text-sm-size); color: var(--color-text-primary); } .breadcrumb-dropdown-search input::placeholder { color: var(--color-text-tertiary); } .breadcrumb-dropdown-item { display: flex; align-items: center; gap: var(--spacing-md); width: 100%; padding: var(--spacing-md); border: none; background: transparent; border-radius: var(--radius-sm); font-family: var(--font-inter); font-size: var(--text-sm-size); color: var(--color-text-primary); cursor: pointer; text-align: left; transition: background-color var(--animation-duration-fast) ease; } .breadcrumb-dropdown-item .material-symbols-outlined { font-size: var(--icon-size-base); color: var(--color-text-secondary); } .breadcrumb-dropdown-item:hover { background: var(--color-bg-secondary); } .breadcrumb-dropdown-item.selected { background: var(--color-neutral-200); }`;
|
|
11
12
|
|
|
12
13
|
/** CSS selector for clickable breadcrumb buttons */
|
|
13
14
|
const BREADCRUMB_BUTTON_SELECTOR = "button.breadcrumb-button:not(.breadcrumb-current)";
|
|
@@ -64,6 +65,7 @@ const BhBreadcrumbs = class {
|
|
|
64
65
|
*/
|
|
65
66
|
bhChange;
|
|
66
67
|
openDropdownIndex = null;
|
|
68
|
+
hasStartContent = false;
|
|
67
69
|
dropdownQuery = "";
|
|
68
70
|
/** Last-selected option id per item index, so selection sticks without a re-render from the consumer */
|
|
69
71
|
dropdownSelections = {};
|
|
@@ -115,6 +117,10 @@ const BhBreadcrumbs = class {
|
|
|
115
117
|
this.bhItemClick.emit(item);
|
|
116
118
|
}
|
|
117
119
|
}
|
|
120
|
+
handleStartSlotChange = (event) => {
|
|
121
|
+
const slot = event.target;
|
|
122
|
+
this.hasStartContent = slot.assignedElements().length > 0;
|
|
123
|
+
};
|
|
118
124
|
handleHomeClick = () => {
|
|
119
125
|
this.bhItemClick.emit(HOME_BREADCRUMB_ITEM);
|
|
120
126
|
};
|
|
@@ -187,6 +193,9 @@ const BhBreadcrumbs = class {
|
|
|
187
193
|
}, key: option.id, onClick: () => this.handleOptionSelect(item, option, index), role: "option", type: "button" }, option.icon && (h("span", { class: "material-symbols-outlined" }, option.icon)), h("span", null, option.label))))))));
|
|
188
194
|
}
|
|
189
195
|
renderBreadcrumbItem(item, index) {
|
|
196
|
+
if (item.slotName) {
|
|
197
|
+
return (h("div", { class: "breadcrumb-slot-item", key: index, part: "slot-item" }, h("slot", { name: item.slotName })));
|
|
198
|
+
}
|
|
190
199
|
if (item.dropdown?.length) {
|
|
191
200
|
return this.renderDropdownItem(item, index);
|
|
192
201
|
}
|
|
@@ -201,9 +210,11 @@ const BhBreadcrumbs = class {
|
|
|
201
210
|
render() {
|
|
202
211
|
const { displayItems, showEllipsis, collapsedItems } = this.displayData;
|
|
203
212
|
const overflowLabel = resolveI18n("bh-breadcrumbs", "overflowAriaLabelTemplate", this.overflowAriaLabelTemplate, "Show {{count}} hidden items").replace("{{count}}", String(collapsedItems.length));
|
|
204
|
-
return (h("nav", { key: '
|
|
213
|
+
return (h("nav", { key: 'd9cb90c45ee093c5c4e4866fd5a4bf8e8f27fdcc', "aria-label": resolveI18n("bh-breadcrumbs", "breadcrumbAriaLabel", this.breadcrumbAriaLabel, "Breadcrumb"), class: "breadcrumbs", onKeyDown: this.handleKeyDown, part: "nav" }, h("div", { key: 'f2582eaf25b5c4c1875d4ad16775f1bc18856fdc', class: "breadcrumbs-container", part: "container" }, h("div", { key: '13f2f7cdd0d62fd5e16916d84ec3bf61944ca77f', class: "breadcrumb-start", part: "start" }, h("slot", { key: '7ff95646edddc588f1f67a5d3b2261d54bba97e0', name: "start", onSlotchange: this.handleStartSlotChange })), this.hasStartContent &&
|
|
214
|
+
(this.showHome || displayItems.length > 0 || showEllipsis) &&
|
|
215
|
+
this.renderSeparator(), this.showHome && (h("div", { key: '3aac672d0d7b1f9452909736190fd7e8fc90d7ce', class: "breadcrumb-item" }, h("bh-button-icon", { key: '9de5438731f689a95f12d02b1a4a92a54d4a7906', "aria-label": resolveI18n("bh-breadcrumbs", "homeAriaLabel", this.homeAriaLabel, "Home"), hierarchy: "tertiary", iconName: "cottage", onClick: this.handleHomeClick, size: "xs" }))), this.showHome &&
|
|
205
216
|
(displayItems.length > 0 || showEllipsis) &&
|
|
206
|
-
this.renderSeparator(), showEllipsis && displayItems.length > 0 && (h(Fragment, { key: '
|
|
217
|
+
this.renderSeparator(), showEllipsis && displayItems.length > 0 && (h(Fragment, { key: 'c1653191bf2907dbd5d766670dfa40a814caaceb' }, h("div", { key: '7a09f1af2b8251ad7a3bfd5a932cfe206047eba9', class: "breadcrumb-item" }, this.renderBreadcrumbItem(displayItems[0], 0)), this.renderSeparator(), h("div", { key: 'eb4bc8c0f62172df697fbe5c7fdd20d368a5e36f', class: "breadcrumb-item", part: "item" }, h("button", { key: 'ffc550c65f950da959790794fe3c5a8a6e302096', "aria-label": overflowLabel, class: "breadcrumb-button breadcrumb-ellipsis", onClick: this.handleEllipsisClick, onKeyDown: this.handleEllipsisKeyDown, part: "ellipsis-button", title: overflowLabel, type: "button" }, h("span", { key: 'ad45203c999416f1d3e67092b042397c504c8dde', class: "breadcrumb-text", part: "text" }, "..."))), this.renderSeparator(), displayItems.slice(1).map((item, index) => (h(Fragment, null, h("div", { class: "breadcrumb-item", key: `item-${index + 1}` }, this.renderBreadcrumbItem(item, index + 1)), index < displayItems.slice(1).length - 1 &&
|
|
207
218
|
this.renderSeparator()))))), !showEllipsis &&
|
|
208
219
|
displayItems.map((item, index) => (h(Fragment, null, h("div", { class: "breadcrumb-item", key: `item-${index}` }, this.renderBreadcrumbItem(item, index)), index < displayItems.length - 1 && this.renderSeparator()))))));
|
|
209
220
|
}
|
|
@@ -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 createFocusStateManager } from './focus-state-manager-YdVz1TeW.js';
|
|
4
4
|
import { c as createDestroySubjectSync, a as completeSubject } from './lifecycle-CS8F5LFw.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 { A as ANIMATION_DURATIONS } from './constants-BoVgy_Ao.js';
|
|
8
9
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
@@ -159,7 +160,7 @@ const BhButtonIcon = class {
|
|
|
159
160
|
"button-icon-disabled": this.disabled,
|
|
160
161
|
"button-icon-loading": this.loading,
|
|
161
162
|
};
|
|
162
|
-
return (h("button", { key: '
|
|
163
|
+
return (h("button", { key: '0c19bb2ed14337271c6146bbf94e975735f0ccb0', "aria-busy": this.loading ? "true" : undefined, "aria-describedby": this.describedBy, "aria-disabled": this.disabled ? "true" : undefined, "aria-expanded": this.hasPopup ? String(this.expanded) : undefined, "aria-haspopup": this.hasPopup && this.popupType ? this.popupType : undefined, "aria-label": this.ariaLabel || this.iconName, "aria-pressed": this.toggle ? String(this.pressed) : undefined, class: buttonClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, disabled: this.disabled, onBlur: this.handleBlur, onClick: this.handleClick, onContextMenu: this.handleContextMenu, onDblClick: this.handleDoubleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onKeyUp: this.handleKeyUp, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onTouchEnd: this.handleTouchEnd, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, part: "button", role: this.toggle ? "button" : undefined, tabindex: this.disabled ? -1 : 0, type: this.type }, this.loading ? (h("bh-loader-spinner", { size: "sm", variant: this.hierarchy === "primary" ? "white" : "default" })) : (h("span", { class: "material-symbols-outlined icon", part: "icon" }, this.iconName))));
|
|
163
164
|
}
|
|
164
165
|
};
|
|
165
166
|
BhButtonIcon.style = bhButtonIconCss();
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CTHvNfIu.js';
|
|
2
|
-
import { c as createComponentLogger } from './
|
|
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 { c as createFocusStateManager, g as getFocusStateClasses } from './focus-state-manager-YdVz1TeW.js';
|
|
5
|
-
import { c as createComponentErrorHandler } from './component-error-handler-
|
|
5
|
+
import { c as createComponentErrorHandler } from './component-error-handler-bgLpf9Pn.js';
|
|
6
6
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
7
7
|
import { t as timer$Sync } from './timers-Bf0qW3wI.js';
|
|
8
8
|
import { b as buildComponentClasses, m as mergeClasses } from './class-builder-Bam7V_bL.js';
|
|
9
9
|
import { A as ANIMATION_DURATIONS } from './constants-BoVgy_Ao.js';
|
|
10
|
+
import './error-boundary-afpK3NgJ.js';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* ARIA Builder Utility
|
|
@@ -333,7 +334,7 @@ const BhButton = class {
|
|
|
333
334
|
const buttonClasses = mergeClasses(baseClasses, focusClasses, {
|
|
334
335
|
[`btn-icon-${this.icon}`]: true,
|
|
335
336
|
});
|
|
336
|
-
return (h("button", { key: '
|
|
337
|
+
return (h("button", { key: '4d51d6fa002703616c1772bc94821f050942227a', "aria-atomic": "true", "aria-busy": ariaBusy(this.loading), "aria-describedby": this.describedBy, "aria-disabled": ariaDisabled(this.disabled), "aria-expanded": this.hasPopup ? ariaExpanded(this.expanded) : undefined, "aria-haspopup": this.hasPopup && this.popupType ? this.popupType : undefined, "aria-label": this.ariaLabel || undefined, "aria-live": "off", "aria-pressed": ariaPressed(this.toggle, this.pressed), "aria-roledescription": this.roleDescription, class: buttonClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, disabled: this.disabled, onBlur: this.handleBlurEvent, onClick: this.handleClick, onContextMenu: this.handleContextMenu, onDblClick: this.handleDoubleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onKeyPress: this.handleKeyPress, onKeyUp: this.handleKeyUp, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onTouchEnd: this.handleTouchEnd, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, part: "button", role: this.buttonRole || (this.toggle ? "button" : undefined), tabindex: tabIndexForDisabled(this.disabled), type: this.type }, showLeadingIcon && (h("span", { key: 'a590f7ccd123ef9f1fdb1e603359e9daecc8980d', class: `btn-icon ${this.getIconSizeClass()}`, part: "icon" }, this.loading ? (h("bh-loader-spinner", { size: this.getLoaderSize(), variant: this.getLoaderVariant() })) : (h("span", { class: "btn-icon-material material-symbols-outlined" }, this.iconName)))), h("span", { key: '76a35460fca9bbe0b5718cddfa181bf918b91500', class: `btn-label ${this.getTextSizeClass()}`, part: "label" }, h("slot", { key: '8a55cf75feb637e230020d2abaa1b75672302100' }, this.label)), showTrailingIcon && (h("span", { key: '87246a5b2fb7e7338a01251e4564c98af0208af9', class: `btn-icon ${this.getIconSizeClass()}`, part: "icon" }, h("span", { key: 'aac0889ad057a049eba0aa72ad35cf373e2c0048', class: "btn-icon-material material-symbols-outlined" }, this.iconName)))));
|
|
337
338
|
}
|
|
338
339
|
};
|
|
339
340
|
BhButton.style = bhButtonCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, 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 bhCardContentCss = () => `@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;--bh-card-content-bg:transparent;--bh-card-content-divider-color:var(--color-border-secondary);--bh-card-content-padding-none:0;--bh-card-content-padding-sm:var(--spacing-sm) var(--spacing-md);--bh-card-content-padding-md:var(--spacing-md) var(--spacing-xl);--bh-card-content-padding-lg:var(--spacing-xl) var(--spacing-2xl)}}@layer bh-base{.card-content{display:block;background:var(--bh-card-content-bg)}.card-content-divider{height:1px;background:var(--bh-card-content-divider-color)}}@layer bh-variants{.card-content-padding-none{padding:var(--bh-card-content-padding-none)}.card-content-padding-sm{padding:var(--bh-card-content-padding-sm)}.card-content-padding-md{padding:var(--bh-card-content-padding-md)}.card-content-padding-lg{padding:var(--bh-card-content-padding-lg)}}`;
|
|
6
7
|
|
|
@@ -33,7 +34,7 @@ const BhCardContent = class {
|
|
|
33
34
|
"card-content": true,
|
|
34
35
|
[`card-content-padding-${this.padding}`]: true,
|
|
35
36
|
};
|
|
36
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '4050a64922f3a7a003841d29280b93022a4e3d68' }, this.showDivider && (h("div", { key: 'cdea7a3fc20ebe1542e9f228bf6de4fa9c2767f8', class: "card-content-divider", part: "divider" })), h("div", { key: '427b580123407b5a5882dbb9b133fe40d29a5e4a', class: contentClasses, part: "content" }, h("slot", { key: '71b4063ff9525de41e7d4cd219d70437c408a3c0' }))));
|
|
37
38
|
}
|
|
38
39
|
};
|
|
39
40
|
BhCardContent.style = bhCardContentCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, 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 bhCardFooterCss = () => `@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;--bh-card-footer-bg:var(--color-bg-primary);--bh-card-footer-divider-color:var(--color-border-secondary)}}@layer bh-tokens{:host{--bh-card-footer-gap:var(--spacing-xs);--bh-card-footer-content-gap:var(--spacing-md);--bh-card-footer-content-padding:var(--spacing-xl) var(--spacing-2xl);--bh-card-footer-actions-gap:var(--spacing-none)}}@layer bh-base{.card-footer{display:flex;flex-direction:column;gap:var(--bh-card-footer-gap);background:var(--bh-card-footer-bg)}.card-footer-divider{height:1px;background:var(--bh-card-footer-divider-color)}.card-footer-content{display:flex;align-items:center;gap:var(--bh-card-footer-content-gap);padding:var(--bh-card-footer-content-padding)}.card-footer-primary-actions{display:flex;flex:1 0 0;align-items:center;gap:var(--bh-card-footer-actions-gap);min-width:0}.card-footer-primary-actions:empty{display:none}.card-footer-secondary-actions{display:flex;align-items:center;gap:var(--bh-card-footer-content-gap)}.card-footer-secondary-actions:empty{display:none}}@layer bh-variants{.card-footer-align-left{justify-content:flex-start}.card-footer-align-right{justify-content:flex-end}.card-footer-align-space-between{justify-content:space-between}}`;
|
|
6
7
|
|
|
@@ -33,7 +34,7 @@ const BhCardFooter = class {
|
|
|
33
34
|
"card-footer-content": true,
|
|
34
35
|
[`card-footer-align-${this.alignment}`]: true,
|
|
35
36
|
};
|
|
36
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '236a3945387aa7b7c0414383af9d320a5a1e7bb8' }, h("div", { key: 'a1d7b7dd892abf5065e27da9032837ef930a42cf', class: "card-footer", part: "footer" }, this.showDivider && (h("div", { key: '45992a08fbb9e5896bf94972f1597f57788b0418', class: "card-footer-divider", part: "divider" })), h("div", { key: '00745982160b90af6f908ceb49fb7bcadd1d1e55', class: footerContentClasses, part: "content" }, h("div", { key: 'e51af94107ec9f13cd0f08c090639256d45528bd', class: "card-footer-primary-actions" }, h("slot", { key: 'c3fca58447b034b92a862c3d793b44e0afc6098b', name: "primary-actions" })), h("div", { key: '70e2955b01da30857abb6de5770b35e2b8ead2f3', class: "card-footer-secondary-actions" }, h("slot", { key: '6e8d9b426e6d57455432f4a8a7444804cb7ba4bc', name: "secondary-actions" }))))));
|
|
37
38
|
}
|
|
38
39
|
};
|
|
39
40
|
BhCardFooter.style = bhCardFooterCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, 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
|
import { B as BellhopI18n, r as resolveI18n } from './i18n-BNVOtH-1.js';
|
|
5
6
|
|
|
6
7
|
const bhCardHeaderCss = () => `@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;--bh-card-header-bg:var(--color-bg-primary);--bh-card-header-title-color:var(--color-text-primary);--bh-card-header-supporting-color:var(--color-text-tertiary);--bh-card-header-divider-color:var(--color-border-secondary)}}@layer bh-tokens{:host{--bh-card-header-gap:var(--spacing-xl);--bh-card-header-content-gap:var(--spacing-sm);--bh-card-header-content-padding:var(--spacing-md) var(--spacing-md) 0 var(--spacing-md);--bh-card-header-text-container-gap:var(--spacing-xxs);--bh-card-header-title-row-gap:var(--spacing-xl);--bh-card-header-supporting-row-gap:var(--spacing-xl);--bh-card-header-title-font-family:var(--font-inter);--bh-card-header-title-font-size:var(--text-md-size);--bh-card-header-title-font-weight:var(--weight-semibold);--bh-card-header-title-line-height:var(--line-height-normal);--bh-card-header-supporting-font-family:var(--font-inter);--bh-card-header-supporting-font-size:var(--text-sm-size);--bh-card-header-supporting-font-weight:var(--weight-regular);--bh-card-header-supporting-line-height:var(--line-height-normal)}}@layer bh-base{.card-header{display:flex;flex-direction:column;gap:var(--bh-card-header-gap);background:var(--bh-card-header-bg)}.card-header-content{display:flex;gap:var(--bh-card-header-content-gap);align-items:flex-start;padding:var(--bh-card-header-content-padding)}.card-header-text-container{display:flex;flex-direction:column;flex:1 0 0;gap:var(--bh-card-header-text-container-gap);min-width:0}.card-header-title-row{display:flex;align-items:center;gap:var(--bh-card-header-title-row-gap)}.card-header-title{font-family:var(--bh-card-header-title-font-family);font-size:var(--bh-card-header-title-font-size);font-weight:var(--bh-card-header-title-font-weight);line-height:var(--bh-card-header-title-line-height);color:var(--bh-card-header-title-color)}.card-header-supporting-row{display:flex;align-items:center;gap:var(--bh-card-header-supporting-row-gap);width:100%}.card-header-spacer{width:var(--bh-avatar-size-sm);flex-shrink:0}.card-header-supporting-text{flex:1 0 0;font-family:var(--bh-card-header-supporting-font-family);font-size:var(--bh-card-header-supporting-font-size);font-weight:var(--bh-card-header-supporting-font-weight);line-height:var(--bh-card-header-supporting-line-height);color:var(--bh-card-header-supporting-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-header-divider{height:1px;background:var(--bh-card-header-divider-color)}}`;
|
|
@@ -82,7 +83,7 @@ const BhCardHeader = class {
|
|
|
82
83
|
}
|
|
83
84
|
handleDropdownClick = () => { };
|
|
84
85
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: 'd673f2fc9a15a8faf5480cb3a3b096b9803546d0' }, h("div", { key: 'c03f54e19cba4a6b2556b4c237877bceeed682d7', class: "card-header", part: "header" }, h("div", { key: '272eb0ebfbbe2ab8d2c1636de340cae474d3bce9', class: "card-header-content", part: "content" }, h("div", { key: '1cdd79d5d32b39183de3e52d395be8f7365ca8ef', class: "card-header-text-container", part: "text-container" }, h("div", { key: '792c35548b328ea59d4b99943b84efac7f148bd3', class: "card-header-title-row" }, this.showFeaturedIcon && (h("bh-featured-icon", { key: 'c6f6a3e358435ff53b172d797d1dfe1595cb6680', color: this.featuredIconColor, icon: this.featuredIcon, iconStyle: this.featuredIconStyle, size: "sm" })), this.showTitle && (h("span", { key: 'bba0977d87b6259bf39062e79cd08aeb174fa7fc', class: "card-header-title" }, resolveI18n("bh-card-header", "headerTitle", this.headerTitle, "Card title"))), this.showBadge && this.badgeText && (h("bh-badge", { key: '17e15b5b243b8e0133754b128d492760685f602b', emphasis: "medium", label: this.badgeText, size: "sm", variant: "blue" }))), this.showSupportingText && (h("div", { key: 'c4b0c2f46a08e7e737fa191f803b3505df3ed605', class: "card-header-supporting-row" }, this.showFeaturedIcon && h("div", { key: 'ad94dbff5123a1d98cc81617c1b483b669f9978c', class: "card-header-spacer" }), h("span", { key: '289225d6cf026969a756066595292a67301a64f4', class: "card-header-supporting-text" }, resolveI18n("bh-card-header", "supportingText", this.supportingText, "Card description"))))), this.showDropdown && (h("bh-button-icon", { key: '0702ef0228262400adcb36fccdc9117f979773de', ariaLabel: "More options", hierarchy: "quaternary", iconName: "more_vert", onBhClick: this.handleDropdownClick, size: "sm" }))), h("slot", { key: '8ab0ff933c820e5bf0da6f4df351a097d05b50e0', name: "tabs" }), this.showDivider && h("div", { key: 'd46267ac7983f1e47249544d10dbe57b18f0c124', class: "card-header-divider" }))));
|
|
86
87
|
}
|
|
87
88
|
};
|
|
88
89
|
BhCardHeader.style = bhCardHeaderCss();
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, a as getElement, h, H as Host } from './index-CTHvNfIu.js';
|
|
2
2
|
import { a as validateNumber } from './validators-R-A72b5e.js';
|
|
3
|
-
import { c as createComponentLogger
|
|
3
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
4
4
|
import { c as createFocusStateManager, g as getFocusStateClasses } from './focus-state-manager-YdVz1TeW.js';
|
|
5
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
5
6
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
6
7
|
import { a as isActionKey } from './keyboard-helpers-Dg0_t7Yy.js';
|
|
7
8
|
import './keyboard-constants-zdFuIabL.js';
|
|
@@ -224,7 +225,7 @@ const BhCard = class {
|
|
|
224
225
|
"card-draggable": this.dragEnabled,
|
|
225
226
|
...focusClasses,
|
|
226
227
|
};
|
|
227
|
-
return (h(Host, { key: '
|
|
228
|
+
return (h(Host, { key: 'c9dc86b35d4f9535ec093c1f7d0d761d77e62f26' }, h("div", { key: 'c2d813585335e994f8f99b94aa3eb04702764244', "aria-atomic": String(this.ariaAtomic), "aria-describedby": this.ariaDescribedBy, "aria-dropeffect": this.dragEnabled ? "move" : undefined, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-grabbed": this.dragEnabled ? "false" : undefined, "aria-label": this.ariaLabel, "aria-labelledby": this.ariaLabelledBy, "aria-live": this.ariaLive, "aria-pressed": this.role === "button" ? String(this.ariaPressed) : undefined, "aria-roledescription": this.ariaRoleDescription, "aria-selected": this.selectable ? String(this.selected) : undefined, class: cardClasses, "data-focus-visible": this.focusState.isKeyboardFocused ? "true" : "false", "data-focused": this.focusState.isFocused, "data-hovered": this.focusState.isHovered, draggable: this.dragEnabled, onBlur: this.handleBlur, onClick: this.handleClick, onDblClick: this.handleDoubleClick, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, part: "base", role: this.role || undefined, tabindex: this.selectable || this.role === "button" ? 0 : undefined }, this.showHeader && (h("div", { key: '4fd61b7ba2443ce9866b2b76e0fe01703293583b', class: "card-header-slot", part: "header" }, h("slot", { key: 'd635ccfb2607a8a579bbd2cbba5f205b72b39716', name: "header" }))), h("div", { key: 'a91feda047159bc98a809513977a871b45fcb4ad', class: "card-content", part: "content", style: contentStyle }, h("slot", { key: '63284996f37a196d4632ad29e9887d8d00b9b7ba' }), !this.hasContent && (h("div", { key: '9cefba952c2f71a29ca08cbadee50769681fe36b', class: "card-content-placeholder" }, h("span", { key: '655334ff224e59cd43f3e56bf3ff64e4a38f4d16', class: "card-placeholder-text" }, this.placeholderText)))), this.showFooter && (h("div", { key: 'f5da3fbf516694c59122ba75f2eee1053eb2a352', class: "card-footer-slot", part: "footer" }, h("slot", { key: 'a38535924f63df83876c92ad3e52169ff1c84fd4', name: "footer" }))))));
|
|
228
229
|
}
|
|
229
230
|
};
|
|
230
231
|
BhCard.style = bhCardCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, 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 bhChartTooltipCss = () => ` @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"); @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } @layer bh-reset, bh-tokens, bh-base, bh-utilities; @layer bh-tokens { :root { --color-white: hsl(0, 0%, 100%); --color-black: hsl(0, 0%, 0%); --color-transparent: hsla(0, 0%, 100%, 0); --color-neutral-25: hsl(210, 20%, 99%); --color-neutral-50: hsl(225, 40%, 98%); --color-neutral-100: hsl(225, 40%, 96%); --color-neutral-200: hsl(223, 32%, 91%); --color-neutral-300: hsl(223, 29%, 84%); --color-neutral-400: hsl(224, 23%, 65%); --color-neutral-500: hsl(226, 16%, 47%); --color-neutral-600: hsl(225, 22%, 37%); --color-neutral-700: hsl(224, 25%, 27%); --color-neutral-800: hsl(226, 25%, 20%); --color-neutral-900: hsl(227, 31%, 11%); --color-neutral-950: hsl(228, 38%, 5%); --color-brand-25: hsl(220, 82%, 98%); --color-brand-50: hsl(226, 100%, 97%); --color-brand-100: hsl(223, 88%, 94%); --color-brand-200: hsl(226, 71%, 86%); --color-brand-300: hsl(227, 75%, 78%); --color-brand-400: hsl(228, 73%, 67%); --color-brand-500: hsl(230, 69%, 59%); --color-brand-600: hsl(230, 69%, 48%); --color-brand-700: hsl(230, 69%, 41%); --color-brand-800: hsl(230, 69%, 31%); --color-brand-900: hsl(230, 68%, 21%); --color-brand-950: hsl(229, 70%, 8%); --color-error-25: hsl(6, 100%, 99%); --color-error-50: hsl(6, 100%, 98%); --color-error-100: hsl(10, 100%, 93%); --color-error-200: hsl(8, 100%, 88%); --color-error-300: hsl(8, 100%, 79%); --color-error-400: hsl(10, 94%, 65%); --color-error-500: hsl(16, 100%, 48%); --color-error-600: hsl(12, 100%, 44%); --color-error-700: hsl(11, 100%, 37%); --color-error-800: hsl(10, 100%, 30%); --color-error-900: hsl(14, 100%, 25%); --color-error-950: hsl(7, 100%, 14%); --color-warning-25: hsl(47, 92%, 98%); --color-warning-50: hsl(47, 100%, 96%); --color-warning-100: hsl(48, 93%, 89%); --color-warning-200: hsl(48, 95%, 78%); --color-warning-300: hsl(46, 96%, 65%); --color-warning-400: hsl(40, 95%, 60%); --color-warning-500: hsl(33, 92%, 58%); --color-warning-600: hsl(26, 71%, 51%); --color-warning-700: hsl(21, 72%, 41%); --color-warning-800: hsl(21, 75%, 33%); --color-warning-900: hsl(21, 71%, 27%); --color-warning-950: hsl(21, 84%, 14%); --color-success-25: hsl(144, 78%, 98%); --color-success-50: hsl(138, 76%, 97%); --color-success-100: hsl(141, 78%, 93%); --color-success-200: hsl(140, 76%, 85%); --color-success-300: hsl(142, 75%, 73%); --color-success-400: hsl(143, 68%, 55%); --color-success-500: hsl(136, 57%, 49%); --color-success-600: hsl(134, 58%, 41%); --color-success-700: hsl(139, 61%, 31%); --color-success-800: hsl(143, 63%, 24%); --color-success-900: hsl(142, 54%, 19%); --color-success-950: hsl(143, 67%, 11%); --font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --weight-regular: 400; --weight-medium: 500; --weight-semibold: 600; --weight-bold: 700; --text-xl-size: 1.25rem; --text-lg-size: 1.125rem; --text-md-size: 1rem; --text-sm-size: 0.875rem; --text-xs-size: 0.75rem; --text-xl-line: 1.875rem; --text-lg-line: 1.75rem; --text-md-line: 1.5rem; --text-sm-line: 1.25rem; --text-xs-line: 1.125rem; --spacing-none: 0rem; --spacing-xxs: 0.125rem; --spacing-xs: 0.25rem; --spacing-sm: 0.375rem; --spacing-md: 0.5rem; --spacing-lg: 0.75rem; --spacing-xl: 1rem; --spacing-2xl: 1.25rem; --spacing-3xl: 1.5rem; --spacing-4xl: 2rem; --spacing-5xl: 2.5rem; --spacing-6xl: 3rem; --radius-none: 0rem; --radius-xxs: 0.125rem; --radius-xs: 0.25rem; --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.625rem; --radius-xl: 0.75rem; --radius-2xl: 1rem; --radius-3xl: 1.25rem; --radius-4xl: 1.5rem; --radius-full: 9999px; --shadow-xs: 0px 1px 2px rgba(16, 24, 40, 0.05); --shadow-sm: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06); --shadow-md: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06); --shadow-lg: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03); --shadow-xl: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03); --icon-compensation-xs-btn: calc(var(--spacing-lg) - var(--spacing-xs)); --icon-compensation-sm-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --icon-compensation-md-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --icon-compensation-lg-btn: calc(var(--spacing-xl) - var(--spacing-xs)); --color-bg-primary: var(--color-white); --color-bg-secondary: var(--color-neutral-50); --color-bg-tertiary: var(--color-neutral-100); --color-bg-quaternary: var(--color-neutral-200); --color-bg-inverse: var(--color-neutral-900); --color-bg-interactive: var(--color-brand-600); --color-bg-interactive-hover: var(--color-brand-700); --color-bg-interactive-active: var(--color-brand-800); --color-bg-destructive: var(--color-error-600); --color-bg-destructive-hover: var(--color-error-700); --color-bg-destructive-active: var(--color-error-800); --color-bg-success: var(--color-success-700); --color-bg-success-hover: var(--color-success-800); --color-bg-warning: var(--color-warning-500); --color-bg-disabled: var(--color-neutral-200); --color-text-primary: var(--color-neutral-900); --color-text-secondary: var(--color-neutral-600); --color-text-tertiary: var(--color-neutral-500); --color-text-inverse: var(--color-white); --color-text-interactive: var(--color-brand-600); --color-text-interactive-hover: var(--color-brand-700); --color-text-error: var(--color-error-600); --color-text-success: var(--color-success-700); --color-text-warning: var(--color-warning-700); --color-text-disabled: var(--color-neutral-400); --color-border-primary: var(--color-neutral-300); --color-border-secondary: var(--color-neutral-200); --color-border-interactive: var(--color-brand-500); --color-border-error: var(--color-error-500); --color-border-success: var(--color-success-500); --color-border-disabled: var(--color-neutral-200); --color-surface-overlay: rgba(0, 0, 0, 0.5); --color-surface-elevated: var(--color-white); } } @layer bh-reset { *, *::before, *::after { box-sizing: border-box; } } @layer bh-base { .material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; } } @layer bh-tokens, bh-base, bh-variants, bh-states, bh-utilities; @layer bh-tokens { :host { display: block; --bh-chart-tooltip-bg: var(--color-bg-primary); --bh-chart-tooltip-color: var(--color-text-primary); --bh-chart-tooltip-border-color: var(--color-border-secondary); --bh-chart-tooltip-margin-top: var(--spacing-sm); --bh-chart-tooltip-padding: var(--spacing-sm) var(--spacing-md); --bh-chart-tooltip-border-radius: var(--radius-md); --bh-chart-tooltip-font-family: var(--font-inter); --bh-chart-tooltip-font-size: var(--text-xs-size); --bh-chart-tooltip-line-height: var(--line-height-normal); --bh-chart-tooltip-separator-color: var(--color-border-secondary); --bh-chart-tooltip-gap: var(--spacing-xs); --bh-chart-tooltip-item-gap: var(--spacing-sm); --bh-chart-tooltip-dot-size: var(--spacing-sm); --bh-chart-tooltip-label-color: var(--color-text-secondary); --bh-chart-tooltip-value-color: var(--color-text-primary); --bh-chart-tooltip-font-weight-medium: var(--weight-medium); --bh-chart-tooltip-font-weight-semibold: var(--weight-semibold); --bh-chart-tooltip-total-padding-top: var(--spacing-xs); --bh-chart-tooltip-storybook-offset: -10px; } } @layer bh-base { .chart-tooltip { position: fixed; z-index: var(--bh-z-index-tooltip); pointer-events: none; opacity: 0; transition: opacity var(--animation-duration-fast) ease; transform: translate(-50%, -100%); margin-top: var(--bh-chart-tooltip-margin-top); width: max-content; min-width: 120px; max-width: 240px; } .tooltip-content { background: var(--bh-chart-tooltip-bg); color: var(--bh-chart-tooltip-color); padding: var(--bh-chart-tooltip-padding); border-radius: var(--bh-chart-tooltip-border-radius); font-family: var(--bh-chart-tooltip-font-family); font-size: var(--bh-chart-tooltip-font-size); line-height: var(--bh-chart-tooltip-line-height); box-shadow: var(--shadow-chart-tooltip); border: 1px solid var(--border-contrast-light); } .tooltip-header { font-weight: var(--bh-chart-tooltip-font-weight-semibold); margin-bottom: var(--bh-chart-tooltip-gap); padding-bottom: var(--bh-chart-tooltip-gap); border-bottom: 1px solid var(--bh-chart-tooltip-separator-color); } .tooltip-items { display: flex; flex-direction: column; gap: var(--bh-chart-tooltip-gap); } .tooltip-item { display: flex; align-items: center; gap: var(--bh-chart-tooltip-item-gap); white-space: nowrap; } .tooltip-dot { width: var(--bh-chart-tooltip-dot-size); height: var(--bh-chart-tooltip-dot-size); border-radius: 50%; flex-shrink: 0; } .tooltip-label { color: var(--bh-chart-tooltip-label-color); font-weight: var(--weight-regular); flex-shrink: 0; } .tooltip-value { color: var(--bh-chart-tooltip-value-color); font-weight: var(--bh-chart-tooltip-font-weight-medium); } .tooltip-total { margin-top: var(--bh-chart-tooltip-gap); padding-top: var(--bh-chart-tooltip-total-padding-top); border-top: 1px solid var(--bh-chart-tooltip-separator-color); display: flex; justify-content: space-between; gap: var(--spacing-md); } .total-label { color: var(--bh-chart-tooltip-label-color); font-weight: var(--bh-chart-tooltip-font-weight-medium); } .total-value { color: var(--bh-chart-tooltip-value-color); font-weight: var(--bh-chart-tooltip-font-weight-semibold); } } @layer bh-variants { .chart-tooltip.storybook-mode { position: absolute; transform: translate(-50%, -100%); margin-top: var(--bh-chart-tooltip-storybook-offset); } } @layer bh-states { .chart-tooltip.visible { opacity: 1; } }`;
|
|
6
7
|
|
|
@@ -94,14 +95,14 @@ const BhChartTooltip = class {
|
|
|
94
95
|
reportComponentError("bh-chart-tooltip", error);
|
|
95
96
|
}
|
|
96
97
|
render() {
|
|
97
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: 'd5f7fac4d429e88941da67424275d484d2cfedcd' }, h("div", { key: '399c090f95c8ddd3f6b2680ea506df920b056fa9', "aria-hidden": this.visible ? undefined : "true", class: {
|
|
98
99
|
"chart-tooltip": true,
|
|
99
100
|
visible: this.visible,
|
|
100
101
|
"storybook-mode": this.storybookMode,
|
|
101
102
|
}, part: "tooltip", style: {
|
|
102
103
|
left: `${this.safeX}px`,
|
|
103
104
|
top: `${this.safeY}px`,
|
|
104
|
-
} }, h("div", { key: '
|
|
105
|
+
} }, h("div", { key: '8b32cb27fbfc42bf5cc42e12e06c491c29b7f582', class: "tooltip-content", part: "content" }, this.header && h("div", { key: 'f4430f54448aa62dd8575e005de4d094a216d034', class: "tooltip-header" }, this.header), h("div", { key: 'fae580500c4ccde9bead1673cf862bb0e67a6377', class: "tooltip-items" }, this.items.map((item, index) => (h("div", { class: "tooltip-item", key: index }, item.color && (h("span", { class: "tooltip-dot", style: { backgroundColor: item.color } })), item.label && (h("span", { class: "tooltip-label" }, item.label, ":")), h("span", { class: "tooltip-value" }, item.value))))), this.showTotal && this.total && (h("div", { key: '1164b336605e46a6f25eb4c61e74f2c9dd73d357', class: "tooltip-total" }, h("span", { key: '13c20395c26f67346253f4b6b3cb228a1aeb6cf9', class: "total-label" }, "Total:"), h("span", { key: '503f2e1e85589eb62003c5313621cd48199f8f5d', class: "total-value" }, this.total)))))));
|
|
105
106
|
}
|
|
106
107
|
};
|
|
107
108
|
BhChartTooltip.style = bhChartTooltipCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { 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 bhChatMessageCss = () => `@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-chat-incoming-bg: var(--color-bg-tertiary); --bh-chat-outgoing-bg: var(--color-brand-100); --bh-chat-file-bg: var(--color-bg-primary); --bh-chat-file-border: var(--color-border-secondary); --bh-chat-typing-bg: var(--color-bg-tertiary); --bh-chat-author-color: var(--color-text-secondary); --bh-chat-timestamp-color: var(--color-text-tertiary); --bh-chat-body-color: var(--color-text-primary); --bh-chat-file-name-color: var(--color-text-secondary); --bh-chat-file-size-color: var(--color-text-tertiary); --bh-chat-avatar-size: var(--bh-avatar-size-sm); --bh-chat-online-dot-size: var(--bh-avatar-status-size-md); --bh-chat-online-dot-color: var(--color-success-500); --bh-chat-reaction-bg: var(--color-bg-secondary); --bh-chat-reaction-bg-hover: var(--color-bg-tertiary); --bh-chat-menu-color: var(--color-text-tertiary); --bh-chat-typing-dot-color: var(--color-text-disabled); } } @layer bh-base { .chat-message { display: flex; flex-direction: column; gap: var(--spacing-xxs); position: relative; width: 100%; } .chat-message-header { display: flex; gap: var(--spacing-md); align-items: center; width: 100%; } .chat-message-author { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm-size); font-weight: var(--weight-semibold); line-height: var(--text-sm-line); color: var(--bh-chat-author-color); } .chat-message-timestamp { flex-shrink: 0; font-size: var(--text-xs-size); font-weight: var(--weight-regular); line-height: var(--text-xs-line); color: var(--bh-chat-timestamp-color); } .chat-message-body-row { display: flex; gap: var(--spacing-md); align-items: flex-start; width: 100%; position: relative; } .chat-message-avatar-wrapper { position: relative; flex-shrink: 0; width: var(--bh-chat-avatar-size); height: var(--bh-chat-avatar-size); } .chat-message-avatar-img { width: 100%; height: 100%; border-radius: var(--radius-full); object-fit: cover; } .chat-message-online-indicator { position: absolute; bottom: 0; left: 0; width: var(--bh-chat-online-dot-size); height: var(--bh-chat-online-dot-size); border-radius: var(--radius-full); background: var(--bh-chat-online-dot-color); border: 2px solid var(--color-bg-primary); } .chat-message-bubble { min-width: 0; max-width: 75%; padding: var(--spacing-md) var(--spacing-lg); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); font-size: var(--text-sm-size); font-weight: var(--weight-regular); line-height: var(--text-sm-line); color: var(--bh-chat-body-color); word-break: break-word; position: relative; } .chat-message-file-wrapper { min-width: 0; max-width: 75%; position: relative; } .chat-message-file { display: flex; gap: var(--spacing-lg); align-items: center; width: 100%; padding: var(--spacing-md) var(--spacing-lg); background: var(--bh-chat-file-bg); border: 1px solid var(--bh-chat-file-border); border-radius: var(--radius-md); cursor: pointer; font-family: inherit; text-align: left; } .file-icon-wrapper { flex-shrink: 0; width: var(--bh-button-height-md); height: var(--bh-button-height-md); display: flex; align-items: center; justify-content: center; } .file-type-badge { display: inline-flex; align-items: center; justify-content: center; padding: var(--spacing-xxs) var(--spacing-xs); font-size: var(--bh-avatar-text-xxs); font-weight: var(--weight-bold); text-transform: uppercase; border-radius: var(--radius-xs); background: var(--color-bg-tertiary); color: var(--color-text-tertiary); } .file-info { display: flex; flex-direction: column; flex: 1; min-width: 0; } .file-name { font-size: var(--text-sm-size); font-weight: var(--weight-medium); line-height: var(--text-sm-line); color: var(--bh-chat-file-name-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-size { font-size: var(--text-xs-size); font-weight: var(--weight-regular); line-height: var(--text-xs-line); color: var(--bh-chat-file-size-color); } .chat-message-reactions { display: flex; gap: var(--spacing-xs); align-items: center; justify-content: flex-end; width: 100%; } .chat-message-reaction-actions { display: flex; gap: var(--spacing-xxs); align-items: center; } .chat-message-emoji-wrapper { position: relative; } .chat-message-react-btn { display: flex; align-items: center; justify-content: center; height: var(--icon-size-lg); padding: var(--spacing-xs) var(--spacing-md); background: var(--bh-chat-reaction-bg); border: none; border-radius: var(--radius-full); cursor: pointer; transition: background 0.2s ease-in-out; } .chat-message-emoji-btn { display: flex; align-items: center; justify-content: center; height: var(--icon-size-lg); padding: var(--spacing-xs) var(--spacing-md); background: var(--bh-chat-reaction-bg); border: none; border-radius: var(--radius-full); overflow: hidden; cursor: pointer; transition: background 0.2s ease-in-out; } .chat-message-emoji-btn:hover { background: var(--bh-button-icon-tertiary-bg-hover); } .react-emoji { font-size: var(--icon-size-sm); line-height: 1; } .emoji-picker-icon { font-size: var(--icon-size-md); color: var(--bh-chat-menu-color); } .chat-message-menu { position: absolute; top: 0; display: flex; align-items: center; justify-content: center; width: var(--icon-size-lg); height: var(--icon-size-lg); padding: 0; border: none; background: transparent; cursor: pointer; border-radius: var(--radius-xs); color: var(--bh-chat-menu-color); overflow: hidden; transition: background 0.2s ease-in-out; } .chat-message-menu .material-symbols-outlined { font-size: var(--icon-size-md); } .chat-message-typing-wrapper { display: flex; gap: var(--spacing-lg); align-items: flex-start; width: 100%; } .chat-message-typing-content { display: flex; flex-direction: column; gap: var(--spacing-sm); flex: 1; } .chat-message-typing { display: flex; gap: var(--spacing-xs); align-items: center; padding: var(--spacing-md); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); background: var(--bh-chat-typing-bg); width: fit-content; } .typing-dot { width: var(--spacing-xs); height: var(--spacing-xs); border-radius: var(--radius-full); background: var(--bh-chat-typing-dot-color); animation: typing-bounce 1.4s infinite ease-in-out both; } .typing-dot:nth-child(1) { animation-delay: 0s; } .typing-dot:nth-child(2) { animation-delay: 0.2s; } .typing-dot:nth-child(3) { animation-delay: 0.4s; } @keyframes typing-bounce { 0%, 80%, 100% { transform: scale(1); opacity: 0.4; } 40% { transform: scale(1.3); opacity: 1; } } .material-symbols-outlined { 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; } } @layer bh-variants { .chat-message-incoming { align-items: flex-start; } .chat-message-incoming .chat-message-bubble { background: var(--bh-chat-incoming-bg); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); } .chat-message-incoming .chat-message-file { border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); } .chat-message-incoming .chat-message-menu { right: calc(-1.25 * var(--spacing-2xl)); } .chat-message-incoming .chat-message-reactions { justify-content: flex-start; } .chat-message-outgoing { align-items: flex-end; } .chat-message-outgoing .chat-message-header { justify-content: flex-end; } .chat-message-outgoing .chat-message-body-row { justify-content: flex-end; } .chat-message-outgoing .chat-message-bubble { background: var(--bh-chat-outgoing-bg); border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md); } .chat-message-outgoing .chat-message-file { border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md); } .chat-message-outgoing .chat-message-file-wrapper { max-width: 75%; } .chat-message-outgoing .chat-message-menu { right: calc(-1 * var(--spacing-2xl)); } .chat-message-outgoing .chat-message-reactions { justify-content: flex-end; } } @layer bh-states { .chat-message-react-btn:hover { background: var(--bh-chat-reaction-bg-hover); } .chat-message-file:hover { background: var(--color-bg-secondary); } }`;
|
|
6
7
|
|
|
@@ -87,13 +88,13 @@ const BhChatMessage = class {
|
|
|
87
88
|
const isIncoming = this.type === "incoming";
|
|
88
89
|
const isTyping = this.variant === "typing";
|
|
89
90
|
const isFile = this.variant === "file";
|
|
90
|
-
return (h(Host, { key: '
|
|
91
|
+
return (h(Host, { key: 'bdf15f0729d39f2e8d0191fcfa6e621d3d857d9e' }, h("div", { key: 'b2f43fdbcc83b5056ef308dcfb160c8ef7d801aa', "aria-label": isTyping
|
|
91
92
|
? `${this.author || "Someone"} is typing`
|
|
92
93
|
: `Message from ${this.author || "Unknown"}`, class: {
|
|
93
94
|
"chat-message": true,
|
|
94
95
|
[`chat-message-${this.type}`]: true,
|
|
95
96
|
[`chat-message-${this.variant}`]: true,
|
|
96
|
-
}, part: "container", role: "article" }, !isTyping && (h("div", { key: '
|
|
97
|
+
}, part: "container", role: "article" }, !isTyping && (h("div", { key: '39b88cd29fde262db550aab188a9837abecb7ab8', class: "chat-message-header", part: "header" }, h("span", { key: '6b55496792b2ef8b499e0cfb8b3cf882a918c62d', class: "chat-message-author", part: "author" }, this.author), h("span", { key: '87ab6612df8f8274dcf261840f380ecbd5e656cb', class: "chat-message-timestamp", part: "timestamp" }, this.timestamp))), h("div", { key: 'eba524017ed96e21d0bc332047a90ef826d8570d', class: "chat-message-body-row" }, isIncoming && !isTyping && this.avatarSrc && this.renderAvatar(), isTyping && (h("div", { key: '39fc2af5eae0bd602ccee935cf5dbb70b8ce1685', class: "chat-message-typing-wrapper" }, isIncoming && this.renderAvatar(), h("div", { key: '952e42b7c1c46a591c0e090de571c9bfbe0feae9', class: "chat-message-typing-content" }, h("span", { key: 'af6b1628d87b7ef4886d315b1669f35ee49363b6', class: "chat-message-author", part: "author" }, this.author), this.renderTyping()))), !(isTyping || isFile) && (h("div", { key: 'd8d176a18f38b5bab28bc4da3c37735b8bad88b0', class: "chat-message-bubble", part: "bubble" }, h("slot", { key: '37fd94fba76e348f86bac27add7588e7a55f744f' }), this.renderMenuButton())), !isTyping && isFile && (h("div", { key: 'e6f2161e7fab20ff4a4f2f4906ae1b745f17d533', class: "chat-message-file-wrapper" }, this.renderFileAttachment(), this.renderMenuButton()))), !isTyping && (h("div", { key: 'a576787986f12f2a7ce31ea1059a12281645bc8c', class: "chat-message-reactions", part: "reactions" }, h("slot", { key: '72b891bbd7d5e3b5a880f14080d66ef78c90f4b5', name: "reactions" }), this.renderReactionButtons())))));
|
|
97
98
|
}
|
|
98
99
|
};
|
|
99
100
|
BhChatMessage.style = bhChatMessageCss();
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { 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 bhChatReactionCss = () => `@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; @layer bh-tokens{:host{display:inline-flex;--bh-reaction-bg:var(--color-bg-secondary);--bh-reaction-bg-hover:var(--color-bg-tertiary);--bh-reaction-bg-active:var(--color-brand-100);--bh-reaction-border-active:var(--color-border-interactive);--bh-reaction-count-color:var(--color-text-secondary)}}@layer bh-base{.chat-reaction{display:inline-flex;align-items:center;justify-content:center;gap:var(--spacing-xs);height:var(--icon-size-lg);padding:var(--spacing-xs) var(--spacing-md);background:var(--bh-reaction-bg);border:1px solid transparent;border-radius:var(--radius-full);cursor:pointer;font-family:inherit;transition:background 0.2s ease-in-out}.chat-reaction-emoji{font-size:var(--icon-size-sm);line-height:1}.chat-reaction-count{font-size:var(--text-xs-size);font-weight:var(--weight-medium);line-height:var(--text-xs-line);color:var(--bh-reaction-count-color)}}@layer bh-variants{.chat-reaction-active{background:var(--bh-reaction-bg-active);border-color:var(--bh-reaction-border-active)}}@layer bh-states{.chat-reaction:hover{background:var(--bh-reaction-bg-hover)}.chat-reaction-active:hover{background:var(--bh-reaction-bg-active)}}`;
|
|
6
7
|
|
|
@@ -32,11 +33,11 @@ const BhChatReaction = class {
|
|
|
32
33
|
};
|
|
33
34
|
render() {
|
|
34
35
|
const showCount = this.count > 1;
|
|
35
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'fcc74eb4fd29905d7155c864c1fc507e5117591a' }, h("button", { key: '0f3d5061afca42cd7d047fce4cfc30c3508d5027', "aria-label": `${this.emoji} reaction${showCount ? `, ${this.count}` : ""}`, "aria-pressed": String(this.active), class: {
|
|
36
37
|
"chat-reaction": true,
|
|
37
38
|
"chat-reaction-active": this.active,
|
|
38
39
|
"chat-reaction-with-count": showCount,
|
|
39
|
-
}, onClick: this.handleClick, part: "badge", type: "button" }, h("span", { key: '
|
|
40
|
+
}, onClick: this.handleClick, part: "badge", type: "button" }, h("span", { key: '8a5397739451b02203a8207bfbdcd3f03e6d5304', class: "chat-reaction-emoji", part: "emoji" }, this.emoji), showCount && (h("span", { key: 'c846e7ba4d863b194a0d84df03a53fdb66faf45f', class: "chat-reaction-count", part: "count" }, this.count)))));
|
|
40
41
|
}
|
|
41
42
|
};
|
|
42
43
|
BhChatReaction.style = bhChatReactionCss();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, a as getElement, h } from './index-CTHvNfIu.js';
|
|
2
2
|
import { b as buildComponentClasses } from './class-builder-Bam7V_bL.js';
|
|
3
3
|
import { g as generateUniqueId } from './id-generator-CLrVoF3x.js';
|
|
4
|
-
import { c as createComponentLogger
|
|
4
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
5
5
|
import { c as createFocusStateManager } from './focus-state-manager-YdVz1TeW.js';
|
|
6
6
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
7
|
+
import { r as reportComponentError } from './error-boundary-afpK3NgJ.js';
|
|
7
8
|
import { a as syncCheckableFormValue, v as validateRequired } from './form-DWWRC9ht.js';
|
|
8
9
|
|
|
9
10
|
const bhCheckboxCss = () => `@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);--bh-checkbox-bg:var(--color-bg-primary);--bh-checkbox-bg-checked:var(--color-bg-interactive);--bh-checkbox-bg-hover:var(--color-bg-tertiary);--bh-checkbox-bg-disabled:var(--color-bg-secondary);--bh-checkbox-border-color:var(--color-border-primary);--bh-checkbox-border-color-checked:var(--color-bg-interactive);--bh-checkbox-border-color-hover:var(--color-bg-interactive-hover);--bh-checkbox-checkmark-color:var(--color-text-inverse);--bh-checkbox-checkmark-color-disabled:var(--color-text-disabled);--bh-checkbox-border-radius-sm:var(--radius-xs);--bh-checkbox-border-radius-md:var(--radius-sm);--bh-checkbox-focus-ring-color:var(--color-border-interactive)}}@layer bh-base{.checkbox-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.checkbox-wrapper{display:inline-flex;align-items:flex-start;gap:var(--spacing-md);cursor:pointer;user-select:none;position:relative}.checkbox{display:inline-flex;align-items:center;justify-content:center;outline:none;user-select:none;transition:background-color var(--animation-duration-normal) ease, border-color var(--animation-duration-normal) ease, box-shadow var(--animation-duration-normal) ease;box-sizing:border-box;background:var(--bh-checkbox-bg);border:2px solid var(--bh-checkbox-border-color);position:relative;flex-shrink:0;pointer-events:none}.checkbox-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);line-height:1;font-variation-settings:"FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20}.checkbox-control{display:inline-flex;align-items:flex-start;cursor:pointer}.check-icon{color:var(--bh-checkbox-checkmark-color)}.minus-icon{color:var(--bh-checkbox-checkmark-color)}}@layer bh-variants{.checkbox-wrapper:not(.checkbox-wrapper-with-label) .checkbox-sm,.checkbox-wrapper:not(.checkbox-wrapper-with-label) .checkbox-md{margin-top:0}.checkbox{}.checkbox-sm{width:var(--bh-checkbox-size-sm);height:var(--bh-checkbox-size-sm);border-radius:var(--bh-checkbox-border-radius-sm);margin-top:var(--bh-checkbox-offset-sm)}.checkbox-sm .checkbox-icon{font-size:var(--bh-checkbox-icon-sm)}.checkbox-md{width:var(--bh-checkbox-size-md);height:var(--bh-checkbox-size-md);border-radius:var(--bh-checkbox-border-radius-md);margin-top:var(--bh-checkbox-offset-md)}.checkbox-md .checkbox-icon{font-size:var(--bh-checkbox-icon-md)}}@layer bh-states{.checkbox-wrapper-disabled{cursor:not-allowed}.checkbox-wrapper-disabled .checkbox-control{cursor:not-allowed}.checkbox{}.checkbox.checkbox-checked{background:var(--bh-checkbox-bg-checked);border-color:var(--bh-checkbox-border-color-checked);color:var(--bh-checkbox-checkmark-color)}.checkbox.checkbox-checked.checkbox-hover:not(.checkbox-disabled){background:var(--bh-checkbox-border-color-hover);border-color:var(--bh-checkbox-border-color-hover)}.checkbox.checkbox-checked.checkbox-focused:not(.checkbox-disabled){background:var(--bh-checkbox-bg-checked);border-color:var(--bh-checkbox-border-color-checked);box-shadow:0px 0px 0px 4px var(--bh-checkbox-focus-ring-color), 0px 0px 0px 2px var(--bh-checkbox-bg)}.checkbox.checkbox-checked.checkbox-disabled{background:var(--bh-checkbox-bg-disabled);border:2px solid var(--bh-checkbox-border-color);color:var(--bh-checkbox-checkmark-color-disabled)}.checkbox{}.checkbox.checkbox-hover:not(.checkbox-disabled){background:var(--bh-checkbox-bg-hover);border-color:var(--bh-checkbox-border-color)}.checkbox{}.checkbox.checkbox-focused:not(.checkbox-disabled){border-color:var(--bh-checkbox-border-color);box-shadow:0px 0px 0px 4px var(--bh-checkbox-focus-ring-color), 0px 0px 0px 2px var(--bh-checkbox-bg)}.checkbox{}.checkbox.checkbox-disabled{background:var(--bh-checkbox-bg-disabled);border-color:var(--bh-checkbox-border-color);cursor:not-allowed;opacity:1}.checkbox.checkbox-disabled .check-icon,.checkbox.checkbox-disabled .minus-icon{color:var(--bh-checkbox-checkmark-color-disabled)}}`;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CTHvNfIu.js';
|
|
2
2
|
import { F as FocusTrap } from './focus-trap-C_OTXZLx.js';
|
|
3
3
|
import { c as createDestroySubjectSync, a as completeSubject } from './lifecycle-CS8F5LFw.js';
|
|
4
|
-
import { c as createComponentLogger } from './
|
|
5
|
-
import { c as createComponentErrorHandler } from './component-error-handler-
|
|
4
|
+
import { c as createComponentLogger } from './logger-CMKOFHIa.js';
|
|
5
|
+
import { c as createComponentErrorHandler } from './component-error-handler-bgLpf9Pn.js';
|
|
6
6
|
import { m as metrics, M as MetricNames } from './metrics-CSH9RXgl.js';
|
|
7
7
|
import { t as timer$Sync } from './timers-Bf0qW3wI.js';
|
|
8
8
|
import { A as ANIMATION_DURATIONS } from './constants-BoVgy_Ao.js';
|
|
9
|
+
import './error-boundary-afpK3NgJ.js';
|
|
9
10
|
|
|
10
11
|
const bhChecklistTaskGroupCss = () => `@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; @layer bh-tokens{:host{display:flex;flex-direction:column;font-family:var(--font-inter);--bh-checklist-group-bg:var(--color-bg-primary);--bh-checklist-group-border:var(--color-border-secondary);--bh-checklist-group-title-color:var(--color-text-primary);--bh-checklist-group-description-color:var(--color-text-secondary);--bh-checklist-group-chevron-color:var(--color-text-tertiary);--bh-checklist-group-chevron-hover:var(--color-text-primary);--bh-checklist-group-check-bg:var(--color-success-100);--bh-checklist-group-check-color:var(--color-bg-success)}}@layer bh-base{:host{background:var(--bh-checklist-group-bg);border:1px solid var(--bh-checklist-group-border);border-radius:var(--radius-xl);overflow:hidden}.task-group-header{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-md);padding:var(--spacing-xl)}.task-group-left{display:flex;align-items:flex-start;gap:var(--spacing-md);flex:1;min-width:0}.task-group-text{display:flex;flex-direction:column;gap:var(--spacing-xxs);min-width:0}.task-group-title{font-size:var(--text-sm-size);font-weight:var(--weight-semibold);line-height:var(--text-sm-line-height);color:var(--bh-checklist-group-title-color)}.task-group-description{font-size:var(--text-xs-size);font-weight:var(--weight-regular);line-height:var(--text-xs-line-height);color:var(--bh-checklist-group-description-color)}.task-group-chevron{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:none;cursor:pointer;color:var(--bh-checklist-group-chevron-color);transition:transform 0.2s ease-in-out;flex-shrink:0}.task-group-badge,.sub-task-badge{flex-shrink:0}.check-circle{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background-color:var(--bh-checklist-group-check-bg)}.check-circle-icon{font-size:var(--icon-size-xs, 16px);color:var(--bh-checklist-group-check-color);font-variation-settings:"FILL" 0, "wght" 500, "GRAD" 0, "opsz" 16}.task-group-action{flex-shrink:0}.sub-tasks{display:flex;flex-direction:column;gap:var(--spacing-xs);padding:0 var(--spacing-xl) var(--spacing-xl);margin:0;list-style:none}.sub-task{display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md);padding-left:var(--spacing-md)}.sub-task-text{display:flex;flex-direction:column;gap:var(--spacing-xxs);flex:1;min-width:0;padding-left:var(--spacing-md);color:var(--bh-checklist-group-description-color)}.sub-task-title{font-size:var(--text-sm-size);font-weight:var(--weight-semibold);line-height:var(--text-sm-line-height)}.sub-task-description{font-size:var(--text-xs-size);font-weight:var(--weight-regular);line-height:var(--text-xs-line-height)}.material-symbols-outlined{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}}@layer bh-variants{.task-group-chevron-expanded{transform:rotate(180deg)}}@layer bh-states{.task-group-chevron:hover{color:var(--bh-checklist-group-chevron-hover)}}`;
|
|
11
12
|
|
|
@@ -114,11 +115,11 @@ const BhFab = class {
|
|
|
114
115
|
this.bhClick.emit();
|
|
115
116
|
};
|
|
116
117
|
render() {
|
|
117
|
-
return (h("button", { key: '
|
|
118
|
+
return (h("button", { key: '8c17cd53a08c3fc2e2b4717fac888dd86a9b75e4', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": this.ariaLabel, class: {
|
|
118
119
|
fab: true,
|
|
119
120
|
[`fab-${this.size}`]: true,
|
|
120
121
|
"fab-disabled": this.disabled,
|
|
121
|
-
}, disabled: this.disabled, onClick: this.handleClick, part: "button", type: "button" }, h("span", { key: '
|
|
122
|
+
}, disabled: this.disabled, onClick: this.handleClick, part: "button", type: "button" }, h("span", { key: '1d3996d1272bb4cd46a8760e5217d9f5a14b12d3', class: "material-symbols-outlined", part: "icon" }, this.iconName)));
|
|
122
123
|
}
|
|
123
124
|
};
|
|
124
125
|
BhFab.style = bhFabCss();
|
|
@@ -10,7 +10,7 @@ const BhCloseButton = class {
|
|
|
10
10
|
darkBackground = false;
|
|
11
11
|
disabled = false;
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '1b329426bf09f1fee1b00e20c5ebf5f76e7d471d' }, h("bh-button-icon", { key: '91098fe34d4b19eca617dd8e1da33113ebd4161e', ariaLabel: this.ariaLabel, disabled: this.disabled, hierarchy: "quaternary", iconName: "close", size: "sm" })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
BhCloseButton.style = bhCloseButtonCss();
|