@brandsync/wc 1.17.0 → 1.19.0
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/CHANGELOG.md +19 -0
- package/REFERENCE.md +316 -8
- package/custom-elements.json +9323 -6758
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/p-02314404.entry.js +1 -0
- package/dist/brandsync-wc/{p-0bbaef51.entry.js → p-028d3244.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8c4dfccb.entry.js → p-03ad83a3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f82a9f0d.entry.js → p-0819add7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-67f125e8.entry.js → p-08649f52.entry.js} +1 -1
- package/dist/brandsync-wc/p-0dff9822.entry.js +1 -0
- package/dist/brandsync-wc/{p-9d12b1fb.entry.js → p-10b8937f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-aec2dfeb.entry.js → p-129a4de7.entry.js} +1 -1
- package/dist/brandsync-wc/p-1580c56c.entry.js +1 -0
- package/dist/brandsync-wc/p-15c6f0f3.entry.js +1 -0
- package/dist/brandsync-wc/{p-9d740928.entry.js → p-171fa239.entry.js} +1 -1
- package/dist/brandsync-wc/p-197ac73f.entry.js +1 -0
- package/dist/brandsync-wc/p-1e33bc10.entry.js +1 -0
- package/dist/brandsync-wc/{p-b5710db6.entry.js → p-21e5d4d6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-90ba3032.entry.js → p-2389f473.entry.js} +1 -1
- package/dist/brandsync-wc/p-25914efc.entry.js +1 -0
- package/dist/brandsync-wc/{p-4f4c0c68.entry.js → p-26e0ab15.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6ea02b98.entry.js → p-270b2cb0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-54d91ac9.entry.js → p-27663faf.entry.js} +1 -1
- package/dist/brandsync-wc/p-28c38959.entry.js +1 -0
- package/dist/brandsync-wc/{p-70c650b2.entry.js → p-2a8b2ac9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-84d6d6eb.entry.js → p-2a967b45.entry.js} +1 -1
- package/dist/brandsync-wc/p-2b3d0bd4.entry.js +1 -0
- package/dist/brandsync-wc/p-30736034.entry.js +1 -0
- package/dist/brandsync-wc/{p-9396c67e.entry.js → p-30ff0659.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a7fa839a.entry.js → p-313ec145.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3c6ec5d0.entry.js → p-3627e0c6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e8ae626d.entry.js → p-38a2210a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3bad5e1b.entry.js → p-391504ab.entry.js} +1 -1
- package/dist/brandsync-wc/{p-47b7fe76.entry.js → p-3b212a8a.entry.js} +1 -1
- package/dist/brandsync-wc/p-3c6980b9.entry.js +1 -0
- package/dist/brandsync-wc/{p-d5a6098d.entry.js → p-42fcf134.entry.js} +1 -1
- package/dist/brandsync-wc/p-4928c4ad.entry.js +1 -0
- package/dist/brandsync-wc/{p-844205d9.entry.js → p-4c51da66.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f3eca1ce.entry.js → p-4d1ee16e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5b933ff4.entry.js → p-4dfd4715.entry.js} +1 -1
- package/dist/brandsync-wc/p-4ffcf41a.entry.js +1 -0
- package/dist/brandsync-wc/{p-11d80e17.entry.js → p-527fd08d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-43d5f708.entry.js → p-5371b31c.entry.js} +1 -1
- package/dist/brandsync-wc/p-568de1b0.entry.js +1 -0
- package/dist/brandsync-wc/{p-dcbeb143.entry.js → p-590deea0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2bd30709.entry.js → p-64e19200.entry.js} +1 -1
- package/dist/brandsync-wc/p-6afacd47.entry.js +1 -0
- package/dist/brandsync-wc/p-6f32a08e.entry.js +1 -0
- package/dist/brandsync-wc/{p-5c61eb06.entry.js → p-70a5897b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8134f97c.entry.js → p-7160a72e.entry.js} +1 -1
- package/dist/brandsync-wc/p-776b677f.entry.js +1 -0
- package/dist/brandsync-wc/{p-b142d8c9.entry.js → p-78c94cfe.entry.js} +1 -1
- package/dist/brandsync-wc/p-7bff3aa5.entry.js +1 -0
- package/dist/brandsync-wc/{p-fdc168ec.entry.js → p-7c741b8d.entry.js} +1 -1
- package/dist/brandsync-wc/p-86f04e9e.entry.js +1 -0
- package/dist/brandsync-wc/{p-4eaa9ed4.entry.js → p-8a18864a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-35f76ea7.entry.js → p-8a606b38.entry.js} +1 -1
- package/dist/brandsync-wc/p-8ac86d16.entry.js +1 -0
- package/dist/brandsync-wc/p-8b21f623.entry.js +1 -0
- package/dist/brandsync-wc/{p-1bd99669.entry.js → p-8d1ad4b0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-07673a48.entry.js → p-8e107d7a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d9184940.entry.js → p-90d8d45f.entry.js} +1 -1
- package/dist/brandsync-wc/p-9751a12d.entry.js +1 -0
- package/dist/brandsync-wc/{p-857987f9.entry.js → p-9868ee72.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f98dfa85.entry.js → p-9ba500f1.entry.js} +1 -1
- package/dist/brandsync-wc/p-9fa7bd83.entry.js +1 -0
- package/dist/brandsync-wc/p-BSt9HeTa.js +1 -0
- package/dist/brandsync-wc/{p-c835afb7.entry.js → p-a2bfbf02.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ffccc1ee.entry.js → p-a50c5e68.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3bdeeb9d.entry.js → p-a688a7ca.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f43a7f16.entry.js → p-a92c0f06.entry.js} +1 -1
- package/dist/brandsync-wc/p-ab301e9d.entry.js +1 -0
- package/dist/brandsync-wc/{p-065c7e7c.entry.js → p-ab99b8c3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3cb79512.entry.js → p-c01e231e.entry.js} +1 -1
- package/dist/brandsync-wc/p-d15e48eb.entry.js +1 -0
- package/dist/brandsync-wc/p-d484e976.entry.js +1 -0
- package/dist/brandsync-wc/{p-d25adab2.entry.js → p-d80eecf4.entry.js} +1 -1
- package/dist/brandsync-wc/p-dc2ea372.entry.js +1 -0
- package/dist/brandsync-wc/p-de0dfd1c.entry.js +1 -0
- package/dist/brandsync-wc/p-e1d30e31.entry.js +1 -0
- package/dist/brandsync-wc/{p-a7fb0b59.entry.js → p-e5235e76.entry.js} +1 -1
- package/dist/brandsync-wc/{p-00be9a64.entry.js → p-e776d145.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ffc07eb5.entry.js → p-e7c80f48.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e0a9f2d1.entry.js → p-eb680cff.entry.js} +1 -1
- package/dist/brandsync-wc/p-ebcd105d.entry.js +1 -0
- package/dist/brandsync-wc/p-f10b19a8.entry.js +1 -0
- package/dist/brandsync-wc/{p-5057e4fe.entry.js → p-f3b60029.entry.js} +1 -1
- package/dist/brandsync-wc/p-f4628861.entry.js +1 -0
- package/dist/brandsync-wc/{p-b02bf1ca.entry.js → p-f4796801.entry.js} +1 -1
- package/dist/brandsync-wc/p-f5e6fdf8.entry.js +1 -0
- package/dist/brandsync-wc/p-f93127e1.entry.js +1 -0
- package/dist/brandsync-wc/{p-57ff14ca.entry.js → p-f96f45ae.entry.js} +1 -1
- package/dist/brandsync-wc/{p-debc83cc.entry.js → p-feb46fa6.entry.js} +1 -1
- package/dist/cjs/brandsync-wc.cjs.js +1 -1
- package/dist/cjs/bs-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/bs-accordion.cjs.entry.js +60 -3
- package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
- package/dist/cjs/bs-app-recent-item_3.cjs.entry.js +133 -0
- package/dist/cjs/bs-app-shell.cjs.entry.js +1 -1
- package/dist/cjs/bs-app-switcher.cjs.entry.js +208 -0
- package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment.cjs.entry.js +1 -1
- package/dist/cjs/bs-avatar.cjs.entry.js +1 -1
- package/dist/cjs/bs-badge.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-button_2.cjs.entry.js +198 -0
- package/dist/cjs/bs-card.cjs.entry.js +1 -1
- package/dist/cjs/bs-carousel.cjs.entry.js +70 -5
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +2 -2
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +2 -2
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/bs-chip-filter.cjs.entry.js +2 -2
- package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-input.cjs.entry.js +2 -2
- package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
- package/dist/cjs/bs-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +46 -0
- package/dist/cjs/bs-company-switcher.cjs.entry.js +211 -0
- package/dist/cjs/bs-composer-status-banner.cjs.entry.js +1 -1
- package/dist/cjs/bs-composer.cjs.entry.js +1 -1
- package/dist/cjs/bs-container.cjs.entry.js +1 -1
- package/dist/cjs/bs-data-table.cjs.entry.js +2 -2
- package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/bs-dialog.cjs.entry.js +54 -3
- package/dist/cjs/bs-divider.cjs.entry.js +1 -1
- package/dist/cjs/bs-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/bs-error-page.cjs.entry.js +1 -1
- package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/bs-global-search.cjs.entry.js +2 -2
- package/dist/cjs/bs-grid.cjs.entry.js +2 -2
- package/dist/cjs/bs-icon-button.cjs.entry.js +9 -2
- package/dist/cjs/bs-icon-tile.cjs.entry.js +10 -2
- package/dist/cjs/bs-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/bs-input_3.cjs.entry.js +5 -5
- package/dist/cjs/bs-key-caps.cjs.entry.js +1 -1
- package/dist/cjs/bs-key.cjs.entry.js +1 -1
- package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/bs-list-item_2.cjs.entry.js +261 -0
- package/dist/cjs/bs-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-mega-menu.cjs.entry.js +120 -0
- package/dist/cjs/bs-message-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-message.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
- package/dist/cjs/bs-navigation-header.cjs.entry.js +5 -2
- package/dist/cjs/bs-page-header.cjs.entry.js +66 -0
- package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
- package/dist/cjs/bs-presence.cjs.entry.js +88 -0
- package/dist/cjs/bs-progress-linear.cjs.entry.js +2 -2
- package/dist/cjs/bs-progress.cjs.entry.js +2 -2
- package/dist/cjs/bs-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/bs-radio.cjs.entry.js +4 -4
- package/dist/cjs/bs-search-item.cjs.entry.js +2 -2
- package/dist/cjs/bs-session-timeout.cjs.entry.js +1 -1
- package/dist/cjs/bs-shortcut-row.cjs.entry.js +1 -1
- package/dist/cjs/bs-side-panel.cjs.entry.js +52 -3
- package/dist/cjs/bs-slider.cjs.entry.js +1 -1
- package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/bs-source-link.cjs.entry.js +4 -3
- package/dist/cjs/bs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bs-split-pane.cjs.entry.js +1 -1
- package/dist/cjs/bs-stack.cjs.entry.js +1 -1
- package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
- package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bs-switch.cjs.entry.js +4 -11
- package/dist/cjs/bs-tab_3.cjs.entry.js +3 -3
- package/dist/cjs/bs-timepicker.cjs.entry.js +2 -2
- package/dist/cjs/bs-toast.cjs.entry.js +1 -1
- package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +61 -3
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/bs-tree-item.cjs.entry.js +3 -3
- package/dist/cjs/bs-tree.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/motion-DOlI71lc.js +43 -0
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/bs-accordion/bs-accordion.cmp.test.js +21 -6
- package/dist/collection/components/bs-accordion/bs-accordion.css +15 -0
- package/dist/collection/components/bs-accordion/bs-accordion.js +71 -2
- package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
- package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.cmp.test.js +52 -0
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.css +111 -0
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +184 -0
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.stories.js +28 -0
- package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.cmp.test.js +179 -0
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.css +173 -0
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.js +902 -0
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.stories.js +91 -0
- package/dist/collection/components/bs-app-tile/bs-app-tile.cmp.test.js +58 -0
- package/dist/collection/components/bs-app-tile/bs-app-tile.css +104 -0
- package/dist/collection/components/bs-app-tile/bs-app-tile.js +190 -0
- package/dist/collection/components/bs-app-tile/bs-app-tile.stories.js +43 -0
- package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-avatar/bs-avatar.css +3 -3
- package/dist/collection/components/bs-badge/bs-badge.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button/bs-button/bs-button.cmp.test.js +12 -0
- package/dist/collection/components/bs-button/bs-button/bs-button.css +2 -0
- package/dist/collection/components/bs-button/bs-button/bs-button.js +4 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +13 -0
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +2 -0
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +28 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-card/bs-card.js +1 -1
- package/dist/collection/components/bs-carousel/bs-carousel.cmp.test.js +39 -1
- package/dist/collection/components/bs-carousel/bs-carousel.css +9 -0
- package/dist/collection/components/bs-carousel/bs-carousel.js +75 -4
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.css +2 -0
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +2 -1
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.css +2 -0
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +2 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox.css +7 -0
- package/dist/collection/components/bs-checkbox/bs-checkbox.js +2 -1
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.css +2 -0
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +2 -1
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.css +7 -0
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +2 -1
- package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
- package/dist/collection/components/bs-command-palette/bs-command-palette.js +1 -1
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.cmp.test.js +32 -0
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.css +43 -0
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +67 -0
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.stories.js +25 -0
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.cmp.test.js +171 -0
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.css +196 -0
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +720 -0
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.stories.js +78 -0
- package/dist/collection/components/bs-composer/bs-composer.js +1 -1
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
- package/dist/collection/components/bs-container/bs-container.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
- package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
- package/dist/collection/components/bs-dialog/bs-dialog.cmp.test.js +32 -0
- package/dist/collection/components/bs-dialog/bs-dialog.css +16 -0
- package/dist/collection/components/bs-dialog/bs-dialog.js +61 -3
- package/dist/collection/components/bs-divider/bs-divider.js +1 -1
- package/dist/collection/components/bs-empty-state/bs-empty-state.js +1 -1
- package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
- package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
- package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
- package/dist/collection/components/bs-global-search/bs-global-search.js +2 -2
- package/dist/collection/components/bs-grid/bs-grid.js +2 -2
- package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +11 -2
- package/dist/collection/components/bs-input/bs-input.js +2 -2
- package/dist/collection/components/bs-key/bs-key.js +1 -1
- package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
- package/dist/collection/components/bs-list/bs-list.js +1 -1
- package/dist/collection/components/bs-list-item/bs-list-item.css +2 -0
- package/dist/collection/components/bs-list-item/bs-list-item.js +2 -1
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.cmp.test.js +204 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +143 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +443 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +188 -0
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu-block/bs-menu-block.cmp.test.js +44 -0
- package/dist/collection/components/bs-menu-block/bs-menu-block.css +106 -0
- package/dist/collection/components/bs-menu-block/bs-menu-block.js +147 -0
- package/dist/collection/components/bs-menu-block/bs-menu-block.stories.js +36 -0
- package/dist/collection/components/bs-menu-item/bs-menu-item.css +2 -0
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +2 -1
- package/dist/collection/components/bs-message/bs-message.js +1 -1
- package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
- package/dist/collection/components/bs-page-header/bs-page-header.cmp.test.js +206 -0
- package/dist/collection/components/bs-page-header/bs-page-header.css +252 -0
- package/dist/collection/components/bs-page-header/bs-page-header.js +351 -0
- package/dist/collection/components/bs-page-header/bs-page-header.stories.js +177 -0
- package/dist/collection/components/bs-pagination/bs-pagination.css +2 -0
- package/dist/collection/components/bs-pagination/bs-pagination.js +2 -1
- package/dist/collection/components/bs-popover/bs-popover.cmp.test.js +20 -0
- package/dist/collection/components/bs-popover/bs-popover.css +3 -0
- package/dist/collection/components/bs-popover/bs-popover.js +59 -2
- package/dist/collection/components/bs-presence/bs-presence.cmp.test.js +64 -0
- package/dist/collection/components/bs-presence/bs-presence.css +80 -0
- package/dist/collection/components/bs-presence/bs-presence.js +233 -0
- package/dist/collection/components/bs-presence/bs-presence.stories.js +101 -0
- package/dist/collection/components/bs-progress/bs-progress.js +2 -2
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
- package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
- package/dist/collection/components/bs-radio/bs-radio.css +6 -0
- package/dist/collection/components/bs-radio/bs-radio.js +4 -3
- package/dist/collection/components/bs-ripple/bs-ripple.cmp.test.js +45 -0
- package/dist/collection/components/bs-ripple/bs-ripple.css +32 -0
- package/dist/collection/components/bs-ripple/bs-ripple.js +188 -0
- package/dist/collection/components/bs-ripple/bs-ripple.stories.js +33 -0
- package/dist/collection/components/bs-search-item/bs-search-item.css +2 -0
- package/dist/collection/components/bs-search-item/bs-search-item.js +2 -1
- package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
- package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +1 -1
- package/dist/collection/components/bs-side-panel/bs-side-panel.cmp.test.js +19 -0
- package/dist/collection/components/bs-side-panel/bs-side-panel.css +8 -0
- package/dist/collection/components/bs-side-panel/bs-side-panel.js +58 -2
- package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
- package/dist/collection/components/bs-source-link/bs-source-link.css +2 -0
- package/dist/collection/components/bs-source-link/bs-source-link.js +4 -2
- package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
- package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
- package/dist/collection/components/bs-stack/bs-stack.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
- package/dist/collection/components/bs-switch/bs-switch.css +9 -0
- package/dist/collection/components/bs-switch/bs-switch.js +4 -10
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.css +2 -0
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +2 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +2 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
- package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
- package/dist/collection/components/bs-toast/bs-toast.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.cmp.test.js +53 -2
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.css +3 -0
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +70 -3
- package/dist/collection/components/bs-tree/bs-tree.js +1 -1
- package/dist/collection/components/bs-tree-item/bs-tree-item.css +2 -0
- package/dist/collection/components/bs-tree-item/bs-tree-item.js +3 -2
- package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +79 -0
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +46 -0
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +10 -1
- package/dist/collection/utils/motion.js +37 -0
- package/dist/components/bs-accordion-group.js +1 -1
- package/dist/components/bs-accordion.js +1 -1
- package/dist/components/bs-ai-disclaimer.js +1 -1
- package/dist/components/bs-ai-greeting.js +1 -1
- package/dist/components/bs-ai-thinking.js +1 -1
- package/dist/components/bs-app-recent-item.d.ts +11 -0
- package/dist/components/bs-app-recent-item.js +1 -0
- package/dist/components/bs-app-shell.js +1 -1
- package/dist/components/bs-app-switcher.d.ts +11 -0
- package/dist/components/bs-app-switcher.js +1 -0
- package/dist/components/bs-app-tile.d.ts +11 -0
- package/dist/components/bs-app-tile.js +1 -0
- package/dist/components/bs-attachment-list.js +1 -1
- package/dist/components/bs-attachment.js +1 -1
- package/dist/components/bs-avatar.js +1 -1
- package/dist/components/bs-badge.js +1 -1
- package/dist/components/bs-breadcrumb-overflow.js +1 -1
- package/dist/components/bs-breadcrumb.js +1 -1
- package/dist/components/bs-breadcrumbs.js +1 -1
- package/dist/components/bs-button-skeleton.js +1 -1
- package/dist/components/bs-button.js +1 -1
- package/dist/components/bs-card.js +1 -1
- package/dist/components/bs-carousel.js +1 -1
- package/dist/components/bs-chatbot-feedback.js +1 -1
- package/dist/components/bs-chatbot-header.js +1 -1
- package/dist/components/bs-chatbot-response-action.js +1 -1
- package/dist/components/bs-chatbot-sources-drawer.js +1 -1
- package/dist/components/bs-chatbot-suggestion-button.js +1 -1
- package/dist/components/bs-checkbox-skeleton.js +1 -1
- package/dist/components/bs-checkbox.js +1 -1
- package/dist/components/bs-chip-filter.js +1 -1
- package/dist/components/bs-chip-informative.js +1 -1
- package/dist/components/bs-chip-input.js +1 -1
- package/dist/components/bs-citation-preview.js +1 -1
- package/dist/components/bs-command-palette.js +1 -1
- package/dist/components/bs-compact-menu-block.d.ts +11 -0
- package/dist/components/bs-compact-menu-block.js +1 -0
- package/dist/components/bs-company-switcher.d.ts +11 -0
- package/dist/components/bs-company-switcher.js +1 -0
- package/dist/components/bs-composer-status-banner.js +1 -1
- package/dist/components/bs-composer.js +1 -1
- package/dist/components/bs-container.js +1 -1
- package/dist/components/bs-cookie-consent.js +1 -1
- package/dist/components/bs-data-table.js +1 -1
- package/dist/components/bs-datepicker.js +1 -1
- package/dist/components/bs-dialog.js +1 -1
- package/dist/components/bs-divider.js +1 -1
- package/dist/components/bs-empty-state.js +1 -1
- package/dist/components/bs-error-page.js +1 -1
- package/dist/components/bs-file-upload-item.js +1 -1
- package/dist/components/bs-file-upload.js +1 -1
- package/dist/components/bs-global-search.js +1 -1
- package/dist/components/bs-grid.js +1 -1
- package/dist/components/bs-icon-button.js +1 -1
- package/dist/components/bs-icon-tile.js +1 -1
- package/dist/components/bs-inline-tab.js +1 -1
- package/dist/components/bs-input.js +1 -1
- package/dist/components/bs-key-caps.js +1 -1
- package/dist/components/bs-key.js +1 -1
- package/dist/components/bs-keyboard-shortcuts.js +1 -1
- package/dist/components/bs-list-item.js +1 -1
- package/dist/components/bs-list.js +1 -1
- package/dist/components/bs-mega-menu.d.ts +11 -0
- package/dist/components/bs-mega-menu.js +1 -0
- package/dist/components/bs-menu-block.d.ts +11 -0
- package/dist/components/bs-menu-block.js +1 -0
- package/dist/components/bs-menu-item.js +1 -1
- package/dist/components/bs-menu.js +1 -1
- package/dist/components/bs-message-list.js +1 -1
- package/dist/components/bs-message.js +1 -1
- package/dist/components/bs-navigation-drawer-item.js +1 -1
- package/dist/components/bs-navigation-drawer.js +1 -1
- package/dist/components/bs-navigation-header.js +1 -1
- package/dist/components/bs-onboarding-checklist.js +1 -1
- package/dist/components/bs-page-header.d.ts +11 -0
- package/dist/components/bs-page-header.js +1 -0
- package/dist/components/bs-pagination.js +1 -1
- package/dist/components/bs-popover.js +1 -1
- package/dist/components/bs-presence.d.ts +11 -0
- package/dist/components/bs-presence.js +1 -0
- package/dist/components/bs-product-tour.js +1 -1
- package/dist/components/bs-progress-linear.js +1 -1
- package/dist/components/bs-progress.js +1 -1
- package/dist/components/bs-qr-code.js +1 -1
- package/dist/components/bs-radio.js +1 -1
- package/dist/components/bs-ripple.d.ts +11 -0
- package/dist/components/bs-ripple.js +1 -0
- package/dist/components/bs-search-item.js +1 -1
- package/dist/components/bs-session-timeout.js +1 -1
- package/dist/components/bs-shortcut-row.js +1 -1
- package/dist/components/bs-side-panel.js +1 -1
- package/dist/components/bs-skeleton.js +1 -1
- package/dist/components/bs-slider.js +1 -1
- package/dist/components/bs-snackbar.js +1 -1
- package/dist/components/bs-source-link.js +1 -1
- package/dist/components/bs-spinner.js +1 -1
- package/dist/components/bs-split-pane.js +1 -1
- package/dist/components/bs-stack.js +1 -1
- package/dist/components/bs-stepper-step.js +1 -1
- package/dist/components/bs-stepper.js +1 -1
- package/dist/components/bs-switch.js +1 -1
- package/dist/components/bs-tab.js +1 -1
- package/dist/components/bs-tabs.js +1 -1
- package/dist/components/bs-timepicker.js +1 -1
- package/dist/components/bs-toast.js +1 -1
- package/dist/components/bs-tooltip-trigger.js +1 -1
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/bs-tree-item.js +1 -1
- package/dist/components/bs-tree.js +1 -1
- package/dist/components/bs-whats-new-entry.js +1 -1
- package/dist/components/bs-whats-new.js +1 -1
- package/dist/components/p--Tyv3LIl.js +1 -0
- package/dist/components/p-4yShCgRb.js +1 -0
- package/dist/components/p-6Rr9bjVN.js +1 -0
- package/dist/components/{p-CervX0wH.js → p-BHzj13sd.js} +1 -1
- package/dist/components/p-BIxcCDgl.js +1 -0
- package/dist/components/p-BQ4rSQDm.js +1 -0
- package/dist/components/p-BSt9HeTa.js +1 -0
- package/dist/components/p-BWRkbt0f.js +1 -0
- package/dist/components/p-BfCah-Ij.js +1 -0
- package/dist/components/p-BpkPo4ay.js +1 -0
- package/dist/components/{p-Bp3DIxjT.js → p-CFR3Q0io.js} +1 -1
- package/dist/components/p-CHZE_FrW.js +1 -0
- package/dist/components/{p-CYzBTzzf.js → p-CVQycAap.js} +1 -1
- package/dist/components/{p-DtYTs9Kh.js → p-Cr8cHmpM.js} +1 -1
- package/dist/components/p-CvSewXZF.js +1 -0
- package/dist/components/{p-Dt4JNhHT.js → p-D3PuUD8Z.js} +1 -1
- package/dist/components/p-D5eN9Lfa.js +1 -0
- package/dist/components/{p-BDnZvjlq.js → p-DDgzEg1C.js} +1 -1
- package/dist/components/p-DF2FcJPs.js +1 -0
- package/dist/components/{p-DcjgRtSQ.js → p-DLnZG_G9.js} +1 -1
- package/dist/components/{p-CH5atin4.js → p-DXbcyEgd.js} +1 -1
- package/dist/components/{p-CRtvJlh8.js → p-DXwatzvM.js} +1 -1
- package/dist/components/p-DcD5eV_Z.js +1 -0
- package/dist/components/p-Dj393s3S.js +1 -0
- package/dist/components/p-DsBToIYE.js +1 -0
- package/dist/components/p-DtkTnaOp.js +1 -0
- package/dist/components/{p-DvNED6Lb.js → p-EGNLb4cQ.js} +1 -1
- package/dist/components/{p-CRM1wIX9.js → p-Jik5UkAe.js} +1 -1
- package/dist/components/p-XZXdZpt4.js +1 -0
- package/dist/components/{p-BcYNrEOB.js → p-Y5FyLR8G.js} +1 -1
- package/dist/components/{p-DG9eT5yi.js → p-ZfE38vXZ.js} +1 -1
- package/dist/components/p-lPTgyF9v.js +1 -0
- package/dist/components/p-syO0ipbw.js +1 -0
- package/dist/components/p-up01gvHY.js +1 -0
- package/dist/esm/brandsync-wc.js +1 -1
- package/dist/esm/bs-accordion-group.entry.js +1 -1
- package/dist/esm/bs-accordion.entry.js +61 -4
- package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
- package/dist/esm/bs-ai-greeting.entry.js +1 -1
- package/dist/esm/bs-ai-thinking.entry.js +1 -1
- package/dist/esm/bs-app-recent-item_3.entry.js +129 -0
- package/dist/esm/bs-app-shell.entry.js +1 -1
- package/dist/esm/bs-app-switcher.entry.js +206 -0
- package/dist/esm/bs-attachment-list.entry.js +1 -1
- package/dist/esm/bs-attachment.entry.js +1 -1
- package/dist/esm/bs-avatar.entry.js +1 -1
- package/dist/esm/bs-badge.entry.js +1 -1
- package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
- package/dist/esm/bs-breadcrumb.entry.js +1 -1
- package/dist/esm/bs-breadcrumbs.entry.js +1 -1
- package/dist/esm/bs-button-skeleton.entry.js +1 -1
- package/dist/esm/bs-button_2.entry.js +195 -0
- package/dist/esm/bs-card.entry.js +1 -1
- package/dist/esm/bs-carousel.entry.js +70 -5
- package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
- package/dist/esm/bs-chatbot-header.entry.js +1 -1
- package/dist/esm/bs-chatbot-response-action.entry.js +2 -2
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +2 -2
- package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
- package/dist/esm/bs-checkbox.entry.js +2 -2
- package/dist/esm/bs-chip-filter.entry.js +2 -2
- package/dist/esm/bs-chip-informative.entry.js +1 -1
- package/dist/esm/bs-chip-input.entry.js +2 -2
- package/dist/esm/bs-citation-preview.entry.js +1 -1
- package/dist/esm/bs-command-palette.entry.js +1 -1
- package/dist/esm/bs-compact-menu-block_2.entry.js +43 -0
- package/dist/esm/bs-company-switcher.entry.js +209 -0
- package/dist/esm/bs-composer-status-banner.entry.js +1 -1
- package/dist/esm/bs-composer.entry.js +1 -1
- package/dist/esm/bs-container.entry.js +1 -1
- package/dist/esm/bs-data-table.entry.js +2 -2
- package/dist/esm/bs-datepicker.entry.js +1 -1
- package/dist/esm/bs-dialog.entry.js +55 -4
- package/dist/esm/bs-divider.entry.js +1 -1
- package/dist/esm/bs-empty-state.entry.js +1 -1
- package/dist/esm/bs-error-page.entry.js +1 -1
- package/dist/esm/bs-file-upload-item.entry.js +1 -1
- package/dist/esm/bs-file-upload.entry.js +1 -1
- package/dist/esm/bs-global-search.entry.js +2 -2
- package/dist/esm/bs-grid.entry.js +2 -2
- package/dist/esm/bs-icon-button.entry.js +9 -2
- package/dist/esm/bs-icon-tile.entry.js +11 -3
- package/dist/esm/bs-inline-tab.entry.js +2 -2
- package/dist/esm/bs-input_3.entry.js +5 -5
- package/dist/esm/bs-key-caps.entry.js +1 -1
- package/dist/esm/bs-key.entry.js +1 -1
- package/dist/esm/bs-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/bs-list-item_2.entry.js +258 -0
- package/dist/esm/bs-list.entry.js +1 -1
- package/dist/esm/bs-mega-menu.entry.js +118 -0
- package/dist/esm/bs-message-list.entry.js +1 -1
- package/dist/esm/bs-message.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer.entry.js +2 -2
- package/dist/esm/bs-navigation-header.entry.js +5 -2
- package/dist/esm/bs-page-header.entry.js +64 -0
- package/dist/esm/bs-pagination.entry.js +2 -2
- package/dist/esm/bs-presence.entry.js +86 -0
- package/dist/esm/bs-progress-linear.entry.js +2 -2
- package/dist/esm/bs-progress.entry.js +2 -2
- package/dist/esm/bs-qr-code.entry.js +1 -1
- package/dist/esm/bs-radio.entry.js +4 -4
- package/dist/esm/bs-search-item.entry.js +2 -2
- package/dist/esm/bs-session-timeout.entry.js +1 -1
- package/dist/esm/bs-shortcut-row.entry.js +1 -1
- package/dist/esm/bs-side-panel.entry.js +52 -3
- package/dist/esm/bs-slider.entry.js +1 -1
- package/dist/esm/bs-snackbar.entry.js +1 -1
- package/dist/esm/bs-source-link.entry.js +4 -3
- package/dist/esm/bs-spinner.entry.js +1 -1
- package/dist/esm/bs-split-pane.entry.js +1 -1
- package/dist/esm/bs-stack.entry.js +1 -1
- package/dist/esm/bs-stepper-step.entry.js +1 -1
- package/dist/esm/bs-stepper.entry.js +1 -1
- package/dist/esm/bs-switch.entry.js +4 -11
- package/dist/esm/bs-tab_3.entry.js +3 -3
- package/dist/esm/bs-timepicker.entry.js +2 -2
- package/dist/esm/bs-toast.entry.js +1 -1
- package/dist/esm/bs-tooltip-trigger.entry.js +62 -4
- package/dist/esm/bs-tooltip.entry.js +1 -1
- package/dist/esm/bs-tree-item.entry.js +3 -3
- package/dist/esm/bs-tree.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/motion-BSt9HeTa.js +39 -0
- package/dist/types/components/bs-accordion/bs-accordion.d.ts +22 -0
- package/dist/types/components/bs-app-recent-item/bs-app-recent-item.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-app-recent-item/bs-app-recent-item.d.ts +51 -0
- package/dist/types/components/bs-app-recent-item/bs-app-recent-item.stories.d.ts +15 -0
- package/dist/types/components/bs-app-switcher/bs-app-switcher.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-app-switcher/bs-app-switcher.d.ts +159 -0
- package/dist/types/components/bs-app-switcher/bs-app-switcher.stories.d.ts +34 -0
- package/dist/types/components/bs-app-tile/bs-app-tile.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-app-tile/bs-app-tile.d.ts +51 -0
- package/dist/types/components/bs-app-tile/bs-app-tile.stories.d.ts +18 -0
- package/dist/types/components/bs-button/bs-button/bs-button.d.ts +3 -0
- package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +8 -0
- package/dist/types/components/bs-carousel/bs-carousel.d.ts +21 -1
- package/dist/types/components/bs-chatbot-response-action/bs-chatbot-response-action.d.ts +1 -0
- package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts +1 -0
- package/dist/types/components/bs-checkbox/bs-checkbox.d.ts +1 -0
- package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.d.ts +1 -0
- package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.d.ts +1 -0
- package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.d.ts +28 -0
- package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.stories.d.ts +10 -0
- package/dist/types/components/bs-company-switcher/bs-company-switcher.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-company-switcher/bs-company-switcher.d.ts +130 -0
- package/dist/types/components/bs-company-switcher/bs-company-switcher.stories.d.ts +25 -0
- package/dist/types/components/bs-dialog/bs-dialog.d.ts +14 -0
- package/dist/types/components/bs-icon-tile/bs-icon-tile.d.ts +5 -0
- package/dist/types/components/bs-list-item/bs-list-item.d.ts +1 -0
- package/dist/types/components/bs-mega-menu/bs-mega-menu.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-mega-menu/bs-mega-menu.d.ts +134 -0
- package/dist/types/components/bs-mega-menu/bs-mega-menu.stories.d.ts +55 -0
- package/dist/types/components/bs-menu-block/bs-menu-block.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-menu-block/bs-menu-block.d.ts +47 -0
- package/dist/types/components/bs-menu-block/bs-menu-block.stories.d.ts +15 -0
- package/dist/types/components/bs-menu-item/bs-menu-item.d.ts +1 -0
- package/dist/types/components/bs-page-header/bs-page-header.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-page-header/bs-page-header.d.ts +100 -0
- package/dist/types/components/bs-page-header/bs-page-header.stories.d.ts +41 -0
- package/dist/types/components/bs-pagination/bs-pagination.d.ts +1 -0
- package/dist/types/components/bs-popover/bs-popover.d.ts +15 -0
- package/dist/types/components/bs-presence/bs-presence.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-presence/bs-presence.d.ts +50 -0
- package/dist/types/components/bs-presence/bs-presence.stories.d.ts +15 -0
- package/dist/types/components/bs-radio/bs-radio.d.ts +1 -0
- package/dist/types/components/bs-ripple/bs-ripple.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-ripple/bs-ripple.d.ts +52 -0
- package/dist/types/components/bs-ripple/bs-ripple.stories.d.ts +11 -0
- package/dist/types/components/bs-search-item/bs-search-item.d.ts +1 -0
- package/dist/types/components/bs-side-panel/bs-side-panel.d.ts +13 -0
- package/dist/types/components/bs-source-link/bs-source-link.d.ts +1 -0
- package/dist/types/components/bs-switch/bs-switch.d.ts +1 -0
- package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.d.ts +1 -0
- package/dist/types/components/bs-tab/bs-tab/bs-tab.d.ts +1 -0
- package/dist/types/components/bs-tooltip-trigger/bs-tooltip-trigger.d.ts +18 -0
- package/dist/types/components/bs-tree-item/bs-tree-item.d.ts +1 -0
- package/dist/types/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.d.ts +7 -1
- package/dist/types/components.d.ts +2422 -0
- package/dist/types/svg-inline.d.ts +5 -0
- package/dist/types/utils/motion.d.ts +21 -0
- package/package.json +2 -1
- package/reference.d.ts +53 -23
- package/reference.json +1210 -98
- package/dist/brandsync-wc/p-044ac86c.entry.js +0 -1
- package/dist/brandsync-wc/p-046a53de.entry.js +0 -1
- package/dist/brandsync-wc/p-08e96f13.entry.js +0 -1
- package/dist/brandsync-wc/p-225148be.entry.js +0 -1
- package/dist/brandsync-wc/p-23b56775.entry.js +0 -1
- package/dist/brandsync-wc/p-32297416.entry.js +0 -1
- package/dist/brandsync-wc/p-361aef36.entry.js +0 -1
- package/dist/brandsync-wc/p-3789c7a5.entry.js +0 -1
- package/dist/brandsync-wc/p-3d2c62a6.entry.js +0 -1
- package/dist/brandsync-wc/p-3d7b0708.entry.js +0 -1
- package/dist/brandsync-wc/p-4b460eda.entry.js +0 -1
- package/dist/brandsync-wc/p-5eb5795f.entry.js +0 -1
- package/dist/brandsync-wc/p-61deb48c.entry.js +0 -1
- package/dist/brandsync-wc/p-79fc849c.entry.js +0 -1
- package/dist/brandsync-wc/p-7ed071fb.entry.js +0 -1
- package/dist/brandsync-wc/p-8048d033.entry.js +0 -1
- package/dist/brandsync-wc/p-8c9938a5.entry.js +0 -1
- package/dist/brandsync-wc/p-a5659499.entry.js +0 -1
- package/dist/brandsync-wc/p-ab14a07d.entry.js +0 -1
- package/dist/brandsync-wc/p-b4511ad3.entry.js +0 -1
- package/dist/brandsync-wc/p-baa39c08.entry.js +0 -1
- package/dist/brandsync-wc/p-be7aac52.entry.js +0 -1
- package/dist/brandsync-wc/p-c05ee501.entry.js +0 -1
- package/dist/brandsync-wc/p-d2a15599.entry.js +0 -1
- package/dist/brandsync-wc/p-d7956c51.entry.js +0 -1
- package/dist/brandsync-wc/p-dfad8c0a.entry.js +0 -1
- package/dist/brandsync-wc/p-e123b391.entry.js +0 -1
- package/dist/brandsync-wc/p-e8e22238.entry.js +0 -1
- package/dist/brandsync-wc/p-eb0dc5bf.entry.js +0 -1
- package/dist/cjs/bs-button.cjs.entry.js +0 -107
- package/dist/cjs/bs-list-item.cjs.entry.js +0 -66
- package/dist/cjs/bs-popover.cjs.entry.js +0 -153
- package/dist/cjs/bs-skeleton.cjs.entry.js +0 -51
- package/dist/components/p-B32Kl4IB.js +0 -1
- package/dist/components/p-BUpnOUIM.js +0 -1
- package/dist/components/p-BcbaiZLh.js +0 -1
- package/dist/components/p-ChcaPfNL.js +0 -1
- package/dist/components/p-Cpe2k7ZC.js +0 -1
- package/dist/components/p-D7AXo5NT.js +0 -1
- package/dist/components/p-D8bvv9QQ.js +0 -1
- package/dist/components/p-DMLfXpva.js +0 -1
- package/dist/components/p-DYDk73TF.js +0 -1
- package/dist/components/p-DYuzgzxI.js +0 -1
- package/dist/components/p-TAY9S9yG.js +0 -1
- package/dist/components/p-w-DkdA4O.js +0 -1
- package/dist/esm/bs-button.entry.js +0 -105
- package/dist/esm/bs-list-item.entry.js +0 -64
- package/dist/esm/bs-popover.entry.js +0 -151
- package/dist/esm/bs-skeleton.entry.js +0 -49
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
3
|
"components/bs-accordion/bs-accordion.js",
|
|
4
|
+
"components/bs-app-switcher/bs-app-switcher.js",
|
|
5
|
+
"components/bs-app-tile/bs-app-tile.js",
|
|
4
6
|
"components/bs-attachment/bs-attachment.js",
|
|
5
7
|
"components/bs-avatar/bs-avatar.js",
|
|
6
8
|
"components/bs-badge/bs-badge.js",
|
|
@@ -14,6 +16,7 @@
|
|
|
14
16
|
"components/bs-chip/bs-chip-informative/bs-chip-informative.js",
|
|
15
17
|
"components/bs-chip/bs-chip-input/bs-chip-input.js",
|
|
16
18
|
"components/bs-command-palette/bs-command-palette.js",
|
|
19
|
+
"components/bs-company-switcher/bs-company-switcher.js",
|
|
17
20
|
"components/bs-composer/bs-composer.js",
|
|
18
21
|
"components/bs-composer-status-banner/bs-composer-status-banner.js",
|
|
19
22
|
"components/bs-container/bs-container.js",
|
|
@@ -31,10 +34,12 @@
|
|
|
31
34
|
"components/bs-button/bs-icon-button/bs-icon-button.js",
|
|
32
35
|
"components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js",
|
|
33
36
|
"components/bs-logo/bs-logo.js",
|
|
37
|
+
"components/bs-mega-menu/bs-mega-menu.js",
|
|
34
38
|
"components/bs-message/bs-message.js",
|
|
35
39
|
"components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js",
|
|
36
40
|
"components/bs-onboarding-checklist/bs-onboarding-checklist.js",
|
|
37
41
|
"components/bs-popover/bs-popover.js",
|
|
42
|
+
"components/bs-presence/bs-presence.js",
|
|
38
43
|
"components/bs-product-tour/bs-product-tour.js",
|
|
39
44
|
"components/bs-progress/bs-progress.js",
|
|
40
45
|
"components/bs-progress-linear/bs-progress-linear.js",
|
|
@@ -60,6 +65,7 @@
|
|
|
60
65
|
"components/bs-ai-disclaimer/bs-ai-disclaimer.js",
|
|
61
66
|
"components/bs-ai-greeting/bs-ai-greeting.js",
|
|
62
67
|
"components/bs-ai-thinking/bs-ai-thinking.js",
|
|
68
|
+
"components/bs-app-recent-item/bs-app-recent-item.js",
|
|
63
69
|
"components/bs-app-shell/bs-app-shell.js",
|
|
64
70
|
"components/bs-attachment-list/bs-attachment-list.js",
|
|
65
71
|
"components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js",
|
|
@@ -71,6 +77,7 @@
|
|
|
71
77
|
"components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js",
|
|
72
78
|
"components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js",
|
|
73
79
|
"components/bs-citation-preview/bs-citation-preview.js",
|
|
80
|
+
"components/bs-compact-menu-block/bs-compact-menu-block.js",
|
|
74
81
|
"components/bs-empty-state/bs-empty-state.js",
|
|
75
82
|
"components/bs-input/bs-input.js",
|
|
76
83
|
"components/bs-key/bs-key.js",
|
|
@@ -78,10 +85,13 @@
|
|
|
78
85
|
"components/bs-list/bs-list.js",
|
|
79
86
|
"components/bs-list-item/bs-list-item.js",
|
|
80
87
|
"components/bs-menu/bs-menu.js",
|
|
88
|
+
"components/bs-menu-block/bs-menu-block.js",
|
|
81
89
|
"components/bs-menu-item/bs-menu-item.js",
|
|
82
90
|
"components/bs-message-list/bs-message-list.js",
|
|
91
|
+
"components/bs-page-header/bs-page-header.js",
|
|
83
92
|
"components/bs-pagination/bs-pagination.js",
|
|
84
93
|
"components/bs-radio/bs-radio.js",
|
|
94
|
+
"components/bs-ripple/bs-ripple.js",
|
|
85
95
|
"components/bs-search-item/bs-search-item.js",
|
|
86
96
|
"components/bs-shortcut-row/bs-shortcut-row.js",
|
|
87
97
|
"components/bs-source-link/bs-source-link.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { render, h, describe, it, expect } from "@stencil/vitest";
|
|
2
|
-
import { runAxeCheck } from "../../test/helpers/conventions";
|
|
2
|
+
import { assertCssCustomProperties, runAxeCheck } from "../../test/helpers/conventions";
|
|
3
3
|
describe('bs-accordion', () => {
|
|
4
4
|
it('has no axe-core accessibility violations', async () => {
|
|
5
5
|
const { root } = await render(h("bs-accordion", null, h("span", { slot: "label" }, "Title"), "Body content"));
|
|
@@ -18,15 +18,30 @@ describe('bs-accordion', () => {
|
|
|
18
18
|
});
|
|
19
19
|
});
|
|
20
20
|
describe('caret direction', () => {
|
|
21
|
-
it('
|
|
21
|
+
it('is not rotated when collapsed', async () => {
|
|
22
22
|
const { root } = await render(h("bs-accordion", null, "Body"));
|
|
23
|
-
|
|
24
|
-
expect(caret.innerHTML).toContain('9.75L12 15.75');
|
|
23
|
+
expect(root.shadowRoot.querySelector('[part="caret"]')).not.toHaveClass('bs-accordion__caret--open');
|
|
25
24
|
});
|
|
26
|
-
it('
|
|
25
|
+
it('rotates (open class) when expanded, and uses a single glyph', async () => {
|
|
27
26
|
const { root } = await render(h("bs-accordion", { expanded: true }, "Body"));
|
|
28
27
|
const caret = root.shadowRoot.querySelector('[part="caret"]');
|
|
29
|
-
expect(caret
|
|
28
|
+
expect(caret).toHaveClass('bs-accordion__caret--open');
|
|
29
|
+
expect(caret.querySelectorAll('svg').length).toBe(1);
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
describe('motion', () => {
|
|
33
|
+
it('keeps the body mounted while collapsing without a preview, then removes it', async () => {
|
|
34
|
+
const { root, waitForChanges } = await render(h("bs-accordion", { expanded: true, showPreview: false }, "Body content"));
|
|
35
|
+
root.expanded = false;
|
|
36
|
+
await waitForChanges();
|
|
37
|
+
expect(root.shadowRoot.querySelector('[part="content"]')).not.toBeNull();
|
|
38
|
+
await new Promise(resolve => setTimeout(resolve, 600));
|
|
39
|
+
await waitForChanges();
|
|
40
|
+
expect(root.shadowRoot.querySelector('[part="content"]')).toBeNull();
|
|
41
|
+
});
|
|
42
|
+
it('exposes its duration and easing custom properties', async () => {
|
|
43
|
+
const { root } = await render(h("bs-accordion", null, "Body"));
|
|
44
|
+
assertCssCustomProperties(root, ['--bs-accordion-duration', '--bs-accordion-easing']);
|
|
30
45
|
});
|
|
31
46
|
});
|
|
32
47
|
describe('controlled expanded prop', () => {
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
* @prop --bs-accordion-bg-disabled: Header/content background, disabled. Aliased to --bs-surface-action-disabled.
|
|
19
19
|
* @prop --bs-accordion-text-disabled: Label/content color, disabled. Aliased to --bs-text-on-disabled.
|
|
20
20
|
* @prop --bs-accordion-focus-ring: Focus-visible outer ring color. Aliased to --bs-border-neutral-focus.
|
|
21
|
+
* @prop --bs-accordion-duration: Expand/collapse and caret rotation length. Aliased to --bs-duration-default.
|
|
22
|
+
* @prop --bs-accordion-easing: Expand/collapse and caret rotation curve. Aliased to --bs-easing-standard.
|
|
21
23
|
*/
|
|
22
24
|
:host {
|
|
23
25
|
display: block;
|
|
@@ -41,6 +43,8 @@
|
|
|
41
43
|
--bs-accordion-bg-disabled: var(--bs-surface-action-disabled);
|
|
42
44
|
--bs-accordion-text-disabled: var(--bs-text-on-disabled);
|
|
43
45
|
--bs-accordion-focus-ring: var(--bs-border-neutral-focus);
|
|
46
|
+
--bs-accordion-duration: var(--bs-duration-default);
|
|
47
|
+
--bs-accordion-easing: var(--bs-easing-standard);
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
.bs-accordion {
|
|
@@ -48,6 +52,7 @@
|
|
|
48
52
|
border-radius: var(--bs-accordion-radius);
|
|
49
53
|
overflow: hidden;
|
|
50
54
|
font-family: inherit;
|
|
55
|
+
transition: background-color var(--bs-accordion-duration) var(--bs-accordion-easing);
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
/* Hover/pressed/focus-visible highlight the WHOLE item (header + content together), not just the
|
|
@@ -163,6 +168,14 @@
|
|
|
163
168
|
color: inherit;
|
|
164
169
|
}
|
|
165
170
|
|
|
171
|
+
.bs-accordion__caret {
|
|
172
|
+
transition: transform var(--bs-accordion-duration) var(--bs-accordion-easing);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.bs-accordion__caret--open {
|
|
176
|
+
transform: rotate(180deg);
|
|
177
|
+
}
|
|
178
|
+
|
|
166
179
|
.bs-accordion__caret svg {
|
|
167
180
|
width: 24px;
|
|
168
181
|
height: 24px;
|
|
@@ -179,6 +192,8 @@
|
|
|
179
192
|
}
|
|
180
193
|
|
|
181
194
|
.bs-accordion__content {
|
|
195
|
+
/* border-box so the animated height includes the padding, matching what getBoundingClientRect reads. */
|
|
196
|
+
box-sizing: border-box;
|
|
182
197
|
padding-top: 0;
|
|
183
198
|
padding-bottom: var(--bs-accordion-content-padding-bottom);
|
|
184
199
|
padding-inline-end: var(--bs-accordion-content-padding-right);
|
|
@@ -19,8 +19,14 @@ import { h } from "@stencil/core";
|
|
|
19
19
|
* @part label - The label wrapper.
|
|
20
20
|
* @part caret - The trailing caret wrapper.
|
|
21
21
|
* @part content - The body content wrapper.
|
|
22
|
+
* @prop --bs-accordion-duration - Length of the expand/collapse motion. Aliased to `--bs-duration-default`.
|
|
23
|
+
* @prop --bs-accordion-easing - Curve of the expand/collapse motion. Aliased to `--bs-easing-standard`.
|
|
24
|
+
*
|
|
25
|
+
* Expanding and collapsing animate the body's height and rotate the caret. Under
|
|
26
|
+
* `prefers-reduced-motion: reduce` the duration token is `0ms`, so the body snaps.
|
|
22
27
|
*/
|
|
23
28
|
export class BsAccordion {
|
|
29
|
+
el;
|
|
24
30
|
/** Whether the section is expanded. This is the single source of truth for the component's
|
|
25
31
|
* visual state -- a controlled component, like a controlled `<input>`. Clicking (or
|
|
26
32
|
* keyboard-activating) the header never mutates this prop itself; it only emits `bsToggle` with
|
|
@@ -45,6 +51,58 @@ export class BsAccordion {
|
|
|
45
51
|
/** Emitted when the header is activated (click, or Enter/Space while focused), with the
|
|
46
52
|
* REQUESTED new expanded value (`!expanded`). Never fires while `disabled`. */
|
|
47
53
|
bsToggle;
|
|
54
|
+
/** Keeps the body mounted while it animates closed when `showPreview` is `false`. */
|
|
55
|
+
closing = false;
|
|
56
|
+
contentEl;
|
|
57
|
+
animation;
|
|
58
|
+
fromHeight = 0;
|
|
59
|
+
fromPadding = '0px';
|
|
60
|
+
pendingAnimation = false;
|
|
61
|
+
/**
|
|
62
|
+
* Runs before the re-render that follows an `expanded` change, so the body's current height can
|
|
63
|
+
* be read while it is still in its old state. `componentDidRender` then animates from that height
|
|
64
|
+
* to the new one. Reading the live height (not a stored one) also makes interrupting a running
|
|
65
|
+
* animation start from wherever it currently is.
|
|
66
|
+
*/
|
|
67
|
+
onExpandedChange(expanded) {
|
|
68
|
+
const content = this.contentEl;
|
|
69
|
+
this.fromHeight = content ? content.getBoundingClientRect().height : 0;
|
|
70
|
+
this.fromPadding = content ? getComputedStyle(content).paddingBottom : '0px';
|
|
71
|
+
this.animation?.cancel();
|
|
72
|
+
this.pendingAnimation = true;
|
|
73
|
+
if (!expanded && !this.showPreview)
|
|
74
|
+
this.closing = true;
|
|
75
|
+
}
|
|
76
|
+
componentDidRender() {
|
|
77
|
+
if (!this.pendingAnimation)
|
|
78
|
+
return;
|
|
79
|
+
this.pendingAnimation = false;
|
|
80
|
+
const content = this.contentEl;
|
|
81
|
+
const style = getComputedStyle(this.el);
|
|
82
|
+
const ms = this.toMs(style.getPropertyValue('--bs-accordion-duration'));
|
|
83
|
+
if (!content || ms === 0) {
|
|
84
|
+
this.closing = false;
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const toZero = !this.expanded && !this.showPreview;
|
|
88
|
+
const toHeight = toZero ? 0 : content.getBoundingClientRect().height;
|
|
89
|
+
const toPadding = toZero ? '0px' : getComputedStyle(content).paddingBottom;
|
|
90
|
+
this.animation = content.animate([
|
|
91
|
+
{ height: `${this.fromHeight}px`, paddingBottom: this.fromPadding, overflow: 'hidden' },
|
|
92
|
+
{ height: `${toHeight}px`, paddingBottom: toPadding, overflow: 'hidden' },
|
|
93
|
+
], { duration: ms, easing: style.getPropertyValue('--bs-accordion-easing').trim() || 'ease' });
|
|
94
|
+
this.animation.onfinish = () => {
|
|
95
|
+
this.closing = false;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
toMs(value) {
|
|
99
|
+
const v = value.trim();
|
|
100
|
+
if (v.endsWith('ms'))
|
|
101
|
+
return parseFloat(v);
|
|
102
|
+
if (v.endsWith('s'))
|
|
103
|
+
return parseFloat(v) * 1000;
|
|
104
|
+
return 0;
|
|
105
|
+
}
|
|
48
106
|
onActivate = () => {
|
|
49
107
|
if (this.disabled)
|
|
50
108
|
return;
|
|
@@ -55,7 +113,7 @@ export class BsAccordion {
|
|
|
55
113
|
// `<div role="button">`: it gets click, keyboard activation (Enter/Space), focus-visible
|
|
56
114
|
// styling, and `disabled` semantics (not focusable, no events) for free, and flexbox handles
|
|
57
115
|
// laying out its children as easily as a <div>'s -- no layout reason to hand-roll any of that.
|
|
58
|
-
return (h("div", { key: '
|
|
116
|
+
return (h("div", { key: 'b7645b3be5116d906a2aa6e4e680859a9c19323f', part: "container", class: `bs-accordion bs-accordion--${this.size} ${this.disabled ? 'bs-accordion--disabled' : ''}` }, h("button", { key: 'a1c824c54a529b2214dbb47cb93adea5cdadee84', type: "button", part: "header", class: `bs-accordion__header bs-accordion__header--${this.size} ${this.showIcon ? '' : 'bs-accordion__header--no-icon'}`, disabled: this.disabled, "aria-expanded": String(this.expanded), onClick: this.onActivate }, this.showIcon && (h("span", { key: '5d35f4e2c05704a6bef532919301e765f8195aa7', part: "icon", class: `bs-accordion__icon bs-accordion__icon--${this.size}`, "aria-hidden": "true" }, h("slot", { key: '137280692f375379ef43be918094192d6030e2ad', name: "icon" }, h(PlusIcon, { key: '8826de2813774382dcf21e856288ff936eb12425' })))), h("span", { key: '57f370d082a86b7488bf309a114b82077d1f6711', part: "label", class: `bs-accordion__label ${this.showIcon ? '' : 'bs-accordion__label--no-icon'}` }, h("slot", { key: '5563063582ee2e1fb79d02acdc3d0feb5ac07eec', name: "label" })), h("span", { key: '8d8afd4433823aa8122b2ed167fd5ed3c32dc21a', part: "caret", class: `bs-accordion__caret bs-accordion__caret--${this.size} ${this.expanded ? 'bs-accordion__caret--open' : ''}`, "aria-hidden": "true" }, h(CaretDownIcon, { key: '51dfcbdfa5ccff5c3e6a6c2f983fc4d7fb460c18' }))), (this.expanded || this.showPreview || this.closing) && (h("div", { key: '8d62decaf3dc7a98f91eaea1723fc26a8fc520a4', ref: el => (this.contentEl = el), part: "content", class: `bs-accordion__content ${this.showIcon ? '' : 'bs-accordion__content--no-icon'} ${this.expanded ? 'bs-accordion__content--expanded' : 'bs-accordion__content--collapsed'}` }, h("slot", { key: '56493eb5b425134b38ac60f481219a823379626e' })))));
|
|
59
117
|
}
|
|
60
118
|
static get is() { return "bs-accordion"; }
|
|
61
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -179,6 +237,11 @@ export class BsAccordion {
|
|
|
179
237
|
}
|
|
180
238
|
};
|
|
181
239
|
}
|
|
240
|
+
static get states() {
|
|
241
|
+
return {
|
|
242
|
+
"closing": {}
|
|
243
|
+
};
|
|
244
|
+
}
|
|
182
245
|
static get events() {
|
|
183
246
|
return [{
|
|
184
247
|
"method": "bsToggle",
|
|
@@ -197,7 +260,13 @@ export class BsAccordion {
|
|
|
197
260
|
}
|
|
198
261
|
}];
|
|
199
262
|
}
|
|
263
|
+
static get elementRef() { return "el"; }
|
|
264
|
+
static get watchers() {
|
|
265
|
+
return [{
|
|
266
|
+
"propName": "expanded",
|
|
267
|
+
"methodName": "onExpandedChange"
|
|
268
|
+
}];
|
|
269
|
+
}
|
|
200
270
|
}
|
|
201
271
|
const PlusIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M12 5V19", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { d: "M5 12H19", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
202
272
|
const CaretDownIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M6 9.75L12 15.75L18 9.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
203
|
-
const CaretUpIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M6 14.25L12 8.25L18 14.25", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
@@ -35,7 +35,7 @@ export class BsAccordionGroup {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("div", { key: '
|
|
38
|
+
return (h("div", { key: 'f3c43bbdb41aacc19356b37b736dbbe92dbee8c9', part: "group", class: "bs-accordion-group" }, h("slot", { key: '5ad2f89cd263163bd153473e0bae103655426588' })));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "bs-accordion-group"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ import { h } from "@stencil/core";
|
|
|
25
25
|
export class BsAiDisclaimer {
|
|
26
26
|
render() {
|
|
27
27
|
https: //images.unsplash.com/photo-1512917774080-9991f1c4c750?w=200&h=200&fit=crop
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: 'c60fa36f1340f01982c9084dcc24d875df50d33f', class: "bs-ai-disclaimer" }, h("p", { key: '19d76fe258f68e2e0e2a0f7f22a6775c7522cef0', part: "text", class: "bs-ai-disclaimer__text" }, h("slot", { key: '66861e47f7da39e0b1e162d327dedf0d57fcaf2f' }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "bs-ai-disclaimer"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,7 +43,7 @@ export class BsAiGreeting {
|
|
|
43
43
|
const subtext = this.productName
|
|
44
44
|
? `How can I help you with ${this.productName} today?`
|
|
45
45
|
: 'How can I help you today?';
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '1044390f82275f2ece3242201178e5fbe3dd0f83', class: "bs-ai-greeting" }, h("div", { key: '338a57a7ed4aae16d0210ad322b3dd14e4ae3c45', part: "heading", class: "bs-ai-greeting__heading" }, h("p", { key: '9aec512708b3ec838992af2e84911331e600def7', class: "bs-ai-greeting__heading-line" }, "Hi. I'm ", this.assistantName, ","), h("p", { key: 'ab23bbb5b65532320cad671818202fc8acebba46', class: "bs-ai-greeting__heading-line" }, "your AI assistant.")), h("p", { key: '1d4b83012beb32bedcf48de15461179e8bd7eca8', part: "subtext", class: "bs-ai-greeting__subtext" }, subtext)));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "bs-ai-greeting"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class BsAiThinking {
|
|
|
29
29
|
/** The status text shown next to the icon, e.g. "Retrieving", "Thinking", "Searching". */
|
|
30
30
|
label = 'Thinking';
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '86329576f183a586c2cedfcfe6d5ddb76d37ed25', class: "bs-ai-thinking", role: "status", "aria-live": "polite" }, h("img", { key: '5d56adc7f23efb232569765b3cf3529859bd4035', part: "icon", class: "bs-ai-thinking__icon", src: GENIE_MARK_ICON, alt: "", "aria-hidden": "true" }), h("span", { key: 'abd1bb6e0adf31a1ddc74bbbf08d3f0128aa0ae4', part: "label", class: "bs-ai-thinking__label" }, this.label)));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "bs-ai-thinking"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { render, h, describe, it, expect } from "@stencil/vitest";
|
|
2
|
+
import axe from "axe-core";
|
|
3
|
+
import { assertShadowParts, assertCssCustomProperties } from "../../test/helpers/conventions";
|
|
4
|
+
import { ICONS } from "../bs-app-switcher/bs-app-switcher.stories";
|
|
5
|
+
const q = (el, s) => el.shadowRoot.querySelector(s);
|
|
6
|
+
const make = async (props = {}) => {
|
|
7
|
+
const r = await render(h("div", { style: { width: '328px' } }, h("bs-app-recent-item", { name: "Accounting" })));
|
|
8
|
+
const el = r.root.querySelector('bs-app-recent-item');
|
|
9
|
+
Object.assign(el, { icon: ICONS.accounting, description: 'Opened 10 min ago · Nordlys Handel AS', ...props });
|
|
10
|
+
await r.waitForChanges();
|
|
11
|
+
return { ...r, el };
|
|
12
|
+
};
|
|
13
|
+
describe('bs-app-recent-item', () => {
|
|
14
|
+
it('renders a 52px row with a 32px icon tile, name and description', async () => {
|
|
15
|
+
const { el } = await make();
|
|
16
|
+
expect(Math.round(q(el, '[part="container"]').getBoundingClientRect().height)).toBe(52);
|
|
17
|
+
expect(Math.round(q(el, 'bs-icon-tile').getBoundingClientRect().width)).toBe(32);
|
|
18
|
+
expect(q(el, '[part="name"]').textContent).toBe('Accounting');
|
|
19
|
+
expect(q(el, '[part="description"]').textContent).toBe('Opened 10 min ago · Nordlys Handel AS');
|
|
20
|
+
assertShadowParts(el.shadowRoot, ['container', 'icon', 'name', 'description']);
|
|
21
|
+
assertCssCustomProperties(el, ['--bs-app-recent-item-bg-hover', '--bs-app-recent-item-bg-current', '--bs-app-recent-item-focus-ring']);
|
|
22
|
+
});
|
|
23
|
+
it('is always a button', async () => {
|
|
24
|
+
const { el } = await make();
|
|
25
|
+
expect(q(el, '[part="container"]').tagName).toBe('BUTTON');
|
|
26
|
+
});
|
|
27
|
+
it('omits the description line when there is none', async () => {
|
|
28
|
+
const { el } = await make({ description: undefined });
|
|
29
|
+
expect(q(el, '[part="description"]')).toBeNull();
|
|
30
|
+
});
|
|
31
|
+
it('marks current and disables like the tile', async () => {
|
|
32
|
+
const { el, waitForChanges } = await make({ current: true });
|
|
33
|
+
expect(q(el, '[part="container"]').getAttribute('aria-current')).toBe('true');
|
|
34
|
+
el.current = false;
|
|
35
|
+
el.disabled = true;
|
|
36
|
+
await waitForChanges();
|
|
37
|
+
const c = q(el, '[part="container"]');
|
|
38
|
+
expect(c.getAttribute('aria-disabled')).toBe('true');
|
|
39
|
+
expect(c.tabIndex).toBe(-1);
|
|
40
|
+
let clicks = 0;
|
|
41
|
+
el.addEventListener('click', () => clicks++);
|
|
42
|
+
c.click();
|
|
43
|
+
expect(clicks).toBe(0);
|
|
44
|
+
});
|
|
45
|
+
it('has no axe violations in any state', async () => {
|
|
46
|
+
for (const props of [{}, { current: true }, { disabled: true }]) {
|
|
47
|
+
const { el } = await make(props);
|
|
48
|
+
const results = await axe.run(el);
|
|
49
|
+
expect(results.violations.map(v => `${JSON.stringify(props)} ${v.id}: ${v.help}`)).toEqual([]);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
});
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
--bs-app-recent-item-padding-x: var(--bs-spacing-100);
|
|
5
|
+
--bs-app-recent-item-padding-y: var(--bs-spacing-100);
|
|
6
|
+
--bs-app-recent-item-gap: var(--bs-spacing-150);
|
|
7
|
+
--bs-app-recent-item-radius: var(--bs-border-radius-100);
|
|
8
|
+
--bs-app-recent-item-bg: transparent;
|
|
9
|
+
--bs-app-recent-item-bg-hover: var(--bs-surface-hover);
|
|
10
|
+
--bs-app-recent-item-bg-pressed: var(--bs-surface-pressed);
|
|
11
|
+
--bs-app-recent-item-bg-current: var(--bs-surface-selected);
|
|
12
|
+
--bs-app-recent-item-icon-bg: var(--bs-color-neutral-container);
|
|
13
|
+
--bs-app-recent-item-color: var(--bs-text-default);
|
|
14
|
+
--bs-app-recent-item-color-muted: var(--bs-text-secondary);
|
|
15
|
+
--bs-app-recent-item-color-disabled: var(--bs-text-on-disabled);
|
|
16
|
+
--bs-app-recent-item-focus-ring: var(--bs-border-neutral-focus);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.bs-app-recent-item {
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
gap: var(--bs-app-recent-item-gap);
|
|
24
|
+
width: 100%;
|
|
25
|
+
margin: 0;
|
|
26
|
+
padding: var(--bs-app-recent-item-padding-y) var(--bs-app-recent-item-padding-x);
|
|
27
|
+
border: 0;
|
|
28
|
+
border-radius: var(--bs-app-recent-item-radius);
|
|
29
|
+
background: var(--bs-app-recent-item-bg);
|
|
30
|
+
color: var(--bs-app-recent-item-color);
|
|
31
|
+
font-family: var(--bs-typography-font-family-body, Roboto), sans-serif;
|
|
32
|
+
text-align: left;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.bs-app-recent-item:hover,
|
|
37
|
+
.bs-app-recent-item:active,
|
|
38
|
+
.bs-app-recent-item[aria-current='true'] {
|
|
39
|
+
--bs-app-recent-item-icon-bg: var(--bs-surface-base);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.bs-app-recent-item[aria-current='true'] {
|
|
43
|
+
background: var(--bs-app-recent-item-bg-current);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.bs-app-recent-item:hover {
|
|
47
|
+
background: var(--bs-app-recent-item-bg-hover);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bs-app-recent-item:active {
|
|
51
|
+
background: var(--bs-app-recent-item-bg-pressed);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.bs-app-recent-item:focus-visible {
|
|
55
|
+
outline: var(--bs-spacing-25) solid var(--bs-app-recent-item-focus-ring);
|
|
56
|
+
outline-offset: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bs-app-recent-item[aria-disabled='true'] {
|
|
60
|
+
background: var(--bs-app-recent-item-bg);
|
|
61
|
+
color: var(--bs-app-recent-item-color-disabled);
|
|
62
|
+
cursor: not-allowed;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.bs-app-recent-item[aria-disabled='true'] .bs-app-recent-item__description {
|
|
66
|
+
color: var(--bs-app-recent-item-color-disabled);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.bs-app-recent-item__icon {
|
|
70
|
+
--bs-icon-tile-bg: var(--bs-app-recent-item-icon-bg);
|
|
71
|
+
--bs-icon-tile-color: var(--bs-icon-default);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.bs-app-recent-item[aria-disabled='true'] .bs-app-recent-item__icon {
|
|
75
|
+
--bs-icon-tile-color: var(--bs-app-recent-item-color-disabled);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.bs-app-recent-item__glyph {
|
|
79
|
+
display: block;
|
|
80
|
+
width: var(--bs-icon-tile-icon-size);
|
|
81
|
+
height: var(--bs-icon-tile-icon-size);
|
|
82
|
+
background: currentColor;
|
|
83
|
+
-webkit-mask: var(--bs-app-recent-item-glyph) center / contain no-repeat;
|
|
84
|
+
mask: var(--bs-app-recent-item-glyph) center / contain no-repeat;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.bs-app-recent-item__text {
|
|
88
|
+
flex: 1 1 0;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.bs-app-recent-item__name {
|
|
95
|
+
font-size: var(--bs-fontsize-body-sm);
|
|
96
|
+
font-weight: var(--bs-font-weight-medium);
|
|
97
|
+
line-height: calc(var(--bs-line-height-body-sm) * 1px);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.bs-app-recent-item__description {
|
|
101
|
+
color: var(--bs-app-recent-item-color-muted);
|
|
102
|
+
font-size: var(--bs-fontsize-caption-sm);
|
|
103
|
+
line-height: calc(var(--bs-line-height-caption-sm) * 1px);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.bs-app-recent-item__name,
|
|
107
|
+
.bs-app-recent-item__description {
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
text-overflow: ellipsis;
|
|
110
|
+
white-space: nowrap;
|
|
111
|
+
}
|