@brandsync/wc 1.17.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 +19 -0
- package/REFERENCE.md +316 -8
- package/custom-elements.json +9323 -6758
- 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-0bbaef51.entry.js → p-028d3244.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8c4dfccb.entry.js → p-03ad83a3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f82a9f0d.entry.js → p-0819add7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-67f125e8.entry.js → p-08649f52.entry.js} +1 -1
- package/dist/brandsync-wc/p-0dff9822.entry.js +1 -0
- package/dist/brandsync-wc/{p-9d12b1fb.entry.js → p-10b8937f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-aec2dfeb.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-9d740928.entry.js → p-171fa239.entry.js} +1 -1
- package/dist/brandsync-wc/p-197ac73f.entry.js +1 -0
- package/dist/brandsync-wc/p-1e33bc10.entry.js +1 -0
- package/dist/brandsync-wc/{p-b5710db6.entry.js → p-21e5d4d6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-90ba3032.entry.js → p-2389f473.entry.js} +1 -1
- package/dist/brandsync-wc/p-25914efc.entry.js +1 -0
- package/dist/brandsync-wc/{p-4f4c0c68.entry.js → p-26e0ab15.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6ea02b98.entry.js → p-270b2cb0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-54d91ac9.entry.js → p-27663faf.entry.js} +1 -1
- package/dist/brandsync-wc/p-28c38959.entry.js +1 -0
- package/dist/brandsync-wc/{p-70c650b2.entry.js → p-2a8b2ac9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-84d6d6eb.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-9396c67e.entry.js → p-30ff0659.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a7fa839a.entry.js → p-313ec145.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3c6ec5d0.entry.js → p-3627e0c6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e8ae626d.entry.js → p-38a2210a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3bad5e1b.entry.js → p-391504ab.entry.js} +1 -1
- package/dist/brandsync-wc/{p-47b7fe76.entry.js → p-3b212a8a.entry.js} +1 -1
- package/dist/brandsync-wc/p-3c6980b9.entry.js +1 -0
- package/dist/brandsync-wc/{p-d5a6098d.entry.js → p-42fcf134.entry.js} +1 -1
- package/dist/brandsync-wc/p-4928c4ad.entry.js +1 -0
- package/dist/brandsync-wc/{p-844205d9.entry.js → p-4c51da66.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f3eca1ce.entry.js → p-4d1ee16e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5b933ff4.entry.js → p-4dfd4715.entry.js} +1 -1
- package/dist/brandsync-wc/p-4ffcf41a.entry.js +1 -0
- package/dist/brandsync-wc/{p-11d80e17.entry.js → p-527fd08d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-43d5f708.entry.js → p-5371b31c.entry.js} +1 -1
- package/dist/brandsync-wc/p-568de1b0.entry.js +1 -0
- package/dist/brandsync-wc/{p-dcbeb143.entry.js → p-590deea0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2bd30709.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-5c61eb06.entry.js → p-70a5897b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8134f97c.entry.js → p-7160a72e.entry.js} +1 -1
- package/dist/brandsync-wc/p-776b677f.entry.js +1 -0
- package/dist/brandsync-wc/{p-b142d8c9.entry.js → p-78c94cfe.entry.js} +1 -1
- package/dist/brandsync-wc/p-7bff3aa5.entry.js +1 -0
- package/dist/brandsync-wc/{p-fdc168ec.entry.js → p-7c741b8d.entry.js} +1 -1
- package/dist/brandsync-wc/p-86f04e9e.entry.js +1 -0
- package/dist/brandsync-wc/{p-4eaa9ed4.entry.js → p-8a18864a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-35f76ea7.entry.js → p-8a606b38.entry.js} +1 -1
- package/dist/brandsync-wc/p-8ac86d16.entry.js +1 -0
- package/dist/brandsync-wc/p-8b21f623.entry.js +1 -0
- package/dist/brandsync-wc/{p-1bd99669.entry.js → p-8d1ad4b0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-07673a48.entry.js → p-8e107d7a.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d9184940.entry.js → p-90d8d45f.entry.js} +1 -1
- package/dist/brandsync-wc/p-9751a12d.entry.js +1 -0
- package/dist/brandsync-wc/{p-857987f9.entry.js → p-9868ee72.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f98dfa85.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-c835afb7.entry.js → p-a2bfbf02.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ffccc1ee.entry.js → p-a50c5e68.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3bdeeb9d.entry.js → p-a688a7ca.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f43a7f16.entry.js → p-a92c0f06.entry.js} +1 -1
- package/dist/brandsync-wc/p-ab301e9d.entry.js +1 -0
- package/dist/brandsync-wc/{p-065c7e7c.entry.js → p-ab99b8c3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3cb79512.entry.js → p-c01e231e.entry.js} +1 -1
- package/dist/brandsync-wc/p-d15e48eb.entry.js +1 -0
- package/dist/brandsync-wc/p-d484e976.entry.js +1 -0
- package/dist/brandsync-wc/{p-d25adab2.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-a7fb0b59.entry.js → p-e5235e76.entry.js} +1 -1
- package/dist/brandsync-wc/{p-00be9a64.entry.js → p-e776d145.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ffc07eb5.entry.js → p-e7c80f48.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e0a9f2d1.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-5057e4fe.entry.js → p-f3b60029.entry.js} +1 -1
- package/dist/brandsync-wc/p-f4628861.entry.js +1 -0
- package/dist/brandsync-wc/{p-b02bf1ca.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-57ff14ca.entry.js → p-f96f45ae.entry.js} +1 -1
- package/dist/brandsync-wc/{p-debc83cc.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 +133 -0
- package/dist/cjs/bs-app-shell.cjs.entry.js +1 -1
- package/dist/cjs/bs-app-switcher.cjs.entry.js +208 -0
- 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-avatar.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 +46 -0
- package/dist/cjs/bs-company-switcher.cjs.entry.js +211 -0
- 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 +9 -2
- package/dist/cjs/bs-icon-tile.cjs.entry.js +10 -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 +261 -0
- package/dist/cjs/bs-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-mega-menu.cjs.entry.js +120 -0
- 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 +5 -2
- package/dist/cjs/bs-page-header.cjs.entry.js +66 -0
- 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 +10 -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.cmp.test.js +52 -0
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.css +111 -0
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +184 -0
- package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.stories.js +28 -0
- package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.cmp.test.js +179 -0
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.css +173 -0
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.js +902 -0
- package/dist/collection/components/bs-app-switcher/bs-app-switcher.stories.js +91 -0
- package/dist/collection/components/bs-app-tile/bs-app-tile.cmp.test.js +58 -0
- package/dist/collection/components/bs-app-tile/bs-app-tile.css +104 -0
- package/dist/collection/components/bs-app-tile/bs-app-tile.js +190 -0
- package/dist/collection/components/bs-app-tile/bs-app-tile.stories.js +43 -0
- 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-avatar/bs-avatar.css +3 -3
- 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.cmp.test.js +13 -0
- 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 +28 -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.cmp.test.js +32 -0
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.css +43 -0
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +67 -0
- package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.stories.js +25 -0
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.cmp.test.js +171 -0
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.css +196 -0
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +720 -0
- package/dist/collection/components/bs-company-switcher/bs-company-switcher.stories.js +78 -0
- 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 +11 -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 +204 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +143 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +443 -0
- package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +188 -0
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu-block/bs-menu-block.cmp.test.js +44 -0
- package/dist/collection/components/bs-menu-block/bs-menu-block.css +106 -0
- package/dist/collection/components/bs-menu-block/bs-menu-block.js +147 -0
- package/dist/collection/components/bs-menu-block/bs-menu-block.stories.js +36 -0
- 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.cmp.test.js +206 -0
- package/dist/collection/components/bs-page-header/bs-page-header.css +252 -0
- package/dist/collection/components/bs-page-header/bs-page-header.js +351 -0
- package/dist/collection/components/bs-page-header/bs-page-header.stories.js +177 -0
- 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.cmp.test.js +79 -0
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +46 -0
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +10 -1
- 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.d.ts +11 -0
- package/dist/components/bs-app-recent-item.js +1 -0
- package/dist/components/bs-app-shell.js +1 -1
- package/dist/components/bs-app-switcher.d.ts +11 -0
- package/dist/components/bs-app-switcher.js +1 -0
- package/dist/components/bs-app-tile.d.ts +11 -0
- package/dist/components/bs-app-tile.js +1 -0
- 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-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.d.ts +11 -0
- package/dist/components/bs-compact-menu-block.js +1 -0
- package/dist/components/bs-company-switcher.d.ts +11 -0
- package/dist/components/bs-company-switcher.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-mega-menu.js +1 -0
- package/dist/components/bs-menu-block.d.ts +11 -0
- package/dist/components/bs-menu-block.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-page-header.js +1 -0
- 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-4yShCgRb.js +1 -0
- package/dist/components/p-6Rr9bjVN.js +1 -0
- package/dist/components/{p-CervX0wH.js → p-BHzj13sd.js} +1 -1
- package/dist/components/p-BIxcCDgl.js +1 -0
- package/dist/components/p-BQ4rSQDm.js +1 -0
- 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-Bp3DIxjT.js → p-CFR3Q0io.js} +1 -1
- package/dist/components/p-CHZE_FrW.js +1 -0
- package/dist/components/{p-CYzBTzzf.js → p-CVQycAap.js} +1 -1
- package/dist/components/{p-DtYTs9Kh.js → p-Cr8cHmpM.js} +1 -1
- package/dist/components/p-CvSewXZF.js +1 -0
- package/dist/components/{p-Dt4JNhHT.js → p-D3PuUD8Z.js} +1 -1
- package/dist/components/p-D5eN9Lfa.js +1 -0
- package/dist/components/{p-BDnZvjlq.js → p-DDgzEg1C.js} +1 -1
- package/dist/components/p-DF2FcJPs.js +1 -0
- package/dist/components/{p-DcjgRtSQ.js → p-DLnZG_G9.js} +1 -1
- package/dist/components/{p-CH5atin4.js → p-DXbcyEgd.js} +1 -1
- package/dist/components/{p-CRtvJlh8.js → p-DXwatzvM.js} +1 -1
- package/dist/components/p-DcD5eV_Z.js +1 -0
- package/dist/components/p-Dj393s3S.js +1 -0
- package/dist/components/p-DsBToIYE.js +1 -0
- package/dist/components/p-DtkTnaOp.js +1 -0
- package/dist/components/{p-DvNED6Lb.js → p-EGNLb4cQ.js} +1 -1
- package/dist/components/{p-CRM1wIX9.js → p-Jik5UkAe.js} +1 -1
- package/dist/components/p-XZXdZpt4.js +1 -0
- package/dist/components/{p-BcYNrEOB.js → p-Y5FyLR8G.js} +1 -1
- package/dist/components/{p-DG9eT5yi.js → p-ZfE38vXZ.js} +1 -1
- package/dist/components/p-lPTgyF9v.js +1 -0
- 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 +129 -0
- package/dist/esm/bs-app-shell.entry.js +1 -1
- package/dist/esm/bs-app-switcher.entry.js +206 -0
- package/dist/esm/bs-attachment-list.entry.js +1 -1
- package/dist/esm/bs-attachment.entry.js +1 -1
- package/dist/esm/bs-avatar.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 +43 -0
- package/dist/esm/bs-company-switcher.entry.js +209 -0
- 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 +9 -2
- package/dist/esm/bs-icon-tile.entry.js +11 -3
- 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 +258 -0
- package/dist/esm/bs-list.entry.js +1 -1
- package/dist/esm/bs-mega-menu.entry.js +118 -0
- 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 +5 -2
- package/dist/esm/bs-page-header.entry.js +64 -0
- 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-app-recent-item/bs-app-recent-item.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-app-recent-item/bs-app-recent-item.d.ts +51 -0
- package/dist/types/components/bs-app-recent-item/bs-app-recent-item.stories.d.ts +15 -0
- package/dist/types/components/bs-app-switcher/bs-app-switcher.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-app-switcher/bs-app-switcher.d.ts +159 -0
- package/dist/types/components/bs-app-switcher/bs-app-switcher.stories.d.ts +34 -0
- package/dist/types/components/bs-app-tile/bs-app-tile.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-app-tile/bs-app-tile.d.ts +51 -0
- package/dist/types/components/bs-app-tile/bs-app-tile.stories.d.ts +18 -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 +8 -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-compact-menu-block/bs-compact-menu-block.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.d.ts +28 -0
- package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.stories.d.ts +10 -0
- package/dist/types/components/bs-company-switcher/bs-company-switcher.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-company-switcher/bs-company-switcher.d.ts +130 -0
- package/dist/types/components/bs-company-switcher/bs-company-switcher.stories.d.ts +25 -0
- package/dist/types/components/bs-dialog/bs-dialog.d.ts +14 -0
- package/dist/types/components/bs-icon-tile/bs-icon-tile.d.ts +5 -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.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-mega-menu/bs-mega-menu.d.ts +134 -0
- package/dist/types/components/bs-mega-menu/bs-mega-menu.stories.d.ts +55 -0
- package/dist/types/components/bs-menu-block/bs-menu-block.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-menu-block/bs-menu-block.d.ts +47 -0
- package/dist/types/components/bs-menu-block/bs-menu-block.stories.d.ts +15 -0
- package/dist/types/components/bs-menu-item/bs-menu-item.d.ts +1 -0
- package/dist/types/components/bs-page-header/bs-page-header.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-page-header/bs-page-header.d.ts +100 -0
- package/dist/types/components/bs-page-header/bs-page-header.stories.d.ts +41 -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/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.d.ts +7 -1
- package/dist/types/components.d.ts +2422 -0
- package/dist/types/svg-inline.d.ts +5 -0
- package/dist/types/utils/motion.d.ts +21 -0
- package/package.json +2 -1
- package/reference.d.ts +53 -23
- package/reference.json +1210 -98
- package/dist/brandsync-wc/p-044ac86c.entry.js +0 -1
- package/dist/brandsync-wc/p-046a53de.entry.js +0 -1
- package/dist/brandsync-wc/p-08e96f13.entry.js +0 -1
- package/dist/brandsync-wc/p-225148be.entry.js +0 -1
- package/dist/brandsync-wc/p-23b56775.entry.js +0 -1
- package/dist/brandsync-wc/p-32297416.entry.js +0 -1
- package/dist/brandsync-wc/p-361aef36.entry.js +0 -1
- package/dist/brandsync-wc/p-3789c7a5.entry.js +0 -1
- package/dist/brandsync-wc/p-3d2c62a6.entry.js +0 -1
- package/dist/brandsync-wc/p-3d7b0708.entry.js +0 -1
- package/dist/brandsync-wc/p-4b460eda.entry.js +0 -1
- package/dist/brandsync-wc/p-5eb5795f.entry.js +0 -1
- package/dist/brandsync-wc/p-61deb48c.entry.js +0 -1
- package/dist/brandsync-wc/p-79fc849c.entry.js +0 -1
- package/dist/brandsync-wc/p-7ed071fb.entry.js +0 -1
- package/dist/brandsync-wc/p-8048d033.entry.js +0 -1
- package/dist/brandsync-wc/p-8c9938a5.entry.js +0 -1
- package/dist/brandsync-wc/p-a5659499.entry.js +0 -1
- package/dist/brandsync-wc/p-ab14a07d.entry.js +0 -1
- package/dist/brandsync-wc/p-b4511ad3.entry.js +0 -1
- package/dist/brandsync-wc/p-baa39c08.entry.js +0 -1
- package/dist/brandsync-wc/p-be7aac52.entry.js +0 -1
- package/dist/brandsync-wc/p-c05ee501.entry.js +0 -1
- package/dist/brandsync-wc/p-d2a15599.entry.js +0 -1
- package/dist/brandsync-wc/p-d7956c51.entry.js +0 -1
- package/dist/brandsync-wc/p-dfad8c0a.entry.js +0 -1
- package/dist/brandsync-wc/p-e123b391.entry.js +0 -1
- package/dist/brandsync-wc/p-e8e22238.entry.js +0 -1
- package/dist/brandsync-wc/p-eb0dc5bf.entry.js +0 -1
- package/dist/cjs/bs-button.cjs.entry.js +0 -107
- package/dist/cjs/bs-list-item.cjs.entry.js +0 -66
- package/dist/cjs/bs-popover.cjs.entry.js +0 -153
- package/dist/cjs/bs-skeleton.cjs.entry.js +0 -51
- package/dist/components/p-B32Kl4IB.js +0 -1
- package/dist/components/p-BUpnOUIM.js +0 -1
- package/dist/components/p-BcbaiZLh.js +0 -1
- package/dist/components/p-ChcaPfNL.js +0 -1
- package/dist/components/p-Cpe2k7ZC.js +0 -1
- package/dist/components/p-D7AXo5NT.js +0 -1
- package/dist/components/p-D8bvv9QQ.js +0 -1
- package/dist/components/p-DMLfXpva.js +0 -1
- package/dist/components/p-DYDk73TF.js +0 -1
- package/dist/components/p-DYuzgzxI.js +0 -1
- package/dist/components/p-TAY9S9yG.js +0 -1
- package/dist/components/p-w-DkdA4O.js +0 -1
- package/dist/esm/bs-button.entry.js +0 -105
- package/dist/esm/bs-list-item.entry.js +0 -64
- package/dist/esm/bs-popover.entry.js +0 -151
- package/dist/esm/bs-skeleton.entry.js +0 -49
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A rich entry in a mega menu: an icon tile, a title with an optional "New" chip, and a one-line description.
|
|
3
|
+
* Matches the Figma "Menu block" component (Default, Hover, Pressed and Focused).
|
|
4
|
+
*
|
|
5
|
+
* The block is always a native button and only emits events; it never navigates. Hover, pressed and focus come from the
|
|
6
|
+
* native element. Its accessible name is its text: the title, the badge and the description, read once.
|
|
7
|
+
*
|
|
8
|
+
* Built from `bs-icon-tile` (the icon) and `bs-chip-informative` (the badge). The icon is either a URL of a
|
|
9
|
+
* monochrome SVG in `icon` (painted with the theme's icon colour through a CSS mask, so it follows light and
|
|
10
|
+
* dark mode), or any element in the default slot (an `<svg>` drawn with `currentColor`).
|
|
11
|
+
*
|
|
12
|
+
* ## When to use
|
|
13
|
+
* - A destination in a mega menu that needs an icon and a sentence of explanation, usually inside `bs-mega-menu`.
|
|
14
|
+
*
|
|
15
|
+
* ## When not to use
|
|
16
|
+
* - A plain text destination -- use `bs-compact-menu-block`.
|
|
17
|
+
* - A command in a dropdown list -- use `bs-menu-item`.
|
|
18
|
+
*
|
|
19
|
+
* @slot - The icon (16px, `currentColor`). Overrides the `icon` prop.
|
|
20
|
+
* @part container - The button.
|
|
21
|
+
* @part icon - The icon tile (`bs-icon-tile`).
|
|
22
|
+
* @part name - The title.
|
|
23
|
+
* @part badge - The badge chip (`bs-chip-informative`).
|
|
24
|
+
* @part description - The description.
|
|
25
|
+
* @prop --bs-menu-block-padding - Padding inside the block. Aliased to `--bs-spacing-150`.
|
|
26
|
+
* @prop --bs-menu-block-gap - Gap between icon and text. Aliased to `--bs-spacing-150`.
|
|
27
|
+
* @prop --bs-menu-block-radius - Corner radius. Aliased to `--bs-border-radius-100`.
|
|
28
|
+
* @prop --bs-menu-block-bg - Resting background. `transparent`.
|
|
29
|
+
* @prop --bs-menu-block-bg-hover - Aliased to `--bs-surface-hover`.
|
|
30
|
+
* @prop --bs-menu-block-bg-pressed - Aliased to `--bs-surface-pressed`.
|
|
31
|
+
* @prop --bs-menu-block-icon-bg - Icon square background. Aliased to `--bs-color-neutral-container`; `--bs-surface-base` while hovered or pressed.
|
|
32
|
+
* @prop --bs-menu-block-color - Title colour. Aliased to `--bs-text-default`.
|
|
33
|
+
* @prop --bs-menu-block-color-muted - Description colour. Aliased to `--bs-text-secondary`.
|
|
34
|
+
* @prop --bs-menu-block-focus-ring - Focus ring colour. Aliased to `--bs-border-info`.
|
|
35
|
+
* @prop --bs-menu-block-white-space - `white-space` of the title and description. `nowrap` (single line, ellipsis); set `normal` to let them wrap.
|
|
36
|
+
*/
|
|
37
|
+
export declare class BsMenuBlock {
|
|
38
|
+
/** The title, and the start of the accessible name. */
|
|
39
|
+
name: string;
|
|
40
|
+
/** One line under the title; part of the accessible name. */
|
|
41
|
+
description?: string;
|
|
42
|
+
/** URL of a monochrome SVG painted with the icon colour. The default slot overrides it. */
|
|
43
|
+
icon?: string;
|
|
44
|
+
/** Short text for a chip beside the title, e.g. "New". */
|
|
45
|
+
badge?: string;
|
|
46
|
+
render(): any;
|
|
47
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsMenuBlockArgs {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
badge: string;
|
|
6
|
+
}
|
|
7
|
+
declare const meta: Meta<BsMenuBlockArgs>;
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<BsMenuBlockArgs>;
|
|
10
|
+
export declare const Default: Story;
|
|
11
|
+
export declare const WithBadge: Story;
|
|
12
|
+
/** The four states in the design. Hover, pressed and focus come from the native element: point at a block, press it, or Tab to it. */
|
|
13
|
+
export declare const States: Story;
|
|
14
|
+
/** A slotted `<svg>` instead of the `icon` URL. */
|
|
15
|
+
export declare const SlottedIcon: Story;
|
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
type SlotName = 'breadcrumb' | 'status' | 'meta' | 'actions' | 'tabs';
|
|
3
|
+
/**
|
|
4
|
+
* The header at the top of a page's content area: breadcrumb trail, the page title (a real heading) with an
|
|
5
|
+
* optional back button, status and favourite toggle, a meta line, page-level actions on the right and an
|
|
6
|
+
* optional row of tabs. Matches the Figma "Page header" (types List page, Record, Record with tabs and Sticky
|
|
7
|
+
* compact).
|
|
8
|
+
*
|
|
9
|
+
* Built from `bs-breadcrumbs`/`bs-breadcrumb` (slotted by you), `bs-icon-button` (the built-in back and favourite
|
|
10
|
+
* buttons), `bs-chip-informative` (the status you slot), `bs-button` and `bs-icon-button` (the actions you slot),
|
|
11
|
+
* `bs-tabs`/`bs-tab` (the tab row you slot) and `bs-divider` (under the tabs). The title block, meta line and
|
|
12
|
+
* actions area are plain layout markup, because no component covers them. The back arrow and the star are
|
|
13
|
+
* inline SVG (Phosphor "arrow-left", "star" and "star-fill") until the library has an icon component.
|
|
14
|
+
*
|
|
15
|
+
* ## Compact (sticky)
|
|
16
|
+
* `compact` is the condensed state a record header takes once the page scrolls: one row (back, title, status,
|
|
17
|
+
* meta inline, actions), a level 2 shadow, no breadcrumb and no tabs, and `position: sticky`. Set it yourself
|
|
18
|
+
* from a scroll observer. Because the header covers the top of the scroll area, give the scroll container
|
|
19
|
+
* `scroll-padding-top` equal to its height (80px by default) so focused or anchored content is not hidden under it.
|
|
20
|
+
*
|
|
21
|
+
* ## Responsive
|
|
22
|
+
* The header reacts to its own width (a container query), not the viewport's. Below 640px the actions wrap
|
|
23
|
+
* below the title block, slotted buttons grow to 44px tall, the title and meta wrap, and the tab row scrolls
|
|
24
|
+
* sideways inside itself. The page never gets wider.
|
|
25
|
+
*
|
|
26
|
+
* ## When to use
|
|
27
|
+
* - The top of a list page or a single record (an invoice, a customer) inside the app shell's content area.
|
|
28
|
+
*
|
|
29
|
+
* ## When not to use
|
|
30
|
+
* - The app-wide bar with logo, search and user: use `bs-navigation-header`.
|
|
31
|
+
* - The heading of a card, dialog or panel: use that component's own `heading`.
|
|
32
|
+
*
|
|
33
|
+
* ## Accessibility notes
|
|
34
|
+
* The root is a plain `div`, not a `<header>`: a `<header>` that is not inside `<main>`/`<article>`/`<section>`
|
|
35
|
+
* is a second banner landmark. The title is a real heading (`<h1>` by default, `headingLevel` 1 to 6); the
|
|
36
|
+
* status is next to it, not inside it. If you want a landmark, wrap `bs-page-header` yourself.
|
|
37
|
+
*
|
|
38
|
+
* @slot breadcrumb - A `bs-breadcrumbs` trail, shown above the title. Not shown when `compact`.
|
|
39
|
+
* @slot status - A status chip next to the title, e.g. `<bs-chip-informative color="error" size="sm">Overdue</bs-chip-informative>`.
|
|
40
|
+
* @slot meta - The line under the title (inline after it when `compact`). Overrides the `meta` prop. Plain text.
|
|
41
|
+
* @slot actions - The page-level actions on the right, e.g. `bs-button`s and an icon-only "more" `bs-icon-button`.
|
|
42
|
+
* @slot tabs - A `bs-tabs` row under the meta line. Not shown when `compact`.
|
|
43
|
+
* @part container - The root element.
|
|
44
|
+
* @part breadcrumb - The breadcrumb area.
|
|
45
|
+
* @part row - The row holding the title block and the actions.
|
|
46
|
+
* @part main - The title block (back button, title row and meta).
|
|
47
|
+
* @part back - The back `bs-icon-button`.
|
|
48
|
+
* @part title - The row holding the heading, status and favourite button.
|
|
49
|
+
* @part heading - The heading element.
|
|
50
|
+
* @part status - The status area.
|
|
51
|
+
* @part favorite - The favourite `bs-icon-button`.
|
|
52
|
+
* @part meta - The meta line.
|
|
53
|
+
* @part actions - The actions area.
|
|
54
|
+
* @part tabs - The tab row (scrolls sideways when narrow).
|
|
55
|
+
* @part divider - The `bs-divider` under the tabs.
|
|
56
|
+
* @prop --bs-page-header-bg - Background. Aliased to `--bs-surface-base`.
|
|
57
|
+
* @prop --bs-page-header-padding-x - Left and right padding. Aliased to `--bs-spacing-200`.
|
|
58
|
+
* @prop --bs-page-header-padding-y - Top and bottom padding. Aliased to `--bs-spacing-300`.
|
|
59
|
+
* @prop --bs-page-header-gap - Gap between the breadcrumb, title block and tabs, and between the title block and the actions. Aliased to `--bs-spacing-150`.
|
|
60
|
+
* @prop --bs-page-header-title-gap - Gap between the heading, status and favourite button. Aliased to `--bs-spacing-150`.
|
|
61
|
+
* @prop --bs-page-header-actions-gap - Gap between the actions. Aliased to `--bs-spacing-100`.
|
|
62
|
+
* @prop --bs-page-header-text-color - Heading. Aliased to `--bs-text-default`.
|
|
63
|
+
* @prop --bs-page-header-meta-color - Meta line. Aliased to `--bs-text-secondary`.
|
|
64
|
+
* @prop --bs-page-header-shadow - Shadow of the compact header (elevation level 2). Aliased to the `--bs-shadow-*` position and blur tokens and `--bs-elevation-medium`.
|
|
65
|
+
* @prop --bs-page-header-sticky-offset - The `top` of the compact header. Defaults to `0px`; set it to the height of a sticky bar above (e.g. the navigation header).
|
|
66
|
+
* @prop --bs-page-header-z-index - Stacking order of the compact header. Aliased to `--bs-z-index-sticky`.
|
|
67
|
+
*/
|
|
68
|
+
export declare class BsPageHeader {
|
|
69
|
+
el: HTMLElement;
|
|
70
|
+
/** The page title, rendered as the heading. */
|
|
71
|
+
heading: string;
|
|
72
|
+
/** HTML heading level for the title, 1 to 6. Use 1 unless the page already has its own `h1`. */
|
|
73
|
+
headingLevel: number;
|
|
74
|
+
/** The line under the title, plain text, e.g. "214 invoices · 38 open". The `meta` slot overrides it. */
|
|
75
|
+
meta?: string;
|
|
76
|
+
/** The condensed, sticky state: one row, a level 2 shadow, no breadcrumb and no tabs. Reflected. */
|
|
77
|
+
compact: boolean;
|
|
78
|
+
/** Shows a back button before the title. It emits `bsBack`; you navigate. */
|
|
79
|
+
back: boolean;
|
|
80
|
+
/** Accessible name of the back button. */
|
|
81
|
+
backLabel: string;
|
|
82
|
+
/** Shows the favourite (star) toggle after the title. */
|
|
83
|
+
favoritable: boolean;
|
|
84
|
+
/** Whether the record is a favourite. Mutable: it follows the user's toggle unless `bsFavoriteChange` is cancelled. */
|
|
85
|
+
favorite: boolean;
|
|
86
|
+
/** Accessible name of the favourite toggle. It stays the same in both states; `aria-pressed` carries the state. */
|
|
87
|
+
favoriteLabel: string;
|
|
88
|
+
/** Fires when the back button is clicked. Not cancelable: the component has no default action to cancel. */
|
|
89
|
+
bsBack: EventEmitter<void>;
|
|
90
|
+
/** Fires when the user toggles the favourite button, with the new value. Cancelable: `preventDefault()` keeps the old value. */
|
|
91
|
+
bsFavoriteChange: EventEmitter<{
|
|
92
|
+
favorite: boolean;
|
|
93
|
+
}>;
|
|
94
|
+
slotted: Record<SlotName, boolean>;
|
|
95
|
+
componentWillLoad(): void;
|
|
96
|
+
private onSlotChange;
|
|
97
|
+
private onFavoriteClick;
|
|
98
|
+
render(): any;
|
|
99
|
+
}
|
|
100
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
/** Phosphor (regular) icons as monochrome SVG data URIs; a real app supplies its own. */
|
|
3
|
+
export declare const ICONS: Record<string, string>;
|
|
4
|
+
/** Sample data (invented for the stories and tests; not real invoices, customers or amounts). */
|
|
5
|
+
export declare const SAMPLE: {
|
|
6
|
+
heading: string;
|
|
7
|
+
listMeta: string;
|
|
8
|
+
customerMeta: string;
|
|
9
|
+
};
|
|
10
|
+
interface BsPageHeaderArgs {
|
|
11
|
+
heading: string;
|
|
12
|
+
headingLevel: number;
|
|
13
|
+
meta: string;
|
|
14
|
+
compact: boolean;
|
|
15
|
+
back: boolean;
|
|
16
|
+
favoritable: boolean;
|
|
17
|
+
favorite: boolean;
|
|
18
|
+
backLabel: string;
|
|
19
|
+
favoriteLabel: string;
|
|
20
|
+
}
|
|
21
|
+
declare const meta: Meta<BsPageHeaderArgs>;
|
|
22
|
+
export default meta;
|
|
23
|
+
type Story = StoryObj<BsPageHeaderArgs>;
|
|
24
|
+
/** Type "List page": breadcrumb, title, a meta line and the page actions on the right. */
|
|
25
|
+
export declare const ListPage: Story;
|
|
26
|
+
/** Type "Record": back button, status chip and favourite toggle beside the title; the meta line lines up with the title. */
|
|
27
|
+
export declare const Record: Story;
|
|
28
|
+
/** Type "Record with tabs": a `bs-tabs` row under the meta line with a full-width divider below it. */
|
|
29
|
+
export declare const RecordWithTabs: Story;
|
|
30
|
+
/** Type "Sticky compact": one row with an inline meta and a level 2 shadow. Scroll the box: the header stays at the top. */
|
|
31
|
+
export declare const StickyCompact: Story;
|
|
32
|
+
/** A favourited record: the star is filled and the button reports `aria-pressed="true"`. */
|
|
33
|
+
export declare const Favourited: Story;
|
|
34
|
+
/** No actions and no status: the title block and the meta line only. */
|
|
35
|
+
export declare const NoActions: Story;
|
|
36
|
+
/** A long title wraps inside the title block; the status, favourite toggle and actions stay in place. */
|
|
37
|
+
export declare const LongTitle: Story;
|
|
38
|
+
/** The Record with tabs at 375px: actions wrap below the title, buttons are 44px tall, the tabs scroll inside their row. */
|
|
39
|
+
export declare const Mobile: Story;
|
|
40
|
+
/** Wired up: click back or the star; the last event is printed below. `bsFavoriteChange` is cancelable. */
|
|
41
|
+
export declare const Interactive: Story;
|
|
@@ -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;
|
|
@@ -22,12 +22,18 @@ export type BsNavigationHeaderAlignment = 'default' | 'center' | 'with-navigatio
|
|
|
22
22
|
* @slot left - Menu/action content immediately after the logo (or, in `with-navigation-drawer`
|
|
23
23
|
* mode, at the bar's left edge). Typically one or more `bs-button`/`bs-icon-button` elements.
|
|
24
24
|
* @slot right - Menu/action content pushed to the bar's far right.
|
|
25
|
+
* @slot menu - A panel anchored directly below the bar, spanning the header's full width and
|
|
26
|
+
* overlaying the page content under it (typically a `bs-mega-menu`). It takes no space while
|
|
27
|
+
* empty or hidden. The slot only positions the panel: it does not own open/close state -- the
|
|
28
|
+
* consumer's trigger toggles the panel's `hidden`, closes it on its `bsClose` event and on an
|
|
29
|
+
* outside click, and restores focus to the trigger.
|
|
25
30
|
* @part logo - The BrandSync brand mark, rendered via a nested `bs-logo` element (`part="logo"` is
|
|
26
31
|
* set directly on that element -- the same pattern `bs-attachment` uses for its own nested
|
|
27
32
|
* `bs-icon-button`'s `remove` part -- so `bs-navigation-header::part(logo)` still targets it
|
|
28
33
|
* directly, no forwarding needed). Not rendered in `with-navigation-drawer` mode.
|
|
29
34
|
* @part left - The wrapper around the `left` slot.
|
|
30
35
|
* @part right - The wrapper around the `right` slot.
|
|
36
|
+
* @part menu - The wrapper around the `menu` slot (absolutely positioned under the bar).
|
|
31
37
|
* @part skip-link - The "Skip to main content" link (only rendered when `skipToContentHref` is set).
|
|
32
38
|
*/
|
|
33
39
|
export declare class BsNavigationHeader {
|
|
@@ -56,5 +62,5 @@ export declare class BsNavigationHeader {
|
|
|
56
62
|
* explicitly only if you've overridden `--bs-navigation-header-bg` to something dark yourself
|
|
57
63
|
* *without* setting `[data-theme="dark"]`, and need to pin the logo regardless of theme. */
|
|
58
64
|
logoBackground: 'auto' | 'light' | 'dark';
|
|
59
|
-
render(): any;
|
|
65
|
+
render(): any[];
|
|
60
66
|
}
|