@brandsync/wc 1.21.0 → 1.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/REFERENCE.md +2 -1
- package/custom-elements.json +136 -4
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-cd1adef0.entry.js → p-02551a4b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-83ea17b6.entry.js → p-041c912e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fbd33eb3.entry.js → p-048b28cb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4cdb1c8c.entry.js → p-0719182b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-eadbc160.entry.js → p-08a93f66.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1b41823c.entry.js → p-0aa93d07.entry.js} +1 -1
- package/dist/brandsync-wc/{p-08af052c.entry.js → p-0b50aab6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c1207ce6.entry.js → p-11beaea5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b3284eca.entry.js → p-18eab08e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5c1ccf35.entry.js → p-1f38c837.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3592e6f3.entry.js → p-2013d8ff.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c700a860.entry.js → p-20f0bd1f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fc859e89.entry.js → p-2561bdeb.entry.js} +1 -1
- package/dist/brandsync-wc/p-29dd1cde.entry.js +1 -0
- package/dist/brandsync-wc/{p-bc489296.entry.js → p-2bcc115c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fe070433.entry.js → p-2becf801.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1187a158.entry.js → p-32631906.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bd37c086.entry.js → p-36e089ba.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5f96d808.entry.js → p-37cf0842.entry.js} +1 -1
- package/dist/brandsync-wc/{p-237f583d.entry.js → p-3d054e83.entry.js} +1 -1
- package/dist/brandsync-wc/{p-da934f7b.entry.js → p-3f189709.entry.js} +1 -1
- package/dist/brandsync-wc/{p-abaab890.entry.js → p-3f8357bd.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f89d12d7.entry.js → p-3fcb9e9f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-001f3790.entry.js → p-4105a4f3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-faea22be.entry.js → p-4886d77f.entry.js} +1 -1
- package/dist/brandsync-wc/p-48a15e87.entry.js +1 -0
- package/dist/brandsync-wc/{p-171db2b0.entry.js → p-4cd94d94.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f0596399.entry.js → p-5126682b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b6b880c0.entry.js → p-527b174e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9065d825.entry.js → p-55b85126.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a30d456d.entry.js → p-5a34d5d2.entry.js} +1 -1
- package/dist/brandsync-wc/p-5d2d5ffd.entry.js +1 -0
- package/dist/brandsync-wc/{p-b9014d87.entry.js → p-5db462ae.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ffeea95f.entry.js → p-688fc320.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cf297373.entry.js → p-6cd1deee.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f5bbbff2.entry.js → p-7197c874.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8560fb54.entry.js → p-73cbb0cb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-aea1e4f9.entry.js → p-78af4542.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2eed5ff2.entry.js → p-7a1ca36c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-383c076f.entry.js → p-7ce68b44.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5e3fcc47.entry.js → p-7f4ca57d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5cd95a12.entry.js → p-83a6dd91.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2be42af3.entry.js → p-8738e976.entry.js} +1 -1
- package/dist/brandsync-wc/p-87a76b77.entry.js +1 -0
- package/dist/brandsync-wc/p-8fd4c240.entry.js +1 -0
- package/dist/brandsync-wc/{p-44c7fa4a.entry.js → p-932162a6.entry.js} +1 -1
- package/dist/brandsync-wc/p-93b6e9d2.entry.js +1 -0
- package/dist/brandsync-wc/{p-9ca0d2db.entry.js → p-9e0e1c2b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-59ddf12e.entry.js → p-9fe002aa.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c542d67f.entry.js → p-a17bbde9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-023dae02.entry.js → p-a386ce3d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cf615c99.entry.js → p-a88e76e7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-64fbd43a.entry.js → p-adc3b508.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c5fa5d02.entry.js → p-af178531.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0d3d8b6c.entry.js → p-b0e91068.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e56cc6ac.entry.js → p-b104ecea.entry.js} +1 -1
- package/dist/brandsync-wc/{p-05698f65.entry.js → p-b175f945.entry.js} +1 -1
- package/dist/brandsync-wc/{p-40aeeacf.entry.js → p-b399bd6b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6cf303f1.entry.js → p-b52df3da.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ea4ea55d.entry.js → p-b777bda2.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7cdcf7e7.entry.js → p-b89560ea.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0762a4dd.entry.js → p-b920cb6b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-34dd0976.entry.js → p-baa4e834.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1d2bc5b4.entry.js → p-c17df994.entry.js} +1 -1
- package/dist/brandsync-wc/{p-dd8f593a.entry.js → p-c483c3cb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7ee43b50.entry.js → p-c668a5b8.entry.js} +1 -1
- package/dist/brandsync-wc/p-c7b84459.entry.js +1 -0
- package/dist/brandsync-wc/{p-21781ce5.entry.js → p-cae21871.entry.js} +1 -1
- package/dist/brandsync-wc/{p-dae0348e.entry.js → p-cb4ed9d2.entry.js} +1 -1
- package/dist/brandsync-wc/{p-513fa325.entry.js → p-cca9e854.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1ddcd867.entry.js → p-cee3d9c8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-189eb922.entry.js → p-d12b7a3f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-eb8da874.entry.js → p-d226f18a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3937bc23.entry.js → p-d7116356.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4ec0dca9.entry.js → p-d7f9abd7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b0b73f22.entry.js → p-e03a8269.entry.js} +1 -1
- package/dist/brandsync-wc/{p-56bd821c.entry.js → p-e0900317.entry.js} +1 -1
- package/dist/brandsync-wc/{p-953d0191.entry.js → p-e42b118c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-324f0d11.entry.js → p-e454d65b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-64ef4a9f.entry.js → p-e5209d8b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1cf40f44.entry.js → p-e9d91fb8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8a3095d5.entry.js → p-eb5a06af.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ab74da02.entry.js → p-ecb614b8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2e654764.entry.js → p-f0897031.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7c627563.entry.js → p-f2c9bd85.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ac7f9aa0.entry.js → p-f5704ede.entry.js} +1 -1
- package/dist/brandsync-wc/{p-205a1ccf.entry.js → p-f677df8f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-05a9cbda.entry.js → p-f77e1523.entry.js} +1 -1
- package/dist/brandsync-wc/p-faa24a2e.entry.js +1 -0
- package/dist/brandsync-wc/p-ff25350e.entry.js +1 -0
- package/dist/brandsync-wc/{p-c305bde7.entry.js → p-ff57df38.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 +4 -4
- package/dist/cjs/bs-app-shell.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-button_2.cjs.entry.js +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-chip-informative.cjs.entry.js +31 -2
- 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 +1 -1
- package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +4 -4
- package/dist/cjs/bs-company-switcher.cjs.entry.js +2 -2
- 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 +4 -2
- package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/bs-description-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-description-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-divider.cjs.entry.js +1 -1
- package/dist/cjs/bs-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/bs-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/bs-error-page.cjs.entry.js +1 -1
- package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/bs-global-search.cjs.entry.js +2 -2
- package/dist/cjs/bs-grid.cjs.entry.js +2 -2
- package/dist/cjs/bs-heading.cjs.entry.js +1 -1
- package/dist/cjs/bs-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-icon-tile.cjs.entry.js +2 -2
- package/dist/cjs/bs-icon.cjs.entry.js +1 -1
- package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
- package/dist/cjs/bs-input_4.cjs.entry.js +9 -6
- package/dist/cjs/bs-key-caps.cjs.entry.js +1 -1
- package/dist/cjs/bs-key.cjs.entry.js +1 -1
- package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/bs-link.cjs.entry.js +1 -1
- package/dist/cjs/bs-list-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-mega-menu.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/bs-page-header.cjs.entry.js +1 -1
- package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
- package/dist/cjs/bs-popover.cjs.entry.js +1 -1
- package/dist/cjs/bs-presence.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-group.cjs.entry.js +1 -1
- package/dist/cjs/bs-radio.cjs.entry.js +1 -1
- package/dist/cjs/bs-search-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-select.cjs.entry.js +1 -1
- package/dist/cjs/bs-session-timeout.cjs.entry.js +1 -1
- package/dist/cjs/bs-shortcut-row.cjs.entry.js +1 -1
- package/dist/cjs/bs-skip-link.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/bs-split-pane.cjs.entry.js +27 -2
- package/dist/cjs/bs-stack.cjs.entry.js +1 -1
- package/dist/cjs/bs-stat.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-table-of-contents.cjs.entry.js +1 -1
- package/dist/cjs/bs-tag.cjs.entry.js +2 -2
- package/dist/cjs/bs-text.cjs.entry.js +1 -1
- package/dist/cjs/bs-timepicker.cjs.entry.js +2 -2
- package/dist/cjs/bs-toast.cjs.entry.js +1 -1
- package/dist/cjs/bs-toggle-button-group.cjs.entry.js +1 -1
- package/dist/cjs/bs-toggle-button.cjs.entry.js +9 -1
- package/dist/cjs/bs-toolbar.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/components/bs-accordion/bs-accordion.stories.js +26 -2
- package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
- package/dist/collection/components/bs-accordion-group/bs-accordion-group.stories.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.js +3 -3
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.stories.js +1 -1
- package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
- package/dist/collection/components/bs-app-shell/bs-app-shell.stories.js +1 -1
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.stories.js +1 -1
- package/dist/collection/components/bs-app-tile/bs-app-tile.stories.js +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-avatar/bs-avatar.stories.js +1 -1
- package/dist/collection/components/bs-badge/bs-badge.stories.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.stories.js +1 -1
- package/dist/collection/components/bs-button/bs-button/bs-button.stories.js +1 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +1 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.stories.js +1 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.stories.js +1 -1
- package/dist/collection/components/bs-card/bs-card.stories.js +1 -1
- package/dist/collection/components/bs-carousel/bs-carousel.stories.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-skeleton/bs-checkbox-skeleton.stories.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox.stories.js +26 -2
- package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.stories.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.stories.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.cmp.test.js +44 -0
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.css +52 -2
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +139 -7
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.stories.js +8 -1
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.stories.js +1 -1
- package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
- package/dist/collection/components/bs-code-block/bs-code-block.stories.js +1 -1
- package/dist/collection/components/bs-command-palette/bs-command-palette.js +1 -1
- package/dist/collection/components/bs-command-palette/bs-command-palette.stories.js +1 -1
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +1 -1
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.stories.js +1 -1
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +2 -2
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.stories.js +1 -1
- 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-container/bs-container.stories.js +1 -1
- package/dist/collection/components/bs-cookie-consent/bs-cookie-consent.stories.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.cmp.test.js +9 -0
- package/dist/collection/components/bs-data-table/bs-data-table.js +24 -2
- package/dist/collection/components/bs-data-table/bs-data-table.stories.js +1 -1
- package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
- package/dist/collection/components/bs-datepicker/bs-datepicker.stories.js +1 -1
- package/dist/collection/components/bs-description-item/bs-description-item.js +1 -1
- package/dist/collection/components/bs-description-list/bs-description-list.js +1 -1
- package/dist/collection/components/bs-description-list/bs-description-list.stories.js +1 -1
- package/dist/collection/components/bs-dialog/bs-dialog.stories.js +1 -1
- package/dist/collection/components/bs-divider/bs-divider.js +1 -1
- package/dist/collection/components/bs-divider/bs-divider.stories.js +1 -1
- package/dist/collection/components/bs-dropdown/bs-dropdown.js +1 -1
- package/dist/collection/components/bs-dropdown/bs-dropdown.stories.js +1 -1
- package/dist/collection/components/bs-empty-state/bs-empty-state.js +1 -1
- package/dist/collection/components/bs-empty-state/bs-empty-state.stories.js +1 -1
- package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
- package/dist/collection/components/bs-error-page/bs-error-page.stories.js +1 -1
- package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
- package/dist/collection/components/bs-file-upload/bs-file-upload.stories.js +1 -1
- package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
- package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.stories.js +1 -1
- package/dist/collection/components/bs-global-search/bs-global-search.js +2 -2
- package/dist/collection/components/bs-global-search/bs-global-search.stories.js +1 -1
- package/dist/collection/components/bs-grid/bs-grid.js +2 -2
- package/dist/collection/components/bs-grid/bs-grid.stories.js +1 -1
- package/dist/collection/components/bs-heading/bs-heading.js +1 -1
- package/dist/collection/components/bs-heading/bs-heading.stories.js +1 -1
- package/dist/collection/components/bs-icon/bs-icon.js +1 -1
- package/dist/collection/components/bs-icon/bs-icon.stories.js +1 -1
- package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +2 -2
- package/dist/collection/components/bs-icon-tile/bs-icon-tile.stories.js +1 -1
- package/dist/collection/components/bs-input/bs-input.cmp.test.js +12 -0
- package/dist/collection/components/bs-input/bs-input.js +26 -3
- package/dist/collection/components/bs-input/bs-input.stories.js +15 -1
- package/dist/collection/components/bs-key/bs-key.js +1 -1
- package/dist/collection/components/bs-key/bs-key.stories.js +1 -1
- package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
- package/dist/collection/components/bs-key-caps/bs-key-caps.stories.js +1 -1
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.stories.js +1 -1
- package/dist/collection/components/bs-link/bs-link.js +1 -1
- package/dist/collection/components/bs-link/bs-link.stories.js +1 -1
- package/dist/collection/components/bs-list/bs-list.js +1 -1
- package/dist/collection/components/bs-list/bs-list.stories.js +1 -1
- package/dist/collection/components/bs-list-item/bs-list-item.js +1 -1
- package/dist/collection/components/bs-list-item/bs-list-item.stories.js +1 -1
- package/dist/collection/components/bs-logo/bs-logo.stories.js +1 -1
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +1 -1
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +1 -1
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu/bs-menu.stories.js +1 -1
- package/dist/collection/components/bs-menu-block/bs-menu-block.js +3 -3
- package/dist/collection/components/bs-menu-block/bs-menu-block.stories.js +1 -1
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
- package/dist/collection/components/bs-menu-item/bs-menu-item.stories.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-onboarding-checklist/bs-onboarding-checklist.stories.js +1 -1
- package/dist/collection/components/bs-page-header/bs-page-header.js +1 -1
- package/dist/collection/components/bs-page-header/bs-page-header.stories.js +1 -1
- package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
- package/dist/collection/components/bs-pagination/bs-pagination.stories.js +1 -1
- package/dist/collection/components/bs-popover/bs-popover.js +1 -1
- package/dist/collection/components/bs-popover/bs-popover.stories.js +1 -1
- package/dist/collection/components/bs-presence/bs-presence.js +1 -1
- package/dist/collection/components/bs-product-tour/bs-product-tour.stories.js +1 -1
- package/dist/collection/components/bs-progress/bs-progress.js +2 -2
- package/dist/collection/components/bs-progress/bs-progress.stories.js +7 -4
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.stories.js +8 -6
- package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
- package/dist/collection/components/bs-qr-code/bs-qr-code.stories.js +1 -1
- package/dist/collection/components/bs-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-radio/bs-radio.stories.js +1 -1
- package/dist/collection/components/bs-radio-group/bs-radio-group.js +1 -1
- package/dist/collection/components/bs-radio-group/bs-radio-group.stories.js +16 -2
- package/dist/collection/components/bs-ripple/bs-ripple.js +1 -1
- package/dist/collection/components/bs-search-item/bs-search-item.js +1 -1
- package/dist/collection/components/bs-search-item/bs-search-item.stories.js +1 -1
- package/dist/collection/components/bs-select/bs-select.js +1 -1
- package/dist/collection/components/bs-select/bs-select.stories.js +22 -2
- package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
- package/dist/collection/components/bs-session-timeout/bs-session-timeout.stories.js +1 -1
- package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +1 -1
- package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.stories.js +1 -1
- package/dist/collection/components/bs-side-panel/bs-side-panel.stories.js +1 -1
- package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
- package/dist/collection/components/bs-skeleton/bs-skeleton.stories.js +1 -1
- package/dist/collection/components/bs-skip-link/bs-skip-link.js +1 -1
- package/dist/collection/components/bs-skip-link/bs-skip-link.stories.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.stories.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.stories.js +1 -1
- package/dist/collection/components/bs-source-link/bs-source-link.js +3 -3
- package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
- package/dist/collection/components/bs-spinner/bs-spinner.stories.js +1 -1
- package/dist/collection/components/bs-split-pane/bs-split-pane.cmp.test.js +8 -0
- package/dist/collection/components/bs-split-pane/bs-split-pane.js +26 -1
- package/dist/collection/components/bs-split-pane/bs-split-pane.stories.js +1 -1
- package/dist/collection/components/bs-stack/bs-stack.js +1 -1
- package/dist/collection/components/bs-stack/bs-stack.stories.js +1 -1
- package/dist/collection/components/bs-stat/bs-stat.js +1 -1
- package/dist/collection/components/bs-stat/bs-stat.stories.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.stories.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-switch/bs-switch.stories.js +34 -10
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.stories.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.stories.js +1 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.stories.js +20 -2
- package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.js +1 -1
- package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.stories.js +1 -1
- package/dist/collection/components/bs-tag/bs-tag.js +6 -2
- package/dist/collection/components/bs-tag/bs-tag.stories.js +1 -1
- package/dist/collection/components/bs-text/bs-text.js +1 -1
- package/dist/collection/components/bs-text/bs-text.stories.js +1 -1
- package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
- package/dist/collection/components/bs-timepicker/bs-timepicker.stories.js +1 -1
- package/dist/collection/components/bs-toast/bs-toast.js +1 -1
- package/dist/collection/components/bs-toast/bs-toast.stories.js +1 -1
- package/dist/collection/components/bs-toggle-button/bs-toggle-button.cmp.test.js +11 -0
- package/dist/collection/components/bs-toggle-button/bs-toggle-button.js +9 -1
- package/dist/collection/components/bs-toggle-button/bs-toggle-button.stories.js +2 -2
- package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.js +1 -1
- package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.stories.js +34 -4
- package/dist/collection/components/bs-toolbar/bs-toolbar.js +1 -1
- package/dist/collection/components/bs-toolbar/bs-toolbar.stories.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.stories.js +1 -1
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +1 -1
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.stories.js +1 -1
- package/dist/collection/components/bs-tree/bs-tree.js +1 -1
- package/dist/collection/components/bs-tree/bs-tree.stories.js +1 -1
- package/dist/collection/components/bs-tree-item/bs-tree-item.js +2 -2
- package/dist/collection/components/bs-tree-item/bs-tree-item.stories.js +1 -1
- package/dist/collection/components/bs-whats-new/bs-whats-new.stories.js +1 -1
- package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
- package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.stories.js +1 -1
- package/dist/collection/components/tokens/tokens.stories.js +90 -0
- 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.js +2 -2
- package/dist/collection/play-utils.js +24 -0
- 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.js +1 -1
- package/dist/components/bs-app-shell.js +1 -1
- package/dist/components/bs-app-switcher.js +1 -1
- package/dist/components/bs-app-tile.js +1 -1
- 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-breadcrumb-overflow.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-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-code-block.js +1 -1
- package/dist/components/bs-command-palette.js +1 -1
- package/dist/components/bs-compact-menu-block.js +1 -1
- package/dist/components/bs-company-switcher.js +1 -1
- 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-description-item.js +1 -1
- package/dist/components/bs-description-list.js +1 -1
- package/dist/components/bs-dialog.js +1 -1
- package/dist/components/bs-divider.js +1 -1
- package/dist/components/bs-dropdown.js +1 -1
- package/dist/components/bs-empty-state.js +1 -1
- package/dist/components/bs-error-page.js +1 -1
- package/dist/components/bs-file-upload-item.js +1 -1
- package/dist/components/bs-file-upload.js +1 -1
- package/dist/components/bs-global-search.js +1 -1
- package/dist/components/bs-grid.js +1 -1
- package/dist/components/bs-heading.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-icon.js +1 -1
- package/dist/components/bs-inline-tab.js +1 -1
- package/dist/components/bs-input.js +1 -1
- package/dist/components/bs-key-caps.js +1 -1
- package/dist/components/bs-key.js +1 -1
- package/dist/components/bs-keyboard-shortcuts.js +1 -1
- package/dist/components/bs-link.js +1 -1
- package/dist/components/bs-list-item.js +1 -1
- package/dist/components/bs-list.js +1 -1
- package/dist/components/bs-mega-menu.js +1 -1
- package/dist/components/bs-menu-block.js +1 -1
- 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.js +1 -1
- package/dist/components/bs-pagination.js +1 -1
- package/dist/components/bs-popover.js +1 -1
- package/dist/components/bs-presence.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-group.js +1 -1
- package/dist/components/bs-radio.js +1 -1
- package/dist/components/bs-ripple.js +1 -1
- package/dist/components/bs-search-item.js +1 -1
- package/dist/components/bs-select.js +1 -1
- package/dist/components/bs-session-timeout.js +1 -1
- package/dist/components/bs-shortcut-row.js +1 -1
- package/dist/components/bs-side-panel.js +1 -1
- package/dist/components/bs-skeleton.js +1 -1
- package/dist/components/bs-skip-link.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-stat.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-table-of-contents.js +1 -1
- package/dist/components/bs-tabs.js +1 -1
- package/dist/components/bs-tag.js +1 -1
- package/dist/components/bs-text.js +1 -1
- package/dist/components/bs-timepicker.js +1 -1
- package/dist/components/bs-toast.js +1 -1
- package/dist/components/bs-toggle-button-group.js +1 -1
- package/dist/components/bs-toggle-button.js +1 -1
- package/dist/components/bs-toolbar.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-BFv-3K2u.js → p-9Y5WEZ6K.js} +1 -1
- package/dist/components/{p-Bn3Yxpe1.js → p-AnA6S3Em.js} +1 -1
- package/dist/components/{p-hfcWxH0R.js → p-AwofMhxC.js} +1 -1
- package/dist/components/p-BRCMyssd.js +1 -0
- package/dist/components/{p-CrSwhBz7.js → p-BgB9tIB9.js} +1 -1
- package/dist/components/p-BlZZNwM2.js +1 -0
- package/dist/components/{p-C7Qr4akd.js → p-BnsfpSS7.js} +1 -1
- package/dist/components/p-BoA3sM-2.js +1 -0
- package/dist/components/p-Btp5hXvc.js +1 -0
- package/dist/components/{p-CkQ7TJdL.js → p-Bu_sXonm.js} +1 -1
- package/dist/components/{p-DrlNm0Cv.js → p-BvR122Y2.js} +1 -1
- package/dist/components/{p-B1Id2OKX.js → p-BwVQ-DXP.js} +1 -1
- package/dist/components/{p-C7IrV6pt.js → p-C5CNfDjK.js} +1 -1
- package/dist/components/{p-DY2EHN4U.js → p-CBGHGry4.js} +1 -1
- package/dist/components/p-CFzdwJ2g.js +1 -0
- package/dist/components/{p-B-gdXga9.js → p-CZWWrlb3.js} +1 -1
- package/dist/components/{p-C0RV5-An.js → p-Cipc052L.js} +1 -1
- package/dist/components/{p-BVX8P6fl.js → p-CjUxGdnN.js} +1 -1
- package/dist/components/{p-AlcZrDeY.js → p-CqRS2iPv.js} +1 -1
- package/dist/components/{p-CGFmvCoE.js → p-Czo6AWrI.js} +1 -1
- package/dist/components/{p-i5Q__opK.js → p-DAmDb3zb.js} +1 -1
- package/dist/components/{p-Cm-s0vin.js → p-DehAshCb.js} +1 -1
- package/dist/components/{p-CJw83LkA.js → p-DikZ1mnx.js} +1 -1
- package/dist/components/{p-CvaS1abm.js → p-DoiTWM4q.js} +1 -1
- package/dist/components/{p-BPxT7mqc.js → p-Lj6_zdoI.js} +1 -1
- package/dist/components/{p-BanNal67.js → p-Ov2urmo_.js} +1 -1
- package/dist/components/{p-CWcci6TX.js → p-cf5C02kt.js} +1 -1
- package/dist/components/{p-oc6e6_D0.js → p-hg8kUgz5.js} +1 -1
- package/dist/components/{p-CFjeYXmC.js → p-liC69VdX.js} +1 -1
- package/dist/components/{p--AN2lu8b.js → p-nZqO4uTL.js} +1 -1
- package/dist/components/{p-bsKorXp2.js → p-nf0fN-PV.js} +1 -1
- package/dist/components/{p-BabS3w3f.js → p-sXYR1kkr.js} +1 -1
- package/dist/components/{p-Bm1A449h.js → p-u6CTJrPs.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 +4 -4
- package/dist/esm/bs-app-shell.entry.js +1 -1
- package/dist/esm/bs-attachment-list.entry.js +1 -1
- package/dist/esm/bs-breadcrumbs.entry.js +1 -1
- package/dist/esm/bs-button-skeleton.entry.js +1 -1
- package/dist/esm/bs-button_2.entry.js +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-chip-informative.entry.js +32 -3
- 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 +1 -1
- package/dist/esm/bs-compact-menu-block_2.entry.js +4 -4
- package/dist/esm/bs-company-switcher.entry.js +2 -2
- 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 +4 -2
- package/dist/esm/bs-datepicker.entry.js +1 -1
- package/dist/esm/bs-description-item.entry.js +1 -1
- package/dist/esm/bs-description-list.entry.js +1 -1
- package/dist/esm/bs-divider.entry.js +1 -1
- package/dist/esm/bs-dropdown.entry.js +1 -1
- package/dist/esm/bs-empty-state.entry.js +1 -1
- package/dist/esm/bs-error-page.entry.js +1 -1
- package/dist/esm/bs-file-upload-item.entry.js +1 -1
- package/dist/esm/bs-file-upload.entry.js +1 -1
- package/dist/esm/bs-global-search.entry.js +2 -2
- package/dist/esm/bs-grid.entry.js +2 -2
- package/dist/esm/bs-heading.entry.js +1 -1
- package/dist/esm/bs-icon-button.entry.js +1 -1
- package/dist/esm/bs-icon-tile.entry.js +2 -2
- package/dist/esm/bs-icon.entry.js +1 -1
- package/dist/esm/bs-inline-tab.entry.js +1 -1
- package/dist/esm/bs-input_4.entry.js +9 -6
- package/dist/esm/bs-key-caps.entry.js +1 -1
- package/dist/esm/bs-key.entry.js +1 -1
- package/dist/esm/bs-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/bs-link.entry.js +1 -1
- package/dist/esm/bs-list-item.entry.js +1 -1
- package/dist/esm/bs-list.entry.js +1 -1
- package/dist/esm/bs-mega-menu.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/bs-page-header.entry.js +1 -1
- package/dist/esm/bs-pagination.entry.js +1 -1
- package/dist/esm/bs-popover.entry.js +1 -1
- package/dist/esm/bs-presence.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-group.entry.js +1 -1
- package/dist/esm/bs-radio.entry.js +1 -1
- package/dist/esm/bs-search-item.entry.js +1 -1
- package/dist/esm/bs-select.entry.js +1 -1
- package/dist/esm/bs-session-timeout.entry.js +1 -1
- package/dist/esm/bs-shortcut-row.entry.js +1 -1
- package/dist/esm/bs-skip-link.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/bs-split-pane.entry.js +27 -2
- package/dist/esm/bs-stack.entry.js +1 -1
- package/dist/esm/bs-stat.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-table-of-contents.entry.js +1 -1
- package/dist/esm/bs-tag.entry.js +2 -2
- package/dist/esm/bs-text.entry.js +1 -1
- package/dist/esm/bs-timepicker.entry.js +2 -2
- package/dist/esm/bs-toast.entry.js +1 -1
- package/dist/esm/bs-toggle-button-group.entry.js +1 -1
- package/dist/esm/bs-toggle-button.entry.js +9 -1
- package/dist/esm/bs-toolbar.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-chip/bs-chip-informative/bs-chip-informative.d.ts +29 -5
- package/dist/types/components/bs-chip/bs-chip-informative/bs-chip-informative.stories.d.ts +2 -0
- package/dist/types/components/bs-data-table/bs-data-table.d.ts +2 -0
- package/dist/types/components/bs-input/bs-input.d.ts +3 -0
- package/dist/types/components/bs-progress/bs-progress.stories.d.ts +1 -0
- package/dist/types/components/bs-progress-linear/bs-progress-linear.stories.d.ts +1 -0
- package/dist/types/components/bs-split-pane/bs-split-pane.d.ts +3 -0
- package/dist/types/components/bs-tag/bs-tag.d.ts +4 -0
- package/dist/types/components/bs-toggle-button/bs-toggle-button.d.ts +1 -0
- package/dist/types/components/tokens/tokens.stories.d.ts +12 -0
- package/dist/types/components.d.ts +129 -16
- package/dist/types/play-utils.d.ts +6 -0
- package/dist/types/raw-css.d.ts +4 -0
- package/package.json +1 -5
- package/reference.d.ts +1 -1
- package/reference.json +6 -1
- package/dist/brandsync-wc/p-06277bb8.entry.js +0 -1
- package/dist/brandsync-wc/p-0d3d56ef.entry.js +0 -1
- package/dist/brandsync-wc/p-4865d4e1.entry.js +0 -1
- package/dist/brandsync-wc/p-48ce098c.entry.js +0 -1
- package/dist/brandsync-wc/p-6f0b5a91.entry.js +0 -1
- package/dist/brandsync-wc/p-80feac7e.entry.js +0 -1
- package/dist/brandsync-wc/p-82c8fde1.entry.js +0 -1
- package/dist/brandsync-wc/p-99db8fca.entry.js +0 -1
- package/dist/brandsync-wc/p-bcb1730e.entry.js +0 -1
- package/dist/components/p-BCbaDQnq.js +0 -1
- package/dist/components/p-BoAmKy-C.js +0 -1
- package/dist/components/p-Cz7CuNiM.js +0 -1
- package/dist/components/p-DE2x8-lX.js +0 -1
- package/dist/components/p-U9f09E0n.js +0 -1
|
@@ -93,7 +93,7 @@ export class BsChatbotHeader {
|
|
|
93
93
|
this.bsClose.emit();
|
|
94
94
|
};
|
|
95
95
|
render() {
|
|
96
|
-
return (h("div", { key: '
|
|
96
|
+
return (h("div", { key: 'f4af6b3c3f996a666c489460b8c7ee5606afca88', class: "bs-chatbot-header", role: "banner", "aria-label": this.heading }, h("div", { key: '76ae875ccc0c1b43e9d6e7a6bd09384a02c3501f', part: "logo", class: "bs-chatbot-header__logo", role: "img", "aria-label": this.heading, innerHTML: GENIE_LOGO_SVG }), h("div", { key: 'd3e3295e950620b1cec1252fb2b660abbd26a44f', class: "bs-chatbot-header__actions" }, h("slot", { key: '20c7f8d0e88f745cda84b5d4ee5969c836123888', name: "actions" }), !this.hideNewChat && (h("span", { key: '67861d670518cef04814bdeb89d746e641817c45', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'bcc2183039f98b1bdf71d9c3dfd9574df2fbd729', type: "button", part: "new-chat", class: "bs-chatbot-header__button", "aria-label": this.newChatLabel, onClick: this.onNewChatClick }, h("slot", { key: '88f81fac2f13c357528f94ecbf878c86048b2641', name: "new-chat-icon" }, h("bs-icon", { key: '5c4f29052d52a45389bc1751be18ec80f593d75e', name: "note-pencil", tone: "inherit" }))), h("bs-tooltip", { key: '52f3d41000a680859cd4a54bff7e0273b71a756f', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.newChatLabel))), !this.hideHistory && (h("span", { key: 'd6d12033de989242202b725152fde082c4c6eaa7', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'd40e0d613134868624784ac2e92137bff39cf0b1', type: "button", part: "history", class: "bs-chatbot-header__button", "aria-label": this.historyLabel, onClick: this.onHistoryClick }, h("slot", { key: '9964a8421bae2465338eb996e322685d5bce400a', name: "history-icon" }, h("bs-icon", { key: 'ea5e7506c24c9c0b81c1055b058d840d1465e840', name: "clock-counter-clockwise", tone: "inherit" }))), h("bs-tooltip", { key: '6243276d44b8e05e24a2c181e4c26648a948012d', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.historyLabel))), !this.hideExpand && (h("span", { key: '312ea7a98ea46d43489238dc401dfb2372cf930e', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'bd91b54f0d223581ce11b8e822d20fc086e08f53', type: "button", part: "expand", class: "bs-chatbot-header__button", "aria-label": this.expanded ? this.collapseLabel : this.expandLabel, "aria-pressed": this.expanded ? 'true' : 'false', onClick: this.onExpandClick }, h("slot", { key: '30681da54be071a42148aaa669dc1bd844a27330', name: "expand-icon" }, h("bs-icon", { key: '9437280b46eb18fc63a61c96e9511fbf27754eb9', name: "arrows-out-simple", tone: "inherit" }))), h("bs-tooltip", { key: '6b8b42c597abce0352698d9be7cf7aa4542a8916', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.expanded ? this.collapseLabel : this.expandLabel))), !this.hideClose && (h("span", { key: '829728375158a9c5d0bb834ff9941e975c7aad15', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '9f2bfe450918d0a52e89cb1689606b77ca42ad0c', type: "button", part: "close", class: "bs-chatbot-header__button", "aria-label": this.closeLabel, onClick: this.onCloseClick }, h("slot", { key: '4288e97968a057d8fab5c6d1090ea326137e1684', name: "close-icon" }, h("bs-icon", { key: '13dec8f5717b84984ab82dfb530817bbc6a2156d', name: "x", tone: "inherit" }))), h("bs-tooltip", { key: '8582c56e924aa118baa88e8adcc138edbfca6512', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.closeLabel))))));
|
|
97
97
|
}
|
|
98
98
|
static get is() { return "bs-chatbot-header"; }
|
|
99
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -128,7 +128,7 @@ export class BsChatbotResponseAction {
|
|
|
128
128
|
};
|
|
129
129
|
render() {
|
|
130
130
|
const hasSources = !!this.sourcesCount && this.sourcesCount > 0;
|
|
131
|
-
return (h("div", { key: '
|
|
131
|
+
return (h("div", { key: 'f0dc5cc09ed49ba45063b783391a26bdc091bd78', class: "bs-chatbot-response-action" }, h("button", { key: 'cd9b804ffb233d5fd25c62a58ed74758cdffc2cd', type: "button", part: "like", class: "bs-chatbot-response-action__button", "aria-label": this.likeLabel, "aria-pressed": this.liked ? 'true' : 'false', onClick: this.onLikeClick }, h("bs-ripple", { key: 'dcd8efd2ea54776a761f77dabea7bbf4cf0a62e5', part: "ripple", centered: true }), h("slot", { key: '32d1073ef215c80d2dbe1058fef3ea3717bbd097', name: "like-icon" }, h(ThumbsUpIcon, { key: '466782a38934888fabd95b8cb8bf2850336ea5f1' }))), h("button", { key: '43ac21d60aac33e5442149195337660390988f99', type: "button", part: "dislike", class: "bs-chatbot-response-action__button", "aria-label": this.dislikeLabel, "aria-pressed": this.disliked ? 'true' : 'false', onClick: this.onDislikeClick }, h("bs-ripple", { key: '5883f026e01da5a9e61df3f18f95f2bc19648f25', part: "ripple", centered: true }), h("slot", { key: '58f64bcb0c9d621b54e344fec54b006fd55e13b7', name: "dislike-icon" }, h(ThumbsDownIcon, { key: '22c666c658c9920533108dae46a6dd4e0763264f' }))), h("button", { key: 'f8755e1628505a49b20f1fbf4240d6783610e18a', type: "button", part: "copy", class: "bs-chatbot-response-action__button", "aria-label": this.copyLabel, onClick: this.onCopyClick }, h("bs-ripple", { key: 'fa20e3f8f721474631c6847e57c75d0a3dabca3c', part: "ripple", centered: true }), h("slot", { key: 'fe545bb8594f3c8b7651d231da82b02055af94f8', name: "copy-icon" }, h(CopyIcon, { key: '6fc875a8d0be6be4a18491ad01deb6a7bf3b59ba' }))), !this.hideRegenerate && (h("button", { key: '1d1274c42b1a08f315b2f174c374c718311d8665', type: "button", part: "regenerate", class: "bs-chatbot-response-action__button", "aria-label": this.regenerateLabel, onClick: this.onRegenerateClick }, h("bs-ripple", { key: 'bbe0dcd294dd44f872271cb659fae3b4426cf764', part: "ripple", centered: true }), h("slot", { key: '1101558481d32745c21d9e1ed9eed85be6d12788', name: "regenerate-icon" }, h(RegenerateIcon, { key: 'd68e9e701f90b55c0d1bd8e92a881df004056743' })))), h("div", { key: '4f6ea1f72bd4c7302f8d524a334ee7858bc44191', class: "bs-chatbot-response-action__menu-wrapper" }, h("button", { key: '790f909a523e61eed9311e407fe5267aea342aa2', type: "button", part: "menu", class: "bs-chatbot-response-action__button", "aria-label": this.menuLabel, "aria-haspopup": "menu", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: this.onMenuClick }, h("bs-ripple", { key: '96d9f13c6d3764ad1ad1ea299f1922d6e733ba07', part: "ripple", centered: true }), h("slot", { key: '900d4f2d013f252f1e501e0c76f2f045c4fdacc3', name: "menu-icon" }, h(MenuIcon, { key: '8593a8d4fc1b0fe64b2131a7e83339af5b597b2b' }))), this.menuOpen && (h("div", { key: 'fb189d08ccb8081422b34bad27076ee1a2fe5a61', class: "bs-chatbot-response-action__menu-popup" }, h("slot", { key: 'e737f08f405b1e8624eff45f7d4954e15c4b3dc1', name: "menu" })))), hasSources && (h("button", { key: '40e7dc9342f9e572a28ed75040f5f895fc5021db', type: "button", part: "sources", class: "bs-chatbot-response-action__sources", onClick: this.onSourcesClick }, h("slot", { key: '7742424b87f504f9f8da7435b180c60844a0ca33', name: "sources-icon" }, h(SourcesIcon, { key: '6114092b17ba3b7625839c3b3ae05a4b279251c6' })), h("span", { key: 'e837591c04f96032144fde694e43b43111eb3649', class: "bs-chatbot-response-action__sources-label" }, this.sourcesCount, " ", this.sourcesCount === 1 ? this.sourceLabel : this.sourcesLabel)))));
|
|
132
132
|
}
|
|
133
133
|
static get is() { return "bs-chatbot-response-action"; }
|
|
134
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class BsChatbotSourcesDrawer {
|
|
|
59
59
|
};
|
|
60
60
|
render() {
|
|
61
61
|
const displayCount = this.count ?? this.slottedCount;
|
|
62
|
-
return (h("div", { key: '
|
|
62
|
+
return (h("div", { key: '61d640b674c4172b966b83241ac1a9afd3cf69f3', class: "bs-chatbot-sources-drawer", role: "region", "aria-label": this.heading }, h("div", { key: 'eaf6770473f3ca314b2c407c96d3d7264ff1012d', class: "bs-chatbot-sources-drawer__header" }, h("div", { key: 'a14ae1e6d3bf81022ea8c37ad737c01a311320fb', class: "bs-chatbot-sources-drawer__title-group" }, h("h2", { key: '67528b4b47a28f66b3fde6815dbf2ce93a86d323', part: "heading", class: "bs-chatbot-sources-drawer__heading" }, this.heading), displayCount > 0 && (h("span", { key: 'dfde59aeac5a8dd8bedaf4300bbb419199df3e1b', part: "count", class: "bs-chatbot-sources-drawer__count" }, displayCount))), h("button", { key: '4e2a76822944717e241a5d485be74c18c0b6af59', type: "button", part: "collapse", class: "bs-chatbot-sources-drawer__collapse", "aria-label": this.collapseLabel, onClick: this.onCollapseClick }, h("slot", { key: '471f8a2e69db306805c97c347449e19161cce090', name: "collapse-icon" }, h(CaretRightIcon, { key: 'd0eee603e026e16ba0aafb849ee2bc90bf9cf426' })))), h("div", { key: '0ade2bac2080cc689fbb733c6c392289579f7991', part: "list", class: "bs-chatbot-sources-drawer__list" }, h("slot", { key: 'd90627af61ce3786fb46513aa02e26f9f3ba94e9', onSlotchange: this.onSlotchange }))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "bs-chatbot-sources-drawer"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js
CHANGED
|
@@ -46,7 +46,7 @@ export class BsChatbotSuggestionButton {
|
|
|
46
46
|
this.bsSelect.emit();
|
|
47
47
|
};
|
|
48
48
|
render() {
|
|
49
|
-
return (h("button", { key: '
|
|
49
|
+
return (h("button", { key: '69b29ca6ff36ba7260b511ff362e1c9c2eff5684', type: "button", part: "button", class: "bs-chatbot-suggestion-button", disabled: this.disabled, onClick: this.onClick }, h("bs-ripple", { key: '541f68aabbce33669116995107561003bd2d79bb', part: "ripple", centered: false, disabled: this.disabled }), h("slot", { key: '355bab2f02518ec0cfdcb5a01a8d8c582193883d' })));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "bs-chatbot-suggestion-button"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,7 +35,7 @@ export class BsCheckboxSkeleton {
|
|
|
35
35
|
/** Accessible name announced for the loading placeholder. */
|
|
36
36
|
loadingLabel = 'Loading';
|
|
37
37
|
render() {
|
|
38
|
-
return (h("span", { key: '
|
|
38
|
+
return (h("span", { key: 'dfd9739615264d9d7da1d6ce427322286f5dc378', part: "container", class: "bs-checkbox-skeleton", role: "status", "aria-label": this.loadingLabel }, h("span", { key: 'dd7121def819b661c5d7d89de55710767823a75c', part: "box", class: `bs-checkbox-skeleton__box bs-checkbox-skeleton__box--${this.size}` }), h("span", { key: '206f464ac5e4fd9c1489fd5845b70e976617f0da', part: "label", class: "bs-checkbox-skeleton__label" })));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "bs-checkbox-skeleton"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.stories.js
CHANGED
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription, propDescription } from "../../../stories-utils";
|
|
3
3
|
const sizes = ['sm', 'md', 'lg'];
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-checkbox-skeleton',
|
|
5
|
+
title: 'Components/Forms/bs-checkbox-skeleton',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-checkbox-skeleton') } } },
|
|
7
7
|
render: args => html `<bs-checkbox-skeleton size=${args.size}></bs-checkbox-skeleton>`,
|
|
8
8
|
argTypes: {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { html } from "lit";
|
|
2
2
|
import { componentDescription, propDescription } from "../../stories-utils";
|
|
3
|
+
import { expect, userEvent, waitFor } from "storybook/test";
|
|
4
|
+
import { ready, inShadow, recordEvents } from "../../play-utils";
|
|
3
5
|
const sizes = ['sm', 'md', 'lg'];
|
|
4
6
|
const meta = {
|
|
5
|
-
title: 'Components/bs-checkbox',
|
|
7
|
+
title: 'Components/Forms/bs-checkbox',
|
|
6
8
|
parameters: { docs: { description: { component: componentDescription('bs-checkbox') } } },
|
|
7
9
|
render: args => html `
|
|
8
10
|
<bs-checkbox
|
|
@@ -33,7 +35,20 @@ const meta = {
|
|
|
33
35
|
},
|
|
34
36
|
};
|
|
35
37
|
export default meta;
|
|
36
|
-
export const Default = {
|
|
38
|
+
export const Default = {
|
|
39
|
+
play: async ({ canvasElement }) => {
|
|
40
|
+
const host = await ready(canvasElement, 'bs-checkbox');
|
|
41
|
+
const changes = recordEvents(host, 'bsChange');
|
|
42
|
+
const input = inShadow(host, 'input');
|
|
43
|
+
await expect(input).not.toBeChecked();
|
|
44
|
+
await userEvent.click(input);
|
|
45
|
+
await waitFor(() => expect(input).toBeChecked());
|
|
46
|
+
await expect(changes.map(e => e.detail)).toEqual([true]);
|
|
47
|
+
await userEvent.click(input);
|
|
48
|
+
await waitFor(() => expect(input).not.toBeChecked());
|
|
49
|
+
await expect(changes.map(e => e.detail)).toEqual([true, false]);
|
|
50
|
+
},
|
|
51
|
+
};
|
|
37
52
|
export const Horizontal = {
|
|
38
53
|
// A layout demo, not a real prop -- bs-checkbox has no orientation/group concept of its own
|
|
39
54
|
// (unlike Carbon's <cds-checkbox-group>), so arranging multiple instances in a row is purely the
|
|
@@ -54,6 +69,15 @@ export const Indeterminate = {
|
|
|
54
69
|
};
|
|
55
70
|
export const Disabled = {
|
|
56
71
|
args: { disabled: true },
|
|
72
|
+
play: async ({ canvasElement }) => {
|
|
73
|
+
const host = await ready(canvasElement, 'bs-checkbox');
|
|
74
|
+
const changes = recordEvents(host, 'bsChange');
|
|
75
|
+
const input = inShadow(host, 'input');
|
|
76
|
+
await expect(input).toBeDisabled();
|
|
77
|
+
await userEvent.click(input);
|
|
78
|
+
await expect(input.checked).toBe(false);
|
|
79
|
+
await expect(changes).toHaveLength(0);
|
|
80
|
+
},
|
|
57
81
|
};
|
|
58
82
|
export const DisabledChecked = {
|
|
59
83
|
name: 'Disabled + checked',
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
3
3
|
import { componentDescription } from "../../stories-utils";
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-checkbox-group',
|
|
5
|
+
title: 'Components/Forms/bs-checkbox-group',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-checkbox-group') } } },
|
|
7
7
|
render: args => html `
|
|
8
8
|
<bs-checkbox-group
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { html } from "lit";
|
|
2
2
|
import { componentDescription, propDescription } from "../../../stories-utils";
|
|
3
3
|
const meta = {
|
|
4
|
-
title: 'Components/bs-chip/bs-chip-filter',
|
|
4
|
+
title: 'Components/Data display/bs-chip/bs-chip-filter',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-chip-filter') } } },
|
|
6
6
|
render: args => html `
|
|
7
7
|
<bs-chip-filter size=${args.size} ?selected=${args.selected} ?dropdown=${args.dropdown} ?disabled=${args.disabled}>${args.label}</bs-chip-filter>
|
package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.cmp.test.js
CHANGED
|
@@ -40,4 +40,48 @@ describe('bs-chip-informative', () => {
|
|
|
40
40
|
const { root } = await render(h("bs-chip-informative", null, "Active"));
|
|
41
41
|
expect(root).toHaveTextContent('Active');
|
|
42
42
|
});
|
|
43
|
+
describe('removable and href (replaces bs-tag)', () => {
|
|
44
|
+
const removeBtn = (root) => root.shadowRoot.querySelector('[part="remove"]');
|
|
45
|
+
it('is non-interactive by default: no remove button and no link', async () => {
|
|
46
|
+
const { root } = await render(h("bs-chip-informative", null, "Label"));
|
|
47
|
+
expect(removeBtn(root)).toBeNull();
|
|
48
|
+
expect(root.shadowRoot.querySelector('a')).toBeNull();
|
|
49
|
+
expect(root.shadowRoot.querySelector('[part="label"]').tagName).toBe('SPAN');
|
|
50
|
+
});
|
|
51
|
+
it('removable renders a named remove button, reflects the attribute and emits bsRemove on click', async () => {
|
|
52
|
+
const { root, spyOnEvent, waitForChanges } = await render(h("bs-chip-informative", { removable: true }, "Design"));
|
|
53
|
+
await waitForChanges();
|
|
54
|
+
expect(root).toHaveAttribute('removable');
|
|
55
|
+
expect(removeBtn(root).ariaLabel).toBe('Remove Design');
|
|
56
|
+
const spy = spyOnEvent('bsRemove');
|
|
57
|
+
removeBtn(root).click();
|
|
58
|
+
expect(spy).toHaveReceivedEventTimes(1);
|
|
59
|
+
});
|
|
60
|
+
it('removeLabel changes the prefix of the remove button name', async () => {
|
|
61
|
+
const { root, waitForChanges } = await render(h("bs-chip-informative", { removable: true, removeLabel: "Fjern" }, "Design"));
|
|
62
|
+
await waitForChanges();
|
|
63
|
+
expect(removeBtn(root).ariaLabel).toBe('Fjern Design');
|
|
64
|
+
});
|
|
65
|
+
it('href renders a real link, and target="_blank" adds rel="noopener noreferrer"', async () => {
|
|
66
|
+
const { root } = await render(h("bs-chip-informative", { href: "/topics/design", target: "_blank" }, "Design"));
|
|
67
|
+
const a = root.shadowRoot.querySelector('a[part="label"]');
|
|
68
|
+
expect(a).not.toBeNull();
|
|
69
|
+
expect(a.getAttribute('href')).toBe('/topics/design');
|
|
70
|
+
expect(a.getAttribute('rel')).toBe('noopener noreferrer');
|
|
71
|
+
});
|
|
72
|
+
it('can be a link and removable at the same time', async () => {
|
|
73
|
+
const { root } = await render(h("bs-chip-informative", { href: "#x", removable: true }, "Design"));
|
|
74
|
+
expect(root.shadowRoot.querySelector('a[part="label"]')).not.toBeNull();
|
|
75
|
+
expect(removeBtn(root)).not.toBeNull();
|
|
76
|
+
});
|
|
77
|
+
it('disabled is never a link, and its remove button is disabled and emits nothing', async () => {
|
|
78
|
+
const { root, spyOnEvent, waitForChanges } = await render(h("bs-chip-informative", { disabled: true, href: "#x", removable: true }, "Design"));
|
|
79
|
+
await waitForChanges();
|
|
80
|
+
expect(root.shadowRoot.querySelector('a')).toBeNull();
|
|
81
|
+
expect(removeBtn(root).disabled).toBe(true);
|
|
82
|
+
const spy = spyOnEvent('bsRemove');
|
|
83
|
+
removeBtn(root).shadowRoot.querySelector('button').click();
|
|
84
|
+
expect(spy).not.toHaveReceivedEvent();
|
|
85
|
+
});
|
|
86
|
+
});
|
|
43
87
|
});
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
* @prop --bs-chip-informative-font-size: Aliased to --bs-font-size-sm (size="md"/"lg").
|
|
21
21
|
* @prop --bs-chip-informative-line-height: Aliased to --bs-line-height-body-sm (size="md"/"lg").
|
|
22
22
|
* @prop --bs-chip-informative-font-weight: Aliased to --bs-font-weight-regular.
|
|
23
|
+
* @prop --bs-chip-informative-padding-right-removable: Right-edge padding when `removable` (the remove
|
|
24
|
+
* button supplies its own visual padding). Aliased to --bs-spacing-50.
|
|
25
|
+
* @prop --bs-chip-informative-focus-ring: Focus ring colour of the link label. Aliased to
|
|
26
|
+
* --bs-border-neutral-focus.
|
|
23
27
|
*
|
|
24
28
|
* Color (background/text per color/disabled) comes directly from brandsync-tokens' own pre-built
|
|
25
29
|
* chip token set below -- shared across the whole bs-chip family, not local to this component,
|
|
@@ -48,6 +52,8 @@
|
|
|
48
52
|
--bs-chip-informative-font-size: var(--bs-font-size-sm);
|
|
49
53
|
--bs-chip-informative-line-height: var(--bs-line-height-body-sm);
|
|
50
54
|
--bs-chip-informative-font-weight: var(--bs-font-weight-regular);
|
|
55
|
+
--bs-chip-informative-padding-right-removable: var(--bs-spacing-50);
|
|
56
|
+
--bs-chip-informative-focus-ring: var(--bs-border-neutral-focus);
|
|
51
57
|
}
|
|
52
58
|
|
|
53
59
|
:host(.bs-chip-informative--lg) {
|
|
@@ -68,16 +74,34 @@
|
|
|
68
74
|
line-height: calc(var(--bs-chip-informative-line-height-sm) * 1px);
|
|
69
75
|
}
|
|
70
76
|
|
|
71
|
-
:host(.
|
|
77
|
+
/* Padding lives on an inner element, not :host -- page-level resets (e.g. Tailwind preflight's
|
|
78
|
+
`* { padding: 0 }`) outrank :host rules and would otherwise strip it. */
|
|
79
|
+
.bs-chip-informative__body {
|
|
80
|
+
display: inline-flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
box-sizing: border-box;
|
|
83
|
+
height: 100%;
|
|
84
|
+
gap: var(--bs-chip-informative-gap);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:host(.bs-chip-informative--icon) .bs-chip-informative__body {
|
|
72
88
|
padding-inline-start: var(--bs-chip-informative-padding-x-glyph-side);
|
|
73
89
|
padding-inline-end: var(--bs-chip-informative-padding-right-icon-variant);
|
|
74
90
|
}
|
|
75
91
|
|
|
76
|
-
:host(.bs-chip-informative--text) {
|
|
92
|
+
:host(.bs-chip-informative--text) .bs-chip-informative__body {
|
|
77
93
|
padding-inline-start: var(--bs-chip-informative-padding-x-plain-side);
|
|
78
94
|
padding-inline-end: var(--bs-chip-informative-padding-x-plain-side);
|
|
79
95
|
}
|
|
80
96
|
|
|
97
|
+
:host(.bs-chip-informative--removable) .bs-chip-informative__body {
|
|
98
|
+
padding-inline-end: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host(.bs-chip-informative--removable) {
|
|
102
|
+
padding-inline-end: var(--bs-chip-informative-padding-right-removable);
|
|
103
|
+
}
|
|
104
|
+
|
|
81
105
|
.bs-chip-informative__icon {
|
|
82
106
|
display: none;
|
|
83
107
|
flex-shrink: 0;
|
|
@@ -102,6 +126,32 @@
|
|
|
102
126
|
align-items: center;
|
|
103
127
|
}
|
|
104
128
|
|
|
129
|
+
.bs-chip-informative__label--link {
|
|
130
|
+
color: inherit;
|
|
131
|
+
text-decoration: underline;
|
|
132
|
+
border-radius: var(--bs-border-radius-50);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.bs-chip-informative__label--link:hover {
|
|
136
|
+
text-decoration-thickness: 2px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.bs-chip-informative__label--link:focus-visible {
|
|
140
|
+
outline: 2px solid var(--bs-chip-informative-focus-ring);
|
|
141
|
+
outline-offset: 2px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.bs-chip-informative__remove {
|
|
145
|
+
/* bs-icon-button's host is inline-block, so its inner <button> sits in a text line box that
|
|
146
|
+
inherits the chip's line-height and rests on the baseline -- the glyph drifts below centre.
|
|
147
|
+
A flex host has no line box, so the button is centred by the chip's align-items. */
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
flex-shrink: 0;
|
|
152
|
+
color: inherit;
|
|
153
|
+
}
|
|
154
|
+
|
|
105
155
|
:host(.bs-chip-informative--neutral) {
|
|
106
156
|
background: var(--bs-chip-bg-neutral-container);
|
|
107
157
|
color: var(--bs-chip-text-neutral);
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
|
-
* A pill-shaped
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* A pill-shaped label for conveying a category or status at a glance, optionally paired with a
|
|
4
|
+
* leading icon. By default it is purely informational -- no click/select behavior, no
|
|
5
|
+
* hover/focus/pressed states. Two opt-ins cover what used to need a separate `bs-tag`: `removable`
|
|
6
|
+
* adds a remove button (`bsRemove`), and `href` turns the label into a link.
|
|
6
7
|
*
|
|
7
8
|
* ## When to use
|
|
8
9
|
* - Conveying a category or status inline with other content, with more color options and an
|
|
9
10
|
* optional icon than `bs-badge` offers.
|
|
11
|
+
* - Metadata on a record (topics, keywords, owners) that can be removed one by one (`removable`) or
|
|
12
|
+
* that leads to a filtered view or detail page (`href`).
|
|
10
13
|
*
|
|
11
14
|
* ## When not to use
|
|
12
|
-
* -
|
|
15
|
+
* - Toggling a filter on and off -- use `bs-chip-filter`; entering free-text values -- use
|
|
16
|
+
* `bs-chip-input`.
|
|
13
17
|
* - A short, fixed status label with no color/icon needs -- `bs-badge` is the simpler choice.
|
|
14
18
|
*
|
|
19
|
+
* **Built from:** `bs-icon-button` (the remove control, `size="xs"`).
|
|
20
|
+
*
|
|
15
21
|
* @slot - Default slot: the chip's label content.
|
|
16
22
|
* @slot icon - Optional leading icon.
|
|
17
23
|
* @part icon - The icon wrapper element.
|
|
18
|
-
* @part label - The text label element.
|
|
24
|
+
* @part label - The text label element (a link when `href` is set).
|
|
25
|
+
* @part remove - The remove button (`bs-icon-button`), only when `removable`.
|
|
19
26
|
*/
|
|
20
27
|
export class BsChipInformative {
|
|
21
28
|
el;
|
|
@@ -30,12 +37,37 @@ export class BsChipInformative {
|
|
|
30
37
|
/** Overrides `color` with the disabled token set, regardless of its value. Reflected so
|
|
31
38
|
* `:host([disabled])` can apply it in CSS. */
|
|
32
39
|
disabled = false;
|
|
40
|
+
/** Shows a remove button that emits `bsRemove`. The consumer removes the element. Off by default,
|
|
41
|
+
* so a plain chip stays non-interactive. */
|
|
42
|
+
removable = false;
|
|
43
|
+
/** Turns the label into a link to this URL. Ignored while `disabled`. */
|
|
44
|
+
href;
|
|
45
|
+
/** Link target, only used with `href`. `_blank` also sets `rel="noopener noreferrer"`. */
|
|
46
|
+
target;
|
|
47
|
+
/** Prefix of the remove button's accessible name ("Remove {label}"). */
|
|
48
|
+
removeLabel = 'Remove';
|
|
49
|
+
/** Fires when the remove button is activated, only when `removable`. No payload; the consumer
|
|
50
|
+
* removes the chip. Move focus somewhere sensible in your handler -- it is lost with the element. */
|
|
51
|
+
bsRemove;
|
|
33
52
|
/** Tracks whether the `icon` slot has assigned content, so the icon/label gap and left-edge
|
|
34
53
|
* padding only apply when there's actually a leading icon. */
|
|
35
54
|
hasIcon = false;
|
|
55
|
+
/** The label's text, used for the remove button's accessible name. */
|
|
56
|
+
labelText = '';
|
|
36
57
|
componentWillLoad() {
|
|
37
58
|
this.hasIcon = this.hasSlottedContent('icon');
|
|
59
|
+
this.labelText = this.readLabel();
|
|
60
|
+
}
|
|
61
|
+
readLabel() {
|
|
62
|
+
return Array.from(this.el.childNodes)
|
|
63
|
+
.filter(n => !(n.nodeType === Node.ELEMENT_NODE && n.hasAttribute('slot')))
|
|
64
|
+
.map(n => n.textContent || '')
|
|
65
|
+
.join('')
|
|
66
|
+
.trim();
|
|
38
67
|
}
|
|
68
|
+
onRemove = () => {
|
|
69
|
+
this.bsRemove.emit();
|
|
70
|
+
};
|
|
39
71
|
hasSlottedContent(slotName) {
|
|
40
72
|
return Array.from(this.el.childNodes).some(node => node.nodeType === Node.ELEMENT_NODE && node.getAttribute('slot') === slotName);
|
|
41
73
|
}
|
|
@@ -44,7 +76,10 @@ export class BsChipInformative {
|
|
|
44
76
|
};
|
|
45
77
|
render() {
|
|
46
78
|
const paddingVariant = this.hasIcon ? 'icon' : 'text';
|
|
47
|
-
|
|
79
|
+
const isLink = !!this.href && !this.disabled;
|
|
80
|
+
const rel = isLink && this.target === '_blank' ? 'noopener noreferrer' : undefined;
|
|
81
|
+
const label = h("slot", { key: 'ef28047f16d39f511b22c44dc8d5fed7031d2f42', onSlotchange: () => (this.labelText = this.readLabel()) });
|
|
82
|
+
return (h(Host, { key: '1efcc6d4f937ca210e938e6c6d146ed190f9a9c7', class: `bs-chip-informative bs-chip-informative--${this.color} bs-chip-informative--${this.size} bs-chip-informative--${paddingVariant} ${this.removable ? 'bs-chip-informative--removable' : ''}`, "aria-disabled": this.disabled ? 'true' : undefined }, h("span", { key: 'de7d9811919a43e81dc18b143c56892ac266578c', class: "bs-chip-informative__body" }, h("span", { key: '682115d5be675d1e2fdfd3e0633ce782d2828a65', part: "icon", class: `bs-chip-informative__icon ${this.hasIcon ? 'bs-chip-informative__icon--visible' : ''}` }, h("slot", { key: '776779930e92c1dc312e33fb3fda3a109168032a', name: "icon", onSlotchange: this.onIconSlotchange })), isLink ? (h("a", { part: "label", class: "bs-chip-informative__label bs-chip-informative__label--link", href: this.href, target: this.target, rel: rel }, label)) : (h("span", { part: "label", class: "bs-chip-informative__label" }, label))), this.removable && (h("bs-icon-button", { key: 'eb1e38d68a09ca69d130d112da983bf242d6152a', part: "remove", class: "bs-chip-informative__remove", size: "xs", variant: "subtle", disabled: this.disabled, ariaLabel: `${this.removeLabel} ${this.labelText}`.trim(), onClick: this.onRemove }, h("svg", { key: '4eeb253205746e7167ad5cebbfb459fc349f81ab', viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '01e23027c865131a929a5c4c1e6c9a94dd59dd71', d: "M12.5 3.5L3.5 12.5M12.5 12.5L3.5 3.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
|
|
48
83
|
}
|
|
49
84
|
static get is() { return "bs-chip-informative"; }
|
|
50
85
|
static get encapsulation() { return "shadow"; }
|
|
@@ -131,13 +166,110 @@ export class BsChipInformative {
|
|
|
131
166
|
"reflect": true,
|
|
132
167
|
"attribute": "disabled",
|
|
133
168
|
"defaultValue": "false"
|
|
169
|
+
},
|
|
170
|
+
"removable": {
|
|
171
|
+
"type": "boolean",
|
|
172
|
+
"mutable": false,
|
|
173
|
+
"complexType": {
|
|
174
|
+
"original": "boolean",
|
|
175
|
+
"resolved": "boolean",
|
|
176
|
+
"references": {}
|
|
177
|
+
},
|
|
178
|
+
"required": false,
|
|
179
|
+
"optional": false,
|
|
180
|
+
"docs": {
|
|
181
|
+
"tags": [],
|
|
182
|
+
"text": "Shows a remove button that emits `bsRemove`. The consumer removes the element. Off by default,\nso a plain chip stays non-interactive."
|
|
183
|
+
},
|
|
184
|
+
"getter": false,
|
|
185
|
+
"setter": false,
|
|
186
|
+
"reflect": true,
|
|
187
|
+
"attribute": "removable",
|
|
188
|
+
"defaultValue": "false"
|
|
189
|
+
},
|
|
190
|
+
"href": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"mutable": false,
|
|
193
|
+
"complexType": {
|
|
194
|
+
"original": "string",
|
|
195
|
+
"resolved": "string",
|
|
196
|
+
"references": {}
|
|
197
|
+
},
|
|
198
|
+
"required": false,
|
|
199
|
+
"optional": true,
|
|
200
|
+
"docs": {
|
|
201
|
+
"tags": [],
|
|
202
|
+
"text": "Turns the label into a link to this URL. Ignored while `disabled`."
|
|
203
|
+
},
|
|
204
|
+
"getter": false,
|
|
205
|
+
"setter": false,
|
|
206
|
+
"reflect": false,
|
|
207
|
+
"attribute": "href"
|
|
208
|
+
},
|
|
209
|
+
"target": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "string",
|
|
214
|
+
"resolved": "string",
|
|
215
|
+
"references": {}
|
|
216
|
+
},
|
|
217
|
+
"required": false,
|
|
218
|
+
"optional": true,
|
|
219
|
+
"docs": {
|
|
220
|
+
"tags": [],
|
|
221
|
+
"text": "Link target, only used with `href`. `_blank` also sets `rel=\"noopener noreferrer\"`."
|
|
222
|
+
},
|
|
223
|
+
"getter": false,
|
|
224
|
+
"setter": false,
|
|
225
|
+
"reflect": false,
|
|
226
|
+
"attribute": "target"
|
|
227
|
+
},
|
|
228
|
+
"removeLabel": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"mutable": false,
|
|
231
|
+
"complexType": {
|
|
232
|
+
"original": "string",
|
|
233
|
+
"resolved": "string",
|
|
234
|
+
"references": {}
|
|
235
|
+
},
|
|
236
|
+
"required": false,
|
|
237
|
+
"optional": false,
|
|
238
|
+
"docs": {
|
|
239
|
+
"tags": [],
|
|
240
|
+
"text": "Prefix of the remove button's accessible name (\"Remove {label}\")."
|
|
241
|
+
},
|
|
242
|
+
"getter": false,
|
|
243
|
+
"setter": false,
|
|
244
|
+
"reflect": false,
|
|
245
|
+
"attribute": "remove-label",
|
|
246
|
+
"defaultValue": "'Remove'"
|
|
134
247
|
}
|
|
135
248
|
};
|
|
136
249
|
}
|
|
137
250
|
static get states() {
|
|
138
251
|
return {
|
|
139
|
-
"hasIcon": {}
|
|
252
|
+
"hasIcon": {},
|
|
253
|
+
"labelText": {}
|
|
140
254
|
};
|
|
141
255
|
}
|
|
256
|
+
static get events() {
|
|
257
|
+
return [{
|
|
258
|
+
"method": "bsRemove",
|
|
259
|
+
"name": "bsRemove",
|
|
260
|
+
"bubbles": true,
|
|
261
|
+
"cancelable": true,
|
|
262
|
+
"composed": true,
|
|
263
|
+
"docs": {
|
|
264
|
+
"tags": [],
|
|
265
|
+
"text": "Fires when the remove button is activated, only when `removable`. No payload; the consumer\nremoves the chip. Move focus somewhere sensible in your handler -- it is lost with the element."
|
|
266
|
+
},
|
|
267
|
+
"complexType": {
|
|
268
|
+
"original": "void",
|
|
269
|
+
"resolved": "void",
|
|
270
|
+
"references": {}
|
|
271
|
+
}
|
|
272
|
+
}];
|
|
273
|
+
}
|
|
142
274
|
static get elementRef() { return "el"; }
|
|
143
275
|
}
|
package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.stories.js
CHANGED
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription, propDescription } from "../../../stories-utils";
|
|
3
3
|
const colors = ['neutral', 'warning', 'success', 'info', 'error'];
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-chip/bs-chip-informative',
|
|
5
|
+
title: 'Components/Data display/bs-chip/bs-chip-informative',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-chip-informative') } } },
|
|
7
7
|
render: args => html ` <bs-chip-informative color=${args.color} size=${args.size} ?disabled=${args.disabled}>${args.label}</bs-chip-informative> `,
|
|
8
8
|
argTypes: {
|
|
@@ -47,6 +47,13 @@ export const WithIcon = {
|
|
|
47
47
|
export const Disabled = {
|
|
48
48
|
args: { disabled: true },
|
|
49
49
|
};
|
|
50
|
+
export const Removable = {
|
|
51
|
+
render: args => html ` <bs-chip-informative color=${args.color} size=${args.size} ?disabled=${args.disabled} removable>${args.label}</bs-chip-informative> `,
|
|
52
|
+
};
|
|
53
|
+
export const AsLink = {
|
|
54
|
+
name: 'As link',
|
|
55
|
+
render: args => html ` <bs-chip-informative color=${args.color} size=${args.size} ?disabled=${args.disabled} href="#topic">${args.label}</bs-chip-informative> `,
|
|
56
|
+
};
|
|
50
57
|
export const Small = {
|
|
51
58
|
args: { size: 'sm' },
|
|
52
59
|
};
|
|
@@ -80,7 +80,7 @@ export class BsChipInput {
|
|
|
80
80
|
};
|
|
81
81
|
render() {
|
|
82
82
|
const paddingVariant = this.hasIcon ? 'icon' : 'text';
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '34e8593d614ac53f4233836e480ea4cc5b5a0d05', class: `bs-chip-input bs-chip-input--${this.size} bs-chip-input--${paddingVariant}` }, h("button", { key: 'd12bd47ce8c8c36d6885791518e77aa5485164b7', type: "button", part: "body", class: "bs-chip-input__body", disabled: this.disabled, "aria-pressed": String(this.selected), onClick: this.onBodyClick }, h("bs-ripple", { key: 'b0ee66f131ee5527cea59784a576cdb89731ddb8', part: "ripple", centered: false, disabled: this.disabled }), h("span", { key: 'fd9e72121aa0050f26676d2aabeeb42ccdb2dc3b', part: "icon", class: `bs-chip-input__icon ${this.hasIcon ? 'bs-chip-input__icon--visible' : ''}` }, h("slot", { key: '4766192118b7fcbcfcb39841e3cfdb19c5294802', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '3d2981a4018227dec45563ddefc605926e5fe878', part: "label", class: "bs-chip-input__label" }, h("slot", { key: '1729babcdf69259fa96e230b9a96a002b2dececa', onSlotchange: this.onLabelSlotchange }))), h("button", { key: '780205690c3d70e602dc6cd98e7c5d95c8ab1ceb', type: "button", part: "remove", class: "bs-chip-input__remove", disabled: this.disabled, "aria-label": `${this.removeLabel} ${this.labelText}`, onClick: this.onRemoveClick }, h("bs-ripple", { key: '969c442c9eb550c439fbe712c78ab2f53e5a12ab', part: "ripple", centered: true, disabled: this.disabled }), h(CloseIcon, { key: 'bf75e06c3ffc11b02390d7f2cb26c46aadf94b50' }))));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "bs-chip-input"; }
|
|
86
86
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription, propDescription } from "../../../stories-utils";
|
|
3
3
|
const PLACEHOLDER_PHOTO = 'https://i.pravatar.cc/256?img=68';
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-chip/bs-chip-input',
|
|
5
|
+
title: 'Components/Data display/bs-chip/bs-chip-input',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-chip-input') } } },
|
|
7
7
|
render: args => html ` <bs-chip-input size=${args.size} ?selected=${args.selected} ?disabled=${args.disabled}>${args.label}</bs-chip-input> `,
|
|
8
8
|
argTypes: {
|
|
@@ -38,7 +38,7 @@ export class BsCitationPreview {
|
|
|
38
38
|
bsOpen;
|
|
39
39
|
render() {
|
|
40
40
|
const hasPage = this.page !== undefined && this.page !== null && this.page !== '';
|
|
41
|
-
return (h("bs-card", { key: '
|
|
41
|
+
return (h("bs-card", { key: 'c6c9684b62d1d701226892e3c43ad5c8c4bf77fd', part: "container", class: "bs-citation-preview", surface: "base" }, h("div", { key: '65abda508f4ce387a50872ccb2ef59ee9014fee1', class: "bs-citation-preview__body" }, h("bs-source-link", { key: 'd672afe4ba5ebb22e236c6972150e95b45c319f0', part: "header", fileName: this.fileName, sourceName: this.sourceName, href: this.href, onBsOpen: () => this.bsOpen.emit() }), h("div", { key: '3285fca30f62583986af275e7a2b716f03d3f725', part: "snippet", class: "bs-citation-preview__snippet" }, h("slot", { key: 'afc997485f0e98558b0a5328941420c2b31d8062' })), h("div", { key: 'aa7afcedd447639af8d40e549f84a410f4a486f8', class: "bs-citation-preview__footer" }, h("slot", { key: '2c632a47a63597cf936c91ae72b2a73f0a4303be', name: "footer" }, hasPage && (h("span", { key: '5213014e8f6287580a8104f202192a062e9c9050', part: "page", class: "bs-citation-preview__page" }, "Page ", this.page)))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "bs-citation-preview"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ registerIcons({
|
|
|
7
7
|
star: '<path d="M12 3l2.7 5.6 6.1.9"/>',
|
|
8
8
|
});`;
|
|
9
9
|
const meta = {
|
|
10
|
-
title: 'Components/bs-code-block',
|
|
10
|
+
title: 'Components/Data display/bs-code-block',
|
|
11
11
|
parameters: { docs: { description: { component: componentDescription('bs-code-block') } } },
|
|
12
12
|
render: args => html `
|
|
13
13
|
<bs-code-block
|
|
@@ -393,7 +393,7 @@ export class BsCommandPalette {
|
|
|
393
393
|
const sections = this.shownSections().filter(s => this.filled[s]);
|
|
394
394
|
const hasList = sections.length > 0;
|
|
395
395
|
const showResults = loading || empty || hasList;
|
|
396
|
-
return (h("dialog", { key: '
|
|
396
|
+
return (h("dialog", { key: 'fef5f03166b7a42cb7ee559d2a7c5458606cf681', ref: el => (this.dialogEl = el), part: "dialog", class: "bs-command-palette", "aria-label": this.label, "aria-modal": "true", role: "dialog", onCancel: this.onCancel, onClose: () => this.open && this.setOpen(false), onClick: this.onDialogClick, onKeyDown: this.onDialogKeyDown }, h("div", { key: '65834adcb25c5a0fefb70c5a61dd047612294938', part: "panel", class: "bs-command-palette__panel" }, h("div", { key: '0730c63678164d2d37a73919674fab891ed866a1', part: "search", class: "bs-command-palette__search" }, this.scopeLabel && (h("bs-chip-informative", { key: 'd826eec5c04930e92356097d3b42357765ba6d40', class: "bs-command-palette__scope", color: "info" }, this.scopeLabel)), h("div", { key: '2187e13b78da9f3f578551ad1fd2c6a756cb8a16', class: "bs-command-palette__field", ref: el => (this.comboEl = el), role: "combobox", "aria-label": this.placeholder, "aria-expanded": String(hasList), "aria-haspopup": "listbox", "aria-controls": hasList ? listId : undefined, onKeyDown: this.onKeyDown }, h("bs-input", { key: 'e04f250b4e432d2d37635bda38fac6375fad6f3d', part: "input", ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, onBsInput: this.onInput })), h("span", { key: '71a6daf5aa066a453c7758743014db411cf9ff8d', class: "bs-command-palette__esc", "aria-hidden": "true" }, h("bs-key", { key: 'a179db74f776bb159cf6d9beab1b833f46223a54', label: "Esc" }))), showResults && h("div", { key: 'af05d5e148e8023b270c7f15d0aacd09f6b995d1', class: "bs-command-palette__divider", role: "presentation" }), showResults && (h("div", { key: '980869c72d0e61ffcc8d48c3a6696e875ecce1dc', part: "results", class: "bs-command-palette__results", "aria-busy": String(loading), onMouseOver: this.onResultsMouseOver }, loading && (h("div", { key: '02a0b5862fae003ab2cc03f29cfe292f1dd791d0', class: "bs-command-palette__loading", role: "status" }, h("bs-spinner", { key: '0a9c51dc248312e17fcd7b94cee54b0366edb30a', size: "sm" }), h("span", { key: '0841922592a2deb2dc23c5ad9bdc97689c1ea5b3' }, this.loadingLabel))), empty && this.renderEmpty(), hasList && (h("div", { key: 'b24113d3b857770b6f648ca4b2008543998dba3f', id: listId, class: "bs-command-palette__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => this.renderSection(s)))))), this.showFooter && this.renderFooter()), h("span", { key: 'e0e8edcbd795b8c98bd48ab7a409569829ae7a97', class: "bs-command-palette__live", "aria-live": "polite" }, this.announcement())));
|
|
397
397
|
}
|
|
398
398
|
static get is() { return "bs-command-palette"; }
|
|
399
399
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,7 +54,7 @@ const rowTemplate = (r) => html `<bs-search-item slot=${r.section} value=${r.val
|
|
|
54
54
|
const meta = {
|
|
55
55
|
// The shared story data constants are exported for the tests; keep them out of the sidebar.
|
|
56
56
|
excludeStories: /^[A-Z0-9_]+$/,
|
|
57
|
-
title: 'Components/bs-command-palette',
|
|
57
|
+
title: 'Components/Navigation/bs-command-palette',
|
|
58
58
|
parameters: { layout: 'fullscreen', docs: { description: { component: componentDescription('bs-command-palette') }, story: { inline: false, iframeHeight: 640 } } },
|
|
59
59
|
argTypes: {
|
|
60
60
|
open: { control: 'boolean' },
|