@brandsync/wc 1.20.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/REFERENCE.md +2 -2
- package/custom-elements.json +23 -4
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-1daf48b1.entry.js → p-001f3790.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1ce4395a.entry.js → p-023dae02.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6adc9c4f.entry.js → p-05698f65.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5b48a6c7.entry.js → p-05a9cbda.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6bdd9ef9.entry.js → p-06277bb8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-baca1abf.entry.js → p-0762a4dd.entry.js} +1 -1
- package/dist/brandsync-wc/{p-28a34097.entry.js → p-08af052c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-23b3958e.entry.js → p-0d3d56ef.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9e93b482.entry.js → p-0d3d8b6c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8d674f11.entry.js → p-1187a158.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fbd204b6.entry.js → p-171db2b0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d555984e.entry.js → p-189eb922.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b7545d9b.entry.js → p-1b41823c.entry.js} +1 -1
- package/dist/brandsync-wc/p-1bf91b43.entry.js +1 -0
- package/dist/brandsync-wc/{p-47fc5f29.entry.js → p-1cf40f44.entry.js} +1 -1
- package/dist/brandsync-wc/{p-040d4755.entry.js → p-1d2bc5b4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-50a154b8.entry.js → p-1ddcd867.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b0f4cbca.entry.js → p-205a1ccf.entry.js} +1 -1
- package/dist/brandsync-wc/{p-53b1c545.entry.js → p-21781ce5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-520b277a.entry.js → p-237f583d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a6cbb6c6.entry.js → p-2be42af3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e2268c96.entry.js → p-2e654764.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f71d7582.entry.js → p-2eed5ff2.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e8027825.entry.js → p-324f0d11.entry.js} +1 -1
- package/dist/brandsync-wc/p-34dd0976.entry.js +1 -0
- package/dist/brandsync-wc/{p-eb1b1497.entry.js → p-3592e6f3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1a549f9a.entry.js → p-383c076f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2a96ce61.entry.js → p-3937bc23.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d263deec.entry.js → p-40aeeacf.entry.js} +1 -1
- package/dist/brandsync-wc/{p-548b96f7.entry.js → p-44c7fa4a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e4033ebc.entry.js → p-4865d4e1.entry.js} +1 -1
- package/dist/brandsync-wc/p-48ce098c.entry.js +1 -0
- package/dist/brandsync-wc/p-4cdb1c8c.entry.js +1 -0
- package/dist/brandsync-wc/{p-69489f45.entry.js → p-4ec0dca9.entry.js} +1 -1
- package/dist/brandsync-wc/p-513fa325.entry.js +1 -0
- package/dist/brandsync-wc/{p-2621b1b2.entry.js → p-56bd821c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-08a5e178.entry.js → p-59ddf12e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-806bb471.entry.js → p-5c1ccf35.entry.js} +1 -1
- package/dist/brandsync-wc/{p-338b5e39.entry.js → p-5cd95a12.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2210c680.entry.js → p-5e3fcc47.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fa894893.entry.js → p-5f96d808.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a3c7b4e7.entry.js → p-64ef4a9f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b1663378.entry.js → p-64fbd43a.entry.js} +1 -1
- package/dist/brandsync-wc/p-6b1ba5ec.entry.js +1 -0
- package/dist/brandsync-wc/{p-66f1ca2e.entry.js → p-6cf303f1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6096900b.entry.js → p-6f0b5a91.entry.js} +1 -1
- package/dist/brandsync-wc/{p-debc308d.entry.js → p-7c627563.entry.js} +1 -1
- package/dist/brandsync-wc/{p-452f6c13.entry.js → p-7cdcf7e7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-dd3499ab.entry.js → p-7ee43b50.entry.js} +1 -1
- package/dist/brandsync-wc/p-80feac7e.entry.js +1 -0
- package/dist/brandsync-wc/{p-ca8a1e51.entry.js → p-82c8fde1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-409cf56b.entry.js → p-83ea17b6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d67840f5.entry.js → p-8560fb54.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4f19e8d8.entry.js → p-8a3095d5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d8a299a9.entry.js → p-9065d825.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8a4d64fd.entry.js → p-953d0191.entry.js} +1 -1
- package/dist/brandsync-wc/{p-32157c7a.entry.js → p-99db8fca.entry.js} +1 -1
- package/dist/brandsync-wc/{p-50ac6889.entry.js → p-9ca0d2db.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2f58b161.entry.js → p-a30d456d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4d6f2fec.entry.js → p-ab74da02.entry.js} +1 -1
- package/dist/brandsync-wc/p-abaab890.entry.js +1 -0
- package/dist/brandsync-wc/{p-a86560e6.entry.js → p-ac7f9aa0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a1d34ff3.entry.js → p-aea1e4f9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-eb4ad606.entry.js → p-b0b73f22.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f22d2db8.entry.js → p-b3284eca.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ecb1a27d.entry.js → p-b6b880c0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8c83cc99.entry.js → p-b9014d87.entry.js} +1 -1
- package/dist/brandsync-wc/{p-13d98ec3.entry.js → p-bc489296.entry.js} +1 -1
- package/dist/brandsync-wc/p-bcb1730e.entry.js +1 -0
- package/dist/brandsync-wc/{p-319b7baa.entry.js → p-bd37c086.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e18e45bc.entry.js → p-bef6e54b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ff85a9d8.entry.js → p-c1207ce6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4810bcc8.entry.js → p-c305bde7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-23367a4d.entry.js → p-c542d67f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fc7df528.entry.js → p-c5fa5d02.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0ebb60a8.entry.js → p-c700a860.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3f6be3f7.entry.js → p-cd1adef0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-32004fb3.entry.js → p-cf297373.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bfdd135b.entry.js → p-cf615c99.entry.js} +1 -1
- package/dist/brandsync-wc/{p-89dbb3c8.entry.js → p-da934f7b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c39e6be9.entry.js → p-dae0348e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-16f15ba5.entry.js → p-dc59a735.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6db03e96.entry.js → p-dd8f593a.entry.js} +1 -1
- package/dist/brandsync-wc/p-e56cc6ac.entry.js +1 -0
- package/dist/brandsync-wc/{p-08d08dc9.entry.js → p-ea4ea55d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-587be2c6.entry.js → p-eadbc160.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fe6f71da.entry.js → p-eb8da874.entry.js} +1 -1
- package/dist/brandsync-wc/{p-90442341.entry.js → p-f0596399.entry.js} +1 -1
- package/dist/brandsync-wc/{p-32d83763.entry.js → p-f5bbbff2.entry.js} +1 -1
- package/dist/brandsync-wc/{p-70924681.entry.js → p-f89d12d7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d6600c7c.entry.js → p-faea22be.entry.js} +1 -1
- package/dist/brandsync-wc/{p-78e4dd14.entry.js → p-fbd33eb3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e18cb639.entry.js → p-fc859e89.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f229f59a.entry.js → p-fe070433.entry.js} +1 -1
- package/dist/brandsync-wc/p-ffeea95f.entry.js +1 -0
- package/dist/cjs/brandsync-wc.cjs.js +1 -1
- package/dist/cjs/bs-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/bs-accordion.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-carousel.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-checkbox-group.cjs.entry.js +8 -3
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-filter.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-input.cjs.entry.js +1 -1
- package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
- package/dist/cjs/bs-command-palette.cjs.entry.js +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 +2 -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 +5 -5
- 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 +25 -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 +1 -1
- 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 +1 -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.js +1 -1
- package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
- package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +3 -3
- package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +1 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-carousel/bs-carousel.js +2 -2
- package/dist/collection/components/bs-carousel/bs-carousel.stories.js +9 -5
- 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-group/bs-checkbox-group.cmp.test.js +9 -0
- package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.css +13 -0
- package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.js +28 -3
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +1 -1
- package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
- package/dist/collection/components/bs-command-palette/bs-command-palette.js +1 -1
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +1 -1
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.cmp.test.js +13 -7
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +2 -2
- package/dist/collection/components/bs-composer/bs-composer.js +1 -1
- package/dist/collection/components/bs-composer/bs-composer.stories.js +1 -1
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
- package/dist/collection/components/bs-container/bs-container.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
- package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
- package/dist/collection/components/bs-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-divider/bs-divider.js +1 -1
- package/dist/collection/components/bs-dropdown/bs-dropdown.cmp.test.js +1 -3
- package/dist/collection/components/bs-dropdown/bs-dropdown.js +1 -1
- package/dist/collection/components/bs-empty-state/bs-empty-state.js +1 -1
- package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
- package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
- package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
- package/dist/collection/components/bs-global-search/bs-global-search.js +2 -2
- package/dist/collection/components/bs-grid/bs-grid.js +2 -2
- package/dist/collection/components/bs-heading/bs-heading.js +1 -1
- package/dist/collection/components/bs-icon/bs-icon.js +1 -1
- package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +2 -2
- package/dist/collection/components/bs-input/bs-input.js +2 -2
- package/dist/collection/components/bs-key/bs-key.js +1 -1
- package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
- package/dist/collection/components/bs-link/bs-link.js +1 -1
- package/dist/collection/components/bs-list/bs-list.js +1 -1
- package/dist/collection/components/bs-list-item/bs-list-item.js +1 -1
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +1 -1
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu-block/bs-menu-block.js +3 -3
- 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 +19 -15
- package/dist/collection/components/bs-message/bs-message.js +1 -1
- package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
- package/dist/collection/components/bs-page-header/bs-page-header.js +1 -1
- package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
- package/dist/collection/components/bs-popover/bs-popover.cmp.test.js +11 -4
- package/dist/collection/components/bs-popover/bs-popover.js +26 -2
- package/dist/collection/components/bs-presence/bs-presence.js +1 -1
- package/dist/collection/components/bs-progress/bs-progress.js +2 -2
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
- package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
- package/dist/collection/components/bs-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-radio-group/bs-radio-group.js +1 -1
- 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-select/bs-select.js +1 -1
- package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
- package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +1 -1
- package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
- package/dist/collection/components/bs-skip-link/bs-skip-link.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
- package/dist/collection/components/bs-source-link/bs-source-link.js +3 -3
- package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
- package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
- package/dist/collection/components/bs-stack/bs-stack.js +1 -1
- package/dist/collection/components/bs-stat/bs-stat.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
- package/dist/collection/components/bs-switch/bs-switch.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.stories.js +7 -7
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
- package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.js +1 -1
- package/dist/collection/components/bs-tag/bs-tag.js +2 -2
- package/dist/collection/components/bs-text/bs-text.js +1 -1
- package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
- package/dist/collection/components/bs-toast/bs-toast.js +1 -1
- package/dist/collection/components/bs-toggle-button/bs-toggle-button.js +1 -1
- package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.js +1 -1
- package/dist/collection/components/bs-toolbar/bs-toolbar.cmp.test.js +1 -6
- package/dist/collection/components/bs-toolbar/bs-toolbar.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +1 -1
- package/dist/collection/components/bs-tree/bs-tree.js +1 -1
- package/dist/collection/components/bs-tree-item/bs-tree-item.js +2 -2
- package/dist/collection/components/bs-tree-item/bs-tree-item.stories.js +6 -4
- package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
- package/dist/collection/components/disabled-aria.cmp.test.js +19 -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/components/bs-accordion-group.js +1 -1
- package/dist/components/bs-accordion.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-group.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-CZfbB-t_.js → p--AN2lu8b.js} +1 -1
- package/dist/components/{p-Dlp2c-Ii.js → p-AlcZrDeY.js} +1 -1
- package/dist/components/{p-DnagAPBF.js → p-B-gdXga9.js} +1 -1
- package/dist/components/{p-abyVFrPp.js → p-B1Id2OKX.js} +1 -1
- package/dist/components/{p-DYpJMHAH.js → p-BCbaDQnq.js} +1 -1
- package/dist/components/{p-wscU7FUD.js → p-BFv-3K2u.js} +1 -1
- package/dist/components/{p-DaKBSL2O.js → p-BPxT7mqc.js} +1 -1
- package/dist/components/{p-DMp5CvEJ.js → p-BVX8P6fl.js} +1 -1
- package/dist/components/{p-Ba8J2kHD.js → p-BabS3w3f.js} +1 -1
- package/dist/components/{p-DL9HtG41.js → p-BanNal67.js} +1 -1
- package/dist/components/{p-DLNoxNuW.js → p-Bm1A449h.js} +1 -1
- package/dist/components/{p-DHZ_DStJ.js → p-Bn3Yxpe1.js} +1 -1
- package/dist/components/p-BoAmKy-C.js +1 -0
- package/dist/components/{p-DO4sVZCh.js → p-C0RV5-An.js} +1 -1
- package/dist/components/{p-wd9-vGpQ.js → p-C7IrV6pt.js} +1 -1
- package/dist/components/{p-DK1uv2fu.js → p-C7Qr4akd.js} +1 -1
- package/dist/components/p-CFjeYXmC.js +1 -0
- package/dist/components/{p-Cz38kNDe.js → p-CGFmvCoE.js} +1 -1
- package/dist/components/{p-D4W5LcEW.js → p-CJw83LkA.js} +1 -1
- package/dist/components/p-CWcci6TX.js +1 -0
- package/dist/components/p-CkQ7TJdL.js +1 -0
- package/dist/components/{p-DARbgzSz.js → p-Cm-s0vin.js} +1 -1
- package/dist/components/{p-DOW-YekD.js → p-CrSwhBz7.js} +1 -1
- package/dist/components/{p-CL99S8-7.js → p-CvaS1abm.js} +1 -1
- package/dist/components/{p-DztU3DwY.js → p-Cz7CuNiM.js} +1 -1
- package/dist/components/{p-D3XmFqCQ.js → p-DE2x8-lX.js} +1 -1
- package/dist/components/{p-CALH_mHQ.js → p-DY2EHN4U.js} +1 -1
- package/dist/components/{p-Cso2DKAz.js → p-DrlNm0Cv.js} +1 -1
- package/dist/components/p-U9f09E0n.js +1 -0
- package/dist/components/{p-BLJL4BVY.js → p-bsKorXp2.js} +1 -1
- package/dist/components/{p-KiyJJwzr.js → p-hfcWxH0R.js} +1 -1
- package/dist/components/{p-BB1HiIxJ.js → p-i5Q__opK.js} +1 -1
- package/dist/components/{p-BR7C-aKy.js → p-oc6e6_D0.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-accordion.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-carousel.entry.js +1 -1
- package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
- package/dist/esm/bs-chatbot-header.entry.js +1 -1
- package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
- package/dist/esm/bs-checkbox-group.entry.js +8 -3
- package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
- package/dist/esm/bs-chip-filter.entry.js +1 -1
- package/dist/esm/bs-chip-informative.entry.js +1 -1
- package/dist/esm/bs-chip-input.entry.js +1 -1
- package/dist/esm/bs-citation-preview.entry.js +1 -1
- package/dist/esm/bs-command-palette.entry.js +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 +2 -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 +5 -5
- 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 +25 -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 +1 -1
- 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 +1 -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-carousel/bs-carousel.d.ts +1 -1
- package/dist/types/components/bs-checkbox-group/bs-checkbox-group.d.ts +3 -1
- package/dist/types/components/bs-popover/bs-popover.d.ts +9 -1
- package/dist/types/components/disabled-aria.cmp.test.d.ts +1 -0
- package/dist/types/components.d.ts +13 -2
- package/package.json +6 -1
- package/reference.json +2 -2
- package/dist/brandsync-wc/p-050270f5.entry.js +0 -1
- package/dist/brandsync-wc/p-0f864a4f.entry.js +0 -1
- package/dist/brandsync-wc/p-105c316e.entry.js +0 -1
- package/dist/brandsync-wc/p-23affb5d.entry.js +0 -1
- package/dist/brandsync-wc/p-28723df1.entry.js +0 -1
- package/dist/brandsync-wc/p-4ae7b8b9.entry.js +0 -1
- package/dist/brandsync-wc/p-7632f773.entry.js +0 -1
- package/dist/brandsync-wc/p-86fdbe8f.entry.js +0 -1
- package/dist/brandsync-wc/p-c9888d09.entry.js +0 -1
- package/dist/brandsync-wc/p-e6f57fae.entry.js +0 -1
- package/dist/brandsync-wc/p-ff14edb6.entry.js +0 -1
- package/dist/components/p-CXv8kx8w.js +0 -1
- package/dist/components/p-CePOtLtZ.js +0 -1
- package/dist/components/p-CxNNy2m6.js +0 -1
- package/dist/components/p-DBgafacj.js +0 -1
- package/dist/components/p-Dt3b6VYT.js +0 -1
|
@@ -41,7 +41,7 @@ const BsLink = class {
|
|
|
41
41
|
const newTab = this.target === '_blank';
|
|
42
42
|
const showIcon = this.external || newTab;
|
|
43
43
|
const rel = this.rel ?? (newTab ? 'noopener noreferrer' : undefined);
|
|
44
|
-
return (h("a", { key: '
|
|
44
|
+
return (h("a", { key: 'b24a7dbafbe00b28f6b34a62bdf82d43e9e09c99', 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: 'c0be414d7c6682c747478c3d6f0ae017d8ee0ae5', part: "label", class: "bs-link__label" }, h("slot", { key: '7c877980a329730ff01d422d3cc9d99e8b613bc7' })), newTab && h("span", { key: '60c76ac83d008070537057bdf2f808082f0a6bda', class: "bs-link__sr" }, this.externalLabel), showIcon && (h("svg", { key: '0b7c3fc732d4ae22c3b28e7392e383b767f95515', part: "icon", class: "bs-link__icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '887f86dbf2c091648d7a8846ce757841fa8dce0b', 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" })))));
|
|
45
45
|
}
|
|
46
46
|
static get delegatesFocus() { return true; }
|
|
47
47
|
};
|
|
@@ -58,7 +58,7 @@ const BsListItem = class {
|
|
|
58
58
|
const role = this.selectionRole === 'option' ? 'option' : this.selectionRole === 'listitem' ? 'listitem' : this.interactive ? 'button' : undefined;
|
|
59
59
|
const standaloneFocusable = this.interactive && !this.selectionRole && !this.disabled;
|
|
60
60
|
const showTrailing = this.showArrow || this.hasTrailing;
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'fdf4948938fa51a2980b0d13c254eb21c7ded62f', 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: '1e3f15d35fd65dd070031edde0d4b1aa517d445e', part: "container", class: "bs-list-item" }, interactive && !this.disabled && h("bs-ripple", { key: '14e9fe3c11e48af22f9e0bb12795c6374f76e87b', part: "ripple" }), this.marker && (h("span", { key: '908061bb029ceda4ec3a3593f594068bb0e9236e', part: "marker", class: "bs-list-item__marker", "aria-hidden": "true" }, this.marker)), h("div", { key: '7a2d5ec1d1440ca8e276d0edcbf81eed2a897b2f', part: "leading", class: { 'bs-list-item__leading': true, 'bs-list-item__leading--has-content': this.hasLeading } }, h("slot", { key: 'f38b817abcca020be4134a17df98ba1802d351e7', name: "leading", onSlotchange: (e) => (this.hasLeading = this.slotHas(e)) })), h("div", { key: '598edee3eb3f9fedb30938bbed0663560b72fb87', part: "content", class: "bs-list-item__content" }, !this.hasDefault && this.label && (h("div", { key: '736f971fc786e202552b448f5dbecf13c9b838ea', part: "label", class: "bs-list-item__label" }, this.label)), !this.hasDefault && this.description && (h("div", { key: 'b17af2b501ca2bd3b81af71446421c297364b0ab', part: "description", class: "bs-list-item__description" }, this.description)), !this.hasDefault && this.supportText && (h("div", { key: '338fe438703e6a8e3ffd1bfe5d943612757c568e', part: "support-text", class: "bs-list-item__support" }, this.supportText)), h("slot", { key: 'a93ebdbc28d14f698ffc498a6cf5ecef44ad5f00', onSlotchange: (e) => (this.hasDefault = this.slotHas(e)) })), h("div", { key: 'bea35073b085f98027a3de109108d9f20c7b848e', part: "trailing", class: { 'bs-list-item__trailing': true, 'bs-list-item__trailing--shown': showTrailing } }, h("slot", { key: '012e364368c90d40026564a6afbf03e54447a2e8', name: "trailing", onSlotchange: (e) => (this.hasTrailing = this.slotHas(e)) }, this.showArrow && (h("svg", { key: '4355a805d6814b76bb080fcb2660de5295d1101b', viewBox: "0 0 32 32", width: "32", height: "32", fill: "none", "aria-hidden": "true" }, h("path", { key: '9d7cd5926a940157e6366eca4d082bfce9b01eb1', d: "M12 7L21 16L12 25", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
BsListItem.style = bsListItemCss();
|
|
@@ -88,7 +88,7 @@ const BsList = class {
|
|
|
88
88
|
enabled[next].focus();
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
|
-
return (h("div", { key: '
|
|
91
|
+
return (h("div", { key: 'c8066e4f9be832931db79a5ef4351d4cf9301549', part: "list", class: "bs-list", role: this.selectable ? 'listbox' : 'list', "aria-label": this.ariaLabel ?? undefined }, h("slot", { key: 'c957f74f015037e305b3b18b9bd2010702cfd76d', onSlotchange: () => this.sync() })));
|
|
92
92
|
}
|
|
93
93
|
static get watchers() { return {
|
|
94
94
|
"value": [{
|
|
@@ -105,7 +105,7 @@ const BsMegaMenu = class {
|
|
|
105
105
|
const hasFeatured = !!this.featured || !!this.el.querySelector(':scope > [slot="featured"]');
|
|
106
106
|
const tracks = this.columns.length + (hasFeatured ? 1 : 0);
|
|
107
107
|
const removed = this.open === false && !this.closing;
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '45208381f067bfda8ef501c0d6a039e502515fca', "data-closed": removed ? '' : undefined }, h("bs-card", { key: '9b3f930124f6c6bf76106fc27045635f1c436efe', 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: '52ed226040594af9c21877ad03d42c27b4eb932f', 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: 'db1a36f92f32c19dabcc55d99bbd86eb3e1e57e0', decorative: true }), h("div", { key: 'c164f4fbfab086f962a1b3eb37d448b0dfea5232', part: "footer", class: "bs-mega-menu__footer" }, h("span", { key: 'b224e71457976273e4eb986ba3541a7bc28abcb9', class: "bs-mega-menu__footer-start" }, h("slot", { key: '1fa4aefedba1f415886ef9849fdac47a5d52b42f', name: "footer-start" }, this.recent.length > 0 && `${this.recentLabel} ${this.recent.join(', ')}`)), h("span", { key: '4ed15967e32c1d65ef1822a54dda30a7956dd06e', class: "bs-mega-menu__footer-end" }, h("slot", { key: '021c5b12e47d2f6875d6d150a7359ec2e9e43b7a', name: "footer-end" }, h("span", { key: '2caff5c834a0f5dc9056cd04c38328112f03d596', class: "bs-mega-menu__shortcut" }, this.shortcutLabel, h("bs-key-caps", { key: 'e25c03ddc9b4686661771f1966ebdf8826d92b98', part: "shortcut", keys: this.shortcutKeys, label: this.shortcutKeysLabel }))))))));
|
|
109
109
|
}
|
|
110
110
|
static get watchers() { return {
|
|
111
111
|
"open": [{
|
|
@@ -61,7 +61,7 @@ const BsMessageList = class {
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
render() {
|
|
64
|
-
return (h("div", { key: '
|
|
64
|
+
return (h("div", { key: '12927a4ddaadf555a427fe07ff5dd128fa2651b4', class: "bs-message-list" }, h("div", { key: '74770ff42ba4cd8208b98f0057feb1875c729f92', 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: '93e3bc699ecf49944b5709976fee533e9ae281ec' })), this.showScrollButton && (h("bs-icon-button", { key: '7871fc76177cae034e7c4f76c940dd33402ff327', part: "scroll-to-latest", class: "bs-message-list__scroll", variant: "neutral", ariaLabel: this.scrollToLatestLabel, onClick: () => this.scrollToLatest() }, h("svg", { key: '31cc721616e5d4841802e18ae7b004dd357ebc39', width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: 'cd133124826c625e34402e8b433a7d3eb562bee1', d: "M8 3v10M3.5 8.5L8 13l4.5-4.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
BsMessageList.style = bsMessageListCss();
|
|
@@ -15,7 +15,7 @@ const BsMessage = class {
|
|
|
15
15
|
/** Delivery/render state. `error` uses error colours; `pending` dims the bubble and sets `aria-busy`. */
|
|
16
16
|
status = 'default';
|
|
17
17
|
render() {
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: '3f9f6d74c18034a41b3938cd061fe0fae540c79a', class: "bs-message", "aria-busy": this.status === 'pending' ? 'true' : undefined }, h("div", { key: 'f5606b35a7fb70dc4917134771d77343bcbb1e36', part: "avatar", class: "bs-message__avatar" }, h("slot", { key: '0beffeb731ac64aa460c9d5d9d5f2127a3dc6d91', name: "avatar" })), h("div", { key: '8af6cf842240c59f76a15fbb86911be002782977', class: "bs-message__column" }, h("bs-card", { key: '5016ee1041ec0ba7752dbaf6efd65626f62e69ba', part: "container", class: "bs-message__bubble", surface: "base" }, h("div", { key: '05c380d812bd9d35e310a82e283de6b121229c02', part: "content", class: "bs-message__content" }, h("slot", { key: '8997a30bf2e848eb08e3a2b1370b7030458a60e2' }))), h("div", { key: 'fc8ec2e61464860a9d51977b4295c029cad05733', part: "footer", class: "bs-message__footer" }, h("slot", { key: '6d96f88a5422d22ff4e106c63dd5cf05c824eb60', name: "footer" })), h("div", { key: '5888010264d0cbb12644424a93b486b4b4fd4430', part: "timestamp", class: "bs-message__timestamp" }, h("slot", { key: '67c72df9f594346ff2a6ac3b38675dab84f92962', name: "timestamp" }, this.timestamp && h("time", { key: '949c7da15c29fb0c4cec22860378f887397aeca2', dateTime: this.datetime }, this.timestamp))))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
BsMessage.style = bsMessageCss();
|
|
@@ -112,7 +112,7 @@ const BsNavigationDrawerItem = class {
|
|
|
112
112
|
// convention, e.g. bs-input.tsx) without that wrapper affecting layout at all.
|
|
113
113
|
const isLink = !!this.href && !this.expandable;
|
|
114
114
|
const Tag = isLink ? 'a' : 'button';
|
|
115
|
-
return (h("div", { key: '
|
|
115
|
+
return (h("div", { key: 'a6a79177e1a3fc0e46bd16066265e621ce24f4ad', class: "bs-navigation-drawer-item__root" }, h(Tag, { key: '5835ac4c008bad531d5ee319dcd3751f4e16ca23', ...(isLink ? { href: this.href, target: this.target, rel: this.target === '_blank' ? 'noopener noreferrer' : undefined } : { type: 'button' }), part: "item", class: rowClasses, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-current": this.selected && !this.expandable ? 'page' : undefined, "aria-label": this.ariaLabel ?? undefined, onClick: this.onClick }, !this.nested && (h("span", { key: '8ff0ebe3d526509084850ddafb7286efd898e4df', part: "icon", class: `bs-navigation-drawer-item__icon ${this.hasIcon ? 'bs-navigation-drawer-item__icon--has-content' : ''}` }, h("slot", { key: 'aacc68c7c3f4afaefc77c5ffb95cd0ac4a92b3d1', name: "icon", onSlotchange: this.onIconSlotchange }))), h("span", { key: '617c000143bd7cc7282a99d9c44bf57876af2808', part: "label", class: "bs-navigation-drawer-item__label" }, h("slot", { key: '3605e2fb84e675360a7f787d198128ae6e510c4c' })), this.expandable && (h("span", { key: '38e2229a4eb81078d1b7ab197e28760ab6c13f3f', part: "chevron", class: `bs-navigation-drawer-item__chevron ${this.expanded ? 'bs-navigation-drawer-item__chevron--expanded' : ''}` }, h(ChevronDownIcon, { key: '2d45039be529366a385758934037b13bc63969e5' })))), this.expandable && (h("span", { key: '2daa4d6a5e38a8558b720fd7cc77a518ba832699', part: "children", class: "bs-navigation-drawer-item__children" }, h("slot", { key: 'a97e04143b1dd80da564380b2955309c9e144339', name: "children" })))));
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
// 16x16 native viewBox (not a 24x24 icon scaled down) -- authored directly at display size, per
|
|
@@ -178,11 +178,11 @@ const BsNavigationDrawer = class {
|
|
|
178
178
|
};
|
|
179
179
|
render() {
|
|
180
180
|
const classes = ['bs-navigation-drawer', this.mobile ? 'bs-navigation-drawer--overlay' : '', this.overlayOpen ? 'bs-navigation-drawer--open' : ''].filter(Boolean).join(' ');
|
|
181
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: 'ef2563170d2a1432e2361a682336ba805cdb17f8', "data-overlay": this.mobile ? '' : undefined }, this.mobile && h("div", { key: 'e7f19728083c42cb963a3b21f967434b3a864191', part: "backdrop", class: "bs-navigation-drawer__backdrop", onClick: this.requestClose }), h("nav", { key: '5059da6b91d31cd6b5e58e16426f243c0531a49d', ref: el => (this.navRef = el), class: classes, "aria-label": this.heading,
|
|
182
182
|
// Stays a plain <nav> landmark in every state: ARIA does not allow role="dialog" on <nav>
|
|
183
183
|
// (axe: aria-allowed-role). Modality is behavioral -- focus is held inside, the page behind is
|
|
184
184
|
// scrimmed, Escape closes -- rather than announced through aria-modal.
|
|
185
|
-
tabIndex: this.mobile ? -1 : undefined }, this.showLogo && (h("div", { key: '
|
|
185
|
+
tabIndex: this.mobile ? -1 : undefined }, this.showLogo && (h("div", { key: '898721d0728cf6f8ef5d14153e80305598b274d3', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--full" }, h("bs-logo", { key: '08c731fb855934ce69a87b4b1ce39c23a598aa77', variant: "full", background: this.logoBackground }))), this.showLogo && (h("div", { key: 'dbeb1f6486d4110281236634e38d671b48aabee2', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--mark" }, h("bs-logo", { key: '01bb10c69d07a28077029bb2190f343e3fcf6096', variant: "mark", background: this.logoBackground }))), h("div", { key: 'fdafb01fa51bc0e2286715955a2d60df86f83b5a', class: "bs-navigation-drawer__title-row" }, h("span", { key: '2245aa97f4603f1b220804297e71ed14b47303bb', part: "title", class: "bs-navigation-drawer__title" }, this.heading), this.collapsible && (h("button", { key: '32fdee9dd95ec46cd40007d4a75fb16e62154399', type: "button", part: "collapse", class: "bs-navigation-drawer__collapse", "aria-label": this.collapsed ? this.expandLabel : this.collapseLabel, "aria-pressed": this.collapsed ? 'true' : 'false', onClick: this.onCollapseClick }, h(CaretLeftIcon, { key: '42cf0c78b01d55902a0ca46e670dec44197361a1' })))), h("div", { key: '0cc895bf5ddd7a02a9b284edd159b651dca3dfc4', part: "search", class: "bs-navigation-drawer__search" }, h("slot", { key: 'b0c10b8a6cca6b5c5f2ae078413bcb42900ae4ca', name: "search" })), h("button", { key: '3d45dbea4c356ec480c511f28f57a4a96a666f97', type: "button", part: "search-trigger", class: "bs-navigation-drawer__search-trigger", "aria-label": this.searchLabel, onClick: this.onSearchTriggerClick }, h(SearchIcon, { key: '0474082dfed00211ce85944e40764de680b7bedd' })), h("div", { key: '3a1a16a7696df675932a74c6b40de97654ba6658', part: "items", class: "bs-navigation-drawer__items" }, h("slot", { key: 'bf7b183fabd8179dd1ea748c1594b4ed4d64755d' })))));
|
|
186
186
|
}
|
|
187
187
|
static get watchers() { return {
|
|
188
188
|
"collapsed": [{
|
|
@@ -35,8 +35,8 @@ const BsNavigationHeader = class {
|
|
|
35
35
|
const showLogo = this.alignment !== 'with-navigation-drawer';
|
|
36
36
|
const rootClasses = `bs-navigation-header bs-navigation-header--${this.alignment}`;
|
|
37
37
|
return [
|
|
38
|
-
h("header", { key: '
|
|
39
|
-
h("div", { key: '
|
|
38
|
+
h("header", { key: '94c92d487ae823c1d8f5cba73d167bde78e0a382', class: rootClasses, "aria-label": this.ariaLabel ?? undefined }, this.skipToContentHref && (h("a", { key: 'eb3285a5f7ac5be242a03cd60149f6b6a8d2a0ad', part: "skip-link", class: "bs-navigation-header__skip-link", href: this.skipToContentHref }, this.skipToContentLabel)), showLogo && (h("bs-logo", { key: '3b603a8bc228378cf3cc7df1feff1000e026979b', part: "logo", class: "bs-navigation-header__logo", variant: "full", background: this.logoBackground })), h("div", { key: '67d7dfc521d2c04ed4a6eb78abbb2209489074ba', part: "left", class: "bs-navigation-header__left" }, h("slot", { key: 'c159c60efc42d896754355c0a13d3b162537587c', name: "left" })), h("div", { key: '1227d10506f2400e5f4ede3fb65111aabfd2e83a', part: "right", class: "bs-navigation-header__right" }, h("slot", { key: '95cba64373c96bd035bfd1f59e9c859a860d9bcf', name: "right" }))),
|
|
39
|
+
h("div", { key: '415c6193a756108229bdf41eeea5b4aa7c8987f6', part: "menu", class: "bs-navigation-header__menu" }, h("slot", { key: '32feba4050c1b4f247c1e6610ec42dda7418801c', name: "menu" })),
|
|
40
40
|
];
|
|
41
41
|
}
|
|
42
42
|
};
|
|
@@ -52,7 +52,7 @@ const BsPageHeader = class {
|
|
|
52
52
|
const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 1));
|
|
53
53
|
const showMeta = !!this.meta || this.slotted.meta;
|
|
54
54
|
const hasTabs = this.slotted.tabs && !this.compact;
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: 'a469f1c878c18792ddfe5543c769e8532a14d286', part: "container", class: { 'bs-page-header': true, 'bs-page-header--compact': this.compact, 'bs-page-header--tabs': hasTabs } }, h("div", { key: 'f521d13ff55dde674dd751152ea523ca02e09967', part: "breadcrumb", class: { 'bs-page-header__breadcrumb': true, 'bs-page-header__empty': !this.slotted.breadcrumb } }, h("slot", { key: 'a9a6035be05eb96da26c08aa10eb82fd2d434bd4', name: "breadcrumb", onSlotchange: this.onSlotChange('breadcrumb') })), h("div", { key: 'bd9aeef1feb104eefb5a385fbb7ecfec8b6c5ed3', part: "row", class: "bs-page-header__row" }, h("div", { key: '65ce0eb8d77c1a00963b19570f4346a27987fad9', part: "main", class: { 'bs-page-header__main': true, 'bs-page-header__main--back': this.back } }, this.back && (h("bs-icon-button", { key: '4083d59309cdc5222bd3a41e8c5c75b30fb9f7e9', part: "back", class: "bs-page-header__back", variant: "subtle", size: "sm", ariaLabel: this.backLabel, onClick: () => this.bsBack.emit() }, h(ArrowLeftIcon, { key: '525886b66443c8ff8e044880e0c5eacd4c8ce6aa' }))), h("div", { key: '4c03f9f11f42809b822f1e827068096951a65e71', 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: '739ac812368229ea084a43f0ac601c5b247f78b1', part: "status", class: { 'bs-page-header__status': true, 'bs-page-header__empty': !this.slotted.status } }, h("slot", { key: '61178a4c48e7eeaf031fdfb70f6f14da11bc8e8c', name: "status", onSlotchange: this.onSlotChange('status') })), this.favoritable && (h("bs-icon-button", { key: '1e1bae3f165a452eaa17a46fd102c6281c787e3f', 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: '8208069cf42463ca179842b7f83ad21aad332659', part: "meta", class: { 'bs-page-header__meta': true, 'bs-page-header__empty': !showMeta } }, h("slot", { key: '60d0c693784b12146d9b04168528fcecbfdec922', name: "meta", onSlotchange: this.onSlotChange('meta') }, this.meta))), h("div", { key: '23c938afbe4f28ec2094056b485d0ac6cd6af47b', part: "actions", class: { 'bs-page-header__actions': true, 'bs-page-header__empty': !this.slotted.actions } }, h("slot", { key: '4526fc55acd84205ccdf4760968164b438eededd', name: "actions", onSlotchange: this.onSlotChange('actions') }))), h("div", { key: 'bb305e5321e998c31fc768a3dcaf27646356a9f4', part: "tabs", class: { 'bs-page-header__tabs': true, 'bs-page-header__empty': !this.slotted.tabs } }, h("slot", { key: 'fa4e392f34f72363a7da75c446fa1039ea7b9ea7', name: "tabs", onSlotchange: this.onSlotChange('tabs') })), hasTabs && h("bs-divider", { key: '31326f1ab16eca04ca813f8d523800270f7151b0', part: "divider", class: "bs-page-header__divider", decorative: true })));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
// Paths from Phosphor Icons (MIT) "arrow-left", "star" and "star-fill", regular/fill weights, 256 viewBox.
|
|
@@ -72,7 +72,7 @@ const BsPagination = class {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const pageList = this.getPageList();
|
|
75
|
-
return (h("nav", { key: '
|
|
75
|
+
return (h("nav", { key: '2e61374a3b2d6538ec297915b6a0791e5e5a637f', "aria-label": this.navLabel }, h("ul", { key: 'a2abe1a24e79bd01be23832861cdc4d534810b4c', part: "list", class: "bs-pagination__list" }, h("li", { key: '3be6627a6369222829cffca7cd6de47a346dc1b6', part: "item", class: "bs-pagination__item" }, h("button", { key: 'f08b5e4ec7d2d71b3ccc2db3be9171663a5311cb', 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: 'a81b48cbbc64d406f5c9ed0eac96066cbe5735ec', part: "ripple", centered: true }), h(ChevronLeftIcon, { key: '024845aee202d65979b2fb802e603fa3c190fdbd' }))), 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: 'ab1300cedccb62502d5b9b18d24d6d0567ea60b1', part: "item", class: "bs-pagination__item" }, h("button", { key: '9a1013034a9e0ab1cb29f7946b8a3e848ab959ea', 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: 'd8bf1df86d661bade1a9518c748674298e4dc840', part: "ripple", centered: true }), h(ChevronRightIcon, { key: 'e81e07440ba141dfe1ed85fd43c76223452a5805' }))))));
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
function range(start, end) {
|
|
@@ -84,6 +84,7 @@ const BsPopover = class {
|
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
componentDidRender() {
|
|
87
|
+
this.syncTriggerAria();
|
|
87
88
|
if (!this.open && this.closing && this.exitPending) {
|
|
88
89
|
this.exitPending = false;
|
|
89
90
|
this.playExit();
|
|
@@ -159,6 +160,29 @@ const BsPopover = class {
|
|
|
159
160
|
this.open = next;
|
|
160
161
|
this.bsOpenChange.emit(next);
|
|
161
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* Keeps `aria-haspopup`/`aria-expanded` on the slotted trigger -- the element that is actually
|
|
165
|
+
* focusable and announced -- rather than on the role-less wrapper div, where they are invalid ARIA.
|
|
166
|
+
* `bs-*` triggers (bs-button, bs-icon-button) forward these to their inner `<button>` through their
|
|
167
|
+
* JS properties; an attribute on the host would sit on a role-less element. A trigger that already
|
|
168
|
+
* declares its own `aria-haspopup` (e.g. bs-dropdown's `menu`) keeps it.
|
|
169
|
+
*/
|
|
170
|
+
syncTriggerAria = () => {
|
|
171
|
+
const trigger = this.triggerSlot?.assignedElements()[0];
|
|
172
|
+
if (!trigger)
|
|
173
|
+
return;
|
|
174
|
+
if (trigger.tagName.startsWith('BS-')) {
|
|
175
|
+
const t = trigger;
|
|
176
|
+
if (!t.ariaHasPopup)
|
|
177
|
+
t.ariaHasPopup = 'true';
|
|
178
|
+
t.ariaExpanded = String(this.open);
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
if (!trigger.hasAttribute('aria-haspopup'))
|
|
182
|
+
trigger.setAttribute('aria-haspopup', 'true');
|
|
183
|
+
trigger.setAttribute('aria-expanded', String(this.open));
|
|
184
|
+
}
|
|
185
|
+
};
|
|
162
186
|
focusTrigger() {
|
|
163
187
|
const first = this.triggerSlot?.assignedElements()[0];
|
|
164
188
|
first?.focus();
|
|
@@ -181,7 +205,7 @@ const BsPopover = class {
|
|
|
181
205
|
}
|
|
182
206
|
};
|
|
183
207
|
render() {
|
|
184
|
-
return (h("div", { key: '
|
|
208
|
+
return (h("div", { key: 'a3da61665e619ba9d2f26692a17e7ab97e3c611a', class: "bs-popover" }, h("div", { key: '66f7eb97ee176b76da0f60879cbfb4b885a55989', part: "trigger", class: "bs-popover__trigger", onClick: this.onTriggerClick, onKeyDown: this.onTriggerKeyDown }, h("slot", { key: 'd39f84fd9473da623666d6d37847064160f9d06a', name: "trigger", ref: el => (this.triggerSlot = el), onSlotchange: this.syncTriggerAria })), h("div", { key: 'efdaf551223223bb8249a63d2cde6cdb23343495', part: "popup", id: this.popupId, class: "bs-popover__popup", tabindex: "-1", hidden: !this.open && !this.closing, ref: el => (this.popupEl = el) }, h("slot", { key: '7e9557a3caebaedf33c0fd3bb56225192a8e918c' }))));
|
|
185
209
|
}
|
|
186
210
|
static get watchers() { return {
|
|
187
211
|
"open": [{
|
|
@@ -73,7 +73,7 @@ const BsPresence = class {
|
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
const preset = PRESETS.includes(this.preset) ? this.preset : 'fade';
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'f96345233704eec650210f1c8eeadb04973a9dc6', inert: this.active ? undefined : true, "aria-hidden": this.active ? null : 'true' }, h("div", { key: '2a4e0edb4156e57c74f8fa45ff21458428602dcb', part: "content", class: `bs-presence bs-presence--${preset}${this.active ? '' : ' bs-presence--closed'}`, ref: el => (this.shell = el) }, h("div", { key: '64986252539745f6609fc677376c4d128dcd89e8', class: "bs-presence__clip", ref: el => (this.clip = el) }, h("slot", { key: '92e5ddf2147dbde7146a4642de8e44f8e38d373b' })))));
|
|
77
77
|
}
|
|
78
78
|
static get watchers() { return {
|
|
79
79
|
"active": [{
|
|
@@ -33,13 +33,13 @@ const BsProgressLinear = class {
|
|
|
33
33
|
render() {
|
|
34
34
|
const isDeterminate = this.type === 'determinate';
|
|
35
35
|
const value = this.clampedValue;
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: '004c6c83088157d322be56114f8885cb0b81a99f', part: "container", class: "bs-progress-linear" }, h("div", { key: '5154c0601c8a7601582363cd1f13abdf102376d1', part: "track", class: `bs-progress-linear__track bs-progress-linear__track--${this.size}`, 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("div", { part: "fill", class: "bs-progress-linear__fill", style: { width: `${value}%` } })) : (
|
|
37
37
|
// Figma's indeterminate bar is a soft "comet" gradient segment (transparent -> blue ->
|
|
38
38
|
// transparent) sliding left-to-right across the track's full width in a loop -- the
|
|
39
39
|
// same fade concept as bs-progress's indeterminate ring's conic-gradient comet tail,
|
|
40
40
|
// but along a straight line via a linear-gradient + `transform: translateX(...)`
|
|
41
41
|
// keyframe animation instead of a rotating conic-gradient.
|
|
42
|
-
h("div", { part: "fill", class: "bs-progress-linear__fill bs-progress-linear__fill--indeterminate" }))), this.showLabel && this.hasLabelContent && (h("span", { key: '
|
|
42
|
+
h("div", { part: "fill", class: "bs-progress-linear__fill bs-progress-linear__fill--indeterminate" }))), this.showLabel && this.hasLabelContent && (h("span", { key: 'b06b6c6f5bfa096ac8f186569d17c05cb55f24d4', part: "label", class: "bs-progress-linear__label" }, h("slot", { key: '58350a58d914a45a221b44c3df47424c6e45a51b' })))));
|
|
43
43
|
}
|
|
44
44
|
// The default slot's assigned content lives in the host's light DOM regardless of whether a
|
|
45
45
|
// <slot> is currently rendered in the shadow tree, so this can be computed directly from the
|
|
@@ -55,7 +55,7 @@ const BsProgress = class {
|
|
|
55
55
|
const isDeterminate = this.type === 'determinate';
|
|
56
56
|
const value = this.clampedValue;
|
|
57
57
|
const dashOffset = circumference * (1 - value / 100);
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: '26f361ccddc2265363c058cfa4ddc85a6707643d', part: "container", class: "bs-progress" }, h("div", { key: 'cdf756b2152c95d42dbd44a4ac2c296e0579ca68', 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 }))) : (
|
|
59
59
|
// Figma's indeterminate ring is a fading "comet tail" (transparent -> solid color),
|
|
60
60
|
// not a flat-colored partial arc -- SVG has no angular/conic gradient primitive, so a
|
|
61
61
|
// CSS conic-gradient (color varying by angle) + a radial-gradient mask (carving the
|
|
@@ -64,7 +64,7 @@ const BsProgress = class {
|
|
|
64
64
|
h("div", { part: "arc", class: "bs-progress__spinner", style: {
|
|
65
65
|
'--bs-progress-spinner-stroke-width': `${this.strokeWidth}px`,
|
|
66
66
|
'--bs-progress-spinner-sweep': `${INDETERMINATE_SWEEP_DEGREES}deg`,
|
|
67
|
-
} }))), isDeterminate && this.showLabel && (h("span", { key: '
|
|
67
|
+
} }))), isDeterminate && this.showLabel && (h("span", { key: '3880f17dd4c3b9fe71e10ed5da5e0f6ee33b72e2', part: "label", class: `bs-progress__label bs-progress__label--${this.size}` }, value, "%"))));
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
BsProgress.style = bsProgressCss();
|
|
@@ -133,7 +133,7 @@ const BsQrCode = class {
|
|
|
133
133
|
const buttonSize = this.size === 'sm' ? 'sm' : 'md';
|
|
134
134
|
// Figma shows the unavailable actions as filled-disabled (grey) rather than a faded outline,
|
|
135
135
|
// which is what bs-button's disabled primary looks like.
|
|
136
|
-
return (h("bs-card", { key: '
|
|
136
|
+
return (h("bs-card", { key: 'ca422530afebebe0ce18ce8c1445a06d202d97d4', part: "container", class: "bs-qr-code", surface: "base" }, this.closable && (h("bs-icon-button", { key: 'f14dd77c2ce0652bf94f7b324ea0e807d3550d94', part: "close", class: "bs-qr-code__close", variant: "subtle", size: "sm", ariaLabel: this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: '4a3e29041401cded70e8fa60822b48ca5d442517', viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", "stroke-width": "1.6", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: '1e987f16f4ead0d451172f54ca73f36201aaba15', d: "M5 5L15 15M15 5L5 15" })))), h("div", { key: 'bc14d35f6b9a3e4519916faa4a58da7ba02968c2', class: "bs-qr-code__body" }, h("div", { key: 'b60b3cab47cb43b700d916c199d0e64f5c05274a', part: "head", class: "bs-qr-code__head" }, h("p", { key: '6f22983a46370ad7712ba6f0da8277aa5f2673b9', part: "title", class: "bs-qr-code__title" }, this.heading), this.description && (h("p", { key: '5cd4b55d96798d17db852c8cd763e3567de4f79a', part: "description", class: "bs-qr-code__description" }, this.description))), h("div", { key: '488b2ff294b754bd66589d7e066771ee18925949', part: "qr", class: "bs-qr-code__qr" }, h("div", { key: '082d3d22f546210f6da00e0f6742ced8fac0e49b', part: "code", class: "bs-qr-code__code" }, h("slot", { key: 'f003aa0c063f67befeb598527f214db48ab32223', name: "code" }, this.renderMatrix()), h("div", { key: '14ef033186cecb67c8ec03af3016f992645bbb83', part: "logo", class: { 'bs-qr-code__logo': true, 'bs-qr-code__logo--visible': this.hasLogo } }, h("slot", { key: '0d0716edce8fddff9b32bd50132ef5da668c56db', name: "logo", onSlotchange: (ev) => (this.hasLogo = ev.target.assignedNodes().length > 0) }))), this.renderOverlay()), this.type === 'payment' && this.amount && (h("div", { key: '83762e2cb36c66f0e6e1452408d0908abdec930c', part: "amount", class: "bs-qr-code__amount" }, this.amountLabel && h("p", { key: '7e6102877e193d34bf2ba077cccc4c6e6c32bbea', class: "bs-qr-code__amount-label" }, this.amountLabel), h("p", { key: '7ed0e74a2e91dd70da9ab71ceb883ee4ea323dfd', class: "bs-qr-code__amount-value" }, this.amount))), this.type === 'default' && this.url && (h("div", { key: 'd45463defa962c51192ff2f067a5abe3aaf37a05', part: "url", class: "bs-qr-code__url" }, this.url)), this.expiry && (h("bs-chip-informative", { key: 'eac00eec4fdb9ac8d0537fa9b6fa8e2cdc6204e7', part: "expiry", size: "md" }, h(TimerIcon, { key: '5f758aa92580f589a1315d2e921ac185271fd94a', slot: "icon" }), this.expiry)), showActions && (h("div", { key: 'ca4ab2498dcb3bf0b9ddbc83e6a8a2416dcd9e10', part: "actions", class: "bs-qr-code__actions" }, !this.hideDownload && (h("bs-button", { key: '8dd9eb4372b1af1afbba0bc987885f578c3c6b6d', part: "download", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.bsDownload.emit() }, h(DownloadIcon, { key: '53ae611b745f51f4e5ec5e011a94fe00a5be1bed', slot: "icon" }), this.downloadLabel)), !this.hideCopy && (h("bs-button", { key: 'deed453a9bc0a5ed2df2e003b02f14723ef0796a', part: "copy", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.onCopy() }, h(CopyIcon, { key: 'b0fdf348b30aec104094578afa392a3cc1c6ddac', slot: "icon" }), this.copyLabel)))))));
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
const iconProps = { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', 'stroke-width': '2', 'stroke-linecap': 'round', 'stroke-linejoin': 'round', 'aria-hidden': 'true' };
|
|
@@ -72,7 +72,7 @@ const BsRadioGroup = class {
|
|
|
72
72
|
const labelId = `${this.id}-label`;
|
|
73
73
|
const descId = `${this.id}-desc`;
|
|
74
74
|
const note = this.error || this.description;
|
|
75
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: 'cfc1e80a169ffcb0bed6172a23ebf764a1f0f424', part: "group", class: { 'bs-radio-group': true, 'bs-radio-group--error': !!this.error }, role: "radiogroup", "aria-labelledby": this.label ? labelId : undefined, "aria-describedby": note ? descId : undefined, "aria-invalid": this.error ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined }, this.label && (h("span", { key: '4cac10e71108811c7138c1e0309d6faacf671e58', id: labelId, part: "label", class: "bs-radio-group__label" }, this.label, this.required && h("span", { key: 'f7f64cf3452d0a52a9823d1cf9db2d89941b27b3', "aria-hidden": "true" }, " *"))), h("div", { key: 'b6123200ba34f2507289996c995022a7cc42f26e', part: "options", class: "bs-radio-group__options" }, h("slot", { key: '482111d3caaec3ff0ec4dfaf7b5e951bd9052552', onSlotchange: this.onSlotchange })), note && (h("span", { key: 'b4c663c6fc2626a92210562ea530c8293638e266', id: descId, part: this.error ? 'error' : 'description', class: this.error ? 'bs-radio-group__error' : 'bs-radio-group__description' }, this.error || this.description))));
|
|
76
76
|
}
|
|
77
77
|
static get watchers() { return {
|
|
78
78
|
"value": [{
|
|
@@ -102,7 +102,7 @@ const BsRadio = class {
|
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
render() {
|
|
105
|
-
return (h("label", { key: '
|
|
105
|
+
return (h("label", { key: 'f306e00e27f679e419cfa5f4fa645ce890b5f595', class: `bs-radio ${this.disabled ? 'bs-radio--disabled' : ''}` }, h("input", { key: '8d531aa5fc6616bd2179e63a9ac1f801d8c5a0a0', class: "bs-radio__input", type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, "aria-label": this.ariaLabel, tabIndex: this.checked || !this.groupHasChecked ? 0 : -1, onKeyDown: this.onKeyDown, onChange: this.onChange }), h("span", { key: '4b34023e14a244d775b78a0d3448abf11675df9d', class: "bs-radio__hit-area" }, h("bs-ripple", { key: 'a5e40330de337e361eb20f833a4a8043abe7f57e', part: "ripple", class: "bs-radio__ripple", centered: true, triggerSelector: ".bs-radio", disabled: this.disabled }), h("span", { key: 'b2474d2435bd670c0d314af20c33c86eca87ec70', class: "bs-radio__state-layer" }, h("span", { key: 'fecc8416c4d534cc061f86b10e3bc471719990e6', part: "circle", class: `bs-radio__circle ${this.checked ? 'bs-radio__circle--selected' : ''}` }, this.checked && h("span", { key: '24941aede8c24ed27dff8f033732d779579d08c2', part: "dot", class: "bs-radio__dot" })))), h("span", { key: 'b51c9ac9b90d9cc4498aeeadabf1539409649db3', part: "label", class: "bs-radio__label" }, h("slot", { key: 'aea76fb7e8d2330e1b02858af95e721af60dc4f1' }))));
|
|
106
106
|
}
|
|
107
107
|
static get delegatesFocus() { return true; }
|
|
108
108
|
static get formAssociated() { return true; }
|
|
@@ -37,7 +37,7 @@ const BsSearchItem = class {
|
|
|
37
37
|
slotFilled = (set) => (ev) => set(ev.target.assignedNodes().length > 0);
|
|
38
38
|
render() {
|
|
39
39
|
const role = this.selectionRole ?? undefined;
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '4e893a0005ebd09facffe756cf47d393cbb19a2a', part: "container", class: "bs-search-item", role: role, "aria-selected": role ? String(this.active) : undefined, "aria-disabled": this.disabled ? 'true' : undefined }, !this.disabled && h("bs-ripple", { key: 'ed44f2b37d8c7fa740c69a5a734b2a1bb4b34ebc', part: "ripple" }), h("span", { key: 'c013610e802e299f8f3ac8307061e01155e9d35f', part: "icon", class: { 'bs-search-item__icon': true, 'bs-search-item__icon--hidden': !this.hasIcon } }, h("slot", { key: '79bbb9cf256885b7540485d68cf1f4492a336393', name: "icon", onSlotchange: this.slotFilled(v => (this.hasIcon = v)) })), h("span", { key: '5dc3f4f00182d13f3a79828170a9573d65f3f6ff', part: "content", class: "bs-search-item__content" }, h("span", { key: '3aefdebe10cedee45b2ba83feb3ef6dddaaead8e', part: "label", class: "bs-search-item__label" }, h("slot", { key: '150ad4ff3e29288b63ebdae2d456ed0f182b09be' })), h("span", { key: 'dc2ff7caa2f9d8313d810efb1d7ff4d7751036cc', part: "description", class: { 'bs-search-item__description': true, 'bs-search-item__description--hidden': !this.hasDescription } }, h("slot", { key: 'bb7a747ce8b5a8c4c48313361fa43c009755aba9', name: "description", onSlotchange: this.slotFilled(v => (this.hasDescription = v)) }))), h("span", { key: '38c442550fcdeebf667a70af3105775a9b02d57e', part: "trailing", class: { 'bs-search-item__trailing': true, 'bs-search-item__trailing--hidden': !this.hasTrailingSlot && !this.trailing } }, h("slot", { key: 'a66b8babf306a4fb1e0aacf45caf642e843a270b', name: "trailing", onSlotchange: this.slotFilled(v => (this.hasTrailingSlot = v)) }, this.trailing))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
BsSearchItem.style = bsSearchItemCss();
|
|
@@ -206,7 +206,7 @@ const BsSelect = class {
|
|
|
206
206
|
const fieldClasses = ['bs-select__field', this.error ? 'bs-select__field--error' : '', this.disabled ? 'bs-select__field--disabled' : '', this.open ? 'bs-select__field--open' : '']
|
|
207
207
|
.filter(Boolean)
|
|
208
208
|
.join(' ');
|
|
209
|
-
return (h("div", { key: '
|
|
209
|
+
return (h("div", { key: 'ebde3002856a4effa89249b70a5a51bcaa107367', class: `bs-select ${this.error ? 'bs-select--error' : ''}` }, this.label && (h("span", { key: 'b0b80484156f29d560901f64786988e0d0071bf7', part: "label", id: labelId, class: "bs-select__label", onClick: () => !this.disabled && this.fieldEl?.focus() }, this.label, this.required && (h("span", { key: 'a43acdc97df00ad5ac1b2d74903ed7e8616ce32f', class: "bs-select__required", "aria-hidden": "true" }, "*")))), h("div", { key: '84eb4775e064d56644395555e5488a22d718e9bb', class: "bs-select__wrapper" }, h("div", { key: '5d81b1ce333fa45eda0e46f30a11f8bff21fee64', part: "field", class: fieldClasses, ref: el => (this.fieldEl = el), role: "combobox", tabindex: this.disabled ? -1 : 0, "aria-haspopup": "listbox", "aria-expanded": String(this.open), "aria-controls": listId, "aria-labelledby": this.label ? labelId : undefined, "aria-label": this.label ? undefined : this.ariaLabel, "aria-activedescendant": this.open && this.activeIndex >= 0 ? optId(this.activeIndex) : undefined, "aria-describedby": this.error || this.description ? msgId : undefined, "aria-invalid": this.error ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onFieldClick, onKeyDown: this.onKeyDown, onBlur: this.onBlur }, h("span", { key: '08340b9d62f1633753a6858b24a38ef49ba3d382', part: "value", class: `bs-select__value ${selected ? '' : 'bs-select__value--placeholder'}` }, selected ? selected.label : this.placeholder), h("svg", { key: 'df5e92b3555c508617c899ea8b597d980af3295f', part: "icon", class: "bs-select__chevron", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '991d65667ae91e25cb39a12a8066bb81288b84e5', d: "M4 6L8 10L12 6", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("ul", { key: '42256fc2bff2d31bde0347192ded1fdf56be043f', part: "listbox", id: listId, class: "bs-select__listbox", role: "listbox", "aria-labelledby": this.label ? labelId : undefined, "aria-label": this.label ? undefined : this.ariaLabel, hidden: !this.open, ref: el => (this.listEl = el), onMouseDown: (ev) => ev.preventDefault() }, this.options.map((o, i) => (h("li", { part: "option", id: optId(i), key: o.value, role: "option", "aria-selected": String(o.value === this.value), "aria-disabled": o.disabled ? 'true' : undefined, class: ['bs-select__option', i === this.activeIndex ? 'bs-select__option--active' : '', o.disabled ? 'bs-select__option--disabled' : '', o.value === this.value ? 'bs-select__option--selected' : '']
|
|
210
210
|
.filter(Boolean)
|
|
211
211
|
.join(' '), onClick: () => this.commit(i), onMouseMove: () => !o.disabled && this.activeIndex !== i && (this.activeIndex = i) }, h("span", { class: "bs-select__option-label" }, o.label), o.value === this.value && (h("svg", { class: "bs-select__check", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { d: "M3.5 8.5L6.5 11.5L12.5 4.5", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.error ? (h("span", { id: msgId, part: "error", class: "bs-select__error" }, this.error)) : this.description ? (h("span", { id: msgId, part: "description", class: "bs-select__description" }, this.description)) : null));
|
|
212
212
|
}
|
|
@@ -158,7 +158,7 @@ const BsSessionTimeout = class {
|
|
|
158
158
|
const description = this.description ?? d.description;
|
|
159
159
|
const primary = this.primaryLabel ?? d.primary;
|
|
160
160
|
const secondary = this.secondaryLabel ?? d.secondary;
|
|
161
|
-
return (h("bs-card", { key: '
|
|
161
|
+
return (h("bs-card", { key: '69492b1be5aba242ffdeacd2181a9b4007c97300', part: "container", class: "bs-session-timeout", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { key: 'a7ad5d3d7e58f159efb282ffe0dbfd0a7c2ad120', class: "bs-session-timeout__body" }, !this.hideIcon && (h("bs-icon-tile", { key: '2a813414653c152354dea524d3a605c5945dee84', part: "art", intent: d.intent, size: "lg" }, h("slot", { key: '45b0ff33e36f2d13f9544981eefe9d54f5fff640', name: "icon" }, d.glyph()))), this.renderHeading(heading, description), this.type === 'warning' && this.renderWarning(), this.type === 'warning' && this.savedMessage && (h("p", { key: '1a08b4612f6e4d152445b15f1ace42d039ce2716', part: "saved", class: "bs-session-timeout__saved" }, h(InfoIcon, { key: 'e84a18ce87b52f5bd1a6b8faf233883f005d512b' }), h("span", { key: 'cac0e19552062075cac38780f30f7ccea88dd9b8' }, this.savedMessage))), this.type === 'signed-out' && this.renderAccount(), this.type === 'confirm-identity' && this.renderConfirm(), this.type === 'warning' && (primary || secondary) && (h("div", { key: '927ce76f8956112938619fff025cdb80add48cb7', part: "actions", class: "bs-session-timeout__actions" }, secondary && (h("bs-button", { key: 'a607a2defd1ca2bfaf82dad2c493867bac123be4', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)), primary && (h("bs-button", { key: '88357d0a2238ea9cbdf5cd03db3cc2f28cdcb322', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)))), this.type === 'signed-out' && (primary || secondary) && (h("div", { key: '4e7dc325d82fd193386ee1fe13afaef9308ceb2f', part: "actions", class: "bs-session-timeout__actions bs-session-timeout__actions--stacked" }, primary && (h("bs-button", { key: '8739ade10f09e0503a4d1d6dfc284cf23ae43e5d', part: "primary", class: "bs-session-timeout__block-button", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: '0b1304b18ee010519fbb5e911c52ac64379ecbcc', part: "secondary", class: "bs-session-timeout__text-button", variant: "subtle", size: "lg", onClick: () => this.bsSecondary.emit() }, secondary)))), h("div", { key: '973d818d379dbcf34216fd8b5e6bcb1a5cfec5e5', class: "bs-session-timeout__sr-only", role: "status", "aria-live": "polite" }, this.announcement))));
|
|
162
162
|
}
|
|
163
163
|
static get watchers() { return {
|
|
164
164
|
"countdown": [{
|
|
@@ -17,7 +17,7 @@ const BsShortcutRow = class {
|
|
|
17
17
|
/** Set by the parent list (`"listitem"`). Standalone rows have no role. */
|
|
18
18
|
selectionRole = null;
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: 'd3956a19e61cf2de661506b116c160b5a968c139', part: "container", class: "bs-shortcut-row", role: this.selectionRole ?? undefined, "aria-disabled": this.disabled ? 'true' : undefined }, h("span", { key: '4f1358b1536d313397b8dc9697d13bdaca77971f', part: "action", class: "bs-shortcut-row__action" }, h("slot", { key: 'd45777d253c65e03a9705dfe8b2f709e0b864918' }, this.action)), h("span", { key: '19f1f4f506b06ef59a8b0d0e65d56d4262cccdef', part: "keys", class: "bs-shortcut-row__keys" }, h("slot", { key: 'c5e1e282de5dad7dfebb242493de0fc5dc4213fe', name: "keys" }, h("bs-key-caps", { key: 'fc8618b576cba9973305e56704ad5ee31131d353', keys: this.keys, label: this.label, disabled: this.disabled })))));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
BsShortcutRow.style = bsShortcutRowCss();
|
|
@@ -41,7 +41,7 @@ const BsSkipLink = class {
|
|
|
41
41
|
target.focus();
|
|
42
42
|
};
|
|
43
43
|
render() {
|
|
44
|
-
return (h("a", { key: '
|
|
44
|
+
return (h("a", { key: '62bea478a5a3568d18116406133c737eda387796', part: "link", class: "bs-skip-link", href: this.href, onClick: this.onClick }, h("slot", { key: 'ff567267fb5b12c630ece1064af6d0fc1175c44a' }, "Skip to main content")));
|
|
45
45
|
}
|
|
46
46
|
static get delegatesFocus() { return true; }
|
|
47
47
|
};
|
|
@@ -221,7 +221,7 @@ const BsSlider = class {
|
|
|
221
221
|
render() {
|
|
222
222
|
const isRange = this.type === 'range';
|
|
223
223
|
const rootClasses = ['bs-slider', this.disabled ? 'bs-slider--disabled' : ''].filter(Boolean).join(' ');
|
|
224
|
-
return (h("div", { key: '
|
|
224
|
+
return (h("div", { key: '84aea3221c41e19ffa310a2d17c0385ea11041df', class: rootClasses, "aria-disabled": this.disabled ? 'true' : undefined }, this.showLabel && (h("div", { key: 'f26d63ea2bbd9e47b7c30c9ee03cdeff6f7280b8', class: "bs-slider__header" }, h("span", { key: 'df0996ae3e6a3548f7b6da584179f118b4eb4da9', id: "bs-slider-label", part: "label", class: "bs-slider__label" }, this.label), isRange ? (h("span", { class: "bs-slider__value-fields" }, this.renderPercentField(this.percent(this.effectiveValueStart), this.onStartPercentFieldChange, this.ariaLabel ?? this.startValueLabel), h("span", { class: "bs-slider__separator" }, "\u2013"), this.renderPercentField(this.percent(this.effectiveValueEnd), this.onEndPercentFieldChange, this.ariaLabel ? `${this.ariaLabel} end` : this.endValueLabel))) : (this.renderPercentField(this.percent(this.value), this.onPercentFieldChange, this.ariaLabel ? `${this.ariaLabel} value` : 'Value')))), h("div", { key: '6f96cd1cde58d5c6988b7271fc5d6fdfa133b29a', class: "bs-slider__row" }, this.showLabel && (h("span", { key: '34204ca12f519b9be931cf54a96f3da8756d5430', part: "bound", class: "bs-slider__bound" }, this.min)), isRange ? this.renderRangeThumbs() : this.renderSingleThumb(), this.showLabel && (h("span", { key: 'ff16e9ed98447d8211a5a5d22749ec801cabebd4', part: "bound", class: "bs-slider__bound" }, this.max)))));
|
|
225
225
|
}
|
|
226
226
|
static get delegatesFocus() { return true; }
|
|
227
227
|
static get formAssociated() { return true; }
|
|
@@ -45,7 +45,7 @@ const BsSnackbar = class {
|
|
|
45
45
|
this.bsDismiss.emit();
|
|
46
46
|
};
|
|
47
47
|
render() {
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: '853522bb5eb39a46e30e5ac18fe16ee55755afff', part: "container", class: `bs-snackbar bs-snackbar--${this.variant}`, role: "status", "aria-live": this.variant === 'error' ? 'assertive' : 'polite' }, h("div", { key: '73b6b2cc350a90f32aa143aab3be2b85ba73eeae', class: "bs-snackbar__content" }, h("span", { key: 'f3880db1b2b6eca4661ee5bb3e0c96d1e6da8e6f', part: "icon", class: "bs-snackbar__icon", "aria-hidden": "true" }, this.loading ? h("span", { class: "bs-snackbar__spinner" }) : h(CheckCircleIcon, null)), h("span", { key: 'a56e5d22939edede5949bcf1340d59065fc694b0', part: "message", class: "bs-snackbar__message" }, h("slot", { key: '46357548d5af22e4f72d20a99ba566067c3c1fa0' }))), h("div", { key: '1e2a66b55bd06dc152956004430159a0c2370939', class: "bs-snackbar__actions" }, this.actionLabel && (h("bs-button", { key: '563ead50e48142407812caf3727b4bf290e02b86', part: "action", variant: this.actionVariant ?? ACTION_VARIANT[this.variant], size: "sm", onClick: this.onAction }, this.actionLabel)), !this.hideClose && (h("bs-icon-button", { key: '84506a32eef3551b4fc560d899913e792cdfeba0', part: "close", variant: "subtle", size: "md", ariaLabel: "Dismiss", onClick: this.onDismiss }, h(CloseIcon, { key: '55d3e926776e980e18bf77c08e2912f2424afd41' }))))));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
const CheckCircleIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M8.25 12.75L10.5 15L15.75 9.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { d: "M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
@@ -24,9 +24,9 @@ const BsSourceLink = class {
|
|
|
24
24
|
};
|
|
25
25
|
render() {
|
|
26
26
|
const inner = [
|
|
27
|
-
h("bs-ripple", { key: '
|
|
28
|
-
h("span", { key: '
|
|
29
|
-
h("span", { key: '
|
|
27
|
+
h("bs-ripple", { key: '2a875265b65f749466162d903f923e1433c7d397', part: "ripple" }),
|
|
28
|
+
h("span", { key: '62e74329531e0917670e0d480603692f422c7acc', class: "bs-source-link__left" }, h("span", { key: 'e639ffac289dbc1aed0aa6a2caecb16d326aa11a', class: "bs-source-link__filename-row" }, h("span", { key: 'fe01cfd760152e6bf81fb40d7ec4d77dbbef6ee4', part: "icon", class: "bs-source-link__icon" }, h("slot", { key: '358a3c7acc24b9c4d40bd60d6c076e8047f80023', name: "icon" }, h(FileTextIcon, { key: 'e15554ec81c33fa58dd4d06dbac35f322f890c2b' }))), h("p", { key: '0f90eff6d1999a7512a510d1c07817bc1682f85c', part: "filename", class: "bs-source-link__filename" }, this.fileName)), h("span", { key: 'f510d7ae0610604f09c01fe9e05c7973d5152283', class: "bs-source-link__meta" }, this.sourceName && (h("span", { key: 'de22c00cf119569ed2ed6f7eb483813431214237', part: "source", class: "bs-source-link__source" }, this.sourceName)), this.sourceName && this.version && h("span", { key: '3f8262d1d3b9e8403b58d244fb25e12db353599c', class: "bs-source-link__dot", "aria-hidden": "true" }), this.version && (h("span", { key: '02ab1216020d9cd0de5f02b2b50d1d1c2cf18cb8', part: "version", class: "bs-source-link__version" }, this.version)))),
|
|
29
|
+
h("span", { key: 'eea76db4a9167aa545ef296f82819c04b6f1a21b', part: "arrow", class: "bs-source-link__arrow", "aria-hidden": "true" }, h(ArrowUpRightIcon, { key: 'f9b21efca8e16963e110bf5f35034582fe616034' })),
|
|
30
30
|
];
|
|
31
31
|
return this.href ? (h("a", { class: "bs-source-link", href: this.href, target: this.target, rel: "noopener noreferrer", onClick: this.onClick }, inner)) : (h("button", { type: "button", class: "bs-source-link", onClick: this.onClick }, inner));
|
|
32
32
|
}
|
|
@@ -183,7 +183,7 @@ const BsSplitPane = class {
|
|
|
183
183
|
nodes.push(h("div", { part: "divider", class: { 'bs-split-pane__divider': true, 'bs-split-pane__divider--active': this.draggingIndex === i, 'bs-split-pane__divider--static': !this.resizable }, role: "separator", "aria-orientation": dividerOrientation, "aria-label": this.dividerLabel, "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": this.percentFor(i), tabindex: this.resizable ? 0 : undefined, onPointerDown: this.onPointerDown(i), onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerCancel: this.onPointerUp, onKeyDown: this.onKeyDown(i) }, h("span", { part: "divider-thumb", class: "bs-split-pane__thumb" })));
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
return (h("div", { key: '
|
|
186
|
+
return (h("div", { key: '57afdf0fbed93930a76aae2dab8faddacbc8e6e7', part: "container", class: `bs-split-pane bs-split-pane--${this.orientation}` }, nodes));
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
BsSplitPane.style = bsSplitPaneCss();
|
|
@@ -66,7 +66,7 @@ const BsStack = class {
|
|
|
66
66
|
parts.push(h("slot", { name: `bs-stack-item-${i}`, onSlotchange: this.sync }));
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '4761db31dd50f134e1d8b35775a69ff9a177bcfa', style: { '--bs-stack-gap-token': `var(--bs-spacing-${gap})` } }, h("slot", { key: '5714b01e0b05429fae91067b05143b677db998e8', onSlotchange: this.sync }), parts));
|
|
70
70
|
}
|
|
71
71
|
static get watchers() { return {
|
|
72
72
|
"divider": [{
|
|
@@ -43,7 +43,7 @@ const BsStat = class {
|
|
|
43
43
|
return (h("svg", { part: "trend-icon", class: "bs-stat__trend-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { d: d, stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("bs-card", { key: '
|
|
46
|
+
return (h("bs-card", { key: '6230f6e7164d99fb94e79a37d6301d514bf1c75c', part: "container", class: "bs-stat", surface: this.surface }, h("dl", { key: 'dc1688f2e20f4133c516e7f57ffc5d7b8a4de477', class: "bs-stat__body" }, h("dt", { key: '4772333b022fd6b95655209f7a7775eab653c6e0', class: "bs-stat__head" }, h("span", { key: '7aef50daa2c87b811b1e242753e081416df25b0d', class: { 'bs-stat__icon': true, 'bs-stat__icon--visible': this.hasIcon } }, h("slot", { key: '2ad02c5fffb58d31a4cf4ffb57fd58257fab0280', name: "icon", onSlotchange: (e) => (this.hasIcon = e.target.assignedNodes().length > 0) })), h("span", { key: 'b6b2d089a0b03da7aaad4447dd4291bf916964d3', part: "label", class: "bs-stat__label" }, this.label)), h("dd", { key: '2ccfdbcc3000d8448b2bac965efc23c14fdab5a4', class: "bs-stat__figure" }, h("span", { key: '6f6afb174d960a414fc3f95f862f70d3cd17105a', part: "value", class: "bs-stat__value" }, this.value), this.trend && (h("span", { key: '6887872c440d88f5269f39d65492c54589133d7d', part: "trend", class: `bs-stat__trend bs-stat__trend--${this.intent}` }, this.arrow(), h("span", { key: '0efad11fe74ac272c4f6d8f84cbf77fb45bf44f3', class: "bs-stat__sr" }, this.trendPrefix), this.trendValue && h("span", { key: 'de6eb28c4f20210ad7f9f9f4b2bbc02c5db1af78', class: "bs-stat__trend-value" }, this.trendValue)))), h("dd", { key: 'afc35315402059068afd3caf5bff330e73ab099d', class: { 'bs-stat__extra': true, 'bs-stat__extra--visible': this.hasExtra } }, h("slot", { key: '18280f7d6d2866b76307a1a651c2a21e55fd4c75', onSlotchange: (e) => (this.hasExtra = e.target.assignedNodes().some(n => n.nodeType === 1 || !!n.textContent?.trim())) })))));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
BsStat.style = bsStatCss();
|