@brandsync/wc 1.19.0 → 1.20.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 +34 -0
- package/REFERENCE.md +264 -9
- package/custom-elements.json +11409 -6963
- package/dist/brandsync-wc/brandsync-wc.css +1 -1
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/index.esm.js +1 -1
- package/dist/brandsync-wc/p-040d4755.entry.js +1 -0
- package/dist/brandsync-wc/{p-30ff0659.entry.js → p-050270f5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a688a7ca.entry.js → p-08a5e178.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a50c5e68.entry.js → p-08d08dc9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-568de1b0.entry.js → p-0ebb60a8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f3b60029.entry.js → p-0f864a4f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e7c80f48.entry.js → p-105c316e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-10b8937f.entry.js → p-11fefb5a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-313ec145.entry.js → p-13d98ec3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8ac86d16.entry.js → p-16f15ba5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-42fcf134.entry.js → p-18cfec13.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9751a12d.entry.js → p-1a549f9a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a28ef52e.entry.js → p-1bf8a54a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5371b31c.entry.js → p-1ce4395a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-de0dfd1c.entry.js → p-1daf48b1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-86f04e9e.entry.js → p-20dd8b76.entry.js} +1 -1
- package/dist/brandsync-wc/{p-391504ab.entry.js → p-2210c680.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f10b19a8.entry.js → p-23367a4d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-02314404.entry.js → p-238be384.entry.js} +1 -1
- package/dist/brandsync-wc/p-23affb5d.entry.js +1 -0
- package/dist/brandsync-wc/p-23b3958e.entry.js +1 -0
- package/dist/brandsync-wc/{p-03ad83a3.entry.js → p-2621b1b2.entry.js} +1 -1
- package/dist/brandsync-wc/p-28723df1.entry.js +1 -0
- package/dist/brandsync-wc/{p-d484e976.entry.js → p-28a34097.entry.js} +1 -1
- package/dist/brandsync-wc/{p-129a4de7.entry.js → p-2a96ce61.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7160a72e.entry.js → p-2f58b161.entry.js} +1 -1
- package/dist/brandsync-wc/p-319b7baa.entry.js +1 -0
- package/dist/brandsync-wc/{p-8a606b38.entry.js → p-32004fb3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-78c94cfe.entry.js → p-32157c7a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ab99b8c3.entry.js → p-32d83763.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8b21f623.entry.js → p-338b5e39.entry.js} +1 -1
- package/dist/brandsync-wc/p-3f6be3f7.entry.js +1 -0
- package/dist/brandsync-wc/p-409cf56b.entry.js +1 -0
- package/dist/brandsync-wc/{p-8e107d7a.entry.js → p-452f6c13.entry.js} +1 -1
- package/dist/brandsync-wc/{p-527fd08d.entry.js → p-47fc5f29.entry.js} +1 -1
- package/dist/brandsync-wc/p-4810bcc8.entry.js +1 -0
- package/dist/brandsync-wc/p-484a6546.entry.js +1 -0
- package/dist/brandsync-wc/p-4ae7b8b9.entry.js +1 -0
- package/dist/brandsync-wc/p-4d6f2fec.entry.js +1 -0
- package/dist/brandsync-wc/{p-4ffcf41a.entry.js → p-4f19e8d8.entry.js} +1 -1
- package/dist/brandsync-wc/p-50a154b8.entry.js +1 -0
- package/dist/brandsync-wc/{p-26e0ab15.entry.js → p-50ac6889.entry.js} +1 -1
- package/dist/brandsync-wc/p-520b277a.entry.js +1 -0
- package/dist/brandsync-wc/p-53b1c545.entry.js +1 -0
- package/dist/brandsync-wc/{p-90d8d45f.entry.js → p-548b96f7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-144b6ac8.entry.js → p-57ed5ac6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-028d3244.entry.js → p-587be2c6.entry.js} +1 -1
- package/dist/brandsync-wc/p-5a35d573.entry.js +1 -0
- package/dist/brandsync-wc/p-5b48a6c7.entry.js +1 -0
- package/dist/brandsync-wc/{p-4d1ee16e.entry.js → p-5ea899c4.entry.js} +1 -1
- package/dist/brandsync-wc/p-6096900b.entry.js +1 -0
- package/dist/brandsync-wc/{p-fc76031e.entry.js → p-630d41ab.entry.js} +1 -1
- package/dist/brandsync-wc/p-66f1ca2e.entry.js +1 -0
- package/dist/brandsync-wc/p-69489f45.entry.js +1 -0
- package/dist/brandsync-wc/p-6adc9c4f.entry.js +1 -0
- package/dist/brandsync-wc/p-6bdd9ef9.entry.js +1 -0
- package/dist/brandsync-wc/{p-dc2ea372.entry.js → p-6db03e96.entry.js} +1 -1
- package/dist/brandsync-wc/{p-64e19200.entry.js → p-70924681.entry.js} +1 -1
- package/dist/brandsync-wc/p-7632f773.entry.js +1 -0
- package/dist/brandsync-wc/{p-590deea0.entry.js → p-78e4dd14.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f96f45ae.entry.js → p-806bb471.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2a8b2ac9.entry.js → p-86fdbe8f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8a18864a.entry.js → p-89dbb3c8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ebcd105d.entry.js → p-8a4d64fd.entry.js} +1 -1
- package/dist/brandsync-wc/p-8c83cc99.entry.js +1 -0
- package/dist/brandsync-wc/p-8ccd1735.entry.js +1 -0
- package/dist/brandsync-wc/p-8d674f11.entry.js +1 -0
- package/dist/brandsync-wc/{p-8d1ad4b0.entry.js → p-90442341.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a2bfbf02.entry.js → p-9e93b482.entry.js} +1 -1
- package/dist/brandsync-wc/{p-020cb767.entry.js → p-9f852c8b.entry.js} +1 -1
- package/dist/brandsync-wc/p-Vo0zbGRB.js +1 -0
- package/dist/brandsync-wc/p-a1d34ff3.entry.js +1 -0
- package/dist/brandsync-wc/{p-15c6f0f3.entry.js → p-a3c7b4e7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9ba500f1.entry.js → p-a6cbb6c6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-70a5897b.entry.js → p-a86560e6.entry.js} +1 -1
- package/dist/brandsync-wc/p-aa70e80c.entry.js +1 -0
- package/dist/brandsync-wc/{p-0dff9822.entry.js → p-b0f4cbca.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3c6980b9.entry.js → p-b1663378.entry.js} +1 -1
- package/dist/brandsync-wc/{p-25914efc.entry.js → p-b1b14615.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2389f473.entry.js → p-b7545d9b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d80eecf4.entry.js → p-baca1abf.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a92c0f06.entry.js → p-bfdd135b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-89fa7567.entry.js → p-c23e274a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4928c4ad.entry.js → p-c39e6be9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-30736034.entry.js → p-c6c15b9f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-776b677f.entry.js → p-c9888d09.entry.js} +1 -1
- package/dist/brandsync-wc/p-ca8a1e51.entry.js +1 -0
- package/dist/brandsync-wc/{p-9fa7bd83.entry.js → p-d263deec.entry.js} +1 -1
- package/dist/brandsync-wc/p-d555984e.entry.js +1 -0
- package/dist/brandsync-wc/p-d6600c7c.entry.js +1 -0
- package/dist/brandsync-wc/{p-e5235e76.entry.js → p-d67840f5.entry.js} +1 -1
- package/dist/brandsync-wc/p-d8a299a9.entry.js +1 -0
- package/dist/brandsync-wc/{p-f4796801.entry.js → p-dd3499ab.entry.js} +1 -1
- package/dist/brandsync-wc/p-debc308d.entry.js +1 -0
- package/dist/brandsync-wc/{p-c01e231e.entry.js → p-e18cb639.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7bff3aa5.entry.js → p-e18e45bc.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4c51da66.entry.js → p-e2268c96.entry.js} +1 -1
- package/dist/brandsync-wc/p-e4033ebc.entry.js +1 -0
- package/dist/brandsync-wc/{p-1e33bc10.entry.js → p-e6f57fae.entry.js} +1 -1
- package/dist/brandsync-wc/p-e8027825.entry.js +1 -0
- package/dist/brandsync-wc/{p-7c741b8d.entry.js → p-eb1b1497.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9868ee72.entry.js → p-eb4ad606.entry.js} +1 -1
- package/dist/brandsync-wc/p-ecb1a27d.entry.js +1 -0
- package/dist/brandsync-wc/p-f229f59a.entry.js +1 -0
- package/dist/brandsync-wc/{p-0819add7.entry.js → p-f22d2db8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-feb46fa6.entry.js → p-f71d7582.entry.js} +1 -1
- package/dist/brandsync-wc/p-fa894893.entry.js +1 -0
- package/dist/brandsync-wc/p-fbd204b6.entry.js +1 -0
- package/dist/brandsync-wc/{p-21e5d4d6.entry.js → p-fc7df528.entry.js} +1 -1
- package/dist/brandsync-wc/{p-27663faf.entry.js → p-fe6f71da.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e1d30e31.entry.js → p-ff14edb6.entry.js} +1 -1
- package/dist/brandsync-wc/p-ff85a9d8.entry.js +1 -0
- package/dist/brandsync-wc/p-wz7B473u.js +3 -0
- package/dist/cjs/brandsync-wc.cjs.js +2 -2
- package/dist/cjs/bs-accordion-group.cjs.entry.js +2 -2
- package/dist/cjs/bs-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +2 -2
- package/dist/cjs/bs-ai-greeting.cjs.entry.js +2 -2
- package/dist/cjs/bs-ai-thinking.cjs.entry.js +2 -2
- package/dist/cjs/bs-app-recent-item_3.cjs.entry.js +5 -5
- package/dist/cjs/bs-app-shell.cjs.entry.js +2 -2
- package/dist/cjs/bs-app-switcher.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment-list.cjs.entry.js +2 -2
- package/dist/cjs/bs-attachment.cjs.entry.js +2 -2
- package/dist/cjs/bs-avatar.cjs.entry.js +3 -10
- package/dist/cjs/bs-badge.cjs.entry.js +2 -2
- package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +10 -2
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/bs-button_2.cjs.entry.js +17 -4
- package/dist/cjs/bs-card.cjs.entry.js +44 -3
- package/dist/cjs/bs-carousel.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +3 -7
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +3 -7
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +2 -2
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +2 -2
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +3 -3
- package/dist/cjs/bs-checkbox-group.cjs.entry.js +80 -0
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/bs-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-filter.cjs.entry.js +2 -2
- package/dist/cjs/bs-chip-informative.cjs.entry.js +2 -2
- package/dist/cjs/bs-chip-input.cjs.entry.js +2 -2
- package/dist/cjs/bs-citation-preview.cjs.entry.js +2 -2
- package/dist/cjs/bs-code-block.cjs.entry.js +75 -0
- package/dist/cjs/bs-command-palette.cjs.entry.js +2 -2
- package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +5 -5
- package/dist/cjs/bs-company-switcher.cjs.entry.js +3 -3
- package/dist/cjs/bs-composer-status-banner.cjs.entry.js +2 -2
- package/dist/cjs/bs-composer.cjs.entry.js +6 -4
- package/dist/cjs/bs-container.cjs.entry.js +2 -2
- package/dist/cjs/bs-cookie-consent.cjs.entry.js +1 -1
- package/dist/cjs/bs-data-table.cjs.entry.js +8 -5
- package/dist/cjs/bs-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/bs-description-item.cjs.entry.js +23 -0
- package/dist/cjs/bs-description-list.cjs.entry.js +40 -0
- package/dist/cjs/bs-dialog.cjs.entry.js +1 -1
- package/dist/cjs/bs-divider.cjs.entry.js +2 -2
- package/dist/cjs/bs-dropdown.cjs.entry.js +96 -0
- package/dist/cjs/bs-empty-state.cjs.entry.js +7 -3
- package/dist/cjs/bs-error-page.cjs.entry.js +2 -2
- package/dist/cjs/bs-file-upload-item.cjs.entry.js +2 -2
- package/dist/cjs/bs-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/bs-global-search.cjs.entry.js +3 -3
- package/dist/cjs/bs-grid.cjs.entry.js +3 -3
- package/dist/cjs/bs-heading.cjs.entry.js +28 -0
- package/dist/cjs/bs-icon-button.cjs.entry.js +10 -3
- package/dist/cjs/bs-icon-tile.cjs.entry.js +3 -3
- package/dist/cjs/bs-icon.cjs.entry.js +35 -0
- package/dist/cjs/bs-inline-tab.cjs.entry.js +3 -3
- package/dist/cjs/bs-input_4.cjs.entry.js +794 -0
- package/dist/cjs/bs-key-caps.cjs.entry.js +2 -2
- package/dist/cjs/bs-key.cjs.entry.js +2 -2
- package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +3 -3
- package/dist/cjs/bs-link.cjs.entry.js +52 -0
- package/dist/cjs/bs-list-item.cjs.entry.js +68 -0
- package/dist/cjs/bs-list.cjs.entry.js +9 -3
- package/dist/cjs/bs-logo.cjs.entry.js +1 -1
- package/dist/cjs/bs-mega-menu.cjs.entry.js +2 -2
- package/dist/cjs/bs-message-list.cjs.entry.js +2 -2
- package/dist/cjs/bs-message.cjs.entry.js +2 -2
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +26 -5
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +4 -4
- package/dist/cjs/bs-navigation-header.cjs.entry.js +4 -4
- package/dist/cjs/bs-onboarding-checklist.cjs.entry.js +1 -1
- package/dist/cjs/bs-page-header.cjs.entry.js +2 -2
- package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
- package/dist/cjs/{bs-list-item_2.cjs.entry.js → bs-popover.cjs.entry.js} +2 -64
- package/dist/cjs/bs-presence.cjs.entry.js +2 -2
- package/dist/cjs/bs-product-tour.cjs.entry.js +1 -1
- package/dist/cjs/bs-progress-linear.cjs.entry.js +4 -4
- package/dist/cjs/bs-progress.cjs.entry.js +3 -3
- package/dist/cjs/bs-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/bs-radio-group.cjs.entry.js +90 -0
- package/dist/cjs/bs-radio.cjs.entry.js +6 -2
- package/dist/cjs/bs-search-item.cjs.entry.js +2 -2
- package/dist/cjs/bs-select.cjs.entry.js +234 -0
- package/dist/cjs/bs-session-timeout.cjs.entry.js +2 -2
- package/dist/cjs/bs-shortcut-row.cjs.entry.js +2 -2
- package/dist/cjs/bs-side-panel.cjs.entry.js +1 -1
- package/dist/cjs/bs-skip-link.cjs.entry.js +52 -0
- package/dist/cjs/bs-slider.cjs.entry.js +3 -3
- package/dist/cjs/bs-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/bs-source-link.cjs.entry.js +4 -4
- package/dist/cjs/bs-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/bs-stack.cjs.entry.js +2 -2
- package/dist/cjs/bs-stat.cjs.entry.js +53 -0
- package/dist/cjs/bs-stepper-step.cjs.entry.js +2 -2
- package/dist/cjs/bs-stepper.cjs.entry.js +2 -2
- package/dist/cjs/bs-switch.cjs.entry.js +2 -2
- package/dist/cjs/bs-tab_3.cjs.entry.js +16 -9
- package/dist/cjs/bs-table-of-contents.cjs.entry.js +171 -0
- package/dist/cjs/bs-tag.cjs.entry.js +51 -0
- package/dist/cjs/bs-text.cjs.entry.js +24 -0
- package/dist/cjs/bs-timepicker.cjs.entry.js +3 -3
- package/dist/cjs/bs-toast.cjs.entry.js +2 -2
- package/dist/cjs/bs-toggle-button-group.cjs.entry.js +108 -0
- package/dist/cjs/bs-toggle-button.cjs.entry.js +57 -0
- package/dist/cjs/bs-toolbar.cjs.entry.js +195 -0
- package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +2 -2
- package/dist/cjs/bs-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/bs-tree-item.cjs.entry.js +3 -3
- package/dist/cjs/bs-tree.cjs.entry.js +2 -2
- package/dist/cjs/bs-whats-new.cjs.entry.js +1 -1
- package/dist/cjs/icon-registry-DWYCqjKw.js +64 -0
- package/dist/cjs/{index-BYfMRtlW.js → index-BFxk-bY6.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +19 -1
- package/dist/collection/components/bs-a11y.cmp.test.js +9 -0
- 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/bs-attachment.cmp.test.js +10 -0
- package/dist/collection/components/bs-attachment/bs-attachment.css +6 -6
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-avatar/bs-avatar.cmp.test.js +11 -1
- package/dist/collection/components/bs-avatar/bs-avatar.css +9 -4
- package/dist/collection/components/bs-avatar/bs-avatar.js +1 -8
- package/dist/collection/components/bs-badge/bs-badge.css +4 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.cmp.test.js +13 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.css +8 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +26 -1
- package/dist/collection/components/bs-button/bs-button/bs-button.cmp.test.js +31 -2
- package/dist/collection/components/bs-button/bs-button/bs-button.css +16 -18
- package/dist/collection/components/bs-button/bs-button/bs-button.js +102 -7
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +43 -0
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +32 -2
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +68 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-card/bs-card.cmp.test.js +78 -0
- package/dist/collection/components/bs-card/bs-card.css +75 -0
- package/dist/collection/components/bs-card/bs-card.js +200 -1
- package/dist/collection/components/bs-card/bs-card.stories.js +32 -0
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.cmp.test.js +8 -0
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.css +11 -8
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -5
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.css +2 -3
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -5
- 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.cmp.test.js +18 -0
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.css +8 -2
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +4 -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 +58 -0
- package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.css +65 -0
- package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.js +254 -0
- package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.stories.js +34 -0
- 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-code-block/bs-code-block.cmp.test.js +78 -0
- package/dist/collection/components/bs-code-block/bs-code-block.css +132 -0
- package/dist/collection/components/bs-code-block/bs-code-block.js +317 -0
- package/dist/collection/components/bs-code-block/bs-code-block.stories.js +56 -0
- 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.cmp.test.js +29 -0
- package/dist/collection/components/bs-composer/bs-composer.css +2 -1
- package/dist/collection/components/bs-composer/bs-composer.js +4 -2
- package/dist/collection/components/bs-composer/bs-composer.stories.js +0 -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-cookie-consent/bs-cookie-consent.cmp.test.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.cmp.test.js +39 -0
- package/dist/collection/components/bs-data-table/bs-data-table.css +12 -0
- package/dist/collection/components/bs-data-table/bs-data-table.js +34 -3
- package/dist/collection/components/bs-data-table/bs-data-table.stories.js +1 -1
- package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
- package/dist/collection/components/bs-description-item/bs-description-item.cmp.test.js +14 -0
- package/dist/collection/components/bs-description-item/bs-description-item.css +47 -0
- package/dist/collection/components/bs-description-item/bs-description-item.js +111 -0
- package/dist/collection/components/bs-description-list/bs-description-list.cmp.test.js +58 -0
- package/dist/collection/components/bs-description-list/bs-description-list.css +15 -0
- package/dist/collection/components/bs-description-list/bs-description-list.js +127 -0
- package/dist/collection/components/bs-description-list/bs-description-list.stories.js +34 -0
- package/dist/collection/components/bs-divider/bs-divider.js +1 -1
- package/dist/collection/components/bs-dropdown/bs-dropdown.cmp.test.js +135 -0
- package/dist/collection/components/bs-dropdown/bs-dropdown.css +3 -0
- package/dist/collection/components/bs-dropdown/bs-dropdown.js +218 -0
- package/dist/collection/components/bs-dropdown/bs-dropdown.stories.js +42 -0
- package/dist/collection/components/bs-empty-state/bs-empty-state.cmp.test.js +15 -0
- package/dist/collection/components/bs-empty-state/bs-empty-state.css +30 -1
- package/dist/collection/components/bs-empty-state/bs-empty-state.js +29 -1
- package/dist/collection/components/bs-empty-state/bs-empty-state.stories.js +24 -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.cmp.test.js +38 -0
- package/dist/collection/components/bs-heading/bs-heading.css +42 -0
- package/dist/collection/components/bs-heading/bs-heading.js +154 -0
- package/dist/collection/components/bs-heading/bs-heading.stories.js +28 -0
- package/dist/collection/components/bs-icon/bs-icon.cmp.test.js +78 -0
- package/dist/collection/components/bs-icon/bs-icon.css +47 -0
- package/dist/collection/components/bs-icon/bs-icon.js +155 -0
- package/dist/collection/components/bs-icon/bs-icon.stories.js +52 -0
- package/dist/collection/components/bs-icon/icon-registry.js +58 -0
- package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +2 -2
- package/dist/collection/components/bs-input/bs-input.cmp.test.js +431 -45
- package/dist/collection/components/bs-input/bs-input.css +196 -12
- package/dist/collection/components/bs-input/bs-input.js +565 -46
- package/dist/collection/components/bs-input/bs-input.stories.js +32 -4
- 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.cmp.test.js +52 -0
- package/dist/collection/components/bs-link/bs-link.css +129 -0
- package/dist/collection/components/bs-link/bs-link.js +257 -0
- package/dist/collection/components/bs-link/bs-link.stories.js +31 -0
- package/dist/collection/components/bs-list/bs-list.cmp.test.js +23 -0
- package/dist/collection/components/bs-list/bs-list.js +32 -2
- package/dist/collection/components/bs-list/bs-list.stories.js +35 -2
- package/dist/collection/components/bs-list-item/bs-list-item.css +8 -0
- package/dist/collection/components/bs-list-item/bs-list-item.js +24 -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-linear/bs-progress-linear.css +4 -1
- 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.cmp.test.js +8 -0
- package/dist/collection/components/bs-radio/bs-radio.js +25 -1
- package/dist/collection/components/bs-radio-group/bs-radio-group.cmp.test.js +85 -0
- package/dist/collection/components/bs-radio-group/bs-radio-group.css +59 -0
- package/dist/collection/components/bs-radio-group/bs-radio-group.js +309 -0
- package/dist/collection/components/bs-radio-group/bs-radio-group.stories.js +35 -0
- 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.cmp.test.js +108 -0
- package/dist/collection/components/bs-select/bs-select.css +231 -0
- package/dist/collection/components/bs-select/bs-select.js +506 -0
- package/dist/collection/components/bs-select/bs-select.stories.js +58 -0
- 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.cmp.test.js +60 -0
- package/dist/collection/components/bs-skip-link/bs-skip-link.css +58 -0
- package/dist/collection/components/bs-skip-link/bs-skip-link.js +123 -0
- package/dist/collection/components/bs-skip-link/bs-skip-link.stories.js +27 -0
- package/dist/collection/components/bs-slider/bs-slider.cmp.test.js +13 -0
- package/dist/collection/components/bs-slider/bs-slider.css +3 -2
- package/dist/collection/components/bs-slider/bs-slider.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.cmp.test.js +22 -0
- package/dist/collection/components/bs-snackbar/bs-snackbar.css +23 -0
- 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.cmp.test.js +49 -0
- package/dist/collection/components/bs-stat/bs-stat.css +116 -0
- package/dist/collection/components/bs-stat/bs-stat.js +284 -0
- package/dist/collection/components/bs-stat/bs-stat.stories.js +44 -0
- 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.css +2 -2
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.stories.js +0 -4
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.cmp.test.js +35 -0
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.css +6 -2
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +13 -6
- package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.cmp.test.js +125 -0
- package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.css +115 -0
- package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.js +392 -0
- package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.stories.js +58 -0
- package/dist/collection/components/bs-tag/bs-tag.cmp.test.js +66 -0
- package/dist/collection/components/bs-tag/bs-tag.css +101 -0
- package/dist/collection/components/bs-tag/bs-tag.js +233 -0
- package/dist/collection/components/bs-tag/bs-tag.stories.js +59 -0
- package/dist/collection/components/bs-text/bs-text.cmp.test.js +33 -0
- package/dist/collection/components/bs-text/bs-text.css +48 -0
- package/dist/collection/components/bs-text/bs-text.js +126 -0
- package/dist/collection/components/bs-text/bs-text.stories.js +25 -0
- 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 +47 -0
- package/dist/collection/components/bs-toggle-button/bs-toggle-button.css +125 -0
- package/dist/collection/components/bs-toggle-button/bs-toggle-button.js +234 -0
- package/dist/collection/components/bs-toggle-button/bs-toggle-button.stories.js +22 -0
- package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.cmp.test.js +69 -0
- package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.css +43 -0
- package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.js +264 -0
- package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.stories.js +42 -0
- package/dist/collection/components/bs-toolbar/bs-toolbar.cmp.test.js +149 -0
- package/dist/collection/components/bs-toolbar/bs-toolbar.css +82 -0
- package/dist/collection/components/bs-toolbar/bs-toolbar.js +345 -0
- package/dist/collection/components/bs-toolbar/bs-toolbar.stories.js +49 -0
- 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/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.cmp.test.js +25 -0
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.css +2 -2
- 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.cmp.test.js +58 -0
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.css +10 -2
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +63 -4
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +42 -9
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +44 -37
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +2 -2
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.stories.js +22 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/test/helpers/block-link-navigation.js +13 -0
- package/dist/collection/test/helpers/contrast.js +57 -0
- 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-badge.js +1 -1
- package/dist/components/bs-breadcrumb-overflow.js +1 -1
- package/dist/components/bs-breadcrumb.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-card.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.d.ts +11 -0
- package/dist/components/bs-checkbox-group.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-code-block.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-description-item.js +1 -0
- package/dist/components/bs-description-list.d.ts +11 -0
- package/dist/components/bs-description-list.js +1 -0
- package/dist/components/bs-dialog.js +1 -1
- package/dist/components/bs-divider.js +1 -1
- package/dist/components/bs-dropdown.d.ts +11 -0
- package/dist/components/bs-dropdown.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-heading.js +1 -0
- package/dist/components/bs-icon-button.js +1 -1
- package/dist/components/bs-icon-tile.js +1 -1
- package/dist/components/bs-icon.d.ts +11 -0
- package/dist/components/bs-icon.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-link.js +1 -0
- package/dist/components/bs-list-item.js +1 -1
- package/dist/components/bs-list.js +1 -1
- package/dist/components/bs-logo.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.d.ts +11 -0
- package/dist/components/bs-radio-group.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-select.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-skip-link.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-stat.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-table-of-contents.js +1 -0
- package/dist/components/bs-tabs.js +1 -1
- package/dist/components/bs-tag.d.ts +11 -0
- package/dist/components/bs-tag.js +1 -0
- package/dist/components/bs-text.d.ts +11 -0
- package/dist/components/bs-text.js +1 -0
- package/dist/components/bs-timepicker.js +1 -1
- package/dist/components/bs-toast.js +1 -1
- package/dist/components/bs-toggle-button-group.d.ts +11 -0
- package/dist/components/bs-toggle-button-group.js +1 -0
- package/dist/components/bs-toggle-button.d.ts +11 -0
- package/dist/components/bs-toggle-button.js +1 -0
- package/dist/components/bs-toolbar.d.ts +11 -0
- package/dist/components/bs-toolbar.js +1 -0
- 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/index.js +1 -1
- package/dist/components/{p-CFR3Q0io.js → p-BB1HiIxJ.js} +1 -1
- package/dist/components/p-BLJL4BVY.js +1 -0
- package/dist/components/{p-D5eN9Lfa.js → p-BR7C-aKy.js} +1 -1
- package/dist/components/{p-D3PuUD8Z.js → p-Ba8J2kHD.js} +1 -1
- package/dist/components/p-CALH_mHQ.js +1 -0
- package/dist/components/{p-lPTgyF9v.js → p-CL99S8-7.js} +1 -1
- package/dist/components/{p-BpkPo4ay.js → p-CXv8kx8w.js} +1 -1
- package/dist/components/{p-Dj393s3S.js → p-CZfbB-t_.js} +1 -1
- package/dist/components/p-CcAX4o5o.js +1 -0
- package/dist/components/{p-DXwatzvM.js → p-CePOtLtZ.js} +1 -1
- package/dist/components/{p-6Rr9bjVN.js → p-Cso2DKAz.js} +1 -1
- package/dist/components/{p-CVQycAap.js → p-CxNNy2m6.js} +1 -1
- package/dist/components/{p-CHZE_FrW.js → p-Cz38kNDe.js} +1 -1
- package/dist/components/p-D3XmFqCQ.js +1 -0
- package/dist/components/{p-Y5FyLR8G.js → p-D4W5LcEW.js} +1 -1
- package/dist/components/{p--Tyv3LIl.js → p-DARbgzSz.js} +1 -1
- package/dist/components/{p-DXbcyEgd.js → p-DBgafacj.js} +1 -1
- package/dist/components/p-DHZ_DStJ.js +1 -0
- package/dist/components/{p-BQ4rSQDm.js → p-DK1uv2fu.js} +1 -1
- package/dist/components/{p-DLnZG_G9.js → p-DL9HtG41.js} +1 -1
- package/dist/components/{p-Cr8cHmpM.js → p-DLNoxNuW.js} +1 -1
- package/dist/components/{p-4yShCgRb.js → p-DMp5CvEJ.js} +1 -1
- package/dist/components/p-DO4sVZCh.js +1 -0
- package/dist/components/{p-DDgzEg1C.js → p-DOW-YekD.js} +1 -1
- package/dist/components/{p-BTPdjnXT.js → p-DVqoLSEW.js} +1 -1
- package/dist/components/{p-DF2FcJPs.js → p-DYpJMHAH.js} +1 -1
- package/dist/components/{p-DtkTnaOp.js → p-DaKBSL2O.js} +1 -1
- package/dist/components/{p-ZfE38vXZ.js → p-Dlp2c-Ii.js} +1 -1
- package/dist/components/{p-XZXdZpt4.js → p-DnagAPBF.js} +1 -1
- package/dist/components/p-Dt3b6VYT.js +1 -0
- package/dist/components/{p-DcD5eV_Z.js → p-DztU3DwY.js} +1 -1
- package/dist/components/{p-BWRkbt0f.js → p-KiyJJwzr.js} +1 -1
- package/dist/components/p-Vo0zbGRB.js +1 -0
- package/dist/components/p-abyVFrPp.js +1 -0
- package/dist/components/p-mxDA3wKn.js +1 -0
- package/dist/components/p-wd9-vGpQ.js +1 -0
- package/dist/components/p-wscU7FUD.js +1 -0
- package/dist/esm/brandsync-wc.js +3 -3
- package/dist/esm/bs-accordion-group.entry.js +2 -2
- package/dist/esm/bs-accordion.entry.js +1 -1
- package/dist/esm/bs-ai-disclaimer.entry.js +2 -2
- package/dist/esm/bs-ai-greeting.entry.js +2 -2
- package/dist/esm/bs-ai-thinking.entry.js +2 -2
- package/dist/esm/bs-app-recent-item_3.entry.js +5 -5
- package/dist/esm/bs-app-shell.entry.js +2 -2
- package/dist/esm/bs-app-switcher.entry.js +1 -1
- package/dist/esm/bs-attachment-list.entry.js +2 -2
- package/dist/esm/bs-attachment.entry.js +2 -2
- package/dist/esm/bs-avatar.entry.js +3 -10
- package/dist/esm/bs-badge.entry.js +2 -2
- package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
- package/dist/esm/bs-breadcrumb.entry.js +3 -3
- package/dist/esm/bs-breadcrumbs.entry.js +10 -2
- package/dist/esm/bs-button-skeleton.entry.js +2 -2
- package/dist/esm/bs-button_2.entry.js +17 -4
- package/dist/esm/bs-card.entry.js +44 -3
- package/dist/esm/bs-carousel.entry.js +1 -1
- package/dist/esm/bs-chatbot-feedback.entry.js +3 -7
- package/dist/esm/bs-chatbot-header.entry.js +3 -7
- package/dist/esm/bs-chatbot-response-action.entry.js +2 -2
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +2 -2
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +3 -3
- package/dist/esm/bs-checkbox-group.entry.js +78 -0
- package/dist/esm/bs-checkbox-skeleton.entry.js +2 -2
- package/dist/esm/bs-checkbox.entry.js +1 -1
- package/dist/esm/bs-chip-filter.entry.js +2 -2
- package/dist/esm/bs-chip-informative.entry.js +2 -2
- package/dist/esm/bs-chip-input.entry.js +2 -2
- package/dist/esm/bs-citation-preview.entry.js +2 -2
- package/dist/esm/bs-code-block.entry.js +73 -0
- package/dist/esm/bs-command-palette.entry.js +2 -2
- package/dist/esm/bs-compact-menu-block_2.entry.js +5 -5
- package/dist/esm/bs-company-switcher.entry.js +3 -3
- package/dist/esm/bs-composer-status-banner.entry.js +2 -2
- package/dist/esm/bs-composer.entry.js +6 -4
- package/dist/esm/bs-container.entry.js +2 -2
- package/dist/esm/bs-cookie-consent.entry.js +1 -1
- package/dist/esm/bs-data-table.entry.js +8 -5
- package/dist/esm/bs-datepicker.entry.js +2 -2
- package/dist/esm/bs-description-item.entry.js +21 -0
- package/dist/esm/bs-description-list.entry.js +38 -0
- package/dist/esm/bs-dialog.entry.js +1 -1
- package/dist/esm/bs-divider.entry.js +2 -2
- package/dist/esm/bs-dropdown.entry.js +94 -0
- package/dist/esm/bs-empty-state.entry.js +7 -3
- package/dist/esm/bs-error-page.entry.js +2 -2
- package/dist/esm/bs-file-upload-item.entry.js +2 -2
- package/dist/esm/bs-file-upload.entry.js +2 -2
- package/dist/esm/bs-global-search.entry.js +3 -3
- package/dist/esm/bs-grid.entry.js +3 -3
- package/dist/esm/bs-heading.entry.js +26 -0
- package/dist/esm/bs-icon-button.entry.js +10 -3
- package/dist/esm/bs-icon-tile.entry.js +3 -3
- package/dist/esm/bs-icon.entry.js +33 -0
- package/dist/esm/bs-inline-tab.entry.js +3 -3
- package/dist/esm/bs-input_4.entry.js +789 -0
- package/dist/esm/bs-key-caps.entry.js +2 -2
- package/dist/esm/bs-key.entry.js +2 -2
- package/dist/esm/bs-keyboard-shortcuts.entry.js +3 -3
- package/dist/esm/bs-link.entry.js +50 -0
- package/dist/esm/bs-list-item.entry.js +66 -0
- package/dist/esm/bs-list.entry.js +9 -3
- package/dist/esm/bs-logo.entry.js +1 -1
- package/dist/esm/bs-mega-menu.entry.js +2 -2
- package/dist/esm/bs-message-list.entry.js +2 -2
- package/dist/esm/bs-message.entry.js +2 -2
- package/dist/esm/bs-navigation-drawer-item.entry.js +26 -5
- package/dist/esm/bs-navigation-drawer.entry.js +4 -4
- package/dist/esm/bs-navigation-header.entry.js +4 -4
- package/dist/esm/bs-onboarding-checklist.entry.js +1 -1
- package/dist/esm/bs-page-header.entry.js +2 -2
- package/dist/esm/bs-pagination.entry.js +2 -2
- package/dist/esm/{bs-list-item_2.entry.js → bs-popover.entry.js} +3 -64
- package/dist/esm/bs-presence.entry.js +2 -2
- package/dist/esm/bs-product-tour.entry.js +1 -1
- package/dist/esm/bs-progress-linear.entry.js +4 -4
- package/dist/esm/bs-progress.entry.js +3 -3
- package/dist/esm/bs-qr-code.entry.js +2 -2
- package/dist/esm/bs-radio-group.entry.js +88 -0
- package/dist/esm/bs-radio.entry.js +6 -2
- package/dist/esm/bs-search-item.entry.js +2 -2
- package/dist/esm/bs-select.entry.js +232 -0
- package/dist/esm/bs-session-timeout.entry.js +2 -2
- package/dist/esm/bs-shortcut-row.entry.js +2 -2
- package/dist/esm/bs-side-panel.entry.js +1 -1
- package/dist/esm/bs-skip-link.entry.js +50 -0
- package/dist/esm/bs-slider.entry.js +3 -3
- package/dist/esm/bs-snackbar.entry.js +3 -3
- package/dist/esm/bs-source-link.entry.js +4 -4
- package/dist/esm/bs-split-pane.entry.js +2 -2
- package/dist/esm/bs-stack.entry.js +2 -2
- package/dist/esm/bs-stat.entry.js +51 -0
- package/dist/esm/bs-stepper-step.entry.js +2 -2
- package/dist/esm/bs-stepper.entry.js +2 -2
- package/dist/esm/bs-switch.entry.js +2 -2
- package/dist/esm/bs-tab_3.entry.js +16 -9
- package/dist/esm/bs-table-of-contents.entry.js +169 -0
- package/dist/esm/bs-tag.entry.js +49 -0
- package/dist/esm/bs-text.entry.js +22 -0
- package/dist/esm/bs-timepicker.entry.js +3 -3
- package/dist/esm/bs-toast.entry.js +2 -2
- package/dist/esm/bs-toggle-button-group.entry.js +106 -0
- package/dist/esm/bs-toggle-button.entry.js +55 -0
- package/dist/esm/bs-toolbar.entry.js +193 -0
- package/dist/esm/bs-tooltip-trigger.entry.js +2 -2
- package/dist/esm/bs-tooltip.entry.js +2 -2
- package/dist/esm/bs-tree-item.entry.js +3 -3
- package/dist/esm/bs-tree.entry.js +2 -2
- package/dist/esm/bs-whats-new.entry.js +1 -1
- package/dist/esm/icon-registry-Vo0zbGRB.js +60 -0
- package/dist/esm/{index-D3SkQJpw.js → index-wz7B473u.js} +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.d.ts +9 -0
- package/dist/types/components/bs-button/bs-button/bs-button.d.ts +22 -6
- package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +7 -0
- package/dist/types/components/bs-card/bs-card.d.ts +35 -0
- package/dist/types/components/bs-card/bs-card.stories.d.ts +3 -0
- package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts +3 -0
- package/dist/types/components/bs-checkbox-group/bs-checkbox-group.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-checkbox-group/bs-checkbox-group.d.ts +48 -0
- package/dist/types/components/bs-checkbox-group/bs-checkbox-group.stories.d.ts +15 -0
- package/dist/types/components/bs-code-block/bs-code-block.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-code-block/bs-code-block.d.ts +68 -0
- package/dist/types/components/bs-code-block/bs-code-block.stories.d.ts +18 -0
- package/dist/types/components/bs-data-table/bs-data-table.d.ts +11 -0
- package/dist/types/components/bs-description-item/bs-description-item.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-description-item/bs-description-item.d.ts +34 -0
- package/dist/types/components/bs-description-list/bs-description-list.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-description-list/bs-description-list.d.ts +33 -0
- package/dist/types/components/bs-description-list/bs-description-list.stories.d.ts +11 -0
- package/dist/types/components/bs-dropdown/bs-dropdown.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-dropdown/bs-dropdown.d.ts +51 -0
- package/dist/types/components/bs-dropdown/bs-dropdown.stories.d.ts +12 -0
- package/dist/types/components/bs-empty-state/bs-empty-state.d.ts +6 -0
- package/dist/types/components/bs-empty-state/bs-empty-state.stories.d.ts +3 -0
- package/dist/types/components/bs-heading/bs-heading.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-heading/bs-heading.d.ts +34 -0
- package/dist/types/components/bs-heading/bs-heading.stories.d.ts +15 -0
- package/dist/types/components/bs-icon/bs-icon.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-icon/bs-icon.d.ts +39 -0
- package/dist/types/components/bs-icon/bs-icon.stories.d.ts +16 -0
- package/dist/types/components/bs-icon/icon-registry.d.ts +16 -0
- package/dist/types/components/bs-input/bs-input.d.ts +83 -12
- package/dist/types/components/bs-input/bs-input.stories.d.ts +3 -1
- package/dist/types/components/bs-link/bs-link.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-link/bs-link.d.ts +48 -0
- package/dist/types/components/bs-link/bs-link.stories.d.ts +19 -0
- package/dist/types/components/bs-list/bs-list.d.ts +6 -0
- package/dist/types/components/bs-list/bs-list.stories.d.ts +4 -0
- package/dist/types/components/bs-list-item/bs-list-item.d.ts +3 -0
- package/dist/types/components/bs-radio/bs-radio.d.ts +4 -0
- package/dist/types/components/bs-radio-group/bs-radio-group.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-radio-group/bs-radio-group.d.ts +57 -0
- package/dist/types/components/bs-radio-group/bs-radio-group.stories.d.ts +16 -0
- package/dist/types/components/bs-select/bs-select.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-select/bs-select.d.ts +85 -0
- package/dist/types/components/bs-select/bs-select.stories.d.ts +19 -0
- package/dist/types/components/bs-skip-link/bs-skip-link.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-skip-link/bs-skip-link.d.ts +40 -0
- package/dist/types/components/bs-skip-link/bs-skip-link.stories.d.ts +10 -0
- package/dist/types/components/bs-stat/bs-stat.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-stat/bs-stat.d.ts +56 -0
- package/dist/types/components/bs-stat/bs-stat.stories.d.ts +16 -0
- package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.stories.d.ts +0 -1
- package/dist/types/components/bs-tab/bs-tabs/bs-tabs.d.ts +5 -3
- package/dist/types/components/bs-table-of-contents/bs-table-of-contents.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-table-of-contents/bs-table-of-contents.d.ts +96 -0
- package/dist/types/components/bs-table-of-contents/bs-table-of-contents.stories.d.ts +13 -0
- package/dist/types/components/bs-tag/bs-tag.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-tag/bs-tag.d.ts +49 -0
- package/dist/types/components/bs-tag/bs-tag.stories.d.ts +16 -0
- package/dist/types/components/bs-text/bs-text.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-text/bs-text.d.ts +31 -0
- package/dist/types/components/bs-text/bs-text.stories.d.ts +14 -0
- package/dist/types/components/bs-toggle-button/bs-toggle-button.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-toggle-button/bs-toggle-button.d.ts +48 -0
- package/dist/types/components/bs-toggle-button/bs-toggle-button.stories.d.ts +13 -0
- package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.d.ts +42 -0
- package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.stories.d.ts +13 -0
- package/dist/types/components/bs-toolbar/bs-toolbar.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-toolbar/bs-toolbar.d.ts +88 -0
- package/dist/types/components/bs-toolbar/bs-toolbar.stories.d.ts +13 -0
- package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.d.ts +11 -1
- package/dist/types/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.stories.d.ts +3 -0
- package/dist/types/components.d.ts +3107 -88
- package/dist/types/index.d.ts +1 -0
- package/dist/types/test/helpers/block-link-navigation.d.ts +8 -0
- package/dist/types/test/helpers/contrast.d.ts +5 -0
- package/package.json +1 -1
- package/reference.d.ts +63 -9
- package/reference.json +668 -15
- package/dist/brandsync-wc/p-08649f52.entry.js +0 -1
- package/dist/brandsync-wc/p-1580c56c.entry.js +0 -1
- package/dist/brandsync-wc/p-171fa239.entry.js +0 -1
- package/dist/brandsync-wc/p-197ac73f.entry.js +0 -1
- package/dist/brandsync-wc/p-270b2cb0.entry.js +0 -1
- package/dist/brandsync-wc/p-28c38959.entry.js +0 -1
- package/dist/brandsync-wc/p-2a967b45.entry.js +0 -1
- package/dist/brandsync-wc/p-2b3d0bd4.entry.js +0 -1
- package/dist/brandsync-wc/p-3627e0c6.entry.js +0 -1
- package/dist/brandsync-wc/p-38a2210a.entry.js +0 -1
- package/dist/brandsync-wc/p-3b212a8a.entry.js +0 -1
- package/dist/brandsync-wc/p-4dfd4715.entry.js +0 -1
- package/dist/brandsync-wc/p-6afacd47.entry.js +0 -1
- package/dist/brandsync-wc/p-6f32a08e.entry.js +0 -1
- package/dist/brandsync-wc/p-D3SkQJpw.js +0 -3
- package/dist/brandsync-wc/p-ab301e9d.entry.js +0 -1
- package/dist/brandsync-wc/p-d15e48eb.entry.js +0 -1
- package/dist/brandsync-wc/p-e776d145.entry.js +0 -1
- package/dist/brandsync-wc/p-eb680cff.entry.js +0 -1
- package/dist/brandsync-wc/p-f4628861.entry.js +0 -1
- package/dist/brandsync-wc/p-f5e6fdf8.entry.js +0 -1
- package/dist/brandsync-wc/p-f93127e1.entry.js +0 -1
- package/dist/cjs/bs-input_3.cjs.entry.js +0 -461
- package/dist/cjs/bs-spinner.cjs.entry.js +0 -24
- package/dist/components/p-B2gx7SZk.js +0 -1
- package/dist/components/p-BHzj13sd.js +0 -1
- package/dist/components/p-BIxcCDgl.js +0 -1
- package/dist/components/p-BfCah-Ij.js +0 -1
- package/dist/components/p-CvSewXZF.js +0 -1
- package/dist/components/p-DsBToIYE.js +0 -1
- package/dist/components/p-EGNLb4cQ.js +0 -1
- package/dist/components/p-Jik5UkAe.js +0 -1
- package/dist/components/p-syO0ipbw.js +0 -1
- package/dist/components/p-up01gvHY.js +0 -1
- package/dist/esm/bs-input_3.entry.js +0 -457
- package/dist/esm/bs-spinner.entry.js +0 -22
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsIconArgs {
|
|
3
|
+
name: string;
|
|
4
|
+
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
+
tone: 'default' | 'muted' | 'action' | 'success' | 'info' | 'warning' | 'error' | 'inverse' | 'inherit';
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
declare const meta: Meta<BsIconArgs>;
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<BsIconArgs>;
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
export declare const AllNames: Story;
|
|
13
|
+
export declare const Sizes: Story;
|
|
14
|
+
export declare const Tones: Story;
|
|
15
|
+
export declare const Labelled: Story;
|
|
16
|
+
export declare const Slotted: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** An icon drawn on its own grid with filled (not stroked) shapes, e.g. Phosphor's 256x256 glyphs. */
|
|
2
|
+
export interface BsIconDefinition {
|
|
3
|
+
viewBox: string;
|
|
4
|
+
body: string;
|
|
5
|
+
}
|
|
6
|
+
export type BsIconEntry = string | BsIconDefinition;
|
|
7
|
+
/**
|
|
8
|
+
* Register (or replace) named icons. Values are inner SVG markup for a 24x24 viewBox using
|
|
9
|
+
* `currentColor` strokes, or `{ viewBox, body }` for filled glyphs on another grid (rendered with `fill="currentColor"`). Only register markup you trust: it is inserted as-is.
|
|
10
|
+
* Already-rendered `bs-icon`s pick up new names on their next render.
|
|
11
|
+
*/
|
|
12
|
+
export declare function registerIcons(icons: Record<string, BsIconEntry>): void;
|
|
13
|
+
/** The entry (inner SVG markup string, or `{ viewBox, body }`) registered under `name`, or undefined. */
|
|
14
|
+
export declare function getIcon(name: string | undefined): BsIconEntry | undefined;
|
|
15
|
+
/** All registered icon names. */
|
|
16
|
+
export declare function iconNames(): string[];
|
|
@@ -5,7 +5,9 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
5
5
|
* select, textarea, chip input, initials, country, and pin) via the `type` prop, since they all
|
|
6
6
|
* share the same label/description/error/icon-slot chrome.
|
|
7
7
|
*
|
|
8
|
-
* Built from: `bs-menu`/`bs-menu-item` (`type="dropdown"`)
|
|
8
|
+
* Built from: `bs-menu`/`bs-menu-item` (`type="dropdown"`), `bs-chip-informative` + `bs-icon-button` (`type="chip"`),
|
|
9
|
+
* and `bs-icon-button` + `bs-spinner` (`type="combobox"` clear button / loading indicator; its listbox is a
|
|
10
|
+
* hand-built `role="listbox"` because `bs-menu` is `role="menu"` and cannot host `option`s).
|
|
9
11
|
*
|
|
10
12
|
* ## When to use
|
|
11
13
|
* - Collecting a single line of free-text, email, password, or numeric input.
|
|
@@ -28,13 +30,15 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
28
30
|
* For `type="date"`, the slot is used if provided, otherwise a default calendar icon is shown.
|
|
29
31
|
* @part field - The bordered field wrapper containing the icon(s) and native control(s).
|
|
30
32
|
* `type="initials"` renders this part on TWO separate elements instead of one (the title
|
|
31
|
-
*
|
|
33
|
+
* picker's own small box, and the name `<input>`'s own box) -- Figma specs these as two
|
|
32
34
|
* genuinely independent bordered containers with a gap between them, not one shared field the
|
|
33
|
-
* way every other composite type
|
|
35
|
+
* way every other composite type renders, so `::part(field)` reaches
|
|
34
36
|
* whichever of the two a given selector context matches, same "multiple elements, one shared
|
|
35
37
|
* part name" convention as `bs-attachment`'s own `star` part.
|
|
36
38
|
* @part menu - The `bs-menu` rendered below the field for `type="dropdown"` when `open` and
|
|
37
|
-
* `options` is non-empty
|
|
39
|
+
* `options` is non-empty; for `type="combobox"` the popup (listbox + status message) while `open`.
|
|
40
|
+
* @part option - A single `role="option"` row of the `type="combobox"` listbox.
|
|
41
|
+
* @part clear - The clear button (`bs-icon-button`) of `type="combobox"`.
|
|
38
42
|
* @part label - The `<label>` element.
|
|
39
43
|
* @part required - The red `*` rendered after the label text when `required` is set.
|
|
40
44
|
* @part icon - The leading icon wrapper element.
|
|
@@ -65,8 +69,12 @@ export declare class BsInput {
|
|
|
65
69
|
incrementLabel: string;
|
|
66
70
|
/** Accessible name of the number stepper's decrement button. */
|
|
67
71
|
decrementLabel: string;
|
|
68
|
-
type: 'text' | 'email' | 'password' | 'number' | 'search' | 'date' | 'dropdown' | 'select' | 'textarea' | 'chip' | 'initials' | 'country' | 'pin';
|
|
72
|
+
type: 'text' | 'email' | 'password' | 'number' | 'search' | 'date' | 'dropdown' | 'select' | 'textarea' | 'chip' | 'initials' | 'country' | 'pin' | 'combobox';
|
|
69
73
|
label?: string;
|
|
74
|
+
/** Accessible name for the control, used only when no visible `label` is set (e.g. a search field
|
|
75
|
+
* with no visible label). Passed to the inner native control, because an `aria-label` on the
|
|
76
|
+
* `<bs-input>` host cannot name an element inside its shadow root. */
|
|
77
|
+
ariaLabel: string | null;
|
|
70
78
|
placeholder?: string;
|
|
71
79
|
description?: string;
|
|
72
80
|
error?: string;
|
|
@@ -80,7 +88,7 @@ export declare class BsInput {
|
|
|
80
88
|
min?: number;
|
|
81
89
|
/** Maximum value for `type="number"`'s stepper buttons. */
|
|
82
90
|
max?: number;
|
|
83
|
-
/** Options for `type="select"` (rendered as
|
|
91
|
+
/** Options for `type="select"` (rendered as `role="option"` rows of an in-shadow listbox) and `type="dropdown"` (rendered
|
|
84
92
|
* as a `bs-menu` of `bs-menu-item`s when `open`). Must be set as a JS property, not an HTML
|
|
85
93
|
* attribute -- see CONVENTIONS.md's non-string props rule. */
|
|
86
94
|
options: {
|
|
@@ -99,6 +107,8 @@ export declare class BsInput {
|
|
|
99
107
|
* `title` is a reserved standard HTML attribute (tooltip text) inherited by every element, and
|
|
100
108
|
* Stencil warns against shadowing it with a component `@Prop`. */
|
|
101
109
|
initialsTitle: string;
|
|
110
|
+
/** `type="initials"`: accessible name of the title picker (its visible text is just the title). */
|
|
111
|
+
titleLabel: string;
|
|
102
112
|
/** Country select options for `type="country"`. Must be set as a JS property, not an HTML
|
|
103
113
|
* attribute -- see CONVENTIONS.md's non-string props rule. */
|
|
104
114
|
countryOptions: {
|
|
@@ -108,9 +118,26 @@ export declare class BsInput {
|
|
|
108
118
|
}[];
|
|
109
119
|
/** Current selected country code for `type="country"`. */
|
|
110
120
|
country: string;
|
|
121
|
+
/** `type="country"`: accessible name of the country picker (its visible content is just the flag). */
|
|
122
|
+
countryLabel: string;
|
|
111
123
|
/** Number of cells for `type="pin"`. */
|
|
112
124
|
length: number;
|
|
113
|
-
/**
|
|
125
|
+
/** `type="combobox"`: shows a loading indicator and, while no options match, a loading message
|
|
126
|
+
* in the popup instead of "no results". Use while fetching `options` asynchronously. */
|
|
127
|
+
loading: boolean;
|
|
128
|
+
/** `type="combobox"`: when true (default) `options` are filtered client-side by whether the label
|
|
129
|
+
* contains the typed text. Set false when you supply already-filtered results yourself (e.g. from
|
|
130
|
+
* a server) in response to `bsInput`. */
|
|
131
|
+
filterOptions: boolean;
|
|
132
|
+
/** `type="combobox"`: text of the popup row shown when no option matches. */
|
|
133
|
+
noResultsLabel: string;
|
|
134
|
+
/** `type="combobox"`: text of the popup row shown while `loading` and nothing matches. */
|
|
135
|
+
loadingLabel: string;
|
|
136
|
+
/** `type="combobox"`: accessible name of the clear button. */
|
|
137
|
+
clearLabel: string;
|
|
138
|
+
/** `type="date"`: accessible name of the default calendar button that opens the native picker. */
|
|
139
|
+
openPickerLabel: string;
|
|
140
|
+
/** Whether the `type="dropdown"` / `type="combobox"` popup is open. Reflects to an attribute so consumers can style
|
|
114
141
|
* an open state via CSS. When `options` is non-empty, this also controls whether the `bs-menu`
|
|
115
142
|
* of `bs-menu-item`s is rendered below the field. */
|
|
116
143
|
open: boolean;
|
|
@@ -120,12 +147,18 @@ export declare class BsInput {
|
|
|
120
147
|
* shell-only limitation. */
|
|
121
148
|
bsOpen: EventEmitter<boolean>;
|
|
122
149
|
/** Emitted when a chip is committed (Enter pressed in the draft input) for `type="chip"`. */
|
|
150
|
+
/** Emitted when an option is chosen for `type="combobox"` (click or Enter), with the option's
|
|
151
|
+
* `{ label, value }`. `value` of the component itself becomes the option's label (the text shown). */
|
|
152
|
+
bsOptionSelect: EventEmitter<{
|
|
153
|
+
label: string;
|
|
154
|
+
value: string;
|
|
155
|
+
}>;
|
|
123
156
|
bsChipAdd: EventEmitter<string>;
|
|
124
157
|
/** Emitted when a chip's remove button is clicked for `type="chip"`. */
|
|
125
158
|
bsChipRemove: EventEmitter<string>;
|
|
126
|
-
/** Emitted when
|
|
159
|
+
/** Emitted when a title is chosen from the picker for `type="initials"`. */
|
|
127
160
|
bsTitleChange: EventEmitter<string>;
|
|
128
|
-
/** Emitted when
|
|
161
|
+
/** Emitted when a country is chosen from the picker for `type="country"`. */
|
|
129
162
|
bsCountryChange: EventEmitter<string>;
|
|
130
163
|
/** Tracks whether the `icon` slot has assigned content, so the leading icon wrapper only takes
|
|
131
164
|
* up space in the field when there's actually an icon (same pattern as `bs-button`). */
|
|
@@ -138,7 +171,23 @@ export declare class BsInput {
|
|
|
138
171
|
passwordVisible: boolean;
|
|
139
172
|
/** Draft text for `type="chip"`'s trailing input, committed to a chip on Enter. */
|
|
140
173
|
chipDraft: string;
|
|
174
|
+
/** Index into the visible (filtered) options of the active option for `type="combobox"`, -1 for none. */
|
|
175
|
+
activeIndex: number;
|
|
176
|
+
/** True once the user has typed in the `type="combobox"` input, so opening it with a value that is
|
|
177
|
+
* already a chosen label still lists every option instead of only that one. */
|
|
178
|
+
comboFiltering: boolean;
|
|
141
179
|
private pinInputs;
|
|
180
|
+
private get isPopupType();
|
|
181
|
+
/** `select`, `initials` (title) and `country` render a trigger button plus an in-shadow listbox
|
|
182
|
+
* styled like `bs-menu`, instead of a native `<select>` whose popup cannot be themed. */
|
|
183
|
+
private get isPickerType();
|
|
184
|
+
private typeahead;
|
|
185
|
+
private typeaheadTimer?;
|
|
186
|
+
private get pickerItems();
|
|
187
|
+
private get pickerSelectedValue();
|
|
188
|
+
private get pickerSelectedIndex();
|
|
189
|
+
private get visibleOptions();
|
|
190
|
+
componentDidRender(): void;
|
|
142
191
|
/** Computes the initial `hasIcon`/`hasEndIcon` state directly from the host's light DOM
|
|
143
192
|
* children, before first render -- see `bs-button`'s `componentWillLoad` for why `slotchange`
|
|
144
193
|
* alone isn't enough for a slot that starts (and stays) empty. */
|
|
@@ -155,6 +204,11 @@ export declare class BsInput {
|
|
|
155
204
|
private onIconSlotchange;
|
|
156
205
|
private onEndIconSlotchange;
|
|
157
206
|
private onInput;
|
|
207
|
+
private setOpen;
|
|
208
|
+
private onComboboxKeydown;
|
|
209
|
+
private selectComboOption;
|
|
210
|
+
private onClear;
|
|
211
|
+
private onDatePickerOpen;
|
|
158
212
|
private onChange;
|
|
159
213
|
private clampNumber;
|
|
160
214
|
private onStepperIncrement;
|
|
@@ -171,11 +225,18 @@ export declare class BsInput {
|
|
|
171
225
|
* a click outside that moves focus elsewhere) -- `focusout` is composed, so it bubbles across
|
|
172
226
|
* the `bs-menu-item` shadow boundary too. */
|
|
173
227
|
onHostFocusOut(ev: FocusEvent): void;
|
|
228
|
+
/** Closes an open picker on a click anywhere outside the component (focusout alone misses clicks
|
|
229
|
+
* on non-focusable page areas in some browsers). */
|
|
230
|
+
onDocumentClick(ev: MouseEvent): void;
|
|
174
231
|
private onChipDraftInput;
|
|
175
232
|
private onChipDraftKeydown;
|
|
176
233
|
private onChipRemove;
|
|
177
|
-
private
|
|
178
|
-
private
|
|
234
|
+
private pickerCommit;
|
|
235
|
+
private pickerOpen;
|
|
236
|
+
private onPickerToggle;
|
|
237
|
+
private onPickerOptionClick;
|
|
238
|
+
private onPickerKeyup;
|
|
239
|
+
private onPickerKeydown;
|
|
179
240
|
private onPinInput;
|
|
180
241
|
private onPinKeydown;
|
|
181
242
|
private get showsEndIconArea();
|
|
@@ -183,13 +244,23 @@ export declare class BsInput {
|
|
|
183
244
|
private renderIconContent;
|
|
184
245
|
private renderEndIconContent;
|
|
185
246
|
private renderStandardControl;
|
|
247
|
+
/** An image URL flag renders as `<img>`; anything else (an emoji) as text. */
|
|
248
|
+
private renderFlag;
|
|
249
|
+
/** The trigger button of the select/title/country pickers: a focusable `role="combobox"` whose
|
|
250
|
+
* listbox lives in this same shadow root so aria-controls/aria-activedescendant resolve. */
|
|
251
|
+
private renderPickerTrigger;
|
|
252
|
+
private renderPickerPopup;
|
|
186
253
|
private renderSelectControl;
|
|
187
254
|
private renderTextareaControl;
|
|
188
255
|
private renderChipControl;
|
|
189
256
|
private renderInitialsField;
|
|
257
|
+
private renderCountryField;
|
|
190
258
|
private renderSelectChevron;
|
|
191
|
-
private renderCountryControl;
|
|
192
259
|
private renderControl;
|
|
260
|
+
private onComboboxFieldClick;
|
|
261
|
+
/** The `type="combobox"` popup. Rendered inside this shadow root so `aria-controls` and
|
|
262
|
+
* `aria-activedescendant` on the input resolve to real elements. */
|
|
263
|
+
private renderComboboxPopup;
|
|
193
264
|
private renderField;
|
|
194
265
|
private renderPinField;
|
|
195
266
|
render(): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
-
type BsInputType = 'text' | 'email' | 'password' | 'number' | 'search' | 'date' | 'dropdown' | 'select' | 'textarea' | 'chip' | 'initials' | 'country' | 'pin';
|
|
2
|
+
type BsInputType = 'text' | 'email' | 'password' | 'number' | 'search' | 'date' | 'dropdown' | 'select' | 'textarea' | 'chip' | 'initials' | 'country' | 'pin' | 'combobox';
|
|
3
3
|
interface BsInputArgs {
|
|
4
4
|
type: BsInputType;
|
|
5
5
|
label: string;
|
|
@@ -26,6 +26,8 @@ export declare const NumberInput: Story;
|
|
|
26
26
|
export declare const Password: Story;
|
|
27
27
|
export declare const DateInput: Story;
|
|
28
28
|
export declare const Dropdown: Story;
|
|
29
|
+
export declare const Combobox: Story;
|
|
30
|
+
export declare const ComboboxLoading: Story;
|
|
29
31
|
export declare const Select: Story;
|
|
30
32
|
export declare const TextArea: Story;
|
|
31
33
|
export declare const Chip: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BsLinkVariant = 'inline' | 'standalone' | 'button';
|
|
3
|
+
/**
|
|
4
|
+
* A navigation link: either text (inline within a sentence, or standalone with a 44px target) or a
|
|
5
|
+
* link styled as a primary button. Always renders a real `<a href>`.
|
|
6
|
+
*
|
|
7
|
+
* Built from: hand-built `<a>` (leaf). `bs-button` renders a `<button>` and has no `href`; nesting a
|
|
8
|
+
* button in an anchor is invalid HTML, so the `button` variant reuses the primary button's colour
|
|
9
|
+
* tokens instead. Known gap: add `href` support to `bs-button` and compose it here.
|
|
10
|
+
*
|
|
11
|
+
* ## When to use
|
|
12
|
+
* - Navigating to another page or an external resource.
|
|
13
|
+
*
|
|
14
|
+
* ## When not to use
|
|
15
|
+
* - Triggering an action on the current page (use `bs-button`).
|
|
16
|
+
*
|
|
17
|
+
* @slot - Default slot: the link text.
|
|
18
|
+
* @part link - The anchor element.
|
|
19
|
+
* @part label - The text wrapper.
|
|
20
|
+
* @part icon - The external-link icon.
|
|
21
|
+
*/
|
|
22
|
+
export declare class BsLink {
|
|
23
|
+
/** Destination. */
|
|
24
|
+
href?: string;
|
|
25
|
+
/** Browsing context (e.g. `_blank`). `_blank` implies the external icon. */
|
|
26
|
+
target?: string;
|
|
27
|
+
/** Link relationship. Defaults to `noopener noreferrer` when `target="_blank"`. */
|
|
28
|
+
rel?: string;
|
|
29
|
+
/** `inline` sits in running text; `standalone` has a 44px minimum touch target; `button` is
|
|
30
|
+
* styled as a primary button (also 44px). */
|
|
31
|
+
variant: BsLinkVariant;
|
|
32
|
+
/** Shows the external-link icon (always shown for `target="_blank"`). */
|
|
33
|
+
external: boolean;
|
|
34
|
+
/** Visually hidden suffix announced for links that open in a new tab. */
|
|
35
|
+
externalLabel: string;
|
|
36
|
+
/** Marks the link as the current page (`aria-current="page"`). */
|
|
37
|
+
current: boolean;
|
|
38
|
+
/** Accessible name override (needed on the host, as `aria-label` does not cross the shadow boundary). */
|
|
39
|
+
ariaLabel: string | null;
|
|
40
|
+
/** Fires on a plain primary click before the browser navigates. **Cancelable**: call
|
|
41
|
+
* `preventDefault()` to route it yourself (SPA router). Detail is `{ href }`. Ctrl/cmd/shift/alt
|
|
42
|
+
* and middle clicks are left to the browser. Bubbles and is composed. */
|
|
43
|
+
bsNavigate: EventEmitter<{
|
|
44
|
+
href: string;
|
|
45
|
+
}>;
|
|
46
|
+
private onClick;
|
|
47
|
+
render(): any;
|
|
48
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
type BsLinkVariant = 'inline' | 'standalone' | 'button';
|
|
3
|
+
interface BsLinkArgs {
|
|
4
|
+
variant: BsLinkVariant;
|
|
5
|
+
href: string;
|
|
6
|
+
target: string;
|
|
7
|
+
external: boolean;
|
|
8
|
+
current: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
declare const meta: Meta<BsLinkArgs>;
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<BsLinkArgs>;
|
|
14
|
+
export declare const Default: Story;
|
|
15
|
+
export declare const Inline: Story;
|
|
16
|
+
export declare const Standalone: Story;
|
|
17
|
+
export declare const External: Story;
|
|
18
|
+
export declare const LinkButton: Story;
|
|
19
|
+
export declare const Current: Story;
|
|
@@ -11,6 +11,10 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
11
11
|
* - Navigation between app sections -- use `bs-navigation-drawer`.
|
|
12
12
|
* - Multi-column, sortable or paged data -- use `bs-data-table`.
|
|
13
13
|
*
|
|
14
|
+
* `variant` switches between a plain list, a bulleted list and a numbered list; `dividers` gives a divided
|
|
15
|
+
* list. The list keeps real list semantics in every variant (`role="list"` with `listitem` rows); the bullet
|
|
16
|
+
* or number is drawn by the row and hidden from assistive technology, which announces position itself.
|
|
17
|
+
*
|
|
14
18
|
* Built from `bs-list-item` children (light DOM; the list never moves nodes).
|
|
15
19
|
*
|
|
16
20
|
* @slot - The `bs-list-item` rows.
|
|
@@ -24,6 +28,8 @@ export declare class BsList {
|
|
|
24
28
|
selectable: boolean;
|
|
25
29
|
/** `value` of the selected item (selectable mode). */
|
|
26
30
|
value: string | null;
|
|
31
|
+
/** `plain` (default), `bulleted` (a bullet before each row) or `numbered` (1., 2., 3., ...). Ignored when `selectable`. */
|
|
32
|
+
variant: 'plain' | 'bulleted' | 'numbered';
|
|
27
33
|
/** Draws a 1px separator between rows. */
|
|
28
34
|
dividers: boolean;
|
|
29
35
|
/** Accessible name of the list. */
|
|
@@ -2,6 +2,7 @@ import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
|
2
2
|
interface BsListArgs {
|
|
3
3
|
selectable: boolean;
|
|
4
4
|
dividers: boolean;
|
|
5
|
+
variant: 'plain' | 'bulleted' | 'numbered';
|
|
5
6
|
value: string;
|
|
6
7
|
}
|
|
7
8
|
declare const meta: Meta<BsListArgs>;
|
|
@@ -11,3 +12,6 @@ export declare const Default: Story;
|
|
|
11
12
|
export declare const Selectable: Story;
|
|
12
13
|
export declare const WithDividers: Story;
|
|
13
14
|
export declare const AvatarList: Story;
|
|
15
|
+
export declare const Bulleted: Story;
|
|
16
|
+
export declare const Numbered: Story;
|
|
17
|
+
export declare const DividedWithTrailingAction: Story;
|
|
@@ -24,6 +24,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
24
24
|
* @slot trailing - Replaces the default caret. Rendered when `showArrow` is set or the slot has content.
|
|
25
25
|
* @slot - Rich content that replaces `label`, `description` and `supportText` entirely.
|
|
26
26
|
* @part container - The row.
|
|
27
|
+
* @part marker - The bullet or number drawn by a bulleted / numbered `bs-list`.
|
|
27
28
|
* @part leading - Wrapper around the leading slot.
|
|
28
29
|
* @part content - The text column.
|
|
29
30
|
* @part label - The label line.
|
|
@@ -72,6 +73,8 @@ export declare class BsListItem {
|
|
|
72
73
|
interactive: boolean;
|
|
73
74
|
/** Set by the parent `bs-list`: `listitem` (plain list) or `option` (selectable list). Do not set by hand. */
|
|
74
75
|
selectionRole: 'listitem' | 'option' | null;
|
|
76
|
+
/** Set by the parent `bs-list` for `bulleted` / `numbered` variants: the visual marker. Hidden from assistive technology. Do not set by hand. */
|
|
77
|
+
marker: string | null;
|
|
75
78
|
hasLeading: boolean;
|
|
76
79
|
hasTrailing: boolean;
|
|
77
80
|
hasDefault: boolean;
|
|
@@ -28,6 +28,10 @@ export declare class BsRadio {
|
|
|
28
28
|
/** The native radio input's `value` attribute -- read from `event.target.value`, or used when
|
|
29
29
|
* wiring the group up to a form. */
|
|
30
30
|
value: string;
|
|
31
|
+
/** Accessible name for the radio, set as `aria-label` on the native input. Use it when the radio
|
|
32
|
+
* has no slotted label text (an icon-only choice) or its visible label lives elsewhere. Same as
|
|
33
|
+
* `bs-checkbox` / `bs-switch`. */
|
|
34
|
+
ariaLabel: string | null;
|
|
31
35
|
/** Whether the radio is checked. Mutable so clicking the label/input sets it directly. */
|
|
32
36
|
checked: boolean;
|
|
33
37
|
/** Disables the radio: sets the native `disabled` attribute, suppresses hover/focus styling, and
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BsRadioGroupOrientation = 'vertical' | 'horizontal';
|
|
3
|
+
/**
|
|
4
|
+
* A labelled group of `bs-radio`s: a visible label, helper or error text, an accessible
|
|
5
|
+
* `role="radiogroup"`, and a single `value` for the whole set.
|
|
6
|
+
*
|
|
7
|
+
* The group gives its radios one shared `name` (its own `name`, or a generated one) so they behave
|
|
8
|
+
* as one native-style group: arrow keys move the selection (wrapping), only the checked radio is in
|
|
9
|
+
* the tab order, and checking one unchecks the others. It keeps at most one radio checked (the
|
|
10
|
+
* first one wins if several start checked).
|
|
11
|
+
*
|
|
12
|
+
* Composed from: `bs-radio` (slotted by you).
|
|
13
|
+
*
|
|
14
|
+
* ## When to use
|
|
15
|
+
* - A set of 2-5 mutually exclusive options that should all stay visible, with a shared label.
|
|
16
|
+
*
|
|
17
|
+
* ## When not to use
|
|
18
|
+
* - Independent yes/no choices: use `bs-checkbox-group`.
|
|
19
|
+
* - Many options: use a select or `bs-menu`.
|
|
20
|
+
*
|
|
21
|
+
* @slot - The `bs-radio` elements.
|
|
22
|
+
* @part group - The `role="radiogroup"` element.
|
|
23
|
+
* @part label - The visible label.
|
|
24
|
+
* @part options - The wrapper laying out the radios (column, or row when `orientation="horizontal"`).
|
|
25
|
+
* @part description - The helper text (hidden while `error` is set).
|
|
26
|
+
* @part error - The error message.
|
|
27
|
+
*/
|
|
28
|
+
export declare class BsRadioGroup {
|
|
29
|
+
el: HTMLElement;
|
|
30
|
+
private id;
|
|
31
|
+
/** Visible group label, also the accessible name of the group. */
|
|
32
|
+
label?: string;
|
|
33
|
+
/** Helper text under the options. Replaced by `error` while that is set. */
|
|
34
|
+
description?: string;
|
|
35
|
+
/** Error message. Sets `aria-invalid`, replaces the helper text and is announced with the group. */
|
|
36
|
+
error?: string;
|
|
37
|
+
/** Layout of the radios. */
|
|
38
|
+
orientation: BsRadioGroupOrientation;
|
|
39
|
+
/** `name` given to every radio in the group. Defaults to a generated, unique name. */
|
|
40
|
+
name?: string;
|
|
41
|
+
/** `value` of the checked radio. Setting it checks the matching radio (and unchecks the rest). */
|
|
42
|
+
value?: string;
|
|
43
|
+
/** Marks the group as required: sets `aria-required` and shows an asterisk after the label. */
|
|
44
|
+
required: boolean;
|
|
45
|
+
/** Check the first enabled radio when none is checked, so a choice is always made. Off by default so a form can start empty. */
|
|
46
|
+
selectFirst: boolean;
|
|
47
|
+
/** Emitted with the new `value` when the user checks a radio. Replaces the radios' own `bsChange`, which does not reach listeners outside the group. */
|
|
48
|
+
bsChange: EventEmitter<string>;
|
|
49
|
+
private radios;
|
|
50
|
+
onValueOrName(): void;
|
|
51
|
+
componentWillLoad(): void;
|
|
52
|
+
/** Shared name on every radio, then reconcile checked state with `value`. */
|
|
53
|
+
private sync;
|
|
54
|
+
private onSlotchange;
|
|
55
|
+
onRadioChange(ev: CustomEvent<string>): void;
|
|
56
|
+
render(): any;
|
|
57
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsRadioGroupArgs {
|
|
3
|
+
label: string;
|
|
4
|
+
description: string;
|
|
5
|
+
error: string;
|
|
6
|
+
orientation: 'vertical' | 'horizontal';
|
|
7
|
+
required: boolean;
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
declare const meta: Meta<BsRadioGroupArgs>;
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<BsRadioGroupArgs>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const Horizontal: Story;
|
|
15
|
+
export declare const WithHelperText: Story;
|
|
16
|
+
export declare const WithError: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export interface BsSelectOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A single-choice select: a field-shaped combobox that opens a scrollable listbox of options. Same
|
|
9
|
+
* label / helper text / error chrome as `bs-input`.
|
|
10
|
+
*
|
|
11
|
+
* Follows the WAI-ARIA select-only combobox pattern: focus stays on the combobox and the
|
|
12
|
+
* highlighted option is exposed through `aria-activedescendant`.
|
|
13
|
+
*
|
|
14
|
+
* Built from: the field/label/description/error styling language of `bs-input` (same `--bs-input-*`
|
|
15
|
+
* tokens). The listbox rows are hand-built leaf elements: `bs-menu-item` is a `role="menuitem"`
|
|
16
|
+
* button and `bs-popover` moves focus into its popup, neither of which fits the combobox/listbox
|
|
17
|
+
* pattern where focus must stay on the field.
|
|
18
|
+
*
|
|
19
|
+
* ## When to use
|
|
20
|
+
* - Choosing exactly one value from a known list of roughly 4-15 options.
|
|
21
|
+
*
|
|
22
|
+
* ## When not to use
|
|
23
|
+
* - 2-3 options that should all be visible (use radios or `bs-toggle-button-group`).
|
|
24
|
+
* - Very long or searchable lists (use `bs-input type="dropdown"` or a search pattern).
|
|
25
|
+
*
|
|
26
|
+
* @part label - The label element.
|
|
27
|
+
* @part field - The bordered combobox element.
|
|
28
|
+
* @part value - The selected label (or placeholder).
|
|
29
|
+
* @part icon - The chevron.
|
|
30
|
+
* @part listbox - The popup listbox.
|
|
31
|
+
* @part option - A single option row.
|
|
32
|
+
* @part description - Helper text (hidden when `error` is set).
|
|
33
|
+
* @part error - Error message.
|
|
34
|
+
*/
|
|
35
|
+
export declare class BsSelect {
|
|
36
|
+
el: HTMLElement;
|
|
37
|
+
internals: ElementInternals;
|
|
38
|
+
private uid;
|
|
39
|
+
private initialValue;
|
|
40
|
+
private typeahead;
|
|
41
|
+
private typeaheadTimer?;
|
|
42
|
+
private listEl?;
|
|
43
|
+
private fieldEl?;
|
|
44
|
+
/** Name the value is submitted under in a surrounding `<form>`. */
|
|
45
|
+
name?: string;
|
|
46
|
+
/** The selected option's `value`. */
|
|
47
|
+
value: string;
|
|
48
|
+
/** The options. Must be set as a JS property, not an attribute. */
|
|
49
|
+
options: BsSelectOption[];
|
|
50
|
+
/** Visible label. */
|
|
51
|
+
label?: string;
|
|
52
|
+
/** Accessible name when there is no visible `label`. */
|
|
53
|
+
ariaLabel: string | null;
|
|
54
|
+
/** Text shown while no option is selected. */
|
|
55
|
+
placeholder: string;
|
|
56
|
+
/** Helper text below the field (replaced by `error` when set). */
|
|
57
|
+
description?: string;
|
|
58
|
+
/** Error message; puts the field in its error state. */
|
|
59
|
+
error?: string;
|
|
60
|
+
/** Disables the select. */
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
/** Marks the field required (native form validation + asterisk). */
|
|
63
|
+
required: boolean;
|
|
64
|
+
/** Whether the listbox is open. */
|
|
65
|
+
open: boolean;
|
|
66
|
+
/** Emitted when the user picks an option, with the new value. */
|
|
67
|
+
bsChange: EventEmitter<string>;
|
|
68
|
+
activeIndex: number;
|
|
69
|
+
syncForm(): void;
|
|
70
|
+
onOpen(next: boolean): void;
|
|
71
|
+
formResetCallback(): void;
|
|
72
|
+
componentWillLoad(): void;
|
|
73
|
+
componentDidRender(): void;
|
|
74
|
+
disconnectedCallback(): void;
|
|
75
|
+
private onDocClick;
|
|
76
|
+
/** Next enabled index after `from` in direction `dir`; stays on `from` (or -1) when none. */
|
|
77
|
+
private step;
|
|
78
|
+
private commit;
|
|
79
|
+
private selectedIndex;
|
|
80
|
+
private findByPrefix;
|
|
81
|
+
private onKeyDown;
|
|
82
|
+
private onFieldClick;
|
|
83
|
+
private onBlur;
|
|
84
|
+
render(): any;
|
|
85
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsSelectArgs {
|
|
3
|
+
label: string;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
description: string;
|
|
6
|
+
error: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
required: boolean;
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
declare const meta: Meta<BsSelectArgs>;
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<BsSelectArgs>;
|
|
14
|
+
export declare const Default: Story;
|
|
15
|
+
export declare const WithHelperText: Story;
|
|
16
|
+
export declare const Selected: Story;
|
|
17
|
+
export declare const Error: Story;
|
|
18
|
+
export declare const Disabled: Story;
|
|
19
|
+
export declare const LongList: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* A "skip to main content" link: invisible until it receives keyboard focus, then shown at the top
|
|
4
|
+
* of the page. Activating it moves focus to the element its `href` points at, so keyboard and
|
|
5
|
+
* screen-reader users can bypass repeated navigation (WCAG 2.4.1 Bypass Blocks).
|
|
6
|
+
*
|
|
7
|
+
* Place it as the very first focusable element on the page. Renders a real `<a>`; the focus move is
|
|
8
|
+
* done explicitly (the target gets a temporary `tabindex="-1"` when it is not natively focusable),
|
|
9
|
+
* because a fragment navigation alone does not reliably move focus in every browser.
|
|
10
|
+
*
|
|
11
|
+
* ## When to use
|
|
12
|
+
* - Once per page, before the header/navigation, pointing at the `<main>` landmark.
|
|
13
|
+
* - Additionally before large repeated blocks (e.g. a long sidebar) pointing past them.
|
|
14
|
+
*
|
|
15
|
+
* ## When not to use
|
|
16
|
+
* - As a general in-page link -- use a plain link or `bs-table-of-contents`.
|
|
17
|
+
* - When the page has no repeated blocks before its main content.
|
|
18
|
+
*
|
|
19
|
+
* Composition: a leaf element (a single anchor); no existing `bs-*` component renders a link.
|
|
20
|
+
*
|
|
21
|
+
* @slot - Default slot: the link text. Falls back to "Skip to main content".
|
|
22
|
+
* @part link - The anchor element.
|
|
23
|
+
*/
|
|
24
|
+
export declare class BsSkipLink {
|
|
25
|
+
el: HTMLElement;
|
|
26
|
+
/** Target to skip to: a fragment (`#main-content`) naming an element id in the same document or
|
|
27
|
+
* shadow tree, or any URL (then the browser just navigates). Point it at an element that exists --
|
|
28
|
+
* if the id is not found, activating the link does nothing beyond the native fragment jump. */
|
|
29
|
+
href: string;
|
|
30
|
+
/** Fires when the link is activated, before focus moves. **Cancelable**: `preventDefault()` stops
|
|
31
|
+
* both the focus move and the native navigation so you can handle it yourself. Detail is
|
|
32
|
+
* `{ href, target }` (`target` is the resolved element or `null`). Bubbles and is composed. */
|
|
33
|
+
bsSkip: EventEmitter<{
|
|
34
|
+
href: string;
|
|
35
|
+
target: HTMLElement | null;
|
|
36
|
+
}>;
|
|
37
|
+
private resolveTarget;
|
|
38
|
+
private onClick;
|
|
39
|
+
render(): any;
|
|
40
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsSkipLinkArgs {
|
|
3
|
+
href: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
declare const meta: Meta<BsSkipLinkArgs>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<BsSkipLinkArgs>;
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
export declare const CustomLabelAndTarget: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|