@brandsync/wc 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/REFERENCE.md +2 -1
- package/custom-elements.json +136 -4
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-7ee43b50.entry.js → p-018ab194.entry.js} +1 -1
- package/dist/brandsync-wc/{p-faea22be.entry.js → p-020a274b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3937bc23.entry.js → p-0276bca4.entry.js} +1 -1
- package/dist/brandsync-wc/p-03acdd56.entry.js +1 -0
- package/dist/brandsync-wc/{p-f5bbbff2.entry.js → p-06a5fe99.entry.js} +1 -1
- package/dist/brandsync-wc/{p-383c076f.entry.js → p-0a0798c4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b6b880c0.entry.js → p-0b92d0d7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bd37c086.entry.js → p-0be65af0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c700a860.entry.js → p-0ce29fc2.entry.js} +1 -1
- package/dist/brandsync-wc/{p-34dd0976.entry.js → p-1436ae47.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6cf303f1.entry.js → p-181a8372.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2eed5ff2.entry.js → p-1bd3756c.entry.js} +1 -1
- package/dist/brandsync-wc/p-1c2402eb.entry.js +1 -0
- package/dist/brandsync-wc/{p-c1207ce6.entry.js → p-214b32bb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c305bde7.entry.js → p-21a592a4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-64ef4a9f.entry.js → p-23e3bffe.entry.js} +1 -1
- package/dist/brandsync-wc/{p-324f0d11.entry.js → p-284e4e1e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fbd33eb3.entry.js → p-2c167f83.entry.js} +1 -1
- package/dist/brandsync-wc/p-2e2dc322.entry.js +1 -0
- package/dist/brandsync-wc/{p-b3284eca.entry.js → p-37da7465.entry.js} +1 -1
- package/dist/brandsync-wc/{p-56bd821c.entry.js → p-38f4552f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c542d67f.entry.js → p-39afd9b8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-08af052c.entry.js → p-3a13747b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c5fa5d02.entry.js → p-3b3a9587.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1ddcd867.entry.js → p-3de7989e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-189eb922.entry.js → p-43a792a3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cf615c99.entry.js → p-4907f66e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0d3d8b6c.entry.js → p-4a8c2eca.entry.js} +1 -1
- package/dist/brandsync-wc/{p-da934f7b.entry.js → p-4ff5bc4b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2be42af3.entry.js → p-51e9d375.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a30d456d.entry.js → p-5399e163.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2e654764.entry.js → p-55db935b.entry.js} +1 -1
- package/dist/brandsync-wc/p-5f26d601.entry.js +1 -0
- package/dist/brandsync-wc/{p-83ea17b6.entry.js → p-60e4e07a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ea4ea55d.entry.js → p-645e1a78.entry.js} +1 -1
- package/dist/brandsync-wc/{p-05698f65.entry.js → p-682b9f3e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-59ddf12e.entry.js → p-697de2b2.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fc859e89.entry.js → p-6aa3dcef.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9065d825.entry.js → p-6b11aebb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-aea1e4f9.entry.js → p-6d18ba79.entry.js} +1 -1
- package/dist/brandsync-wc/p-6fcfd7d7.entry.js +1 -0
- package/dist/brandsync-wc/{p-4ec0dca9.entry.js → p-71ea6c1c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-205a1ccf.entry.js → p-74dd9146.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b9014d87.entry.js → p-75ec385a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-82c8fde1.entry.js → p-78fdcd05.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b0b73f22.entry.js → p-7a291cfc.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0762a4dd.entry.js → p-7f3c8416.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1187a158.entry.js → p-7f50ae81.entry.js} +1 -1
- package/dist/brandsync-wc/{p-21781ce5.entry.js → p-82533674.entry.js} +1 -1
- package/dist/brandsync-wc/{p-40aeeacf.entry.js → p-83977d40.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5c1ccf35.entry.js → p-851c1498.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cd1adef0.entry.js → p-87b91d38.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1b41823c.entry.js → p-8a85e144.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e56cc6ac.entry.js → p-9301f01e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-dae0348e.entry.js → p-978c46d9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5f96d808.entry.js → p-9988ebab.entry.js} +1 -1
- package/dist/brandsync-wc/p-9a45899c.entry.js +1 -0
- package/dist/brandsync-wc/{p-7c627563.entry.js → p-9bd0c4a7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ab74da02.entry.js → p-9c1ea6f0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-abaab890.entry.js → p-9c353a03.entry.js} +1 -1
- package/dist/brandsync-wc/{p-001f3790.entry.js → p-9d90d3b8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-05a9cbda.entry.js → p-a59b4c08.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4cdb1c8c.entry.js → p-ad53d283.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8a3095d5.entry.js → p-ad9c3eea.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1d2bc5b4.entry.js → p-aeb99b7d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f89d12d7.entry.js → p-b145997c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f0596399.entry.js → p-b6350eab.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fe070433.entry.js → p-b90c8b7d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ac7f9aa0.entry.js → p-b93ce581.entry.js} +1 -1
- package/dist/brandsync-wc/p-ba933f3b.entry.js +1 -0
- package/dist/brandsync-wc/{p-dd8f593a.entry.js → p-bb1b2350.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8560fb54.entry.js → p-bcb09ba4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9ca0d2db.entry.js → p-bde099fb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-237f583d.entry.js → p-bf8da1b5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5e3fcc47.entry.js → p-c36f68a2.entry.js} +1 -1
- package/dist/brandsync-wc/{p-023dae02.entry.js → p-c4026551.entry.js} +1 -1
- package/dist/brandsync-wc/{p-513fa325.entry.js → p-c7c3c4ae.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3592e6f3.entry.js → p-ca71e180.entry.js} +1 -1
- package/dist/brandsync-wc/p-cc664465.entry.js +1 -0
- package/dist/brandsync-wc/{p-953d0191.entry.js → p-ce3a762e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7cdcf7e7.entry.js → p-d38394ce.entry.js} +1 -1
- package/dist/brandsync-wc/{p-171db2b0.entry.js → p-d4caa814.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1cf40f44.entry.js → p-d8dd2230.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bc489296.entry.js → p-da091255.entry.js} +1 -1
- package/dist/brandsync-wc/{p-eb8da874.entry.js → p-dd7bb223.entry.js} +1 -1
- package/dist/brandsync-wc/{p-44c7fa4a.entry.js → p-e0d47019.entry.js} +1 -1
- package/dist/brandsync-wc/{p-eadbc160.entry.js → p-e8fe79bc.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ffeea95f.entry.js → p-e90e4991.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5cd95a12.entry.js → p-ee4f3b3d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cf297373.entry.js → p-f43615f7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-64fbd43a.entry.js → p-fca95aae.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 +25 -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-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.stories.js +25 -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 +30 -0
- 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 +7 -0
- 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.js +2 -2
- package/dist/collection/components/bs-composer/bs-composer.js +1 -1
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
- package/dist/collection/components/bs-container/bs-container.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.cmp.test.js +9 -0
- package/dist/collection/components/bs-data-table/bs-data-table.js +24 -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.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.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 +14 -0
- 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-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.js +1 -1
- 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/bs-progress.stories.js +6 -3
- 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 +7 -5
- 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-radio-group/bs-radio-group.stories.js +15 -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-select/bs-select.stories.js +21 -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.cmp.test.js +8 -0
- package/dist/collection/components/bs-split-pane/bs-split-pane.js +26 -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-switch/bs-switch.stories.js +33 -9
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.stories.js +19 -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 +6 -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.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 +1 -1
- 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 +33 -3
- 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-whats-new-entry/bs-whats-new-entry.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-B1Id2OKX.js → p--3dR13A5.js} +1 -1
- package/dist/components/{p-CJw83LkA.js → p-5OSJi5Hq.js} +1 -1
- package/dist/components/{p-Bn3Yxpe1.js → p-5yADpXI0.js} +1 -1
- package/dist/components/p-B1pqQBKC.js +1 -0
- package/dist/components/{p-i5Q__opK.js → p-B6bXreGu.js} +1 -1
- package/dist/components/{p-BabS3w3f.js → p-BDqzHL7T.js} +1 -1
- package/dist/components/{p-DY2EHN4U.js → p-BSaspygR.js} +1 -1
- package/dist/components/{p-CGFmvCoE.js → p-BYZ1TxxS.js} +1 -1
- package/dist/components/{p-BVX8P6fl.js → p-BenlMTiB.js} +1 -1
- package/dist/components/{p-BFv-3K2u.js → p-BkzRLgh4.js} +1 -1
- package/dist/components/{p-CWcci6TX.js → p-BpD6hqIE.js} +1 -1
- package/dist/components/{p-CvaS1abm.js → p-Bu47NRjs.js} +1 -1
- package/dist/components/{p-C7Qr4akd.js → p-C4NrLy_y.js} +1 -1
- package/dist/components/{p-AlcZrDeY.js → p-CA1qkJ9m.js} +1 -1
- package/dist/components/{p-C0RV5-An.js → p-CMhON6jB.js} +1 -1
- package/dist/components/{p-CFjeYXmC.js → p-Cau06t9C.js} +1 -1
- package/dist/components/{p-Bm1A449h.js → p-D9TQ0LLX.js} +1 -1
- package/dist/components/{p-DrlNm0Cv.js → p-DJqNdSU4.js} +1 -1
- package/dist/components/{p-hfcWxH0R.js → p-DLGXRivO.js} +1 -1
- package/dist/components/{p-bsKorXp2.js → p-DPIDWFCa.js} +1 -1
- package/dist/components/{p-C7IrV6pt.js → p-DQY3n0nR.js} +1 -1
- package/dist/components/{p-BanNal67.js → p-DfYJCczy.js} +1 -1
- package/dist/components/p-DoCH1kV9.js +1 -0
- package/dist/components/p-DpMqdknQ.js +1 -0
- package/dist/components/p-Dsyt34TD.js +1 -0
- package/dist/components/{p--AN2lu8b.js → p-Dx10cRTc.js} +1 -1
- package/dist/components/p-EQrsaDKp.js +1 -0
- package/dist/components/{p-BPxT7mqc.js → p-ESiaIgGU.js} +1 -1
- package/dist/components/p-OhKj-S2c.js +1 -0
- package/dist/components/{p-CrSwhBz7.js → p-TRtv6fbe.js} +1 -1
- package/dist/components/{p-B-gdXga9.js → p-_oStzQSx.js} +1 -1
- package/dist/components/{p-oc6e6_D0.js → p-bOSY8sKI.js} +1 -1
- package/dist/components/{p-Cm-s0vin.js → p-hjzkd-La.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 -1
- 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-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-CkQ7TJdL.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
|
@@ -223,7 +223,7 @@ const BsSlider = class {
|
|
|
223
223
|
render() {
|
|
224
224
|
const isRange = this.type === 'range';
|
|
225
225
|
const rootClasses = ['bs-slider', this.disabled ? 'bs-slider--disabled' : ''].filter(Boolean).join(' ');
|
|
226
|
-
return (index.h("div", { key: '
|
|
226
|
+
return (index.h("div", { key: '453a65b49b780806ed2d9a1ead9a8d6a2934f7d5', class: rootClasses, "aria-disabled": this.disabled ? 'true' : undefined }, this.showLabel && (index.h("div", { key: 'add1883ea1990fec07b3b50c3a910dc7c38f9ffd', class: "bs-slider__header" }, index.h("span", { key: 'b85fcbb0798aac73a8ae003abe68fa42e2fe905d', id: "bs-slider-label", part: "label", class: "bs-slider__label" }, this.label), isRange ? (index.h("span", { class: "bs-slider__value-fields" }, this.renderPercentField(this.percent(this.effectiveValueStart), this.onStartPercentFieldChange, this.ariaLabel ?? this.startValueLabel), index.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')))), index.h("div", { key: '528e5766856c1cddb4379089cf206c500171e381', class: "bs-slider__row" }, this.showLabel && (index.h("span", { key: '17db3029eed38bb3759f6307f08f16bb477ff14c', part: "bound", class: "bs-slider__bound" }, this.min)), isRange ? this.renderRangeThumbs() : this.renderSingleThumb(), this.showLabel && (index.h("span", { key: 'bc80bd2268e3faf4bc2abbd62337f5fb88fe0700', part: "bound", class: "bs-slider__bound" }, this.max)))));
|
|
227
227
|
}
|
|
228
228
|
static get delegatesFocus() { return true; }
|
|
229
229
|
static get formAssociated() { return true; }
|
|
@@ -47,7 +47,7 @@ const BsSnackbar = class {
|
|
|
47
47
|
this.bsDismiss.emit();
|
|
48
48
|
};
|
|
49
49
|
render() {
|
|
50
|
-
return (index.h("div", { key: '
|
|
50
|
+
return (index.h("div", { key: 'd5766c577a0f6ca53c1d26406888d79140400133', part: "container", class: `bs-snackbar bs-snackbar--${this.variant}`, role: "status", "aria-live": this.variant === 'error' ? 'assertive' : 'polite' }, index.h("div", { key: 'd42f65e798ccdf73da5a01e297b67794daa1101c', class: "bs-snackbar__content" }, index.h("span", { key: '50eb509bdfbc800e18c705ac9bbfb5868180dd87', part: "icon", class: "bs-snackbar__icon", "aria-hidden": "true" }, this.loading ? index.h("span", { class: "bs-snackbar__spinner" }) : index.h(CheckCircleIcon, null)), index.h("span", { key: '546badfb1dfffcc51736b20991cc0629e450e244', part: "message", class: "bs-snackbar__message" }, index.h("slot", { key: 'd7d91d944100ea1beb5a8693506db34a293e0594' }))), index.h("div", { key: 'fbcf2cda2619546ae1b8a5b771f05e32326690b6', class: "bs-snackbar__actions" }, this.actionLabel && (index.h("bs-button", { key: '41b81763fc38ff533cb3729d90bbd6855a378baa', part: "action", variant: this.actionVariant ?? ACTION_VARIANT[this.variant], size: "sm", onClick: this.onAction }, this.actionLabel)), !this.hideClose && (index.h("bs-icon-button", { key: '1d7adc41ceeaabb43340089db37fa273ed411535', part: "close", variant: "subtle", size: "md", ariaLabel: "Dismiss", onClick: this.onDismiss }, index.h(CloseIcon, { key: 'f93ef4c3b53a1eb00a80d3c52c66cc213067ec55' }))))));
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
const CheckCircleIcon = () => (index.h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("path", { d: "M8.25 12.75L10.5 15L15.75 9.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.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" })));
|
|
@@ -26,9 +26,9 @@ const BsSourceLink = class {
|
|
|
26
26
|
};
|
|
27
27
|
render() {
|
|
28
28
|
const inner = [
|
|
29
|
-
index.h("bs-ripple", { key: '
|
|
30
|
-
index.h("span", { key: '
|
|
31
|
-
index.h("span", { key: '
|
|
29
|
+
index.h("bs-ripple", { key: '64724c67ba2ef27787a2e85bb1084ef1f3c6a916', part: "ripple" }),
|
|
30
|
+
index.h("span", { key: 'd8fefb50b0740a65cac0fb918672b1593d07a716', class: "bs-source-link__left" }, index.h("span", { key: 'f5cf73cbf855bca76a5dd476013cfbd4fd13b77b', class: "bs-source-link__filename-row" }, index.h("span", { key: 'e204449475ce6d95a3ce0346cb3e92578f8bf155', part: "icon", class: "bs-source-link__icon" }, index.h("slot", { key: 'f19c4375744c58f9ac87cdd74016b6b0a21d1acb', name: "icon" }, index.h(FileTextIcon, { key: '75a6c2bc7b228c6dca2dcb4d27739d8cbb3dca1a' }))), index.h("p", { key: 'e8cf5752fad06b84310093f6de56a101226ddb52', part: "filename", class: "bs-source-link__filename" }, this.fileName)), index.h("span", { key: 'b9c631fe47d4bd480d231cc33de98064c14b525e', class: "bs-source-link__meta" }, this.sourceName && (index.h("span", { key: '705510aa4dd8567a3d1a2136842c04c4f4776393', part: "source", class: "bs-source-link__source" }, this.sourceName)), this.sourceName && this.version && index.h("span", { key: '362b50a97cc2de79c89058c607862703c29c347a', class: "bs-source-link__dot", "aria-hidden": "true" }), this.version && (index.h("span", { key: '7c628efdff57c8a95c5ff0f74409e485f2efc286', part: "version", class: "bs-source-link__version" }, this.version)))),
|
|
31
|
+
index.h("span", { key: '9fe18a62a7a49d4a68c120e7972299dbde6b22dd', part: "arrow", class: "bs-source-link__arrow", "aria-hidden": "true" }, index.h(ArrowUpRightIcon, { key: 'd637cfe57cf0501f521c94d42df8fb587fdfd85f' })),
|
|
32
32
|
];
|
|
33
33
|
return this.href ? (index.h("a", { class: "bs-source-link", href: this.href, target: this.target, rel: "noopener noreferrer", onClick: this.onClick }, inner)) : (index.h("button", { type: "button", class: "bs-source-link", onClick: this.onClick }, inner));
|
|
34
34
|
}
|
|
@@ -31,6 +31,7 @@ const BsSplitPane = class {
|
|
|
31
31
|
sizes = [];
|
|
32
32
|
draggingIndex = -1;
|
|
33
33
|
observer;
|
|
34
|
+
sizeObserver;
|
|
34
35
|
dragStart;
|
|
35
36
|
/** Toggles `collapsed` and emits `bsCollapsedChange`. */
|
|
36
37
|
async toggleCollapsed() {
|
|
@@ -46,7 +47,31 @@ const BsSplitPane = class {
|
|
|
46
47
|
}
|
|
47
48
|
disconnectedCallback() {
|
|
48
49
|
this.observer?.disconnect();
|
|
49
|
-
|
|
50
|
+
this.sizeObserver?.disconnect();
|
|
51
|
+
}
|
|
52
|
+
componentDidRender() {
|
|
53
|
+
// Re-observe after every render: panes come and go with `paneCount`, and a pane's slotted content
|
|
54
|
+
// is what grows past it, so watch both.
|
|
55
|
+
this.sizeObserver?.disconnect();
|
|
56
|
+
this.sizeObserver = new ResizeObserver(this.updateScrollable);
|
|
57
|
+
this.el.shadowRoot?.querySelectorAll('.bs-split-pane__pane').forEach(pane => {
|
|
58
|
+
this.sizeObserver.observe(pane);
|
|
59
|
+
pane.querySelector('slot')?.assignedElements().forEach(child => this.sizeObserver.observe(child));
|
|
60
|
+
});
|
|
61
|
+
this.updateScrollable();
|
|
62
|
+
}
|
|
63
|
+
// A scrollable region must be keyboard-reachable, so a pane whose content overflows gets tabindex=0.
|
|
64
|
+
// Written straight to the DOM (not via render state) so it is in place as soon as the first render
|
|
65
|
+
// finishes, rather than a re-render later. Stencil leaves attributes it doesn't manage alone.
|
|
66
|
+
updateScrollable = () => {
|
|
67
|
+
this.el.shadowRoot?.querySelectorAll('.bs-split-pane__pane').forEach(pane => {
|
|
68
|
+
const overflows = pane.scrollHeight > pane.clientHeight + 1 || pane.scrollWidth > pane.clientWidth + 1;
|
|
69
|
+
if (overflows)
|
|
70
|
+
pane.setAttribute('tabindex', '0');
|
|
71
|
+
else
|
|
72
|
+
pane.removeAttribute('tabindex');
|
|
73
|
+
});
|
|
74
|
+
};
|
|
50
75
|
countPanes() {
|
|
51
76
|
let count = 1;
|
|
52
77
|
for (let i = 1; i <= MAX_PANES; i++) {
|
|
@@ -185,7 +210,7 @@ const BsSplitPane = class {
|
|
|
185
210
|
nodes.push(index.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) }, index.h("span", { part: "divider-thumb", class: "bs-split-pane__thumb" })));
|
|
186
211
|
}
|
|
187
212
|
}
|
|
188
|
-
return (index.h("div", { key: '
|
|
213
|
+
return (index.h("div", { key: '59361ae67d4d5c41c55be27500f43b6cea70ce8c', part: "container", class: `bs-split-pane bs-split-pane--${this.orientation}` }, nodes));
|
|
189
214
|
}
|
|
190
215
|
};
|
|
191
216
|
BsSplitPane.style = bsSplitPaneCss();
|
|
@@ -68,7 +68,7 @@ const BsStack = class {
|
|
|
68
68
|
parts.push(index.h("slot", { name: `bs-stack-item-${i}`, onSlotchange: this.sync }));
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
return (index.h(index.Host, { key: '
|
|
71
|
+
return (index.h(index.Host, { key: '8fa4ffade10cbe8f2bc0288f9f075df45067ab21', style: { '--bs-stack-gap-token': `var(--bs-spacing-${gap})` } }, index.h("slot", { key: 'f6f49b162fbbd0d6ca052781aa94ebff370e9df7', onSlotchange: this.sync }), parts));
|
|
72
72
|
}
|
|
73
73
|
static get watchers() { return {
|
|
74
74
|
"divider": [{
|
|
@@ -45,7 +45,7 @@ const BsStat = class {
|
|
|
45
45
|
return (index.h("svg", { part: "trend-icon", class: "bs-stat__trend-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("path", { d: d, stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (index.h("bs-card", { key: '
|
|
48
|
+
return (index.h("bs-card", { key: '5f6b9075f385608f80e241fa098ec2b7c41e0e68', part: "container", class: "bs-stat", surface: this.surface }, index.h("dl", { key: '0cf96c923a21917d2d3896e63da754d385fabbce', class: "bs-stat__body" }, index.h("dt", { key: '5c91ee3aa9976c7c2389723b87566e7f1890ec6b', class: "bs-stat__head" }, index.h("span", { key: 'c7c6552c10e951f6ebf13ee5bd77500a2f3d2fae', class: { 'bs-stat__icon': true, 'bs-stat__icon--visible': this.hasIcon } }, index.h("slot", { key: '0273ec7aec05787bb319e914fbcabee6a80e7468', name: "icon", onSlotchange: (e) => (this.hasIcon = e.target.assignedNodes().length > 0) })), index.h("span", { key: 'a21e688823f26c01ee444dd57fd502a9505557be', part: "label", class: "bs-stat__label" }, this.label)), index.h("dd", { key: '246ec9052be7f754776eb60f49dd012ebe350200', class: "bs-stat__figure" }, index.h("span", { key: '8bb7924706fcf3bf22dc0ce4bb8c5d213693b17c', part: "value", class: "bs-stat__value" }, this.value), this.trend && (index.h("span", { key: 'b335cc04264ac21d217c6bcb16032cecbcde70cb', part: "trend", class: `bs-stat__trend bs-stat__trend--${this.intent}` }, this.arrow(), index.h("span", { key: 'a850986d7f5b920b603f70cef688cf2e00647527', class: "bs-stat__sr" }, this.trendPrefix), this.trendValue && index.h("span", { key: '85228d88fe1d96ff94d712a94f448b135a571edd', class: "bs-stat__trend-value" }, this.trendValue)))), index.h("dd", { key: '0c2eebe7c40245de0090345e2884c8b2dcbcd1b9', class: { 'bs-stat__extra': true, 'bs-stat__extra--visible': this.hasExtra } }, index.h("slot", { key: '75723e31ac5595c062ef8661afd8b42dc7dc6a5c', onSlotchange: (e) => (this.hasExtra = e.target.assignedNodes().some(n => n.nodeType === 1 || !!n.textContent?.trim())) })))));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
BsStat.style = bsStatCss();
|
|
@@ -34,7 +34,7 @@ const BsStepperStep = class {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
const state = this.state;
|
|
37
|
-
return (index.h(index.Host, { key: '
|
|
37
|
+
return (index.h(index.Host, { key: 'b585c4ce677e7600da944ef54bc2392b1de0ff0e', role: "listitem", class: `bs-stepper-step--${this.direction}`, "aria-disabled": state === 'disabled' ? 'true' : undefined }, index.h("div", { key: '29e40d651026a757eb042a6421704ed0b32d9e31', class: "bs-stepper-step__top" }, index.h("span", { key: 'cb033a3ebb0bab094faa03088bb9ed3e99b7b3d2', part: "icon", class: `bs-stepper-step__icon bs-stepper-step__icon--${state}` }, state === 'current' && index.h("span", { key: '3be9f56a6541d903d0c0d7e36a837c31ee3e99ab', class: "bs-stepper-step__icon-dot" }), state === 'done' && index.h(CheckIcon, { key: 'd9d704f3c03d4e98be52aca9378e4662dc916990' }), state === 'error' && index.h(ExclamationIcon, { key: 'b20da59b195ec4e7914c92218520070f1fbda2cb' })), index.h("span", { key: 'a2a3c05a900a84e4038995d19ecedfdba8e2ff81', part: "connector", class: "bs-stepper-step__connector", "aria-hidden": "true" }, index.h("span", { key: '57ae3b403b2ae8e626afbd23dd2127a700fa75f0', class: "bs-stepper-step__connector-line" }))), index.h("span", { key: '742d48ec8606bb7012377d3331c604d1b77a2618', part: "label", class: `bs-stepper-step__label bs-stepper-step__label--${state}` }, index.h("span", { key: '6b1e4fa784433c33a2674dab2998b5ff20b40e82', part: "name", class: "bs-stepper-step__name" }, this.name), this.showDescription && this.description && (index.h("span", { key: 'ab56d0905142ee0f29ae37280f74aea0a133b438', part: "description", class: "bs-stepper-step__description" }, this.description)))));
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
const CheckIcon = () => (index.h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("path", { d: "M2.5 9L6 12.5L14 4.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
@@ -44,7 +44,7 @@ const BsStepper = class {
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
// role="list" so each bs-stepper-step's role="listitem" has the required parent.
|
|
47
|
-
return (index.h(index.Host, { key: '
|
|
47
|
+
return (index.h(index.Host, { key: '4848554ab39b7722394d94da0125940d78e3d68a', role: "list" }, index.h("slot", { key: '665709822f40bf4c3105cbcbbf7d795527c6472f', onSlotchange: this.onSlotChange })));
|
|
48
48
|
}
|
|
49
49
|
static get watchers() { return {
|
|
50
50
|
"currentStep": [{
|
|
@@ -65,7 +65,7 @@ const BsSwitch = class {
|
|
|
65
65
|
.filter(Boolean)
|
|
66
66
|
.join(' ');
|
|
67
67
|
const knobClasses = ['bs-switch__knob', `bs-switch__knob--${this.size}`, this.disabled ? 'bs-switch__knob--disabled' : ''].filter(Boolean).join(' ');
|
|
68
|
-
return (index.h("label", { key: '
|
|
68
|
+
return (index.h("label", { key: '980c1ae91a474119f5f80e334333aeeec7f9ca9a', class: `bs-switch ${this.disabled ? 'bs-switch--disabled' : ''}` }, index.h("input", { key: '39dadbfc6e242947268cca62b5a220662fd1f509', class: "bs-switch__input", type: "checkbox", role: "switch", checked: this.checked, disabled: this.disabled, "aria-checked": String(this.checked), "aria-label": this.ariaLabel, onChange: this.onChange }), index.h("span", { key: '604d30b69702c27dff09af51c3700fdfb2aed5b5', part: "track", class: trackClasses }, index.h("span", { key: '6c7fcc721db39058e95e39dad5ee5f85cbda3ecc', part: "knob", class: knobClasses }, index.h("bs-ripple", { key: '2016d5a40eb077b6e37ab9a65b46fa1bce61e861', part: "ripple", class: "bs-switch__ripple", centered: true, triggerSelector: ".bs-switch", disabled: this.disabled }))), index.h("span", { key: 'c2fde21c14553f82dadba7013aad090ad3af67a9', part: "label", class: "bs-switch__label" }, index.h("slot", { key: 'a26df0fb49ded9f531292dbc21918f34a33e1ab6' }))));
|
|
69
69
|
}
|
|
70
70
|
static get delegatesFocus() { return true; }
|
|
71
71
|
static get formAssociated() { return true; }
|
|
@@ -80,7 +80,7 @@ const BsTab = class {
|
|
|
80
80
|
const iconOnly = this.hasIcon && !this.hasLabel;
|
|
81
81
|
const vertical = this.hasIcon && this.hasLabel && this.iconPosition === 'top';
|
|
82
82
|
const showBadge = this.hasBadge && !iconOnly && !vertical;
|
|
83
|
-
return (index.h("button", { key: '
|
|
83
|
+
return (index.h("button", { key: 'a74abcd56b3dbe37c84543b6f9c7ffca1e5519d6', type: "button", part: "tab", role: "tab", class: `bs-tab ${this.selected ? 'bs-tab--selected' : ''} ${this.disabled ? 'bs-tab--disabled' : ''} ${iconOnly ? 'bs-tab--icon-only' : ''} ${vertical ? 'bs-tab--vertical' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, index.h("bs-ripple", { key: 'c0d7e7a0612ca60facde0d07345406148d43dd89', part: "ripple", centered: false, disabled: this.disabled }), index.h("span", { key: '0decf034c01ec42325d55e071405c2ab9d84180e', part: "icon", class: `bs-tab__icon ${this.hasIcon ? 'bs-tab__icon--has-content' : ''}` }, index.h("slot", { key: '9bfad6e083a8df7afde382e6db551b0d59201f82', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: 'd9376434f2c2780dcc4f7f0fba92bec00bc8b31c', part: "label", class: `bs-tab__label ${this.hasLabel ? 'bs-tab__label--has-content' : ''}` }, index.h("slot", { key: '6be3d55acf8e2da19d32f2c821d2f2d956cb0e0c', onSlotchange: this.onLabelSlotchange })), index.h("span", { key: '9fc2c317d7dcd5fc66225b56619105897c974bf6', part: "badge", class: `bs-tab__badge ${showBadge ? 'bs-tab__badge--has-content' : ''}` }, index.h("slot", { key: '6174f294d93d4102f21dbff094d505b7e929cae9', name: "badge", onSlotchange: this.onBadgeSlotchange })), index.h("span", { key: '0723083e4b00d00111b0f0cade36de63b805185d', part: "indicator", class: "bs-tab__indicator" })));
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
BsTab.style = bsTabCss();
|
|
@@ -207,7 +207,7 @@ const BsTabs = class {
|
|
|
207
207
|
}
|
|
208
208
|
render() {
|
|
209
209
|
const vertical = this.orientation === 'vertical';
|
|
210
|
-
return (index.h("div", { key: '
|
|
210
|
+
return (index.h("div", { key: 'a48d2ee16e78ca21fce532f10c009d092d889dbb', part: "tablist", role: "tablist", "aria-orientation": this.orientation, class: `bs-tabs bs-tabs--${this.type} ${vertical ? 'bs-tabs--vertical' : ''}` }, index.h("slot", { key: 'd4a32f7486fdc2c86bbf6cdd9f5bb79197878d9b', onSlotchange: () => this.syncRovingTabindex() })));
|
|
211
211
|
}
|
|
212
212
|
static get watchers() { return {
|
|
213
213
|
"value": [{
|
|
@@ -252,7 +252,7 @@ const BsWhatsNewEntry = class {
|
|
|
252
252
|
hasImage = false;
|
|
253
253
|
render() {
|
|
254
254
|
const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 3));
|
|
255
|
-
return (index.h("div", { key: '
|
|
255
|
+
return (index.h("div", { key: '9588791a73ea1dc3dd59f255127022bc8e7ca84f', class: "bs-whats-new-entry" }, (this.tag || this.date || this.unread) && (index.h("div", { key: 'ef7933c404e9369fa575bba61c93b9c6d0fc137f', part: "meta", class: "bs-whats-new-entry__meta" }, this.tag && (index.h("bs-chip-informative", { key: 'e14464ce12f087fe6e7cc9c22c1ca0cde6f13d87', part: "tag", size: "sm", color: this.tagColor }, this.tag)), this.date && (index.h("span", { key: '1fa80cbc1f289ddd570622dd4e888ccff056280e', part: "date", class: "bs-whats-new-entry__date" }, this.date)), this.unread && (index.h("span", { key: '2375dddb04e4cf90c6ae0f39cf43dcb53f7e2916', part: "unread", class: "bs-whats-new-entry__unread" }, index.h("span", { key: 'c71150186bfe44d01f32736c21ea0b381d01874a', class: "bs-whats-new-entry__sr-only" }, this.unreadLabel))))), index.h("div", { key: '59fe2922cdae6e40b8f14f4507977c9f763d24b4', part: "image", class: { 'bs-whats-new-entry__image': true, 'bs-whats-new-entry__image--visible': this.hasImage } }, index.h("slot", { key: '3f7be28fa279ee63967012cc50a74390a0d2854e', name: "image", onSlotchange: (ev) => (this.hasImage = ev.target.assignedNodes().length > 0) })), index.h("div", { key: '8e5c05f312216a68fc48fba7dd92271c443e2a65', class: "bs-whats-new-entry__content" }, this.heading && index.h(`h${level}`, { part: 'heading', class: { 'bs-whats-new-entry__heading': true } }, this.heading), this.description && (index.h("p", { key: '5699f4c1088fa2aab962cb4f966dc2ed0f45f067', part: "description", class: "bs-whats-new-entry__description" }, this.description)), this.actionLabel && (index.h("bs-button", { key: 'a003e06ec25ac21075d77050fdc0a072717688f0', part: "action", class: "bs-whats-new-entry__action", variant: "subtle", size: "sm", onClick: () => this.bsAction.emit() }, this.actionLabel, index.h("svg", { key: '487886a08b44220904edced24176aea518e8d284', slot: "end-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, index.h("path", { key: '10c8b2f40b39386f9f06a1b91a6e6d0f4a5006c9', d: "M5 12H19" }), index.h("path", { key: '30bffa1e6b136e035d57ad1d539b6d53ee03ef2a', d: "M13 6L19 12L13 18" }))))), this.divider && index.h("div", { key: '7cb0b59588e494d376a631138b5d077b3e6aaaa3', part: "divider", class: "bs-whats-new-entry__divider" })));
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
BsWhatsNewEntry.style = bsWhatsNewEntryCss();
|
|
@@ -152,7 +152,7 @@ const BsTableOfContents = class {
|
|
|
152
152
|
}
|
|
153
153
|
render() {
|
|
154
154
|
const nodes = this.tree();
|
|
155
|
-
return (index.h("nav", { key: '
|
|
155
|
+
return (index.h("nav", { key: 'd804da8cde3c5e97f62ce8c9d7bfba30d6a493b0', part: "container", class: "bs-toc", "aria-label": this.label }, !this.hideTitle && (index.h("p", { key: 'f797d4a7cb59639cede25a91b5ad3074dda98774', part: "title", id: this.titleId, class: "bs-toc__title" }, this.label)), nodes.length > 0 && this.renderList(nodes, 1), index.h("slot", { key: '06732b5cf28a816e4a504b3f64a699ec29c2697c', onSlotchange: this.readSlotted })));
|
|
156
156
|
}
|
|
157
157
|
static get watchers() { return {
|
|
158
158
|
"items": [{
|
|
@@ -42,8 +42,8 @@ const BsTag = class {
|
|
|
42
42
|
};
|
|
43
43
|
render() {
|
|
44
44
|
const rel = this.href && this.target === '_blank' ? 'noopener noreferrer' : undefined;
|
|
45
|
-
const label = index.h("slot", { key: '
|
|
46
|
-
return (index.h(index.Host, { key: '
|
|
45
|
+
const label = index.h("slot", { key: '9f9ee0444b576ad3e258c942222580112acf9278', onSlotchange: () => (this.labelText = this.readLabel()) });
|
|
46
|
+
return (index.h(index.Host, { key: '0e7e0b30816237f8b1ff4e188989bf5494ebe5b2' }, index.h("span", { key: '71a97a157c57a9e4bae9f2606f8670913d92f1e2', part: "container", class: { 'bs-tag': true, 'bs-tag--removable': this.removable } }, index.h("span", { key: '870efd02cc59cc348465aee33f1232660353cc25', part: "icon", class: { 'bs-tag__icon': true, 'bs-tag__icon--visible': this.hasIcon } }, index.h("slot", { key: '6b44752833f018db3b2c4efe72fab6db9742e017', name: "icon", onSlotchange: (e) => (this.hasIcon = e.target.assignedNodes().length > 0) })), this.href ? (index.h("a", { part: "label", class: "bs-tag__label bs-tag__label--link", href: this.href, target: this.target, rel: rel }, label)) : (index.h("span", { part: "label", class: "bs-tag__label" }, label)), this.removable && (index.h("bs-icon-button", { key: '4cf3c5b4f886806d56fbfe453221130186ac9130', part: "remove", class: "bs-tag__remove", size: "xs", variant: "subtle", ariaLabel: `${this.removeLabel} ${this.labelText}`.trim(), onClick: this.onRemove }, index.h("svg", { key: '0c3313fdfd20098b98f9d864ac3143dcd647d10a', viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("path", { key: 'eecaf5e9b0880265a5eb64973c1b9b7b5c02ab56', d: "M12.5 3.5L3.5 12.5M12.5 12.5L3.5 3.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
BsTag.style = bsTagCss();
|
|
@@ -16,7 +16,7 @@ const BsText = class {
|
|
|
16
16
|
tone = 'default';
|
|
17
17
|
render() {
|
|
18
18
|
const Tag = this.as;
|
|
19
|
-
return (index.h(Tag, { key: '
|
|
19
|
+
return (index.h(Tag, { key: '39b932702ac56ba72165816fefadecc19899b302', part: "text", class: `bs-text bs-text--${this.variant}` }, index.h("slot", { key: '10c274f769fdc64b6994c967eb517997f6a00742' })));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
BsText.style = bsTextCss();
|
|
@@ -178,14 +178,14 @@ const BsTimepicker = class {
|
|
|
178
178
|
return (index.h("div", { part: "spinner", class: "bs-timepicker__spinner" }, index.h("button", { part: "step", type: "button", class: "bs-timepicker__step", "aria-label": stepLabel(this.increaseLabel), tabindex: -1, onClick: () => this.stepBy(col, 1) }, index.h("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { d: "M18 15L12 9L6 15", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { part: "value", class: "bs-timepicker__value", role: "spinbutton", tabindex: 0, "aria-label": label, "aria-valuemin": min, "aria-valuemax": max, "aria-valuenow": n, "aria-valuetext": pad(n), onKeyDown: this.onKeyDown(col), onBlur: () => (this.typed = '') }, pad(n)), index.h("button", { part: "step", type: "button", class: "bs-timepicker__step", "aria-label": stepLabel(this.decreaseLabel), tabindex: -1, onClick: () => this.stepBy(col, -1) }, index.h("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return (index.h("bs-card", { key: '
|
|
181
|
+
return (index.h("bs-card", { key: '57964e003d5d7d6abccb13a17e759721e2aa272e', part: "container", class: "bs-timepicker", surface: "raised" }, index.h("div", { key: '664469ea766475d939684231e4c1c5f01afe824a', class: "bs-timepicker__body" }, index.h("div", { key: '75aa6484e5fd2735ef972f3a29ebba5ce89838d4', part: "header", class: "bs-timepicker__header" }, index.h("div", { key: '06978e8b2b3f245d723bbf8099bc542a1ffcce78', part: "title", class: "bs-timepicker__title" }, this.heading), index.h("label", { key: '69154fd6015f1d945adcdf954841da6bf2d4d539', class: "bs-timepicker__format" }, index.h("span", { key: 'f8dadb20d719f379e5f47a888706af6b2ab0202b' }, this.formatLabel), index.h("bs-switch", { key: '5411272d1141e5c0c9d3742c81df88f78eb113ed', part: "format-toggle", size: "md", ariaLabel: this.formatLabel, checked: !this.is12h, onBsChange: (ev) => (this.format = ev.detail ? '24h' : '12h') }))), index.h("div", { key: '3cb6c8ccad07ec88afab6f9f40a1115f82ed477e', class: "bs-timepicker__divider" }), index.h("div", { key: '54f473f57a0c498a3267cabf84db3c1a8ba285ab', part: "selector", class: "bs-timepicker__selector" }, this.renderColumn('hour', this.hourLabel), index.h("div", { key: '92e9520755d52e58fe4412a073748e9928b3cff7', part: "separator", class: "bs-timepicker__separator", "aria-hidden": "true" }, index.h("svg", { key: 'cd55a6677dd695e5e93d296302cc429d84e01887', viewBox: "0 0 4 32", fill: "currentColor" }, index.h("circle", { key: 'ef746f64ebb5a49ee0f56c0c50b167316aec5053', cx: "2", cy: "10", r: "2" }), index.h("circle", { key: '65852107527c34a4aaec9c00fca8d5be4ef2d5aa', cx: "2", cy: "22", r: "2" }))), this.renderColumn('minute', this.minuteLabel), this.is12h && (index.h("bs-input", { key: '9d17f6c9401969e52ff99a4b84560617c2525300', part: "period", class: "bs-timepicker__period", type: "dropdown", label: this.periodLabel, value: this.isPm ? 'PM' : 'AM', options: [
|
|
182
182
|
{ label: 'AM', value: 'AM' },
|
|
183
183
|
{ label: 'PM', value: 'PM' },
|
|
184
184
|
], onBsChange: (ev) => {
|
|
185
185
|
const pm = ev.detail === 'PM';
|
|
186
186
|
if (pm !== this.isPm)
|
|
187
187
|
this.hour = (this.hour + 12) % 24;
|
|
188
|
-
} }))), index.h("div", { key: '
|
|
188
|
+
} }))), index.h("div", { key: '914705bd05bf0a3d1a8d85c671241325cc564369', class: "bs-timepicker__divider" }), index.h("div", { key: '1c1849dde9807f507dc0c7b1446f725f8e5971a0', part: "footer", class: "bs-timepicker__footer" }, index.h("bs-button", { key: '2e3bd483d598b9539b28742fba2a2dbff56a38ea', part: "cancel", variant: "subtle", onClick: this.cancel }, this.cancelLabel), index.h("bs-button", { key: '667c14ac6847e9d27439ea0637038deb019f0ccc', part: "confirm", variant: "primary", onClick: this.confirm }, this.confirmLabel)))));
|
|
189
189
|
}
|
|
190
190
|
static get formAssociated() { return true; }
|
|
191
191
|
static get watchers() { return {
|
|
@@ -21,7 +21,7 @@ const BsToast = class {
|
|
|
21
21
|
this.bsDismiss.emit();
|
|
22
22
|
};
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h("div", { key: '
|
|
24
|
+
return (index.h("div", { key: '5bc681de86bd983ebe893b9ea8ed94b473896982', part: "container", class: `bs-toast bs-toast--${this.state}`, role: "status", "aria-live": this.state === 'error' ? 'assertive' : 'polite' }, index.h("div", { key: '4842f349978fedfcceb535da81e90029d98b3432', class: "bs-toast__content" }, index.h("span", { key: 'c396041be59b6088c2a50ef156b218c7c2cc70d0', part: "icon", class: "bs-toast__icon", "aria-hidden": "true" }, index.h(StateIcon, { key: '33342d2bab947b9144e2bee18abb8292c75fe339', state: this.state })), index.h("span", { key: 'c6b2840d95a518e5d91dc281a81a83e6442bab1b', part: "message", class: "bs-toast__message" }, index.h("slot", { key: '1505051e3ce412f7b6bcefd82183717f870418b5' }))), index.h("div", { key: '50e3f96e3f7b325b97d3cf90771374f60aa87f24', class: "bs-toast__actions" }, index.h("button", { key: '69962e5d154c55372b562b45e06c07b8e16ce306', part: "close", type: "button", class: "bs-toast__close", "aria-label": this.dismissLabel, onClick: this.onDismiss }, index.h(CloseIcon, { key: '96d3547e268179d3f4799d43bf2d71abfbe8dc07' })))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
const StateIcon = ({ state }) => {
|
|
@@ -86,7 +86,7 @@ const BsToggleButtonGroup = class {
|
|
|
86
86
|
btn?.click();
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (index.h("div", { key: '
|
|
89
|
+
return (index.h("div", { key: '61d043efa2ecdf437d48bc2ca0b3d75f17a00b43', part: "group", class: "bs-toggle-button-group", role: this.multiple ? 'group' : 'radiogroup', "aria-label": this.ariaLabel, "aria-disabled": this.disabled ? 'true' : undefined }, index.h("slot", { key: '4b1c8e64b23cd54607c19b214b938e44dee99fef', onSlotchange: () => this.sync() })));
|
|
90
90
|
}
|
|
91
91
|
static get watchers() { return {
|
|
92
92
|
"value": [{
|
|
@@ -27,6 +27,14 @@ const BsToggleButton = class {
|
|
|
27
27
|
bsChange;
|
|
28
28
|
hasLabel = false;
|
|
29
29
|
hasIcon = false;
|
|
30
|
+
// Seed from the light DOM so the first render is already correct. Waiting for `slotchange` leaves
|
|
31
|
+
// a frame where a labelled button is styled icon-only (label hidden, so no accessible name).
|
|
32
|
+
componentWillLoad() {
|
|
33
|
+
const children = Array.from(this.el.childNodes);
|
|
34
|
+
const slotOf = (n) => (n.nodeType === 1 ? n.getAttribute('slot') : null);
|
|
35
|
+
this.hasIcon = children.some(n => slotOf(n) === 'icon');
|
|
36
|
+
this.hasLabel = children.some(n => slotOf(n) === null && (n.nodeType === 1 || !!n.textContent?.trim()));
|
|
37
|
+
}
|
|
30
38
|
onIconSlotchange = (ev) => {
|
|
31
39
|
this.hasIcon = ev.target.assignedNodes().length > 0;
|
|
32
40
|
};
|
|
@@ -48,7 +56,7 @@ const BsToggleButton = class {
|
|
|
48
56
|
};
|
|
49
57
|
render() {
|
|
50
58
|
const radio = this.mode === 'radio';
|
|
51
|
-
return (index.h("button", { key: '
|
|
59
|
+
return (index.h("button", { key: 'f0d0b857c75ded029be27ec9adb00d5f181a3d50', type: "button", part: "button", class: `bs-toggle-button ${this.pressed ? 'bs-toggle-button--pressed' : ''} ${this.hasLabel ? '' : 'bs-toggle-button--icon-only'}`, role: radio ? 'radio' : undefined, "aria-pressed": radio ? undefined : String(this.pressed), "aria-checked": radio ? String(this.pressed) : undefined, "aria-label": this.ariaLabel, disabled: this.disabled, tabindex: this.tabbable ? undefined : -1, onClick: this.onClick }, index.h("bs-ripple", { key: '4aec0e3eee4ae6a5a407833de52533fc03f6b8f3', part: "ripple", centered: false, disabled: this.disabled }), index.h("span", { key: '3917ef305cf87dbbda33c4770cf86e6892423b39', part: "icon", class: `bs-toggle-button__icon ${this.hasIcon ? 'bs-toggle-button__icon--has-content' : ''}` }, index.h("slot", { key: '4bd9d1e4da1a7a37efa980e36a07266911c04afe', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: 'e33eeb741ebda53df820aaec814892082fb1076d', part: "label", class: "bs-toggle-button__label" }, index.h("slot", { key: 'ab303182f9bcc5bb6330f59e4a1d7e2fef698db8', onSlotchange: this.onLabelSlotchange }))));
|
|
52
60
|
}
|
|
53
61
|
static get delegatesFocus() { return true; }
|
|
54
62
|
};
|
|
@@ -178,7 +178,7 @@ const BsToolbar = class {
|
|
|
178
178
|
}
|
|
179
179
|
render() {
|
|
180
180
|
const showOverflow = this.overflowActive();
|
|
181
|
-
return (index.h("div", { key: '
|
|
181
|
+
return (index.h("div", { key: 'f868afcd242c835df7455e1a299b7b4eeb259fac', part: "container", role: "toolbar", "aria-label": this.label, "aria-orientation": this.orientation, class: `bs-toolbar bs-toolbar--${this.orientation}`, ref: el => (this.containerEl = el) }, index.h("div", { key: '7fabc6343f6eac5bea9199493c86a0d6d0a36823', part: "left", class: "bs-toolbar__group bs-toolbar__group--left" }, index.h("slot", { key: 'f05d2cbfbe92dd3d367f05a63c2f74435e434b14', name: "left", onSlotchange: this.syncItems })), index.h("div", { key: '3abe008852778989a32e7b5f427fc721e19a5d3b', part: "right", class: "bs-toolbar__group bs-toolbar__group--right" }, index.h("slot", { key: '99f09d60839240ca98daafd867c0df55e1f1b7be', name: "right", onSlotchange: this.syncItems })), showOverflow && (index.h("bs-popover", { key: '03cb9fab4b0dbb951d3691e3b3adbaf579b97027', part: "overflow", class: "bs-toolbar__overflow", placement: "bottom-end", hidden: this.overflowed.length === 0, ref: el => (this.popoverEl = el) }, index.h("bs-icon-button", { key: 'bb379ad418223d25c65bfb3c6217f7812bae39d0', slot: "trigger", variant: "subtle", size: "md", ariaLabel: this.overflowLabel, title: this.overflowLabel, ref: el => (this.triggerEl = el) }, index.h(MoreIcon, { key: '934a48b6148a20f62e409a89202e33dbeaa6a0b0' })), index.h("bs-menu", { key: 'b00b7aeed798883576dd8241c4a83a2604861526' }, this.overflowed.map(entry => (index.h("bs-menu-item", { onBsSelect: () => this.activate(entry) }, entry.label))))))));
|
|
182
182
|
}
|
|
183
183
|
static get watchers() { return {
|
|
184
184
|
"orientation": [{
|
|
@@ -91,7 +91,7 @@ const BsTooltipTrigger = class {
|
|
|
91
91
|
};
|
|
92
92
|
render() {
|
|
93
93
|
const show = (this.visible && !!this.text) || (this.closing && !!this.text);
|
|
94
|
-
return (index.h("div", { key: '
|
|
94
|
+
return (index.h("div", { key: '23dc0d2d778acade15e99d7a1ecafecafc8aeea1', part: "trigger", class: "bs-tooltip-trigger", "aria-describedby": this.tooltipId, onMouseEnter: this.show, onMouseLeave: this.hide, onFocusin: this.show, onFocusout: this.hide, onKeyDown: this.onKeyDown }, index.h("slot", { key: 'b51a6b71ca1f656b3e3a3a07c5bcc788bdb4abf9' }), index.h("div", { key: '7fa243b2d8513bb47e42c7bd3a42a68d38f9f835', part: "tooltip", id: this.tooltipId, class: "bs-tooltip-trigger__tooltip", role: "tooltip", hidden: !show, ref: el => (this.tipEl = el) }, index.h("bs-tooltip", { key: 'dad6fac056f96ce2e64d731b5c477aee6b1bea64', ref: el => (this.bubbleEl = el) }, this.text))));
|
|
95
95
|
}
|
|
96
96
|
static get watchers() { return {
|
|
97
97
|
"visible": [{
|
|
@@ -16,7 +16,7 @@ const BsTooltip = class {
|
|
|
16
16
|
*/
|
|
17
17
|
placement = 'top';
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h("div", { key: '
|
|
19
|
+
return (index.h("div", { key: 'caf2503c9f387f7c66e438cec848daa77fb1b750', class: "bs-tooltip" }, index.h("span", { key: 'eecef927ed27fa9f4fb46eae25adc3314439ae70', part: "arrow", class: "bs-tooltip__arrow" }), index.h("div", { key: '5dab353dad2f1c0c09451971f9e435c63298ba0c', part: "bubble", class: "bs-tooltip__bubble" }, index.h("slot", { key: 'bfe731316620db86b129e64df6a0eb0671d79fa4' }))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
BsTooltip.style = bsTooltipCss();
|
|
@@ -79,11 +79,11 @@ const BsTreeItem = class {
|
|
|
79
79
|
const isParent = this.hasChildren;
|
|
80
80
|
const managed = !!this.el.closest('bs-tree');
|
|
81
81
|
const showChildren = isParent && this.expanded;
|
|
82
|
-
return (index.h(index.Host, { key: '
|
|
82
|
+
return (index.h(index.Host, { key: 'b11ed915ade513d084c9d45d41ccc6a74ac030ec', role: "treeitem", "aria-level": String(this.level), "aria-expanded": isParent ? String(this.expanded) : null, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : null, ...(managed || this.disabled ? {} : { tabindex: '0' }) }, index.h("div", { key: '35f5ea00e89ba7972a7e1dd17fb0d8bda2edfbe6', class: "bs-tree-item__row", style: { '--bs-tree-item-level': String(this.level) } }, index.h("div", { key: 'a48c3d314f1ba8d2caaeaf94427952de3889f96d', part: "container", class: {
|
|
83
83
|
'bs-tree-item__container': true,
|
|
84
84
|
'bs-tree-item__container--selected': this.selected,
|
|
85
85
|
'bs-tree-item__container--disabled': this.disabled,
|
|
86
|
-
}, onClick: this.onRowClick }, !this.disabled && index.h("bs-ripple", { key: '
|
|
86
|
+
}, onClick: this.onRowClick }, !this.disabled && index.h("bs-ripple", { key: 'f4a3412c475a136d8cbb1992f3e72d2599e51220', part: "ripple" }), isParent && (index.h("span", { key: '157b2dd21a6e2e9b5442b0751b280fd2a6d5aeca', part: "caret", class: { 'bs-tree-item__caret': true, 'bs-tree-item__caret--open': this.expanded }, "aria-hidden": "true", onClick: this.onCaretClick }, index.h(CaretRightIcon, { key: 'cfc6494cf35d532fdcae854f7cb248f4ad530ec5' }))), index.h("span", { key: 'cf1792c53d54257b23710a4c1c5f42f3aa5f7a16', class: "bs-tree-item__content" }, this.showIcon && (index.h("span", { key: '0c140478f7f4d4e4fc33386efa010ee7e3459cf8', part: "icon", class: "bs-tree-item__icon", "aria-hidden": "true" }, index.h("slot", { key: '5413186d19d7b11e26bd7ac04c36e41ffd4abfcb', name: "icon" }, isParent ? index.h(FolderIcon, null) : index.h(FileIcon, null)))), index.h("span", { key: 'cbbdf25c5c4dac64991cd5b59ee7d0c32f30e2d9', part: "label", class: "bs-tree-item__label" }, index.h("slot", { key: 'cf863304a5041e080e09607cff921016a9435ae5', name: "label" }, this.label))))), showChildren && (index.h("div", { key: 'e0a16b7ca65e562d902b0b059329e7ce0c701f4e', part: "group", class: "bs-tree-item__group", role: "group" }, index.h("slot", { key: 'f77d21abe579e32b2d44f912db90ba6501e820f5' })))));
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
89
|
const CaretRightIcon = () => (index.h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("path", { d: "M9.75 6L15.75 12L9.75 18", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
@@ -184,7 +184,7 @@ const BsTree = class {
|
|
|
184
184
|
e.preventDefault();
|
|
185
185
|
}
|
|
186
186
|
render() {
|
|
187
|
-
return (index.h("div", { key: '
|
|
187
|
+
return (index.h("div", { key: 'a44ab667d778f523810e576f64c9b859932c40d1', part: "container", class: "bs-tree", role: "tree", "aria-label": this.ariaLabel }, index.h("slot", { key: '2b9aae53d7cdd5cf276d6fea7d806337a2247842' })));
|
|
188
188
|
}
|
|
189
189
|
static get watchers() { return {
|
|
190
190
|
"value": [{
|