@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,326 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BYfMRtlW.js');
|
|
4
|
+
|
|
5
|
+
const bsGlobalSearchCss = () => `:host{display:block;position:relative;box-sizing:border-box;width:var(--bs-global-search-width);max-width:100%;--bs-global-search-width:480px;--bs-global-search-panel-radius:var(--bs-border-radius-100);--bs-global-search-panel-padding:var(--bs-spacing-100);--bs-global-search-gap:var(--bs-spacing-100);--bs-global-search-panel-bg:var(--bs-surface-base);--bs-global-search-shadow:0 var(--bs-shadow-position-50) var(--bs-shadow-blur-100) 0 var(--bs-elevation-high);--bs-global-search-z-index:var(--bs-z-index-dropdown);--bs-global-search-divider-color:var(--bs-border-default);--bs-global-search-header-border-color:var(--bs-border-neutral-container);--bs-global-search-header-color:var(--bs-text-muted);--bs-global-search-hint-color:var(--bs-text-secondary)}.bs-global-search{position:relative}.bs-global-search__field bs-input{width:100%}.bs-global-search__panel{position:absolute;top:calc(100% + var(--bs-global-search-gap));left:0;right:0;z-index:var(--bs-global-search-z-index);box-sizing:border-box;display:flex;flex-direction:column;gap:var(--bs-global-search-gap);padding:var(--bs-global-search-panel-padding);overflow:clip;border-radius:var(--bs-global-search-panel-radius);background:var(--bs-global-search-panel-bg);box-shadow:var(--bs-global-search-shadow)}.bs-global-search__list{display:flex;flex-direction:column;gap:var(--bs-global-search-gap)}.bs-global-search__section{display:flex;flex-direction:column}.bs-global-search__section-header{padding:var(--bs-spacing-150) var(--bs-spacing-150) var(--bs-spacing-100);border-bottom:1px solid var(--bs-global-search-header-border-color);color:var(--bs-global-search-header-color);font-size:var(--bs-font-size-sm);font-weight:var(--bs-font-weight-medium);line-height:20px}.bs-global-search__footer{display:flex;align-items:center;gap:var(--bs-spacing-200);padding:var(--bs-spacing-100) var(--bs-spacing-100) var(--bs-spacing-50);border-top:1px solid var(--bs-global-search-divider-color)}.bs-global-search__hint{display:inline-flex;align-items:center;gap:var(--bs-spacing-50);color:var(--bs-global-search-hint-color);font-size:var(--bs-font-size-sm);line-height:20px;white-space:nowrap}.bs-global-search__spacer{flex:1 1 0}.bs-global-search__action{display:flex;align-items:center;min-height:44px;cursor:pointer}.bs-global-search__text-button{--bs-button-height-sm:32px;--bs-button-padding-x-sm:var(--bs-spacing-150);--bs-button-radius:var(--bs-border-radius-100);--bs-button-subtle-color:var(--bs-text-default)}.bs-global-search__live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}`;
|
|
6
|
+
|
|
7
|
+
/** Sections shown per status, in display (and keyboard) order. */
|
|
8
|
+
const SECTIONS = {
|
|
9
|
+
default: ['recent', 'jump-to'],
|
|
10
|
+
results: ['top-matches', 'search-in'],
|
|
11
|
+
empty: [],
|
|
12
|
+
error: [],
|
|
13
|
+
};
|
|
14
|
+
const ALL_SECTIONS = ['recent', 'jump-to', 'top-matches', 'search-in'];
|
|
15
|
+
let uid = 0;
|
|
16
|
+
const svgProps = {
|
|
17
|
+
viewBox: '0 0 24 24',
|
|
18
|
+
fill: 'none',
|
|
19
|
+
stroke: 'currentColor',
|
|
20
|
+
'stroke-width': '1.8',
|
|
21
|
+
'stroke-linecap': 'round',
|
|
22
|
+
'stroke-linejoin': 'round',
|
|
23
|
+
'aria-hidden': 'true',
|
|
24
|
+
};
|
|
25
|
+
const BsGlobalSearch = class {
|
|
26
|
+
constructor(hostRef) {
|
|
27
|
+
index.registerInstance(this, hostRef);
|
|
28
|
+
this.bsInput = index.createEvent(this, "bsInput");
|
|
29
|
+
this.bsSearch = index.createEvent(this, "bsSearch");
|
|
30
|
+
this.bsSelect = index.createEvent(this, "bsSelect");
|
|
31
|
+
this.bsOpenChange = index.createEvent(this, "bsOpenChange");
|
|
32
|
+
this.bsClearRecent = index.createEvent(this, "bsClearRecent");
|
|
33
|
+
this.bsClearSearch = index.createEvent(this, "bsClearSearch");
|
|
34
|
+
this.bsSeeAll = index.createEvent(this, "bsSeeAll");
|
|
35
|
+
this.bsRetry = index.createEvent(this, "bsRetry");
|
|
36
|
+
}
|
|
37
|
+
get el() { return index.getElement(this); }
|
|
38
|
+
id = `bs-gs-${++uid}`;
|
|
39
|
+
itemSeq = 0;
|
|
40
|
+
observer;
|
|
41
|
+
inputEl;
|
|
42
|
+
/** The query. Two-way with the field. */
|
|
43
|
+
value = '';
|
|
44
|
+
/** Placeholder of the field (also its accessible name unless `label` is set). */
|
|
45
|
+
placeholder = 'Search customers, orders, products…';
|
|
46
|
+
/** Accessible name of the search field. Falls back to the placeholder. `bs-input` has no aria-label prop, so this names the combobox wrapper. */
|
|
47
|
+
label;
|
|
48
|
+
/** Disables the field; the panel cannot open. */
|
|
49
|
+
disabled = false;
|
|
50
|
+
/** Whether the dropdown panel is open. Opens on focus, click and typing; closes on Escape, outside click and selection. */
|
|
51
|
+
open = false;
|
|
52
|
+
/** Which view the panel shows. You choose it; nothing is inferred from `value`. */
|
|
53
|
+
status = 'default';
|
|
54
|
+
/** Total number of results (status `results`): shown as "See all {n} results" and announced to screen readers. */
|
|
55
|
+
totalResults;
|
|
56
|
+
/** Shows the footer (hints and the Clear recent / See all button) for the `default` and `results` views. */
|
|
57
|
+
showFooter = true;
|
|
58
|
+
/** Accessible name of the suggestions listbox. */
|
|
59
|
+
listLabel = 'Search suggestions';
|
|
60
|
+
/** Header of the `recent` section. */
|
|
61
|
+
recentLabel = 'Recent searches';
|
|
62
|
+
/** Header of the `jump-to` section. */
|
|
63
|
+
jumpToLabel = 'Jump to';
|
|
64
|
+
/** Header of the `top-matches` section. */
|
|
65
|
+
topMatchesLabel = 'Top matches';
|
|
66
|
+
/** Header of the `search-in` section. */
|
|
67
|
+
searchInLabel = 'Search in';
|
|
68
|
+
/** Footer hint text after the arrow keys. */
|
|
69
|
+
navigateLabel = 'Navigate';
|
|
70
|
+
/** Footer hint text after the Enter key (default view). */
|
|
71
|
+
searchLabel = 'Search';
|
|
72
|
+
/** Footer hint text after the Esc key. */
|
|
73
|
+
closeLabel = 'Close';
|
|
74
|
+
/** Footer hint text after the Enter key (results view). */
|
|
75
|
+
fullResultsLabel = 'Full results';
|
|
76
|
+
/** Text of the footer button that clears recent searches. */
|
|
77
|
+
clearRecentLabel = 'Clear recent';
|
|
78
|
+
/** Text of the footer button of the results view, when `totalResults` is not set. */
|
|
79
|
+
seeAllLabel = 'See all results';
|
|
80
|
+
/** Heading of the built-in empty state. */
|
|
81
|
+
emptyHeading = 'No results';
|
|
82
|
+
/** Description of the built-in empty state. */
|
|
83
|
+
emptyDescription = 'Try a different search.';
|
|
84
|
+
/** Text of the empty state's action. */
|
|
85
|
+
clearSearchLabel = 'Clear search';
|
|
86
|
+
/** Heading of the built-in error state. */
|
|
87
|
+
errorHeading = 'Search isn’t available right now';
|
|
88
|
+
/** Description of the built-in error state. */
|
|
89
|
+
errorDescription = 'We couldn’t reach the server. Your query is kept — try again in a moment.';
|
|
90
|
+
/** Text of the error state's action. */
|
|
91
|
+
retryLabel = 'Try again';
|
|
92
|
+
/** Which sections currently have content in their slot. */
|
|
93
|
+
filled = { recent: false, 'jump-to': false, 'top-matches': false, 'search-in': false };
|
|
94
|
+
/** Id of the highlighted item. */
|
|
95
|
+
activeId = null;
|
|
96
|
+
/** Fires on every keystroke with the query. The component filters nothing itself. */
|
|
97
|
+
bsInput;
|
|
98
|
+
/** Fires on Enter with no highlighted item, with the query. */
|
|
99
|
+
bsSearch;
|
|
100
|
+
/** Fires when an item is chosen (click or Enter), with its `value` and section (slot name). */
|
|
101
|
+
bsSelect;
|
|
102
|
+
/** Fires when the panel opens or closes through user interaction, with the new state. */
|
|
103
|
+
bsOpenChange;
|
|
104
|
+
/** Fires when "Clear recent" is pressed. */
|
|
105
|
+
bsClearRecent;
|
|
106
|
+
/** Fires when the empty state's "Clear search" is pressed; the value is also cleared. */
|
|
107
|
+
bsClearSearch;
|
|
108
|
+
/** Fires when "See all results" is pressed. */
|
|
109
|
+
bsSeeAll;
|
|
110
|
+
/** Fires when the error state's "Try again" is pressed. */
|
|
111
|
+
bsRetry;
|
|
112
|
+
resetActive() {
|
|
113
|
+
this.activeId = null;
|
|
114
|
+
}
|
|
115
|
+
componentWillLoad() {
|
|
116
|
+
this.readFilled();
|
|
117
|
+
this.prepareItems();
|
|
118
|
+
}
|
|
119
|
+
connectedCallback() {
|
|
120
|
+
document.addEventListener('pointerdown', this.onDocPointerDown, true);
|
|
121
|
+
this.observer = new MutationObserver(() => {
|
|
122
|
+
this.readFilled();
|
|
123
|
+
this.prepareItems();
|
|
124
|
+
this.paintActive();
|
|
125
|
+
});
|
|
126
|
+
this.observer.observe(this.el, { childList: true });
|
|
127
|
+
}
|
|
128
|
+
disconnectedCallback() {
|
|
129
|
+
document.removeEventListener('pointerdown', this.onDocPointerDown, true);
|
|
130
|
+
this.observer?.disconnect();
|
|
131
|
+
}
|
|
132
|
+
componentDidRender() {
|
|
133
|
+
this.prepareItems();
|
|
134
|
+
this.paintActive();
|
|
135
|
+
}
|
|
136
|
+
allItems() {
|
|
137
|
+
return Array.from(this.el.children).filter(c => c.tagName === 'BS-SEARCH-ITEM' && ALL_SECTIONS.includes(c.getAttribute('slot')));
|
|
138
|
+
}
|
|
139
|
+
/** Visible items, section by section (display order), then DOM order within a section. */
|
|
140
|
+
visibleItems() {
|
|
141
|
+
if (!this.open)
|
|
142
|
+
return [];
|
|
143
|
+
const items = this.allItems();
|
|
144
|
+
return (SECTIONS[this.status] ?? []).flatMap(s => items.filter(i => i.getAttribute('slot') === s));
|
|
145
|
+
}
|
|
146
|
+
enabledItems() {
|
|
147
|
+
return this.visibleItems().filter(i => !i.disabled);
|
|
148
|
+
}
|
|
149
|
+
readFilled() {
|
|
150
|
+
const next = { ...this.filled };
|
|
151
|
+
let changed = false;
|
|
152
|
+
for (const s of ALL_SECTIONS) {
|
|
153
|
+
const has = Array.from(this.el.children).some(c => c.getAttribute('slot') === s);
|
|
154
|
+
if (next[s] !== has) {
|
|
155
|
+
next[s] = has;
|
|
156
|
+
changed = true;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
if (changed)
|
|
160
|
+
this.filled = next;
|
|
161
|
+
}
|
|
162
|
+
/** Gives every item the option role and a stable id, like `bs-list` does for its rows. */
|
|
163
|
+
prepareItems() {
|
|
164
|
+
for (const item of this.allItems()) {
|
|
165
|
+
if (item.selectionRole !== 'option')
|
|
166
|
+
item.selectionRole = 'option';
|
|
167
|
+
if (!item.id)
|
|
168
|
+
item.id = `${this.id}-opt-${++this.itemSeq}`;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
paintActive() {
|
|
172
|
+
for (const item of this.allItems()) {
|
|
173
|
+
const on = !!this.activeId && item.id === this.activeId;
|
|
174
|
+
if (item.active !== on)
|
|
175
|
+
item.active = on;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
setOpen(next) {
|
|
179
|
+
if (next && this.disabled)
|
|
180
|
+
return;
|
|
181
|
+
if (this.open === next)
|
|
182
|
+
return;
|
|
183
|
+
this.open = next;
|
|
184
|
+
this.bsOpenChange.emit(next);
|
|
185
|
+
}
|
|
186
|
+
setActive(item) {
|
|
187
|
+
this.activeId = item ? item.id : null;
|
|
188
|
+
this.paintActive();
|
|
189
|
+
item?.scrollIntoView?.({ block: 'nearest' });
|
|
190
|
+
}
|
|
191
|
+
onDocPointerDown = (ev) => {
|
|
192
|
+
if (!this.open)
|
|
193
|
+
return;
|
|
194
|
+
if (!ev.composedPath().includes(this.el))
|
|
195
|
+
this.setOpen(false);
|
|
196
|
+
};
|
|
197
|
+
onInput = (ev) => {
|
|
198
|
+
// The inner bs-input's own bsInput would bubble out of this host too; ours replaces it.
|
|
199
|
+
ev.stopPropagation();
|
|
200
|
+
this.value = ev.detail;
|
|
201
|
+
this.activeId = null;
|
|
202
|
+
this.bsInput.emit(ev.detail);
|
|
203
|
+
this.setOpen(true);
|
|
204
|
+
};
|
|
205
|
+
onKeyDown = (ev) => {
|
|
206
|
+
switch (ev.key) {
|
|
207
|
+
case 'ArrowDown':
|
|
208
|
+
case 'ArrowUp': {
|
|
209
|
+
ev.preventDefault();
|
|
210
|
+
if (!this.open) {
|
|
211
|
+
this.setOpen(true);
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
const items = this.enabledItems();
|
|
215
|
+
if (!items.length)
|
|
216
|
+
return;
|
|
217
|
+
const idx = items.findIndex(i => i.id === this.activeId);
|
|
218
|
+
const down = ev.key === 'ArrowDown';
|
|
219
|
+
const next = down ? (idx + 1) % items.length : idx <= 0 ? items.length - 1 : idx - 1;
|
|
220
|
+
this.setActive(items[next]);
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
case 'Enter': {
|
|
224
|
+
const active = this.open ? this.enabledItems().find(i => i.id === this.activeId) : undefined;
|
|
225
|
+
if (active) {
|
|
226
|
+
ev.preventDefault();
|
|
227
|
+
active.click();
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
this.bsSearch.emit(this.value);
|
|
231
|
+
this.setOpen(false);
|
|
232
|
+
}
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
case 'Escape':
|
|
236
|
+
if (this.open) {
|
|
237
|
+
// Native search fields clear themselves on Escape; the first Escape only closes.
|
|
238
|
+
ev.preventDefault();
|
|
239
|
+
ev.stopPropagation();
|
|
240
|
+
this.setOpen(false);
|
|
241
|
+
}
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
onItemSelect(ev) {
|
|
246
|
+
const item = ev.target;
|
|
247
|
+
if (!item || item.tagName !== 'BS-SEARCH-ITEM')
|
|
248
|
+
return;
|
|
249
|
+
ev.stopPropagation();
|
|
250
|
+
this.bsSelect.emit({ value: ev.detail, section: item.getAttribute('slot') ?? '' });
|
|
251
|
+
this.setOpen(false);
|
|
252
|
+
}
|
|
253
|
+
onPanelMouseOver = (ev) => {
|
|
254
|
+
const item = ev.composedPath().find(n => n.tagName === 'BS-SEARCH-ITEM');
|
|
255
|
+
if (item && !item.disabled && item.id !== this.activeId)
|
|
256
|
+
this.setActive(item);
|
|
257
|
+
};
|
|
258
|
+
clearSearch = () => {
|
|
259
|
+
this.value = '';
|
|
260
|
+
this.bsClearSearch.emit();
|
|
261
|
+
this.inputEl?.focus();
|
|
262
|
+
};
|
|
263
|
+
sectionLabel(s) {
|
|
264
|
+
return { recent: this.recentLabel, 'jump-to': this.jumpToLabel, 'top-matches': this.topMatchesLabel, 'search-in': this.searchInLabel }[s];
|
|
265
|
+
}
|
|
266
|
+
renderHint(keys, label) {
|
|
267
|
+
return (index.h("span", { part: "hint", class: "bs-global-search__hint" }, keys, index.h("span", { class: "bs-global-search__hint-text" }, label)));
|
|
268
|
+
}
|
|
269
|
+
renderFooter() {
|
|
270
|
+
const hasTotal = typeof this.totalResults === 'number';
|
|
271
|
+
const enter = (index.h("bs-key", null, index.h("svg", { slot: "icon", ...svgProps }, index.h("path", { d: "M9 14 4 9l5-5" }), index.h("path", { d: "M4 9h10.5a5.5 5.5 0 0 1 0 11H11" }))));
|
|
272
|
+
if (this.status === 'results') {
|
|
273
|
+
return (index.h("div", { part: "footer", class: "bs-global-search__footer" }, index.h("div", { part: "see-all", class: "bs-global-search__action", onClick: this.onActionWrapperClick(() => this.seeAll()) }, index.h("bs-button", { class: "bs-global-search__text-button", variant: "subtle", size: "sm", onClick: () => this.seeAll() }, hasTotal ? `See all ${this.totalResults} results` : this.seeAllLabel)), index.h("span", { class: "bs-global-search__spacer" }), this.renderHint([enter], this.fullResultsLabel)));
|
|
274
|
+
}
|
|
275
|
+
return (index.h("div", { part: "footer", class: "bs-global-search__footer" }, this.renderHint([
|
|
276
|
+
index.h("bs-key", null, index.h("svg", { slot: "icon", ...svgProps }, index.h("path", { d: "M12 19V5M5 12l7-7 7 7" }))),
|
|
277
|
+
index.h("bs-key", null, index.h("svg", { slot: "icon", ...svgProps }, index.h("path", { d: "M12 5v14M5 12l7 7 7-7" }))),
|
|
278
|
+
], this.navigateLabel), this.renderHint([enter], this.searchLabel), this.renderHint([index.h("bs-key", { label: "Esc" })], this.closeLabel), index.h("span", { class: "bs-global-search__spacer" }), this.filled.recent && (index.h("div", { part: "clear-recent", class: "bs-global-search__action", onClick: this.onActionWrapperClick(() => this.bsClearRecent.emit()) }, index.h("bs-button", { class: "bs-global-search__text-button", variant: "subtle", size: "sm", onClick: () => this.bsClearRecent.emit() }, this.clearRecentLabel)))));
|
|
279
|
+
}
|
|
280
|
+
seeAll() {
|
|
281
|
+
this.bsSeeAll.emit();
|
|
282
|
+
this.setOpen(false);
|
|
283
|
+
}
|
|
284
|
+
/** Makes the whole 44px wrapper clickable while the button itself is 32px high. */
|
|
285
|
+
onActionWrapperClick = (fn) => (ev) => {
|
|
286
|
+
if (ev.target === ev.currentTarget)
|
|
287
|
+
fn();
|
|
288
|
+
};
|
|
289
|
+
renderStateBlock(kind) {
|
|
290
|
+
const isEmpty = kind === 'empty';
|
|
291
|
+
return (index.h("slot", { name: kind }, index.h("bs-empty-state", { part: "empty", intent: isEmpty ? 'default' : 'error', heading: isEmpty ? this.emptyHeading : this.errorHeading, description: isEmpty ? this.emptyDescription : this.errorDescription }, isEmpty ? (index.h("svg", { slot: "icon", ...svgProps }, index.h("circle", { cx: "11", cy: "11", r: "7" }), index.h("path", { d: "m20 20-3.5-3.5" }))) : (index.h("svg", { slot: "icon", ...svgProps }, index.h("circle", { cx: "12", cy: "12", r: "9" }), index.h("path", { d: "M12 7.5v5M12 16.2v.1" }))), index.h("bs-button", { slot: "action", variant: "outlined", onClick: () => (isEmpty ? this.clearSearch() : this.bsRetry.emit()) }, isEmpty ? this.clearSearchLabel : this.retryLabel))));
|
|
292
|
+
}
|
|
293
|
+
announcement() {
|
|
294
|
+
if (!this.open)
|
|
295
|
+
return '';
|
|
296
|
+
if (this.status === 'results')
|
|
297
|
+
return typeof this.totalResults === 'number' ? `${this.totalResults} results` : '';
|
|
298
|
+
if (this.status === 'empty')
|
|
299
|
+
return this.emptyHeading;
|
|
300
|
+
if (this.status === 'error')
|
|
301
|
+
return this.errorHeading;
|
|
302
|
+
return '';
|
|
303
|
+
}
|
|
304
|
+
render() {
|
|
305
|
+
const sections = (SECTIONS[this.status] ?? []).filter(s => this.filled[s]);
|
|
306
|
+
const showList = sections.length > 0;
|
|
307
|
+
const listId = `${this.id}-listbox`;
|
|
308
|
+
const isList = this.status === 'default' || this.status === 'results';
|
|
309
|
+
const showFooter = this.showFooter && isList;
|
|
310
|
+
return (index.h("div", { key: '48912c3c2e6fdfefa05d234fa037e4b47e36cbd9', class: "bs-global-search" }, index.h("div", { key: 'aeb8a5d41463b5df24502aecb85290f2535184d6', part: "field", class: "bs-global-search__field", role: "combobox", "aria-label": this.label || this.placeholder, "aria-expanded": String(this.open && showList), "aria-haspopup": "listbox", "aria-controls": this.open && showList ? listId : undefined, "aria-activedescendant": this.open && this.activeId ? this.activeId : undefined, onKeyDown: this.onKeyDown, onFocusin: () => this.setOpen(true), onClick: () => this.setOpen(true) }, index.h("bs-input", { key: '0aec5505a09ca9fa08e152983b17e3a35619e5ce', ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, disabled: this.disabled, onBsInput: this.onInput })), this.open && (index.h("div", { key: 'c9b1589c7602b0522a5a33d895e50e2f57ae7e66', part: "panel", class: "bs-global-search__panel", onMouseDown: (ev) => ev.preventDefault(), onMouseOver: this.onPanelMouseOver }, isList && showList && (index.h("div", { key: 'aa49f77c49ea3aa5337a01aa8cf2e760ac8f6125', id: listId, class: "bs-global-search__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => {
|
|
311
|
+
const hid = `${this.id}-h-${s}`;
|
|
312
|
+
return (index.h("div", { part: "section", class: "bs-global-search__section", role: "group", "aria-labelledby": hid }, index.h("div", { part: "section-header", id: hid, class: "bs-global-search__section-header" }, this.sectionLabel(s)), index.h("slot", { name: s })));
|
|
313
|
+
}))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), index.h("span", { key: '591953d910a7986705dde045c325c3043df1387b', class: "bs-global-search__live", "aria-live": "polite" }, this.announcement())));
|
|
314
|
+
}
|
|
315
|
+
static get watchers() { return {
|
|
316
|
+
"status": [{
|
|
317
|
+
"resetActive": 0
|
|
318
|
+
}],
|
|
319
|
+
"open": [{
|
|
320
|
+
"resetActive": 0
|
|
321
|
+
}]
|
|
322
|
+
}; }
|
|
323
|
+
};
|
|
324
|
+
BsGlobalSearch.style = bsGlobalSearchCss();
|
|
325
|
+
|
|
326
|
+
exports.bs_global_search = BsGlobalSearch;
|
|
@@ -42,12 +42,12 @@ const BsGrid = class {
|
|
|
42
42
|
const row = this.rowGap ? this.token(this.rowGap) : gapValue;
|
|
43
43
|
const col = this.columnGap ? this.token(this.columnGap) : gapValue;
|
|
44
44
|
const align = ALIGNS.includes(this.align) ? this.align : 'stretch';
|
|
45
|
-
return (index.h("div", { key: '
|
|
45
|
+
return (index.h("div", { key: 'd504eaf0d6db8c106094f3efb60600b65774ea4d', class: "bs-grid", part: "container", style: {
|
|
46
46
|
gridTemplateColumns: this.template(),
|
|
47
47
|
rowGap: `var(--bs-grid-row-gap, ${row})`,
|
|
48
48
|
columnGap: `var(--bs-grid-column-gap, ${col})`,
|
|
49
49
|
alignItems: align,
|
|
50
|
-
} }, index.h("slot", { key: '
|
|
50
|
+
} }, index.h("slot", { key: 'd127b6a767777b1d2cc3fe981e1846e5a8726a60' })));
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
BsGrid.style = bsGridCss();
|
|
@@ -39,6 +39,13 @@ const BsIconButton = class {
|
|
|
39
39
|
* prop to the `aria-label` HTML attribute automatically.
|
|
40
40
|
*/
|
|
41
41
|
ariaLabel = null;
|
|
42
|
+
/**
|
|
43
|
+
* Makes this a toggle button: sets `aria-pressed` on the inner `<button>` to `true`/`false`. Leave it
|
|
44
|
+
* unset (the default) for a plain action button, which then has no `aria-pressed` at all. The component
|
|
45
|
+
* does not toggle itself; the owner flips this on click. Put the toggle's state in the icon (e.g. a filled
|
|
46
|
+
* star), not in the label, which should stay the same.
|
|
47
|
+
*/
|
|
48
|
+
pressed;
|
|
42
49
|
onClick = () => {
|
|
43
50
|
const form = this.internals?.form;
|
|
44
51
|
if (!form || this.disabled)
|
|
@@ -49,7 +56,7 @@ const BsIconButton = class {
|
|
|
49
56
|
form.reset();
|
|
50
57
|
};
|
|
51
58
|
render() {
|
|
52
|
-
return (index.h("button", { key: '
|
|
59
|
+
return (index.h("button", { key: 'e04c7785712f0f9a2bfaa0efd51712d7c6ca805e', class: `bs-icon-button bs-icon-button--${this.variant} bs-icon-button--${this.size}`, type: this.type, disabled: this.disabled, "aria-label": this.ariaLabel, "aria-pressed": this.pressed === undefined ? undefined : String(this.pressed), onClick: this.onClick }, index.h("span", { key: '2b9cfb3af8b3914ee88a3244c3d1f102cbae7082', part: "icon", class: "bs-icon-button__icon" }, index.h("slot", { key: 'b561552aece8e0f8ae83dd6619295e5c9477aa89' }))));
|
|
53
60
|
}
|
|
54
61
|
static get delegatesFocus() { return true; }
|
|
55
62
|
static get formAssociated() { return true; }
|
|
@@ -8,6 +8,7 @@ const BsIconTile = class {
|
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
|
+
get el() { return index.getElement(this); }
|
|
11
12
|
/** Tile size: `sm` 24px, `md` 32px, `lg` 48px. */
|
|
12
13
|
size = 'sm';
|
|
13
14
|
/** Colour and default glyph. `brand` uses the brand colours; `information` the info palette. */
|
|
@@ -19,11 +20,18 @@ const BsIconTile = class {
|
|
|
19
20
|
hasCustomIcon = false;
|
|
20
21
|
/** True while something is assigned to the `text` slot, so the text wrapper (and its gap) only exists then. */
|
|
21
22
|
hasText = false;
|
|
23
|
+
/** `slotchange` alone is not enough: when the icon is already a child at first render (or is added in the same
|
|
24
|
+
* pass that upgrades this element) the event can fire before the handler is attached, leaving the default
|
|
25
|
+
* glyph drawn next to the slotted icon. Read the light DOM once up front. */
|
|
26
|
+
componentWillLoad() {
|
|
27
|
+
this.hasCustomIcon = Array.from(this.el.childNodes).some(n => (n.nodeType === Node.ELEMENT_NODE && !n.hasAttribute('slot')) || (n.nodeType === Node.TEXT_NODE && !!n.textContent?.trim()));
|
|
28
|
+
this.hasText = Array.from(this.el.children).some(c => c.getAttribute('slot') === 'text');
|
|
29
|
+
}
|
|
22
30
|
render() {
|
|
23
31
|
const labelled = !!this.label;
|
|
24
32
|
return [
|
|
25
|
-
index.h("div", { key: '
|
|
26
|
-
index.h("span", { key: '
|
|
33
|
+
index.h("div", { key: 'ea92c7e93e3283dccf7feb0afcc87947eb9f3087', part: "container", class: "bs-icon-tile", role: labelled ? 'img' : undefined, "aria-label": labelled ? this.label : undefined, "aria-hidden": labelled ? undefined : 'true' }, index.h("span", { key: '50ba78a85b831869ea60882b89739cc0ef36a6b4', part: "icon", class: "bs-icon-tile__icon" }, index.h("slot", { key: 'ab395f4bfc9a40be9ac74f05ebf227a241cdfca8', onSlotchange: (ev) => (this.hasCustomIcon = hasContent(ev.target)) }), !this.hasCustomIcon && (GLYPHS[this.intent] ?? GLYPHS.default))),
|
|
34
|
+
index.h("span", { key: '07ad1aa22ba646f82b8eb2782ddda0c816dc47a5', part: "text", class: { 'bs-icon-tile__text': true, 'bs-icon-tile__text--visible': this.hasText } }, index.h("slot", { key: 'f4209dee495bf82b95c95fcd754bdf8305d5b02f', name: "text", onSlotchange: (ev) => (this.hasText = ev.target.assignedNodes().length > 0) })),
|
|
27
35
|
];
|
|
28
36
|
}
|
|
29
37
|
};
|
|
@@ -69,7 +69,7 @@ const BsInlineTab = class {
|
|
|
69
69
|
};
|
|
70
70
|
render() {
|
|
71
71
|
const iconOnly = this.hasIcon && !this.hasLabel;
|
|
72
|
-
return (index.h("button", { key: '
|
|
72
|
+
return (index.h("button", { key: '593a07fb914f26cb831c92319993fcd161ee7f0d', type: "button", part: "tab", role: "tab", class: `bs-inline-tab ${this.selected ? 'bs-inline-tab--selected' : ''} ${this.disabled ? 'bs-inline-tab--disabled' : ''} ${iconOnly ? 'bs-inline-tab--icon-only' : ''} ${this.hasIcon ? 'bs-inline-tab--has-icon' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, index.h("span", { key: '42a07b0dfd4cd676f25616f8693ddfa75c55e6fe', part: "icon", class: `bs-inline-tab__icon ${this.hasIcon ? 'bs-inline-tab__icon--has-content' : ''}` }, index.h("slot", { key: 'da847d9052ac9cbec891de26f4550b706107aff1', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: '85e3dfb8f6c266c1b225b9814194c8eed6d97edd', part: "label", class: `bs-inline-tab__label ${this.hasLabel ? 'bs-inline-tab__label--has-content' : ''}` }, index.h("slot", { key: 'f99da4b89292a8399f1d615bd01a1dec7913abdb', onSlotchange: this.onLabelSlotchange }))));
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
BsInlineTab.style = bsInlineTabCss();
|
|
@@ -368,10 +368,10 @@ const BsInput = class {
|
|
|
368
368
|
return (index.h("div", { part: "field", class: `bs-input__field bs-input__field--pin ${errorClass} ${disabledClass}` }, Array.from({ length: this.length }).map((_, i) => (index.h("input", { id: i === 0 ? 'control' : undefined, ref: el => (this.pinInputs[i] = el), part: "control", class: "bs-input__pin-cell", type: "text", inputMode: "numeric", maxLength: 1, value: this.value[i] ?? '', disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, onInput: this.onPinInput(i), onKeyDown: this.onPinKeydown(i) })))));
|
|
369
369
|
}
|
|
370
370
|
render() {
|
|
371
|
-
return (index.h("div", { key: '
|
|
371
|
+
return (index.h("div", { key: '3c0ea65d5b8852b14e1295d6a6a33aef95d02d01', class: `bs-input ${this.error ? 'bs-input--error' : ''}` }, this.label && (
|
|
372
372
|
// "control" is a fixed id, not a generated one -- safe because Shadow DOM scopes ids
|
|
373
373
|
// to this instance's own shadow root, so it can never collide with another bs-input.
|
|
374
|
-
index.h("label", { key: '
|
|
374
|
+
index.h("label", { key: '13e99193d9906c7c7534df1c9bd6395f1a758524', part: "label", class: "bs-input__label", htmlFor: "control" }, this.label, this.required && (index.h("span", { key: 'ac14aa6322a8ce40624cdc392dde96b7bad298a8', part: "required", class: "bs-input__required", "aria-hidden": "true" }, "*")))), this.type === 'pin' ? this.renderPinField() : this.type === 'initials' ? this.renderInitialsField() : this.renderField(), this.error ? (index.h("span", { id: "description-or-error", part: "error", class: "bs-input__error" }, index.h("svg", { part: "error-icon", class: "bs-input__error-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("circle", { cx: "8", cy: "8", r: "6.5", stroke: "currentColor", "stroke-width": "1.2" }), index.h("path", { d: "M8 5V8.5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round" }), index.h("circle", { cx: "8", cy: "11", r: "0.75", fill: "currentColor" })), this.error)) : this.description ? (index.h("span", { id: "description-or-error", part: "description", class: "bs-input__description" }, this.description)) : null));
|
|
375
375
|
}
|
|
376
376
|
static get delegatesFocus() { return true; }
|
|
377
377
|
static get formAssociated() { return true; }
|
|
@@ -422,7 +422,7 @@ const BsMenu = class {
|
|
|
422
422
|
items[next].shadowRoot?.querySelector('button')?.focus();
|
|
423
423
|
}
|
|
424
424
|
render() {
|
|
425
|
-
return (index.h("div", { key: '
|
|
425
|
+
return (index.h("div", { key: '850122bbadc472043159746a66002281d53ddd7b', part: "list", class: "bs-menu", role: "menu" }, index.h("slot", { key: '5a64d51431e7cad88d5a7f4d01aa004098e9b2d2' })));
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
428
|
BsMenu.style = bsMenuCss();
|
|
@@ -451,7 +451,7 @@ const BsMenuItem = class {
|
|
|
451
451
|
this.bsSelect.emit();
|
|
452
452
|
};
|
|
453
453
|
render() {
|
|
454
|
-
return (index.h("button", { key: '
|
|
454
|
+
return (index.h("button", { key: '6b051d2fd71b1be59a253c9eb10e7a8f1242e110', type: "button", part: "item", role: "menuitem", class: `bs-menu-item ${this.disabled ? 'bs-menu-item--disabled' : ''}`, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onClick }, index.h("span", { key: '245b088e3d5243d4b6ca8871b087d53174405590', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, index.h("slot", { key: 'f325951ecf61f5b2e39d54fb9dd7deda9fc313cb', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: '2d89029982559af29db78a0ba2fd48ccfbc1c416', part: "label", class: "bs-menu-item__label" }, index.h("slot", { key: '56681e9c1241233fc36e9bcd5a19c58ef3af5b4b' }))));
|
|
455
455
|
}
|
|
456
456
|
};
|
|
457
457
|
BsMenuItem.style = bsMenuItemCss();
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BYfMRtlW.js');
|
|
4
|
+
|
|
5
|
+
const bsKeyCapsCss = () => `:host{display:inline-block;--bs-key-caps-gap:var(--bs-spacing-100);--bs-key-caps-separator-color:var(--bs-text-muted);--bs-key-caps-disabled-opacity:0.38}.bs-key-caps{display:inline-flex;align-items:center;gap:var(--bs-key-caps-gap)}.bs-key-caps bs-key:not(:first-child)::before,::slotted(bs-key:not(:first-child))::before{content:'+';color:var(--bs-key-caps-separator-color);font-size:var(--bs-font-size-xs);line-height:calc(var(--bs-line-height-caption-sm) * 1px)}:host([disabled]) .bs-key-caps{opacity:var(--bs-key-caps-disabled-opacity)}`;
|
|
6
|
+
|
|
7
|
+
const BsKeyCaps = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The keys as text. A string is split on `+` (`"Ctrl+K"`); use an array to include a literal
|
|
13
|
+
* plus key. Ignored when `bs-key` elements are slotted instead. Figma defines one to four keys.
|
|
14
|
+
*/
|
|
15
|
+
keys;
|
|
16
|
+
/** Dims the whole shortcut and marks it `aria-disabled`. */
|
|
17
|
+
disabled = false;
|
|
18
|
+
/** Accessible name of the shortcut, e.g. "Control plus K". Defaults to the keys joined with " plus ". */
|
|
19
|
+
label;
|
|
20
|
+
keyList() {
|
|
21
|
+
if (Array.isArray(this.keys))
|
|
22
|
+
return this.keys.filter(k => k !== '');
|
|
23
|
+
if (typeof this.keys === 'string') {
|
|
24
|
+
return this.keys
|
|
25
|
+
.split('+')
|
|
26
|
+
.map(k => k.trim())
|
|
27
|
+
.filter(Boolean);
|
|
28
|
+
}
|
|
29
|
+
return [];
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
const keys = this.keyList();
|
|
33
|
+
const name = this.label ?? (keys.length ? keys.join(' plus ') : undefined);
|
|
34
|
+
return (index.h("span", { key: 'a5a71f50df215bafb5225553a3822048470b0df6', part: "container", class: "bs-key-caps", role: "group", "aria-label": name, "aria-disabled": this.disabled ? 'true' : undefined }, keys.map(k => (index.h("bs-key", { label: k }))), index.h("slot", { key: '3efb98fca94e15103658c10444000b60665ddd31' })));
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
BsKeyCaps.style = bsKeyCapsCss();
|
|
38
|
+
|
|
39
|
+
exports.bs_key_caps = BsKeyCaps;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BYfMRtlW.js');
|
|
4
|
+
|
|
5
|
+
const bsKeyCss = () => `:host{display:inline-flex;align-items:center;gap:var(--bs-spacing-100);--bs-key-bg:var(--bs-surface-base);--bs-key-border-color:var(--bs-border-default);--bs-key-radius:var(--bs-border-radius-50);--bs-key-padding-x:var(--bs-spacing-75);--bs-key-padding-y:var(--bs-spacing-50);--bs-key-min-width:25px;--bs-key-color:var(--bs-text-secondary);--bs-key-font-size:var(--bs-font-size-xs);--bs-key-icon-size:16px}.bs-key{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:var(--bs-key-min-width);padding:var(--bs-key-padding-y) var(--bs-key-padding-x);background:var(--bs-key-bg);border:1px solid var(--bs-key-border-color);border-radius:var(--bs-key-radius);color:var(--bs-key-color);font-family:inherit;font-size:var(--bs-key-font-size);font-weight:var(--bs-font-weight-regular);line-height:calc(var(--bs-line-height-caption-sm) * 1px);text-align:center;white-space:nowrap}.bs-key__label{display:block}.bs-key__icon{display:inline-flex;align-items:center;justify-content:center;width:var(--bs-key-icon-size);height:var(--bs-key-icon-size)}.bs-key__icon--hidden{display:none}.bs-key__icon ::slotted(*){display:block;width:100%;height:100%}`;
|
|
6
|
+
|
|
7
|
+
const BsKey = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
}
|
|
11
|
+
get el() { return index.getElement(this); }
|
|
12
|
+
/** The key's text, e.g. `Ctrl`. The default slot overrides it. */
|
|
13
|
+
label;
|
|
14
|
+
/** Tracks whether the `icon` slot has content, so the label is replaced by the icon. */
|
|
15
|
+
hasIcon = false;
|
|
16
|
+
componentWillLoad() {
|
|
17
|
+
this.hasIcon = Array.from(this.el.children).some(c => c.getAttribute('slot') === 'icon');
|
|
18
|
+
}
|
|
19
|
+
onIconSlotChange = (ev) => {
|
|
20
|
+
this.hasIcon = ev.target.assignedNodes().length > 0;
|
|
21
|
+
};
|
|
22
|
+
render() {
|
|
23
|
+
return (index.h("kbd", { key: '45bd298f9fcf91ac4a6fd1c10c879a9373c53fae', part: "container", class: "bs-key" }, !this.hasIcon && (index.h("span", { key: '019bb8652eef6eafbe3d11ac0a179aa06a853e99', part: "label", class: "bs-key__label" }, index.h("slot", { key: '9b4e0c377ad3a6ab51125894aca36164e3f4546c' }, this.label))), index.h("span", { key: '2d8618a0a71f799d6b4c3c8ecd3364d2a744879d', part: "icon", class: { 'bs-key__icon': true, 'bs-key__icon--hidden': !this.hasIcon } }, index.h("slot", { key: '9c7bf13a4ddf4ad57fcee6c81653783eb0bde3c4', name: "icon", onSlotchange: this.onIconSlotChange }))));
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
BsKey.style = bsKeyCss();
|
|
27
|
+
|
|
28
|
+
exports.bs_key = BsKey;
|