@brandsync/wc 1.16.0 → 1.18.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 +20 -0
- package/REFERENCE.md +476 -0
- package/custom-elements.json +10039 -5497
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-f271e1d2.entry.js → p-0082db6a.entry.js} +1 -1
- package/dist/brandsync-wc/p-07e0b444.entry.js +1 -0
- package/dist/brandsync-wc/{p-b67a0c8f.entry.js → p-08e0e704.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d165a742.entry.js → p-0a6f22fe.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8390a155.entry.js → p-14b4f4c4.entry.js} +1 -1
- package/dist/brandsync-wc/p-15f06226.entry.js +1 -0
- package/dist/brandsync-wc/{p-a5659499.entry.js → p-186e3b78.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c85fe37b.entry.js → p-1a47774e.entry.js} +1 -1
- package/dist/brandsync-wc/p-1a62e5b7.entry.js +1 -0
- package/dist/brandsync-wc/p-1aa0f9a3.entry.js +1 -0
- package/dist/brandsync-wc/{p-e9b6b30f.entry.js → p-1d8c2ec1.entry.js} +1 -1
- package/dist/brandsync-wc/p-246036cd.entry.js +1 -0
- package/dist/brandsync-wc/{p-45986ad4.entry.js → p-31ca98c3.entry.js} +1 -1
- package/dist/brandsync-wc/p-344695a8.entry.js +1 -0
- package/dist/brandsync-wc/{p-c25553bc.entry.js → p-345b5ef3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-dcacee29.entry.js → p-34851d6d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6cb21302.entry.js → p-348fef11.entry.js} +1 -1
- package/dist/brandsync-wc/p-3e6f430a.entry.js +1 -0
- package/dist/brandsync-wc/p-43f8afda.entry.js +1 -0
- package/dist/brandsync-wc/{p-361aef36.entry.js → p-47929dca.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cc4c8c1d.entry.js → p-47ce984f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d5a6098d.entry.js → p-4d4997af.entry.js} +1 -1
- package/dist/brandsync-wc/p-4ff649f1.entry.js +1 -0
- package/dist/brandsync-wc/p-50c116eb.entry.js +1 -0
- package/dist/brandsync-wc/{p-f3eca1ce.entry.js → p-50f60ed6.entry.js} +1 -1
- package/dist/brandsync-wc/p-52d61070.entry.js +1 -0
- package/dist/brandsync-wc/{p-2e285364.entry.js → p-55d336da.entry.js} +1 -1
- package/dist/brandsync-wc/{p-38fe9d07.entry.js → p-55d97d1d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9beeb30c.entry.js → p-56a45582.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e9afb553.entry.js → p-58179e15.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1ca8b01e.entry.js → p-5868793d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-38ac9aad.entry.js → p-5ac75555.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7b3518b8.entry.js → p-5cd1abc7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-dfad8c0a.entry.js → p-5e36d46f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-54f9529f.entry.js → p-64f8eb7e.entry.js} +1 -1
- package/dist/brandsync-wc/p-6b019a88.entry.js +1 -0
- package/dist/brandsync-wc/{p-f0be9125.entry.js → p-6c987bc9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5ed1f45e.entry.js → p-757cd066.entry.js} +1 -1
- package/dist/brandsync-wc/{p-47b7fe76.entry.js → p-78114ea3.entry.js} +1 -1
- package/dist/brandsync-wc/p-7c29678d.entry.js +1 -0
- package/dist/brandsync-wc/{p-9d12b1fb.entry.js → p-7cfb1be6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4ed00786.entry.js → p-841a80b4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a56bc608.entry.js → p-87a10ee1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c05ee501.entry.js → p-8962abe0.entry.js} +1 -1
- package/dist/brandsync-wc/p-8e46a262.entry.js +1 -0
- package/dist/brandsync-wc/p-8f82ea7e.entry.js +1 -0
- package/dist/brandsync-wc/p-95c7f350.entry.js +1 -0
- package/dist/brandsync-wc/{p-3488c4fc.entry.js → p-9787bc0f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0159f0da.entry.js → p-998b95d3.entry.js} +1 -1
- package/dist/brandsync-wc/p-9bd739e5.entry.js +1 -0
- package/dist/brandsync-wc/p-a424a709.entry.js +1 -0
- package/dist/brandsync-wc/{p-b6081bba.entry.js → p-a51355d9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4ca40386.entry.js → p-a8c2855c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b663ee67.entry.js → p-a9d0a730.entry.js} +1 -1
- package/dist/brandsync-wc/{p-15f4c343.entry.js → p-ae207fd5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8048d033.entry.js → p-b1edc9b7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-949a4270.entry.js → p-b759ae72.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7dc59e0b.entry.js → p-b7bbc52f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-912629c6.entry.js → p-bd901b06.entry.js} +1 -1
- package/dist/brandsync-wc/p-be7272ce.entry.js +1 -0
- package/dist/brandsync-wc/{p-401b3d3d.entry.js → p-bfff7cbb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-298158da.entry.js → p-c020ffdf.entry.js} +1 -1
- package/dist/brandsync-wc/{p-abfa43f5.entry.js → p-c02ed03d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-baa3d37a.entry.js → p-cb002195.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ffc07eb5.entry.js → p-d3fe8cea.entry.js} +1 -1
- package/dist/brandsync-wc/{p-42b79d95.entry.js → p-d42a26c1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e72dd05e.entry.js → p-d985e569.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cf287ff1.entry.js → p-e2491db8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-36fe783a.entry.js → p-e32a6df1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-65fa1b21.entry.js → p-e3e15670.entry.js} +1 -1
- package/dist/brandsync-wc/{p-67629178.entry.js → p-e4e9c961.entry.js} +1 -1
- package/dist/brandsync-wc/{p-521d0fc2.entry.js → p-e99c0937.entry.js} +1 -1
- package/dist/brandsync-wc/{p-89ea6366.entry.js → p-e9adfa44.entry.js} +1 -1
- package/dist/brandsync-wc/{p-76748795.entry.js → p-eb3bacb9.entry.js} +1 -1
- package/dist/brandsync-wc/p-ee00d3a5.entry.js +1 -0
- package/dist/brandsync-wc/{p-ed71eb02.entry.js → p-ee63423c.entry.js} +1 -1
- package/dist/brandsync-wc/p-f4628861.entry.js +1 -0
- package/dist/brandsync-wc/{p-d81c4f58.entry.js → p-f47b8673.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b9c9bcba.entry.js → p-f6caa623.entry.js} +1 -1
- package/dist/brandsync-wc/p-f86b58bf.entry.js +1 -0
- package/dist/brandsync-wc/{p-00be9a64.entry.js → p-fa91106e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-538d5b58.entry.js → p-fb84002e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a12691d8.entry.js → p-fbc219c6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f3cc961b.entry.js → p-fd78ff22.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-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.cjs.entry.js +1 -1
- package/dist/cjs/bs-card.cjs.entry.js +1 -1
- package/dist/cjs/bs-carousel.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-filter.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-input.cjs.entry.js +1 -1
- package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
- package/dist/cjs/bs-command-palette.cjs.entry.js +374 -0
- 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-divider.cjs.entry.js +1 -1
- package/dist/cjs/bs-empty-state.cjs.entry.js +47 -0
- 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 +326 -0
- package/dist/cjs/bs-grid.cjs.entry.js +2 -2
- package/dist/cjs/bs-icon-button.cjs.entry.js +8 -1
- package/dist/cjs/bs-icon-tile.cjs.entry.js +10 -2
- package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
- package/dist/cjs/bs-input_3.cjs.entry.js +4 -4
- package/dist/cjs/bs-key-caps.cjs.entry.js +39 -0
- package/dist/cjs/bs-key.cjs.entry.js +28 -0
- package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +112 -0
- package/dist/cjs/bs-list-item_2.cjs.entry.js +215 -0
- package/dist/cjs/bs-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-mega-menu.cjs.entry.js +70 -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 +1 -1
- 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 +1 -1
- package/dist/cjs/bs-search-item.cjs.entry.js +47 -0
- package/dist/cjs/bs-session-timeout.cjs.entry.js +1 -1
- package/dist/cjs/bs-shortcut-row.cjs.entry.js +27 -0
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/bs-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/bs-tree.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +17 -1
- 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.js +1 -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.js +27 -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.js +1 -1
- 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.js +1 -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.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +1 -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.js +1 -1
- package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
- package/dist/collection/components/bs-command-palette/bs-command-palette.cmp.test.js +207 -0
- package/dist/collection/components/bs-command-palette/bs-command-palette.css +214 -0
- package/dist/collection/components/bs-command-palette/bs-command-palette.js +1114 -0
- package/dist/collection/components/bs-command-palette/bs-command-palette.stories.js +194 -0
- 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-divider/bs-divider.js +1 -1
- package/dist/collection/components/bs-empty-state/bs-empty-state.cmp.test.js +102 -0
- package/dist/collection/components/bs-empty-state/bs-empty-state.css +45 -0
- package/dist/collection/components/bs-empty-state/bs-empty-state.js +175 -0
- package/dist/collection/components/bs-empty-state/bs-empty-state.stories.js +52 -0
- 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.cmp.test.js +491 -0
- package/dist/collection/components/bs-global-search/bs-global-search.css +115 -0
- package/dist/collection/components/bs-global-search/bs-global-search.js +1024 -0
- package/dist/collection/components/bs-global-search/bs-global-search.stories.js +146 -0
- 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.cmp.test.js +59 -0
- package/dist/collection/components/bs-key/bs-key.css +58 -0
- package/dist/collection/components/bs-key/bs-key.js +84 -0
- package/dist/collection/components/bs-key/bs-key.stories.js +19 -0
- package/dist/collection/components/bs-key-caps/bs-key-caps.cmp.test.js +60 -0
- package/dist/collection/components/bs-key-caps/bs-key-caps.css +28 -0
- package/dist/collection/components/bs-key-caps/bs-key-caps.js +120 -0
- package/dist/collection/components/bs-key-caps/bs-key-caps.stories.js +29 -0
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.cmp.test.js +194 -0
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.css +138 -0
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +485 -0
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.stories.js +111 -0
- package/dist/collection/components/bs-list/bs-list.js +1 -1
- package/dist/collection/components/bs-list-item/bs-list-item.js +1 -1
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.cmp.test.js +131 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +139 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +358 -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.js +1 -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.js +1 -1
- package/dist/collection/components/bs-popover/bs-popover.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/bs-search-item/bs-search-item.cmp.test.js +147 -0
- package/dist/collection/components/bs-search-item/bs-search-item.css +112 -0
- package/dist/collection/components/bs-search-item/bs-search-item.js +222 -0
- package/dist/collection/components/bs-search-item/bs-search-item.stories.js +31 -0
- package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
- package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.cmp.test.js +60 -0
- package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.css +42 -0
- package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +154 -0
- package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.stories.js +24 -0
- 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.js +2 -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.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -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.js +1 -1
- package/dist/collection/components/bs-tree/bs-tree.js +1 -1
- package/dist/collection/components/bs-tree-item/bs-tree-item.js +2 -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/components/bs-accordion-group.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.d.ts +11 -0
- package/dist/components/bs-command-palette.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-empty-state.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-global-search.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-key-caps.js +1 -0
- package/dist/components/bs-key.d.ts +11 -0
- package/dist/components/bs-key.js +1 -0
- package/dist/components/bs-keyboard-shortcuts.d.ts +11 -0
- package/dist/components/bs-keyboard-shortcuts.js +1 -0
- 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-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-search-item.d.ts +11 -0
- package/dist/components/bs-search-item.js +1 -0
- package/dist/components/bs-session-timeout.js +1 -1
- package/dist/components/bs-shortcut-row.d.ts +11 -0
- package/dist/components/bs-shortcut-row.js +1 -0
- 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-B6KgEbdM.js +1 -0
- package/dist/components/{p-CQjSDdH7.js → p-B8kw9EOx.js} +1 -1
- package/dist/components/p-BLPNwyiT.js +1 -0
- package/dist/components/{p-J9cxcDhY.js → p-BP1l6Q3Z.js} +1 -1
- package/dist/components/p-BS7ySxJZ.js +1 -0
- package/dist/components/{p-DYuzgzxI.js → p-BmdSbmFg.js} +1 -1
- package/dist/components/{p-CRtvJlh8.js → p-C1owRphU.js} +1 -1
- package/dist/components/{p-BsbtyRJV.js → p-C2rRVRIu.js} +1 -1
- package/dist/components/p-C3erqJFy.js +1 -0
- package/dist/components/p-Cd7p-48Q.js +1 -0
- package/dist/components/{p-CK7fiES5.js → p-CmlzHRkn.js} +1 -1
- package/dist/components/p-Co36mHEU.js +1 -0
- package/dist/components/p-D4_8H0vn.js +1 -0
- package/dist/components/{p-D0KM1R2i.js → p-D9dDFyPB.js} +1 -1
- package/dist/components/{p-DvNED6Lb.js → p-DBvhi__l.js} +1 -1
- package/dist/components/{p-kDJsWjTN.js → p-DFd4pP4i.js} +1 -1
- package/dist/components/{p-BdkE4auv.js → p-DVjuZdjF.js} +1 -1
- package/dist/components/{p-Bb1-2M8K.js → p-DW0Dw2LS.js} +1 -1
- package/dist/components/p-DcdFuKG9.js +1 -0
- package/dist/components/p-Deq0LzGO.js +1 -0
- package/dist/components/{p-BaJEv6rL.js → p-DgY5pxXd.js} +1 -1
- package/dist/components/{p-ByLUtXxO.js → p-DhhXayh6.js} +1 -1
- package/dist/components/p-DiORQQg3.js +1 -0
- package/dist/components/p-Dl0FedE5.js +1 -0
- package/dist/components/p-DsBToIYE.js +1 -0
- package/dist/components/{p-DFKc3lLA.js → p-DtbeCgXo.js} +1 -1
- package/dist/components/{p-C7RZ6qZC.js → p-DzvXbBvk.js} +1 -1
- package/dist/components/p-I1_Q3HQu.js +1 -0
- package/dist/components/{p-C93ymWm7.js → p-TXAiCnSZ.js} +1 -1
- package/dist/components/p-c-g3-oVu.js +1 -0
- package/dist/components/p-erdtytMq.js +1 -0
- package/dist/components/{p-B128GX8H.js → p-qXdgl7VG.js} +1 -1
- package/dist/esm/brandsync-wc.js +1 -1
- package/dist/esm/bs-accordion-group.entry.js +1 -1
- 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.entry.js +1 -1
- package/dist/esm/bs-card.entry.js +1 -1
- package/dist/esm/bs-carousel.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
- package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
- package/dist/esm/bs-checkbox.entry.js +1 -1
- package/dist/esm/bs-chip-filter.entry.js +1 -1
- package/dist/esm/bs-chip-informative.entry.js +1 -1
- package/dist/esm/bs-chip-input.entry.js +1 -1
- package/dist/esm/bs-citation-preview.entry.js +1 -1
- package/dist/esm/bs-command-palette.entry.js +372 -0
- 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-divider.entry.js +1 -1
- package/dist/esm/bs-empty-state.entry.js +45 -0
- 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 +324 -0
- package/dist/esm/bs-grid.entry.js +2 -2
- package/dist/esm/bs-icon-button.entry.js +8 -1
- package/dist/esm/bs-icon-tile.entry.js +11 -3
- package/dist/esm/bs-inline-tab.entry.js +1 -1
- package/dist/esm/bs-input_3.entry.js +4 -4
- package/dist/esm/bs-key-caps.entry.js +37 -0
- package/dist/esm/bs-key.entry.js +26 -0
- package/dist/esm/bs-keyboard-shortcuts.entry.js +110 -0
- package/dist/esm/bs-list-item_2.entry.js +212 -0
- package/dist/esm/bs-list.entry.js +1 -1
- package/dist/esm/bs-mega-menu.entry.js +68 -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 +1 -1
- 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 +1 -1
- package/dist/esm/bs-search-item.entry.js +45 -0
- package/dist/esm/bs-session-timeout.entry.js +1 -1
- package/dist/esm/bs-shortcut-row.entry.js +25 -0
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/bs-tooltip.entry.js +1 -1
- package/dist/esm/bs-tree-item.entry.js +2 -2
- package/dist/esm/bs-tree.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- 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-icon-button/bs-icon-button.d.ts +7 -0
- package/dist/types/components/bs-command-palette/bs-command-palette.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-command-palette/bs-command-palette.d.ts +172 -0
- package/dist/types/components/bs-command-palette/bs-command-palette.stories.d.ts +56 -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-empty-state/bs-empty-state.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-empty-state/bs-empty-state.d.ts +50 -0
- package/dist/types/components/bs-empty-state/bs-empty-state.stories.d.ts +13 -0
- package/dist/types/components/bs-global-search/bs-global-search.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-global-search/bs-global-search.d.ts +166 -0
- package/dist/types/components/bs-global-search/bs-global-search.stories.d.ts +61 -0
- package/dist/types/components/bs-icon-tile/bs-icon-tile.d.ts +5 -0
- package/dist/types/components/bs-key/bs-key.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-key/bs-key.d.ts +36 -0
- package/dist/types/components/bs-key/bs-key.stories.d.ts +11 -0
- package/dist/types/components/bs-key-caps/bs-key-caps.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-key-caps/bs-key-caps.d.ts +31 -0
- package/dist/types/components/bs-key-caps/bs-key-caps.stories.d.ts +15 -0
- package/dist/types/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.d.ts +95 -0
- package/dist/types/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.stories.d.ts +43 -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 +110 -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-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-search-item/bs-search-item.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-search-item/bs-search-item.d.ts +61 -0
- package/dist/types/components/bs-search-item/bs-search-item.stories.d.ts +13 -0
- package/dist/types/components/bs-shortcut-row/bs-shortcut-row.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-shortcut-row/bs-shortcut-row.d.ts +38 -0
- package/dist/types/components/bs-shortcut-row/bs-shortcut-row.stories.d.ts +13 -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 +3920 -71
- package/dist/types/svg-inline.d.ts +5 -0
- package/package.json +2 -1
- package/reference.d.ts +50 -2
- package/reference.json +1701 -31
- package/dist/brandsync-wc/p-0228a584.entry.js +0 -1
- package/dist/brandsync-wc/p-0f97fe35.entry.js +0 -1
- package/dist/brandsync-wc/p-23379d7c.entry.js +0 -1
- package/dist/brandsync-wc/p-34b0c048.entry.js +0 -1
- package/dist/brandsync-wc/p-3789c7a5.entry.js +0 -1
- package/dist/brandsync-wc/p-5a45ef51.entry.js +0 -1
- package/dist/brandsync-wc/p-769c5b4a.entry.js +0 -1
- package/dist/brandsync-wc/p-86774165.entry.js +0 -1
- package/dist/brandsync-wc/p-e5f50e93.entry.js +0 -1
- package/dist/brandsync-wc/p-f4d1d56e.entry.js +0 -1
- 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-B80vOwH6.js +0 -1
- package/dist/components/p-ChcaPfNL.js +0 -1
- package/dist/components/p-GTDI4Ibw.js +0 -1
- 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
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { render, h, describe, it, expect } from "@stencil/vitest";
|
|
2
|
+
import axe from "axe-core";
|
|
3
|
+
import { userEvent } from "vitest/browser";
|
|
4
|
+
import { assertShadowParts, assertCssCustomProperties } from "../../test/helpers/conventions";
|
|
5
|
+
import { COLUMNS, COMPACT_COLUMNS, FEATURED, RECENT } from "./bs-mega-menu.stories";
|
|
6
|
+
const q = (el, s) => el.shadowRoot.querySelector(s);
|
|
7
|
+
const qa = (el, s) => Array.from(el.shadowRoot.querySelectorAll(s));
|
|
8
|
+
const make = async (props = {}) => {
|
|
9
|
+
const r = await render(h("div", { style: { width: '1100px' } }, h("bs-mega-menu", { label: "Sales menu" })));
|
|
10
|
+
const el = r.root.querySelector('bs-mega-menu');
|
|
11
|
+
Object.assign(el, { columns: COLUMNS, recent: RECENT, ...props });
|
|
12
|
+
await r.waitForChanges();
|
|
13
|
+
await new Promise(res => setTimeout(res, 80));
|
|
14
|
+
return { ...r, el };
|
|
15
|
+
};
|
|
16
|
+
describe('bs-mega-menu', () => {
|
|
17
|
+
it('is a labelled navigation with a group per column, real lists, and the parts and custom properties', async () => {
|
|
18
|
+
const { el } = await make();
|
|
19
|
+
const panel = q(el, '[part="panel"]');
|
|
20
|
+
expect(panel.getAttribute('role')).toBe('navigation');
|
|
21
|
+
expect(panel.getAttribute('aria-label')).toBe('Sales menu');
|
|
22
|
+
const groups = qa(el, '[part="column"]');
|
|
23
|
+
expect(groups.length).toBe(3);
|
|
24
|
+
for (const g of groups) {
|
|
25
|
+
expect(g.getAttribute('role')).toBe('group');
|
|
26
|
+
expect(el.shadowRoot.getElementById(g.getAttribute('aria-labelledby')).textContent).toBeTruthy();
|
|
27
|
+
expect(g.querySelector('ul > li > bs-menu-block')).not.toBeNull();
|
|
28
|
+
}
|
|
29
|
+
assertShadowParts(el.shadowRoot, ['panel', 'columns', 'column', 'heading', 'list', 'block', 'footer', 'shortcut']);
|
|
30
|
+
assertCssCustomProperties(el, ['--bs-mega-menu-width', '--bs-mega-menu-shadow', '--bs-mega-menu-heading-color']);
|
|
31
|
+
});
|
|
32
|
+
it('renders the item data: description, badge and icon on menu blocks', async () => {
|
|
33
|
+
const { el } = await make();
|
|
34
|
+
const blocks = qa(el, 'bs-menu-block');
|
|
35
|
+
expect(blocks.length).toBe(6);
|
|
36
|
+
const subs = blocks.find(b => b.name === 'Subscriptions');
|
|
37
|
+
expect(subs.badge).toBe('New');
|
|
38
|
+
expect(subs.description).toBe('Recurring billing for services');
|
|
39
|
+
expect(subs.icon).toContain('data:image/svg+xml');
|
|
40
|
+
});
|
|
41
|
+
it('compact type renders compact blocks only', async () => {
|
|
42
|
+
const { el } = await make({ type: 'compact', columns: COMPACT_COLUMNS });
|
|
43
|
+
expect(qa(el, 'bs-menu-block').length).toBe(0);
|
|
44
|
+
expect(qa(el, 'bs-compact-menu-block').length).toBe(14);
|
|
45
|
+
expect(qa(el, '[part="column"]').length).toBe(4);
|
|
46
|
+
});
|
|
47
|
+
it('gives the featured area its own grid track', async () => {
|
|
48
|
+
const { el, waitForChanges } = await make({ columns: COLUMNS.slice(0, 2) });
|
|
49
|
+
expect(q(el, '[part="featured"]')).toBeNull();
|
|
50
|
+
el.featured = FEATURED;
|
|
51
|
+
await waitForChanges();
|
|
52
|
+
const f = q(el, '[part="featured"]');
|
|
53
|
+
expect(f.textContent).toContain('Smarter payment reminders');
|
|
54
|
+
expect(f.getAttribute('aria-labelledby')).toBe(q(el, '[part="featured-title"]').id);
|
|
55
|
+
const tracks = getComputedStyle(q(el, '[part="columns"]')).gridTemplateColumns.split(' ');
|
|
56
|
+
expect(tracks.length).toBe(3);
|
|
57
|
+
});
|
|
58
|
+
it('shows the recently used line and the shortcut hint, both overridable by slots', async () => {
|
|
59
|
+
const { el } = await make();
|
|
60
|
+
expect(q(el, '[part="footer"]').textContent).toContain('Recently used: Invoices, Sales orders');
|
|
61
|
+
expect(q(el, '[part="footer"]').textContent).toContain('Can’t find it? Press');
|
|
62
|
+
expect(q(el, 'bs-key-caps').keys).toBe('Ctrl+K');
|
|
63
|
+
expect(q(el, 'slot[name="footer-start"]')).not.toBeNull();
|
|
64
|
+
expect(q(el, 'slot[name="footer-end"]')).not.toBeNull();
|
|
65
|
+
expect(q(el, 'slot[name="featured"]')).toBeNull();
|
|
66
|
+
});
|
|
67
|
+
it('fires a cancelable bsMenuSelect with the item, and Escape fires bsClose', async () => {
|
|
68
|
+
const { el } = await make();
|
|
69
|
+
const picked = [];
|
|
70
|
+
el.addEventListener('bsMenuSelect', (e) => {
|
|
71
|
+
picked.push(e.detail.id);
|
|
72
|
+
e.preventDefault();
|
|
73
|
+
});
|
|
74
|
+
let closed = 0;
|
|
75
|
+
el.addEventListener('bsClose', () => closed++);
|
|
76
|
+
qa(el, 'bs-menu-block')[2].shadowRoot.querySelector('button').click();
|
|
77
|
+
expect(picked).toEqual(['invoices']);
|
|
78
|
+
qa(el, 'bs-menu-block')[0].shadowRoot.querySelector('button').focus();
|
|
79
|
+
await userEvent.keyboard('{Escape}');
|
|
80
|
+
expect(closed).toBe(1);
|
|
81
|
+
});
|
|
82
|
+
describe('narrow container', () => {
|
|
83
|
+
const makeAt = async (width, props = {}) => {
|
|
84
|
+
const r = await render(h("div", { style: { width: `${width}px` } }, h("bs-mega-menu", { label: "Sales menu" })));
|
|
85
|
+
const el = r.root.querySelector('bs-mega-menu');
|
|
86
|
+
Object.assign(el, { columns: COLUMNS, recent: RECENT, ...props });
|
|
87
|
+
await r.waitForChanges();
|
|
88
|
+
await new Promise(res => setTimeout(res, 80));
|
|
89
|
+
return el;
|
|
90
|
+
};
|
|
91
|
+
it('is one column, with wrapping text, 44px links, and no shortcut hint below 600px', async () => {
|
|
92
|
+
const el = await makeAt(375, { featured: FEATURED });
|
|
93
|
+
expect(getComputedStyle(q(el, '[part="columns"]')).gridTemplateColumns.split(' ').length).toBe(1);
|
|
94
|
+
const cols = qa(el, '[part="column"]').map(c => c.getBoundingClientRect());
|
|
95
|
+
expect(cols[1].top).toBeGreaterThanOrEqual(cols[0].bottom);
|
|
96
|
+
expect(q(el, '[part="featured"]').getBoundingClientRect().top).toBeGreaterThanOrEqual(cols[cols.length - 1].bottom);
|
|
97
|
+
qa(el, 'bs-menu-block').forEach(b => expect(b.getBoundingClientRect().height).toBeGreaterThanOrEqual(44));
|
|
98
|
+
expect(getComputedStyle(qa(el, 'bs-menu-block')[0].shadowRoot.querySelector('.bs-menu-block__name')).whiteSpace).toBe('normal');
|
|
99
|
+
expect(getComputedStyle(q(el, '.bs-mega-menu__shortcut')).display).toBe('none');
|
|
100
|
+
expect(q(el, '[part="footer"]').textContent).toContain('Recently used');
|
|
101
|
+
expect(el.getBoundingClientRect().width).toBe(375);
|
|
102
|
+
});
|
|
103
|
+
it('makes compact links at least 44px tall', async () => {
|
|
104
|
+
const el = await makeAt(375, { type: 'compact', columns: COMPACT_COLUMNS });
|
|
105
|
+
qa(el, 'bs-compact-menu-block').forEach(b => expect(b.getBoundingClientRect().height).toBeGreaterThanOrEqual(44));
|
|
106
|
+
});
|
|
107
|
+
it('keeps the multi-column layout and the shortcut hint at 600px and wider', async () => {
|
|
108
|
+
const wide = await makeAt(600);
|
|
109
|
+
expect(getComputedStyle(q(wide, '[part="columns"]')).gridTemplateColumns.split(' ').length).toBe(3);
|
|
110
|
+
expect(getComputedStyle(q(wide, '.bs-mega-menu__shortcut')).display).not.toBe('none');
|
|
111
|
+
});
|
|
112
|
+
it('has no axe violations when narrow', async () => {
|
|
113
|
+
const el = await makeAt(375, { featured: FEATURED });
|
|
114
|
+
const results = await axe.run(el);
|
|
115
|
+
expect(results.violations.map(v => `${v.id}: ${v.help}`)).toEqual([]);
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
it('is hidden with the hidden attribute', async () => {
|
|
119
|
+
const { el, waitForChanges } = await make();
|
|
120
|
+
el.hidden = true;
|
|
121
|
+
await waitForChanges();
|
|
122
|
+
expect(getComputedStyle(el).display).toBe('none');
|
|
123
|
+
});
|
|
124
|
+
it('has no axe violations in any type', async () => {
|
|
125
|
+
for (const props of [{}, { featured: FEATURED, columns: COLUMNS.slice(0, 2) }, { type: 'compact', columns: COMPACT_COLUMNS }, { type: 'compact', columns: COMPACT_COLUMNS.slice(0, 3), featured: FEATURED }]) {
|
|
126
|
+
const { el } = await make(props);
|
|
127
|
+
const results = await axe.run(el);
|
|
128
|
+
expect(results.violations.map(v => `${v.id}: ${v.help}`)).toEqual([]);
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
});
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
/* The panel reacts to its own width (it may sit in a header slot), not the viewport's. */
|
|
5
|
+
container-type: inline-size;
|
|
6
|
+
width: var(--bs-mega-menu-width);
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
--bs-mega-menu-width: 1100px;
|
|
9
|
+
--bs-mega-menu-radius: var(--bs-border-radius-150);
|
|
10
|
+
--bs-mega-menu-bg: var(--bs-surface-base);
|
|
11
|
+
--bs-mega-menu-border-color: var(--bs-border-default);
|
|
12
|
+
--bs-mega-menu-shadow: var(--bs-shadow-position-0) var(--bs-shadow-position-50) var(--bs-shadow-blur-100) var(--bs-elevation-high);
|
|
13
|
+
--bs-mega-menu-padding: var(--bs-spacing-300) calc(var(--bs-spacing-300) + var(--bs-spacing-50));
|
|
14
|
+
--bs-mega-menu-gap: var(--bs-spacing-300);
|
|
15
|
+
--bs-mega-menu-heading-color: var(--bs-text-muted);
|
|
16
|
+
--bs-mega-menu-text-color: var(--bs-text-default);
|
|
17
|
+
--bs-mega-menu-muted-color: var(--bs-text-secondary);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:host([hidden]) {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.bs-mega-menu {
|
|
25
|
+
display: block;
|
|
26
|
+
--bs-card-bg: var(--bs-mega-menu-bg);
|
|
27
|
+
--bs-card-radius: var(--bs-mega-menu-radius);
|
|
28
|
+
--bs-card-padding: 0px;
|
|
29
|
+
--bs-card-border-width: 1px;
|
|
30
|
+
--bs-card-border-color: var(--bs-mega-menu-border-color);
|
|
31
|
+
--bs-card-shadow: var(--bs-mega-menu-shadow);
|
|
32
|
+
font-family: var(--bs-typography-font-family-body, Roboto), sans-serif;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.bs-mega-menu__columns {
|
|
36
|
+
display: grid;
|
|
37
|
+
grid-template-columns: repeat(var(--bs-mega-menu-tracks), minmax(0, 1fr));
|
|
38
|
+
gap: var(--bs-mega-menu-gap);
|
|
39
|
+
padding: var(--bs-mega-menu-padding);
|
|
40
|
+
padding-bottom: var(--bs-spacing-100);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.bs-mega-menu__heading {
|
|
44
|
+
margin: 0 0 var(--bs-spacing-50);
|
|
45
|
+
color: var(--bs-mega-menu-heading-color);
|
|
46
|
+
font-size: var(--bs-fontsize-caption-sm);
|
|
47
|
+
font-weight: var(--bs-font-weight-semibold);
|
|
48
|
+
line-height: calc(var(--bs-line-height-caption-sm) * 1px);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.bs-mega-menu__list {
|
|
52
|
+
display: block;
|
|
53
|
+
margin: 0;
|
|
54
|
+
padding: 0;
|
|
55
|
+
list-style: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.bs-mega-menu__featured {
|
|
59
|
+
padding-top: var(--bs-spacing-300);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.bs-mega-menu__featured-title,
|
|
63
|
+
.bs-mega-menu__featured-description {
|
|
64
|
+
margin: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.bs-mega-menu__featured-title {
|
|
68
|
+
color: var(--bs-mega-menu-text-color);
|
|
69
|
+
font-size: var(--bs-fontsize-caption-sm);
|
|
70
|
+
font-weight: var(--bs-font-weight-bold);
|
|
71
|
+
line-height: calc(var(--bs-line-height-caption-sm) * 1px);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.bs-mega-menu__featured-description {
|
|
75
|
+
margin-top: var(--bs-spacing-100);
|
|
76
|
+
color: var(--bs-mega-menu-muted-color);
|
|
77
|
+
font-size: var(--bs-fontsize-caption-sm);
|
|
78
|
+
line-height: calc(var(--bs-line-height-caption-sm) * 1px);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.bs-mega-menu__footer {
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: space-between;
|
|
85
|
+
gap: var(--bs-spacing-200);
|
|
86
|
+
padding: var(--bs-spacing-150) var(--bs-spacing-200);
|
|
87
|
+
color: var(--bs-mega-menu-muted-color);
|
|
88
|
+
font-size: var(--bs-fontsize-caption-sm);
|
|
89
|
+
line-height: calc(var(--bs-line-height-caption-sm) * 1px);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.bs-mega-menu__footer-end {
|
|
93
|
+
display: inline-flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
gap: var(--bs-spacing-100);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.bs-mega-menu__shortcut {
|
|
99
|
+
display: inline-flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
gap: var(--bs-spacing-100);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Narrow panel (below 600px, where three columns stop fitting; documentation only -- CSS can't read a custom
|
|
105
|
+
property in a container query): one column, group heading above its links, featured area below, titles and
|
|
106
|
+
descriptions wrap, links are at least 44px tall (--bs-scale-550), the footer stacks and the default shortcut
|
|
107
|
+
hint is removed (a keyboard hint is meaningless on a touch screen; display: none also drops it from the
|
|
108
|
+
accessibility tree). A `footer-end` slot override is the consumer's content and stays. */
|
|
109
|
+
@container (max-width: 599px) {
|
|
110
|
+
.bs-mega-menu__columns {
|
|
111
|
+
grid-template-columns: minmax(0, 1fr);
|
|
112
|
+
padding: var(--bs-spacing-200);
|
|
113
|
+
padding-bottom: var(--bs-spacing-100);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
bs-menu-block {
|
|
117
|
+
--bs-menu-block-white-space: normal;
|
|
118
|
+
min-height: var(--bs-scale-550);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
bs-compact-menu-block {
|
|
122
|
+
--bs-compact-menu-block-padding: var(--bs-spacing-150) var(--bs-spacing-100);
|
|
123
|
+
min-height: var(--bs-scale-550);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.bs-mega-menu__featured {
|
|
127
|
+
padding-top: var(--bs-spacing-100);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.bs-mega-menu__footer {
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
align-items: flex-start;
|
|
133
|
+
gap: var(--bs-spacing-100);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.bs-mega-menu__shortcut {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
let uid = 0;
|
|
3
|
+
/**
|
|
4
|
+
* The dropdown panel under a navigation header tab: columns of links grouped under headings, an optional
|
|
5
|
+
* featured area on the right, and a footer with recently used items and a shortcut hint. Matches the Figma
|
|
6
|
+
* "Mega menu" (types Columns, Column with featured, Compact and Compact with featured).
|
|
7
|
+
*
|
|
8
|
+
* This is the panel only. Put it in `bs-navigation-header`'s `menu` slot, which anchors it under the bar at the
|
|
9
|
+
* header's full width, and toggle the host's `hidden` attribute from the tab that
|
|
10
|
+
* opens it; the panel does not open or close itself. Escape inside the panel fires `bsClose` so you can close it.
|
|
11
|
+
*
|
|
12
|
+
* Built from `bs-card` (panel surface), `bs-menu-block` or `bs-compact-menu-block` (the links), `bs-divider` and
|
|
13
|
+
* `bs-key-caps` (the shortcut). The column layout, headings, featured text and footer row are plain layout
|
|
14
|
+
* markup: no component covers them.
|
|
15
|
+
*
|
|
16
|
+
* ## Responsive
|
|
17
|
+
* The panel reacts to its own width (a container query), not the viewport's. Below 600px it becomes one column (heading
|
|
18
|
+
* above its links, featured area below), titles and descriptions wrap, links are at least 44px tall, the footer stacks
|
|
19
|
+
* and the default shortcut hint is hidden (`display: none`; a keyboard hint means nothing on a touch screen). A custom
|
|
20
|
+
* `footer-end` slot is not hidden.
|
|
21
|
+
*
|
|
22
|
+
* ## When to use
|
|
23
|
+
* - A header tab that leads to many destinations that need grouping (Sell, Finance, Inventory).
|
|
24
|
+
*
|
|
25
|
+
* ## When not to use
|
|
26
|
+
* - A short list of commands -- use `bs-menu` in a `bs-popover`.
|
|
27
|
+
* - Switching app or company -- use `bs-app-switcher` or `bs-company-switcher`.
|
|
28
|
+
*
|
|
29
|
+
* `columns`, `featured` and `recent` are arrays or objects and must be set as JS properties. Each item's `icon` is
|
|
30
|
+
* the URL of a monochrome SVG. You own the data: listen to `bsMenuSelect` (cancelable: `preventDefault()` cancels the
|
|
31
|
+
* originating click).
|
|
32
|
+
*
|
|
33
|
+
* @slot featured - The featured area on the right. Overrides the `featured` prop.
|
|
34
|
+
* @slot footer-start - Left side of the footer. Overrides the recently used line.
|
|
35
|
+
* @slot footer-end - Right side of the footer. Overrides the shortcut hint.
|
|
36
|
+
* @part panel - The panel surface (`bs-card`).
|
|
37
|
+
* @part columns - The grid of columns and the featured area.
|
|
38
|
+
* @part column - One column (group).
|
|
39
|
+
* @part heading - A column heading.
|
|
40
|
+
* @part list - A column's list of links.
|
|
41
|
+
* @part block - A link (`bs-menu-block` or `bs-compact-menu-block`).
|
|
42
|
+
* @part featured - The featured area.
|
|
43
|
+
* @part featured-title - The featured title.
|
|
44
|
+
* @part featured-description - The featured description.
|
|
45
|
+
* @part footer - The footer.
|
|
46
|
+
* @part shortcut - The shortcut hint's key caps (`bs-key-caps`).
|
|
47
|
+
* @prop --bs-mega-menu-width - Panel width. Defaults to `1100px` (Figma); capped at the viewport.
|
|
48
|
+
* @prop --bs-mega-menu-radius - Panel corner radius. Aliased to `--bs-border-radius-150`.
|
|
49
|
+
* @prop --bs-mega-menu-bg - Panel background. Aliased to `--bs-surface-base`.
|
|
50
|
+
* @prop --bs-mega-menu-border-color - Panel border. Aliased to `--bs-border-default`.
|
|
51
|
+
* @prop --bs-mega-menu-shadow - Panel shadow (elevation level 3). Aliased to the `--bs-shadow-*` position and blur tokens and `--bs-elevation-high`.
|
|
52
|
+
* @prop --bs-mega-menu-padding - Padding around the columns. Aliased to `--bs-spacing-300` and `--bs-spacing-350`.
|
|
53
|
+
* @prop --bs-mega-menu-gap - Gap between columns. Aliased to `--bs-spacing-300`.
|
|
54
|
+
* @prop --bs-mega-menu-heading-color - Column headings. Aliased to `--bs-text-muted`.
|
|
55
|
+
* @prop --bs-mega-menu-text-color - Featured title. Aliased to `--bs-text-default`.
|
|
56
|
+
* @prop --bs-mega-menu-muted-color - Featured description and footer text. Aliased to `--bs-text-secondary`.
|
|
57
|
+
*/
|
|
58
|
+
export class BsMegaMenu {
|
|
59
|
+
el;
|
|
60
|
+
id = `bs-mm-${++uid}`;
|
|
61
|
+
/** `columns` shows menu blocks with icon and description; `compact` plain text links. */
|
|
62
|
+
type = 'columns';
|
|
63
|
+
/** The groups of links. JS property only (an array cannot be an attribute). */
|
|
64
|
+
columns = [];
|
|
65
|
+
/** The featured area on the right. JS property only. The `featured` slot overrides it. */
|
|
66
|
+
featured;
|
|
67
|
+
/** Recently used destinations, already translated, shown in the footer. JS property only. */
|
|
68
|
+
recent = [];
|
|
69
|
+
/** Accessible name of the panel. */
|
|
70
|
+
label = 'Menu';
|
|
71
|
+
/** Text before the recently used items. */
|
|
72
|
+
recentLabel = 'Recently used:';
|
|
73
|
+
/** Text before the shortcut keys. */
|
|
74
|
+
shortcutLabel = 'Can’t find it? Press';
|
|
75
|
+
/** The shortcut keys, joined by "+". */
|
|
76
|
+
shortcutKeys = 'Ctrl+K';
|
|
77
|
+
/** Accessible name of the shortcut keys. Defaults to the keys joined with " plus ". */
|
|
78
|
+
shortcutKeysLabel;
|
|
79
|
+
/** Fires when a link is chosen (click or Enter), with the item. Cancelable: `preventDefault()` cancels the originating click. */
|
|
80
|
+
bsMenuSelect;
|
|
81
|
+
/** Fires when Escape is pressed inside the panel, so you can close it. */
|
|
82
|
+
bsClose;
|
|
83
|
+
select(item, ev) {
|
|
84
|
+
const e = this.bsMenuSelect.emit(item);
|
|
85
|
+
if (e.defaultPrevented)
|
|
86
|
+
ev.preventDefault();
|
|
87
|
+
}
|
|
88
|
+
onKeyDown = (ev) => {
|
|
89
|
+
if (ev.key === 'Escape')
|
|
90
|
+
this.bsClose.emit();
|
|
91
|
+
};
|
|
92
|
+
renderItem(item) {
|
|
93
|
+
const onClick = (ev) => this.select(item, ev);
|
|
94
|
+
return (h("li", null, this.type === 'compact' ? (h("bs-compact-menu-block", { part: "block", name: item.label, onClick: onClick })) : (h("bs-menu-block", { part: "block", name: item.label, description: item.description, icon: item.icon, badge: item.badge, onClick: onClick }))));
|
|
95
|
+
}
|
|
96
|
+
renderColumn(col) {
|
|
97
|
+
const hid = `${this.id}-h-${col.id}`;
|
|
98
|
+
return (h("div", { part: "column", class: "bs-mega-menu__column", role: "group", "aria-labelledby": hid }, h("div", { part: "heading", id: hid, class: "bs-mega-menu__heading" }, col.label), h("ul", { part: "list", role: "list", class: "bs-mega-menu__list" }, col.items.map(item => this.renderItem(item)))));
|
|
99
|
+
}
|
|
100
|
+
renderFeatured() {
|
|
101
|
+
const tid = `${this.id}-featured`;
|
|
102
|
+
return (h("div", { part: "featured", class: "bs-mega-menu__featured", role: "group", "aria-labelledby": this.featured ? tid : undefined }, h("slot", { name: "featured" }, this.featured && [
|
|
103
|
+
h("p", { part: "featured-title", id: tid, class: "bs-mega-menu__featured-title" }, this.featured.title),
|
|
104
|
+
this.featured.description && (h("p", { part: "featured-description", class: "bs-mega-menu__featured-description" }, this.featured.description)),
|
|
105
|
+
])));
|
|
106
|
+
}
|
|
107
|
+
render() {
|
|
108
|
+
const hasFeatured = !!this.featured || !!this.el.querySelector(':scope > [slot="featured"]');
|
|
109
|
+
const tracks = this.columns.length + (hasFeatured ? 1 : 0);
|
|
110
|
+
return (h("bs-card", { key: '005653cc6235b7aa26268e3bf97b1a985df89843', part: "panel", class: "bs-mega-menu", surface: "base", role: "navigation", "aria-label": this.label, onKeyDown: this.onKeyDown }, h("div", { key: '22808dd74ea84ae0511dc92e4a3d2d3045a8157c', part: "columns", class: "bs-mega-menu__columns", style: { '--bs-mega-menu-tracks': String(Math.max(tracks, 1)) } }, this.columns.map(col => this.renderColumn(col)), hasFeatured && this.renderFeatured()), h("bs-divider", { key: '105dd2102501c21303f0cd115f2a8797a8996195', decorative: true }), h("div", { key: '0f20d9d01cb29d29735612d2708cb48af2e30bf0', part: "footer", class: "bs-mega-menu__footer" }, h("span", { key: 'e2d7e8bf77b15b735015342ef6a21b946cdcf2cb', class: "bs-mega-menu__footer-start" }, h("slot", { key: '1d34e50c301329ea2bd381a08ffab99b9bce5394', name: "footer-start" }, this.recent.length > 0 && `${this.recentLabel} ${this.recent.join(', ')}`)), h("span", { key: '773eae68920c131c8dea1182a41a78e6ceef4222', class: "bs-mega-menu__footer-end" }, h("slot", { key: '70e2b5dce40e19423b55c1df869d1326f5fdbfa4', name: "footer-end" }, h("span", { key: '10bb8e18aaa162b06209f65f7e9136ff716466f8', class: "bs-mega-menu__shortcut" }, this.shortcutLabel, h("bs-key-caps", { key: 'a9991ceab494255b81fccb97e8290432bcc0cff2', part: "shortcut", keys: this.shortcutKeys, label: this.shortcutKeysLabel })))))));
|
|
111
|
+
}
|
|
112
|
+
static get is() { return "bs-mega-menu"; }
|
|
113
|
+
static get encapsulation() { return "shadow"; }
|
|
114
|
+
static get originalStyleUrls() {
|
|
115
|
+
return {
|
|
116
|
+
"$": ["bs-mega-menu.css"]
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
static get styleUrls() {
|
|
120
|
+
return {
|
|
121
|
+
"$": ["bs-mega-menu.css"]
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
static get properties() {
|
|
125
|
+
return {
|
|
126
|
+
"type": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "BsMegaMenuType",
|
|
131
|
+
"resolved": "\"columns\" | \"compact\"",
|
|
132
|
+
"references": {
|
|
133
|
+
"BsMegaMenuType": {
|
|
134
|
+
"location": "local",
|
|
135
|
+
"path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-mega-menu/bs-mega-menu.tsx",
|
|
136
|
+
"id": "src/components/bs-mega-menu/bs-mega-menu.tsx::BsMegaMenuType"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": false,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [],
|
|
144
|
+
"text": "`columns` shows menu blocks with icon and description; `compact` plain text links."
|
|
145
|
+
},
|
|
146
|
+
"getter": false,
|
|
147
|
+
"setter": false,
|
|
148
|
+
"reflect": true,
|
|
149
|
+
"attribute": "type",
|
|
150
|
+
"defaultValue": "'columns'"
|
|
151
|
+
},
|
|
152
|
+
"columns": {
|
|
153
|
+
"type": "unknown",
|
|
154
|
+
"mutable": false,
|
|
155
|
+
"complexType": {
|
|
156
|
+
"original": "BsMegaMenuColumn[]",
|
|
157
|
+
"resolved": "BsMegaMenuColumn[]",
|
|
158
|
+
"references": {
|
|
159
|
+
"BsMegaMenuColumn": {
|
|
160
|
+
"location": "local",
|
|
161
|
+
"path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-mega-menu/bs-mega-menu.tsx",
|
|
162
|
+
"id": "src/components/bs-mega-menu/bs-mega-menu.tsx::BsMegaMenuColumn"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"optional": false,
|
|
168
|
+
"docs": {
|
|
169
|
+
"tags": [],
|
|
170
|
+
"text": "The groups of links. JS property only (an array cannot be an attribute)."
|
|
171
|
+
},
|
|
172
|
+
"getter": false,
|
|
173
|
+
"setter": false,
|
|
174
|
+
"defaultValue": "[]"
|
|
175
|
+
},
|
|
176
|
+
"featured": {
|
|
177
|
+
"type": "unknown",
|
|
178
|
+
"mutable": false,
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "BsMegaMenuFeatured",
|
|
181
|
+
"resolved": "BsMegaMenuFeatured",
|
|
182
|
+
"references": {
|
|
183
|
+
"BsMegaMenuFeatured": {
|
|
184
|
+
"location": "local",
|
|
185
|
+
"path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-mega-menu/bs-mega-menu.tsx",
|
|
186
|
+
"id": "src/components/bs-mega-menu/bs-mega-menu.tsx::BsMegaMenuFeatured"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"required": false,
|
|
191
|
+
"optional": true,
|
|
192
|
+
"docs": {
|
|
193
|
+
"tags": [],
|
|
194
|
+
"text": "The featured area on the right. JS property only. The `featured` slot overrides it."
|
|
195
|
+
},
|
|
196
|
+
"getter": false,
|
|
197
|
+
"setter": false
|
|
198
|
+
},
|
|
199
|
+
"recent": {
|
|
200
|
+
"type": "unknown",
|
|
201
|
+
"mutable": false,
|
|
202
|
+
"complexType": {
|
|
203
|
+
"original": "string[]",
|
|
204
|
+
"resolved": "string[]",
|
|
205
|
+
"references": {}
|
|
206
|
+
},
|
|
207
|
+
"required": false,
|
|
208
|
+
"optional": false,
|
|
209
|
+
"docs": {
|
|
210
|
+
"tags": [],
|
|
211
|
+
"text": "Recently used destinations, already translated, shown in the footer. JS property only."
|
|
212
|
+
},
|
|
213
|
+
"getter": false,
|
|
214
|
+
"setter": false,
|
|
215
|
+
"defaultValue": "[]"
|
|
216
|
+
},
|
|
217
|
+
"label": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"mutable": false,
|
|
220
|
+
"complexType": {
|
|
221
|
+
"original": "string",
|
|
222
|
+
"resolved": "string",
|
|
223
|
+
"references": {}
|
|
224
|
+
},
|
|
225
|
+
"required": false,
|
|
226
|
+
"optional": false,
|
|
227
|
+
"docs": {
|
|
228
|
+
"tags": [],
|
|
229
|
+
"text": "Accessible name of the panel."
|
|
230
|
+
},
|
|
231
|
+
"getter": false,
|
|
232
|
+
"setter": false,
|
|
233
|
+
"reflect": false,
|
|
234
|
+
"attribute": "label",
|
|
235
|
+
"defaultValue": "'Menu'"
|
|
236
|
+
},
|
|
237
|
+
"recentLabel": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"mutable": false,
|
|
240
|
+
"complexType": {
|
|
241
|
+
"original": "string",
|
|
242
|
+
"resolved": "string",
|
|
243
|
+
"references": {}
|
|
244
|
+
},
|
|
245
|
+
"required": false,
|
|
246
|
+
"optional": false,
|
|
247
|
+
"docs": {
|
|
248
|
+
"tags": [],
|
|
249
|
+
"text": "Text before the recently used items."
|
|
250
|
+
},
|
|
251
|
+
"getter": false,
|
|
252
|
+
"setter": false,
|
|
253
|
+
"reflect": false,
|
|
254
|
+
"attribute": "recent-label",
|
|
255
|
+
"defaultValue": "'Recently used:'"
|
|
256
|
+
},
|
|
257
|
+
"shortcutLabel": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"mutable": false,
|
|
260
|
+
"complexType": {
|
|
261
|
+
"original": "string",
|
|
262
|
+
"resolved": "string",
|
|
263
|
+
"references": {}
|
|
264
|
+
},
|
|
265
|
+
"required": false,
|
|
266
|
+
"optional": false,
|
|
267
|
+
"docs": {
|
|
268
|
+
"tags": [],
|
|
269
|
+
"text": "Text before the shortcut keys."
|
|
270
|
+
},
|
|
271
|
+
"getter": false,
|
|
272
|
+
"setter": false,
|
|
273
|
+
"reflect": false,
|
|
274
|
+
"attribute": "shortcut-label",
|
|
275
|
+
"defaultValue": "'Can\u2019t find it? Press'"
|
|
276
|
+
},
|
|
277
|
+
"shortcutKeys": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"mutable": false,
|
|
280
|
+
"complexType": {
|
|
281
|
+
"original": "string",
|
|
282
|
+
"resolved": "string",
|
|
283
|
+
"references": {}
|
|
284
|
+
},
|
|
285
|
+
"required": false,
|
|
286
|
+
"optional": false,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [],
|
|
289
|
+
"text": "The shortcut keys, joined by \"+\"."
|
|
290
|
+
},
|
|
291
|
+
"getter": false,
|
|
292
|
+
"setter": false,
|
|
293
|
+
"reflect": false,
|
|
294
|
+
"attribute": "shortcut-keys",
|
|
295
|
+
"defaultValue": "'Ctrl+K'"
|
|
296
|
+
},
|
|
297
|
+
"shortcutKeysLabel": {
|
|
298
|
+
"type": "string",
|
|
299
|
+
"mutable": false,
|
|
300
|
+
"complexType": {
|
|
301
|
+
"original": "string",
|
|
302
|
+
"resolved": "string",
|
|
303
|
+
"references": {}
|
|
304
|
+
},
|
|
305
|
+
"required": false,
|
|
306
|
+
"optional": true,
|
|
307
|
+
"docs": {
|
|
308
|
+
"tags": [],
|
|
309
|
+
"text": "Accessible name of the shortcut keys. Defaults to the keys joined with \" plus \"."
|
|
310
|
+
},
|
|
311
|
+
"getter": false,
|
|
312
|
+
"setter": false,
|
|
313
|
+
"reflect": false,
|
|
314
|
+
"attribute": "shortcut-keys-label"
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
static get events() {
|
|
319
|
+
return [{
|
|
320
|
+
"method": "bsMenuSelect",
|
|
321
|
+
"name": "bsMenuSelect",
|
|
322
|
+
"bubbles": true,
|
|
323
|
+
"cancelable": true,
|
|
324
|
+
"composed": true,
|
|
325
|
+
"docs": {
|
|
326
|
+
"tags": [],
|
|
327
|
+
"text": "Fires when a link is chosen (click or Enter), with the item. Cancelable: `preventDefault()` cancels the originating click."
|
|
328
|
+
},
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "BsMegaMenuItem",
|
|
331
|
+
"resolved": "BsMegaMenuItem",
|
|
332
|
+
"references": {
|
|
333
|
+
"BsMegaMenuItem": {
|
|
334
|
+
"location": "local",
|
|
335
|
+
"path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-mega-menu/bs-mega-menu.tsx",
|
|
336
|
+
"id": "src/components/bs-mega-menu/bs-mega-menu.tsx::BsMegaMenuItem"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}, {
|
|
341
|
+
"method": "bsClose",
|
|
342
|
+
"name": "bsClose",
|
|
343
|
+
"bubbles": true,
|
|
344
|
+
"cancelable": true,
|
|
345
|
+
"composed": true,
|
|
346
|
+
"docs": {
|
|
347
|
+
"tags": [],
|
|
348
|
+
"text": "Fires when Escape is pressed inside the panel, so you can close it."
|
|
349
|
+
},
|
|
350
|
+
"complexType": {
|
|
351
|
+
"original": "void",
|
|
352
|
+
"resolved": "void",
|
|
353
|
+
"references": {}
|
|
354
|
+
}
|
|
355
|
+
}];
|
|
356
|
+
}
|
|
357
|
+
static get elementRef() { return "el"; }
|
|
358
|
+
}
|