@brandsync/wc 1.12.1 → 1.14.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 +22 -0
- package/CONVENTIONS.md +109 -0
- package/REFERENCE.md +1388 -0
- package/custom-elements.json +5069 -2575
- package/dist/brandsync-wc/brandsync-wc.css +1 -1783
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-83c90489.entry.js → p-00be9a64.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b9ccd9d1.entry.js → p-020cb767.entry.js} +1 -1
- package/dist/brandsync-wc/p-046a53de.entry.js +1 -0
- package/dist/brandsync-wc/p-056608f0.entry.js +1 -0
- package/dist/brandsync-wc/p-0cb6fc39.entry.js +1 -0
- package/dist/brandsync-wc/p-0e738622.entry.js +1 -0
- package/dist/brandsync-wc/{p-e5daa6ca.entry.js → p-10290c41.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e2556b4e.entry.js → p-144b6ac8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-56c37e0a.entry.js → p-16c78ff6.entry.js} +1 -1
- package/dist/brandsync-wc/p-1b5cc9b8.entry.js +1 -0
- package/dist/brandsync-wc/p-204cc690.entry.js +1 -0
- package/dist/brandsync-wc/p-221244a9.entry.js +1 -0
- package/dist/brandsync-wc/p-227a5182.entry.js +1 -0
- package/dist/brandsync-wc/p-23b56775.entry.js +1 -0
- package/dist/brandsync-wc/p-2967240d.entry.js +1 -0
- package/dist/brandsync-wc/p-2c1efaa1.entry.js +1 -0
- package/dist/brandsync-wc/p-2e68b76e.entry.js +1 -0
- package/dist/brandsync-wc/{p-a9169157.entry.js → p-315b510c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1978e63c.entry.js → p-31cd66e0.entry.js} +1 -1
- package/dist/brandsync-wc/p-3477539c.entry.js +1 -0
- package/dist/brandsync-wc/{p-81605b82.entry.js → p-361aef36.entry.js} +1 -1
- package/dist/brandsync-wc/{p-89fabf27.entry.js → p-3789c7a5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2497d128.entry.js → p-3dabf202.entry.js} +1 -1
- package/dist/brandsync-wc/{p-fc069773.entry.js → p-45cb3e6d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-de110ad0.entry.js → p-47b7fe76.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2f4e08e1.entry.js → p-47cd19aa.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f15d9524.entry.js → p-4b40a596.entry.js} +1 -1
- package/dist/brandsync-wc/p-51f40972.entry.js +1 -0
- package/dist/brandsync-wc/{p-39a26c64.entry.js → p-617bd76d.entry.js} +1 -1
- package/dist/brandsync-wc/p-658532b7.entry.js +1 -0
- package/dist/brandsync-wc/{p-617bd13a.entry.js → p-686297f1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-78f4fcf0.entry.js → p-6ca1e51b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-52cb2358.entry.js → p-6e923ebc.entry.js} +1 -1
- package/dist/brandsync-wc/{p-00a0d489.entry.js → p-8048d033.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0b2d3b7e.entry.js → p-80700878.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2368a92e.entry.js → p-8184d7de.entry.js} +1 -1
- package/dist/brandsync-wc/p-833f9dc4.entry.js +1 -0
- package/dist/brandsync-wc/p-8390a155.entry.js +1 -0
- package/dist/brandsync-wc/{p-fcee0dc4.entry.js → p-89fa7567.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7796b93f.entry.js → p-8c9938a5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-68fcd4a4.entry.js → p-9125632c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-416322bd.entry.js → p-94d435a2.entry.js} +1 -1
- package/dist/brandsync-wc/p-9d12b1fb.entry.js +1 -0
- package/dist/brandsync-wc/{p-5ba90a13.entry.js → p-9d660c03.entry.js} +1 -1
- package/dist/brandsync-wc/p-9fa67924.entry.js +1 -0
- package/dist/brandsync-wc/p-D3SkQJpw.js +3 -0
- package/dist/brandsync-wc/{p-7f954939.entry.js → p-a28ef52e.entry.js} +1 -1
- package/dist/brandsync-wc/p-a2e59aca.entry.js +1 -0
- package/dist/brandsync-wc/{p-09435f41.entry.js → p-a5659499.entry.js} +1 -1
- package/dist/brandsync-wc/p-b6ac1b50.entry.js +1 -0
- package/dist/brandsync-wc/{p-69c0a85d.entry.js → p-b793a0d6.entry.js} +1 -1
- package/dist/brandsync-wc/p-bee30626.entry.js +1 -0
- package/dist/brandsync-wc/{p-1aab6d07.entry.js → p-c05ee501.entry.js} +1 -1
- package/dist/brandsync-wc/p-c488cc8b.entry.js +1 -0
- package/dist/brandsync-wc/p-c67bc817.entry.js +1 -0
- package/dist/brandsync-wc/{p-247e36ad.entry.js → p-cc1055e6.entry.js} +1 -1
- package/dist/brandsync-wc/p-cc25ee67.entry.js +1 -0
- package/dist/brandsync-wc/p-ce16f038.entry.js +1 -0
- package/dist/brandsync-wc/{p-491b51e6.entry.js → p-d5a6098d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-282ddbee.entry.js → p-d892277f.entry.js} +1 -1
- package/dist/brandsync-wc/p-dd52209a.entry.js +1 -0
- package/dist/brandsync-wc/{p-09bc1923.entry.js → p-df3e7973.entry.js} +1 -1
- package/dist/brandsync-wc/p-dfad8c0a.entry.js +1 -0
- package/dist/brandsync-wc/p-e0927a9a.entry.js +1 -0
- package/dist/brandsync-wc/{p-0ee4126c.entry.js → p-e1b7bea7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0b7c77c1.entry.js → p-e65d286c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f5180578.entry.js → p-e6fc2cd4.entry.js} +1 -1
- package/dist/brandsync-wc/p-f271e1d2.entry.js +1 -0
- package/dist/brandsync-wc/{p-3f09296a.entry.js → p-f3eca1ce.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2177042f.entry.js → p-fa6b9750.entry.js} +1 -1
- package/dist/brandsync-wc/{p-78a69a59.entry.js → p-fc76031e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-be3dd446.entry.js → p-ffc07eb5.entry.js} +1 -1
- package/dist/cjs/brandsync-wc.cjs.js +2 -2
- package/dist/cjs/bs-accordion-group.cjs.entry.js +33 -0
- package/dist/cjs/bs-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +2 -2
- package/dist/cjs/bs-ai-greeting.cjs.entry.js +2 -2
- package/dist/cjs/bs-ai-thinking.cjs.entry.js +2 -2
- package/dist/cjs/bs-attachment-list.cjs.entry.js +2 -2
- package/dist/cjs/bs-attachment.cjs.entry.js +9 -5
- 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 +2 -2
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +4 -2
- package/dist/cjs/bs-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-card.cjs.entry.js +1 -1
- package/dist/cjs/bs-carousel.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +18 -2
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +20 -2
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +25 -3
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +4 -2
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +3 -3
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +4 -2
- package/dist/cjs/bs-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-filter.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
- package/dist/cjs/bs-chip-input.cjs.entry.js +4 -2
- package/dist/cjs/bs-citation-preview.cjs.entry.js +29 -0
- package/dist/cjs/bs-composer-status-banner.cjs.entry.js +11 -3
- package/dist/cjs/bs-composer.cjs.entry.js +36 -7
- package/dist/cjs/bs-cookie-consent.cjs.entry.js +1 -1
- package/dist/cjs/bs-data-table.cjs.entry.js +5 -3
- package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/bs-dialog.cjs.entry.js +4 -2
- 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-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-icon-tile.cjs.entry.js +1 -1
- package/dist/cjs/bs-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/bs-input_3.cjs.entry.js +15 -7
- package/dist/cjs/bs-logo.cjs.entry.js +1 -1
- package/dist/cjs/bs-message-list.cjs.entry.js +71 -0
- package/dist/cjs/bs-message.cjs.entry.js +25 -0
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +2 -2
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +9 -3
- package/dist/cjs/bs-navigation-header.cjs.entry.js +2 -2
- package/dist/cjs/bs-onboarding-checklist.cjs.entry.js +1 -1
- package/dist/cjs/bs-pagination.cjs.entry.js +6 -2
- package/dist/cjs/bs-popover.cjs.entry.js +153 -0
- package/dist/cjs/bs-product-tour.cjs.entry.js +1 -1
- package/dist/cjs/bs-progress-linear.cjs.entry.js +3 -3
- package/dist/cjs/bs-progress.cjs.entry.js +3 -3
- package/dist/cjs/bs-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/bs-radio.cjs.entry.js +2 -2
- package/dist/cjs/bs-session-timeout.cjs.entry.js +2 -2
- package/dist/cjs/bs-side-panel.cjs.entry.js +164 -0
- package/dist/cjs/bs-skeleton.cjs.entry.js +51 -0
- package/dist/cjs/bs-slider.cjs.entry.js +7 -3
- package/dist/cjs/bs-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/bs-source-link.cjs.entry.js +3 -3
- package/dist/cjs/bs-spinner.cjs.entry.js +24 -0
- package/dist/cjs/bs-split-pane.cjs.entry.js +193 -0
- package/dist/cjs/bs-stepper-step.cjs.entry.js +2 -2
- package/dist/cjs/bs-stepper.cjs.entry.js +2 -2
- package/dist/cjs/bs-switch.cjs.entry.js +2 -2
- package/dist/cjs/bs-tab_3.cjs.entry.js +4 -4
- package/dist/cjs/bs-timepicker.cjs.entry.js +8 -4
- package/dist/cjs/bs-toast.cjs.entry.js +4 -2
- package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +46 -0
- package/dist/cjs/bs-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/bs-whats-new.cjs.entry.js +1 -1
- package/dist/cjs/index-BYfMRtlW.js +1863 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/bs-accordion-group/bs-accordion-group.cmp.test.js +39 -0
- package/dist/collection/components/bs-accordion-group/bs-accordion-group.css +10 -0
- package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +86 -0
- package/dist/collection/components/bs-accordion-group/bs-accordion-group.stories.js +18 -0
- 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-attachment/bs-attachment.js +48 -4
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +23 -1
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.cmp.test.js +10 -0
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +178 -2
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.cmp.test.js +6 -0
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +200 -1
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.cmp.test.js +8 -0
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.css +4 -0
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +223 -1
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +24 -2
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.css +1 -4
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +3 -6
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +23 -1
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +23 -1
- package/dist/collection/components/bs-citation-preview/bs-citation-preview.cmp.test.js +34 -0
- package/dist/collection/components/bs-citation-preview/bs-citation-preview.css +36 -0
- package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +154 -0
- package/dist/collection/components/bs-citation-preview/bs-citation-preview.stories.js +22 -0
- package/dist/collection/components/bs-composer/bs-composer.cmp.test.js +29 -2
- package/dist/collection/components/bs-composer/bs-composer.css +16 -0
- package/dist/collection/components/bs-composer/bs-composer.js +234 -6
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.cmp.test.js +5 -0
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.css +16 -0
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +49 -1
- package/dist/collection/components/bs-data-table/bs-data-table.js +24 -2
- package/dist/collection/components/bs-dialog/bs-dialog.js +23 -1
- package/dist/collection/components/bs-input/bs-input.js +92 -4
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
- package/dist/collection/components/bs-message/bs-message.cmp.test.js +36 -0
- package/dist/collection/components/bs-message/bs-message.css +77 -0
- package/dist/collection/components/bs-message/bs-message.js +156 -0
- package/dist/collection/components/bs-message/bs-message.stories.js +33 -0
- package/dist/collection/components/bs-message-list/bs-message-list.cmp.test.js +58 -0
- package/dist/collection/components/bs-message-list/bs-message-list.css +40 -0
- package/dist/collection/components/bs-message-list/bs-message-list.js +161 -0
- package/dist/collection/components/bs-message-list/bs-message-list.stories.js +17 -0
- package/dist/collection/components/bs-pagination/bs-pagination.cmp.test.js +5 -0
- package/dist/collection/components/bs-pagination/bs-pagination.js +45 -1
- package/dist/collection/components/bs-popover/bs-popover.cmp.test.js +107 -0
- package/dist/collection/components/bs-popover/bs-popover.css +61 -0
- package/dist/collection/components/bs-popover/bs-popover.js +247 -0
- package/dist/collection/components/bs-popover/bs-popover.stories.js +26 -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.js +1 -1
- package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
- package/dist/collection/components/bs-side-panel/bs-side-panel.cmp.test.js +117 -0
- package/dist/collection/components/bs-side-panel/bs-side-panel.css +77 -0
- package/dist/collection/components/bs-side-panel/bs-side-panel.js +325 -0
- package/dist/collection/components/bs-side-panel/bs-side-panel.stories.js +24 -0
- package/dist/collection/components/bs-skeleton/bs-skeleton.cmp.test.js +49 -0
- package/dist/collection/components/bs-skeleton/bs-skeleton.css +62 -0
- package/dist/collection/components/bs-skeleton/bs-skeleton.js +204 -0
- package/dist/collection/components/bs-skeleton/bs-skeleton.stories.js +43 -0
- package/dist/collection/components/bs-slider/bs-slider.js +46 -2
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
- package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
- package/dist/collection/components/bs-spinner/bs-spinner.cmp.test.js +32 -0
- package/dist/collection/components/bs-spinner/bs-spinner.css +61 -0
- package/dist/collection/components/bs-spinner/bs-spinner.js +96 -0
- package/dist/collection/components/bs-spinner/bs-spinner.stories.js +30 -0
- package/dist/collection/components/bs-split-pane/bs-split-pane.cmp.test.js +107 -0
- package/dist/collection/components/bs-split-pane/bs-split-pane.css +108 -0
- package/dist/collection/components/bs-split-pane/bs-split-pane.js +404 -0
- package/dist/collection/components/bs-split-pane/bs-split-pane.stories.js +47 -0
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
- package/dist/collection/components/bs-switch/bs-switch.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
- package/dist/collection/components/bs-timepicker/bs-timepicker.js +48 -4
- package/dist/collection/components/bs-toast/bs-toast.js +23 -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 +73 -0
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.css +52 -0
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +140 -0
- package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.stories.js +21 -0
- 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 +68 -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 +1 -1
- package/dist/collection/global/brand-theming.cmp.test.js +44 -0
- package/dist/components/bs-accordion-group.d.ts +11 -0
- package/dist/components/bs-accordion-group.js +1 -0
- 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-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.d.ts +11 -0
- package/dist/components/bs-citation-preview.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-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-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-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-logo.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.d.ts +11 -0
- package/dist/components/bs-message-list.js +1 -0
- package/dist/components/bs-message.d.ts +11 -0
- package/dist/components/bs-message.js +1 -0
- 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-pagination.js +1 -1
- package/dist/components/bs-popover.d.ts +11 -0
- package/dist/components/bs-popover.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-session-timeout.js +1 -1
- package/dist/components/bs-side-panel.d.ts +11 -0
- package/dist/components/bs-side-panel.js +1 -0
- package/dist/components/bs-skeleton.d.ts +11 -0
- package/dist/components/bs-skeleton.js +1 -0
- package/dist/components/bs-slider.js +1 -1
- package/dist/components/bs-snackbar.js +1 -1
- package/dist/components/bs-source-link.js +1 -1
- package/dist/components/bs-spinner.d.ts +11 -0
- package/dist/components/bs-spinner.js +1 -0
- package/dist/components/bs-split-pane.d.ts +11 -0
- package/dist/components/bs-split-pane.js +1 -0
- package/dist/components/bs-stepper-step.js +1 -1
- package/dist/components/bs-stepper.js +1 -1
- package/dist/components/bs-switch.js +1 -1
- package/dist/components/bs-tab.js +1 -1
- package/dist/components/bs-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.d.ts +11 -0
- package/dist/components/bs-tooltip-trigger.js +1 -0
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/bs-whats-new-entry.js +1 -1
- package/dist/components/bs-whats-new.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-B2gx7SZk.js +1 -0
- package/dist/components/{p-C_j_jDM6.js → p-BESyTlfT.js} +1 -1
- package/dist/components/{p-YsHQLXET.js → p-BIW9eUic.js} +1 -1
- package/dist/components/{p-Be_Pmccm.js → p-BJR8KVFc.js} +1 -1
- package/dist/components/{p-BEEoVNRu.js → p-BTPdjnXT.js} +1 -1
- package/dist/components/{p-Be9L4_Fe.js → p-CDYw4Eyj.js} +1 -1
- package/dist/components/{p-DuLL7Ouw.js → p-CRtvJlh8.js} +1 -1
- package/dist/components/{p-Dr0Qk9Zc.js → p-ChcaPfNL.js} +1 -1
- package/dist/components/{p-DE8K7fg0.js → p-CiSEDtbE.js} +1 -1
- package/dist/components/{p-CbimDNGY.js → p-CrmEXUwm.js} +1 -1
- package/dist/components/{p-zTHlbyH6.js → p-DAwSBMeM.js} +1 -1
- package/dist/components/{p-qmS2CBqi.js → p-DYuzgzxI.js} +1 -1
- package/dist/components/p-Dm3TqgV_.js +1 -0
- package/dist/components/{p-CUfs0ROR.js → p-DpVeeIko.js} +1 -1
- package/dist/components/{p-CA31vqjL.js → p-DvNED6Lb.js} +1 -1
- package/dist/components/{p-Bl_tVzeq.js → p-HAmR4gM2.js} +1 -1
- package/dist/components/p-HzaOqQ0U.js +1 -0
- package/dist/components/{p-C8yT2Ucq.js → p-QnTjSed5.js} +1 -1
- package/dist/components/{p-CncySD_-.js → p-Rx4bpeYN.js} +1 -1
- package/dist/components/p-nC2VxRNo.js +1 -0
- package/dist/components/p-zscW5LNR.js +1 -0
- package/dist/esm/brandsync-wc.js +3 -3
- package/dist/esm/bs-accordion-group.entry.js +31 -0
- package/dist/esm/bs-accordion.entry.js +1 -1
- package/dist/esm/bs-ai-disclaimer.entry.js +2 -2
- package/dist/esm/bs-ai-greeting.entry.js +2 -2
- package/dist/esm/bs-ai-thinking.entry.js +2 -2
- package/dist/esm/bs-attachment-list.entry.js +2 -2
- package/dist/esm/bs-attachment.entry.js +9 -5
- 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 +2 -2
- package/dist/esm/bs-button-skeleton.entry.js +4 -2
- package/dist/esm/bs-button.entry.js +1 -1
- package/dist/esm/bs-card.entry.js +1 -1
- package/dist/esm/bs-carousel.entry.js +1 -1
- package/dist/esm/bs-chatbot-feedback.entry.js +18 -2
- package/dist/esm/bs-chatbot-header.entry.js +20 -2
- package/dist/esm/bs-chatbot-response-action.entry.js +25 -3
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +4 -2
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +3 -3
- package/dist/esm/bs-checkbox-skeleton.entry.js +4 -2
- package/dist/esm/bs-checkbox.entry.js +1 -1
- package/dist/esm/bs-chip-filter.entry.js +1 -1
- package/dist/esm/bs-chip-informative.entry.js +1 -1
- package/dist/esm/bs-chip-input.entry.js +4 -2
- package/dist/esm/bs-citation-preview.entry.js +27 -0
- package/dist/esm/bs-composer-status-banner.entry.js +11 -3
- package/dist/esm/bs-composer.entry.js +36 -7
- package/dist/esm/bs-cookie-consent.entry.js +1 -1
- package/dist/esm/bs-data-table.entry.js +5 -3
- package/dist/esm/bs-datepicker.entry.js +1 -1
- package/dist/esm/bs-dialog.entry.js +4 -2
- 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-icon-button.entry.js +1 -1
- package/dist/esm/bs-icon-tile.entry.js +1 -1
- package/dist/esm/bs-inline-tab.entry.js +2 -2
- package/dist/esm/bs-input_3.entry.js +15 -7
- package/dist/esm/bs-logo.entry.js +1 -1
- package/dist/esm/bs-message-list.entry.js +69 -0
- package/dist/esm/bs-message.entry.js +23 -0
- package/dist/esm/bs-navigation-drawer-item.entry.js +2 -2
- package/dist/esm/bs-navigation-drawer.entry.js +9 -3
- package/dist/esm/bs-navigation-header.entry.js +2 -2
- package/dist/esm/bs-onboarding-checklist.entry.js +1 -1
- package/dist/esm/bs-pagination.entry.js +6 -2
- package/dist/esm/bs-popover.entry.js +151 -0
- package/dist/esm/bs-product-tour.entry.js +1 -1
- package/dist/esm/bs-progress-linear.entry.js +3 -3
- package/dist/esm/bs-progress.entry.js +3 -3
- package/dist/esm/bs-qr-code.entry.js +2 -2
- package/dist/esm/bs-radio.entry.js +2 -2
- package/dist/esm/bs-session-timeout.entry.js +2 -2
- package/dist/esm/bs-side-panel.entry.js +162 -0
- package/dist/esm/bs-skeleton.entry.js +49 -0
- package/dist/esm/bs-slider.entry.js +7 -3
- package/dist/esm/bs-snackbar.entry.js +2 -2
- package/dist/esm/bs-source-link.entry.js +3 -3
- package/dist/esm/bs-spinner.entry.js +22 -0
- package/dist/esm/bs-split-pane.entry.js +191 -0
- package/dist/esm/bs-stepper-step.entry.js +2 -2
- package/dist/esm/bs-stepper.entry.js +2 -2
- package/dist/esm/bs-switch.entry.js +2 -2
- package/dist/esm/bs-tab_3.entry.js +4 -4
- package/dist/esm/bs-timepicker.entry.js +8 -4
- package/dist/esm/bs-toast.entry.js +4 -2
- package/dist/esm/bs-tooltip-trigger.entry.js +44 -0
- package/dist/esm/bs-tooltip.entry.js +2 -2
- package/dist/esm/bs-whats-new.entry.js +1 -1
- package/dist/esm/index-D3SkQJpw.js +1853 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/bs-accordion-group/bs-accordion-group.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-accordion-group/bs-accordion-group.d.ts +25 -0
- package/dist/types/components/bs-accordion-group/bs-accordion-group.stories.d.ts +9 -0
- package/dist/types/components/bs-attachment/bs-attachment.d.ts +4 -0
- package/dist/types/components/bs-button-skeleton/bs-button-skeleton.d.ts +2 -0
- package/dist/types/components/bs-chatbot-feedback/bs-chatbot-feedback.d.ts +16 -0
- package/dist/types/components/bs-chatbot-header/bs-chatbot-header.d.ts +19 -0
- package/dist/types/components/bs-chatbot-response-action/bs-chatbot-response-action.d.ts +22 -0
- package/dist/types/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.d.ts +2 -0
- package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts +2 -5
- package/dist/types/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.d.ts +2 -0
- package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.d.ts +2 -0
- package/dist/types/components/bs-citation-preview/bs-citation-preview.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-citation-preview/bs-citation-preview.d.ts +40 -0
- package/dist/types/components/bs-citation-preview/bs-citation-preview.stories.d.ts +13 -0
- package/dist/types/components/bs-composer/bs-composer.d.ts +25 -1
- package/dist/types/components/bs-composer-status-banner/bs-composer-status-banner.d.ts +5 -0
- package/dist/types/components/bs-data-table/bs-data-table.d.ts +2 -0
- package/dist/types/components/bs-dialog/bs-dialog.d.ts +2 -0
- package/dist/types/components/bs-input/bs-input.d.ts +8 -0
- package/dist/types/components/bs-message/bs-message.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-message/bs-message.d.ts +49 -0
- package/dist/types/components/bs-message/bs-message.stories.d.ts +15 -0
- package/dist/types/components/bs-message-list/bs-message-list.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-message-list/bs-message-list.d.ts +44 -0
- package/dist/types/components/bs-message-list/bs-message-list.stories.d.ts +8 -0
- package/dist/types/components/bs-pagination/bs-pagination.d.ts +4 -0
- package/dist/types/components/bs-popover/bs-popover.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-popover/bs-popover.d.ts +58 -0
- package/dist/types/components/bs-popover/bs-popover.stories.d.ts +11 -0
- package/dist/types/components/bs-side-panel/bs-side-panel.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-side-panel/bs-side-panel.d.ts +67 -0
- package/dist/types/components/bs-side-panel/bs-side-panel.stories.d.ts +14 -0
- package/dist/types/components/bs-skeleton/bs-skeleton.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-skeleton/bs-skeleton.d.ts +44 -0
- package/dist/types/components/bs-skeleton/bs-skeleton.stories.d.ts +17 -0
- package/dist/types/components/bs-slider/bs-slider.d.ts +4 -0
- package/dist/types/components/bs-spinner/bs-spinner.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-spinner/bs-spinner.d.ts +32 -0
- package/dist/types/components/bs-spinner/bs-spinner.stories.d.ts +12 -0
- package/dist/types/components/bs-split-pane/bs-split-pane.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-split-pane/bs-split-pane.d.ts +85 -0
- package/dist/types/components/bs-split-pane/bs-split-pane.stories.d.ts +15 -0
- package/dist/types/components/bs-timepicker/bs-timepicker.d.ts +4 -0
- package/dist/types/components/bs-toast/bs-toast.d.ts +2 -0
- package/dist/types/components/bs-tooltip-trigger/bs-tooltip-trigger.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-tooltip-trigger/bs-tooltip-trigger.d.ts +35 -0
- package/dist/types/components/bs-tooltip-trigger/bs-tooltip-trigger.stories.d.ts +10 -0
- package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.d.ts +6 -0
- package/dist/types/components.d.ts +1995 -39
- package/dist/types/global/brand-theming.cmp.test.d.ts +1 -0
- package/package.json +21 -5
- package/reference.d.ts +245 -0
- package/reference.json +4284 -0
- package/reference.mjs +2 -0
- package/tailwind-preset.cjs +36 -0
- package/testing/vitest-setup.mjs +41 -0
- package/dist/brandsync-wc/p-09cbf05b.entry.js +0 -1
- package/dist/brandsync-wc/p-0f8cd2e8.entry.js +0 -1
- package/dist/brandsync-wc/p-1261f0b0.entry.js +0 -1
- package/dist/brandsync-wc/p-20030f4d.entry.js +0 -1
- package/dist/brandsync-wc/p-22f8201a.entry.js +0 -1
- package/dist/brandsync-wc/p-34e5feaf.entry.js +0 -1
- package/dist/brandsync-wc/p-3a1af63a.entry.js +0 -1
- package/dist/brandsync-wc/p-452f9c1c.entry.js +0 -1
- package/dist/brandsync-wc/p-6a696161.entry.js +0 -1
- package/dist/brandsync-wc/p-6c6cdf77.entry.js +0 -1
- package/dist/brandsync-wc/p-6e735e37.entry.js +0 -1
- package/dist/brandsync-wc/p-73f214ed.entry.js +0 -1
- package/dist/brandsync-wc/p-823ab3b2.entry.js +0 -1
- package/dist/brandsync-wc/p-DqQRXQMx.js +0 -3
- package/dist/brandsync-wc/p-b84366a7.entry.js +0 -1
- package/dist/brandsync-wc/p-b8d2ce91.entry.js +0 -1
- package/dist/brandsync-wc/p-b9a4042e.entry.js +0 -1
- package/dist/brandsync-wc/p-d754ee13.entry.js +0 -1
- package/dist/brandsync-wc/p-d75f3f87.entry.js +0 -1
- package/dist/brandsync-wc/p-d8b29a53.entry.js +0 -1
- package/dist/brandsync-wc/p-f7d15fbe.entry.js +0 -1
- package/dist/cjs/index-tFJjflK5.js +0 -1863
- package/dist/components/p-BGW5q5LZ.js +0 -1
- package/dist/components/p-BZ3M4lOU.js +0 -1
- package/dist/components/p-CVrEuVFo.js +0 -1
- package/dist/components/p-CeUK3n7D.js +0 -1
- package/dist/esm/index-DqQRXQMx.js +0 -1853
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BsPopoverPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
3
|
+
/**
|
|
4
|
+
* A trigger plus a popup panel that opens on trigger click and closes on outside click or Escape.
|
|
5
|
+
*
|
|
6
|
+
* The popup is positioned with CSS (absolute, relative to the host) and flips to the opposite side
|
|
7
|
+
* when it would overflow the viewport; the effective placement is mirrored on the host as
|
|
8
|
+
* `data-placement`. Focus moves into the popup on open and back to the trigger on close. The popup content is slotted, so it is typically a `bs-menu` or a list.
|
|
9
|
+
*
|
|
10
|
+
* ## When to use
|
|
11
|
+
* - A menu, language list or small set of options revealed from a button.
|
|
12
|
+
*
|
|
13
|
+
* ## When not to use
|
|
14
|
+
* - A blocking decision (use `bs-dialog`) or a hover-only hint (use `bs-tooltip-trigger`).
|
|
15
|
+
*
|
|
16
|
+
* @slot trigger - The element that toggles the popup (e.g. a `bs-button`).
|
|
17
|
+
* @slot - Default slot: the popup content.
|
|
18
|
+
* @part trigger - The wrapper around the trigger; carries aria-expanded/aria-haspopup/aria-controls.
|
|
19
|
+
* @part popup - The popup surface.
|
|
20
|
+
* @prop --bs-popover-bg - Popup background. Aliased to `--bs-surface-raised`.
|
|
21
|
+
* @prop --bs-popover-radius - Popup corner radius. Aliased to `--bs-border-radius-100`.
|
|
22
|
+
* @prop --bs-popover-shadow - Popup shadow. Aliased to `--bs-shadow-md`.
|
|
23
|
+
* @prop --bs-popover-offset - Gap between trigger and popup. Aliased to `--bs-spacing-100`.
|
|
24
|
+
* @prop --bs-popover-min-width - Minimum popup width. Aliased to `--bs-scale-1600`.
|
|
25
|
+
* @prop --bs-popover-z-index - Popup stacking order. Aliased to `--bs-z-index-popover`.
|
|
26
|
+
*/
|
|
27
|
+
export declare class BsPopover {
|
|
28
|
+
el: HTMLElement;
|
|
29
|
+
/** Whether the popup is shown. */
|
|
30
|
+
open: boolean;
|
|
31
|
+
/** Where the popup sits relative to the trigger. */
|
|
32
|
+
placement: BsPopoverPlacement;
|
|
33
|
+
/** Emitted when the open state changes through user interaction, with the new value. */
|
|
34
|
+
bsOpenChange: EventEmitter<boolean>;
|
|
35
|
+
private popupId;
|
|
36
|
+
private triggerSlot?;
|
|
37
|
+
private popupEl?;
|
|
38
|
+
private needsFocusIn;
|
|
39
|
+
private escaped;
|
|
40
|
+
onOpenChange(next: boolean): void;
|
|
41
|
+
onPlacementChange(): void;
|
|
42
|
+
componentWillLoad(): void;
|
|
43
|
+
componentDidRender(): void;
|
|
44
|
+
private isInTrigger;
|
|
45
|
+
/** Effective placement after collision flipping; mirrored on the host as `data-placement`. */
|
|
46
|
+
private reposition;
|
|
47
|
+
private focusPopup;
|
|
48
|
+
disconnectedCallback(): void;
|
|
49
|
+
componentDidLoad(): void;
|
|
50
|
+
private detach;
|
|
51
|
+
private setOpen;
|
|
52
|
+
private focusTrigger;
|
|
53
|
+
private onTriggerKeyDown;
|
|
54
|
+
private onTriggerClick;
|
|
55
|
+
private onDocClick;
|
|
56
|
+
private onKeyDown;
|
|
57
|
+
render(): any;
|
|
58
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsPopoverArgs {
|
|
3
|
+
open: boolean;
|
|
4
|
+
placement: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
5
|
+
}
|
|
6
|
+
declare const meta: Meta<BsPopoverArgs>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<BsPopoverArgs>;
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
export declare const Open: Story;
|
|
11
|
+
export declare const TopEnd: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BsSidePanelSide = 'start' | 'end';
|
|
3
|
+
/**
|
|
4
|
+
* A generic slide-in panel (drawer) anchored to the start or end edge, for history, filters, FAQ
|
|
5
|
+
* and similar secondary content. Closes via its close button or Escape and emits `bsClose`.
|
|
6
|
+
*
|
|
7
|
+
* Composed from `bs-icon-button` (close button).
|
|
8
|
+
*
|
|
9
|
+
* While open, Tab/Shift+Tab are trapped in the panel; with `overlay`, the rest of the page is made `inert`.
|
|
10
|
+
*
|
|
11
|
+
* ## When to use
|
|
12
|
+
* - Secondary content that sits beside the page without leaving it.
|
|
13
|
+
*
|
|
14
|
+
* ## When not to use
|
|
15
|
+
* - A blocking confirmation (use `bs-dialog`).
|
|
16
|
+
*
|
|
17
|
+
* @slot - Default slot: the panel body.
|
|
18
|
+
* @slot header-actions - Extra actions shown in the header next to the close button.
|
|
19
|
+
* @slot footer - Optional footer area (e.g. apply/reset buttons).
|
|
20
|
+
* @part overlay - The backdrop (only when `overlay` is set).
|
|
21
|
+
* @part panel - The panel surface (role="dialog").
|
|
22
|
+
* @part header - The header row.
|
|
23
|
+
* @part heading - The heading text.
|
|
24
|
+
* @part body - The scrollable body.
|
|
25
|
+
* @part footer - The footer wrapper.
|
|
26
|
+
* @prop --bs-side-panel-bg - Panel background. Aliased to `--bs-surface-raised`.
|
|
27
|
+
* @prop --bs-side-panel-width - Panel width. Aliased to `calc(var(--bs-scale-1600) * 3)`.
|
|
28
|
+
* @prop --bs-side-panel-padding - Header/body/footer padding. Aliased to `--bs-spacing-200`.
|
|
29
|
+
* @prop --bs-side-panel-shadow - Panel shadow. Aliased to `--bs-shadow-md`.
|
|
30
|
+
* @prop --bs-side-panel-overlay-bg - Backdrop color. Aliased to `--bs-surface-overlay`.
|
|
31
|
+
* @prop --bs-side-panel-color - Text color. Aliased to `--bs-text-default`.
|
|
32
|
+
* @prop --bs-side-panel-z-index - Stacking order. Aliased to `--bs-z-index-modal`.
|
|
33
|
+
*/
|
|
34
|
+
export declare class BsSidePanel {
|
|
35
|
+
el: HTMLElement;
|
|
36
|
+
/** Whether the panel is visible. */
|
|
37
|
+
open: boolean;
|
|
38
|
+
/** Panel title; also its accessible name. */
|
|
39
|
+
heading: string;
|
|
40
|
+
/** Edge the panel is anchored to. */
|
|
41
|
+
side: BsSidePanelSide;
|
|
42
|
+
/** Accessible label of the close button. */
|
|
43
|
+
closeLabel: string;
|
|
44
|
+
/** Shows a backdrop behind the panel; clicking it closes the panel. */
|
|
45
|
+
overlay: boolean;
|
|
46
|
+
/** Emitted when the panel requests to close (close button, Escape, overlay click). */
|
|
47
|
+
bsClose: EventEmitter<void>;
|
|
48
|
+
private headingId;
|
|
49
|
+
private previouslyFocused;
|
|
50
|
+
private panelEl?;
|
|
51
|
+
/** Elements we set `inert` on (so we only undo our own changes). */
|
|
52
|
+
private inertified;
|
|
53
|
+
onOpenChange(next: boolean): void;
|
|
54
|
+
onOverlayChange(): void;
|
|
55
|
+
connectedCallback(): void;
|
|
56
|
+
disconnectedCallback(): void;
|
|
57
|
+
/** Marks everything outside the panel as inert (modal overlay only). */
|
|
58
|
+
private applyInert;
|
|
59
|
+
private restoreInert;
|
|
60
|
+
private getFocusables;
|
|
61
|
+
private trapTab;
|
|
62
|
+
componentDidRender(): void;
|
|
63
|
+
private focusedIn;
|
|
64
|
+
private close;
|
|
65
|
+
private onKeyDown;
|
|
66
|
+
render(): any;
|
|
67
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsSidePanelArgs {
|
|
3
|
+
open: boolean;
|
|
4
|
+
heading: string;
|
|
5
|
+
side: 'start' | 'end';
|
|
6
|
+
closeLabel: string;
|
|
7
|
+
overlay: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const meta: Meta<BsSidePanelArgs>;
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<BsSidePanelArgs>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const WithOverlay: Story;
|
|
14
|
+
export declare const Start: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type BsSkeletonVariant = 'text' | 'rect' | 'circle';
|
|
2
|
+
/**
|
|
3
|
+
* A general-purpose loading placeholder for content whose shape isn't covered by a dedicated
|
|
4
|
+
* skeleton (e.g. `bs-button-skeleton`). Renders a pulsing text line (or several), rectangle or circle.
|
|
5
|
+
*
|
|
6
|
+
* Decorative by default (`aria-hidden="true"`). Set `label` to expose it to assistive tech as a
|
|
7
|
+
* `role="status"` live region with that accessible name -- do this on one placeholder per loading
|
|
8
|
+
* region, not on every placeholder, so screen readers don't announce it repeatedly.
|
|
9
|
+
*
|
|
10
|
+
* ## When to use
|
|
11
|
+
* - Standing in for text, images, avatars or other blocks while their data loads.
|
|
12
|
+
*
|
|
13
|
+
* ## When not to use
|
|
14
|
+
* - For a `bs-button` or `bs-checkbox` placeholder -- use `bs-button-skeleton` / `bs-checkbox-skeleton`.
|
|
15
|
+
* - For an in-progress action on already-rendered UI -- use `bs-spinner` or `bs-progress`.
|
|
16
|
+
*
|
|
17
|
+
* @part container - The outer wrapper.
|
|
18
|
+
* @part line - Each pulsing placeholder element (one per line for `variant="text"`).
|
|
19
|
+
* @prop --bs-skeleton-bg - Placeholder color. Aliased to `--bs-color-neutral-container`.
|
|
20
|
+
* @prop --bs-skeleton-radius - Corner radius for `text`/`rect`. Aliased to `--bs-border-radius-100`.
|
|
21
|
+
* @prop --bs-skeleton-width - Width when the `width` prop is not set. Defaults to `100%`.
|
|
22
|
+
* @prop --bs-skeleton-text-height - Height of each text line when `height` is not set. Defaults to `1em`.
|
|
23
|
+
* @prop --bs-skeleton-rect-height - Height of `rect`/`circle` when `height` is not set. Defaults to `96px`.
|
|
24
|
+
* @prop --bs-skeleton-gap - Gap between text lines. Aliased to `--bs-spacing-100`.
|
|
25
|
+
* @prop --bs-skeleton-duration - Pulse duration. Defaults to `1.5s`.
|
|
26
|
+
*/
|
|
27
|
+
export declare class BsSkeleton {
|
|
28
|
+
/** Shape of the placeholder. */
|
|
29
|
+
variant: BsSkeletonVariant;
|
|
30
|
+
/** Any CSS length (e.g. `200px`, `50%`). Falls back to `--bs-skeleton-width`. For `circle`, if
|
|
31
|
+
* only one of `width`/`height` is set the other matches it. */
|
|
32
|
+
width?: string;
|
|
33
|
+
/** Any CSS length. Falls back to the variant's default height custom property. */
|
|
34
|
+
height?: string;
|
|
35
|
+
/** Number of text lines (`variant="text"` only). The last line of a multi-line block is shorter.
|
|
36
|
+
* Values below 1 are treated as 1. */
|
|
37
|
+
lines: number;
|
|
38
|
+
/** Whether the placeholder pulses. Disabled automatically under `prefers-reduced-motion`. */
|
|
39
|
+
animated: boolean;
|
|
40
|
+
/** When set, the placeholder gets `role="status"` and this as its `aria-label`; otherwise it is
|
|
41
|
+
* `aria-hidden="true"`. */
|
|
42
|
+
label?: string;
|
|
43
|
+
render(): any;
|
|
44
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import type { BsSkeletonVariant } from './bs-skeleton';
|
|
3
|
+
interface BsSkeletonArgs {
|
|
4
|
+
variant: BsSkeletonVariant;
|
|
5
|
+
width: string;
|
|
6
|
+
height: string;
|
|
7
|
+
lines: number;
|
|
8
|
+
animated: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
declare const meta: Meta<BsSkeletonArgs>;
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<BsSkeletonArgs>;
|
|
14
|
+
export declare const Default: Story;
|
|
15
|
+
export declare const Variants: Story;
|
|
16
|
+
export declare const MultiLineText: Story;
|
|
17
|
+
export declare const WithLabel: Story;
|
|
@@ -64,6 +64,10 @@ export declare class BsSlider {
|
|
|
64
64
|
/** Disables the slider: sets the native `disabled` attribute on the range input(s), suppresses
|
|
65
65
|
* hover/focus/drag styling and the value tooltip, and prevents interaction. */
|
|
66
66
|
disabled: boolean;
|
|
67
|
+
/** Accessible name of the lower-bound thumb / percent field when `ariaLabel` is unset. */
|
|
68
|
+
startValueLabel: string;
|
|
69
|
+
/** Accessible name of the upper-bound thumb / percent field when `ariaLabel` is unset. */
|
|
70
|
+
endValueLabel: string;
|
|
67
71
|
/**
|
|
68
72
|
* Accessible name for the slider's native range input(s). Required whenever `showLabel` is
|
|
69
73
|
* `false` (a bare track with no visible "Label" text) -- without it, the internal native
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type BsSpinnerSize = 'xs' | 'sm' | 'md' | 'inherit';
|
|
2
|
+
/**
|
|
3
|
+
* A small inline spinner sized for text. By default (`size="inherit"`) it is `1em` square so it
|
|
4
|
+
* scales with the surrounding font size, and it draws in `currentColor` so it matches the
|
|
5
|
+
* surrounding text. Built as plain inline SVG: `bs-progress` has fixed pixel diameters and a
|
|
6
|
+
* block layout, so it can't sit inline with text.
|
|
7
|
+
*
|
|
8
|
+
* ## When to use
|
|
9
|
+
* - Inline "busy" feedback next to or inside text, e.g. "Saving..." or within a button label.
|
|
10
|
+
*
|
|
11
|
+
* ## When not to use
|
|
12
|
+
* - For a large or standalone loading indicator, or one with a known percentage -- use `bs-progress`.
|
|
13
|
+
* - As a content placeholder -- use `bs-skeleton`.
|
|
14
|
+
*
|
|
15
|
+
* @part container - The outer inline wrapper (carries the status role).
|
|
16
|
+
* @part svg - The spinner SVG.
|
|
17
|
+
* @prop --bs-spinner-size-xs - Diameter at `size="xs"`. Aliased to `--bs-spacing-200`.
|
|
18
|
+
* @prop --bs-spinner-size-sm - Diameter at `size="sm"`. Aliased to `--bs-spacing-250`.
|
|
19
|
+
* @prop --bs-spinner-size-md - Diameter at `size="md"`. Aliased to `--bs-spacing-300`.
|
|
20
|
+
* @prop --bs-spinner-color - Spinner color. Defaults to `currentColor`.
|
|
21
|
+
* @prop --bs-spinner-track-opacity - Opacity of the background track ring. Defaults to `0.25`.
|
|
22
|
+
* @prop --bs-spinner-duration - Rotation duration. Defaults to `0.8s`.
|
|
23
|
+
*/
|
|
24
|
+
export declare class BsSpinner {
|
|
25
|
+
/** `xs`/`sm`/`md` use fixed token sizes; `inherit` (default) is `1em`, following the font size. */
|
|
26
|
+
size: BsSpinnerSize;
|
|
27
|
+
/** Accessible name (e.g. "Loading"). When set, the spinner gets `role="status"` and this
|
|
28
|
+
* `aria-label`; when omitted it is `aria-hidden="true"` (use it next to visible text that already
|
|
29
|
+
* says what is happening). */
|
|
30
|
+
label?: string;
|
|
31
|
+
render(): any;
|
|
32
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import type { BsSpinnerSize } from './bs-spinner';
|
|
3
|
+
interface BsSpinnerArgs {
|
|
4
|
+
size: BsSpinnerSize;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
declare const meta: Meta<BsSpinnerArgs>;
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<BsSpinnerArgs>;
|
|
10
|
+
export declare const Default: Story;
|
|
11
|
+
export declare const Sizes: Story;
|
|
12
|
+
export declare const InlineWithText: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BsSplitPaneOrientation = 'horizontal' | 'vertical';
|
|
3
|
+
/**
|
|
4
|
+
* A resizable layout of two or three panes separated by draggable, keyboard-operable dividers
|
|
5
|
+
* (the WAI-ARIA "window splitter" pattern). Content goes into the named slots `pane-1`, `pane-2`
|
|
6
|
+
* and (optionally) `pane-3`; the pane count follows which slots have content.
|
|
7
|
+
*
|
|
8
|
+
* `orientation="horizontal"` places panes side by side (vertical dividers); `"vertical"` stacks
|
|
9
|
+
* them (horizontal dividers). The first pane has a fixed size (`--bs-split-pane-first-size`) that
|
|
10
|
+
* the user can change by dragging; the last pane absorbs the remaining space. `collapsed` shrinks
|
|
11
|
+
* the first pane to a narrow rail (`--bs-split-pane-collapsed-size`) -- the component reflects the
|
|
12
|
+
* attribute so slotted content can switch to its compact rendering (e.g. icon-only list items).
|
|
13
|
+
*
|
|
14
|
+
* ## When to use
|
|
15
|
+
* - Master/detail layouts: a navigation or list pane next to one or two detail panes.
|
|
16
|
+
*
|
|
17
|
+
* ## When not to use
|
|
18
|
+
* - A temporary overlay panel (use `bs-side-panel`).
|
|
19
|
+
* - A fixed, non-resizable two-column layout (plain CSS grid; or set `resizable="false"` to keep
|
|
20
|
+
* the dividers purely visual).
|
|
21
|
+
*
|
|
22
|
+
* @slot pane-1 - The first pane (the one that collapses).
|
|
23
|
+
* @slot pane-2 - The second pane.
|
|
24
|
+
* @slot pane-3 - Optional third pane.
|
|
25
|
+
* @part container - The flex wrapper around all panes and dividers.
|
|
26
|
+
* @part pane - Every pane wrapper (`pane-1`, `pane-2`, `pane-3` are also exposed as separate parts).
|
|
27
|
+
* @part divider - Every divider (the focusable `role="separator"` element).
|
|
28
|
+
* @part divider-thumb - The visible thumb on a divider.
|
|
29
|
+
* @prop --bs-split-pane-radius - Corner radius of the container. Aliased to `--bs-border-radius-100`.
|
|
30
|
+
* @prop --bs-split-pane-bg - Pane background. Aliased to `--bs-surface-base`.
|
|
31
|
+
* @prop --bs-split-pane-color - Text colour inherited by slotted content. Aliased to `--bs-text-default`.
|
|
32
|
+
* @prop --bs-split-pane-first-size - Initial size of the first pane along the layout axis. Defaults to `333px` (Figma).
|
|
33
|
+
* @prop --bs-split-pane-collapsed-size - Size of the first pane while `collapsed`. Defaults to `106px` (Figma).
|
|
34
|
+
* @prop --bs-split-pane-min-size - Smallest size a resized pane may take. Defaults to `96px`.
|
|
35
|
+
* @prop --bs-split-pane-divider-size - Thickness of a divider. Aliased to `--bs-spacing-75`.
|
|
36
|
+
* @prop --bs-split-pane-divider-bg - Divider track colour. Aliased to `--bs-surface-container`.
|
|
37
|
+
* @prop --bs-split-pane-divider-thumb - Divider thumb colour. Aliased to `--bs-border-neutral-container`.
|
|
38
|
+
* @prop --bs-split-pane-divider-thumb-active - Divider thumb colour on hover, focus and drag. Aliased to `--bs-border-neutral-hover`.
|
|
39
|
+
* @prop --bs-split-pane-divider-thumb-length - Length of the divider thumb. Defaults to `250px` (Figma).
|
|
40
|
+
* @prop --bs-split-pane-border - Border between the first pane and the rest when dividers are not resizable. Aliased to `--bs-border-neutral-container`.
|
|
41
|
+
* @prop --bs-split-pane-focus-ring - Divider focus ring colour. Aliased to `--bs-border-neutral-focus`.
|
|
42
|
+
*/
|
|
43
|
+
export declare class BsSplitPane {
|
|
44
|
+
el: HTMLElement;
|
|
45
|
+
/** `horizontal` = panes side by side, `vertical` = panes stacked. */
|
|
46
|
+
orientation: BsSplitPaneOrientation;
|
|
47
|
+
/** Collapses the first pane to a narrow rail. Mutable: the Enter key on the first divider toggles it. */
|
|
48
|
+
collapsed: boolean;
|
|
49
|
+
/** Whether the dividers can be dragged / operated by keyboard. `false` keeps them as visual separators. */
|
|
50
|
+
resizable: boolean;
|
|
51
|
+
/** Accessible name of each divider. */
|
|
52
|
+
dividerLabel: string;
|
|
53
|
+
/** Pixels moved per arrow-key press (Shift multiplies by 4). */
|
|
54
|
+
step: number;
|
|
55
|
+
/** Fires after a resize (pointer release or key press) with the pixel size of every pane except the last. */
|
|
56
|
+
bsResize: EventEmitter<number[]>;
|
|
57
|
+
/** Fires when `collapsed` changes through user interaction. */
|
|
58
|
+
bsCollapsedChange: EventEmitter<boolean>;
|
|
59
|
+
paneCount: number;
|
|
60
|
+
sizes: Array<number | undefined>;
|
|
61
|
+
draggingIndex: number;
|
|
62
|
+
private observer?;
|
|
63
|
+
private dragStart?;
|
|
64
|
+
/** Toggles `collapsed` and emits `bsCollapsedChange`. */
|
|
65
|
+
toggleCollapsed(): Promise<void>;
|
|
66
|
+
componentWillLoad(): void;
|
|
67
|
+
connectedCallback(): void;
|
|
68
|
+
disconnectedCallback(): void;
|
|
69
|
+
private countPanes;
|
|
70
|
+
private isRtl;
|
|
71
|
+
private axisSize;
|
|
72
|
+
private minSize;
|
|
73
|
+
/** Largest size pane `index` may take: leave `minSize` for each pane after it, and the dividers. */
|
|
74
|
+
private maxSize;
|
|
75
|
+
private paneEl;
|
|
76
|
+
private setSize;
|
|
77
|
+
private emitResize;
|
|
78
|
+
private onPointerDown;
|
|
79
|
+
private onPointerMove;
|
|
80
|
+
private onPointerUp;
|
|
81
|
+
private onKeyDown;
|
|
82
|
+
private paneStyle;
|
|
83
|
+
private percentFor;
|
|
84
|
+
render(): any;
|
|
85
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsSplitPaneArgs {
|
|
3
|
+
orientation: 'horizontal' | 'vertical';
|
|
4
|
+
collapsed: boolean;
|
|
5
|
+
resizable: boolean;
|
|
6
|
+
panes: 2 | 3;
|
|
7
|
+
}
|
|
8
|
+
declare const meta: Meta<BsSplitPaneArgs>;
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<BsSplitPaneArgs>;
|
|
11
|
+
export declare const Horizontal: Story;
|
|
12
|
+
export declare const HorizontalCollapsed: Story;
|
|
13
|
+
export declare const Vertical: Story;
|
|
14
|
+
export declare const TwoPanes: Story;
|
|
15
|
+
export declare const NotResizable: Story;
|
|
@@ -66,6 +66,10 @@ export declare class BsTimepicker {
|
|
|
66
66
|
/** Label of the Cancel button. */
|
|
67
67
|
cancelLabel: string;
|
|
68
68
|
/** Accessible name of the hour spinner. */
|
|
69
|
+
/** Verb prefix of each column's increment button name ("Increase hour"). */
|
|
70
|
+
increaseLabel: string;
|
|
71
|
+
/** Verb prefix of each column's decrement button name ("Decrease hour"). */
|
|
72
|
+
decreaseLabel: string;
|
|
69
73
|
hourLabel: string;
|
|
70
74
|
/** Accessible name of the minute spinner. */
|
|
71
75
|
minuteLabel: string;
|
|
@@ -19,6 +19,8 @@ export declare class BsToast {
|
|
|
19
19
|
/** Semantic state. Each state has its own icon and matching container/text tokens -- there is
|
|
20
20
|
* no neutral/default state. */
|
|
21
21
|
state: BsToastState;
|
|
22
|
+
/** Accessible name of the dismiss button. */
|
|
23
|
+
dismissLabel: string;
|
|
22
24
|
/** Fires when the close button is clicked. This component doesn't remove itself from the DOM --
|
|
23
25
|
* the consumer is expected to do that (or hide it) in response to this event. */
|
|
24
26
|
bsDismiss: EventEmitter<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type BsTooltipTriggerPlacement = 'top' | 'bottom' | 'start' | 'end';
|
|
2
|
+
/**
|
|
3
|
+
* Wraps a trigger element and shows a `bs-tooltip` on hover or keyboard focus, after an optional
|
|
4
|
+
* delay. Escape dismisses it. The tooltip is linked to the trigger with `aria-describedby`.
|
|
5
|
+
*
|
|
6
|
+
* Composed from `bs-tooltip`.
|
|
7
|
+
*
|
|
8
|
+
* ## When to use
|
|
9
|
+
* - A short hint for an icon button or truncated label.
|
|
10
|
+
*
|
|
11
|
+
* ## When not to use
|
|
12
|
+
* - Interactive content or long text (use `bs-popover`).
|
|
13
|
+
*
|
|
14
|
+
* @slot - Default slot: the trigger element.
|
|
15
|
+
* @part trigger - The wrapper around the trigger; carries aria-describedby.
|
|
16
|
+
* @part tooltip - The positioned tooltip wrapper (role="tooltip").
|
|
17
|
+
* @prop --bs-tooltip-trigger-offset - Gap between trigger and tooltip. Aliased to `--bs-spacing-100`.
|
|
18
|
+
* @prop --bs-tooltip-trigger-z-index - Stacking order. Aliased to `--bs-z-index-popover`.
|
|
19
|
+
*/
|
|
20
|
+
export declare class BsTooltipTrigger {
|
|
21
|
+
/** Tooltip message. */
|
|
22
|
+
text: string;
|
|
23
|
+
/** Milliseconds to wait before showing the tooltip. */
|
|
24
|
+
delay: number;
|
|
25
|
+
/** Side of the trigger the tooltip appears on. The bs-tooltip arrow is only drawn for 'bottom'. */
|
|
26
|
+
placement: BsTooltipTriggerPlacement;
|
|
27
|
+
visible: boolean;
|
|
28
|
+
private tooltipId;
|
|
29
|
+
private timer?;
|
|
30
|
+
disconnectedCallback(): void;
|
|
31
|
+
private show;
|
|
32
|
+
private hide;
|
|
33
|
+
private onKeyDown;
|
|
34
|
+
render(): any;
|
|
35
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsTooltipTriggerArgs {
|
|
3
|
+
text: string;
|
|
4
|
+
delay: number;
|
|
5
|
+
}
|
|
6
|
+
declare const meta: Meta<BsTooltipTriggerArgs>;
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<BsTooltipTriggerArgs>;
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
export declare const Delayed: Story;
|
|
@@ -71,6 +71,12 @@ export declare class BsNavigationDrawer {
|
|
|
71
71
|
* a "fixed" side nav (Carbon's terminology: a `Fixed Side Nav` never collapses, as opposed to a
|
|
72
72
|
* rail-capable one) that's always fully expanded. `collapsed` is ignored while this is `false`. */
|
|
73
73
|
collapsible: boolean;
|
|
74
|
+
/** Accessible name of the collapse toggle while the drawer is expanded. */
|
|
75
|
+
collapseLabel: string;
|
|
76
|
+
/** Accessible name of the collapse toggle while the drawer is collapsed. */
|
|
77
|
+
expandLabel: string;
|
|
78
|
+
/** Accessible name of the search trigger. */
|
|
79
|
+
searchLabel: string;
|
|
74
80
|
/** Narrows the drawer to a 96px icon-only rail (Figma node 8028:135374). Mutable and reflected
|
|
75
81
|
* -- clicking the collapse toggle toggles this directly (self-toggling, see the class doc above
|
|
76
82
|
* for why), and this component keeps every direct-child `bs-navigation-drawer-item`'s own
|