@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
|
@@ -579,6 +579,18 @@ describe('bs-input', () => {
|
|
|
579
579
|
});
|
|
580
580
|
});
|
|
581
581
|
describe('type="pin"', () => {
|
|
582
|
+
it('names every cell, keeping the visible label for the first when there is one', async () => {
|
|
583
|
+
const { root } = await render(h("bs-input", { type: "pin", length: 3, label: "Verification code" }));
|
|
584
|
+
const cells = Array.from(root.shadowRoot.querySelectorAll('.bs-input__pin-cell'));
|
|
585
|
+
expect(cells[0].hasAttribute('aria-label')).toBe(false);
|
|
586
|
+
expect(cells[1].getAttribute('aria-label')).toBe('Digit 2 of 3');
|
|
587
|
+
expect(cells[2].getAttribute('aria-label')).toBe('Digit 3 of 3');
|
|
588
|
+
});
|
|
589
|
+
it('names the first cell too when there is no label, and honours pinCellLabel', async () => {
|
|
590
|
+
const { root } = await render(h("bs-input", { type: "pin", length: 2, pinCellLabel: "Ziffer {n} von {total}" }));
|
|
591
|
+
const cells = Array.from(root.shadowRoot.querySelectorAll('.bs-input__pin-cell'));
|
|
592
|
+
expect(cells.map(c => c.getAttribute('aria-label'))).toEqual(['Ziffer 1 von 2', 'Ziffer 2 von 2']);
|
|
593
|
+
});
|
|
582
594
|
it('renders one input cell per length', async () => {
|
|
583
595
|
const { root } = await render(h("bs-input", { type: "pin", length: 4 }));
|
|
584
596
|
const cells = root.shadowRoot.querySelectorAll('.bs-input__pin-cell');
|
|
@@ -118,6 +118,9 @@ export class BsInput {
|
|
|
118
118
|
countryLabel = 'Country';
|
|
119
119
|
/** Number of cells for `type="pin"`. */
|
|
120
120
|
length = 4;
|
|
121
|
+
/** `type="pin"`: accessible name of each cell, with `{n}` replaced by its 1-based position and `{total}` by `length`. The
|
|
122
|
+
* first cell keeps the field's visible `label` as its name when there is one. */
|
|
123
|
+
pinCellLabel = 'Digit {n} of {total}';
|
|
121
124
|
/** `type="combobox"`: shows a loading indicator and, while no options match, a loading message
|
|
122
125
|
* in the popup instead of "no results". Use while fetching `options` asynchronously. */
|
|
123
126
|
loading = false;
|
|
@@ -710,13 +713,13 @@ export class BsInput {
|
|
|
710
713
|
this.pinInputs = [];
|
|
711
714
|
const errorClass = this.error ? 'bs-input__field--error' : '';
|
|
712
715
|
const disabledClass = this.disabled ? 'bs-input__field--disabled' : '';
|
|
713
|
-
return (h("div", { part: "field", class: `bs-input__field bs-input__field--pin ${errorClass} ${disabledClass}` }, Array.from({ length: this.length }).map((_, i) => (h("input", { id: i === 0 ? 'control' : undefined, ref: el => (this.pinInputs[i] = el), part: "control", class: "bs-input__pin-cell", type: "text", inputMode: "numeric", maxLength: 1, value: this.value[i] ?? '', disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, onInput: this.onPinInput(i), onKeyDown: this.onPinKeydown(i) })))));
|
|
716
|
+
return (h("div", { part: "field", class: `bs-input__field bs-input__field--pin ${errorClass} ${disabledClass}` }, Array.from({ length: this.length }).map((_, i) => (h("input", { id: i === 0 ? 'control' : undefined, ref: el => (this.pinInputs[i] = el), part: "control", class: "bs-input__pin-cell", type: "text", inputMode: "numeric", maxLength: 1, "aria-label": i === 0 && this.label ? undefined : this.pinCellLabel.replace('{n}', String(i + 1)).replace('{total}', String(this.length)), value: this.value[i] ?? '', disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, onInput: this.onPinInput(i), onKeyDown: this.onPinKeydown(i) })))));
|
|
714
717
|
}
|
|
715
718
|
render() {
|
|
716
|
-
return (h("div", { key: '
|
|
719
|
+
return (h("div", { key: '1882c70d76bc2568e556455416dc0c899865b6fe', class: `bs-input ${this.error ? 'bs-input--error' : ''}` }, this.label && (
|
|
717
720
|
// "control" is a fixed id, not a generated one -- safe because Shadow DOM scopes ids
|
|
718
721
|
// to this instance's own shadow root, so it can never collide with another bs-input.
|
|
719
|
-
h("label", { key: '
|
|
722
|
+
h("label", { key: 'b43d44bc4466727e37c338ffdbe03a67d85732f1', part: "label", class: "bs-input__label", htmlFor: "control" }, this.label, this.required && (h("span", { key: '1faee1b28110c38ee1ab58272a4f55403c3eb075', part: "required", class: "bs-input__required", "aria-hidden": "true" }, "*")))), this.type === 'pin' ? this.renderPinField() : this.type === 'initials' ? this.renderInitialsField() : this.type === 'country' ? this.renderCountryField() : this.renderField(), this.error ? (h("span", { id: "description-or-error", part: "error", class: "bs-input__error" }, h("svg", { part: "error-icon", class: "bs-input__error-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("circle", { cx: "8", cy: "8", r: "6.5", stroke: "currentColor", "stroke-width": "1.2" }), h("path", { d: "M8 5V8.5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round" }), h("circle", { cx: "8", cy: "11", r: "0.75", fill: "currentColor" })), this.error)) : this.description ? (h("span", { id: "description-or-error", part: "description", class: "bs-input__description" }, this.description)) : null));
|
|
720
723
|
}
|
|
721
724
|
static get is() { return "bs-input"; }
|
|
722
725
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1259,6 +1262,26 @@ export class BsInput {
|
|
|
1259
1262
|
"attribute": "length",
|
|
1260
1263
|
"defaultValue": "4"
|
|
1261
1264
|
},
|
|
1265
|
+
"pinCellLabel": {
|
|
1266
|
+
"type": "string",
|
|
1267
|
+
"mutable": false,
|
|
1268
|
+
"complexType": {
|
|
1269
|
+
"original": "string",
|
|
1270
|
+
"resolved": "string",
|
|
1271
|
+
"references": {}
|
|
1272
|
+
},
|
|
1273
|
+
"required": false,
|
|
1274
|
+
"optional": false,
|
|
1275
|
+
"docs": {
|
|
1276
|
+
"tags": [],
|
|
1277
|
+
"text": "`type=\"pin\"`: accessible name of each cell, with `{n}` replaced by its 1-based position and `{total}` by `length`. The\nfirst cell keeps the field's visible `label` as its name when there is one."
|
|
1278
|
+
},
|
|
1279
|
+
"getter": false,
|
|
1280
|
+
"setter": false,
|
|
1281
|
+
"reflect": false,
|
|
1282
|
+
"attribute": "pin-cell-label",
|
|
1283
|
+
"defaultValue": "'Digit {n} of {total}'"
|
|
1284
|
+
},
|
|
1262
1285
|
"loading": {
|
|
1263
1286
|
"type": "boolean",
|
|
1264
1287
|
"mutable": false,
|
|
@@ -1,5 +1,7 @@
|
|
|
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 inputTypes = ['text', 'email', 'password', 'number', 'search', 'date', 'dropdown', 'select', 'textarea', 'chip', 'initials', 'country', 'pin', 'combobox'];
|
|
4
6
|
const mailIcon = html `
|
|
5
7
|
<svg slot="icon" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
|
@@ -12,7 +14,7 @@ const chevronIcon = html `
|
|
|
12
14
|
</svg>
|
|
13
15
|
`;
|
|
14
16
|
const meta = {
|
|
15
|
-
title: 'Components/bs-input',
|
|
17
|
+
title: 'Components/Forms/bs-input',
|
|
16
18
|
parameters: { docs: { description: { component: componentDescription('bs-input') } } },
|
|
17
19
|
render: args => html `
|
|
18
20
|
<bs-input
|
|
@@ -59,6 +61,18 @@ export const Default = {
|
|
|
59
61
|
args: {
|
|
60
62
|
type: 'email',
|
|
61
63
|
},
|
|
64
|
+
play: async ({ canvasElement }) => {
|
|
65
|
+
const host = await ready(canvasElement, 'bs-input');
|
|
66
|
+
const inputs = recordEvents(host, 'bsInput');
|
|
67
|
+
const control = inShadow(host, '[part="control"]');
|
|
68
|
+
await expect(control).toHaveValue('');
|
|
69
|
+
await userEvent.type(control, 'ada@example.com');
|
|
70
|
+
await expect(control).toHaveValue('ada@example.com');
|
|
71
|
+
await waitFor(() => expect(host.value).toBe('ada@example.com'));
|
|
72
|
+
// One bsInput per keystroke, each carrying the value so far.
|
|
73
|
+
await expect(inputs.at(-1)?.detail).toBe('ada@example.com');
|
|
74
|
+
await expect(inputs).toHaveLength('ada@example.com'.length);
|
|
75
|
+
},
|
|
62
76
|
};
|
|
63
77
|
export const WithDescription = {
|
|
64
78
|
args: { description: "We'll never share your email." },
|
|
@@ -38,7 +38,7 @@ export class BsKey {
|
|
|
38
38
|
this.hasIcon = ev.target.assignedNodes().length > 0;
|
|
39
39
|
};
|
|
40
40
|
render() {
|
|
41
|
-
return (h("kbd", { key: '
|
|
41
|
+
return (h("kbd", { key: '8f4ca3f50f2464d970208aa23d07c497e25b839f', part: "container", class: "bs-key" }, !this.hasIcon && (h("span", { key: '7c7c3aea3a6baeb84e13cbb2eb50e9769041e927', part: "label", class: "bs-key__label" }, h("slot", { key: 'b86ab0689019b428cdcbd26e629c9ebedc263680' }, this.label))), h("span", { key: 'eca76a851440adff0c72811cf0a1ea3fa34c3ab2', part: "icon", class: { 'bs-key__icon': true, 'bs-key__icon--hidden': !this.hasIcon } }, h("slot", { key: '40bd8bee7efbc18a452b009c26186c8bb1e9277b', name: "icon", onSlotchange: this.onIconSlotChange }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "bs-key"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
const RETURN_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"><path d="M9 14 4 9l5-5" /><path d="M4 9h10.5a5.5 5.5 0 0 1 0 11H11" /></svg>`;
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-key',
|
|
5
|
+
title: 'Components/Data display/bs-key',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-key') } } },
|
|
7
7
|
render: args => html `<bs-key label=${args.label}></bs-key>`,
|
|
8
8
|
argTypes: { label: { control: 'text' } },
|
|
@@ -41,7 +41,7 @@ export class BsKeyCaps {
|
|
|
41
41
|
render() {
|
|
42
42
|
const keys = this.keyList();
|
|
43
43
|
const name = this.label ?? (keys.length ? keys.join(' plus ') : undefined);
|
|
44
|
-
return (h("span", { key: '
|
|
44
|
+
return (h("span", { key: '55a40d29ca5e3de2c3b54c00ec7e06bc5da19b27', part: "container", class: "bs-key-caps", role: "group", "aria-label": name, "aria-disabled": this.disabled ? 'true' : undefined }, keys.map(k => (h("bs-key", { label: k }))), h("slot", { key: 'def7a994773d31c5686deb7bbc3e26b67975e7c7' })));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "bs-key-caps"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
const RETURN_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"><path d="M9 14 4 9l5-5" /><path d="M4 9h10.5a5.5 5.5 0 0 1 0 11H11" /></svg>`;
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-key-caps',
|
|
5
|
+
title: 'Components/Data display/bs-key-caps',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-key-caps') } } },
|
|
7
7
|
render: args => html `<bs-key-caps keys=${args.keys} ?disabled=${args.disabled}></bs-key-caps>`,
|
|
8
8
|
argTypes: { keys: { control: 'text' }, disabled: { control: 'boolean' } },
|
|
@@ -129,10 +129,10 @@ export class BsKeyboardShortcuts {
|
|
|
129
129
|
const headId = `${this.id}-heading`;
|
|
130
130
|
const noResults = count === 0 && (this.query ?? '').trim() !== '';
|
|
131
131
|
let gi = 0;
|
|
132
|
-
return (h("bs-card", { key: '
|
|
132
|
+
return (h("bs-card", { key: '2bdb50736e8d45ed9ac40d03748507b76eb9a1be', part: "container", class: "bs-keyboard-shortcuts", surface: "base", role: "region", "aria-labelledby": headId, onKeyDown: this.onKeyDown }, h("div", { key: '9c1950b3cb4b6f07c6cd9070083238156e1e5a50', class: "bs-keyboard-shortcuts__body" }, h("div", { key: 'be8c893559445a69879471afff074384ede621bf', part: "head", class: "bs-keyboard-shortcuts__head" }, h("svg", { key: '9a59710d9e82ffc5fa665c6c30858a36016a6914', class: "bs-keyboard-shortcuts__icon", viewBox: "0 0 24 24", width: "20", height: "20", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("rect", { key: 'c26c4799875d84bcd59f1853674d435b59fc0536', x: "2", y: "5", width: "20", height: "14", rx: "2" }), h("path", { key: '67a1d8d57655b48a8f75785dfee79bf27fb13628', d: "M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 13h.01M18 13h.01M9 15.5h6" })), h("h4", { key: '6c2a6e3f4dfb71811339d41b189818f6fbeecbe3', part: "heading", id: headId, class: "bs-keyboard-shortcuts__heading" }, h("slot", { key: '181683ab9371e00d282c29a3606332ca5c85dce8', name: "heading" }, this.heading)), h("bs-icon-button", { key: '12401e81656f71df56968def81fe91cc33268c5a', part: "close", variant: "subtle", size: "md", "aria-label": this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: '09934da82b18e37fa119d1ea9004833a02be13aa', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: '1fdef5b3a757435a08b4f6aec174c90fcfc53ca8', d: "M6 6l12 12M18 6 6 18" })))), h("bs-input", { key: '818ca74e0cacfcfcd6a02db120efd9b2eee7ce9d', part: "search", type: "search", placeholder: this.searchPlaceholder, value: this.query, onBsInput: this.onInput }), this.showSingleKeySwitch && (h("div", { key: '5af576415bdaa91eca070fda99565a05e00e1d71', part: "switch", class: "bs-keyboard-shortcuts__switch" }, h("div", { key: '52f138164d5f25c9fb284fa8033d386ca06a1df5', class: "bs-keyboard-shortcuts__switch-text" }, h("span", { key: '40a0abcb9539a13341232fe09bde09ff697d88e1', class: "bs-keyboard-shortcuts__switch-title" }, this.singleKeyLabel), h("span", { key: '9e244b16c92625a150c2dbaa396ba90ae310b2b5', class: "bs-keyboard-shortcuts__switch-caption" }, this.singleKeyDescription)), h("bs-switch", { key: '44bd3294e8927d9dfdf68d37e2c978a826410d0d', ariaLabel: this.singleKeyLabel, checked: this.singleKeyEnabled, onBsChange: this.onSwitch }))), h("span", { key: '8d387e7ba82d68ad2cec939d67f939be9c2234ce', class: "bs-keyboard-shortcuts__live", "aria-live": "polite" }, `${count} shortcut${count === 1 ? '' : 's'}`), noResults ? (h("p", { part: "empty", class: "bs-keyboard-shortcuts__empty", role: "status" }, this.noResultsText)) : (h("div", { part: "groups", class: "bs-keyboard-shortcuts__groups" }, cols.map(col => (h("div", { class: "bs-keyboard-shortcuts__column" }, col.map(g => {
|
|
133
133
|
const tid = `${this.id}-g${gi++}`;
|
|
134
134
|
return (h("div", { part: "group", class: "bs-keyboard-shortcuts__group", role: "group", "aria-labelledby": tid }, h("div", { part: "group-title", id: tid, class: "bs-keyboard-shortcuts__group-title" }, g.title), h("div", { class: "bs-keyboard-shortcuts__rows", role: "list" }, g.shortcuts.map(s => (h("bs-shortcut-row", { part: "row", action: s.action, keys: s.keys, selectionRole: "listitem", disabled: !!s.disabled || (!this.singleKeyEnabled && isSingleKey(s)) }))))));
|
|
135
|
-
})))))), this.showFooterHint && (h("div", { key: '
|
|
135
|
+
})))))), this.showFooterHint && (h("div", { key: '0fb23ea10f8220759ce39c6099d35c9ac3495ace', part: "footer", class: "bs-keyboard-shortcuts__footer" }, h("slot", { key: 'a52faff702a65bc62e655d23b63ddca05c906dfd', name: "footer" }, h("span", { key: '36ede16f65363311b87cbe3ac2f5d1455603d70e' }, this.footerPrefix), h("bs-key", { key: '6bf290a60780b2287939c5a3143c788422f445fc', label: this.footerKey }), h("span", { key: '9c27d390eb2f5fae1bfbd8c2816bf0f0050d1cca' }, this.footerText)))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "bs-keyboard-shortcuts"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,7 +54,7 @@ export const FILTERED_GROUPS = [
|
|
|
54
54
|
const meta = {
|
|
55
55
|
// The shared SHORTCUT_GROUPS data constants are exported for the other stories; keep them out of the sidebar.
|
|
56
56
|
excludeStories: /^[A-Z0-9_]+$/,
|
|
57
|
-
title: 'Components/bs-keyboard-shortcuts',
|
|
57
|
+
title: 'Components/Data display/bs-keyboard-shortcuts',
|
|
58
58
|
parameters: { docs: { description: { component: componentDescription('bs-keyboard-shortcuts') } } },
|
|
59
59
|
argTypes: {
|
|
60
60
|
query: { control: 'text' },
|
|
@@ -54,7 +54,7 @@ export class BsLink {
|
|
|
54
54
|
const newTab = this.target === '_blank';
|
|
55
55
|
const showIcon = this.external || newTab;
|
|
56
56
|
const rel = this.rel ?? (newTab ? 'noopener noreferrer' : undefined);
|
|
57
|
-
return (h("a", { key: '
|
|
57
|
+
return (h("a", { key: 'c67ebccfd8ae853888e01bda7921685ff8343ff7', part: "link", class: `bs-link bs-link--${this.variant}`, href: this.href, target: this.target, rel: rel, "aria-label": this.ariaLabel, "aria-current": this.current ? 'page' : undefined, onClick: this.onClick }, h("span", { key: 'e73117100dd02185da4ce70fbb21d5eaa6aaa6b1', part: "label", class: "bs-link__label" }, h("slot", { key: '2a6c2f7594b522efc53c6377160471ecdb1a1bf1' })), newTab && h("span", { key: 'e0d679623ace072d5d18ec65087cfecad6d30389', class: "bs-link__sr" }, this.externalLabel), showIcon && (h("svg", { key: 'ff1f095010f8007d486640583b2617e2a762497b', part: "icon", class: "bs-link__icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '5ae56bdaacf0236928fbe6ad64ae72ac0e1ef5c7', d: "M9 3h4v4M13 3L7.5 8.5M12 9v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "bs-link"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription, propDescription } from "../../stories-utils";
|
|
3
3
|
const variants = ['inline', 'standalone', 'button'];
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-link',
|
|
5
|
+
title: 'Components/Actions/bs-link',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-link') } } },
|
|
7
7
|
render: args => html `
|
|
8
8
|
<bs-link variant=${args.variant} href=${args.href} target=${args.target || undefined} ?external=${args.external} ?current=${args.current}>${args.label}</bs-link>
|
|
@@ -104,7 +104,7 @@ export class BsList {
|
|
|
104
104
|
enabled[next].focus();
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return (h("div", { key: '
|
|
107
|
+
return (h("div", { key: '4be1ca9577bdab3ee3a270c0cf95aa3e77debf4e', part: "list", class: "bs-list", role: this.selectable ? 'listbox' : 'list', "aria-label": this.ariaLabel ?? undefined }, h("slot", { key: '0f1fd3408bf906225b66159f3853c3238a872b6c', onSlotchange: () => this.sync() })));
|
|
108
108
|
}
|
|
109
109
|
static get is() { return "bs-list"; }
|
|
110
110
|
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-list',
|
|
4
|
+
title: 'Components/Data display/bs-list',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-list') } } },
|
|
6
6
|
argTypes: {
|
|
7
7
|
selectable: { control: 'boolean' },
|
|
@@ -105,7 +105,7 @@ export class BsListItem {
|
|
|
105
105
|
const role = this.selectionRole === 'option' ? 'option' : this.selectionRole === 'listitem' ? 'listitem' : this.interactive ? 'button' : undefined;
|
|
106
106
|
const standaloneFocusable = this.interactive && !this.selectionRole && !this.disabled;
|
|
107
107
|
const showTrailing = this.showArrow || this.hasTrailing;
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '9c74c4c5f2e7a03c2d65846191da53ad1bb78be4', role: role, tabindex: standaloneFocusable ? '0' : undefined, "aria-selected": this.selectionRole === 'option' ? String(this.selected) : undefined, "aria-disabled": this.disabled ? 'true' : undefined, class: { 'bs-list-item--interactive': interactive && !this.disabled } }, h("div", { key: '25a257bebc8fa4f3c2f5e0be773990f68c22d6a7', part: "container", class: "bs-list-item" }, interactive && !this.disabled && h("bs-ripple", { key: '3667e8cfb52627c34ae229bcebfce4e8012fdf82', part: "ripple" }), this.marker && (h("span", { key: 'ef4c8c059f34988e4025d449ed87f8d78550b633', part: "marker", class: "bs-list-item__marker", "aria-hidden": "true" }, this.marker)), h("div", { key: 'e2abf15774bf60d1c9a9e709fd744ba541604cf1', part: "leading", class: { 'bs-list-item__leading': true, 'bs-list-item__leading--has-content': this.hasLeading } }, h("slot", { key: '7d60b7f4e7bed30fc6a5f7d7501c5c1be67de01e', name: "leading", onSlotchange: (e) => (this.hasLeading = this.slotHas(e)) })), h("div", { key: '93584a1a50da7d06a489c55222d610a0d436c081', part: "content", class: "bs-list-item__content" }, !this.hasDefault && this.label && (h("div", { key: 'ecedc4569f877614cf47a14733b885b6c6580369', part: "label", class: "bs-list-item__label" }, this.label)), !this.hasDefault && this.description && (h("div", { key: '87f6ac0fc68f43ea7fe2fb36d6decf399f9ea7e0', part: "description", class: "bs-list-item__description" }, this.description)), !this.hasDefault && this.supportText && (h("div", { key: '8f597dea35c85fd4aa6612c31da5315978d66b28', part: "support-text", class: "bs-list-item__support" }, this.supportText)), h("slot", { key: 'b055ba337817fecb1af4963e49045e1d7274bb4b', onSlotchange: (e) => (this.hasDefault = this.slotHas(e)) })), h("div", { key: 'e475829dc3d658cc7c41f4ee5375c7dd8ef5cf03', part: "trailing", class: { 'bs-list-item__trailing': true, 'bs-list-item__trailing--shown': showTrailing } }, h("slot", { key: 'c7ea8c880d469f7ae83d40a3ac7f1f85a33f3194', name: "trailing", onSlotchange: (e) => (this.hasTrailing = this.slotHas(e)) }, this.showArrow && (h("svg", { key: '951f3969f84f53677e49299ff7c9eb76e075eaae', viewBox: "0 0 32 32", width: "32", height: "32", fill: "none", "aria-hidden": "true" }, h("path", { key: '30f65bce105befe577e26fb9e1324eb927b5cf0b', d: "M12 7L21 16L12 25", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "bs-list-item"; }
|
|
111
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ const plusIcon = html `<svg slot="leading" viewBox="0 0 32 32" fill="none" aria-
|
|
|
6
6
|
<path d="M16 7V25M7 16H25" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
|
7
7
|
</svg>`;
|
|
8
8
|
const meta = {
|
|
9
|
-
title: 'Components/bs-list-item',
|
|
9
|
+
title: 'Components/Data display/bs-list-item',
|
|
10
10
|
parameters: { docs: { description: { component: componentDescription('bs-list-item') } } },
|
|
11
11
|
argTypes: {
|
|
12
12
|
label: { control: 'text' },
|
|
@@ -3,7 +3,7 @@ import { componentDescription, propDescription } from "../../stories-utils";
|
|
|
3
3
|
const variants = ['full', 'mark', 'custom'];
|
|
4
4
|
const backgrounds = ['auto', 'light', 'dark'];
|
|
5
5
|
const meta = {
|
|
6
|
-
title: 'Components/bs-logo',
|
|
6
|
+
title: 'Components/Typography and media/bs-logo',
|
|
7
7
|
parameters: { docs: { description: { component: componentDescription('bs-logo') } } },
|
|
8
8
|
render: args => html `<bs-logo variant=${args.variant} background=${args.background} src=${args.src} alt=${args.alt}></bs-logo>`,
|
|
9
9
|
argTypes: {
|
|
@@ -162,7 +162,7 @@ export class BsMegaMenu {
|
|
|
162
162
|
const hasFeatured = !!this.featured || !!this.el.querySelector(':scope > [slot="featured"]');
|
|
163
163
|
const tracks = this.columns.length + (hasFeatured ? 1 : 0);
|
|
164
164
|
const removed = this.open === false && !this.closing;
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '79b98af761c201ff8d7f4e713ce883cceda56c04', "data-closed": removed ? '' : undefined }, h("bs-card", { key: '13a30edab0e12aaa05f40b2b42a370befa05d27a', part: "panel", class: "bs-mega-menu", surface: "base", role: "navigation", "aria-label": this.label, onKeyDown: this.onKeyDown, inert: this.closing, ref: el => (this.panelEl = el) }, h("div", { key: '8dc5cd5b1d447857a47dfb98071d1fa13acf938d', part: "columns", class: "bs-mega-menu__columns", style: { '--bs-mega-menu-tracks': String(Math.max(tracks, 1)) } }, this.columns.map(col => this.renderColumn(col)), hasFeatured && this.renderFeatured()), h("bs-divider", { key: '15f5311130a162cb190f1be0b3100e767eb50370', decorative: true }), h("div", { key: '3061670b2f9fbdca63cfb040d2a8c6449c68e752', part: "footer", class: "bs-mega-menu__footer" }, h("span", { key: 'c23abe5dead2982fa2b9a6f632bae5a8a65ac18a', class: "bs-mega-menu__footer-start" }, h("slot", { key: '72e7594d85f5c345000dc8fe6121479384f821eb', name: "footer-start" }, this.recent.length > 0 && `${this.recentLabel} ${this.recent.join(', ')}`)), h("span", { key: '4452c07fde407ac3536d08f5d59fdff995332a4f', class: "bs-mega-menu__footer-end" }, h("slot", { key: '0bbce038740eb50aa12c33eb87be1a9c80a4ba05', name: "footer-end" }, h("span", { key: '169912031c352d0b3508fa28e88e75bef655c7a8', class: "bs-mega-menu__shortcut" }, this.shortcutLabel, h("bs-key-caps", { key: '30d83b5c38896bd4715fabb0d56d68b56c161441', part: "shortcut", keys: this.shortcutKeys, label: this.shortcutKeysLabel }))))))));
|
|
166
166
|
}
|
|
167
167
|
static get is() { return "bs-mega-menu"; }
|
|
168
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export const COMPACT_COLUMNS = [
|
|
|
51
51
|
export const FEATURED = { title: 'Smarter payment reminders', description: 'Reminders are now sent at the time each customer is most likely to pay.' };
|
|
52
52
|
export const RECENT = ['Invoices', 'Sales orders'];
|
|
53
53
|
const meta = {
|
|
54
|
-
title: 'Components/bs-mega-menu',
|
|
54
|
+
title: 'Components/Navigation/bs-mega-menu',
|
|
55
55
|
excludeStories: /^[A-Z0-9_]+$/,
|
|
56
56
|
parameters: { layout: 'padded', docs: { description: { component: componentDescription('bs-mega-menu') } } },
|
|
57
57
|
argTypes: { type: { control: 'inline-radio', options: ['columns', 'compact'] }, featured: { control: 'boolean' } },
|
|
@@ -44,7 +44,7 @@ export class BsMenu {
|
|
|
44
44
|
items[next].shadowRoot?.querySelector('button')?.focus();
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h("div", { key: '
|
|
47
|
+
return (h("div", { key: '984cae0c1b081a72b84e92b5f4e9a7fb74b002b4', part: "list", class: "bs-menu", role: "menu" }, h("slot", { key: '1555e6c3aa0bb266e4f4f337d36070d94b9775c2' })));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "bs-menu"; }
|
|
50
50
|
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-menu',
|
|
4
|
+
title: 'Components/Menus and overlays/bs-menu',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-menu') } } },
|
|
6
6
|
render: () => html `
|
|
7
7
|
<bs-menu style="width: 210px;">
|
|
@@ -47,10 +47,10 @@ export class BsMenuBlock {
|
|
|
47
47
|
render() {
|
|
48
48
|
const common = { part: 'container', class: 'bs-menu-block' };
|
|
49
49
|
const body = [
|
|
50
|
-
h("bs-icon-tile", { key: '
|
|
51
|
-
h("span", { key: '
|
|
50
|
+
h("bs-icon-tile", { key: 'e65dbe0083e041630e2da11f4679a24a0f2c29a8', part: "icon", class: "bs-menu-block__icon", size: "md" }, this.icon ? h("span", { class: "bs-menu-block__glyph", style: { '--bs-menu-block-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
|
|
51
|
+
h("span", { key: 'f50d5bd4452d87c4cbb617918198ffd509121270', class: "bs-menu-block__text" }, h("span", { key: '3e098f94f7d467439c4a87e86be7292086de04eb', class: "bs-menu-block__title" }, h("span", { key: 'ad9fa845d7f2a21bf4cd069c2a2ea922de48dab8', part: "name", class: "bs-menu-block__name" }, this.name), this.badge && (h("bs-chip-informative", { key: 'cc15286ccac381384c769d65530c0f0058fd7293', part: "badge", class: "bs-menu-block__badge", color: "info", size: "sm" }, this.badge))), this.description && (h("span", { key: '4bdb80c7bec65bbaf6a5213625552951d751f70d', part: "description", class: "bs-menu-block__description" }, this.description))),
|
|
52
52
|
];
|
|
53
|
-
return (h("button", { key: '
|
|
53
|
+
return (h("button", { key: 'f8bf964f5f21c16ae84c90858c4304bced934296', ...common, type: "button" }, body));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "bs-menu-block"; }
|
|
56
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription } from "../../stories-utils";
|
|
3
3
|
import { ICONS } from "../bs-mega-menu/bs-mega-menu.stories";
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-menu-block',
|
|
5
|
+
title: 'Components/Menus and overlays/bs-menu-block',
|
|
6
6
|
parameters: { layout: 'padded', docs: { description: { component: componentDescription('bs-menu-block') } } },
|
|
7
7
|
argTypes: { name: { control: 'text' }, description: { control: 'text' }, badge: { control: 'text' } },
|
|
8
8
|
args: { name: 'Quotes', description: 'Create and send price quotes', badge: '' },
|
|
@@ -48,7 +48,7 @@ export class BsMenuItem {
|
|
|
48
48
|
this.bsSelect.emit();
|
|
49
49
|
};
|
|
50
50
|
render() {
|
|
51
|
-
return (h("button", { key: '
|
|
51
|
+
return (h("button", { key: '4aff44e1835bb94eb93326cd9f9f798ad988d76d', type: "button", part: "item", role: "menuitem", class: `bs-menu-item ${this.disabled ? 'bs-menu-item--disabled' : ''}`, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onClick }, h("bs-ripple", { key: '18475c051d8db15f2177267fa0c98f6b558dcdd7', part: "ripple", centered: false, disabled: this.disabled }), h("span", { key: '207d748b1d7e3e5dafc5a0a97b5c26b0442e0a5f', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, h("slot", { key: 'ae9022ab75b5d6d61a4415b03e73589fdc3e7478', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: 'a520c0a206296ff037eaf83fff63415497c87923', part: "label", class: "bs-menu-item__label" }, h("slot", { key: 'a8453880b084b3005fbac0cf5ba324880d627a98' }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "bs-menu-item"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@ import { componentDescription } from "../../stories-utils";
|
|
|
3
3
|
// A bs-menu-item is role="menuitem", which must sit inside a role="menu" -- a bare `div` stands in for
|
|
4
4
|
// bs-menu here so the item is shown on its own, without the menu's surface and padding.
|
|
5
5
|
const meta = {
|
|
6
|
-
title: 'Components/bs-menu-item',
|
|
6
|
+
title: 'Components/Menus and overlays/bs-menu-item',
|
|
7
7
|
parameters: { docs: { description: { component: componentDescription('bs-menu-item') } } },
|
|
8
8
|
render: () => html `<div role="menu"><bs-menu-item style="width: 210px;">Read aloud</bs-menu-item></div>`,
|
|
9
9
|
};
|
|
@@ -45,7 +45,7 @@ export class BsMessage {
|
|
|
45
45
|
/** Delivery/render state. `error` uses error colours; `pending` dims the bubble and sets `aria-busy`. */
|
|
46
46
|
status = 'default';
|
|
47
47
|
render() {
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: 'ef92127b4616033f0c4986a32983fc4bfcbe5559', class: "bs-message", "aria-busy": this.status === 'pending' ? 'true' : undefined }, h("div", { key: 'd3e504c91dd4631268e5032cfdc2ba53133c6be5', part: "avatar", class: "bs-message__avatar" }, h("slot", { key: '683428411a73cdb5f69ac9de0a5f4629bd898e47', name: "avatar" })), h("div", { key: '4c1c04cc37263b25e141a11c4251e7d39d6826ad', class: "bs-message__column" }, h("bs-card", { key: '453b62e1505b474d09eda3ae7dc309624c88686f', part: "container", class: "bs-message__bubble", surface: "base" }, h("div", { key: '26c12130c1ff0e538614f31c0eb9db43f3339f1e', part: "content", class: "bs-message__content" }, h("slot", { key: '821028e599a3ba9ddcca46f0a01ff4ee691b3322' }))), h("div", { key: 'a25a7f2b5d129064eaf8409bcd004d661738585e', part: "footer", class: "bs-message__footer" }, h("slot", { key: 'ba57515037e2941288df0bb559f5bf55975720a6', name: "footer" })), h("div", { key: '36c1f5c94fabdbefbdde78def021e52f5c0503f8', part: "timestamp", class: "bs-message__timestamp" }, h("slot", { key: '84da0fbb50f553d9438b298d172239baee973bd6', name: "timestamp" }, this.timestamp && h("time", { key: '7b6a908f766c143e35160558389fc6152b73590a', dateTime: this.datetime }, this.timestamp))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "bs-message"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -75,7 +75,7 @@ export class BsMessageList {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
render() {
|
|
78
|
-
return (h("div", { key: '
|
|
78
|
+
return (h("div", { key: '52984844e23c07e320bdde3a30ac52cc01494a7d', class: "bs-message-list" }, h("div", { key: 'f8390aa51cc6f462b8cd16a5b6a7d4b52c373932', part: "viewport", class: "bs-message-list__viewport", role: "log", "aria-live": "polite", tabindex: "0", ref: el => (this.viewport = el), onScroll: this.onScroll }, h("slot", { key: 'c3612f94849ad2608721067337c32da309994b7c' })), this.showScrollButton && (h("bs-icon-button", { key: '66bbbe37569ec3df2f4e22100b1f38731fc9fc14', part: "scroll-to-latest", class: "bs-message-list__scroll", variant: "neutral", ariaLabel: this.scrollToLatestLabel, onClick: () => this.scrollToLatest() }, h("svg", { key: '4b0e756bfafd9095d5091ac51edff511c2bf9ab5', width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: 'f97972a52104224535fcd1f4bdd45b28bc7d7329', d: "M8 3v10M3.5 8.5L8 13l4.5-4.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "bs-message-list"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/bs-onboarding-checklist/bs-onboarding-checklist.stories.js
CHANGED
|
@@ -17,7 +17,7 @@ const STEPS = [
|
|
|
17
17
|
];
|
|
18
18
|
const ALL_DONE = STEPS.map(s => ({ ...s, done: true }));
|
|
19
19
|
const meta = {
|
|
20
|
-
title: 'Components/bs-onboarding-checklist',
|
|
20
|
+
title: 'Components/App and onboarding/bs-onboarding-checklist',
|
|
21
21
|
parameters: { docs: { description: { component: componentDescription('bs-onboarding-checklist') } } },
|
|
22
22
|
decorators: [story => html `<div style="padding: 16px; background: var(--bs-color-neutral-container);">${story()}</div>`],
|
|
23
23
|
render: args => html `
|
|
@@ -109,7 +109,7 @@ export class BsPageHeader {
|
|
|
109
109
|
const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 1));
|
|
110
110
|
const showMeta = !!this.meta || this.slotted.meta;
|
|
111
111
|
const hasTabs = this.slotted.tabs && !this.compact;
|
|
112
|
-
return (h("div", { key: '
|
|
112
|
+
return (h("div", { key: '3cf7dfcd28a81f58c7f37cf0a14fc84e51887b76', part: "container", class: { 'bs-page-header': true, 'bs-page-header--compact': this.compact, 'bs-page-header--tabs': hasTabs } }, h("div", { key: '8be207e648eaecde7a9ea7ded2227b68c641cc8e', part: "breadcrumb", class: { 'bs-page-header__breadcrumb': true, 'bs-page-header__empty': !this.slotted.breadcrumb } }, h("slot", { key: 'ceb82e77e6b74adb4634da5fa877045e2e175e03', name: "breadcrumb", onSlotchange: this.onSlotChange('breadcrumb') })), h("div", { key: '30c93eecb7cd6a99e8b0085132e87b1d71ddfc1a', part: "row", class: "bs-page-header__row" }, h("div", { key: '0278085df66b9d8dd19923aa6fd16c2d2f6678fc', part: "main", class: { 'bs-page-header__main': true, 'bs-page-header__main--back': this.back } }, this.back && (h("bs-icon-button", { key: 'f2976379ff04f17d7e21890a60be41fe3781781f', part: "back", class: "bs-page-header__back", variant: "subtle", size: "sm", ariaLabel: this.backLabel, onClick: () => this.bsBack.emit() }, h(ArrowLeftIcon, { key: '5c7b527588ba9ff7075cae244f11194e4bb23d3c' }))), h("div", { key: '626b9b72102a4398bd22e952ff34ab75177476d7', part: "title", class: { 'bs-page-header__title': true, 'bs-page-header__title--controls': this.back || this.favoritable } }, h(`h${level}`, { part: 'heading', class: { 'bs-page-header__heading': true } }, this.heading), h("span", { key: '09e41d7d9db21782076b21f97e7a01ae8febacc7', part: "status", class: { 'bs-page-header__status': true, 'bs-page-header__empty': !this.slotted.status } }, h("slot", { key: '116217f2555f73853291771cf1e34bee20ae39d8', name: "status", onSlotchange: this.onSlotChange('status') })), this.favoritable && (h("bs-icon-button", { key: '789a38553649afb6af3cf1bb28f21a2fd5d47575', part: "favorite", class: "bs-page-header__favorite", variant: "subtle", size: "sm", ariaLabel: this.favoriteLabel, pressed: this.favorite, onClick: this.onFavoriteClick }, this.favorite ? h(StarFillIcon, null) : h(StarIcon, null)))), h("div", { key: '69114baafce7920ac660851611f5ab7915c03b21', part: "meta", class: { 'bs-page-header__meta': true, 'bs-page-header__empty': !showMeta } }, h("slot", { key: '7635e0a251e78d397f9cb0eab55c406d8fde7f83', name: "meta", onSlotchange: this.onSlotChange('meta') }, this.meta))), h("div", { key: 'c0cb55e4dda146f312196bc7d6e84372b14ddbbf', part: "actions", class: { 'bs-page-header__actions': true, 'bs-page-header__empty': !this.slotted.actions } }, h("slot", { key: '1606422ea7cd1ab26cafda9a9a9c75eb2a9de2c1', name: "actions", onSlotchange: this.onSlotChange('actions') }))), h("div", { key: '51314d8e563c662576f60f36fa5343a8c3949a86', part: "tabs", class: { 'bs-page-header__tabs': true, 'bs-page-header__empty': !this.slotted.tabs } }, h("slot", { key: 'c87a0a0f24ba07dd7e6e53ba82f42a9bdac0ddbc', name: "tabs", onSlotchange: this.onSlotChange('tabs') })), hasTabs && h("bs-divider", { key: '74310d42be82e3ce282907fa0fb5988baa4958c8', part: "divider", class: "bs-page-header__divider", decorative: true })));
|
|
113
113
|
}
|
|
114
114
|
static get is() { return "bs-page-header"; }
|
|
115
115
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,7 +47,7 @@ const tabs = html `
|
|
|
47
47
|
</bs-tabs>
|
|
48
48
|
`;
|
|
49
49
|
const meta = {
|
|
50
|
-
title: 'Components/bs-page-header',
|
|
50
|
+
title: 'Components/Layout/bs-page-header',
|
|
51
51
|
excludeStories: /^[A-Z0-9_]+$/,
|
|
52
52
|
parameters: { layout: 'fullscreen', docs: { description: { component: componentDescription('bs-page-header') } } },
|
|
53
53
|
argTypes: {
|
|
@@ -92,7 +92,7 @@ export class BsPagination {
|
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
94
|
const pageList = this.getPageList();
|
|
95
|
-
return (h("nav", { key: '
|
|
95
|
+
return (h("nav", { key: '9eb229b76d46def6b31c6d39050e9a430ae07581', "aria-label": this.navLabel }, h("ul", { key: '336805070ea55b5bdc0f2169c1a6302a184d0e6c', part: "list", class: "bs-pagination__list" }, h("li", { key: 'e497e51cddbb096da10ac1d824490e8b28d36809', part: "item", class: "bs-pagination__item" }, h("button", { key: 'de4c34f1d0743d8ee4a684c7c3fa7ca43f9d74ef', part: "prev", type: "button", class: "bs-pagination__control", "aria-label": this.previousLabel, disabled: this.currentPage <= 1, onClick: () => this.goToPage(this.currentPage - 1) }, h("bs-ripple", { key: 'c76e6969a5580ae7071b2151cc5c9e27a10a22dc', part: "ripple", centered: true }), h(ChevronLeftIcon, { key: '8f666eb4b71940ab40334378cef0b66649fb704e' }))), pageList.map((item, index) => item === 'ellipsis' ? (h("li", { part: "item", class: "bs-pagination__item", key: `ellipsis-${index}` }, h("span", { part: "ellipsis", class: "bs-pagination__ellipsis", "aria-hidden": "true" }, h(EllipsisIcon, null)))) : (h("li", { part: "item", class: "bs-pagination__item", key: item }, h("button", { part: item === this.currentPage ? 'page current' : 'page', type: "button", class: `bs-pagination__control bs-pagination__page ${item === this.currentPage ? 'bs-pagination__page--current' : ''}`, "aria-label": `${this.pageLabel} ${item}`, "aria-current": item === this.currentPage ? 'page' : undefined, onClick: () => this.goToPage(item) }, h("bs-ripple", { part: "ripple", centered: true }), item)))), h("li", { key: '55ea77122efe683ad3d8a32e058712dabe331ceb', part: "item", class: "bs-pagination__item" }, h("button", { key: '34c2f11b2f24318afe03bcabd9aebd3add313b3d', part: "next", type: "button", class: "bs-pagination__control", "aria-label": this.nextLabel, disabled: this.currentPage >= this.safeTotalPages, onClick: () => this.goToPage(this.currentPage + 1) }, h("bs-ripple", { key: '1434448f7ab9423d69dbeadf945904722ea9b8fd', part: "ripple", centered: true }), h(ChevronRightIcon, { key: 'de1e41e3ce155f2e7ae206b3664aa5112778836d' }))))));
|
|
96
96
|
}
|
|
97
97
|
static get is() { return "bs-pagination"; }
|
|
98
98
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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-pagination',
|
|
4
|
+
title: 'Components/Navigation/bs-pagination',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-pagination') } } },
|
|
6
6
|
render: args => html `
|
|
7
7
|
<bs-pagination
|
|
@@ -228,7 +228,7 @@ export class BsPopover {
|
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
render() {
|
|
231
|
-
return (h("div", { key: '
|
|
231
|
+
return (h("div", { key: '442cf6911ed405aac4188bc738106fdcafabb48a', class: "bs-popover" }, h("div", { key: '8c15ae6cd943d2ca6903b49122e46b2e5bc41d1f', part: "trigger", class: "bs-popover__trigger", onClick: this.onTriggerClick, onKeyDown: this.onTriggerKeyDown }, h("slot", { key: 'ddd1fc52afec350a329e6401655f99d094eb8bf3', name: "trigger", ref: el => (this.triggerSlot = el), onSlotchange: this.syncTriggerAria })), h("div", { key: 'abf249e798f28f2a55fb55ce1a5f1cdfc25abbf2', part: "popup", id: this.popupId, class: "bs-popover__popup", tabindex: "-1", hidden: !this.open && !this.closing, ref: el => (this.popupEl = el) }, h("slot", { key: '6260ce56fb1d8db30fba89e8ac3bbd21335a0677' }))));
|
|
232
232
|
}
|
|
233
233
|
static get is() { return "bs-popover"; }
|
|
234
234
|
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-popover',
|
|
4
|
+
title: 'Components/Menus and overlays/bs-popover',
|
|
5
5
|
parameters: { docs: { description: { component: componentDescription('bs-popover') } } },
|
|
6
6
|
render: args => html `
|
|
7
7
|
<div style="padding: 80px 160px;">
|
|
@@ -89,7 +89,7 @@ export class BsPresence {
|
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
91
|
const preset = PRESETS.includes(this.preset) ? this.preset : 'fade';
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '4c1721cfa6f1f19a7a577cbb510e9f5932a9cb72', inert: this.active ? undefined : true, "aria-hidden": this.active ? null : 'true' }, h("div", { key: '45f744da1c1a491a92956cb2a1f890e00423d22e', part: "content", class: `bs-presence bs-presence--${preset}${this.active ? '' : ' bs-presence--closed'}`, ref: el => (this.shell = el) }, h("div", { key: '09674d2d90a00ddf09304b09a221555f74ec9b9a', class: "bs-presence__clip", ref: el => (this.clip = el) }, h("slot", { key: '277a3d4ebc1822ef77f5c8c30507802dbe93ea80' })))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "bs-presence"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { html } from "lit";
|
|
|
2
2
|
import { componentDescription, propDescription } from "../../stories-utils";
|
|
3
3
|
const DIRECTIONS = ['top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right', 'left', 'left-top', 'left-bottom', 'right', 'right-top', 'right-bottom'];
|
|
4
4
|
const meta = {
|
|
5
|
-
title: 'Components/bs-product-tour',
|
|
5
|
+
title: 'Components/App and onboarding/bs-product-tour',
|
|
6
6
|
parameters: { docs: { description: { component: componentDescription('bs-product-tour') } } },
|
|
7
7
|
// The arrow sticks out of the card, so leave room around it.
|
|
8
8
|
decorators: [story => html `<div style="padding: 32px 48px; background: var(--bs-color-neutral-container);">${story()}</div>`],
|
|
@@ -69,7 +69,7 @@ export class BsProgress {
|
|
|
69
69
|
const isDeterminate = this.type === 'determinate';
|
|
70
70
|
const value = this.clampedValue;
|
|
71
71
|
const dashOffset = circumference * (1 - value / 100);
|
|
72
|
-
return (h("div", { key: '
|
|
72
|
+
return (h("div", { key: 'b9f7e4ce455959c1c1593d2033ae6604deaa8899', part: "container", class: "bs-progress" }, h("div", { key: '283ace9aa3cd0715e7605dd191effcaa893c37a4', class: "bs-progress__box", style: { width: `${diameter}px`, height: `${diameter}px` }, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("svg", { class: "bs-progress__ring", width: diameter, height: diameter, viewBox: `0 0 ${diameter} ${diameter}` }, h("circle", { part: "track", class: "bs-progress__track", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none" }), h("circle", { part: "arc", class: "bs-progress__arc", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none", "stroke-linecap": "round", "stroke-dasharray": circumference, "stroke-dashoffset": dashOffset }))) : (
|
|
73
73
|
// Figma's indeterminate ring is a fading "comet tail" (transparent -> solid color),
|
|
74
74
|
// not a flat-colored partial arc -- SVG has no angular/conic gradient primitive, so a
|
|
75
75
|
// CSS conic-gradient (color varying by angle) + a radial-gradient mask (carving the
|
|
@@ -78,7 +78,7 @@ export class BsProgress {
|
|
|
78
78
|
h("div", { part: "arc", class: "bs-progress__spinner", style: {
|
|
79
79
|
'--bs-progress-spinner-stroke-width': `${this.strokeWidth}px`,
|
|
80
80
|
'--bs-progress-spinner-sweep': `${INDETERMINATE_SWEEP_DEGREES}deg`,
|
|
81
|
-
} }))), isDeterminate && this.showLabel && (h("span", { key: '
|
|
81
|
+
} }))), isDeterminate && this.showLabel && (h("span", { key: 'b8e08c590211bbe0f372b7dc716f128bb5dbe0dc', part: "label", class: `bs-progress__label bs-progress__label--${this.size}` }, value, "%"))));
|
|
82
82
|
}
|
|
83
83
|
static get is() { return "bs-progress"; }
|
|
84
84
|
static get encapsulation() { return "shadow"; }
|