@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
|
@@ -27,7 +27,7 @@ export class BsCompactMenuBlock {
|
|
|
27
27
|
name;
|
|
28
28
|
render() {
|
|
29
29
|
const common = { part: 'container', class: 'bs-compact-menu-block' };
|
|
30
|
-
return (h("button", { key: '
|
|
30
|
+
return (h("button", { key: '052b33458aa66b3a56bef4f35bb26c93d627c881', ...common, type: "button" }, this.name));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "bs-compact-menu-block"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { html } from "lit";
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
const meta = {
|
|
4
|
-
title: 'Components/bs-compact-menu-block',
|
|
4
|
+
title: 'Components/Menus and overlays/bs-compact-menu-block',
|
|
5
5
|
parameters: { layout: 'padded', docs: { description: { component: componentDescription('bs-compact-menu-block') } } },
|
|
6
6
|
argTypes: { name: { control: 'text' } },
|
|
7
7
|
args: { name: 'Payments' },
|
|
@@ -234,10 +234,10 @@ export class BsCompanySwitcher {
|
|
|
234
234
|
const empty = !!this.q && groups.length === 0;
|
|
235
235
|
const listId = `${this.id}-listbox`;
|
|
236
236
|
const total = groups.reduce((n, g) => n + g.items.length, 0);
|
|
237
|
-
return (h("bs-popover", { key: '
|
|
237
|
+
return (h("bs-popover", { key: 'd11bbc30320f1149597d384efa16fe236289f65e', class: "bs-company-switcher", open: this.open, placement: "bottom-start", onBsOpenChange: this.onPopoverOpenChange }, this.renderTrigger(), h("bs-card", { key: 'e8863bccb0870f151f337870dc33993ac4f3debe', part: "panel", class: "bs-company-switcher__panel", surface: "base" }, h("div", { key: '247c8fc7be7beed6f80a241ee336a17d7ca026a8', class: "bs-company-switcher__search", onMouseDown: (ev) => ev.preventDefault() }, h("div", { key: 'c5592e600c4d9c641314c2fdbf5f5b0b2364c173', part: "search", role: "combobox", "aria-label": this.searchPlaceholder, "aria-expanded": groups.length ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": groups.length ? listId : undefined, "aria-activedescendant": this.activeId ?? undefined, onKeyDown: this.onKeyDown }, h("bs-input", { key: '0b5c505a6774c559a395ea36aa0cf6a4b95cbdfb', ref: el => (this.inputEl = el), type: "search", value: this.query, placeholder: this.searchPlaceholder, onBsInput: this.onInput }))), groups.length > 0 && (h("div", { key: 'e9d041450109a8a7a15a67d06c3500845edaf277', id: listId, part: "list", class: "bs-company-switcher__list", role: "listbox", "aria-label": this.listLabel, onMouseDown: (ev) => ev.preventDefault(), onMouseLeave: () => (this.activeId = null) }, groups.map(g => {
|
|
238
238
|
const hid = `${this.id}-h-${g.key}`;
|
|
239
239
|
return (h("div", { part: "group", class: "bs-company-switcher__group", role: "group", "aria-labelledby": hid }, h("div", { part: "group-header", id: hid, class: "bs-company-switcher__group-header" }, g.header), g.items.map(c => this.renderRow(c))));
|
|
240
|
-
}))), empty && (h("bs-empty-state", { key: '
|
|
240
|
+
}))), empty && (h("bs-empty-state", { key: '96d9854ad53c58eaa152405bbd9302d18446dfd8', part: "empty", class: "bs-company-switcher__empty", heading: this.emptyHeading.replace('{query}', this.query.trim()), description: this.emptyDescription }, h("svg", { key: 'fe88ba53de8a745f83abfb6b8dfae1e76693c178', slot: "icon", ...svgProps }, h("circle", { key: 'a734e837732ec01b47faebe30adf04260d546eb9', cx: "11", cy: "11", r: "7" }), h("path", { key: 'a14d03774137f2cca3e033ca032602722616559a', d: "m20 20-3.5-3.5" })))), h("bs-divider", { key: '19426bcf9148145aa584be5cac0c290fccc3704d', class: "bs-company-switcher__divider", decorative: true }), h("div", { key: 'bfbe49c7a1ef1cfbd827908b155b3f63e1848738', part: "footer", class: "bs-company-switcher__footer" }, h("bs-button", { key: 'f8b581a0845ced7a5999d4d03a7b64b31acb8a89', variant: "subtle", size: "sm", onClick: () => this.bsManageCompanies.emit() }, h("svg", { key: '4b70940075e40182ae8da27259e6c0ff6b7cdf23', slot: "icon", ...svgProps }, h("circle", { key: '52d07fdf30c0655385cbbd4b30b1393b6135baaa', cx: "12", cy: "12", r: "3" }), h("path", { key: 'be2c017be4c51b5b87470a5f5ca41828d2a11e04', d: "M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z" })), this.manageLabel), h("bs-button", { key: '57a62b20be2320442187cf151ed99d981906578b', variant: "subtle", size: "sm", onClick: () => this.bsAddCompanies.emit() }, h("svg", { key: '91d8bba01ddcce3100f0ceadf567424abed233c3', slot: "icon", ...svgProps }, h("path", { key: 'af95aa039f2e42e35468cd71797623623aae39af', d: "M12 5v14M5 12h14" })), this.addLabel)), h("span", { key: '68ee68de092a3c42613e4127136c42249dcedc5a', class: "bs-company-switcher__live", "aria-live": "polite" }, this.open && this.q ? (empty ? this.emptyHeading.replace('{query}', this.query.trim()) : `${total} ${total === 1 ? this.matchLabel : this.matchesLabel}`) : ''))));
|
|
241
241
|
}
|
|
242
242
|
static get is() { return "bs-company-switcher"; }
|
|
243
243
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export const COMPANIES = [
|
|
|
12
12
|
export const RECENT_IDS = ['fjord', 'aurora'];
|
|
13
13
|
const meta = {
|
|
14
14
|
excludeStories: /^[A-Z0-9_]+$/,
|
|
15
|
-
title: 'Components/bs-company-switcher',
|
|
15
|
+
title: 'Components/App and onboarding/bs-company-switcher',
|
|
16
16
|
parameters: { layout: 'padded', docs: { description: { component: componentDescription('bs-company-switcher') } } },
|
|
17
17
|
argTypes: {
|
|
18
18
|
currentId: { control: 'select', options: COMPANIES.map(c => c.id) },
|
|
@@ -234,7 +234,7 @@ export class BsComposer {
|
|
|
234
234
|
const placeholder = this.placeholder ?? DEFAULT_PLACEHOLDERS[this.variant];
|
|
235
235
|
const disabled = this.state === 'disabled';
|
|
236
236
|
const recording = this.state === 'recording';
|
|
237
|
-
return (h("div", { key: '
|
|
237
|
+
return (h("div", { key: '24d3a9aa9ab3687c12b784bc41b854cb4323b219', class: `bs-composer bs-composer--${this.state} bs-composer--${this.variant}` }, h("div", { key: '74fe953b1e7b35237a92b54ec91941856351a563', part: "attachments", class: `bs-composer__attachments-row ${this.hasAttachments ? 'bs-composer__attachments-row--visible' : ''}` }, h("slot", { key: '4864037635968b614b226fa9fd01ad5c7c32979a', name: "attachments", onSlotchange: this.onAttachmentsSlotchange })), h("div", { key: 'b6d8a813f35063a9e34720239be9be3ffa0652fa', class: "bs-composer__text-row" }, h("textarea", { key: '1400425dad745b7b03a7d0f5744fd52c404f0018', ref: el => (this.inputEl = el), part: "input", class: "bs-composer__input", rows: 1, value: this.value, placeholder: placeholder, disabled: disabled, maxLength: this.maxLength, "aria-label": this.ariaLabel, onInput: this.onInput, onKeyDown: this.onInputKeydown })), h("div", { key: '3b9c62eeef6bf72ef7e26832ce25d85646d67f2b', class: "bs-composer__controls-row" }, !this.hideAttach && (h("button", { key: '4b649a2a688e1029765338871c5741f27c0398f3', type: "button", part: "attach", class: "bs-composer__attach", "aria-label": this.attachLabel, onClick: this.onAttachClick }, h(PlusIcon, { key: 'cad329db88a489ce140206540524ab28d7670a0a' }))), recording ? (h("span", { class: "bs-composer__waveform", "aria-hidden": "true" }, WAVEFORM_BAR_HEIGHTS.map(height => (h("span", { class: "bs-composer__waveform-bar", style: { '--bs-composer-bar-height': `${height}px` } }))))) : (h("span", { class: "bs-composer__spacer" })), !this.hideMic && (h("button", { key: '11e07294f1d57d9acc35533c317f5978297728a2', type: "button", part: "mic", class: `bs-composer__mic ${recording ? 'bs-composer__mic--recording' : ''}`, "aria-label": recording ? this.stopRecordingLabel : this.micLabel, disabled: disabled, onClick: this.onMicClick }, recording ? h(StopIcon, null) : h(MicIcon, null))), h("button", { key: '5ee8bd6bfdb9c6fbdf4ed36fb0a4b6ac079f9cb1', type: "button", part: "action", class: `bs-composer__action bs-composer__action--${this.state}`, "aria-label": this.actionLabel(), disabled: disabled, "aria-busy": this.loading && this.state === 'idle' ? 'true' : undefined, onClick: this.onActionClick }, this.renderActionIcon()), h("slot", { key: '35909e0be6e5956652cb5847448136d0b3e5907b', name: "actions-end" }))));
|
|
238
238
|
}
|
|
239
239
|
static get is() { return "bs-composer"; }
|
|
240
240
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,7 +113,7 @@ export class BsComposerStatusBanner {
|
|
|
113
113
|
return this.type === 'error' || this.type === 'warning' ? h(WarningIcon, null) : h(ClockIcon, null);
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h("div", { key: '
|
|
116
|
+
return (h("div", { key: '9da54bea799093962b8b0729be1b80b219213c45', role: this.roleForType(), "aria-busy": this.loading ? 'true' : undefined, class: `bs-composer-status-banner bs-composer-status-banner--${this.type}` }, h("div", { key: '39fc0df3b940290de9e406a45b9c8b9208aa719a', class: "bs-composer-status-banner__message-group" }, this.showIcon && (h("span", { key: '95e7a097cee4dcc0c8dc523aa28767f1362fcf40', part: "icon", class: "bs-composer-status-banner__icon" }, h("slot", { key: '5430c6cfab05814151d1976e6f9debe633c30497', name: "icon" }, this.renderDefaultIcon()))), h("p", { key: '423b89df3933051de31c48ee5d73a91c732f9e83', part: "message", class: "bs-composer-status-banner__message" }, this.message)), this.showButton && (h("button", { key: '20d3c2140eb6bf6af0f135d550316a904a3fd97a', type: "button", part: "action", class: "bs-composer-status-banner__action", onClick: this.onActionClick }, this.actionLabel)), this.allowClose && (h("button", { key: '05febdc3aa4e26bdb0ca0ec1dd3c7454b385d917', type: "button", part: "close", class: "bs-composer-status-banner__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, h(CloseIcon, { key: '5ccf6d69574fab9155a9a9668d902e0dade3c051' })))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "bs-composer-status-banner"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class BsContainer {
|
|
|
21
21
|
padding = '300';
|
|
22
22
|
render() {
|
|
23
23
|
const pad = SPACING_TOKENS.includes(String(this.padding)) ? String(this.padding) : '300';
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '476ec570e46dc2f875cf4634b7fb874c5dff4d92', style: { '--bs-container-padding-token': `var(--bs-spacing-${pad})` } }, h("slot", { key: '4874712ddb0fc91ba76f803b116167fcc4026044' })));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "bs-container"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { html } from "lit";
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
const meta = {
|
|
4
|
-
title: 'Components/bs-container',
|
|
4
|
+
title: 'Components/Layout/bs-container',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-container') } } },
|
|
6
6
|
render: args => html `
|
|
7
7
|
<bs-container size=${args.size} padding=${args.padding}>
|
|
@@ -34,7 +34,7 @@ const PREFERENCE_CATEGORIES = [
|
|
|
34
34
|
},
|
|
35
35
|
];
|
|
36
36
|
const meta = {
|
|
37
|
-
title: 'Components/bs-cookie-consent',
|
|
37
|
+
title: 'Components/Feedback/bs-cookie-consent',
|
|
38
38
|
parameters: { docs: { description: { component: componentDescription('bs-cookie-consent') } } },
|
|
39
39
|
decorators: [story => html `<div style="padding: 16px; background: var(--bs-color-neutral-container);">${story()}</div>`],
|
|
40
40
|
render: args => html `
|
|
@@ -18,6 +18,15 @@ describe('bs-data-table', () => {
|
|
|
18
18
|
expect(selectAll.checked).toBe(false);
|
|
19
19
|
expect(selectAll.indeterminate).toBe(false);
|
|
20
20
|
});
|
|
21
|
+
it('gives each row checkbox an accessible name, configurable via selectRowLabel', async () => {
|
|
22
|
+
const { root } = await render(h("bs-data-table", { selectable: true, columns: columns, rows: rows }));
|
|
23
|
+
const rowBoxes = Array.from(root.shadowRoot.querySelectorAll('tbody input[type="checkbox"]'));
|
|
24
|
+
expect(rowBoxes.length).toBe(rows.length);
|
|
25
|
+
expect(rowBoxes.every(b => b.getAttribute('aria-label') === 'Select row')).toBe(true);
|
|
26
|
+
root.selectRowLabel = 'Vælg række';
|
|
27
|
+
await new Promise(r => setTimeout(r, 50));
|
|
28
|
+
expect(root.shadowRoot.querySelector('tbody input[type="checkbox"]').getAttribute('aria-label')).toBe('Vælg række');
|
|
29
|
+
});
|
|
21
30
|
it('does not render a select-all checkbox when not selectable', async () => {
|
|
22
31
|
const { root } = await render(h("bs-data-table", { columns: columns, rows: rows }));
|
|
23
32
|
expect(root.shadowRoot.querySelector('thead input[type="checkbox"]')).toBeNull();
|
|
@@ -38,6 +38,8 @@ export class BsDataTable {
|
|
|
38
38
|
sortDirection = 'asc';
|
|
39
39
|
/** Accessible name of the select-all checkbox in the header (when `selectable`). */
|
|
40
40
|
selectAllLabel = 'Select all rows';
|
|
41
|
+
/** Accessible name of each row's checkbox (when `selectable`). */
|
|
42
|
+
selectRowLabel = 'Select row';
|
|
41
43
|
selectable = false;
|
|
42
44
|
/** Alternates the row background (even rows use `--bs-data-table-stripe-bg`) so wide tables are
|
|
43
45
|
* easier to scan. Follows dark mode through the token. Row hover still wins. */
|
|
@@ -98,11 +100,11 @@ export class BsDataTable {
|
|
|
98
100
|
}
|
|
99
101
|
}
|
|
100
102
|
render() {
|
|
101
|
-
return (h("table", { key: '
|
|
103
|
+
return (h("table", { key: '86d56c6fb30816c7ff0035b6d53fafc999bc1266', part: "table", class: "bs-data-table" }, h("thead", { key: '058e68b03dafaad071168a093978664405caf545', part: "head" }, h("tr", { key: '2621d2f1d4bc20bc152d99157b6f3682b7f8c52d' }, this.selectable && (h("th", { key: '3c701733d816861d9f18996fc02e42fe9e5e2a7c', class: "bs-data-table__select-col" }, this.rows.length > 0 && (h("input", { key: '21985f46def70a01a0a1556b0fe0aef0a954ab25', type: "checkbox", "aria-label": this.selectAllLabel, checked: this.selectedIds.size > 0 && this.selectedIds.size === this.rows.length, indeterminate: this.selectedIds.size > 0 && this.selectedIds.size < this.rows.length, onChange: this.onSelectAllChange })))), this.columns.map(column => {
|
|
102
104
|
const isSorted = this.sortColumn === column.key;
|
|
103
105
|
const ariaSort = column.sortable ? (isSorted ? (this.sortDirection === 'asc' ? 'ascending' : 'descending') : 'none') : undefined;
|
|
104
106
|
return (h("th", { part: "header-cell", class: "bs-data-table__header-cell", "aria-sort": ariaSort }, column.sortable ? (h("button", { type: "button", class: "bs-data-table__sort-button", onClick: () => this.onHeaderClick(column) }, column.label, isSorted && h("span", { class: "bs-data-table__sort-indicator" }, this.sortDirection === 'asc' ? ' ▲' : ' ▼'))) : (column.label)));
|
|
105
|
-
}))), h("tbody", { key: '
|
|
107
|
+
}))), h("tbody", { key: 'a80faf9643c27ea641794f117ad9ffcdf7caed7f', part: "body" }, this.rows.map(row => (h("tr", { part: "row", class: "bs-data-table__row" }, this.selectable && (h("td", { class: "bs-data-table__select-col" }, h("input", { type: "checkbox", "aria-label": this.selectRowLabel, checked: this.selectedIds.has(row.id), onChange: ev => this.onRowCheckboxChange(row, ev) }))), this.columns.map(column => this.cellRenderer ? (
|
|
106
108
|
// cellRenderer is a developer-supplied, trusted function (JS-property-only, never
|
|
107
109
|
// derived from untrusted input) -- its HTML output is intentionally not escaped,
|
|
108
110
|
// same trust model as React's dangerouslySetInnerHTML.
|
|
@@ -232,6 +234,26 @@ export class BsDataTable {
|
|
|
232
234
|
"attribute": "select-all-label",
|
|
233
235
|
"defaultValue": "'Select all rows'"
|
|
234
236
|
},
|
|
237
|
+
"selectRowLabel": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"mutable": false,
|
|
240
|
+
"complexType": {
|
|
241
|
+
"original": "string",
|
|
242
|
+
"resolved": "string",
|
|
243
|
+
"references": {}
|
|
244
|
+
},
|
|
245
|
+
"required": false,
|
|
246
|
+
"optional": false,
|
|
247
|
+
"docs": {
|
|
248
|
+
"tags": [],
|
|
249
|
+
"text": "Accessible name of each row's checkbox (when `selectable`)."
|
|
250
|
+
},
|
|
251
|
+
"getter": false,
|
|
252
|
+
"setter": false,
|
|
253
|
+
"reflect": false,
|
|
254
|
+
"attribute": "select-row-label",
|
|
255
|
+
"defaultValue": "'Select row'"
|
|
256
|
+
},
|
|
235
257
|
"selectable": {
|
|
236
258
|
"type": "boolean",
|
|
237
259
|
"mutable": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { componentDescription } from "../../stories-utils";
|
|
2
2
|
const meta = {
|
|
3
|
-
title: 'Components/bs-data-table',
|
|
3
|
+
title: 'Components/Data display/bs-data-table',
|
|
4
4
|
parameters: { docs: { description: { component: componentDescription('bs-data-table') } } },
|
|
5
5
|
};
|
|
6
6
|
export default meta;
|
|
@@ -340,7 +340,7 @@ export class BsDatepicker {
|
|
|
340
340
|
: this.defaultTabbable(days);
|
|
341
341
|
const isInRange = (iso) => !!selectedStart && !!previewEnd && iso > selectedStart && iso < previewEnd;
|
|
342
342
|
const weekdays = this.weekdays();
|
|
343
|
-
return (h("bs-card", { key: '
|
|
343
|
+
return (h("bs-card", { key: 'deee020382c8f61b97601d7e5504fb8c0f174616', part: "container", class: "bs-datepicker", surface: "raised" }, h("div", { key: '041f26feb5c2d0d20a3257ff8b5589fd09c8133b', class: "bs-datepicker__body" }, this.renderHeader(), h("div", { key: '5122a1de7c9f3914d740a909b3b7b099919817ae', part: "nav", class: "bs-datepicker__nav" }, h("button", { key: 'dd9edd71723f2bdb4fcd883ba3374604976f146d', part: "prev", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.previousLabel, onClick: () => this.moveView(-1) }, h("svg", { key: 'c897bf4dcfa3b1fad4cdc4febb8d4d4c617f36c0', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { key: '17d0119479910876f10a67409a882542fec28d76', d: "M15 18L9 12L15 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: '3052745c0ff62588aab848e0327ab423f4f4469d', part: "title", class: "bs-datepicker__title", "aria-live": "polite" }, this.titleText()), h("button", { key: '83da87b4463d4501b9fc0ab755d6f743962093da', part: "next", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.nextLabel, onClick: () => this.moveView(1) }, h("svg", { key: '5065a4344e6477e895810d42863104c91c7b290f', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { key: 'ad4523bb1b76235c4a89a3781f671f2f48ef1490', d: "M9 18L15 12L9 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'c0653817a489424cf1177eb90edf1a3f5498e13c', part: "grid", class: "bs-datepicker__grid", role: "grid", "aria-label": this.titleText() }, h("div", { key: '13d86c20c7f3ec07f2e06f6aaa7dea3d9a68c1c5', class: "bs-datepicker__row", role: "row" }, weekdays.map(w => (h("div", { part: "weekday", class: "bs-datepicker__weekday", role: "columnheader" }, w)))), Array.from({ length: 6 }, (_, r) => {
|
|
344
344
|
const row = days.slice(r * 7, r * 7 + 7);
|
|
345
345
|
return (h("div", { class: "bs-datepicker__row", role: "row" }, row.map((d, c) => {
|
|
346
346
|
const iso = toIso(d);
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
3
3
|
import { componentDescription, propDescription } from "../../stories-utils";
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-datepicker',
|
|
5
|
+
title: 'Components/Forms/bs-datepicker',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-datepicker') } } },
|
|
7
7
|
render: args => html `
|
|
8
8
|
<bs-datepicker
|
|
@@ -32,7 +32,7 @@ export class BsDescriptionItem {
|
|
|
32
32
|
/** Set by the parent `bs-description-list`: `stacked` (term above detail) or `horizontal` (side by side). */
|
|
33
33
|
layout = 'stacked';
|
|
34
34
|
render() {
|
|
35
|
-
return (h("dl", { key: '
|
|
35
|
+
return (h("dl", { key: 'aec70759575194366c0b4c4a55ceba043b5dddd1', part: "container", class: "bs-description-item" }, h("div", { key: '9e58afccdcaad5c33403fb01261c81251b801a1d', class: "bs-description-item__group" }, h("dt", { key: 'c2ab08452ff2996050d3a87b62fef543d9f68c65', part: "term", class: "bs-description-item__term" }, h("slot", { key: '3e8a9fb9a9a3fa6ae183a2b9c934f73b1abf7d54', name: "term" }, this.term)), h("dd", { key: '130bdfa0996d78c4aedaf8f11080edf40773dea1', part: "description", class: "bs-description-item__description" }, h("slot", { key: '51a5f57b2a198ff07f4a913cb576849cef5f98e1' }, this.description)))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "bs-description-item"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class BsDescriptionList {
|
|
|
39
39
|
.forEach(i => (i.layout = this.layout));
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '77af76f001bc7d507dc5a0b6a79e406e0081346c', part: "list", class: "bs-description-list", role: "group", "aria-label": this.ariaLabel ?? undefined }, h("slot", { key: '15e49c33a811c43599523838852394a5a6dbd5a2', onSlotchange: () => this.sync() })));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "bs-description-list"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { html } from "lit";
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
const meta = {
|
|
4
|
-
title: 'Components/bs-description-list',
|
|
4
|
+
title: 'Components/Data display/bs-description-list',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-description-list') } } },
|
|
6
6
|
argTypes: {
|
|
7
7
|
layout: { control: 'select', options: ['stacked', 'horizontal'] },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { componentDescription, propDescription } from "../../stories-utils";
|
|
2
2
|
const meta = {
|
|
3
|
-
title: 'Components/bs-dialog',
|
|
3
|
+
title: 'Components/Menus and overlays/bs-dialog',
|
|
4
4
|
parameters: {
|
|
5
5
|
docs: {
|
|
6
6
|
description: { component: componentDescription('bs-dialog') },
|
|
@@ -28,7 +28,7 @@ export class BsDivider {
|
|
|
28
28
|
const a11y = this.decorative
|
|
29
29
|
? { role: 'none', 'aria-hidden': 'true' }
|
|
30
30
|
: { role: 'separator', 'aria-orientation': orientation };
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'c17bc1539b81bcfd278936591d38a343bce89df3', ...a11y }, h("div", { key: '412a79f1f95808a3ab9624c68c70082c842dae65', class: "line", part: "line" })));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "bs-divider"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { html } from "lit";
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
const meta = {
|
|
4
|
-
title: 'Components/bs-divider',
|
|
4
|
+
title: 'Components/Layout/bs-divider',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-divider') } } },
|
|
6
6
|
render: args => html `
|
|
7
7
|
<div style="display: flex; flex-direction: ${args.orientation === 'vertical' ? 'row' : 'column'}; gap: var(--bs-spacing-200); height: 80px; width: 320px">
|
|
@@ -96,7 +96,7 @@ export class BsDropdown {
|
|
|
96
96
|
this.open = ev.detail;
|
|
97
97
|
};
|
|
98
98
|
render() {
|
|
99
|
-
return (h("bs-popover", { key: '
|
|
99
|
+
return (h("bs-popover", { key: '5fdcaae63de66b9c00e9970029eebde4678df1b2', part: "popover", open: this.open, placement: this.placement, onBsOpenChange: this.onPopoverOpenChange }, h("slot", { key: 'a995087e58089577fd6cecbde3d523f970474915', name: "trigger", slot: "trigger", onSlotchange: this.syncTrigger, ref: el => (this.triggerSlot = el) }), h("slot", { key: 'a4f86e6af89b10a92c523db2ae5543d57ea36b2e' })));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "bs-dropdown"; }
|
|
102
102
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { html } from "lit";
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
const meta = {
|
|
4
|
-
title: 'Components/bs-dropdown',
|
|
4
|
+
title: 'Components/Menus and overlays/bs-dropdown',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-dropdown') } } },
|
|
6
6
|
render: args => html `
|
|
7
7
|
<div style="padding: 24px 160px 160px;">
|
|
@@ -68,7 +68,7 @@ export class BsEmptyState {
|
|
|
68
68
|
render() {
|
|
69
69
|
const level = Math.min(6, Math.max(2, Math.round(Number(this.headingLevel)) || 3));
|
|
70
70
|
const Heading = `h${level}`;
|
|
71
|
-
return (h("div", { key: '
|
|
71
|
+
return (h("div", { key: 'c428179001f47749afe31700b517ca1cd122d14d', part: "container", class: "bs-empty-state" }, this.hasIllustration ? (h("div", { part: "illustration", class: "bs-empty-state__illustration" }, h("slot", { name: "illustration" }))) : (h("bs-icon-tile", { part: "icon", size: "lg", intent: this.intent }, this.hasIcon && h("slot", { name: "icon" }))), this.heading && (h(Heading, { key: 'c2182d743973786df9efb6fe19c7e5d4093ead7f', part: "heading", class: "bs-empty-state__heading" }, this.heading)), (this.description || this.hasDescriptionSlot) && (h("p", { key: '9e76a034b08e884856729920d7828340ea68ca6b', part: "description", class: "bs-empty-state__description" }, this.hasDescriptionSlot ? h("slot", null) : this.description)), this.hasAction && (h("div", { key: '190a141493fb58257c6b7dcb6b9175139eb080b3', part: "action", class: "bs-empty-state__action" }, h("slot", { key: '991d9fa6926c83b4806b6fb0824dbc9b1dfa1a4f', name: "action" })))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "bs-empty-state"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@ import { componentDescription } from "../../stories-utils";
|
|
|
3
3
|
const SEARCH_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="11" cy="11" r="7" /><path d="m20 20-3.5-3.5" /></svg>`;
|
|
4
4
|
const WARNING_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="12" r="9" /><path d="M12 7.5v5M12 16.2v.1" /></svg>`;
|
|
5
5
|
const meta = {
|
|
6
|
-
title: 'Components/bs-empty-state',
|
|
6
|
+
title: 'Components/Feedback/bs-empty-state',
|
|
7
7
|
parameters: { docs: { description: { component: componentDescription('bs-empty-state') } } },
|
|
8
8
|
argTypes: {
|
|
9
9
|
heading: { control: 'text' },
|
|
@@ -65,7 +65,7 @@ export class BsErrorPage {
|
|
|
65
65
|
const primary = this.primaryLabel ?? d.primary;
|
|
66
66
|
const secondary = this.secondaryLabel ?? d.secondary;
|
|
67
67
|
const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 1));
|
|
68
|
-
return (h("bs-card", { key: '
|
|
68
|
+
return (h("bs-card", { key: '959ae769b28e34f8b2e7809d9995e62104137d35', part: "container", class: "bs-error-page", surface: "base" }, h("div", { key: '2c9e26e9a09f8fa5deb4b90087f21b11a147ba22', class: "bs-error-page__body" }, h("div", { key: 'b78be284e49c08a2ff3b42c7b21cb4ae082a88af', class: "bs-error-page__art-group" }, h("bs-icon-tile", { key: '39fdd05129fa456456a2a5d3ff5e45141c88b58b', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, h("slot", { key: 'b770488128fb8229b2e47966e0c63ee0e8a11499', name: "icon" }, d.glyph())), code && (h("span", { key: '0892446d1291ae8ac8c6954a6f667a6690793a5c', part: "code", class: "bs-error-page__code" }, code))), h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (h("p", { key: 'ed69d26275e6233d5ab63aa9c3d5ae4559fa2c60', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (h("div", { key: '60efdbce69379afadb78c9447fd5fb25d251cae0', part: "actions", class: "bs-error-page__actions" }, primary && (h("bs-button", { key: '08ab35c6149a1c89b8a174395bc1634be79d535a', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: 'a4883e2c8fe7f1e19a868c2210d35bf39d03e08a', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (h("p", { key: 'b99d0b503bbc103851829f41cc70c71d87b76fd5', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "bs-error-page"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
3
3
|
import { componentDescription, propDescription } from "../../stories-utils";
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-error-page',
|
|
5
|
+
title: 'Components/Feedback/bs-error-page',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-error-page') } } },
|
|
7
7
|
render: args => html `
|
|
8
8
|
<bs-error-page
|
|
@@ -112,7 +112,7 @@ export class BsFileUpload {
|
|
|
112
112
|
this.handleFiles(files);
|
|
113
113
|
};
|
|
114
114
|
render() {
|
|
115
|
-
return (h("div", { key: '
|
|
115
|
+
return (h("div", { key: 'd54357deba77860925d31e4afc6fa461c5cda79f', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, h("div", { key: '31a01730260ee7fc808d78f38d7b5b3a013d5f55', part: "icon", class: "bs-file-upload__icon" }, h("slot", { key: '8808f036a93739ee60394c4a7c7d3aaf59b0b154', name: "icon" }, h(UploadIcon, { key: 'c40b6bc26a59b9d15ffcc41df9a9deecca91e027' }))), h("div", { key: '728bac5a8c8270c33e6469664c40e2a521153710', class: "bs-file-upload__content" }, h("div", { key: '0d95caaeb98bbda8519614ee02161ea8fa13f089', class: "bs-file-upload__text" }, this.heading && (h("span", { key: 'cf383bfa3622108a08fc9382b8b36d911f9a35e8', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (h("span", { key: 'bedcf6d80b3246fe8864151c649e4eb6e1f831d2', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), h("bs-button", { key: '3072c4dcd99973839e3aab145f27295e61ca227b', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), h("input", { key: 'c41931e65ef8aecdc3f49dd7141f4f9aeae25dc0', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
|
|
116
116
|
}
|
|
117
117
|
static get is() { return "bs-file-upload"; }
|
|
118
118
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { html, render } from "lit";
|
|
|
2
2
|
import { componentDescription, propDescription } from "../../stories-utils";
|
|
3
3
|
const directions = ['horizontal', 'vertical'];
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-file-upload',
|
|
5
|
+
title: 'Components/Forms/bs-file-upload',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-file-upload') } } },
|
|
7
7
|
render: args => html `
|
|
8
8
|
<bs-file-upload
|
|
@@ -86,7 +86,7 @@ export class BsFileUploadItem {
|
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
88
|
const removing = this.state === 'success';
|
|
89
|
-
return (h("div", { key: '
|
|
89
|
+
return (h("div", { key: '76c6eec0456ffea46333327b2758f4e90b4df15d', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, h("div", { key: '1b79696442c06b562c3a5e004d85f52b11890704', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, h("slot", { key: '7c7436f2afaab8a6a642e7ead5b3568c88ac11d9', name: "thumbnail" }, this.thumbnailSrc ? (h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (h(ImageIcon, null)))), h("div", { key: '112da43807c703eeba751a26e946196a4f014e91', class: "bs-file-upload-item__content" }, h("div", { key: 'ae7cb642892239fe199e62c08058bd9858f32641', class: "bs-file-upload-item__meta" }, h("span", { key: 'e0c3eea1f905470f471c76a53d28152b20d33fed', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (h("span", { key: '0836c13dc7e37379f42c700cb452fc5814d54e5a', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), h("bs-icon-button", { key: '29f1eb7e8f057cc6bf3ed026ff0b7c5626ebf951', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? h(TrashIcon, null) : h(CloseIcon, null))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "bs-file-upload-item"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ const hideOnAction = (ev) => {
|
|
|
10
10
|
ev.currentTarget.style.display = 'none';
|
|
11
11
|
};
|
|
12
12
|
const meta = {
|
|
13
|
-
title: 'Components/bs-file-upload-item',
|
|
13
|
+
title: 'Components/Forms/bs-file-upload-item',
|
|
14
14
|
parameters: { docs: { description: { component: componentDescription('bs-file-upload-item') } } },
|
|
15
15
|
render: args => html `
|
|
16
16
|
<bs-file-upload-item
|
|
@@ -342,10 +342,10 @@ export class BsGlobalSearch {
|
|
|
342
342
|
const listId = `${this.id}-listbox`;
|
|
343
343
|
const isList = this.status === 'default' || this.status === 'results';
|
|
344
344
|
const showFooter = this.showFooter && isList;
|
|
345
|
-
return (h("div", { key: '
|
|
345
|
+
return (h("div", { key: 'de908b4834fb2768314aece670e6f92dc0b8b516', class: "bs-global-search" }, h("div", { key: '6263cdf890dca0e36b263d29909e07d79b365f1c', part: "field", class: "bs-global-search__field", role: "combobox", "aria-label": this.label || this.placeholder, "aria-expanded": String(this.open && showList), "aria-haspopup": "listbox", "aria-controls": this.open && showList ? listId : undefined, "aria-activedescendant": this.open && this.activeId ? this.activeId : undefined, onKeyDown: this.onKeyDown, onFocusin: () => this.setOpen(true), onClick: () => this.setOpen(true) }, h("bs-input", { key: '8a60460c8df0a45edb262f6d7f077cc15d8705ff', ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, disabled: this.disabled, onBsInput: this.onInput })), this.open && (h("div", { key: '52b1a17c333182757023c92fc97b8af30c5878e6', part: "panel", class: "bs-global-search__panel", onMouseDown: (ev) => ev.preventDefault(), onMouseOver: this.onPanelMouseOver }, isList && showList && (h("div", { key: 'e9bf01e0294183cfb518327fce070de74d8c6bee', id: listId, class: "bs-global-search__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => {
|
|
346
346
|
const hid = `${this.id}-h-${s}`;
|
|
347
347
|
return (h("div", { part: "section", class: "bs-global-search__section", role: "group", "aria-labelledby": hid }, h("div", { part: "section-header", id: hid, class: "bs-global-search__section-header" }, this.sectionLabel(s)), h("slot", { name: s })));
|
|
348
|
-
}))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), h("span", { key: '
|
|
348
|
+
}))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), h("span", { key: 'b71973514a9676083122a92c3534ec7ddfcbc1ae', class: "bs-global-search__live", "aria-live": "polite" }, this.announcement())));
|
|
349
349
|
}
|
|
350
350
|
static get is() { return "bs-global-search"; }
|
|
351
351
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,7 +47,7 @@ const searchInItems = () => SEARCH_IN.map(s => html `<bs-search-item slot="searc
|
|
|
47
47
|
const meta = {
|
|
48
48
|
// The shared story data constants are exported for the tests; keep them out of the sidebar.
|
|
49
49
|
excludeStories: /^[A-Z0-9_]+$/,
|
|
50
|
-
title: 'Components/bs-global-search',
|
|
50
|
+
title: 'Components/Navigation/bs-global-search',
|
|
51
51
|
parameters: { layout: 'padded', docs: { description: { component: componentDescription('bs-global-search') } } },
|
|
52
52
|
argTypes: {
|
|
53
53
|
value: { control: 'text' },
|
|
@@ -59,12 +59,12 @@ export class BsGrid {
|
|
|
59
59
|
const row = this.rowGap ? this.token(this.rowGap) : gapValue;
|
|
60
60
|
const col = this.columnGap ? this.token(this.columnGap) : gapValue;
|
|
61
61
|
const align = ALIGNS.includes(this.align) ? this.align : 'stretch';
|
|
62
|
-
return (h("div", { key: '
|
|
62
|
+
return (h("div", { key: '6eb1a4c6cc206966b652daf26406d3b55c2dae23', class: "bs-grid", part: "container", style: {
|
|
63
63
|
gridTemplateColumns: this.template(),
|
|
64
64
|
rowGap: `var(--bs-grid-row-gap, ${row})`,
|
|
65
65
|
columnGap: `var(--bs-grid-column-gap, ${col})`,
|
|
66
66
|
alignItems: align,
|
|
67
|
-
} }, h("slot", { key: '
|
|
67
|
+
} }, h("slot", { key: '202c36abcef55d2982f4a2b35563a7fe43308e64' })));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "bs-grid"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ const cell = (n, h = 64) => html `
|
|
|
5
5
|
<div style="background: var(--bs-surface-container); padding: var(--bs-spacing-200); height: ${h}px">Item ${n}</div>
|
|
6
6
|
`;
|
|
7
7
|
const meta = {
|
|
8
|
-
title: 'Components/bs-grid',
|
|
8
|
+
title: 'Components/Layout/bs-grid',
|
|
9
9
|
parameters: { docs: { description: { component: componentDescription('bs-grid') } } },
|
|
10
10
|
render: args => html `
|
|
11
11
|
<bs-grid
|
|
@@ -31,7 +31,7 @@ export class BsHeading {
|
|
|
31
31
|
const level = Math.min(6, Math.max(1, Number(this.level) || 2));
|
|
32
32
|
const Tag = (this.as ?? `h${level}`);
|
|
33
33
|
const size = this.size ?? String(level);
|
|
34
|
-
return (h(Tag, { key: '
|
|
34
|
+
return (h(Tag, { key: 'ad994ea3888c1d9c1a51677ac350f81590ad1a75', part: "heading", class: `bs-heading bs-heading--${size}` }, h("slot", { key: 'f9a5595d9b9d5ace4c9bbef398d94fb1164081d1' })));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "bs-heading"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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-heading',
|
|
5
|
+
title: 'Components/Typography and media/bs-heading',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-heading') } } },
|
|
7
7
|
render: args => html `<bs-heading level=${args.level} size=${ifDefined(args.size || undefined)} tone=${args.tone}>${args.text}</bs-heading>`,
|
|
8
8
|
argTypes: {
|
|
@@ -40,7 +40,7 @@ export class BsIcon {
|
|
|
40
40
|
const filled = typeof markup === 'object';
|
|
41
41
|
const inner = typeof markup === 'string' ? markup : markup?.body;
|
|
42
42
|
const labelled = !!this.label;
|
|
43
|
-
return (h("span", { key: '
|
|
43
|
+
return (h("span", { key: '8c4cccfecdf14d66fff16ae8222dea030615e64b', part: "icon", class: "bs-icon", role: labelled ? 'img' : undefined, "aria-label": labelled ? this.label : undefined, "aria-hidden": labelled ? undefined : 'true' }, markup ? (h("svg", { viewBox: filled ? markup.viewBox : '0 0 24 24', fill: filled ? 'currentColor' : 'none', stroke: filled ? undefined : 'currentColor', "stroke-width": filled ? undefined : '2', "stroke-linecap": filled ? undefined : 'round', "stroke-linejoin": filled ? undefined : 'round', "aria-hidden": "true", focusable: "false", ref: (svg) => {
|
|
44
44
|
if (svg && svg.innerHTML !== inner)
|
|
45
45
|
svg.innerHTML = inner;
|
|
46
46
|
} })) : (h("slot", null))));
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
const NAMES = ['menu', 'arrow-right', 'arrow-left', 'check', 'close', 'chevron-down', 'external-link', 'copy', 'search'];
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-icon',
|
|
5
|
+
title: 'Components/Typography and media/bs-icon',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-icon') } } },
|
|
7
7
|
render: args => html `<bs-icon name=${args.name} size=${args.size} tone=${args.tone} label=${args.label || ''}></bs-icon>`,
|
|
8
8
|
argTypes: {
|
|
@@ -46,8 +46,8 @@ export class BsIconTile {
|
|
|
46
46
|
render() {
|
|
47
47
|
const labelled = !!this.label;
|
|
48
48
|
return [
|
|
49
|
-
h("div", { key: '
|
|
50
|
-
h("span", { key: '
|
|
49
|
+
h("div", { key: 'a9269d578576879e678be7f9b446b48433b7fd67', part: "container", class: "bs-icon-tile", role: labelled ? 'img' : undefined, "aria-label": labelled ? this.label : undefined, "aria-hidden": labelled ? undefined : 'true' }, h("span", { key: '299f4298a3fd52db71f49ed4a2f85367049dc91a', part: "icon", class: "bs-icon-tile__icon" }, h("slot", { key: '169432812651904452a6829bbfaf887d6d5524d3', onSlotchange: (ev) => (this.hasCustomIcon = hasContent(ev.target)) }), !this.hasCustomIcon && (GLYPHS[this.intent] ?? GLYPHS.default))),
|
|
50
|
+
h("span", { key: '6275125b69e1273ef26ca56193ce3d9be8349d86', part: "text", class: { 'bs-icon-tile__text': true, 'bs-icon-tile__text--visible': this.hasText } }, h("slot", { key: 'fdc51493b1c2dca36c3fa556d93ec2d5539094a8', name: "text", onSlotchange: (ev) => (this.hasText = ev.target.assignedNodes().length > 0) })),
|
|
51
51
|
];
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "bs-icon-tile"; }
|
|
@@ -4,7 +4,7 @@ import { componentDescription, propDescription } from "../../stories-utils";
|
|
|
4
4
|
const INTENTS = ['default', 'success', 'warning', 'error', 'brand', 'information'];
|
|
5
5
|
const SIZES = ['sm', 'md', 'lg'];
|
|
6
6
|
const meta = {
|
|
7
|
-
title: 'Components/bs-icon-tile',
|
|
7
|
+
title: 'Components/Typography and media/bs-icon-tile',
|
|
8
8
|
parameters: { docs: { description: { component: componentDescription('bs-icon-tile') } } },
|
|
9
9
|
render: args => html `<bs-icon-tile size=${args.size} intent=${args.intent} label=${ifDefined(args.label || undefined)}></bs-icon-tile>`,
|
|
10
10
|
argTypes: {
|