@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
|
@@ -104,7 +104,7 @@ export class BsRadio {
|
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
render() {
|
|
107
|
-
return (h("label", { key: '
|
|
107
|
+
return (h("label", { key: '886be8e0972dcb7d918447186ac6972a9132eb02', class: `bs-radio ${this.disabled ? 'bs-radio--disabled' : ''}` }, h("input", { key: 'd82e6e5d9a5a283bf3a0590add040cfb8f153fb7', class: "bs-radio__input", type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, tabIndex: this.checked || !this.groupHasChecked ? 0 : -1, onKeyDown: this.onKeyDown, onChange: this.onChange }), h("span", { key: '3844f7c165afc6c2de1b4befbe0d6aa5b89dab42', class: "bs-radio__hit-area" }, h("span", { key: 'd710b061715195882f889284e4b13dc872df03be', class: "bs-radio__state-layer" }, h("span", { key: 'd7eaa53202cfd9884ea6f890ff609e678d043fb0', part: "circle", class: `bs-radio__circle ${this.checked ? 'bs-radio__circle--selected' : ''}` }, this.checked && h("span", { key: 'c4942a1f370d7822a88e05a5d150bc5cb9cdd426', part: "dot", class: "bs-radio__dot" })))), h("span", { key: '79b5334b22ffe48a63bff43b0a8ce3df8c57e9cb', part: "label", class: "bs-radio__label" }, h("slot", { key: 'f71e839a6afe980e2ef54d40c4b40d6513ff0540' }))));
|
|
108
108
|
}
|
|
109
109
|
static get is() { return "bs-radio"; }
|
|
110
110
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { render, h, describe, it, expect } from "@stencil/vitest";
|
|
2
|
+
import { userEvent } from "vitest/browser";
|
|
3
|
+
import { assertShadowParts, runAxeCheck } from "../../test/helpers/conventions";
|
|
4
|
+
const row = (host) => host.shadowRoot.querySelector('[part="container"]');
|
|
5
|
+
const part = (host, p) => host.shadowRoot.querySelector(`[part="${p}"]`);
|
|
6
|
+
const tokenColor = (token, prop = 'backgroundColor') => {
|
|
7
|
+
const p = document.createElement('div');
|
|
8
|
+
p.style[prop === 'color' ? 'color' : 'background'] = `var(${token})`;
|
|
9
|
+
document.body.appendChild(p);
|
|
10
|
+
const c = getComputedStyle(p)[prop];
|
|
11
|
+
p.remove();
|
|
12
|
+
return c;
|
|
13
|
+
};
|
|
14
|
+
const bg = (host) => getComputedStyle(row(host)).backgroundColor;
|
|
15
|
+
const settle = () => new Promise(r => setTimeout(r, 250));
|
|
16
|
+
describe('bs-search-item', () => {
|
|
17
|
+
it('has the Figma geometry', async () => {
|
|
18
|
+
const { root } = await render(h("bs-search-item", { value: "a" }, "Label"));
|
|
19
|
+
const cs = getComputedStyle(row(root));
|
|
20
|
+
expect(cs.minHeight).toBe('48px');
|
|
21
|
+
expect(Math.round(row(root).getBoundingClientRect().height)).toBe(48);
|
|
22
|
+
expect(cs.paddingTop).toBe('8px');
|
|
23
|
+
expect(cs.paddingLeft).toBe('12px');
|
|
24
|
+
expect(cs.columnGap).toBe('8px');
|
|
25
|
+
expect(cs.borderRadius).toBe('8px');
|
|
26
|
+
expect(cs.cursor).toBe('pointer');
|
|
27
|
+
expect(cs.alignItems).toBe('center');
|
|
28
|
+
const label = getComputedStyle(part(root, 'label'));
|
|
29
|
+
expect(label.fontSize).toBe('16px');
|
|
30
|
+
expect(label.lineHeight).toBe('24px');
|
|
31
|
+
expect(label.fontWeight).toBe('400');
|
|
32
|
+
assertShadowParts(root.shadowRoot, ['container', 'icon', 'content', 'label', 'description', 'trailing']);
|
|
33
|
+
});
|
|
34
|
+
it('styles slotted description, trailing text and strong matches', async () => {
|
|
35
|
+
const { root, waitForChanges } = await render(h("bs-search-item", { value: "a" }, h("svg", { slot: "icon", viewBox: "0 0 24 24" }), h("strong", null, "Nor"), "dic", h("span", { slot: "description" }, "Customer"), h("span", { slot: "trailing" }, "Order")));
|
|
36
|
+
await waitForChanges();
|
|
37
|
+
const d = getComputedStyle(part(root, 'description'));
|
|
38
|
+
expect(d.fontSize).toBe('14px');
|
|
39
|
+
expect(d.lineHeight).toBe('20px');
|
|
40
|
+
expect(d.color).toBe(tokenColor('--bs-text-muted', 'color'));
|
|
41
|
+
const t = getComputedStyle(part(root, 'trailing'));
|
|
42
|
+
expect(t.whiteSpace).toBe('nowrap');
|
|
43
|
+
expect(t.flexShrink).toBe('0');
|
|
44
|
+
expect(t.color).toBe(tokenColor('--bs-text-muted', 'color'));
|
|
45
|
+
expect(getComputedStyle(root.querySelector('strong')).fontWeight).toBe('600');
|
|
46
|
+
expect(Math.round(part(root, 'icon').getBoundingClientRect().width)).toBe(24);
|
|
47
|
+
});
|
|
48
|
+
it('hides empty icon, description and trailing wrappers', async () => {
|
|
49
|
+
const { root } = await render(h("bs-search-item", null, "Label"));
|
|
50
|
+
expect(getComputedStyle(part(root, 'icon')).display).toBe('none');
|
|
51
|
+
expect(getComputedStyle(part(root, 'description')).display).toBe('none');
|
|
52
|
+
expect(getComputedStyle(part(root, 'trailing')).display).toBe('none');
|
|
53
|
+
});
|
|
54
|
+
it('shows the trailing prop as shorthand and lets the slot override it', async () => {
|
|
55
|
+
const { root, waitForChanges } = await render(h("bs-search-item", { trailing: "1,284" }, "Customers"));
|
|
56
|
+
expect(part(root, 'trailing').textContent).toBe('1,284');
|
|
57
|
+
expect(getComputedStyle(part(root, 'trailing')).display).not.toBe('none');
|
|
58
|
+
const span = document.createElement('span');
|
|
59
|
+
span.slot = 'trailing';
|
|
60
|
+
span.textContent = 'Slotted';
|
|
61
|
+
root.appendChild(span);
|
|
62
|
+
await waitForChanges();
|
|
63
|
+
const slot = part(root, 'trailing').querySelector('slot');
|
|
64
|
+
expect(slot.assignedNodes()[0]).toBe(span);
|
|
65
|
+
});
|
|
66
|
+
it('has no role standalone and option semantics when the parent sets selectionRole', async () => {
|
|
67
|
+
const { root, waitForChanges } = await render(h("bs-search-item", null, "Label"));
|
|
68
|
+
expect(row(root).hasAttribute('role')).toBe(false);
|
|
69
|
+
expect(root.hasAttribute('role')).toBe(false);
|
|
70
|
+
root.selectionRole = 'option';
|
|
71
|
+
await waitForChanges();
|
|
72
|
+
expect(row(root)).toEqualAttribute('role', 'option');
|
|
73
|
+
expect(row(root)).toEqualAttribute('aria-selected', 'false');
|
|
74
|
+
root.setAttribute('active', '');
|
|
75
|
+
await waitForChanges();
|
|
76
|
+
expect(row(root)).toEqualAttribute('aria-selected', 'true');
|
|
77
|
+
root.setAttribute('disabled', '');
|
|
78
|
+
await waitForChanges();
|
|
79
|
+
expect(row(root)).toEqualAttribute('aria-disabled', 'true');
|
|
80
|
+
});
|
|
81
|
+
it('resolves resting, active, hover and pressed backgrounds from tokens', async () => {
|
|
82
|
+
const { root, waitForChanges } = await render(h("bs-search-item", { value: "a" }, "Label"));
|
|
83
|
+
await userEvent.unhover(row(root));
|
|
84
|
+
await settle();
|
|
85
|
+
expect(bg(root)).toBe('rgba(0, 0, 0, 0)');
|
|
86
|
+
root.setAttribute('active', '');
|
|
87
|
+
await waitForChanges();
|
|
88
|
+
await settle();
|
|
89
|
+
expect(bg(root)).toBe(tokenColor('--bs-surface-hover'));
|
|
90
|
+
root.removeAttribute('active');
|
|
91
|
+
await waitForChanges();
|
|
92
|
+
await settle();
|
|
93
|
+
expect(bg(root)).toBe('rgba(0, 0, 0, 0)');
|
|
94
|
+
await userEvent.hover(root);
|
|
95
|
+
await settle();
|
|
96
|
+
expect(bg(root)).toBe(tokenColor('--bs-surface-hover'));
|
|
97
|
+
});
|
|
98
|
+
it('wires the pressed background to the surface-pressed token', async () => {
|
|
99
|
+
const { root } = await render(h("bs-search-item", { value: "a" }, "Label"));
|
|
100
|
+
// Rule check: the stylesheet carries an :active rule using --bs-search-item-bg-pressed.
|
|
101
|
+
const sheets = root.shadowRoot.adoptedStyleSheets;
|
|
102
|
+
const text = [...(sheets ?? []), ...Array.from(root.shadowRoot.styleSheets)].map(s => Array.from(s.cssRules).map(r => r.cssText).join('')).join('');
|
|
103
|
+
expect(text).toContain(':active');
|
|
104
|
+
expect(text).toContain('--bs-search-item-bg-pressed');
|
|
105
|
+
const probe = document.createElement('div');
|
|
106
|
+
probe.style.background = 'var(--bs-surface-pressed)';
|
|
107
|
+
root.shadowRoot.appendChild(probe);
|
|
108
|
+
const pressedToken = getComputedStyle(probe).backgroundColor;
|
|
109
|
+
probe.remove();
|
|
110
|
+
const holder = document.createElement('div');
|
|
111
|
+
holder.style.background = getComputedStyle(root).getPropertyValue('--bs-search-item-bg-pressed');
|
|
112
|
+
document.body.appendChild(holder);
|
|
113
|
+
expect(getComputedStyle(holder).backgroundColor).toBe(pressedToken);
|
|
114
|
+
holder.remove();
|
|
115
|
+
});
|
|
116
|
+
it('dims and ignores clicks while disabled', async () => {
|
|
117
|
+
const { root } = await render(h("bs-search-item", { value: "a", disabled: true }, "Label"));
|
|
118
|
+
let n = 0;
|
|
119
|
+
root.addEventListener('bsItemSelect', () => n++);
|
|
120
|
+
root.click();
|
|
121
|
+
expect(n).toBe(0);
|
|
122
|
+
expect(getComputedStyle(row(root)).color).toBe(tokenColor('--bs-text-on-disabled', 'color'));
|
|
123
|
+
});
|
|
124
|
+
it('emits bsItemSelect with the value on click', async () => {
|
|
125
|
+
const { root } = await render(h("bs-search-item", { value: "orders" }, "Orders"));
|
|
126
|
+
const got = [];
|
|
127
|
+
root.addEventListener('bsItemSelect', (e) => got.push(e.detail));
|
|
128
|
+
root.click();
|
|
129
|
+
expect(got).toEqual(['orders']);
|
|
130
|
+
});
|
|
131
|
+
it('uses the light and dark text colour from tokens', async () => {
|
|
132
|
+
const { root } = await render(h("bs-search-item", null, "Label"));
|
|
133
|
+
const light = getComputedStyle(part(root, 'label')).color;
|
|
134
|
+
document.documentElement.setAttribute('data-theme', 'dark');
|
|
135
|
+
try {
|
|
136
|
+
await new Promise(r => setTimeout(r, 100));
|
|
137
|
+
expect(getComputedStyle(part(root, 'label')).color).not.toBe(light);
|
|
138
|
+
}
|
|
139
|
+
finally {
|
|
140
|
+
document.documentElement.removeAttribute('data-theme');
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
it('passes axe standalone', async () => {
|
|
144
|
+
const { root } = await render(h("bs-search-item", { value: "a", trailing: "x" }, "Label"));
|
|
145
|
+
await runAxeCheck(root);
|
|
146
|
+
});
|
|
147
|
+
});
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
--bs-search-item-min-height: var(--bs-spacing-600);
|
|
6
|
+
--bs-search-item-padding-y: var(--bs-spacing-100);
|
|
7
|
+
--bs-search-item-padding-x: var(--bs-spacing-150);
|
|
8
|
+
--bs-search-item-gap: var(--bs-spacing-100);
|
|
9
|
+
--bs-search-item-radius: var(--bs-border-radius-100);
|
|
10
|
+
--bs-search-item-bg: transparent;
|
|
11
|
+
--bs-search-item-bg-active: var(--bs-surface-hover);
|
|
12
|
+
--bs-search-item-bg-pressed: var(--bs-surface-pressed);
|
|
13
|
+
--bs-search-item-color: var(--bs-text-default);
|
|
14
|
+
--bs-search-item-color-muted: var(--bs-text-muted);
|
|
15
|
+
--bs-search-item-color-disabled: var(--bs-text-on-disabled);
|
|
16
|
+
--bs-search-item-icon-color: var(--bs-icon-default);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.bs-search-item {
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
gap: var(--bs-search-item-gap);
|
|
24
|
+
width: 100%;
|
|
25
|
+
min-height: var(--bs-search-item-min-height);
|
|
26
|
+
padding: var(--bs-search-item-padding-y) var(--bs-search-item-padding-x);
|
|
27
|
+
border-radius: var(--bs-search-item-radius);
|
|
28
|
+
background: var(--bs-search-item-bg);
|
|
29
|
+
color: var(--bs-search-item-color);
|
|
30
|
+
font-family: inherit;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
transition: background-color 120ms ease;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([active]) .bs-search-item,
|
|
36
|
+
.bs-search-item:hover {
|
|
37
|
+
background: var(--bs-search-item-bg-active);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.bs-search-item:active {
|
|
41
|
+
background: var(--bs-search-item-bg-pressed);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host([disabled]) .bs-search-item {
|
|
45
|
+
background: var(--bs-search-item-bg);
|
|
46
|
+
color: var(--bs-search-item-color-disabled);
|
|
47
|
+
cursor: default;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bs-search-item__icon {
|
|
51
|
+
flex: 0 0 auto;
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
width: 24px;
|
|
56
|
+
height: 24px;
|
|
57
|
+
color: var(--bs-search-item-icon-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.bs-search-item__icon--hidden,
|
|
61
|
+
.bs-search-item__description--hidden,
|
|
62
|
+
.bs-search-item__trailing--hidden {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.bs-search-item__icon ::slotted(svg) {
|
|
67
|
+
width: 24px;
|
|
68
|
+
height: 24px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.bs-search-item__content {
|
|
72
|
+
flex: 1 1 0;
|
|
73
|
+
min-width: 0;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.bs-search-item__label {
|
|
79
|
+
font-size: var(--bs-font-size-md);
|
|
80
|
+
font-weight: var(--bs-font-weight-regular);
|
|
81
|
+
line-height: 24px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.bs-search-item__label ::slotted(b),
|
|
85
|
+
.bs-search-item__label ::slotted(strong) {
|
|
86
|
+
font-weight: var(--bs-font-weight-semibold);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.bs-search-item__description {
|
|
90
|
+
color: var(--bs-search-item-color-muted);
|
|
91
|
+
font-size: var(--bs-font-size-sm);
|
|
92
|
+
line-height: 20px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.bs-search-item__trailing {
|
|
96
|
+
flex: 0 0 auto;
|
|
97
|
+
color: var(--bs-search-item-color-muted);
|
|
98
|
+
font-size: var(--bs-font-size-sm);
|
|
99
|
+
line-height: 20px;
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:host([disabled]) .bs-search-item__description,
|
|
104
|
+
:host([disabled]) .bs-search-item__trailing {
|
|
105
|
+
color: var(--bs-search-item-color-disabled);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (prefers-reduced-motion: reduce) {
|
|
109
|
+
.bs-search-item {
|
|
110
|
+
transition: none;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* One result or suggestion row of a search dropdown: a leading icon, a primary line, an optional
|
|
4
|
+
* description line and trailing text. Static, not focusable -- focus stays in the search field and the
|
|
5
|
+
* parent (`bs-global-search`) marks the highlighted row with `active`.
|
|
6
|
+
*
|
|
7
|
+
* Standalone it has no role. `bs-global-search` sets `selectionRole="option"` (and an `id`) on its rows,
|
|
8
|
+
* the same pattern as `bs-list-item` and `bs-shortcut-row`.
|
|
9
|
+
*
|
|
10
|
+
* ## When to use
|
|
11
|
+
* - A suggestion, recent search or result inside `bs-global-search`.
|
|
12
|
+
*
|
|
13
|
+
* ## When not to use
|
|
14
|
+
* - A row in a generic list -- use `bs-list-item`.
|
|
15
|
+
* - A command in a popup menu -- use `bs-menu-item`.
|
|
16
|
+
*
|
|
17
|
+
* @slot icon - A leading glyph (24px, `currentColor`).
|
|
18
|
+
* @slot - The primary text. Wrap the matched part in `<strong>` or `<b>` to show it semibold.
|
|
19
|
+
* @slot description - An optional second line.
|
|
20
|
+
* @slot trailing - Trailing text (overrides the `trailing` prop).
|
|
21
|
+
* @part container - The row.
|
|
22
|
+
* @part icon - The icon wrapper.
|
|
23
|
+
* @part content - The text column.
|
|
24
|
+
* @part label - The primary line.
|
|
25
|
+
* @part description - The description line.
|
|
26
|
+
* @part trailing - The trailing text wrapper.
|
|
27
|
+
* @prop --bs-search-item-min-height - Aliased to `--bs-spacing-600` (48px).
|
|
28
|
+
* @prop --bs-search-item-padding-y - Aliased to `--bs-spacing-100`.
|
|
29
|
+
* @prop --bs-search-item-padding-x - Aliased to `--bs-spacing-150`.
|
|
30
|
+
* @prop --bs-search-item-gap - Aliased to `--bs-spacing-100`.
|
|
31
|
+
* @prop --bs-search-item-radius - Aliased to `--bs-border-radius-100`.
|
|
32
|
+
* @prop --bs-search-item-bg - Resting background. `transparent`.
|
|
33
|
+
* @prop --bs-search-item-bg-active - Active (highlighted) and hover background. Aliased to `--bs-surface-hover`.
|
|
34
|
+
* @prop --bs-search-item-bg-pressed - Aliased to `--bs-surface-pressed`.
|
|
35
|
+
* @prop --bs-search-item-color - Primary text. Aliased to `--bs-text-default`.
|
|
36
|
+
* @prop --bs-search-item-color-muted - Description and trailing text. Aliased to `--bs-text-muted`.
|
|
37
|
+
* @prop --bs-search-item-color-disabled - Aliased to `--bs-text-on-disabled`.
|
|
38
|
+
* @prop --bs-search-item-icon-color - Aliased to `--bs-icon-default`.
|
|
39
|
+
*/
|
|
40
|
+
export class BsSearchItem {
|
|
41
|
+
el;
|
|
42
|
+
/** Identifies the item; emitted by `bsItemSelect`. */
|
|
43
|
+
value;
|
|
44
|
+
/** Highlighted row (keyboard or hover). Set by the parent. */
|
|
45
|
+
active = false;
|
|
46
|
+
/** Dims the row and ignores clicks. */
|
|
47
|
+
disabled = false;
|
|
48
|
+
/** Trailing text shorthand. The `trailing` slot overrides it. */
|
|
49
|
+
trailing;
|
|
50
|
+
/** Set by the parent (`"option"`). Standalone rows have no role. */
|
|
51
|
+
selectionRole = null;
|
|
52
|
+
hasIcon = false;
|
|
53
|
+
hasDescription = false;
|
|
54
|
+
hasTrailingSlot = false;
|
|
55
|
+
/** Fires with `value` when the row is clicked, or when the parent selects it with Enter. */
|
|
56
|
+
bsItemSelect;
|
|
57
|
+
componentWillLoad() {
|
|
58
|
+
const has = (name) => Array.from(this.el.children).some(c => c.getAttribute('slot') === name);
|
|
59
|
+
this.hasIcon = has('icon');
|
|
60
|
+
this.hasDescription = has('description');
|
|
61
|
+
this.hasTrailingSlot = has('trailing');
|
|
62
|
+
}
|
|
63
|
+
onClick() {
|
|
64
|
+
if (this.disabled)
|
|
65
|
+
return;
|
|
66
|
+
this.bsItemSelect.emit(this.value);
|
|
67
|
+
}
|
|
68
|
+
slotFilled = (set) => (ev) => set(ev.target.assignedNodes().length > 0);
|
|
69
|
+
render() {
|
|
70
|
+
const role = this.selectionRole ?? undefined;
|
|
71
|
+
return (h("div", { key: 'ff15a6983c32e576c3a1475b058b8b98c7b26906', part: "container", class: "bs-search-item", role: role, "aria-selected": role ? String(this.active) : undefined, "aria-disabled": role && this.disabled ? 'true' : undefined }, h("span", { key: 'a7d9ce608a6354301292b3a5581b598459d1e748', part: "icon", class: { 'bs-search-item__icon': true, 'bs-search-item__icon--hidden': !this.hasIcon } }, h("slot", { key: '842835090311c9139a58058db8b813dd08cefe63', name: "icon", onSlotchange: this.slotFilled(v => (this.hasIcon = v)) })), h("span", { key: '49593768f387d0c6c551a02c5a45c7f9907d48cc', part: "content", class: "bs-search-item__content" }, h("span", { key: '88f041e7c4ff60001c3b29beb0b60272ac8f5ab8', part: "label", class: "bs-search-item__label" }, h("slot", { key: 'd987b5809b3aa4acafe7d3fe99e477adf3ef94c1' })), h("span", { key: '54be04f167f1b95b0930755f33a827fe6b0be69d', part: "description", class: { 'bs-search-item__description': true, 'bs-search-item__description--hidden': !this.hasDescription } }, h("slot", { key: '1f5557fe80ba24b69d9b8879be119edb4602c881', name: "description", onSlotchange: this.slotFilled(v => (this.hasDescription = v)) }))), h("span", { key: '5a6a5fc58a12cc02f8ab4555bc580f63af137232', part: "trailing", class: { 'bs-search-item__trailing': true, 'bs-search-item__trailing--hidden': !this.hasTrailingSlot && !this.trailing } }, h("slot", { key: '89514db103242c48b2d062340558aa6ded0d157b', name: "trailing", onSlotchange: this.slotFilled(v => (this.hasTrailingSlot = v)) }, this.trailing))));
|
|
72
|
+
}
|
|
73
|
+
static get is() { return "bs-search-item"; }
|
|
74
|
+
static get encapsulation() { return "shadow"; }
|
|
75
|
+
static get originalStyleUrls() {
|
|
76
|
+
return {
|
|
77
|
+
"$": ["bs-search-item.css"]
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
static get styleUrls() {
|
|
81
|
+
return {
|
|
82
|
+
"$": ["bs-search-item.css"]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
static get properties() {
|
|
86
|
+
return {
|
|
87
|
+
"value": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "string",
|
|
92
|
+
"resolved": "string",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": true,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": "Identifies the item; emitted by `bsItemSelect`."
|
|
100
|
+
},
|
|
101
|
+
"getter": false,
|
|
102
|
+
"setter": false,
|
|
103
|
+
"reflect": false,
|
|
104
|
+
"attribute": "value"
|
|
105
|
+
},
|
|
106
|
+
"active": {
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"mutable": false,
|
|
109
|
+
"complexType": {
|
|
110
|
+
"original": "boolean",
|
|
111
|
+
"resolved": "boolean",
|
|
112
|
+
"references": {}
|
|
113
|
+
},
|
|
114
|
+
"required": false,
|
|
115
|
+
"optional": false,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": "Highlighted row (keyboard or hover). Set by the parent."
|
|
119
|
+
},
|
|
120
|
+
"getter": false,
|
|
121
|
+
"setter": false,
|
|
122
|
+
"reflect": true,
|
|
123
|
+
"attribute": "active",
|
|
124
|
+
"defaultValue": "false"
|
|
125
|
+
},
|
|
126
|
+
"disabled": {
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "boolean",
|
|
131
|
+
"resolved": "boolean",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": "Dims the row and ignores clicks."
|
|
139
|
+
},
|
|
140
|
+
"getter": false,
|
|
141
|
+
"setter": false,
|
|
142
|
+
"reflect": true,
|
|
143
|
+
"attribute": "disabled",
|
|
144
|
+
"defaultValue": "false"
|
|
145
|
+
},
|
|
146
|
+
"trailing": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"mutable": false,
|
|
149
|
+
"complexType": {
|
|
150
|
+
"original": "string",
|
|
151
|
+
"resolved": "string",
|
|
152
|
+
"references": {}
|
|
153
|
+
},
|
|
154
|
+
"required": false,
|
|
155
|
+
"optional": true,
|
|
156
|
+
"docs": {
|
|
157
|
+
"tags": [],
|
|
158
|
+
"text": "Trailing text shorthand. The `trailing` slot overrides it."
|
|
159
|
+
},
|
|
160
|
+
"getter": false,
|
|
161
|
+
"setter": false,
|
|
162
|
+
"reflect": false,
|
|
163
|
+
"attribute": "trailing"
|
|
164
|
+
},
|
|
165
|
+
"selectionRole": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"mutable": false,
|
|
168
|
+
"complexType": {
|
|
169
|
+
"original": "'option' | null",
|
|
170
|
+
"resolved": "\"option\"",
|
|
171
|
+
"references": {}
|
|
172
|
+
},
|
|
173
|
+
"required": false,
|
|
174
|
+
"optional": false,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [],
|
|
177
|
+
"text": "Set by the parent (`\"option\"`). Standalone rows have no role."
|
|
178
|
+
},
|
|
179
|
+
"getter": false,
|
|
180
|
+
"setter": false,
|
|
181
|
+
"reflect": false,
|
|
182
|
+
"attribute": "selection-role",
|
|
183
|
+
"defaultValue": "null"
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
static get states() {
|
|
188
|
+
return {
|
|
189
|
+
"hasIcon": {},
|
|
190
|
+
"hasDescription": {},
|
|
191
|
+
"hasTrailingSlot": {}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
static get events() {
|
|
195
|
+
return [{
|
|
196
|
+
"method": "bsItemSelect",
|
|
197
|
+
"name": "bsItemSelect",
|
|
198
|
+
"bubbles": true,
|
|
199
|
+
"cancelable": true,
|
|
200
|
+
"composed": true,
|
|
201
|
+
"docs": {
|
|
202
|
+
"tags": [],
|
|
203
|
+
"text": "Fires with `value` when the row is clicked, or when the parent selects it with Enter."
|
|
204
|
+
},
|
|
205
|
+
"complexType": {
|
|
206
|
+
"original": "string | undefined",
|
|
207
|
+
"resolved": "string",
|
|
208
|
+
"references": {}
|
|
209
|
+
}
|
|
210
|
+
}];
|
|
211
|
+
}
|
|
212
|
+
static get elementRef() { return "el"; }
|
|
213
|
+
static get listeners() {
|
|
214
|
+
return [{
|
|
215
|
+
"name": "click",
|
|
216
|
+
"method": "onClick",
|
|
217
|
+
"target": undefined,
|
|
218
|
+
"capture": false,
|
|
219
|
+
"passive": false
|
|
220
|
+
}];
|
|
221
|
+
}
|
|
222
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { componentDescription } from "../../stories-utils";
|
|
3
|
+
const USER_ICON = html `<svg slot="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="8" r="4" /><path d="M4 21a8 8 0 0 1 16 0" /></svg>`;
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'Components/bs-search-item',
|
|
6
|
+
parameters: { docs: { description: { component: componentDescription('bs-search-item') } } },
|
|
7
|
+
argTypes: { active: { control: 'boolean' }, disabled: { control: 'boolean' }, trailing: { control: 'text' } },
|
|
8
|
+
args: { active: false, disabled: false, trailing: '' },
|
|
9
|
+
render: args => html `
|
|
10
|
+
<div style="width: 456px">
|
|
11
|
+
<bs-search-item value="customers" ?active=${args.active} ?disabled=${args.disabled} trailing=${args.trailing}>
|
|
12
|
+
${USER_ICON}Customers
|
|
13
|
+
</bs-search-item>
|
|
14
|
+
</div>
|
|
15
|
+
`,
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
export const Default = { args: { trailing: '1,284' } };
|
|
19
|
+
export const WithDescription = {
|
|
20
|
+
render: () => html `
|
|
21
|
+
<div style="width: 456px">
|
|
22
|
+
<bs-search-item value="nordic-sports">
|
|
23
|
+
${USER_ICON}<strong>Nordic</strong> Sports AS
|
|
24
|
+
<span slot="description">Customer · Oslo · 48 orders</span>
|
|
25
|
+
<span slot="trailing">Customer</span>
|
|
26
|
+
</bs-search-item>
|
|
27
|
+
</div>
|
|
28
|
+
`,
|
|
29
|
+
};
|
|
30
|
+
export const Active = { args: { active: true, trailing: '1,284' } };
|
|
31
|
+
export const Disabled = { args: { disabled: true, trailing: '1,284' } };
|
|
@@ -196,7 +196,7 @@ export class BsSessionTimeout {
|
|
|
196
196
|
const description = this.description ?? d.description;
|
|
197
197
|
const primary = this.primaryLabel ?? d.primary;
|
|
198
198
|
const secondary = this.secondaryLabel ?? d.secondary;
|
|
199
|
-
return (h("bs-card", { key: '
|
|
199
|
+
return (h("bs-card", { key: '417d136aee9e7681c3f2688812551e7959afd08e', part: "container", class: "bs-session-timeout", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { key: '9ba89446e15520a424f57c45ef64b85096999ce7', class: "bs-session-timeout__body" }, !this.hideIcon && (h("bs-icon-tile", { key: '4dc5931a2592b6a8fb31a39ffd8798ec719e9507', part: "art", intent: d.intent, size: "lg" }, h("slot", { key: '23d73a04db2be77202d11b2fc0c8eefa35e020f8', name: "icon" }, d.glyph()))), this.renderHeading(heading, description), this.type === 'warning' && this.renderWarning(), this.type === 'warning' && this.savedMessage && (h("p", { key: 'd3e939b8029a13b96f20b3b72065f6dc725f1644', part: "saved", class: "bs-session-timeout__saved" }, h(InfoIcon, { key: 'aa89f53279f9fa3db8de1374b6e9706996b0dcd6' }), h("span", { key: 'c2f192016e62865413684b5adf38ace82a3283ca' }, this.savedMessage))), this.type === 'signed-out' && this.renderAccount(), this.type === 'confirm-identity' && this.renderConfirm(), this.type === 'warning' && (primary || secondary) && (h("div", { key: '11fa6269c05185c4d5261416e8baa67d0474820a', part: "actions", class: "bs-session-timeout__actions" }, secondary && (h("bs-button", { key: '8e804826c0ebb62007a7b4235639a24d162552f8', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)), primary && (h("bs-button", { key: '3eff5c096263d3a79e897196a04ab57584dcf78d', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)))), this.type === 'signed-out' && (primary || secondary) && (h("div", { key: 'b52dd407d444e940fb772b1d5db23e29d6783ce3', part: "actions", class: "bs-session-timeout__actions bs-session-timeout__actions--stacked" }, primary && (h("bs-button", { key: 'f226901ff4b92180cf6955dbfd3347311e5a3704', part: "primary", class: "bs-session-timeout__block-button", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: '8a048139dd6a4211c56764388ee17dc599048725', part: "secondary", class: "bs-session-timeout__text-button", variant: "subtle", size: "lg", onClick: () => this.bsSecondary.emit() }, secondary)))), h("div", { key: 'a9dd14df0ba32c8bfaa042ad316a3a71faed7a43', class: "bs-session-timeout__sr-only", role: "status", "aria-live": "polite" }, this.announcement))));
|
|
200
200
|
}
|
|
201
201
|
static get is() { return "bs-session-timeout"; }
|
|
202
202
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { render, h, describe, it, expect } from "@stencil/vitest";
|
|
2
|
+
import { assertShadowParts, runAxeCheck } from "../../test/helpers/conventions";
|
|
3
|
+
const part = (host, p) => host.shadowRoot.querySelector(`[part="${p}"]`);
|
|
4
|
+
const caps = (host) => host.shadowRoot.querySelector('bs-key-caps');
|
|
5
|
+
describe('bs-shortcut-row', () => {
|
|
6
|
+
it('has the Figma geometry', async () => {
|
|
7
|
+
const { root } = await render(h("bs-shortcut-row", { style: { width: '318px' }, action: "Save", keys: "Ctrl+S" }));
|
|
8
|
+
const cs = getComputedStyle(part(root, 'container'));
|
|
9
|
+
expect(cs.height).toBe('36px');
|
|
10
|
+
expect(cs.paddingLeft).toBe('8px');
|
|
11
|
+
expect(cs.paddingRight).toBe('8px');
|
|
12
|
+
expect(cs.columnGap).toBe('8px');
|
|
13
|
+
expect(cs.borderRadius).toBe('6px');
|
|
14
|
+
expect(cs.alignItems).toBe('center');
|
|
15
|
+
expect(cs.fontSize).toBe('14px');
|
|
16
|
+
expect(cs.lineHeight).toBe('20px');
|
|
17
|
+
expect(Math.round(root.getBoundingClientRect().width)).toBe(318);
|
|
18
|
+
});
|
|
19
|
+
it('shows the action and passes keys to a bs-key-caps on the right', async () => {
|
|
20
|
+
const { root } = await render(h("bs-shortcut-row", { action: "Save", keys: "Ctrl+S", label: "Control plus S" }));
|
|
21
|
+
expect(part(root, 'action').textContent).toBe('Save');
|
|
22
|
+
expect(caps(root).keys).toBe('Ctrl+S');
|
|
23
|
+
expect(caps(root).shadowRoot.querySelector('[part="container"]')).toEqualAttribute('aria-label', 'Control plus S');
|
|
24
|
+
const a = part(root, 'action').getBoundingClientRect();
|
|
25
|
+
const k = part(root, 'keys').getBoundingClientRect();
|
|
26
|
+
expect(k.left).toBeGreaterThanOrEqual(a.right - 1);
|
|
27
|
+
});
|
|
28
|
+
it('lets the default slot override the action and the keys slot replace the caps', async () => {
|
|
29
|
+
const { root, waitForChanges } = await render(h("bs-shortcut-row", { action: "ignored" }, "Custom", h("bs-key-caps", { slot: "keys", keys: "F1" })));
|
|
30
|
+
await waitForChanges();
|
|
31
|
+
const slot = root.shadowRoot.querySelector('slot[name="keys"]');
|
|
32
|
+
expect(slot.assignedElements().length).toBe(1);
|
|
33
|
+
expect(root.textContent).toContain('Custom');
|
|
34
|
+
});
|
|
35
|
+
it('dims the label and the keys when disabled', async () => {
|
|
36
|
+
const { root, waitForChanges } = await render(h("bs-shortcut-row", { action: "Save", keys: "Ctrl+S" }));
|
|
37
|
+
const normal = getComputedStyle(part(root, 'container')).color;
|
|
38
|
+
root.setAttribute('disabled', '');
|
|
39
|
+
await waitForChanges();
|
|
40
|
+
expect(getComputedStyle(part(root, 'container')).color).not.toBe(normal);
|
|
41
|
+
expect(caps(root).disabled).toBe(true);
|
|
42
|
+
const inner = caps(root).shadowRoot.querySelector('[part="container"]');
|
|
43
|
+
expect(getComputedStyle(inner).opacity).toBe('0.38');
|
|
44
|
+
});
|
|
45
|
+
it('has no role standalone and listitem when selectionRole is set', async () => {
|
|
46
|
+
const { root, waitForChanges } = await render(h("bs-shortcut-row", { action: "Save", keys: "Ctrl+S" }));
|
|
47
|
+
expect(part(root, 'container').getAttribute('role')).toBeNull();
|
|
48
|
+
root.selectionRole = 'listitem';
|
|
49
|
+
await waitForChanges();
|
|
50
|
+
expect(part(root, 'container')).toEqualAttribute('role', 'listitem');
|
|
51
|
+
});
|
|
52
|
+
it('exposes its parts', async () => {
|
|
53
|
+
const { root } = await render(h("bs-shortcut-row", { action: "Save", keys: "Ctrl+S" }));
|
|
54
|
+
assertShadowParts(root.shadowRoot, ['container', 'action', 'keys']);
|
|
55
|
+
});
|
|
56
|
+
it('passes axe', async () => {
|
|
57
|
+
const { root } = await render(h("bs-shortcut-row", { action: "Save", keys: "Ctrl+S" }));
|
|
58
|
+
await runAxeCheck(root);
|
|
59
|
+
});
|
|
60
|
+
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
--bs-shortcut-row-height: 36px;
|
|
6
|
+
--bs-shortcut-row-padding-x: var(--bs-spacing-100);
|
|
7
|
+
--bs-shortcut-row-gap: var(--bs-spacing-100);
|
|
8
|
+
--bs-shortcut-row-radius: var(--bs-border-radius-75);
|
|
9
|
+
--bs-shortcut-row-color: var(--bs-text-default);
|
|
10
|
+
--bs-shortcut-row-color-disabled: var(--bs-text-on-disabled);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.bs-shortcut-row {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: var(--bs-shortcut-row-gap);
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: var(--bs-shortcut-row-height);
|
|
20
|
+
padding-inline: var(--bs-shortcut-row-padding-x);
|
|
21
|
+
border-radius: var(--bs-shortcut-row-radius);
|
|
22
|
+
color: var(--bs-shortcut-row-color);
|
|
23
|
+
font-family: inherit;
|
|
24
|
+
font-size: var(--bs-font-size-sm);
|
|
25
|
+
font-weight: var(--bs-font-weight-regular);
|
|
26
|
+
line-height: calc(var(--bs-line-height-body-sm) * 1px);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host([disabled]) .bs-shortcut-row {
|
|
30
|
+
color: var(--bs-shortcut-row-color-disabled);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.bs-shortcut-row__action {
|
|
34
|
+
flex: 1 1 0;
|
|
35
|
+
min-width: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.bs-shortcut-row__keys {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
}
|