@brandsync/wc 1.18.0 → 1.19.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 +8 -0
- package/REFERENCE.md +71 -8
- package/custom-elements.json +382 -4
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/p-02314404.entry.js +1 -0
- package/dist/brandsync-wc/{p-fd78ff22.entry.js → p-028d3244.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f6caa623.entry.js → p-03ad83a3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5cd1abc7.entry.js → p-0819add7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-47ce984f.entry.js → p-08649f52.entry.js} +1 -1
- package/dist/brandsync-wc/p-0dff9822.entry.js +1 -0
- package/dist/brandsync-wc/{p-7cfb1be6.entry.js → p-10b8937f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bd901b06.entry.js → p-129a4de7.entry.js} +1 -1
- package/dist/brandsync-wc/p-1580c56c.entry.js +1 -0
- package/dist/brandsync-wc/p-15c6f0f3.entry.js +1 -0
- package/dist/brandsync-wc/{p-1d8c2ec1.entry.js → p-171fa239.entry.js} +1 -1
- package/dist/brandsync-wc/{p-95c7f350.entry.js → p-197ac73f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7c29678d.entry.js → p-1e33bc10.entry.js} +1 -1
- package/dist/brandsync-wc/{p-757cd066.entry.js → p-21e5d4d6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5ac75555.entry.js → p-2389f473.entry.js} +1 -1
- package/dist/brandsync-wc/{p-50c116eb.entry.js → p-25914efc.entry.js} +1 -1
- package/dist/brandsync-wc/{p-345b5ef3.entry.js → p-26e0ab15.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9787bc0f.entry.js → p-270b2cb0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-15f06226.entry.js → p-27663faf.entry.js} +1 -1
- package/dist/brandsync-wc/p-28c38959.entry.js +1 -0
- package/dist/brandsync-wc/{p-1a62e5b7.entry.js → p-2a8b2ac9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-344695a8.entry.js → p-2a967b45.entry.js} +1 -1
- package/dist/brandsync-wc/p-2b3d0bd4.entry.js +1 -0
- package/dist/brandsync-wc/p-30736034.entry.js +1 -0
- package/dist/brandsync-wc/{p-5868793d.entry.js → p-30ff0659.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cb002195.entry.js → p-313ec145.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e4e9c961.entry.js → p-3627e0c6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b7bbc52f.entry.js → p-38a2210a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a8c2855c.entry.js → p-391504ab.entry.js} +1 -1
- package/dist/brandsync-wc/{p-78114ea3.entry.js → p-3b212a8a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1aa0f9a3.entry.js → p-3c6980b9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4d4997af.entry.js → p-42fcf134.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8f82ea7e.entry.js → p-4928c4ad.entry.js} +1 -1
- package/dist/brandsync-wc/{p-841a80b4.entry.js → p-4c51da66.entry.js} +1 -1
- package/dist/brandsync-wc/{p-50f60ed6.entry.js → p-4d1ee16e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fb84002e.entry.js → p-4dfd4715.entry.js} +1 -1
- package/dist/brandsync-wc/p-4ffcf41a.entry.js +1 -0
- package/dist/brandsync-wc/{p-9bd739e5.entry.js → p-527fd08d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-55d336da.entry.js → p-5371b31c.entry.js} +1 -1
- package/dist/brandsync-wc/p-568de1b0.entry.js +1 -0
- package/dist/brandsync-wc/p-590deea0.entry.js +1 -0
- package/dist/brandsync-wc/{p-ae207fd5.entry.js → p-64e19200.entry.js} +1 -1
- package/dist/brandsync-wc/p-6afacd47.entry.js +1 -0
- package/dist/brandsync-wc/p-6f32a08e.entry.js +1 -0
- package/dist/brandsync-wc/{p-08e0e704.entry.js → p-70a5897b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c020ffdf.entry.js → p-7160a72e.entry.js} +1 -1
- package/dist/brandsync-wc/p-776b677f.entry.js +1 -0
- package/dist/brandsync-wc/{p-56a45582.entry.js → p-78c94cfe.entry.js} +1 -1
- package/dist/brandsync-wc/p-7bff3aa5.entry.js +1 -0
- package/dist/brandsync-wc/{p-e32a6df1.entry.js → p-7c741b8d.entry.js} +1 -1
- package/dist/brandsync-wc/p-86f04e9e.entry.js +1 -0
- package/dist/brandsync-wc/{p-a51355d9.entry.js → p-8a18864a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0a6f22fe.entry.js → p-8a606b38.entry.js} +1 -1
- package/dist/brandsync-wc/p-8ac86d16.entry.js +1 -0
- package/dist/brandsync-wc/{p-a424a709.entry.js → p-8b21f623.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1a47774e.entry.js → p-8d1ad4b0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-58179e15.entry.js → p-8e107d7a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4ff649f1.entry.js → p-90d8d45f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f86b58bf.entry.js → p-9751a12d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bfff7cbb.entry.js → p-9868ee72.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6c987bc9.entry.js → p-9ba500f1.entry.js} +1 -1
- package/dist/brandsync-wc/p-9fa7bd83.entry.js +1 -0
- package/dist/brandsync-wc/p-BSt9HeTa.js +1 -0
- package/dist/brandsync-wc/{p-be7272ce.entry.js → p-a2bfbf02.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d42a26c1.entry.js → p-a50c5e68.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ee63423c.entry.js → p-a688a7ca.entry.js} +1 -1
- package/dist/brandsync-wc/{p-55d97d1d.entry.js → p-a92c0f06.entry.js} +1 -1
- package/dist/brandsync-wc/p-ab301e9d.entry.js +1 -0
- package/dist/brandsync-wc/{p-43f8afda.entry.js → p-ab99b8c3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c02ed03d.entry.js → p-c01e231e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d985e569.entry.js → p-d15e48eb.entry.js} +1 -1
- package/dist/brandsync-wc/p-d484e976.entry.js +1 -0
- package/dist/brandsync-wc/{p-31ca98c3.entry.js → p-d80eecf4.entry.js} +1 -1
- package/dist/brandsync-wc/p-dc2ea372.entry.js +1 -0
- package/dist/brandsync-wc/p-de0dfd1c.entry.js +1 -0
- package/dist/brandsync-wc/p-e1d30e31.entry.js +1 -0
- package/dist/brandsync-wc/{p-0082db6a.entry.js → p-e5235e76.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fa91106e.entry.js → p-e776d145.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d3fe8cea.entry.js → p-e7c80f48.entry.js} +1 -1
- package/dist/brandsync-wc/{p-34851d6d.entry.js → p-eb680cff.entry.js} +1 -1
- package/dist/brandsync-wc/p-ebcd105d.entry.js +1 -0
- package/dist/brandsync-wc/p-f10b19a8.entry.js +1 -0
- package/dist/brandsync-wc/{p-87a10ee1.entry.js → p-f3b60029.entry.js} +1 -1
- package/dist/brandsync-wc/{p-14b4f4c4.entry.js → p-f4796801.entry.js} +1 -1
- package/dist/brandsync-wc/p-f5e6fdf8.entry.js +1 -0
- package/dist/brandsync-wc/p-f93127e1.entry.js +1 -0
- package/dist/brandsync-wc/{p-e3e15670.entry.js → p-f96f45ae.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e2491db8.entry.js → p-feb46fa6.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-accordion.cjs.entry.js +60 -3
- 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 +7 -7
- package/dist/cjs/bs-app-shell.cjs.entry.js +1 -1
- package/dist/cjs/bs-app-switcher.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment.cjs.entry.js +1 -1
- package/dist/cjs/bs-badge.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb.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 +198 -0
- package/dist/cjs/bs-card.cjs.entry.js +1 -1
- package/dist/cjs/bs-carousel.cjs.entry.js +70 -5
- 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 +2 -2
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +2 -2
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/bs-chip-filter.cjs.entry.js +2 -2
- package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-input.cjs.entry.js +2 -2
- package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
- package/dist/cjs/bs-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +4 -4
- package/dist/cjs/bs-company-switcher.cjs.entry.js +2 -2
- package/dist/cjs/bs-composer-status-banner.cjs.entry.js +1 -1
- package/dist/cjs/bs-composer.cjs.entry.js +1 -1
- package/dist/cjs/bs-container.cjs.entry.js +1 -1
- package/dist/cjs/bs-data-table.cjs.entry.js +2 -2
- package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/bs-dialog.cjs.entry.js +54 -3
- package/dist/cjs/bs-divider.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-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/bs-icon-tile.cjs.entry.js +2 -2
- package/dist/cjs/bs-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/bs-input_3.cjs.entry.js +5 -5
- package/dist/cjs/bs-key-caps.cjs.entry.js +1 -1
- package/dist/cjs/bs-key.cjs.entry.js +1 -1
- package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/bs-list-item_2.cjs.entry.js +51 -5
- package/dist/cjs/bs-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-mega-menu.cjs.entry.js +52 -2
- 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 +2 -2
- package/dist/cjs/bs-presence.cjs.entry.js +88 -0
- 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.cjs.entry.js +4 -4
- package/dist/cjs/bs-search-item.cjs.entry.js +2 -2
- 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-side-panel.cjs.entry.js +52 -3
- 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 +4 -3
- package/dist/cjs/bs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/bs-split-pane.cjs.entry.js +1 -1
- package/dist/cjs/bs-stack.cjs.entry.js +1 -1
- package/dist/cjs/bs-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 +4 -11
- package/dist/cjs/bs-tab_3.cjs.entry.js +3 -3
- package/dist/cjs/bs-timepicker.cjs.entry.js +2 -2
- package/dist/cjs/bs-toast.cjs.entry.js +1 -1
- package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +61 -3
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/bs-tree-item.cjs.entry.js +3 -3
- package/dist/cjs/bs-tree.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/motion-DOlI71lc.js +43 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/bs-accordion/bs-accordion.cmp.test.js +21 -6
- package/dist/collection/components/bs-accordion/bs-accordion.css +15 -0
- package/dist/collection/components/bs-accordion/bs-accordion.js +71 -2
- 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-app-switcher/bs-app-switcher.js +1 -1
- package/dist/collection/components/bs-app-tile/bs-app-tile.js +3 -3
- package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-badge/bs-badge.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button/bs-button/bs-button.cmp.test.js +12 -0
- package/dist/collection/components/bs-button/bs-button/bs-button.css +2 -0
- package/dist/collection/components/bs-button/bs-button/bs-button.js +4 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +2 -0
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +2 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-card/bs-card.js +1 -1
- package/dist/collection/components/bs-carousel/bs-carousel.cmp.test.js +39 -1
- package/dist/collection/components/bs-carousel/bs-carousel.css +9 -0
- package/dist/collection/components/bs-carousel/bs-carousel.js +75 -4
- 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.css +2 -0
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +2 -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.css +2 -0
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +2 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox.css +7 -0
- package/dist/collection/components/bs-checkbox/bs-checkbox.js +2 -1
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.css +2 -0
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +2 -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.css +7 -0
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +2 -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.js +2 -2
- package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
- package/dist/collection/components/bs-dialog/bs-dialog.cmp.test.js +32 -0
- package/dist/collection/components/bs-dialog/bs-dialog.css +16 -0
- package/dist/collection/components/bs-dialog/bs-dialog.js +61 -3
- package/dist/collection/components/bs-divider/bs-divider.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-icon-tile/bs-icon-tile.js +2 -2
- package/dist/collection/components/bs-input/bs-input.js +2 -2
- package/dist/collection/components/bs-key/bs-key.js +1 -1
- package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
- package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
- package/dist/collection/components/bs-list/bs-list.js +1 -1
- package/dist/collection/components/bs-list-item/bs-list-item.css +2 -0
- package/dist/collection/components/bs-list-item/bs-list-item.js +2 -1
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.cmp.test.js +73 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +5 -1
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +89 -4
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +5 -5
- 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.css +2 -0
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +2 -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.css +2 -0
- package/dist/collection/components/bs-pagination/bs-pagination.js +2 -1
- package/dist/collection/components/bs-popover/bs-popover.cmp.test.js +20 -0
- package/dist/collection/components/bs-popover/bs-popover.css +3 -0
- package/dist/collection/components/bs-popover/bs-popover.js +59 -2
- package/dist/collection/components/bs-presence/bs-presence.cmp.test.js +64 -0
- package/dist/collection/components/bs-presence/bs-presence.css +80 -0
- package/dist/collection/components/bs-presence/bs-presence.js +233 -0
- package/dist/collection/components/bs-presence/bs-presence.stories.js +101 -0
- package/dist/collection/components/bs-progress/bs-progress.js +2 -2
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
- package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
- package/dist/collection/components/bs-radio/bs-radio.css +6 -0
- package/dist/collection/components/bs-radio/bs-radio.js +4 -3
- package/dist/collection/components/bs-ripple/bs-ripple.cmp.test.js +45 -0
- package/dist/collection/components/bs-ripple/bs-ripple.css +32 -0
- package/dist/collection/components/bs-ripple/bs-ripple.js +188 -0
- package/dist/collection/components/bs-ripple/bs-ripple.stories.js +33 -0
- package/dist/collection/components/bs-search-item/bs-search-item.css +2 -0
- package/dist/collection/components/bs-search-item/bs-search-item.js +2 -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-side-panel/bs-side-panel.cmp.test.js +19 -0
- package/dist/collection/components/bs-side-panel/bs-side-panel.css +8 -0
- package/dist/collection/components/bs-side-panel/bs-side-panel.js +58 -2
- package/dist/collection/components/bs-skeleton/bs-skeleton.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.css +2 -0
- package/dist/collection/components/bs-source-link/bs-source-link.js +4 -2
- 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-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.css +9 -0
- package/dist/collection/components/bs-switch/bs-switch.js +4 -10
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.css +2 -0
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +2 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +2 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.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-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.cmp.test.js +53 -2
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.css +3 -0
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +70 -3
- package/dist/collection/components/bs-tree/bs-tree.js +1 -1
- package/dist/collection/components/bs-tree-item/bs-tree-item.css +2 -0
- package/dist/collection/components/bs-tree-item/bs-tree-item.js +3 -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.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/utils/motion.js +37 -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-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-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-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-dialog.js +1 -1
- package/dist/components/bs-divider.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-icon-button.js +1 -1
- package/dist/components/bs-icon-tile.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-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.d.ts +11 -0
- package/dist/components/bs-presence.js +1 -0
- 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.js +1 -1
- package/dist/components/bs-ripple.d.ts +11 -0
- package/dist/components/bs-ripple.js +1 -0
- package/dist/components/bs-search-item.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-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-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-tabs.js +1 -1
- package/dist/components/bs-timepicker.js +1 -1
- package/dist/components/bs-toast.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--Tyv3LIl.js +1 -0
- package/dist/components/{p-D4_8H0vn.js → p-4yShCgRb.js} +1 -1
- package/dist/components/p-6Rr9bjVN.js +1 -0
- package/dist/components/{p-I1_Q3HQu.js → p-BHzj13sd.js} +1 -1
- package/dist/components/p-BIxcCDgl.js +1 -0
- package/dist/components/{p-DcdFuKG9.js → p-BQ4rSQDm.js} +1 -1
- package/dist/components/p-BSt9HeTa.js +1 -0
- package/dist/components/p-BWRkbt0f.js +1 -0
- package/dist/components/p-BfCah-Ij.js +1 -0
- package/dist/components/p-BpkPo4ay.js +1 -0
- package/dist/components/{p-Co36mHEU.js → p-CFR3Q0io.js} +1 -1
- package/dist/components/{p-C3erqJFy.js → p-CHZE_FrW.js} +1 -1
- package/dist/components/p-CVQycAap.js +1 -0
- package/dist/components/{p-CmlzHRkn.js → p-Cr8cHmpM.js} +1 -1
- package/dist/components/p-CvSewXZF.js +1 -0
- package/dist/components/{p-Dl0FedE5.js → p-D3PuUD8Z.js} +1 -1
- package/dist/components/p-D5eN9Lfa.js +1 -0
- package/dist/components/{p-qXdgl7VG.js → p-DDgzEg1C.js} +1 -1
- package/dist/components/p-DF2FcJPs.js +1 -0
- package/dist/components/{p-DzvXbBvk.js → p-DLnZG_G9.js} +1 -1
- package/dist/components/{p-Deq0LzGO.js → p-DXbcyEgd.js} +1 -1
- package/dist/components/{p-C1owRphU.js → p-DXwatzvM.js} +1 -1
- package/dist/components/{p-erdtytMq.js → p-DcD5eV_Z.js} +1 -1
- package/dist/components/{p-B6KgEbdM.js → p-Dj393s3S.js} +1 -1
- package/dist/components/p-DtkTnaOp.js +1 -0
- package/dist/components/{p-DBvhi__l.js → p-EGNLb4cQ.js} +1 -1
- package/dist/components/{p-DFd4pP4i.js → p-Jik5UkAe.js} +1 -1
- package/dist/components/p-XZXdZpt4.js +1 -0
- package/dist/components/{p-Cd7p-48Q.js → p-Y5FyLR8G.js} +1 -1
- package/dist/components/{p-DtbeCgXo.js → p-ZfE38vXZ.js} +1 -1
- package/dist/components/{p-c-g3-oVu.js → p-lPTgyF9v.js} +1 -1
- package/dist/components/p-syO0ipbw.js +1 -0
- package/dist/components/p-up01gvHY.js +1 -0
- package/dist/esm/brandsync-wc.js +1 -1
- package/dist/esm/bs-accordion-group.entry.js +1 -1
- package/dist/esm/bs-accordion.entry.js +61 -4
- 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 +7 -7
- package/dist/esm/bs-app-shell.entry.js +1 -1
- package/dist/esm/bs-app-switcher.entry.js +1 -1
- package/dist/esm/bs-attachment-list.entry.js +1 -1
- package/dist/esm/bs-attachment.entry.js +1 -1
- package/dist/esm/bs-badge.entry.js +1 -1
- package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
- package/dist/esm/bs-breadcrumb.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 +195 -0
- package/dist/esm/bs-card.entry.js +1 -1
- package/dist/esm/bs-carousel.entry.js +70 -5
- 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 +2 -2
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +2 -2
- package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
- package/dist/esm/bs-checkbox.entry.js +2 -2
- package/dist/esm/bs-chip-filter.entry.js +2 -2
- package/dist/esm/bs-chip-informative.entry.js +1 -1
- package/dist/esm/bs-chip-input.entry.js +2 -2
- package/dist/esm/bs-citation-preview.entry.js +1 -1
- package/dist/esm/bs-command-palette.entry.js +1 -1
- package/dist/esm/bs-compact-menu-block_2.entry.js +4 -4
- package/dist/esm/bs-company-switcher.entry.js +2 -2
- package/dist/esm/bs-composer-status-banner.entry.js +1 -1
- package/dist/esm/bs-composer.entry.js +1 -1
- package/dist/esm/bs-container.entry.js +1 -1
- package/dist/esm/bs-data-table.entry.js +2 -2
- package/dist/esm/bs-datepicker.entry.js +1 -1
- package/dist/esm/bs-dialog.entry.js +55 -4
- package/dist/esm/bs-divider.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-icon-button.entry.js +2 -2
- package/dist/esm/bs-icon-tile.entry.js +2 -2
- package/dist/esm/bs-inline-tab.entry.js +2 -2
- package/dist/esm/bs-input_3.entry.js +5 -5
- package/dist/esm/bs-key-caps.entry.js +1 -1
- package/dist/esm/bs-key.entry.js +1 -1
- package/dist/esm/bs-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/bs-list-item_2.entry.js +51 -5
- package/dist/esm/bs-list.entry.js +1 -1
- package/dist/esm/bs-mega-menu.entry.js +53 -3
- 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 +2 -2
- package/dist/esm/bs-presence.entry.js +86 -0
- 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.entry.js +4 -4
- package/dist/esm/bs-search-item.entry.js +2 -2
- package/dist/esm/bs-session-timeout.entry.js +1 -1
- package/dist/esm/bs-shortcut-row.entry.js +1 -1
- package/dist/esm/bs-side-panel.entry.js +52 -3
- 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 +4 -3
- package/dist/esm/bs-spinner.entry.js +1 -1
- package/dist/esm/bs-split-pane.entry.js +1 -1
- package/dist/esm/bs-stack.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 +4 -11
- package/dist/esm/bs-tab_3.entry.js +3 -3
- package/dist/esm/bs-timepicker.entry.js +2 -2
- package/dist/esm/bs-toast.entry.js +1 -1
- package/dist/esm/bs-tooltip-trigger.entry.js +62 -4
- package/dist/esm/bs-tooltip.entry.js +1 -1
- package/dist/esm/bs-tree-item.entry.js +3 -3
- package/dist/esm/bs-tree.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/motion-BSt9HeTa.js +39 -0
- package/dist/types/components/bs-accordion/bs-accordion.d.ts +22 -0
- package/dist/types/components/bs-button/bs-button/bs-button.d.ts +3 -0
- package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +1 -0
- package/dist/types/components/bs-carousel/bs-carousel.d.ts +21 -1
- package/dist/types/components/bs-chatbot-response-action/bs-chatbot-response-action.d.ts +1 -0
- package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts +1 -0
- package/dist/types/components/bs-checkbox/bs-checkbox.d.ts +1 -0
- package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.d.ts +1 -0
- package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.d.ts +1 -0
- package/dist/types/components/bs-dialog/bs-dialog.d.ts +14 -0
- package/dist/types/components/bs-list-item/bs-list-item.d.ts +1 -0
- package/dist/types/components/bs-mega-menu/bs-mega-menu.d.ts +26 -2
- package/dist/types/components/bs-menu-item/bs-menu-item.d.ts +1 -0
- package/dist/types/components/bs-pagination/bs-pagination.d.ts +1 -0
- package/dist/types/components/bs-popover/bs-popover.d.ts +15 -0
- package/dist/types/components/bs-presence/bs-presence.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-presence/bs-presence.d.ts +50 -0
- package/dist/types/components/bs-presence/bs-presence.stories.d.ts +15 -0
- package/dist/types/components/bs-radio/bs-radio.d.ts +1 -0
- package/dist/types/components/bs-ripple/bs-ripple.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-ripple/bs-ripple.d.ts +52 -0
- package/dist/types/components/bs-ripple/bs-ripple.stories.d.ts +11 -0
- package/dist/types/components/bs-search-item/bs-search-item.d.ts +1 -0
- package/dist/types/components/bs-side-panel/bs-side-panel.d.ts +13 -0
- package/dist/types/components/bs-source-link/bs-source-link.d.ts +1 -0
- package/dist/types/components/bs-switch/bs-switch.d.ts +1 -0
- package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.d.ts +1 -0
- package/dist/types/components/bs-tab/bs-tab/bs-tab.d.ts +1 -0
- package/dist/types/components/bs-tooltip-trigger/bs-tooltip-trigger.d.ts +18 -0
- package/dist/types/components/bs-tree-item/bs-tree-item.d.ts +1 -0
- package/dist/types/components.d.ts +407 -8
- package/dist/types/utils/motion.d.ts +21 -0
- package/package.json +1 -1
- package/reference.d.ts +28 -22
- package/reference.json +230 -9
- package/dist/brandsync-wc/p-046a53de.entry.js +0 -1
- package/dist/brandsync-wc/p-07e0b444.entry.js +0 -1
- package/dist/brandsync-wc/p-186e3b78.entry.js +0 -1
- package/dist/brandsync-wc/p-23b56775.entry.js +0 -1
- package/dist/brandsync-wc/p-246036cd.entry.js +0 -1
- package/dist/brandsync-wc/p-348fef11.entry.js +0 -1
- package/dist/brandsync-wc/p-3e6f430a.entry.js +0 -1
- package/dist/brandsync-wc/p-47929dca.entry.js +0 -1
- package/dist/brandsync-wc/p-52d61070.entry.js +0 -1
- package/dist/brandsync-wc/p-5e36d46f.entry.js +0 -1
- package/dist/brandsync-wc/p-64f8eb7e.entry.js +0 -1
- package/dist/brandsync-wc/p-6b019a88.entry.js +0 -1
- package/dist/brandsync-wc/p-8962abe0.entry.js +0 -1
- package/dist/brandsync-wc/p-8c9938a5.entry.js +0 -1
- package/dist/brandsync-wc/p-8e46a262.entry.js +0 -1
- package/dist/brandsync-wc/p-998b95d3.entry.js +0 -1
- package/dist/brandsync-wc/p-a9d0a730.entry.js +0 -1
- package/dist/brandsync-wc/p-b1edc9b7.entry.js +0 -1
- package/dist/brandsync-wc/p-b759ae72.entry.js +0 -1
- package/dist/brandsync-wc/p-e99c0937.entry.js +0 -1
- package/dist/brandsync-wc/p-e9adfa44.entry.js +0 -1
- package/dist/brandsync-wc/p-eb3bacb9.entry.js +0 -1
- package/dist/brandsync-wc/p-ee00d3a5.entry.js +0 -1
- package/dist/brandsync-wc/p-f47b8673.entry.js +0 -1
- package/dist/brandsync-wc/p-fbc219c6.entry.js +0 -1
- package/dist/cjs/bs-button.cjs.entry.js +0 -107
- package/dist/components/p-B8kw9EOx.js +0 -1
- package/dist/components/p-BLPNwyiT.js +0 -1
- package/dist/components/p-BP1l6Q3Z.js +0 -1
- package/dist/components/p-BS7ySxJZ.js +0 -1
- package/dist/components/p-BmdSbmFg.js +0 -1
- package/dist/components/p-C2rRVRIu.js +0 -1
- package/dist/components/p-D9dDFyPB.js +0 -1
- package/dist/components/p-DVjuZdjF.js +0 -1
- package/dist/components/p-DW0Dw2LS.js +0 -1
- package/dist/components/p-DgY5pxXd.js +0 -1
- package/dist/components/p-DhhXayh6.js +0 -1
- package/dist/components/p-DiORQQg3.js +0 -1
- package/dist/components/p-TXAiCnSZ.js +0 -1
- package/dist/esm/bs-button.entry.js +0 -105
|
@@ -10,6 +10,12 @@ export type BsCarouselTracker = 'dots' | 'numbers';
|
|
|
10
10
|
* so they leave the tab order and the accessibility tree) and, only when not already set,
|
|
11
11
|
* `role="group"`, `aria-roledescription="slide"` and an `aria-label` of "n of N".
|
|
12
12
|
*
|
|
13
|
+
* Changing page plays a short motion: the visible slides fade and slide out in the direction of travel,
|
|
14
|
+
* then the next page's slides fade and slide in (reversed for previous, and mirrored in RTL). The dots
|
|
15
|
+
* also grow and fade between pages. Motion length and distance follow `--bs-carousel-duration`,
|
|
16
|
+
* `--bs-carousel-easing` and `--bs-carousel-slide-distance`. Under `prefers-reduced-motion: reduce`
|
|
17
|
+
* the duration token is `0ms`, so pages switch instantly.
|
|
18
|
+
*
|
|
13
19
|
* Composes `bs-pagination` (`tracker="numbers"`), `bs-icon-button` (previous/next for
|
|
14
20
|
* `tracker="dots"`) and `bs-button` (Pause/Play) rather than re-implementing them.
|
|
15
21
|
*
|
|
@@ -75,6 +81,12 @@ export declare class BsCarousel {
|
|
|
75
81
|
/** True while the pointer is over the carousel or focus is inside it (auto-advance holds). */
|
|
76
82
|
interacting: boolean;
|
|
77
83
|
private timer?;
|
|
84
|
+
/** The page whose slides are actually on screen. Lags `currentPage` while a page change animates out. */
|
|
85
|
+
private shown;
|
|
86
|
+
private loaded;
|
|
87
|
+
private transitioning;
|
|
88
|
+
private runId;
|
|
89
|
+
private running;
|
|
78
90
|
private get slides();
|
|
79
91
|
private get perView();
|
|
80
92
|
private get pageCount();
|
|
@@ -83,7 +95,15 @@ export declare class BsCarousel {
|
|
|
83
95
|
componentDidLoad(): void;
|
|
84
96
|
componentDidRender(): void;
|
|
85
97
|
disconnectedCallback(): void;
|
|
86
|
-
onCurrentPageChange(): void;
|
|
98
|
+
onCurrentPageChange(next: number): void;
|
|
99
|
+
/**
|
|
100
|
+
* Exit then enter, each half the duration. While the old page animates out it stays mounted
|
|
101
|
+
* (`transitioning` makes `applySlides` keep showing `shown`); then the new page is shown and
|
|
102
|
+
* animated in. A new change arriving mid-motion cancels it and snaps to the latest page.
|
|
103
|
+
*/
|
|
104
|
+
private playPageChange;
|
|
105
|
+
private cancelMotion;
|
|
106
|
+
private toMs;
|
|
87
107
|
updateTimer(): void;
|
|
88
108
|
private stopTimer;
|
|
89
109
|
onMouseEnter(): void;
|
|
@@ -39,6 +39,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
39
39
|
* @prop --bs-chatbot-response-action-sources-color - Text color of the sources label. Aliased to `--bs-text-neutral-default`.
|
|
40
40
|
* @prop --bs-chatbot-response-action-sources-font-size - Aliased to `--bs-font-size-sm`.
|
|
41
41
|
* @prop --bs-chatbot-response-action-sources-line-height - Aliased to `--bs-line-height-body-sm`.
|
|
42
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
42
43
|
*/
|
|
43
44
|
export declare class BsChatbotResponseAction {
|
|
44
45
|
host: HTMLElement;
|
package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
32
32
|
* Aliased to `--bs-text-action-hover`.
|
|
33
33
|
* @prop --bs-chatbot-suggestion-button-focus-ring-color - Focus ring color. Aliased to
|
|
34
34
|
* `--bs-border-primary-focus`.
|
|
35
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
35
36
|
*/
|
|
36
37
|
export declare class BsChatbotSuggestionButton {
|
|
37
38
|
/** Disables the button and applies a reduced-opacity treatment. */
|
|
@@ -17,6 +17,7 @@ export type BsCheckboxSize = 'sm' | 'md' | 'lg';
|
|
|
17
17
|
* @part box - The visual checkbox square.
|
|
18
18
|
* @part icon - The check/minus icon shown inside the box when `checked` or `indeterminate`.
|
|
19
19
|
* @part label - The label text wrapper.
|
|
20
|
+
* @part ripple - The press-ripple halo (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
20
21
|
*/
|
|
21
22
|
export declare class BsCheckbox {
|
|
22
23
|
el: HTMLElement;
|
|
@@ -19,6 +19,7 @@ export type BsChipFilterSize = 'md' | 'lg';
|
|
|
19
19
|
* @part icon - The icon wrapper element.
|
|
20
20
|
* @part label - The text label element.
|
|
21
21
|
* @part caret - The dropdown caret wrapper element, when `dropdown` is set.
|
|
22
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
22
23
|
*/
|
|
23
24
|
export declare class BsChipFilter {
|
|
24
25
|
el: HTMLElement;
|
|
@@ -22,6 +22,7 @@ export type BsChipInputSize = 'md' | 'lg';
|
|
|
22
22
|
* @part icon - The icon wrapper element.
|
|
23
23
|
* @part label - The text label element.
|
|
24
24
|
* @part remove - The trailing remove button.
|
|
25
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
25
26
|
*/
|
|
26
27
|
export declare class BsChipInput {
|
|
27
28
|
el: HTMLElement;
|
|
@@ -33,8 +33,13 @@ export type BsDialogSize = 'sm' | 'md' | 'lg';
|
|
|
33
33
|
* @part close - The close button (inline in the header, or floating -- see the class doc above).
|
|
34
34
|
* @part body - The body content wrapper.
|
|
35
35
|
* @part footer - The footer wrapper (only visible when the footer slot has content).
|
|
36
|
+
*
|
|
37
|
+
* Opening fades the backdrop in and lifts the dialog into place; closing plays the same motion in
|
|
38
|
+
* reverse before the dialog is removed. Length, curve and travel are `--bs-dialog-duration`,
|
|
39
|
+
* `--bs-dialog-easing` and `--bs-dialog-distance`. Under `prefers-reduced-motion: reduce` it is instant.
|
|
36
40
|
*/
|
|
37
41
|
export declare class BsDialog {
|
|
42
|
+
el: HTMLElement;
|
|
38
43
|
/** Mutable + reflected so the component can close itself (backdrop click, Escape, close button)
|
|
39
44
|
* the same way a native `<dialog>` does, while still emitting `bsClose` for the consumer to react to. */
|
|
40
45
|
open: boolean;
|
|
@@ -62,6 +67,15 @@ export declare class BsDialog {
|
|
|
62
67
|
private onFooterSlotchange;
|
|
63
68
|
private onImageSlotchange;
|
|
64
69
|
private onIconSlotchange;
|
|
70
|
+
/** True while the exit motion plays after `open` went false, so the dialog stays mounted for it. */
|
|
71
|
+
closing: boolean;
|
|
72
|
+
private backdropRef?;
|
|
73
|
+
private enterPending;
|
|
74
|
+
private exitPending;
|
|
75
|
+
private motionRun;
|
|
76
|
+
onOpenChange(next: boolean): void;
|
|
77
|
+
private playEnter;
|
|
78
|
+
private playExit;
|
|
65
79
|
private dialogRef?;
|
|
66
80
|
private previouslyFocused?;
|
|
67
81
|
private previousBodyOverflow?;
|
|
@@ -50,6 +50,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
50
50
|
* @prop --bs-list-item-focus-ring - Focus ring colour. Aliased to `--bs-border-neutral-focus`.
|
|
51
51
|
* @prop --bs-list-item-image-width - Leading image width. 72px.
|
|
52
52
|
* @prop --bs-list-item-image-height - Leading image height. 56px.
|
|
53
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
53
54
|
*/
|
|
54
55
|
export declare class BsListItem {
|
|
55
56
|
el: HTMLElement;
|
|
@@ -27,8 +27,13 @@ export type BsMegaMenuType = 'columns' | 'compact';
|
|
|
27
27
|
* "Mega menu" (types Columns, Column with featured, Compact and Compact with featured).
|
|
28
28
|
*
|
|
29
29
|
* This is the panel only. Put it in `bs-navigation-header`'s `menu` slot, which anchors it under the bar at the
|
|
30
|
-
* header's full width, and
|
|
31
|
-
*
|
|
30
|
+
* header's full width, and show it from the tab that opens it; the panel does not open or close itself. Escape
|
|
31
|
+
* inside the panel fires `bsClose` so you can close it.
|
|
32
|
+
*
|
|
33
|
+
* There are two ways to show and hide it. Toggle the host's `hidden` attribute and it appears and disappears at once
|
|
34
|
+
* (the original contract, unchanged). Or set `open` and it fades and drops in from under the bar, then fades back out
|
|
35
|
+
* and is removed once the exit finishes. Leave `open` unset to keep using `hidden` only. `hidden` always wins: with it
|
|
36
|
+
* set the panel is not shown whatever `open` says.
|
|
32
37
|
*
|
|
33
38
|
* Built from `bs-card` (panel surface), `bs-menu-block` or `bs-compact-menu-block` (the links), `bs-divider` and
|
|
34
39
|
* `bs-key-caps` (the shortcut). The column layout, headings, featured text and footer row are plain layout
|
|
@@ -75,12 +80,23 @@ export type BsMegaMenuType = 'columns' | 'compact';
|
|
|
75
80
|
* @prop --bs-mega-menu-heading-color - Column headings. Aliased to `--bs-text-muted`.
|
|
76
81
|
* @prop --bs-mega-menu-text-color - Featured title. Aliased to `--bs-text-default`.
|
|
77
82
|
* @prop --bs-mega-menu-muted-color - Featured description and footer text. Aliased to `--bs-text-secondary`.
|
|
83
|
+
* @prop --bs-mega-menu-duration - Length of the open/close motion (`open` only). Aliased to `--bs-duration-default`.
|
|
84
|
+
* @prop --bs-mega-menu-easing - Curve of the open/close motion. Aliased to `--bs-easing-standard`.
|
|
85
|
+
* @prop --bs-mega-menu-distance - How far the panel drops while it fades. Aliased to `--bs-spacing-100`.
|
|
86
|
+
*
|
|
87
|
+
* Under `prefers-reduced-motion: reduce` (or a duration of `0ms`) setting `open` shows and hides the panel instantly.
|
|
78
88
|
*/
|
|
79
89
|
export declare class BsMegaMenu {
|
|
80
90
|
el: HTMLElement;
|
|
81
91
|
private id;
|
|
82
92
|
/** `columns` shows menu blocks with icon and description; `compact` plain text links. */
|
|
83
93
|
type: BsMegaMenuType;
|
|
94
|
+
/**
|
|
95
|
+
* Shows the panel with an enter/exit motion. Unset (the default) leaves visibility to the host's `hidden`
|
|
96
|
+
* attribute, which shows and hides instantly. `true` shows the panel; `false` fades it out and then removes it.
|
|
97
|
+
* The panel stays in the DOM and is `inert` while it fades out.
|
|
98
|
+
*/
|
|
99
|
+
open?: boolean;
|
|
84
100
|
/** The groups of links. JS property only (an array cannot be an attribute). */
|
|
85
101
|
columns: BsMegaMenuColumn[];
|
|
86
102
|
/** The featured area on the right. JS property only. The `featured` slot overrides it. */
|
|
@@ -101,6 +117,14 @@ export declare class BsMegaMenu {
|
|
|
101
117
|
bsMenuSelect: EventEmitter<BsMegaMenuItem>;
|
|
102
118
|
/** Fires when Escape is pressed inside the panel, so you can close it. */
|
|
103
119
|
bsClose: EventEmitter<void>;
|
|
120
|
+
/** True while the exit motion plays after `open` went false, so the panel stays visible for it. */
|
|
121
|
+
closing: boolean;
|
|
122
|
+
private panelEl?;
|
|
123
|
+
private enterPending;
|
|
124
|
+
private exitPending;
|
|
125
|
+
private motionRun;
|
|
126
|
+
onOpenChange(next?: boolean, prev?: boolean): void;
|
|
127
|
+
componentDidRender(): void;
|
|
104
128
|
private select;
|
|
105
129
|
private onKeyDown;
|
|
106
130
|
private renderItem;
|
|
@@ -28,6 +28,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
28
28
|
* @prop --bs-menu-item-color-disabled - Label text color when `disabled` is set. Aliased to `--bs-text-on-disabled`.
|
|
29
29
|
* @prop --bs-menu-item-font-size - Aliased to `--bs-font-size-md`.
|
|
30
30
|
* @prop --bs-menu-item-line-height - Aliased to `--bs-line-height-body-md`.
|
|
31
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
31
32
|
*/
|
|
32
33
|
export declare class BsMenuItem {
|
|
33
34
|
/** Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by
|
|
@@ -24,6 +24,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
24
24
|
* @part page - Each page-number button.
|
|
25
25
|
* @part current - The current page's button (in addition to `page`).
|
|
26
26
|
* @part ellipsis - Each collapsed-range indicator.
|
|
27
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
27
28
|
*/
|
|
28
29
|
export declare class BsPagination {
|
|
29
30
|
/** Total number of pages. Must be a positive integer -- there's always at least one page. */
|
|
@@ -23,6 +23,12 @@ export type BsPopoverPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | '
|
|
|
23
23
|
* @prop --bs-popover-offset - Gap between trigger and popup. Aliased to `--bs-spacing-100`.
|
|
24
24
|
* @prop --bs-popover-min-width - Minimum popup width. Aliased to `--bs-scale-1600`.
|
|
25
25
|
* @prop --bs-popover-z-index - Popup stacking order. Aliased to `--bs-z-index-popover`.
|
|
26
|
+
* @prop --bs-popover-duration - Length of the open/close motion. Aliased to `--bs-duration-fast`.
|
|
27
|
+
* @prop --bs-popover-easing - Curve of the open/close motion. Aliased to `--bs-easing-standard`.
|
|
28
|
+
* @prop --bs-popover-distance - How far the popup nudges while it fades. Aliased to `--bs-spacing-50`.
|
|
29
|
+
*
|
|
30
|
+
* The popup fades and nudges toward its trigger when it opens and closes. Length, curve and travel are
|
|
31
|
+
* `--bs-popover-duration`, `--bs-popover-easing` and `--bs-popover-distance`; under `prefers-reduced-motion: reduce` it is instant.
|
|
26
32
|
*/
|
|
27
33
|
export declare class BsPopover {
|
|
28
34
|
el: HTMLElement;
|
|
@@ -34,12 +40,21 @@ export declare class BsPopover {
|
|
|
34
40
|
bsOpenChange: EventEmitter<boolean>;
|
|
35
41
|
private popupId;
|
|
36
42
|
private triggerSlot?;
|
|
43
|
+
/** True while the exit motion plays after `open` went false, so the popup stays visible for it. */
|
|
44
|
+
closing: boolean;
|
|
37
45
|
private popupEl?;
|
|
46
|
+
private enterPending;
|
|
47
|
+
private exitPending;
|
|
48
|
+
private motionRun;
|
|
38
49
|
private needsFocusIn;
|
|
39
50
|
private escaped;
|
|
40
51
|
onOpenChange(next: boolean): void;
|
|
41
52
|
onPlacementChange(): void;
|
|
42
53
|
componentWillLoad(): void;
|
|
54
|
+
/** Slides toward the trigger it hangs off: a popup above its trigger rises from below, one below drops from above. */
|
|
55
|
+
private offset;
|
|
56
|
+
private playEnter;
|
|
57
|
+
private playExit;
|
|
43
58
|
componentDidRender(): void;
|
|
44
59
|
private isInTrigger;
|
|
45
60
|
/** Effective placement after collision flipping; mirrored on the host as `data-placement`. */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BsPresencePreset = 'fade' | 'slide-up' | 'slide-down' | 'scale' | 'collapse';
|
|
3
|
+
export type BsPresenceDuration = 'instant' | 'fast' | 'default' | 'slow' | 'slower';
|
|
4
|
+
export type BsPresenceEasing = 'standard' | 'decelerate' | 'accelerate' | 'linear';
|
|
5
|
+
/**
|
|
6
|
+
* Shows and hides slotted content with a short enter/exit transition.
|
|
7
|
+
*
|
|
8
|
+
* The motion uses the shared duration and easing tokens (`--bs-duration-*`, `--bs-easing-*`).
|
|
9
|
+
* Under `prefers-reduced-motion: reduce` those durations are already `0ms`, and this component
|
|
10
|
+
* forces `--bs-presence-duration` to `--bs-duration-instant` as well, so the content snaps
|
|
11
|
+
* instead of moving.
|
|
12
|
+
*
|
|
13
|
+
* ## When to use
|
|
14
|
+
* - Revealing a block that does not have its own enter/exit (a card, a form section, a panel).
|
|
15
|
+
* - Comparing duration and easing tokens while designing a screen.
|
|
16
|
+
*
|
|
17
|
+
* ## When not to use
|
|
18
|
+
* - Loading placeholders (`bs-skeleton`), spinners (`bs-spinner`), or progress.
|
|
19
|
+
* - Dialog, snackbar, toast, and command palette — those components own their motion.
|
|
20
|
+
*
|
|
21
|
+
* @slot - The content to show and hide.
|
|
22
|
+
* @part content - The element that transitions. Style it with `::part(content)`.
|
|
23
|
+
* @prop --bs-presence-duration - Transition length. Set from the `duration` prop to a `--bs-duration-*` token.
|
|
24
|
+
* @prop --bs-presence-easing - Transition curve. Set from the `easing` prop to a `--bs-easing-*` token.
|
|
25
|
+
* @prop --bs-presence-distance - Travel distance for `slide-up` and `slide-down`. Aliased to `--bs-spacing-400`.
|
|
26
|
+
* @prop --bs-presence-scale - Closed scale for `scale`. No unitless scale token exists, so the default is `0.96`.
|
|
27
|
+
*/
|
|
28
|
+
export declare class BsPresence {
|
|
29
|
+
el: HTMLElement;
|
|
30
|
+
/** When true, the slotted content is shown. Flipping this plays the exit or enter transition. */
|
|
31
|
+
active: boolean;
|
|
32
|
+
/** Which transition to play. */
|
|
33
|
+
preset: BsPresencePreset;
|
|
34
|
+
/** Length of the transition, mapped to a `--bs-duration-*` token. */
|
|
35
|
+
duration: BsPresenceDuration;
|
|
36
|
+
/** Curve of the transition, mapped to a `--bs-easing-*` token. */
|
|
37
|
+
easing: BsPresenceEasing;
|
|
38
|
+
/** Fires once when the transition to the new `active` state finishes. Payload is that state. */
|
|
39
|
+
bsTransitionEnd: EventEmitter<boolean>;
|
|
40
|
+
private clip?;
|
|
41
|
+
private shell?;
|
|
42
|
+
/**
|
|
43
|
+
* CSS class changes inside this shadow root will play the exit and then not the entrance
|
|
44
|
+
* (Chromium drops the reverse transition). The Web Animations API plays both directions.
|
|
45
|
+
* A 0ms duration — including `prefers-reduced-motion` — snaps and emits here.
|
|
46
|
+
*/
|
|
47
|
+
onActiveChange(active: boolean): void;
|
|
48
|
+
private motionDuration;
|
|
49
|
+
render(): any;
|
|
50
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import type { BsPresenceDuration, BsPresenceEasing, BsPresencePreset } from './bs-presence';
|
|
3
|
+
interface BsPresenceArgs {
|
|
4
|
+
active: boolean;
|
|
5
|
+
preset: BsPresencePreset;
|
|
6
|
+
duration: BsPresenceDuration;
|
|
7
|
+
easing: BsPresenceEasing;
|
|
8
|
+
}
|
|
9
|
+
declare const meta: Meta<BsPresenceArgs>;
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<BsPresenceArgs>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const Presets: Story;
|
|
14
|
+
export declare const Durations: Story;
|
|
15
|
+
export declare const Easings: Story;
|
|
@@ -15,6 +15,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
15
15
|
* @part circle - The visual radio ring.
|
|
16
16
|
* @part dot - The center fill shown inside the ring when `checked`.
|
|
17
17
|
* @part label - The label text wrapper.
|
|
18
|
+
* @part ripple - The press-ripple halo (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
18
19
|
*/
|
|
19
20
|
export declare class BsRadio {
|
|
20
21
|
el: HTMLElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A touch-ripple effect: on pointer press, a circle grows from the press point and fades out.
|
|
3
|
+
*
|
|
4
|
+
* It is a building block for pressable components (`bs-button`, `bs-icon-button`, ...), not something
|
|
5
|
+
* to place on a page by itself. Put it inside a positioned, pressable parent; it fills that parent,
|
|
6
|
+
* follows its corner radius, and listens for `pointerdown` on it. Pointer-events pass through, so the
|
|
7
|
+
* parent still receives every click.
|
|
8
|
+
*
|
|
9
|
+
* The motion uses the shared duration and easing tokens. Under `prefers-reduced-motion: reduce` those
|
|
10
|
+
* durations are `0ms`, and the ripple does not play at all.
|
|
11
|
+
*
|
|
12
|
+
* ## When to use
|
|
13
|
+
* - Inside a pressable `bs-*` component, to give press feedback.
|
|
14
|
+
*
|
|
15
|
+
* ## When not to use
|
|
16
|
+
* - As a hover or focus indicator. Those are colour changes on the parent.
|
|
17
|
+
* - On non-interactive surfaces.
|
|
18
|
+
*
|
|
19
|
+
* Set the custom properties on the `bs-ripple` element itself. Inside another component that means `::part(ripple)`,
|
|
20
|
+
* e.g. `bs-button::part(ripple) { --bs-ripple-color: white; }`.
|
|
21
|
+
*
|
|
22
|
+
* @part surface - The clipping layer the ripple circles are drawn in.
|
|
23
|
+
* @prop --bs-ripple-color - Ripple colour. `currentColor` by default, so it follows the parent's text colour and works on every variant.
|
|
24
|
+
* @prop --bs-ripple-opacity - Starting opacity of the ripple. No opacity token fits, so the default is `0.24`.
|
|
25
|
+
* @prop --bs-ripple-duration - Length of the ripple. Aliased to `--bs-duration-slower`.
|
|
26
|
+
* @prop --bs-ripple-easing - Curve of the ripple. Aliased to `--bs-easing-decelerate`.
|
|
27
|
+
*/
|
|
28
|
+
export declare class BsRipple {
|
|
29
|
+
el: HTMLElement;
|
|
30
|
+
/** Always start the ripple from the centre instead of the press point. Use it for round or icon-only controls. */
|
|
31
|
+
centered: boolean;
|
|
32
|
+
/** Turns the ripple off. A disabled parent (`<button disabled>`) also stops it. */
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* CSS selector of the element to listen on, found with `closest()` from the ripple (so it stays inside
|
|
36
|
+
* the same shadow tree). By default the ripple listens on its parent. Use it when the pressable element
|
|
37
|
+
* is bigger than the ripple's own parent, e.g. a switch whose ripple sits on the knob but whose whole
|
|
38
|
+
* `<label>` is the press target.
|
|
39
|
+
*/
|
|
40
|
+
triggerSelector?: string;
|
|
41
|
+
onTriggerChange(): void;
|
|
42
|
+
private surface?;
|
|
43
|
+
private target?;
|
|
44
|
+
connectedCallback(): void;
|
|
45
|
+
componentDidLoad(): void;
|
|
46
|
+
disconnectedCallback(): void;
|
|
47
|
+
private bind;
|
|
48
|
+
private unbind;
|
|
49
|
+
private onPointerDown;
|
|
50
|
+
private toMs;
|
|
51
|
+
render(): any;
|
|
52
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsRippleArgs {
|
|
3
|
+
centered: boolean;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const meta: Meta<BsRippleArgs>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<BsRippleArgs>;
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
export declare const Centered: Story;
|
|
11
|
+
export declare const InButtons: Story;
|
|
@@ -36,6 +36,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
36
36
|
* @prop --bs-search-item-color-muted - Description and trailing text. Aliased to `--bs-text-muted`.
|
|
37
37
|
* @prop --bs-search-item-color-disabled - Aliased to `--bs-text-on-disabled`.
|
|
38
38
|
* @prop --bs-search-item-icon-color - Aliased to `--bs-icon-default`.
|
|
39
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
39
40
|
*/
|
|
40
41
|
export declare class BsSearchItem {
|
|
41
42
|
el: HTMLElement;
|
|
@@ -30,6 +30,8 @@ export type BsSidePanelSide = 'start' | 'end';
|
|
|
30
30
|
* @prop --bs-side-panel-overlay-bg - Backdrop color. Aliased to `--bs-surface-overlay`.
|
|
31
31
|
* @prop --bs-side-panel-color - Text color. Aliased to `--bs-text-default`.
|
|
32
32
|
* @prop --bs-side-panel-z-index - Stacking order. Aliased to `--bs-z-index-modal`.
|
|
33
|
+
* @prop --bs-side-panel-duration - Length of the slide in/out. Aliased to `--bs-duration-slow`.
|
|
34
|
+
* @prop --bs-side-panel-easing - Curve of the slide in/out. Aliased to `--bs-easing-standard`.
|
|
33
35
|
*/
|
|
34
36
|
export declare class BsSidePanel {
|
|
35
37
|
el: HTMLElement;
|
|
@@ -50,6 +52,13 @@ export declare class BsSidePanel {
|
|
|
50
52
|
private panelEl?;
|
|
51
53
|
/** Elements we set `inert` on (so we only undo our own changes). */
|
|
52
54
|
private inertified;
|
|
55
|
+
/** True while the slide-out plays after `open` went false, so the panel stays mounted for it. */
|
|
56
|
+
closing: boolean;
|
|
57
|
+
private overlayEl?;
|
|
58
|
+
private enterPending;
|
|
59
|
+
private exitPending;
|
|
60
|
+
private motionRun;
|
|
61
|
+
private wasRendered;
|
|
53
62
|
onOpenChange(next: boolean): void;
|
|
54
63
|
onOverlayChange(): void;
|
|
55
64
|
connectedCallback(): void;
|
|
@@ -59,6 +68,10 @@ export declare class BsSidePanel {
|
|
|
59
68
|
private restoreInert;
|
|
60
69
|
private getFocusables;
|
|
61
70
|
private trapTab;
|
|
71
|
+
/** Where the panel sits when hidden: fully past its own edge. Physical, like the panel's own left/right. */
|
|
72
|
+
private offscreen;
|
|
73
|
+
private playEnter;
|
|
74
|
+
private playExit;
|
|
62
75
|
componentDidRender(): void;
|
|
63
76
|
private focusedIn;
|
|
64
77
|
private close;
|
|
@@ -32,6 +32,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
32
32
|
* @prop --bs-source-link-icon-color - File icon and arrow color. Aliased to `--bs-icon-default`.
|
|
33
33
|
* @prop --bs-source-link-dot-color - Separator dot between source and version. Aliased to
|
|
34
34
|
* `--bs-text-secondary`.
|
|
35
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
35
36
|
*/
|
|
36
37
|
export declare class BsSourceLink {
|
|
37
38
|
/** The cited document's filename. */
|
|
@@ -16,6 +16,7 @@ export type BsSwitchSize = 'md' | 'lg';
|
|
|
16
16
|
* @part track - The visual pill-shaped track.
|
|
17
17
|
* @part knob - The sliding circular knob.
|
|
18
18
|
* @part label - The label text wrapper.
|
|
19
|
+
* @part ripple - The press-ripple halo (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
19
20
|
*/
|
|
20
21
|
export declare class BsSwitch {
|
|
21
22
|
el: HTMLElement;
|
|
@@ -29,6 +29,7 @@ import { EventEmitter } from '../../../stencil-public-runtime';
|
|
|
29
29
|
* @part tab - The button element.
|
|
30
30
|
* @part icon - The icon wrapper.
|
|
31
31
|
* @part label - The label wrapper.
|
|
32
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
32
33
|
*/
|
|
33
34
|
export declare class BsInlineTab {
|
|
34
35
|
el: HTMLElement;
|
|
@@ -32,6 +32,7 @@ export type BsTabIconPosition = 'start' | 'top';
|
|
|
32
32
|
* @part label - The label wrapper.
|
|
33
33
|
* @part badge - The badge wrapper.
|
|
34
34
|
* @part indicator - The selection/hover underline indicator.
|
|
35
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
35
36
|
*/
|
|
36
37
|
export declare class BsTab {
|
|
37
38
|
el: HTMLElement;
|
|
@@ -16,8 +16,15 @@ export type BsTooltipTriggerPlacement = 'top' | 'bottom' | 'start' | 'end';
|
|
|
16
16
|
* @part tooltip - The positioned tooltip wrapper (role="tooltip").
|
|
17
17
|
* @prop --bs-tooltip-trigger-offset - Gap between trigger and tooltip. Aliased to `--bs-spacing-100`.
|
|
18
18
|
* @prop --bs-tooltip-trigger-z-index - Stacking order. Aliased to `--bs-z-index-popover`.
|
|
19
|
+
* @prop --bs-tooltip-trigger-duration - Length of the show/hide motion. Aliased to `--bs-duration-fast`.
|
|
20
|
+
* @prop --bs-tooltip-trigger-easing - Curve of the show/hide motion. Aliased to `--bs-easing-standard`.
|
|
21
|
+
* @prop --bs-tooltip-trigger-distance - How far the tooltip nudges while it fades. Aliased to `--bs-spacing-50`.
|
|
22
|
+
*
|
|
23
|
+
* The tooltip fades in while drifting a few pixels away from the trigger into place, and fades back out toward it. Under
|
|
24
|
+
* `prefers-reduced-motion: reduce` (or a duration of `0ms`) it appears and disappears instantly.
|
|
19
25
|
*/
|
|
20
26
|
export declare class BsTooltipTrigger {
|
|
27
|
+
el: HTMLElement;
|
|
21
28
|
/** Tooltip message. */
|
|
22
29
|
text: string;
|
|
23
30
|
/** Milliseconds to wait before showing the tooltip. */
|
|
@@ -25,6 +32,17 @@ export declare class BsTooltipTrigger {
|
|
|
25
32
|
/** Side of the trigger the tooltip appears on. The bs-tooltip arrow is only drawn for 'bottom'. */
|
|
26
33
|
placement: BsTooltipTriggerPlacement;
|
|
27
34
|
visible: boolean;
|
|
35
|
+
/** True while the exit motion plays after `visible` went false, so the tooltip stays shown for it. */
|
|
36
|
+
closing: boolean;
|
|
37
|
+
private bubbleEl?;
|
|
38
|
+
private tipEl?;
|
|
39
|
+
private enterPending;
|
|
40
|
+
private exitPending;
|
|
41
|
+
private motionRun;
|
|
42
|
+
onVisibleChange(next: boolean): void;
|
|
43
|
+
/** The tooltip drifts away from the trigger it hangs off: below it drops from above, above it rises from below, and so on. */
|
|
44
|
+
private offset;
|
|
45
|
+
componentDidRender(): void;
|
|
28
46
|
private tooltipId;
|
|
29
47
|
private timer?;
|
|
30
48
|
disconnectedCallback(): void;
|
|
@@ -21,6 +21,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
21
21
|
* @part icon - The icon wrapper.
|
|
22
22
|
* @part label - The label wrapper.
|
|
23
23
|
* @part group - The `role="group"` wrapper around the child items (while expanded).
|
|
24
|
+
* @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
|
|
24
25
|
*/
|
|
25
26
|
export declare class BsTreeItem {
|
|
26
27
|
el: HTMLElement;
|