@brandsync/wc 1.12.1 → 1.13.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 +16 -0
- package/CONVENTIONS.md +109 -0
- package/REFERENCE.md +1357 -0
- package/custom-elements.json +2628 -338
- 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-282ddbee.entry.js → p-07966676.entry.js} +1 -1
- package/dist/brandsync-wc/p-0cb6fc39.entry.js +1 -0
- package/dist/brandsync-wc/{p-2497d128.entry.js → p-0e940ee1.entry.js} +1 -1
- 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-1b5cc9b8.entry.js +1 -0
- package/dist/brandsync-wc/p-23b56775.entry.js +1 -0
- package/dist/brandsync-wc/{p-a9169157.entry.js → p-23cc532f.entry.js} +1 -1
- 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-3f6682f8.entry.js +1 -0
- package/dist/brandsync-wc/{p-f5180578.entry.js → p-4054a944.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-3a1af63a.entry.js → p-4bbc4809.entry.js} +1 -1
- package/dist/brandsync-wc/{p-247e36ad.entry.js → p-4ea435a6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-56c37e0a.entry.js → p-4ea9b6a1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1978e63c.entry.js → p-53362609.entry.js} +1 -1
- package/dist/brandsync-wc/p-658532b7.entry.js +1 -0
- package/dist/brandsync-wc/p-68f0be29.entry.js +1 -0
- package/dist/brandsync-wc/{p-09bc1923.entry.js → p-694fe468.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-7e24dbd7.entry.js +1 -0
- package/dist/brandsync-wc/{p-00a0d489.entry.js → p-8048d033.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2368a92e.entry.js → p-8184d7de.entry.js} +1 -1
- package/dist/brandsync-wc/p-8390a155.entry.js +1 -0
- package/dist/brandsync-wc/{p-0b2d3b7e.entry.js → p-86028548.entry.js} +1 -1
- 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-69c0a85d.entry.js → p-95f034fc.entry.js} +1 -1
- package/dist/brandsync-wc/p-9b58c0c5.entry.js +1 -0
- package/dist/brandsync-wc/{p-39a26c64.entry.js → p-9cf8274a.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-D3SkQJpw.js +3 -0
- package/dist/brandsync-wc/{p-7f954939.entry.js → p-a28ef52e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-09435f41.entry.js → p-a5659499.entry.js} +1 -1
- package/dist/brandsync-wc/p-ab07c9b5.entry.js +1 -0
- package/dist/brandsync-wc/p-b0b2e525.entry.js +1 -0
- package/dist/brandsync-wc/p-b6ac1b50.entry.js +1 -0
- package/dist/brandsync-wc/p-bee30626.entry.js +1 -0
- package/dist/brandsync-wc/p-bf8bd386.entry.js +1 -0
- package/dist/brandsync-wc/{p-1aab6d07.entry.js → p-c05ee501.entry.js} +1 -1
- package/dist/brandsync-wc/p-c3da3080.entry.js +1 -0
- package/dist/brandsync-wc/p-c679b631.entry.js +1 -0
- package/dist/brandsync-wc/p-cceb8484.entry.js +1 -0
- package/dist/brandsync-wc/p-cd53bba9.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-f15d9524.entry.js → p-d64cae57.entry.js} +1 -1
- package/dist/brandsync-wc/p-dfad8c0a.entry.js +1 -0
- package/dist/brandsync-wc/p-e0504a4b.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-ed5c2d97.entry.js +1 -0
- package/dist/brandsync-wc/p-f134a502.entry.js +1 -0
- 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-617bd13a.entry.js → p-f8d47004.entry.js} +1 -1
- package/dist/brandsync-wc/p-fa34fe20.entry.js +1 -0
- package/dist/brandsync-wc/{p-2177042f.entry.js → p-fa6b9750.entry.js} +1 -1
- package/dist/brandsync-wc/p-fb4d0093.entry.js +1 -0
- 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-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 +9 -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-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-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-BEEoVNRu.js → p-BTPdjnXT.js} +1 -1
- package/dist/components/{p-Be9L4_Fe.js → p-BVhF8cZQ.js} +1 -1
- package/dist/components/{p-C_j_jDM6.js → p-Bfq5YVOv.js} +1 -1
- package/dist/components/{p-DE8K7fg0.js → p-C2NR1v3p.js} +1 -1
- package/dist/components/{p-YsHQLXET.js → p-C9jIMBG3.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-CbimDNGY.js → p-CrmEXUwm.js} +1 -1
- package/dist/components/p-Cu-aeY9t.js +1 -0
- 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-DfzrJKwN.js +1 -0
- package/dist/components/{p-CUfs0ROR.js → p-DpVeeIko.js} +1 -1
- package/dist/components/p-DqXI9V2A.js +1 -0
- package/dist/components/p-Dqg8l1y6.js +1 -0
- package/dist/components/{p-CA31vqjL.js → p-DvNED6Lb.js} +1 -1
- 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-Be_Pmccm.js → p-owdeCW0M.js} +1 -1
- package/dist/components/{p-Bl_tVzeq.js → p-uHvS81XA.js} +1 -1
- 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-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-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 +1778 -38
- package/dist/types/global/brand-theming.cmp.test.d.ts +1 -0
- package/package.json +21 -5
- package/reference.d.ts +242 -0
- package/reference.json +4176 -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-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
package/custom-elements.json
CHANGED
|
@@ -267,6 +267,70 @@
|
|
|
267
267
|
}
|
|
268
268
|
]
|
|
269
269
|
},
|
|
270
|
+
{
|
|
271
|
+
"kind": "javascript-module",
|
|
272
|
+
"path": "src/components/bs-accordion-group/bs-accordion-group.tsx",
|
|
273
|
+
"declarations": [
|
|
274
|
+
{
|
|
275
|
+
"kind": "class",
|
|
276
|
+
"customElement": true,
|
|
277
|
+
"tagName": "bs-accordion-group",
|
|
278
|
+
"name": "BsAccordionGroup",
|
|
279
|
+
"description": "Coordinates child `bs-accordion` elements. By default only one stays expanded: when a child\nrequests expansion (its `bsToggle` event), the others are collapsed. With `multiple`, children\nare left independent.\n\nBecause `bs-accordion` is a controlled component, the group applies the requested value to the\nchild's `expanded` property itself.\n\n## When to use\n- A stack of FAQ-style sections where one open at a time keeps the page short.\n\n## When not to use\n- A single section (use `bs-accordion` directly).",
|
|
280
|
+
"attributes": [
|
|
281
|
+
{
|
|
282
|
+
"name": "multiple",
|
|
283
|
+
"description": "Allow several accordions to be expanded at once.",
|
|
284
|
+
"type": {
|
|
285
|
+
"text": "boolean"
|
|
286
|
+
},
|
|
287
|
+
"default": "false",
|
|
288
|
+
"fieldName": "multiple"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"members": [
|
|
292
|
+
{
|
|
293
|
+
"kind": "field",
|
|
294
|
+
"name": "multiple",
|
|
295
|
+
"description": "Allow several accordions to be expanded at once.",
|
|
296
|
+
"type": {
|
|
297
|
+
"text": "boolean"
|
|
298
|
+
},
|
|
299
|
+
"default": "false",
|
|
300
|
+
"attribute": "multiple"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"slots": [
|
|
304
|
+
{
|
|
305
|
+
"name": "",
|
|
306
|
+
"description": "`bs-accordion` elements."
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"cssParts": [
|
|
310
|
+
{
|
|
311
|
+
"name": "group",
|
|
312
|
+
"description": "The stacking wrapper."
|
|
313
|
+
}
|
|
314
|
+
]
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"exports": [
|
|
318
|
+
{
|
|
319
|
+
"kind": "js",
|
|
320
|
+
"name": "BsAccordionGroup",
|
|
321
|
+
"declaration": {
|
|
322
|
+
"name": "BsAccordionGroup"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"kind": "custom-element-definition",
|
|
327
|
+
"name": "bs-accordion-group",
|
|
328
|
+
"declaration": {
|
|
329
|
+
"name": "BsAccordionGroup"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
},
|
|
270
334
|
{
|
|
271
335
|
"kind": "javascript-module",
|
|
272
336
|
"path": "src/components/bs-ai-disclaimer/bs-ai-disclaimer.tsx",
|
|
@@ -504,6 +568,15 @@
|
|
|
504
568
|
"default": "true",
|
|
505
569
|
"fieldName": "removable"
|
|
506
570
|
},
|
|
571
|
+
{
|
|
572
|
+
"name": "remove-label",
|
|
573
|
+
"description": "Prefix of the remove button's accessible name (\"Remove attachment: {fileName}\").",
|
|
574
|
+
"type": {
|
|
575
|
+
"text": "string"
|
|
576
|
+
},
|
|
577
|
+
"default": "'Remove attachment'",
|
|
578
|
+
"fieldName": "removeLabel"
|
|
579
|
+
},
|
|
507
580
|
{
|
|
508
581
|
"name": "type",
|
|
509
582
|
"description": "Which kind of attachment preview to render.",
|
|
@@ -517,6 +590,15 @@
|
|
|
517
590
|
},
|
|
518
591
|
"default": "'image'",
|
|
519
592
|
"fieldName": "type"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"name": "uploading-label",
|
|
596
|
+
"description": "Accessible name of the upload spinner while `loading`.",
|
|
597
|
+
"type": {
|
|
598
|
+
"text": "string"
|
|
599
|
+
},
|
|
600
|
+
"default": "'Uploading'",
|
|
601
|
+
"fieldName": "uploadingLabel"
|
|
520
602
|
}
|
|
521
603
|
],
|
|
522
604
|
"members": [
|
|
@@ -569,6 +651,16 @@
|
|
|
569
651
|
"default": "true",
|
|
570
652
|
"attribute": "removable"
|
|
571
653
|
},
|
|
654
|
+
{
|
|
655
|
+
"kind": "field",
|
|
656
|
+
"name": "removeLabel",
|
|
657
|
+
"description": "Prefix of the remove button's accessible name (\"Remove attachment: {fileName}\").",
|
|
658
|
+
"type": {
|
|
659
|
+
"text": "string"
|
|
660
|
+
},
|
|
661
|
+
"default": "'Remove attachment'",
|
|
662
|
+
"attribute": "remove-label"
|
|
663
|
+
},
|
|
572
664
|
{
|
|
573
665
|
"kind": "field",
|
|
574
666
|
"name": "type",
|
|
@@ -583,6 +675,16 @@
|
|
|
583
675
|
},
|
|
584
676
|
"default": "'image'",
|
|
585
677
|
"attribute": "type"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"kind": "field",
|
|
681
|
+
"name": "uploadingLabel",
|
|
682
|
+
"description": "Accessible name of the upload spinner while `loading`.",
|
|
683
|
+
"type": {
|
|
684
|
+
"text": "string"
|
|
685
|
+
},
|
|
686
|
+
"default": "'Uploading'",
|
|
687
|
+
"attribute": "uploading-label"
|
|
586
688
|
}
|
|
587
689
|
],
|
|
588
690
|
"events": [
|
|
@@ -1716,6 +1818,15 @@
|
|
|
1716
1818
|
"name": "BsButtonSkeleton",
|
|
1717
1819
|
"description": "A shape-matched loading placeholder for `bs-button`, shown while the real label/action isn't\nknown yet (e.g. still being fetched from an API). Sized to match `bs-button`'s `sm`/`md`/`lg`\nheights so layout doesn't shift once the real button renders.\n\nThis is not a submit-in-progress spinner — that's a different concern (a button that's\nalready rendered but waiting on an async action it triggered). Use this component only when\nthe button itself doesn't exist yet.\n\n## When to use\n- In place of a `bs-button` whose label/visibility depends on data that hasn't loaded yet.\n\n## When not to use\n- While a button's own click handler is running (e.g. a submit request in flight) — render the\n real `bs-button` and show its own busy/spinner state instead.",
|
|
1718
1820
|
"attributes": [
|
|
1821
|
+
{
|
|
1822
|
+
"name": "loading-label",
|
|
1823
|
+
"description": "Accessible name announced for the loading placeholder.",
|
|
1824
|
+
"type": {
|
|
1825
|
+
"text": "string"
|
|
1826
|
+
},
|
|
1827
|
+
"default": "'Loading'",
|
|
1828
|
+
"fieldName": "loadingLabel"
|
|
1829
|
+
},
|
|
1719
1830
|
{
|
|
1720
1831
|
"name": "size",
|
|
1721
1832
|
"description": "Sizing scale, matching the `bs-button` size it stands in for.",
|
|
@@ -1733,6 +1844,16 @@
|
|
|
1733
1844
|
}
|
|
1734
1845
|
],
|
|
1735
1846
|
"members": [
|
|
1847
|
+
{
|
|
1848
|
+
"kind": "field",
|
|
1849
|
+
"name": "loadingLabel",
|
|
1850
|
+
"description": "Accessible name announced for the loading placeholder.",
|
|
1851
|
+
"type": {
|
|
1852
|
+
"text": "string"
|
|
1853
|
+
},
|
|
1854
|
+
"default": "'Loading'",
|
|
1855
|
+
"attribute": "loading-label"
|
|
1856
|
+
},
|
|
1736
1857
|
{
|
|
1737
1858
|
"kind": "field",
|
|
1738
1859
|
"name": "size",
|
|
@@ -2271,6 +2392,15 @@
|
|
|
2271
2392
|
"name": "BsChatbotFeedback",
|
|
2272
2393
|
"description": "A star-rating feedback card shown at the end of a Genie AI chat: a heading/subtitle, a 5-star\nrating, an optional comment, and either \"Submit feedback\" + \"Start new chat\" (before\nsubmitting) or just \"Start new chat\" (after).\n\n## When to use\n- Prompting for feedback on a Genie response or chat session, typically after the user ends or\n restarts a conversation.\n\n## When not to use\n- A generic star-rating input elsewhere in the product -- this component's copy and layout are\n purpose-built for the Genie feedback flow, not a reusable rating control.\n\nThe heading and subtitle are not freeform props: before submitting, they're always the fixed\n\"How was your experience...\" copy; after submitting, they're determined entirely by `rating`\n(1-2 stars reads apologetic, 3 neutral, 4-5 positive), matching the Figma source exactly. Use\n`heading`/`subtitle` only if a consuming app genuinely needs to override that copy.",
|
|
2273
2394
|
"attributes": [
|
|
2395
|
+
{
|
|
2396
|
+
"name": "close-label",
|
|
2397
|
+
"description": "Accessible name of the close button.",
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "string"
|
|
2400
|
+
},
|
|
2401
|
+
"default": "'Close'",
|
|
2402
|
+
"fieldName": "closeLabel"
|
|
2403
|
+
},
|
|
2274
2404
|
{
|
|
2275
2405
|
"name": "comment",
|
|
2276
2406
|
"description": "The comment text.",
|
|
@@ -2280,14 +2410,40 @@
|
|
|
2280
2410
|
"default": "''",
|
|
2281
2411
|
"fieldName": "comment"
|
|
2282
2412
|
},
|
|
2413
|
+
{
|
|
2414
|
+
"name": "comment-label",
|
|
2415
|
+
"description": "Label above the optional comment field.",
|
|
2416
|
+
"type": {
|
|
2417
|
+
"text": "string"
|
|
2418
|
+
},
|
|
2419
|
+
"default": "'Tell us what you think'",
|
|
2420
|
+
"fieldName": "commentLabel"
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
"name": "comment-placeholder",
|
|
2424
|
+
"description": "Placeholder of the optional comment field.",
|
|
2425
|
+
"type": {
|
|
2426
|
+
"text": "string"
|
|
2427
|
+
},
|
|
2428
|
+
"default": "'e.g.The response was helpful ....'",
|
|
2429
|
+
"fieldName": "commentPlaceholder"
|
|
2430
|
+
},
|
|
2283
2431
|
{
|
|
2284
2432
|
"name": "heading",
|
|
2285
|
-
"description": "Overrides the computed heading (see the class doc for why this is computed by default).",
|
|
2286
2433
|
"type": {
|
|
2287
2434
|
"text": "string"
|
|
2288
2435
|
},
|
|
2289
2436
|
"fieldName": "heading"
|
|
2290
2437
|
},
|
|
2438
|
+
{
|
|
2439
|
+
"name": "new-chat-label",
|
|
2440
|
+
"description": "Text of the \"new chat\" button.",
|
|
2441
|
+
"type": {
|
|
2442
|
+
"text": "string"
|
|
2443
|
+
},
|
|
2444
|
+
"default": "'Start new chat'",
|
|
2445
|
+
"fieldName": "newChatLabel"
|
|
2446
|
+
},
|
|
2291
2447
|
{
|
|
2292
2448
|
"name": "rating",
|
|
2293
2449
|
"description": "Current star rating, 0-5. 0 means no rating has been given yet.",
|
|
@@ -2297,6 +2453,42 @@
|
|
|
2297
2453
|
"default": "0",
|
|
2298
2454
|
"fieldName": "rating"
|
|
2299
2455
|
},
|
|
2456
|
+
{
|
|
2457
|
+
"name": "rating-label",
|
|
2458
|
+
"description": "Accessible name of the star rating group.",
|
|
2459
|
+
"type": {
|
|
2460
|
+
"text": "string"
|
|
2461
|
+
},
|
|
2462
|
+
"default": "'Rating'",
|
|
2463
|
+
"fieldName": "ratingLabel"
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"name": "star-label",
|
|
2467
|
+
"description": "Singular star noun used in each star's accessible name (\"1 star\").",
|
|
2468
|
+
"type": {
|
|
2469
|
+
"text": "string"
|
|
2470
|
+
},
|
|
2471
|
+
"default": "'star'",
|
|
2472
|
+
"fieldName": "starLabel"
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"name": "stars-label",
|
|
2476
|
+
"description": "Plural star noun used in each star's accessible name (\"3 stars\").",
|
|
2477
|
+
"type": {
|
|
2478
|
+
"text": "string"
|
|
2479
|
+
},
|
|
2480
|
+
"default": "'stars'",
|
|
2481
|
+
"fieldName": "starsLabel"
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"name": "submit-label",
|
|
2485
|
+
"description": "Text of the submit button.",
|
|
2486
|
+
"type": {
|
|
2487
|
+
"text": "string"
|
|
2488
|
+
},
|
|
2489
|
+
"default": "'Submit feedback'",
|
|
2490
|
+
"fieldName": "submitLabel"
|
|
2491
|
+
},
|
|
2300
2492
|
{
|
|
2301
2493
|
"name": "submitted",
|
|
2302
2494
|
"description": "Whether feedback has been submitted. Switches the card from the editable form to the\nread-only \"thanks\" view.",
|
|
@@ -2316,6 +2508,16 @@
|
|
|
2316
2508
|
}
|
|
2317
2509
|
],
|
|
2318
2510
|
"members": [
|
|
2511
|
+
{
|
|
2512
|
+
"kind": "field",
|
|
2513
|
+
"name": "closeLabel",
|
|
2514
|
+
"description": "Accessible name of the close button.",
|
|
2515
|
+
"type": {
|
|
2516
|
+
"text": "string"
|
|
2517
|
+
},
|
|
2518
|
+
"default": "'Close'",
|
|
2519
|
+
"attribute": "close-label"
|
|
2520
|
+
},
|
|
2319
2521
|
{
|
|
2320
2522
|
"kind": "field",
|
|
2321
2523
|
"name": "comment",
|
|
@@ -2326,15 +2528,44 @@
|
|
|
2326
2528
|
"default": "''",
|
|
2327
2529
|
"attribute": "comment"
|
|
2328
2530
|
},
|
|
2531
|
+
{
|
|
2532
|
+
"kind": "field",
|
|
2533
|
+
"name": "commentLabel",
|
|
2534
|
+
"description": "Label above the optional comment field.",
|
|
2535
|
+
"type": {
|
|
2536
|
+
"text": "string"
|
|
2537
|
+
},
|
|
2538
|
+
"default": "'Tell us what you think'",
|
|
2539
|
+
"attribute": "comment-label"
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"kind": "field",
|
|
2543
|
+
"name": "commentPlaceholder",
|
|
2544
|
+
"description": "Placeholder of the optional comment field.",
|
|
2545
|
+
"type": {
|
|
2546
|
+
"text": "string"
|
|
2547
|
+
},
|
|
2548
|
+
"default": "'e.g.The response was helpful ....'",
|
|
2549
|
+
"attribute": "comment-placeholder"
|
|
2550
|
+
},
|
|
2329
2551
|
{
|
|
2330
2552
|
"kind": "field",
|
|
2331
2553
|
"name": "heading",
|
|
2332
|
-
"description": "Overrides the computed heading (see the class doc for why this is computed by default).",
|
|
2333
2554
|
"type": {
|
|
2334
2555
|
"text": "string"
|
|
2335
2556
|
},
|
|
2336
2557
|
"attribute": "heading"
|
|
2337
2558
|
},
|
|
2559
|
+
{
|
|
2560
|
+
"kind": "field",
|
|
2561
|
+
"name": "newChatLabel",
|
|
2562
|
+
"description": "Text of the \"new chat\" button.",
|
|
2563
|
+
"type": {
|
|
2564
|
+
"text": "string"
|
|
2565
|
+
},
|
|
2566
|
+
"default": "'Start new chat'",
|
|
2567
|
+
"attribute": "new-chat-label"
|
|
2568
|
+
},
|
|
2338
2569
|
{
|
|
2339
2570
|
"kind": "field",
|
|
2340
2571
|
"name": "rating",
|
|
@@ -2346,6 +2577,46 @@
|
|
|
2346
2577
|
"attribute": "rating",
|
|
2347
2578
|
"reflects": true
|
|
2348
2579
|
},
|
|
2580
|
+
{
|
|
2581
|
+
"kind": "field",
|
|
2582
|
+
"name": "ratingLabel",
|
|
2583
|
+
"description": "Accessible name of the star rating group.",
|
|
2584
|
+
"type": {
|
|
2585
|
+
"text": "string"
|
|
2586
|
+
},
|
|
2587
|
+
"default": "'Rating'",
|
|
2588
|
+
"attribute": "rating-label"
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"kind": "field",
|
|
2592
|
+
"name": "starLabel",
|
|
2593
|
+
"description": "Singular star noun used in each star's accessible name (\"1 star\").",
|
|
2594
|
+
"type": {
|
|
2595
|
+
"text": "string"
|
|
2596
|
+
},
|
|
2597
|
+
"default": "'star'",
|
|
2598
|
+
"attribute": "star-label"
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"kind": "field",
|
|
2602
|
+
"name": "starsLabel",
|
|
2603
|
+
"description": "Plural star noun used in each star's accessible name (\"3 stars\").",
|
|
2604
|
+
"type": {
|
|
2605
|
+
"text": "string"
|
|
2606
|
+
},
|
|
2607
|
+
"default": "'stars'",
|
|
2608
|
+
"attribute": "stars-label"
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"kind": "field",
|
|
2612
|
+
"name": "submitLabel",
|
|
2613
|
+
"description": "Text of the submit button.",
|
|
2614
|
+
"type": {
|
|
2615
|
+
"text": "string"
|
|
2616
|
+
},
|
|
2617
|
+
"default": "'Submit feedback'",
|
|
2618
|
+
"attribute": "submit-label"
|
|
2619
|
+
},
|
|
2349
2620
|
{
|
|
2350
2621
|
"kind": "field",
|
|
2351
2622
|
"name": "submitted",
|
|
@@ -2472,6 +2743,33 @@
|
|
|
2472
2743
|
"name": "BsChatbotHeader",
|
|
2473
2744
|
"description": "The header bar that sits above `bs-composer` in a Genie AI chat panel: the Genie brand mark on\nthe left and four fixed actions (new chat, history, expand, close) on the right.\n\n## When to use\n- The top bar of a Genie AI chat panel, directly above a `bs-composer`.\n\n## When not to use\n- A generic app/page header — this component's layout and actions are purpose-built for the\n Genie chat panel, not a general navigation bar.\n\nEach action button shows a `bs-tooltip` (placement=\"top\", i.e. positioned below the button with\nits arrow pointing up toward it -- fits naturally since this header sits at the top of a panel)\non hover/focus, driven by plain CSS (`:hover`/`:focus-within` on a wrapper, no extra JS state).\nThe tooltip is `aria-hidden` since it's a purely visual reinforcement of each button's existing\n`aria-label` -- screen readers already get the accessible name from the button itself, so the\ntooltip doesn't need to be (and shouldn't be) announced a second time.",
|
|
2474
2745
|
"attributes": [
|
|
2746
|
+
{
|
|
2747
|
+
"name": "close-label",
|
|
2748
|
+
"description": "Accessible name and tooltip text of the \"Close\" button.",
|
|
2749
|
+
"type": {
|
|
2750
|
+
"text": "string"
|
|
2751
|
+
},
|
|
2752
|
+
"default": "'Close'",
|
|
2753
|
+
"fieldName": "closeLabel"
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
"name": "collapse-label",
|
|
2757
|
+
"description": "Accessible name and tooltip text of the expand button while `expanded`.",
|
|
2758
|
+
"type": {
|
|
2759
|
+
"text": "string"
|
|
2760
|
+
},
|
|
2761
|
+
"default": "'Exit fullscreen'",
|
|
2762
|
+
"fieldName": "collapseLabel"
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
"name": "expand-label",
|
|
2766
|
+
"description": "Accessible name and tooltip text of the expand button while collapsed.",
|
|
2767
|
+
"type": {
|
|
2768
|
+
"text": "string"
|
|
2769
|
+
},
|
|
2770
|
+
"default": "'Fullscreen'",
|
|
2771
|
+
"fieldName": "expandLabel"
|
|
2772
|
+
},
|
|
2475
2773
|
{
|
|
2476
2774
|
"name": "expanded",
|
|
2477
2775
|
"description": "Whether the chat panel is currently expanded (e.g. to full viewport width/height). This\ncomponent has no visibility into the surrounding layout, so it does not resize anything\nitself -- it only tracks and reflects the toggle state (via the `expanded` attribute, for CSS\nhooks, and `aria-pressed`/`aria-label` on the expand button) and emits `bsExpand` with the new\nvalue. The consuming app is responsible for actually resizing its own chat panel container in\nresponse to that event, since only the app knows what that container is.",
|
|
@@ -2489,62 +2787,210 @@
|
|
|
2489
2787
|
},
|
|
2490
2788
|
"default": "'Genie'",
|
|
2491
2789
|
"fieldName": "heading"
|
|
2492
|
-
}
|
|
2493
|
-
],
|
|
2494
|
-
"members": [
|
|
2790
|
+
},
|
|
2495
2791
|
{
|
|
2496
|
-
"
|
|
2497
|
-
"
|
|
2498
|
-
"description": "Whether the chat panel is currently expanded (e.g. to full viewport width/height). This\ncomponent has no visibility into the surrounding layout, so it does not resize anything\nitself -- it only tracks and reflects the toggle state (via the `expanded` attribute, for CSS\nhooks, and `aria-pressed`/`aria-label` on the expand button) and emits `bsExpand` with the new\nvalue. The consuming app is responsible for actually resizing its own chat panel container in\nresponse to that event, since only the app knows what that container is.",
|
|
2792
|
+
"name": "hide-close",
|
|
2793
|
+
"description": "Removes the \"Close\" button from the DOM.",
|
|
2499
2794
|
"type": {
|
|
2500
2795
|
"text": "boolean"
|
|
2501
2796
|
},
|
|
2502
2797
|
"default": "false",
|
|
2503
|
-
"
|
|
2504
|
-
"reflects": true
|
|
2798
|
+
"fieldName": "hideClose"
|
|
2505
2799
|
},
|
|
2506
2800
|
{
|
|
2507
|
-
"
|
|
2508
|
-
"
|
|
2509
|
-
"description": "Accessible label for the header landmark, and alt text context for the logo image.",
|
|
2801
|
+
"name": "hide-expand",
|
|
2802
|
+
"description": "Removes the expand/fullscreen button from the DOM.",
|
|
2510
2803
|
"type": {
|
|
2511
|
-
"text": "
|
|
2804
|
+
"text": "boolean"
|
|
2512
2805
|
},
|
|
2513
|
-
"default": "
|
|
2514
|
-
"
|
|
2515
|
-
}
|
|
2516
|
-
],
|
|
2517
|
-
"events": [
|
|
2806
|
+
"default": "false",
|
|
2807
|
+
"fieldName": "hideExpand"
|
|
2808
|
+
},
|
|
2518
2809
|
{
|
|
2519
|
-
"name": "
|
|
2520
|
-
"description": "
|
|
2810
|
+
"name": "hide-history",
|
|
2811
|
+
"description": "Removes the \"History\" button from the DOM.",
|
|
2521
2812
|
"type": {
|
|
2522
|
-
"text": "
|
|
2523
|
-
}
|
|
2813
|
+
"text": "boolean"
|
|
2814
|
+
},
|
|
2815
|
+
"default": "false",
|
|
2816
|
+
"fieldName": "hideHistory"
|
|
2524
2817
|
},
|
|
2525
2818
|
{
|
|
2526
|
-
"name": "
|
|
2527
|
-
"description": "
|
|
2819
|
+
"name": "hide-new-chat",
|
|
2820
|
+
"description": "Removes the \"New chat\" button from the DOM.",
|
|
2528
2821
|
"type": {
|
|
2529
|
-
"text": "
|
|
2530
|
-
}
|
|
2822
|
+
"text": "boolean"
|
|
2823
|
+
},
|
|
2824
|
+
"default": "false",
|
|
2825
|
+
"fieldName": "hideNewChat"
|
|
2531
2826
|
},
|
|
2532
2827
|
{
|
|
2533
|
-
"name": "
|
|
2534
|
-
"description": "
|
|
2828
|
+
"name": "history-label",
|
|
2829
|
+
"description": "Accessible name and tooltip text of the \"History\" button.",
|
|
2535
2830
|
"type": {
|
|
2536
|
-
"text": "
|
|
2537
|
-
}
|
|
2831
|
+
"text": "string"
|
|
2832
|
+
},
|
|
2833
|
+
"default": "'History'",
|
|
2834
|
+
"fieldName": "historyLabel"
|
|
2538
2835
|
},
|
|
2539
2836
|
{
|
|
2540
|
-
"name": "
|
|
2541
|
-
"description": "
|
|
2837
|
+
"name": "new-chat-label",
|
|
2838
|
+
"description": "Accessible name and tooltip text of the \"New chat\" button.",
|
|
2542
2839
|
"type": {
|
|
2543
|
-
"text": "
|
|
2544
|
-
}
|
|
2840
|
+
"text": "string"
|
|
2841
|
+
},
|
|
2842
|
+
"default": "'New chat'",
|
|
2843
|
+
"fieldName": "newChatLabel"
|
|
2545
2844
|
}
|
|
2546
2845
|
],
|
|
2547
|
-
"
|
|
2846
|
+
"members": [
|
|
2847
|
+
{
|
|
2848
|
+
"kind": "field",
|
|
2849
|
+
"name": "closeLabel",
|
|
2850
|
+
"description": "Accessible name and tooltip text of the \"Close\" button.",
|
|
2851
|
+
"type": {
|
|
2852
|
+
"text": "string"
|
|
2853
|
+
},
|
|
2854
|
+
"default": "'Close'",
|
|
2855
|
+
"attribute": "close-label"
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"kind": "field",
|
|
2859
|
+
"name": "collapseLabel",
|
|
2860
|
+
"description": "Accessible name and tooltip text of the expand button while `expanded`.",
|
|
2861
|
+
"type": {
|
|
2862
|
+
"text": "string"
|
|
2863
|
+
},
|
|
2864
|
+
"default": "'Exit fullscreen'",
|
|
2865
|
+
"attribute": "collapse-label"
|
|
2866
|
+
},
|
|
2867
|
+
{
|
|
2868
|
+
"kind": "field",
|
|
2869
|
+
"name": "expandLabel",
|
|
2870
|
+
"description": "Accessible name and tooltip text of the expand button while collapsed.",
|
|
2871
|
+
"type": {
|
|
2872
|
+
"text": "string"
|
|
2873
|
+
},
|
|
2874
|
+
"default": "'Fullscreen'",
|
|
2875
|
+
"attribute": "expand-label"
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"kind": "field",
|
|
2879
|
+
"name": "expanded",
|
|
2880
|
+
"description": "Whether the chat panel is currently expanded (e.g. to full viewport width/height). This\ncomponent has no visibility into the surrounding layout, so it does not resize anything\nitself -- it only tracks and reflects the toggle state (via the `expanded` attribute, for CSS\nhooks, and `aria-pressed`/`aria-label` on the expand button) and emits `bsExpand` with the new\nvalue. The consuming app is responsible for actually resizing its own chat panel container in\nresponse to that event, since only the app knows what that container is.",
|
|
2881
|
+
"type": {
|
|
2882
|
+
"text": "boolean"
|
|
2883
|
+
},
|
|
2884
|
+
"default": "false",
|
|
2885
|
+
"attribute": "expanded",
|
|
2886
|
+
"reflects": true
|
|
2887
|
+
},
|
|
2888
|
+
{
|
|
2889
|
+
"kind": "field",
|
|
2890
|
+
"name": "heading",
|
|
2891
|
+
"description": "Accessible label for the header landmark, and alt text context for the logo image.",
|
|
2892
|
+
"type": {
|
|
2893
|
+
"text": "string"
|
|
2894
|
+
},
|
|
2895
|
+
"default": "'Genie'",
|
|
2896
|
+
"attribute": "heading"
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"kind": "field",
|
|
2900
|
+
"name": "hideClose",
|
|
2901
|
+
"description": "Removes the \"Close\" button from the DOM.",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "boolean"
|
|
2904
|
+
},
|
|
2905
|
+
"default": "false",
|
|
2906
|
+
"attribute": "hide-close"
|
|
2907
|
+
},
|
|
2908
|
+
{
|
|
2909
|
+
"kind": "field",
|
|
2910
|
+
"name": "hideExpand",
|
|
2911
|
+
"description": "Removes the expand/fullscreen button from the DOM.",
|
|
2912
|
+
"type": {
|
|
2913
|
+
"text": "boolean"
|
|
2914
|
+
},
|
|
2915
|
+
"default": "false",
|
|
2916
|
+
"attribute": "hide-expand"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"kind": "field",
|
|
2920
|
+
"name": "hideHistory",
|
|
2921
|
+
"description": "Removes the \"History\" button from the DOM.",
|
|
2922
|
+
"type": {
|
|
2923
|
+
"text": "boolean"
|
|
2924
|
+
},
|
|
2925
|
+
"default": "false",
|
|
2926
|
+
"attribute": "hide-history"
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
"kind": "field",
|
|
2930
|
+
"name": "hideNewChat",
|
|
2931
|
+
"description": "Removes the \"New chat\" button from the DOM.",
|
|
2932
|
+
"type": {
|
|
2933
|
+
"text": "boolean"
|
|
2934
|
+
},
|
|
2935
|
+
"default": "false",
|
|
2936
|
+
"attribute": "hide-new-chat"
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
"kind": "field",
|
|
2940
|
+
"name": "historyLabel",
|
|
2941
|
+
"description": "Accessible name and tooltip text of the \"History\" button.",
|
|
2942
|
+
"type": {
|
|
2943
|
+
"text": "string"
|
|
2944
|
+
},
|
|
2945
|
+
"default": "'History'",
|
|
2946
|
+
"attribute": "history-label"
|
|
2947
|
+
},
|
|
2948
|
+
{
|
|
2949
|
+
"kind": "field",
|
|
2950
|
+
"name": "newChatLabel",
|
|
2951
|
+
"description": "Accessible name and tooltip text of the \"New chat\" button.",
|
|
2952
|
+
"type": {
|
|
2953
|
+
"text": "string"
|
|
2954
|
+
},
|
|
2955
|
+
"default": "'New chat'",
|
|
2956
|
+
"attribute": "new-chat-label"
|
|
2957
|
+
}
|
|
2958
|
+
],
|
|
2959
|
+
"events": [
|
|
2960
|
+
{
|
|
2961
|
+
"name": "bsClose",
|
|
2962
|
+
"description": "Fires when the \"Close\" button is clicked.",
|
|
2963
|
+
"type": {
|
|
2964
|
+
"text": "CustomEvent<void>"
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2967
|
+
{
|
|
2968
|
+
"name": "bsExpand",
|
|
2969
|
+
"description": "Fires when the \"Expand\"/\"Collapse\" button is clicked, with the new `expanded` value.",
|
|
2970
|
+
"type": {
|
|
2971
|
+
"text": "CustomEvent<boolean>"
|
|
2972
|
+
}
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"name": "bsHistory",
|
|
2976
|
+
"description": "Fires when the \"History\" button is clicked.",
|
|
2977
|
+
"type": {
|
|
2978
|
+
"text": "CustomEvent<void>"
|
|
2979
|
+
}
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"name": "bsNewChat",
|
|
2983
|
+
"description": "Fires when the \"New chat\" button is clicked.",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "CustomEvent<void>"
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
],
|
|
2989
|
+
"slots": [
|
|
2990
|
+
{
|
|
2991
|
+
"name": "actions",
|
|
2992
|
+
"description": "Extra consumer-supplied controls (e.g. a language selector) rendered before the built-in buttons."
|
|
2993
|
+
},
|
|
2548
2994
|
{
|
|
2549
2995
|
"name": "close-icon",
|
|
2550
2996
|
"description": "Overrides the default \"Close\" button icon."
|
|
@@ -2614,6 +3060,69 @@
|
|
|
2614
3060
|
"name": "BsChatbotResponseAction",
|
|
2615
3061
|
"description": "The row of action buttons that appears below an AI response message in a Genie chat panel:\nlike, dislike, copy, regenerate, and more-options icon buttons, plus an optional \"N sources\"\nbutton.\n\n## When to use\n- Directly below an AI-generated response message in a Genie chat panel.\n\n## When not to use\n- Below a user's own message -- these actions (regenerate, like/dislike a response, etc.) only\n make sense for AI-generated content.",
|
|
2616
3062
|
"attributes": [
|
|
3063
|
+
{
|
|
3064
|
+
"name": "copy-label",
|
|
3065
|
+
"description": "Accessible name of the Copy button.",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "string"
|
|
3068
|
+
},
|
|
3069
|
+
"default": "'Copy'",
|
|
3070
|
+
"fieldName": "copyLabel"
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"name": "dislike-label",
|
|
3074
|
+
"description": "Accessible name of the Dislike button.",
|
|
3075
|
+
"type": {
|
|
3076
|
+
"text": "string"
|
|
3077
|
+
},
|
|
3078
|
+
"default": "'Dislike'",
|
|
3079
|
+
"fieldName": "dislikeLabel"
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"name": "disliked",
|
|
3083
|
+
"description": "Marks the response as disliked: sets `aria-pressed` on the Dislike button and applies the\npressed background. Consumer-controlled -- the component never toggles it itself.",
|
|
3084
|
+
"type": {
|
|
3085
|
+
"text": "boolean"
|
|
3086
|
+
},
|
|
3087
|
+
"default": "false",
|
|
3088
|
+
"fieldName": "disliked"
|
|
3089
|
+
},
|
|
3090
|
+
{
|
|
3091
|
+
"name": "hide-regenerate",
|
|
3092
|
+
"description": "Removes the \"Regenerate\" button from the DOM.",
|
|
3093
|
+
"type": {
|
|
3094
|
+
"text": "boolean"
|
|
3095
|
+
},
|
|
3096
|
+
"default": "false",
|
|
3097
|
+
"fieldName": "hideRegenerate"
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
"name": "like-label",
|
|
3101
|
+
"description": "Accessible name (and visible text, where applicable) of the Like button.",
|
|
3102
|
+
"type": {
|
|
3103
|
+
"text": "string"
|
|
3104
|
+
},
|
|
3105
|
+
"default": "'Like'",
|
|
3106
|
+
"fieldName": "likeLabel"
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"name": "liked",
|
|
3110
|
+
"description": "Marks the response as liked: sets `aria-pressed` on the Like button and applies the pressed\nbackground. Consumer-controlled -- the component never toggles it itself.",
|
|
3111
|
+
"type": {
|
|
3112
|
+
"text": "boolean"
|
|
3113
|
+
},
|
|
3114
|
+
"default": "false",
|
|
3115
|
+
"fieldName": "liked"
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
"name": "menu-label",
|
|
3119
|
+
"description": "Accessible name of the \"More options\" button.",
|
|
3120
|
+
"type": {
|
|
3121
|
+
"text": "string"
|
|
3122
|
+
},
|
|
3123
|
+
"default": "'More options'",
|
|
3124
|
+
"fieldName": "menuLabel"
|
|
3125
|
+
},
|
|
2617
3126
|
{
|
|
2618
3127
|
"name": "menu-open",
|
|
2619
3128
|
"description": "Whether the \"more options\" popup menu (the `menu` slot) is currently open. Mutable + reflected\nso the component can track/close itself (kebab click, click outside, Escape) the same way\n`bs-chatbot-header`'s `expanded` prop tracks its own toggle state, while still emitting\n`bsMenuOpen` for the consumer to react to.",
|
|
@@ -2623,6 +3132,24 @@
|
|
|
2623
3132
|
"default": "false",
|
|
2624
3133
|
"fieldName": "menuOpen"
|
|
2625
3134
|
},
|
|
3135
|
+
{
|
|
3136
|
+
"name": "regenerate-label",
|
|
3137
|
+
"description": "Accessible name of the Regenerate button.",
|
|
3138
|
+
"type": {
|
|
3139
|
+
"text": "string"
|
|
3140
|
+
},
|
|
3141
|
+
"default": "'Regenerate'",
|
|
3142
|
+
"fieldName": "regenerateLabel"
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
"name": "source-label",
|
|
3146
|
+
"description": "Label for a single source; rendered as \"1 {sourceLabel}\".",
|
|
3147
|
+
"type": {
|
|
3148
|
+
"text": "string"
|
|
3149
|
+
},
|
|
3150
|
+
"default": "'source'",
|
|
3151
|
+
"fieldName": "sourceLabel"
|
|
3152
|
+
},
|
|
2626
3153
|
{
|
|
2627
3154
|
"name": "sources-count",
|
|
2628
3155
|
"description": "Number of sources backing the response. When set to a positive number, renders the \"N\nsources\" button (singular \"1 source\" / plural \"N sources\"). When unset or `0`, the button is\nnot rendered at all.",
|
|
@@ -2630,9 +3157,90 @@
|
|
|
2630
3157
|
"text": "number"
|
|
2631
3158
|
},
|
|
2632
3159
|
"fieldName": "sourcesCount"
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"name": "sources-label",
|
|
3163
|
+
"description": "Label for multiple sources; rendered as \"N {sourcesLabel}\".",
|
|
3164
|
+
"type": {
|
|
3165
|
+
"text": "string"
|
|
3166
|
+
},
|
|
3167
|
+
"default": "'sources'",
|
|
3168
|
+
"fieldName": "sourcesLabel"
|
|
2633
3169
|
}
|
|
2634
3170
|
],
|
|
2635
3171
|
"members": [
|
|
3172
|
+
{
|
|
3173
|
+
"kind": "field",
|
|
3174
|
+
"name": "copyLabel",
|
|
3175
|
+
"description": "Accessible name of the Copy button.",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "string"
|
|
3178
|
+
},
|
|
3179
|
+
"default": "'Copy'",
|
|
3180
|
+
"attribute": "copy-label"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"kind": "field",
|
|
3184
|
+
"name": "dislikeLabel",
|
|
3185
|
+
"description": "Accessible name of the Dislike button.",
|
|
3186
|
+
"type": {
|
|
3187
|
+
"text": "string"
|
|
3188
|
+
},
|
|
3189
|
+
"default": "'Dislike'",
|
|
3190
|
+
"attribute": "dislike-label"
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"kind": "field",
|
|
3194
|
+
"name": "disliked",
|
|
3195
|
+
"description": "Marks the response as disliked: sets `aria-pressed` on the Dislike button and applies the\npressed background. Consumer-controlled -- the component never toggles it itself.",
|
|
3196
|
+
"type": {
|
|
3197
|
+
"text": "boolean"
|
|
3198
|
+
},
|
|
3199
|
+
"default": "false",
|
|
3200
|
+
"attribute": "disliked",
|
|
3201
|
+
"reflects": true
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"kind": "field",
|
|
3205
|
+
"name": "hideRegenerate",
|
|
3206
|
+
"description": "Removes the \"Regenerate\" button from the DOM.",
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "boolean"
|
|
3209
|
+
},
|
|
3210
|
+
"default": "false",
|
|
3211
|
+
"attribute": "hide-regenerate"
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"kind": "field",
|
|
3215
|
+
"name": "likeLabel",
|
|
3216
|
+
"description": "Accessible name (and visible text, where applicable) of the Like button.",
|
|
3217
|
+
"type": {
|
|
3218
|
+
"text": "string"
|
|
3219
|
+
},
|
|
3220
|
+
"default": "'Like'",
|
|
3221
|
+
"attribute": "like-label"
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"kind": "field",
|
|
3225
|
+
"name": "liked",
|
|
3226
|
+
"description": "Marks the response as liked: sets `aria-pressed` on the Like button and applies the pressed\nbackground. Consumer-controlled -- the component never toggles it itself.",
|
|
3227
|
+
"type": {
|
|
3228
|
+
"text": "boolean"
|
|
3229
|
+
},
|
|
3230
|
+
"default": "false",
|
|
3231
|
+
"attribute": "liked",
|
|
3232
|
+
"reflects": true
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"kind": "field",
|
|
3236
|
+
"name": "menuLabel",
|
|
3237
|
+
"description": "Accessible name of the \"More options\" button.",
|
|
3238
|
+
"type": {
|
|
3239
|
+
"text": "string"
|
|
3240
|
+
},
|
|
3241
|
+
"default": "'More options'",
|
|
3242
|
+
"attribute": "menu-label"
|
|
3243
|
+
},
|
|
2636
3244
|
{
|
|
2637
3245
|
"kind": "field",
|
|
2638
3246
|
"name": "menuOpen",
|
|
@@ -2644,6 +3252,26 @@
|
|
|
2644
3252
|
"attribute": "menu-open",
|
|
2645
3253
|
"reflects": true
|
|
2646
3254
|
},
|
|
3255
|
+
{
|
|
3256
|
+
"kind": "field",
|
|
3257
|
+
"name": "regenerateLabel",
|
|
3258
|
+
"description": "Accessible name of the Regenerate button.",
|
|
3259
|
+
"type": {
|
|
3260
|
+
"text": "string"
|
|
3261
|
+
},
|
|
3262
|
+
"default": "'Regenerate'",
|
|
3263
|
+
"attribute": "regenerate-label"
|
|
3264
|
+
},
|
|
3265
|
+
{
|
|
3266
|
+
"kind": "field",
|
|
3267
|
+
"name": "sourceLabel",
|
|
3268
|
+
"description": "Label for a single source; rendered as \"1 {sourceLabel}\".",
|
|
3269
|
+
"type": {
|
|
3270
|
+
"text": "string"
|
|
3271
|
+
},
|
|
3272
|
+
"default": "'source'",
|
|
3273
|
+
"attribute": "source-label"
|
|
3274
|
+
},
|
|
2647
3275
|
{
|
|
2648
3276
|
"kind": "field",
|
|
2649
3277
|
"name": "sourcesCount",
|
|
@@ -2652,6 +3280,16 @@
|
|
|
2652
3280
|
"text": "number"
|
|
2653
3281
|
},
|
|
2654
3282
|
"attribute": "sources-count"
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
"kind": "field",
|
|
3286
|
+
"name": "sourcesLabel",
|
|
3287
|
+
"description": "Label for multiple sources; rendered as \"N {sourcesLabel}\".",
|
|
3288
|
+
"type": {
|
|
3289
|
+
"text": "string"
|
|
3290
|
+
},
|
|
3291
|
+
"default": "'sources'",
|
|
3292
|
+
"attribute": "sources-label"
|
|
2655
3293
|
}
|
|
2656
3294
|
],
|
|
2657
3295
|
"events": [
|
|
@@ -2784,9 +3422,17 @@
|
|
|
2784
3422
|
"name": "BsChatbotSourcesDrawer",
|
|
2785
3423
|
"description": "The \"Sources\" panel shown alongside a Genie AI chat response -- a header with a title, a count\nbadge, and a collapse chevron, above a stack of `bs-source-link` citation rows.\n\n## When to use\n- Displaying the documents/sources a Genie response cited, typically opened from a \"view\n sources\" action on a `bs-chatbot-response-action` bar.\n\n## When not to use\n- A generic list container -- this component's header (title + count + collapse) is\n purpose-built for the sources use case.",
|
|
2786
3424
|
"attributes": [
|
|
3425
|
+
{
|
|
3426
|
+
"name": "collapse-label",
|
|
3427
|
+
"description": "Accessible name of the collapse button.",
|
|
3428
|
+
"type": {
|
|
3429
|
+
"text": "string"
|
|
3430
|
+
},
|
|
3431
|
+
"default": "'Collapse sources'",
|
|
3432
|
+
"fieldName": "collapseLabel"
|
|
3433
|
+
},
|
|
2787
3434
|
{
|
|
2788
3435
|
"name": "count",
|
|
2789
|
-
"description": "Overrides the auto-detected count badge. By default the badge reflects the number of slotted\n`bs-source-link` children, so most consumers don't need to set this.",
|
|
2790
3436
|
"type": {
|
|
2791
3437
|
"text": "number"
|
|
2792
3438
|
},
|
|
@@ -2803,10 +3449,19 @@
|
|
|
2803
3449
|
}
|
|
2804
3450
|
],
|
|
2805
3451
|
"members": [
|
|
3452
|
+
{
|
|
3453
|
+
"kind": "field",
|
|
3454
|
+
"name": "collapseLabel",
|
|
3455
|
+
"description": "Accessible name of the collapse button.",
|
|
3456
|
+
"type": {
|
|
3457
|
+
"text": "string"
|
|
3458
|
+
},
|
|
3459
|
+
"default": "'Collapse sources'",
|
|
3460
|
+
"attribute": "collapse-label"
|
|
3461
|
+
},
|
|
2806
3462
|
{
|
|
2807
3463
|
"kind": "field",
|
|
2808
3464
|
"name": "count",
|
|
2809
|
-
"description": "Overrides the auto-detected count badge. By default the badge reflects the number of slotted\n`bs-source-link` children, so most consumers don't need to set this.",
|
|
2810
3465
|
"type": {
|
|
2811
3466
|
"text": "number"
|
|
2812
3467
|
},
|
|
@@ -3323,8 +3978,17 @@
|
|
|
3323
3978
|
"description": "A shape-matched loading placeholder for `bs-checkbox`, shown while the real label text isn't\nknown yet (e.g. still being fetched from an API). Renders a small square (matching the\ncheckbox's own box) beside a text-bar placeholder (standing in for the label), both pulsing\ntogether, sized to match `bs-checkbox`'s `sm`/`md`/`lg` box dimensions so layout doesn't shift\nonce the real checkbox renders.\n\n## When to use\n- In place of a `bs-checkbox` whose label/checked state depends on data that hasn't loaded yet.\n\n## When not to use\n- While a checkbox's own change handler is running (e.g. a save request in flight) -- render the\n real `bs-checkbox` itself; this component is not a saving-in-progress spinner.",
|
|
3324
3979
|
"attributes": [
|
|
3325
3980
|
{
|
|
3326
|
-
"name": "
|
|
3327
|
-
"description": "
|
|
3981
|
+
"name": "loading-label",
|
|
3982
|
+
"description": "Accessible name announced for the loading placeholder.",
|
|
3983
|
+
"type": {
|
|
3984
|
+
"text": "string"
|
|
3985
|
+
},
|
|
3986
|
+
"default": "'Loading'",
|
|
3987
|
+
"fieldName": "loadingLabel"
|
|
3988
|
+
},
|
|
3989
|
+
{
|
|
3990
|
+
"name": "size",
|
|
3991
|
+
"description": "Sizing scale, matching the `bs-checkbox` size it stands in for. Defaults to `lg`, the same\n(unusual) default `bs-checkbox` itself uses.",
|
|
3328
3992
|
"type": {
|
|
3329
3993
|
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
3330
3994
|
"references": [
|
|
@@ -3339,6 +4003,16 @@
|
|
|
3339
4003
|
}
|
|
3340
4004
|
],
|
|
3341
4005
|
"members": [
|
|
4006
|
+
{
|
|
4007
|
+
"kind": "field",
|
|
4008
|
+
"name": "loadingLabel",
|
|
4009
|
+
"description": "Accessible name announced for the loading placeholder.",
|
|
4010
|
+
"type": {
|
|
4011
|
+
"text": "string"
|
|
4012
|
+
},
|
|
4013
|
+
"default": "'Loading'",
|
|
4014
|
+
"attribute": "loading-label"
|
|
4015
|
+
},
|
|
3342
4016
|
{
|
|
3343
4017
|
"kind": "field",
|
|
3344
4018
|
"name": "size",
|
|
@@ -3808,6 +4482,15 @@
|
|
|
3808
4482
|
"default": "false",
|
|
3809
4483
|
"fieldName": "disabled"
|
|
3810
4484
|
},
|
|
4485
|
+
{
|
|
4486
|
+
"name": "remove-label",
|
|
4487
|
+
"description": "Prefix of the remove button's accessible name (\"Remove {label}\").",
|
|
4488
|
+
"type": {
|
|
4489
|
+
"text": "string"
|
|
4490
|
+
},
|
|
4491
|
+
"default": "'Remove'",
|
|
4492
|
+
"fieldName": "removeLabel"
|
|
4493
|
+
},
|
|
3811
4494
|
{
|
|
3812
4495
|
"name": "selected",
|
|
3813
4496
|
"description": "Whether the chip reads as toggled on. Mutable so clicking the body toggles directly, and\nreflected so consumers can target `bs-chip-input[selected]` via CSS.",
|
|
@@ -3844,6 +4527,16 @@
|
|
|
3844
4527
|
"attribute": "disabled",
|
|
3845
4528
|
"reflects": true
|
|
3846
4529
|
},
|
|
4530
|
+
{
|
|
4531
|
+
"kind": "field",
|
|
4532
|
+
"name": "removeLabel",
|
|
4533
|
+
"description": "Prefix of the remove button's accessible name (\"Remove {label}\").",
|
|
4534
|
+
"type": {
|
|
4535
|
+
"text": "string"
|
|
4536
|
+
},
|
|
4537
|
+
"default": "'Remove'",
|
|
4538
|
+
"attribute": "remove-label"
|
|
4539
|
+
},
|
|
3847
4540
|
{
|
|
3848
4541
|
"kind": "field",
|
|
3849
4542
|
"name": "selected",
|
|
@@ -3970,171 +4663,92 @@
|
|
|
3970
4663
|
},
|
|
3971
4664
|
{
|
|
3972
4665
|
"kind": "javascript-module",
|
|
3973
|
-
"path": "src/components/bs-
|
|
4666
|
+
"path": "src/components/bs-citation-preview/bs-citation-preview.tsx",
|
|
3974
4667
|
"declarations": [
|
|
3975
4668
|
{
|
|
3976
4669
|
"kind": "class",
|
|
3977
4670
|
"customElement": true,
|
|
3978
|
-
"tagName": "bs-
|
|
3979
|
-
"name": "
|
|
3980
|
-
"description": "
|
|
4671
|
+
"tagName": "bs-citation-preview",
|
|
4672
|
+
"name": "BsCitationPreview",
|
|
4673
|
+
"description": "Presentational card previewing a cited source: file name, originating system, page number and a\nsnippet of the cited text. It does no fetching -- the consumer supplies content through slots.\nWhen `href` is set, the header becomes a link action.\n\nComposed from: `bs-card` (the surface) and `bs-source-link` (the file name / source header and\nopen action).\n\n## When to use\n- Showing the passage a chat answer was grounded in, e.g. on citation hover/click.\n\n## When not to use\n- As a list row of sources -- use `bs-source-link` directly in `bs-chatbot-sources-drawer`.",
|
|
3981
4674
|
"attributes": [
|
|
3982
4675
|
{
|
|
3983
|
-
"name": "
|
|
3984
|
-
"description": "
|
|
4676
|
+
"name": "file-name",
|
|
4677
|
+
"description": "The cited document's file name.",
|
|
3985
4678
|
"type": {
|
|
3986
4679
|
"text": "string"
|
|
3987
4680
|
},
|
|
3988
|
-
"default": "
|
|
3989
|
-
"fieldName": "
|
|
4681
|
+
"default": "'Source'",
|
|
4682
|
+
"fieldName": "fileName"
|
|
3990
4683
|
},
|
|
3991
4684
|
{
|
|
3992
|
-
"name": "
|
|
3993
|
-
"description": "
|
|
4685
|
+
"name": "href",
|
|
4686
|
+
"description": "If set, the header becomes a link that opens this URL.",
|
|
3994
4687
|
"type": {
|
|
3995
4688
|
"text": "string"
|
|
3996
4689
|
},
|
|
3997
|
-
"fieldName": "
|
|
4690
|
+
"fieldName": "href"
|
|
3998
4691
|
},
|
|
3999
4692
|
{
|
|
4000
|
-
"name": "
|
|
4001
|
-
"description": "
|
|
4693
|
+
"name": "page",
|
|
4694
|
+
"description": "Page (or page range) of the citation, shown as \"Page N\".",
|
|
4002
4695
|
"type": {
|
|
4003
|
-
"text": "
|
|
4004
|
-
"references": [
|
|
4005
|
-
{
|
|
4006
|
-
"name": "BsComposerState"
|
|
4007
|
-
}
|
|
4008
|
-
]
|
|
4696
|
+
"text": "number | string"
|
|
4009
4697
|
},
|
|
4010
|
-
"
|
|
4011
|
-
"fieldName": "state"
|
|
4698
|
+
"fieldName": "page"
|
|
4012
4699
|
},
|
|
4013
4700
|
{
|
|
4014
|
-
"name": "
|
|
4015
|
-
"description": "
|
|
4701
|
+
"name": "source-name",
|
|
4702
|
+
"description": "The system/app the document came from.",
|
|
4016
4703
|
"type": {
|
|
4017
4704
|
"text": "string"
|
|
4018
4705
|
},
|
|
4019
|
-
"
|
|
4020
|
-
"fieldName": "value"
|
|
4021
|
-
},
|
|
4022
|
-
{
|
|
4023
|
-
"name": "variant",
|
|
4024
|
-
"description": "Which flavor of composer this is: changes the *default* placeholder text (set `placeholder`\ndirectly to override it) and, per the Figma design, renders the container border dashed\ninstead of solid for `'human'` -- a deliberate visual cue distinguishing a human-support\ncomposer from the AI one, not a layout/token difference.",
|
|
4025
|
-
"type": {
|
|
4026
|
-
"text": "\"ai\" | \"human\"",
|
|
4027
|
-
"references": [
|
|
4028
|
-
{
|
|
4029
|
-
"name": "BsComposerVariant"
|
|
4030
|
-
}
|
|
4031
|
-
]
|
|
4032
|
-
},
|
|
4033
|
-
"default": "'ai'",
|
|
4034
|
-
"fieldName": "variant"
|
|
4706
|
+
"fieldName": "sourceName"
|
|
4035
4707
|
}
|
|
4036
4708
|
],
|
|
4037
4709
|
"members": [
|
|
4038
4710
|
{
|
|
4039
4711
|
"kind": "field",
|
|
4040
|
-
"name": "
|
|
4041
|
-
"description": "
|
|
4712
|
+
"name": "fileName",
|
|
4713
|
+
"description": "The cited document's file name.",
|
|
4042
4714
|
"type": {
|
|
4043
4715
|
"text": "string"
|
|
4044
4716
|
},
|
|
4045
|
-
"default": "
|
|
4046
|
-
"attribute": "
|
|
4717
|
+
"default": "'Source'",
|
|
4718
|
+
"attribute": "file-name"
|
|
4047
4719
|
},
|
|
4048
4720
|
{
|
|
4049
4721
|
"kind": "field",
|
|
4050
|
-
"name": "
|
|
4051
|
-
"description": "
|
|
4722
|
+
"name": "href",
|
|
4723
|
+
"description": "If set, the header becomes a link that opens this URL.",
|
|
4052
4724
|
"type": {
|
|
4053
4725
|
"text": "string"
|
|
4054
4726
|
},
|
|
4055
|
-
"attribute": "
|
|
4727
|
+
"attribute": "href"
|
|
4056
4728
|
},
|
|
4057
4729
|
{
|
|
4058
4730
|
"kind": "field",
|
|
4059
|
-
"name": "
|
|
4060
|
-
"description": "
|
|
4731
|
+
"name": "page",
|
|
4732
|
+
"description": "Page (or page range) of the citation, shown as \"Page N\".",
|
|
4061
4733
|
"type": {
|
|
4062
|
-
"text": "
|
|
4063
|
-
"references": [
|
|
4064
|
-
{
|
|
4065
|
-
"name": "BsComposerState"
|
|
4066
|
-
}
|
|
4067
|
-
]
|
|
4734
|
+
"text": "number | string"
|
|
4068
4735
|
},
|
|
4069
|
-
"
|
|
4070
|
-
"attribute": "state",
|
|
4071
|
-
"reflects": true
|
|
4736
|
+
"attribute": "page"
|
|
4072
4737
|
},
|
|
4073
4738
|
{
|
|
4074
4739
|
"kind": "field",
|
|
4075
|
-
"name": "
|
|
4076
|
-
"description": "
|
|
4740
|
+
"name": "sourceName",
|
|
4741
|
+
"description": "The system/app the document came from.",
|
|
4077
4742
|
"type": {
|
|
4078
4743
|
"text": "string"
|
|
4079
4744
|
},
|
|
4080
|
-
"
|
|
4081
|
-
"attribute": "value"
|
|
4082
|
-
},
|
|
4083
|
-
{
|
|
4084
|
-
"kind": "field",
|
|
4085
|
-
"name": "variant",
|
|
4086
|
-
"description": "Which flavor of composer this is: changes the *default* placeholder text (set `placeholder`\ndirectly to override it) and, per the Figma design, renders the container border dashed\ninstead of solid for `'human'` -- a deliberate visual cue distinguishing a human-support\ncomposer from the AI one, not a layout/token difference.",
|
|
4087
|
-
"type": {
|
|
4088
|
-
"text": "\"ai\" | \"human\"",
|
|
4089
|
-
"references": [
|
|
4090
|
-
{
|
|
4091
|
-
"name": "BsComposerVariant"
|
|
4092
|
-
}
|
|
4093
|
-
]
|
|
4094
|
-
},
|
|
4095
|
-
"default": "'ai'",
|
|
4096
|
-
"attribute": "variant"
|
|
4745
|
+
"attribute": "source-name"
|
|
4097
4746
|
}
|
|
4098
4747
|
],
|
|
4099
4748
|
"events": [
|
|
4100
4749
|
{
|
|
4101
|
-
"name": "
|
|
4102
|
-
"description": "Fires when the
|
|
4103
|
-
"type": {
|
|
4104
|
-
"text": "CustomEvent<void>"
|
|
4105
|
-
}
|
|
4106
|
-
},
|
|
4107
|
-
{
|
|
4108
|
-
"name": "bsInput",
|
|
4109
|
-
"description": "Fires on every keystroke in the text field, with the current value.",
|
|
4110
|
-
"type": {
|
|
4111
|
-
"text": "CustomEvent<string>"
|
|
4112
|
-
}
|
|
4113
|
-
},
|
|
4114
|
-
{
|
|
4115
|
-
"name": "bsMicToggle",
|
|
4116
|
-
"description": "Fires when the mic/stop-recording button is clicked. The consumer decides what that means\n(e.g. start recording when idle/generating, or stop recording when `state=\"recording\"`).",
|
|
4117
|
-
"type": {
|
|
4118
|
-
"text": "CustomEvent<void>"
|
|
4119
|
-
}
|
|
4120
|
-
},
|
|
4121
|
-
{
|
|
4122
|
-
"name": "bsStop",
|
|
4123
|
-
"description": "Fires when the primary action button is clicked while `state=\"generating\"`.",
|
|
4124
|
-
"type": {
|
|
4125
|
-
"text": "CustomEvent<void>"
|
|
4126
|
-
}
|
|
4127
|
-
},
|
|
4128
|
-
{
|
|
4129
|
-
"name": "bsSubmit",
|
|
4130
|
-
"description": "Fires when the primary action button is clicked while `state=\"idle\"`.",
|
|
4131
|
-
"type": {
|
|
4132
|
-
"text": "CustomEvent<void>"
|
|
4133
|
-
}
|
|
4134
|
-
},
|
|
4135
|
-
{
|
|
4136
|
-
"name": "bsVoiceConfirm",
|
|
4137
|
-
"description": "Fires when the primary action button is clicked while `state=\"recording\"`.",
|
|
4750
|
+
"name": "bsOpen",
|
|
4751
|
+
"description": "Fires when the header action is activated (whether or not `href` is set).",
|
|
4138
4752
|
"type": {
|
|
4139
4753
|
"text": "CustomEvent<void>"
|
|
4140
4754
|
}
|
|
@@ -4142,34 +4756,30 @@
|
|
|
4142
4756
|
],
|
|
4143
4757
|
"slots": [
|
|
4144
4758
|
{
|
|
4145
|
-
"name": "
|
|
4146
|
-
"description": "
|
|
4759
|
+
"name": "",
|
|
4760
|
+
"description": "The snippet / preview content (text, highlighted excerpt, image)."
|
|
4147
4761
|
},
|
|
4148
4762
|
{
|
|
4149
|
-
"name": "
|
|
4150
|
-
"description": "
|
|
4763
|
+
"name": "footer",
|
|
4764
|
+
"description": "Overrides the default footer (page label)."
|
|
4151
4765
|
}
|
|
4152
4766
|
],
|
|
4153
4767
|
"cssParts": [
|
|
4154
4768
|
{
|
|
4155
|
-
"name": "
|
|
4156
|
-
"description": "The
|
|
4157
|
-
},
|
|
4158
|
-
{
|
|
4159
|
-
"name": "attach",
|
|
4160
|
-
"description": "The \"+\" attach button."
|
|
4769
|
+
"name": "container",
|
|
4770
|
+
"description": "The card surface (`bs-card`)."
|
|
4161
4771
|
},
|
|
4162
4772
|
{
|
|
4163
|
-
"name": "
|
|
4164
|
-
"description": "The
|
|
4773
|
+
"name": "header",
|
|
4774
|
+
"description": "The `bs-source-link` header."
|
|
4165
4775
|
},
|
|
4166
4776
|
{
|
|
4167
|
-
"name": "
|
|
4168
|
-
"description": "The
|
|
4777
|
+
"name": "page",
|
|
4778
|
+
"description": "The page label."
|
|
4169
4779
|
},
|
|
4170
4780
|
{
|
|
4171
|
-
"name": "
|
|
4172
|
-
"description": "The
|
|
4781
|
+
"name": "snippet",
|
|
4782
|
+
"description": "The snippet wrapper."
|
|
4173
4783
|
}
|
|
4174
4784
|
]
|
|
4175
4785
|
}
|
|
@@ -4177,115 +4787,564 @@
|
|
|
4177
4787
|
"exports": [
|
|
4178
4788
|
{
|
|
4179
4789
|
"kind": "js",
|
|
4180
|
-
"name": "
|
|
4790
|
+
"name": "BsCitationPreview",
|
|
4181
4791
|
"declaration": {
|
|
4182
|
-
"name": "
|
|
4792
|
+
"name": "BsCitationPreview"
|
|
4183
4793
|
}
|
|
4184
4794
|
},
|
|
4185
4795
|
{
|
|
4186
4796
|
"kind": "custom-element-definition",
|
|
4187
|
-
"name": "bs-
|
|
4797
|
+
"name": "bs-citation-preview",
|
|
4188
4798
|
"declaration": {
|
|
4189
|
-
"name": "
|
|
4799
|
+
"name": "BsCitationPreview"
|
|
4190
4800
|
}
|
|
4191
4801
|
}
|
|
4192
4802
|
]
|
|
4193
4803
|
},
|
|
4194
4804
|
{
|
|
4195
4805
|
"kind": "javascript-module",
|
|
4196
|
-
"path": "src/components/bs-composer
|
|
4806
|
+
"path": "src/components/bs-composer/bs-composer.tsx",
|
|
4197
4807
|
"declarations": [
|
|
4198
4808
|
{
|
|
4199
4809
|
"kind": "class",
|
|
4200
4810
|
"customElement": true,
|
|
4201
|
-
"tagName": "bs-composer
|
|
4202
|
-
"name": "
|
|
4203
|
-
"description": "A
|
|
4811
|
+
"tagName": "bs-composer",
|
|
4812
|
+
"name": "BsComposer",
|
|
4813
|
+
"description": "A chat composer input for Genie AI-style conversational interfaces: a text field\nplus an attach button, a mic/voice-recording toggle, and a single primary action button whose\nicon and behavior change with `state` (send, stop generating, or confirm a voice recording).\n\n## When to use\n- The message-entry bar for an AI chat/assistant or human support conversation.\n\n## When not to use\n- A general-purpose text field — use `bs-input` instead; this component's layout and states are\n purpose-built for a chat composer, not a generic form field.\n\n## Focus\nUses `shadow: { delegatesFocus: true }`, so calling `.focus()` on the `<bs-composer>` host\nelement itself (not just its internal `<input>`) moves focus into the shadow-DOM text field --\nuseful for e.g. focusing the composer after a parent view mounts, without reaching into its\nshadow root.",
|
|
4204
4814
|
"attributes": [
|
|
4205
4815
|
{
|
|
4206
|
-
"name": "
|
|
4207
|
-
"description": "
|
|
4816
|
+
"name": "aria-label",
|
|
4817
|
+
"description": "Accessible name for the text field. This component has no visible `<label>` (chat composers\ndon't show one in the design), so `ariaLabel` is the only way a consumer gives the textbox an\naccessible name -- set it in every real usage.",
|
|
4208
4818
|
"type": {
|
|
4209
4819
|
"text": "string"
|
|
4210
4820
|
},
|
|
4211
|
-
"default": "
|
|
4212
|
-
"fieldName": "
|
|
4821
|
+
"default": "null",
|
|
4822
|
+
"fieldName": "ariaLabel"
|
|
4213
4823
|
},
|
|
4214
4824
|
{
|
|
4215
|
-
"name": "
|
|
4216
|
-
"description": "
|
|
4825
|
+
"name": "attach-label",
|
|
4826
|
+
"description": "Accessible name of the attach button.",
|
|
4217
4827
|
"type": {
|
|
4218
|
-
"text": "
|
|
4828
|
+
"text": "string"
|
|
4219
4829
|
},
|
|
4220
|
-
"default": "
|
|
4221
|
-
"fieldName": "
|
|
4830
|
+
"default": "'Attach'",
|
|
4831
|
+
"fieldName": "attachLabel"
|
|
4222
4832
|
},
|
|
4223
4833
|
{
|
|
4224
|
-
"name": "
|
|
4225
|
-
"description": "
|
|
4834
|
+
"name": "confirm-label",
|
|
4835
|
+
"description": "Accessible name of the primary action button while `state=\"recording\"`.",
|
|
4226
4836
|
"type": {
|
|
4227
4837
|
"text": "string"
|
|
4228
4838
|
},
|
|
4229
|
-
"default": "'
|
|
4230
|
-
"fieldName": "
|
|
4839
|
+
"default": "'Confirm'",
|
|
4840
|
+
"fieldName": "confirmLabel"
|
|
4231
4841
|
},
|
|
4232
4842
|
{
|
|
4233
|
-
"name": "
|
|
4234
|
-
"description": "
|
|
4843
|
+
"name": "hide-attach",
|
|
4844
|
+
"description": "Removes the attach (\"+\") button from the DOM.",
|
|
4235
4845
|
"type": {
|
|
4236
4846
|
"text": "boolean"
|
|
4237
4847
|
},
|
|
4238
4848
|
"default": "false",
|
|
4239
|
-
"fieldName": "
|
|
4849
|
+
"fieldName": "hideAttach"
|
|
4240
4850
|
},
|
|
4241
4851
|
{
|
|
4242
|
-
"name": "
|
|
4243
|
-
"description": "
|
|
4852
|
+
"name": "hide-mic",
|
|
4853
|
+
"description": "Removes the mic button from the DOM.",
|
|
4244
4854
|
"type": {
|
|
4245
4855
|
"text": "boolean"
|
|
4246
4856
|
},
|
|
4247
|
-
"default": "
|
|
4248
|
-
"fieldName": "
|
|
4857
|
+
"default": "false",
|
|
4858
|
+
"fieldName": "hideMic"
|
|
4249
4859
|
},
|
|
4250
4860
|
{
|
|
4251
|
-
"name": "
|
|
4252
|
-
"description": "
|
|
4861
|
+
"name": "loading",
|
|
4862
|
+
"description": "Waiting state (e.g. the request was sent but no token has streamed in yet): replaces the send\nicon with a spinner, sets `aria-busy`, and makes the primary action inert so a second submit\ncan't fire. Only has an effect while `state=\"idle\"`; use `state=\"generating\"` once streaming\nstarts so the Stop button appears.",
|
|
4253
4863
|
"type": {
|
|
4254
|
-
"text": "
|
|
4255
|
-
"references": [
|
|
4256
|
-
{
|
|
4257
|
-
"name": "BsComposerStatusBannerType"
|
|
4258
|
-
}
|
|
4259
|
-
]
|
|
4864
|
+
"text": "boolean"
|
|
4260
4865
|
},
|
|
4261
|
-
"default": "
|
|
4262
|
-
"fieldName": "
|
|
4263
|
-
}
|
|
4264
|
-
],
|
|
4265
|
-
"members": [
|
|
4866
|
+
"default": "false",
|
|
4867
|
+
"fieldName": "loading"
|
|
4868
|
+
},
|
|
4266
4869
|
{
|
|
4267
|
-
"
|
|
4268
|
-
"
|
|
4269
|
-
"description": "Label for the action button, only rendered when `showButton` is true.",
|
|
4870
|
+
"name": "max-length",
|
|
4871
|
+
"description": "Maximum number of characters the text field accepts (native `maxlength`). Unset = unlimited.",
|
|
4270
4872
|
"type": {
|
|
4271
|
-
"text": "
|
|
4873
|
+
"text": "number"
|
|
4272
4874
|
},
|
|
4273
|
-
"
|
|
4274
|
-
"attribute": "action-label"
|
|
4875
|
+
"fieldName": "maxLength"
|
|
4275
4876
|
},
|
|
4276
4877
|
{
|
|
4277
|
-
"
|
|
4278
|
-
"
|
|
4279
|
-
"description": "Whether the close button is rendered.",
|
|
4878
|
+
"name": "mic-label",
|
|
4879
|
+
"description": "Accessible name of the mic button while not recording.",
|
|
4280
4880
|
"type": {
|
|
4281
|
-
"text": "
|
|
4881
|
+
"text": "string"
|
|
4282
4882
|
},
|
|
4283
|
-
"default": "
|
|
4284
|
-
"
|
|
4883
|
+
"default": "'Start voice input'",
|
|
4884
|
+
"fieldName": "micLabel"
|
|
4285
4885
|
},
|
|
4286
4886
|
{
|
|
4287
|
-
"
|
|
4288
|
-
"
|
|
4887
|
+
"name": "placeholder",
|
|
4888
|
+
"description": "Overrides the variant's default placeholder.",
|
|
4889
|
+
"type": {
|
|
4890
|
+
"text": "string"
|
|
4891
|
+
},
|
|
4892
|
+
"fieldName": "placeholder"
|
|
4893
|
+
},
|
|
4894
|
+
{
|
|
4895
|
+
"name": "send-label",
|
|
4896
|
+
"description": "Accessible name of the primary action button in `idle` / `disabled` state.",
|
|
4897
|
+
"type": {
|
|
4898
|
+
"text": "string"
|
|
4899
|
+
},
|
|
4900
|
+
"default": "'Send'",
|
|
4901
|
+
"fieldName": "sendLabel"
|
|
4902
|
+
},
|
|
4903
|
+
{
|
|
4904
|
+
"name": "state",
|
|
4905
|
+
"description": "Which of the four mutually-exclusive composer states to render: `idle` (send, enabled),\n`generating` (stop, while the AI is responding), `disabled` (send, but not interactive), or\n`recording` (voice input in progress -- shows a waveform and a confirm action).\n\nReflects to a `state` attribute on the host, so a consumer can target a specific state from\noutside via a CSS attribute selector (e.g. `bs-composer[state=\"recording\"]`) or by querying\nfor it in JS, the same way `bs-input`'s `open` prop reflects.",
|
|
4906
|
+
"type": {
|
|
4907
|
+
"text": "\"disabled\" | \"generating\" | \"idle\" | \"recording\"",
|
|
4908
|
+
"references": [
|
|
4909
|
+
{
|
|
4910
|
+
"name": "BsComposerState"
|
|
4911
|
+
}
|
|
4912
|
+
]
|
|
4913
|
+
},
|
|
4914
|
+
"default": "'idle'",
|
|
4915
|
+
"fieldName": "state"
|
|
4916
|
+
},
|
|
4917
|
+
{
|
|
4918
|
+
"name": "stop-label",
|
|
4919
|
+
"description": "Accessible name of the primary action button while `state=\"generating\"`.",
|
|
4920
|
+
"type": {
|
|
4921
|
+
"text": "string"
|
|
4922
|
+
},
|
|
4923
|
+
"default": "'Stop'",
|
|
4924
|
+
"fieldName": "stopLabel"
|
|
4925
|
+
},
|
|
4926
|
+
{
|
|
4927
|
+
"name": "stop-recording-label",
|
|
4928
|
+
"description": "Accessible name of the mic button while `state=\"recording\"`.",
|
|
4929
|
+
"type": {
|
|
4930
|
+
"text": "string"
|
|
4931
|
+
},
|
|
4932
|
+
"default": "'Stop recording'",
|
|
4933
|
+
"fieldName": "stopRecordingLabel"
|
|
4934
|
+
},
|
|
4935
|
+
{
|
|
4936
|
+
"name": "value",
|
|
4937
|
+
"description": "Current text value. Native `input` events don't cross the Shadow DOM boundary, so this\ncomponent re-dispatches them as a `bsInput` custom event instead.\n\nThe field is a `<textarea>` (not a single-line `<input>`) that grows with its content, up to\n`--bs-composer-input-max-lines` (10 by default) -- beyond that it scrolls internally instead\nof growing further. Setting `value` as a prop (not just typing) also re-triggers the resize,\nso e.g. programmatically clearing the field after submit correctly shrinks it back down.\n\nMutable: kept in sync with the real `<textarea>`'s content on every keystroke (see `onInput`),\nnot pushed one-way from the outside only. Without this, typing alone never updates this prop,\nso a consumer re-setting `value` to e.g. `''` after the user had typed something would be a\nno-op (same as the never-updated internal value) and silently fail to clear the field.",
|
|
4938
|
+
"type": {
|
|
4939
|
+
"text": "string"
|
|
4940
|
+
},
|
|
4941
|
+
"default": "''",
|
|
4942
|
+
"fieldName": "value"
|
|
4943
|
+
},
|
|
4944
|
+
{
|
|
4945
|
+
"name": "variant",
|
|
4946
|
+
"description": "Which flavor of composer this is: changes the *default* placeholder text (set `placeholder`\ndirectly to override it) and, per the Figma design, renders the container border dashed\ninstead of solid for `'human'` -- a deliberate visual cue distinguishing a human-support\ncomposer from the AI one, not a layout/token difference.",
|
|
4947
|
+
"type": {
|
|
4948
|
+
"text": "\"ai\" | \"human\"",
|
|
4949
|
+
"references": [
|
|
4950
|
+
{
|
|
4951
|
+
"name": "BsComposerVariant"
|
|
4952
|
+
}
|
|
4953
|
+
]
|
|
4954
|
+
},
|
|
4955
|
+
"default": "'ai'",
|
|
4956
|
+
"fieldName": "variant"
|
|
4957
|
+
}
|
|
4958
|
+
],
|
|
4959
|
+
"members": [
|
|
4960
|
+
{
|
|
4961
|
+
"kind": "field",
|
|
4962
|
+
"name": "ariaLabel",
|
|
4963
|
+
"description": "Accessible name for the text field. This component has no visible `<label>` (chat composers\ndon't show one in the design), so `ariaLabel` is the only way a consumer gives the textbox an\naccessible name -- set it in every real usage.",
|
|
4964
|
+
"type": {
|
|
4965
|
+
"text": "string"
|
|
4966
|
+
},
|
|
4967
|
+
"default": "null",
|
|
4968
|
+
"attribute": "aria-label"
|
|
4969
|
+
},
|
|
4970
|
+
{
|
|
4971
|
+
"kind": "field",
|
|
4972
|
+
"name": "attachLabel",
|
|
4973
|
+
"description": "Accessible name of the attach button.",
|
|
4974
|
+
"type": {
|
|
4975
|
+
"text": "string"
|
|
4976
|
+
},
|
|
4977
|
+
"default": "'Attach'",
|
|
4978
|
+
"attribute": "attach-label"
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"kind": "field",
|
|
4982
|
+
"name": "confirmLabel",
|
|
4983
|
+
"description": "Accessible name of the primary action button while `state=\"recording\"`.",
|
|
4984
|
+
"type": {
|
|
4985
|
+
"text": "string"
|
|
4986
|
+
},
|
|
4987
|
+
"default": "'Confirm'",
|
|
4988
|
+
"attribute": "confirm-label"
|
|
4989
|
+
},
|
|
4990
|
+
{
|
|
4991
|
+
"kind": "field",
|
|
4992
|
+
"name": "hideAttach",
|
|
4993
|
+
"description": "Removes the attach (\"+\") button from the DOM.",
|
|
4994
|
+
"type": {
|
|
4995
|
+
"text": "boolean"
|
|
4996
|
+
},
|
|
4997
|
+
"default": "false",
|
|
4998
|
+
"attribute": "hide-attach"
|
|
4999
|
+
},
|
|
5000
|
+
{
|
|
5001
|
+
"kind": "field",
|
|
5002
|
+
"name": "hideMic",
|
|
5003
|
+
"description": "Removes the mic button from the DOM.",
|
|
5004
|
+
"type": {
|
|
5005
|
+
"text": "boolean"
|
|
5006
|
+
},
|
|
5007
|
+
"default": "false",
|
|
5008
|
+
"attribute": "hide-mic"
|
|
5009
|
+
},
|
|
5010
|
+
{
|
|
5011
|
+
"kind": "field",
|
|
5012
|
+
"name": "loading",
|
|
5013
|
+
"description": "Waiting state (e.g. the request was sent but no token has streamed in yet): replaces the send\nicon with a spinner, sets `aria-busy`, and makes the primary action inert so a second submit\ncan't fire. Only has an effect while `state=\"idle\"`; use `state=\"generating\"` once streaming\nstarts so the Stop button appears.",
|
|
5014
|
+
"type": {
|
|
5015
|
+
"text": "boolean"
|
|
5016
|
+
},
|
|
5017
|
+
"default": "false",
|
|
5018
|
+
"attribute": "loading"
|
|
5019
|
+
},
|
|
5020
|
+
{
|
|
5021
|
+
"kind": "field",
|
|
5022
|
+
"name": "maxLength",
|
|
5023
|
+
"description": "Maximum number of characters the text field accepts (native `maxlength`). Unset = unlimited.",
|
|
5024
|
+
"type": {
|
|
5025
|
+
"text": "number"
|
|
5026
|
+
},
|
|
5027
|
+
"attribute": "max-length"
|
|
5028
|
+
},
|
|
5029
|
+
{
|
|
5030
|
+
"kind": "field",
|
|
5031
|
+
"name": "micLabel",
|
|
5032
|
+
"description": "Accessible name of the mic button while not recording.",
|
|
5033
|
+
"type": {
|
|
5034
|
+
"text": "string"
|
|
5035
|
+
},
|
|
5036
|
+
"default": "'Start voice input'",
|
|
5037
|
+
"attribute": "mic-label"
|
|
5038
|
+
},
|
|
5039
|
+
{
|
|
5040
|
+
"kind": "field",
|
|
5041
|
+
"name": "placeholder",
|
|
5042
|
+
"description": "Overrides the variant's default placeholder.",
|
|
5043
|
+
"type": {
|
|
5044
|
+
"text": "string"
|
|
5045
|
+
},
|
|
5046
|
+
"attribute": "placeholder"
|
|
5047
|
+
},
|
|
5048
|
+
{
|
|
5049
|
+
"kind": "field",
|
|
5050
|
+
"name": "sendLabel",
|
|
5051
|
+
"description": "Accessible name of the primary action button in `idle` / `disabled` state.",
|
|
5052
|
+
"type": {
|
|
5053
|
+
"text": "string"
|
|
5054
|
+
},
|
|
5055
|
+
"default": "'Send'",
|
|
5056
|
+
"attribute": "send-label"
|
|
5057
|
+
},
|
|
5058
|
+
{
|
|
5059
|
+
"kind": "field",
|
|
5060
|
+
"name": "state",
|
|
5061
|
+
"description": "Which of the four mutually-exclusive composer states to render: `idle` (send, enabled),\n`generating` (stop, while the AI is responding), `disabled` (send, but not interactive), or\n`recording` (voice input in progress -- shows a waveform and a confirm action).\n\nReflects to a `state` attribute on the host, so a consumer can target a specific state from\noutside via a CSS attribute selector (e.g. `bs-composer[state=\"recording\"]`) or by querying\nfor it in JS, the same way `bs-input`'s `open` prop reflects.",
|
|
5062
|
+
"type": {
|
|
5063
|
+
"text": "\"disabled\" | \"generating\" | \"idle\" | \"recording\"",
|
|
5064
|
+
"references": [
|
|
5065
|
+
{
|
|
5066
|
+
"name": "BsComposerState"
|
|
5067
|
+
}
|
|
5068
|
+
]
|
|
5069
|
+
},
|
|
5070
|
+
"default": "'idle'",
|
|
5071
|
+
"attribute": "state",
|
|
5072
|
+
"reflects": true
|
|
5073
|
+
},
|
|
5074
|
+
{
|
|
5075
|
+
"kind": "field",
|
|
5076
|
+
"name": "stopLabel",
|
|
5077
|
+
"description": "Accessible name of the primary action button while `state=\"generating\"`.",
|
|
5078
|
+
"type": {
|
|
5079
|
+
"text": "string"
|
|
5080
|
+
},
|
|
5081
|
+
"default": "'Stop'",
|
|
5082
|
+
"attribute": "stop-label"
|
|
5083
|
+
},
|
|
5084
|
+
{
|
|
5085
|
+
"kind": "field",
|
|
5086
|
+
"name": "stopRecordingLabel",
|
|
5087
|
+
"description": "Accessible name of the mic button while `state=\"recording\"`.",
|
|
5088
|
+
"type": {
|
|
5089
|
+
"text": "string"
|
|
5090
|
+
},
|
|
5091
|
+
"default": "'Stop recording'",
|
|
5092
|
+
"attribute": "stop-recording-label"
|
|
5093
|
+
},
|
|
5094
|
+
{
|
|
5095
|
+
"kind": "field",
|
|
5096
|
+
"name": "value",
|
|
5097
|
+
"description": "Current text value. Native `input` events don't cross the Shadow DOM boundary, so this\ncomponent re-dispatches them as a `bsInput` custom event instead.\n\nThe field is a `<textarea>` (not a single-line `<input>`) that grows with its content, up to\n`--bs-composer-input-max-lines` (10 by default) -- beyond that it scrolls internally instead\nof growing further. Setting `value` as a prop (not just typing) also re-triggers the resize,\nso e.g. programmatically clearing the field after submit correctly shrinks it back down.\n\nMutable: kept in sync with the real `<textarea>`'s content on every keystroke (see `onInput`),\nnot pushed one-way from the outside only. Without this, typing alone never updates this prop,\nso a consumer re-setting `value` to e.g. `''` after the user had typed something would be a\nno-op (same as the never-updated internal value) and silently fail to clear the field.",
|
|
5098
|
+
"type": {
|
|
5099
|
+
"text": "string"
|
|
5100
|
+
},
|
|
5101
|
+
"default": "''",
|
|
5102
|
+
"attribute": "value"
|
|
5103
|
+
},
|
|
5104
|
+
{
|
|
5105
|
+
"kind": "field",
|
|
5106
|
+
"name": "variant",
|
|
5107
|
+
"description": "Which flavor of composer this is: changes the *default* placeholder text (set `placeholder`\ndirectly to override it) and, per the Figma design, renders the container border dashed\ninstead of solid for `'human'` -- a deliberate visual cue distinguishing a human-support\ncomposer from the AI one, not a layout/token difference.",
|
|
5108
|
+
"type": {
|
|
5109
|
+
"text": "\"ai\" | \"human\"",
|
|
5110
|
+
"references": [
|
|
5111
|
+
{
|
|
5112
|
+
"name": "BsComposerVariant"
|
|
5113
|
+
}
|
|
5114
|
+
]
|
|
5115
|
+
},
|
|
5116
|
+
"default": "'ai'",
|
|
5117
|
+
"attribute": "variant"
|
|
5118
|
+
}
|
|
5119
|
+
],
|
|
5120
|
+
"events": [
|
|
5121
|
+
{
|
|
5122
|
+
"name": "bsAttach",
|
|
5123
|
+
"description": "Fires when the \"+\" attach button is clicked.",
|
|
5124
|
+
"type": {
|
|
5125
|
+
"text": "CustomEvent<void>"
|
|
5126
|
+
}
|
|
5127
|
+
},
|
|
5128
|
+
{
|
|
5129
|
+
"name": "bsInput",
|
|
5130
|
+
"description": "Fires on every keystroke in the text field, with the current value.",
|
|
5131
|
+
"type": {
|
|
5132
|
+
"text": "CustomEvent<string>"
|
|
5133
|
+
}
|
|
5134
|
+
},
|
|
5135
|
+
{
|
|
5136
|
+
"name": "bsMicToggle",
|
|
5137
|
+
"description": "Fires when the mic/stop-recording button is clicked. The consumer decides what that means\n(e.g. start recording when idle/generating, or stop recording when `state=\"recording\"`).",
|
|
5138
|
+
"type": {
|
|
5139
|
+
"text": "CustomEvent<void>"
|
|
5140
|
+
}
|
|
5141
|
+
},
|
|
5142
|
+
{
|
|
5143
|
+
"name": "bsStop",
|
|
5144
|
+
"description": "Fires when the primary action button is clicked while `state=\"generating\"`.",
|
|
5145
|
+
"type": {
|
|
5146
|
+
"text": "CustomEvent<void>"
|
|
5147
|
+
}
|
|
5148
|
+
},
|
|
5149
|
+
{
|
|
5150
|
+
"name": "bsSubmit",
|
|
5151
|
+
"description": "Fires when the primary action button is clicked while `state=\"idle\"` and `value` is non-empty\n(whitespace-only counts as empty).",
|
|
5152
|
+
"type": {
|
|
5153
|
+
"text": "CustomEvent<void>"
|
|
5154
|
+
}
|
|
5155
|
+
},
|
|
5156
|
+
{
|
|
5157
|
+
"name": "bsVoiceConfirm",
|
|
5158
|
+
"description": "Fires when the primary action button is clicked while `state=\"recording\"`.",
|
|
5159
|
+
"type": {
|
|
5160
|
+
"text": "CustomEvent<void>"
|
|
5161
|
+
}
|
|
5162
|
+
}
|
|
5163
|
+
],
|
|
5164
|
+
"slots": [
|
|
5165
|
+
{
|
|
5166
|
+
"name": "actions-end",
|
|
5167
|
+
"description": "Extra consumer-supplied controls appended after the primary action button\nin the controls row (e.g. a product-specific \"Tools\" button). Slotted content is placed\ninline in the same flex row as attach/mic/action, so a slotted element should size itself to\nroughly match `--bs-composer-button-size` to align visually."
|
|
5168
|
+
},
|
|
5169
|
+
{
|
|
5170
|
+
"name": "attachments",
|
|
5171
|
+
"description": "A `bs-attachment-list` (or other content) rendered inside the composer's own\nbordered container, above the text field -- only takes up space/padding when it has assigned\ncontent, so leaving it empty renders identically to not having the slot at all."
|
|
5172
|
+
}
|
|
5173
|
+
],
|
|
5174
|
+
"cssParts": [
|
|
5175
|
+
{
|
|
5176
|
+
"name": "action",
|
|
5177
|
+
"description": "The primary circular action button (send, stop, or confirm depending on `state`)."
|
|
5178
|
+
},
|
|
5179
|
+
{
|
|
5180
|
+
"name": "attach",
|
|
5181
|
+
"description": "The \"+\" attach button."
|
|
5182
|
+
},
|
|
5183
|
+
{
|
|
5184
|
+
"name": "attachments",
|
|
5185
|
+
"description": "The wrapper around the `attachments` slot."
|
|
5186
|
+
},
|
|
5187
|
+
{
|
|
5188
|
+
"name": "input",
|
|
5189
|
+
"description": "The native text `<textarea>`."
|
|
5190
|
+
},
|
|
5191
|
+
{
|
|
5192
|
+
"name": "mic",
|
|
5193
|
+
"description": "The secondary icon button (microphone, or the stop-recording square while `state=\"recording\"`)."
|
|
5194
|
+
}
|
|
5195
|
+
]
|
|
5196
|
+
}
|
|
5197
|
+
],
|
|
5198
|
+
"exports": [
|
|
5199
|
+
{
|
|
5200
|
+
"kind": "js",
|
|
5201
|
+
"name": "BsComposer",
|
|
5202
|
+
"declaration": {
|
|
5203
|
+
"name": "BsComposer"
|
|
5204
|
+
}
|
|
5205
|
+
},
|
|
5206
|
+
{
|
|
5207
|
+
"kind": "custom-element-definition",
|
|
5208
|
+
"name": "bs-composer",
|
|
5209
|
+
"declaration": {
|
|
5210
|
+
"name": "BsComposer"
|
|
5211
|
+
}
|
|
5212
|
+
}
|
|
5213
|
+
]
|
|
5214
|
+
},
|
|
5215
|
+
{
|
|
5216
|
+
"kind": "javascript-module",
|
|
5217
|
+
"path": "src/components/bs-composer-status-banner/bs-composer-status-banner.tsx",
|
|
5218
|
+
"declarations": [
|
|
5219
|
+
{
|
|
5220
|
+
"kind": "class",
|
|
5221
|
+
"customElement": true,
|
|
5222
|
+
"tagName": "bs-composer-status-banner",
|
|
5223
|
+
"name": "BsComposerStatusBanner",
|
|
5224
|
+
"description": "A full-width status banner for use directly above `bs-composer`, surfacing a message about the\ncomposer's current state (e.g. a send failure, an informational notice) with an optional\n\"Continue\"-style action button and an optional close button.\n\n## When to use\n- A message tied to the composer itself (send failed, rate-limited, draft restored, etc.) that\n needs to sit directly above it, not a general-purpose alert -- see `CONVENTIONS.md` if this\n library gains a generic banner/alert component later, and prefer that instead once it exists.\n\n## When not to use\n- A toast/snackbar notification unrelated to the composer -- this component is not\n self-dismissing and has no positioning of its own (it's a static block, not an overlay).\n\n## Accessibility\nSets `role=\"status\"` for `type=\"info\"`/`type=\"neutral\"` and `role=\"alert\"` for\n`type=\"error\"`/`type=\"warning\"` on its own root element automatically -- no opt-in prop needed.\nBoth roles carry implicit ARIA live-region semantics (`status` is polite, `alert` is assertive),\nso a screen reader announces the message as soon as this banner is inserted into the DOM,\nwithout a consumer having to remember to add `role`/`aria-live` themselves.",
|
|
5225
|
+
"attributes": [
|
|
5226
|
+
{
|
|
5227
|
+
"name": "action-label",
|
|
5228
|
+
"description": "Label for the action button, only rendered when `showButton` is true.",
|
|
5229
|
+
"type": {
|
|
5230
|
+
"text": "string"
|
|
5231
|
+
},
|
|
5232
|
+
"default": "'Continue'",
|
|
5233
|
+
"fieldName": "actionLabel"
|
|
5234
|
+
},
|
|
5235
|
+
{
|
|
5236
|
+
"name": "allow-close",
|
|
5237
|
+
"description": "Whether the close button is rendered.",
|
|
5238
|
+
"type": {
|
|
5239
|
+
"text": "boolean"
|
|
5240
|
+
},
|
|
5241
|
+
"default": "true",
|
|
5242
|
+
"fieldName": "allowClose"
|
|
5243
|
+
},
|
|
5244
|
+
{
|
|
5245
|
+
"name": "close-label",
|
|
5246
|
+
"description": "Accessible name of the close button.",
|
|
5247
|
+
"type": {
|
|
5248
|
+
"text": "string"
|
|
5249
|
+
},
|
|
5250
|
+
"default": "'Dismiss'",
|
|
5251
|
+
"fieldName": "closeLabel"
|
|
5252
|
+
},
|
|
5253
|
+
{
|
|
5254
|
+
"name": "loading",
|
|
5255
|
+
"description": "Shows a spinner in place of the default leading icon (a custom `icon` slot still wins) and\nsets `aria-busy` on the banner. Use for in-progress states such as \"Continuing...\".",
|
|
5256
|
+
"type": {
|
|
5257
|
+
"text": "boolean"
|
|
5258
|
+
},
|
|
5259
|
+
"default": "false",
|
|
5260
|
+
"fieldName": "loading"
|
|
5261
|
+
},
|
|
5262
|
+
{
|
|
5263
|
+
"name": "message",
|
|
5264
|
+
"description": "The message text.",
|
|
5265
|
+
"type": {
|
|
5266
|
+
"text": "string"
|
|
5267
|
+
},
|
|
5268
|
+
"default": "'This is a message'",
|
|
5269
|
+
"fieldName": "message"
|
|
5270
|
+
},
|
|
5271
|
+
{
|
|
5272
|
+
"name": "show-button",
|
|
5273
|
+
"description": "Whether the \"Continue\"-style action button is rendered.",
|
|
5274
|
+
"type": {
|
|
5275
|
+
"text": "boolean"
|
|
5276
|
+
},
|
|
5277
|
+
"default": "false",
|
|
5278
|
+
"fieldName": "showButton"
|
|
5279
|
+
},
|
|
5280
|
+
{
|
|
5281
|
+
"name": "show-icon",
|
|
5282
|
+
"description": "Whether the leading icon (default: clock) is rendered.",
|
|
5283
|
+
"type": {
|
|
5284
|
+
"text": "boolean"
|
|
5285
|
+
},
|
|
5286
|
+
"default": "true",
|
|
5287
|
+
"fieldName": "showIcon"
|
|
5288
|
+
},
|
|
5289
|
+
{
|
|
5290
|
+
"name": "type",
|
|
5291
|
+
"description": "Which severity/style to render. Drives background, text/icon color, and the action button's color.",
|
|
5292
|
+
"type": {
|
|
5293
|
+
"text": "\"error\" | \"info\" | \"neutral\" | \"warning\"",
|
|
5294
|
+
"references": [
|
|
5295
|
+
{
|
|
5296
|
+
"name": "BsComposerStatusBannerType"
|
|
5297
|
+
}
|
|
5298
|
+
]
|
|
5299
|
+
},
|
|
5300
|
+
"default": "'error'",
|
|
5301
|
+
"fieldName": "type"
|
|
5302
|
+
}
|
|
5303
|
+
],
|
|
5304
|
+
"members": [
|
|
5305
|
+
{
|
|
5306
|
+
"kind": "field",
|
|
5307
|
+
"name": "actionLabel",
|
|
5308
|
+
"description": "Label for the action button, only rendered when `showButton` is true.",
|
|
5309
|
+
"type": {
|
|
5310
|
+
"text": "string"
|
|
5311
|
+
},
|
|
5312
|
+
"default": "'Continue'",
|
|
5313
|
+
"attribute": "action-label"
|
|
5314
|
+
},
|
|
5315
|
+
{
|
|
5316
|
+
"kind": "field",
|
|
5317
|
+
"name": "allowClose",
|
|
5318
|
+
"description": "Whether the close button is rendered.",
|
|
5319
|
+
"type": {
|
|
5320
|
+
"text": "boolean"
|
|
5321
|
+
},
|
|
5322
|
+
"default": "true",
|
|
5323
|
+
"attribute": "allow-close"
|
|
5324
|
+
},
|
|
5325
|
+
{
|
|
5326
|
+
"kind": "field",
|
|
5327
|
+
"name": "closeLabel",
|
|
5328
|
+
"description": "Accessible name of the close button.",
|
|
5329
|
+
"type": {
|
|
5330
|
+
"text": "string"
|
|
5331
|
+
},
|
|
5332
|
+
"default": "'Dismiss'",
|
|
5333
|
+
"attribute": "close-label"
|
|
5334
|
+
},
|
|
5335
|
+
{
|
|
5336
|
+
"kind": "field",
|
|
5337
|
+
"name": "loading",
|
|
5338
|
+
"description": "Shows a spinner in place of the default leading icon (a custom `icon` slot still wins) and\nsets `aria-busy` on the banner. Use for in-progress states such as \"Continuing...\".",
|
|
5339
|
+
"type": {
|
|
5340
|
+
"text": "boolean"
|
|
5341
|
+
},
|
|
5342
|
+
"default": "false",
|
|
5343
|
+
"attribute": "loading"
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
"kind": "field",
|
|
5347
|
+
"name": "message",
|
|
4289
5348
|
"description": "The message text.",
|
|
4290
5349
|
"type": {
|
|
4291
5350
|
"text": "string"
|
|
@@ -4889,6 +5948,15 @@
|
|
|
4889
5948
|
"name": "BsDataTable",
|
|
4890
5949
|
"description": "A sortable, optionally row-selectable table for tabular data.\n\n`columns`, `rows`, and `cellRenderer` are JS-property-only — HTML attributes can only carry\nstrings, so arrays/objects/functions must be set via `element.rows = [...]` etc., not as\nattributes. See CONVENTIONS.md.\n\n## When to use\n- Comparing structured records across the same set of fields (a list of people, bookings, etc.).\n\n## When not to use\n- A handful of unrelated key/value pairs — a simple list or card is lighter-weight.\n- Deeply nested/hierarchical data — this component renders one flat row per record.",
|
|
4891
5950
|
"attributes": [
|
|
5951
|
+
{
|
|
5952
|
+
"name": "select-all-label",
|
|
5953
|
+
"description": "Accessible name of the select-all checkbox in the header (when `selectable`).",
|
|
5954
|
+
"type": {
|
|
5955
|
+
"text": "string"
|
|
5956
|
+
},
|
|
5957
|
+
"default": "'Select all rows'",
|
|
5958
|
+
"fieldName": "selectAllLabel"
|
|
5959
|
+
},
|
|
4892
5960
|
{
|
|
4893
5961
|
"name": "selectable",
|
|
4894
5962
|
"type": {
|
|
@@ -4958,6 +6026,16 @@
|
|
|
4958
6026
|
},
|
|
4959
6027
|
"default": "[]"
|
|
4960
6028
|
},
|
|
6029
|
+
{
|
|
6030
|
+
"kind": "field",
|
|
6031
|
+
"name": "selectAllLabel",
|
|
6032
|
+
"description": "Accessible name of the select-all checkbox in the header (when `selectable`).",
|
|
6033
|
+
"type": {
|
|
6034
|
+
"text": "string"
|
|
6035
|
+
},
|
|
6036
|
+
"default": "'Select all rows'",
|
|
6037
|
+
"attribute": "select-all-label"
|
|
6038
|
+
},
|
|
4961
6039
|
{
|
|
4962
6040
|
"kind": "field",
|
|
4963
6041
|
"name": "selectable",
|
|
@@ -5595,6 +6673,15 @@
|
|
|
5595
6673
|
"default": "false",
|
|
5596
6674
|
"fieldName": "centered"
|
|
5597
6675
|
},
|
|
6676
|
+
{
|
|
6677
|
+
"name": "close-label",
|
|
6678
|
+
"description": "Accessible name of the close button.",
|
|
6679
|
+
"type": {
|
|
6680
|
+
"text": "string"
|
|
6681
|
+
},
|
|
6682
|
+
"default": "'Close'",
|
|
6683
|
+
"fieldName": "closeLabel"
|
|
6684
|
+
},
|
|
5598
6685
|
{
|
|
5599
6686
|
"name": "heading",
|
|
5600
6687
|
"type": {
|
|
@@ -5637,6 +6724,16 @@
|
|
|
5637
6724
|
"attribute": "centered",
|
|
5638
6725
|
"reflects": true
|
|
5639
6726
|
},
|
|
6727
|
+
{
|
|
6728
|
+
"kind": "field",
|
|
6729
|
+
"name": "closeLabel",
|
|
6730
|
+
"description": "Accessible name of the close button.",
|
|
6731
|
+
"type": {
|
|
6732
|
+
"text": "string"
|
|
6733
|
+
},
|
|
6734
|
+
"default": "'Close'",
|
|
6735
|
+
"attribute": "close-label"
|
|
6736
|
+
},
|
|
5640
6737
|
{
|
|
5641
6738
|
"kind": "field",
|
|
5642
6739
|
"name": "heading",
|
|
@@ -7492,6 +8589,15 @@
|
|
|
7492
8589
|
"default": "''",
|
|
7493
8590
|
"fieldName": "country"
|
|
7494
8591
|
},
|
|
8592
|
+
{
|
|
8593
|
+
"name": "decrement-label",
|
|
8594
|
+
"description": "Accessible name of the number stepper's decrement button.",
|
|
8595
|
+
"type": {
|
|
8596
|
+
"text": "string"
|
|
8597
|
+
},
|
|
8598
|
+
"default": "'Decrement'",
|
|
8599
|
+
"fieldName": "decrementLabel"
|
|
8600
|
+
},
|
|
7495
8601
|
{
|
|
7496
8602
|
"name": "description",
|
|
7497
8603
|
"type": {
|
|
@@ -7514,6 +8620,24 @@
|
|
|
7514
8620
|
},
|
|
7515
8621
|
"fieldName": "error"
|
|
7516
8622
|
},
|
|
8623
|
+
{
|
|
8624
|
+
"name": "hide-password-label",
|
|
8625
|
+
"description": "Accessible name of the password toggle while the password is visible.",
|
|
8626
|
+
"type": {
|
|
8627
|
+
"text": "string"
|
|
8628
|
+
},
|
|
8629
|
+
"default": "'Hide password'",
|
|
8630
|
+
"fieldName": "hidePasswordLabel"
|
|
8631
|
+
},
|
|
8632
|
+
{
|
|
8633
|
+
"name": "increment-label",
|
|
8634
|
+
"description": "Accessible name of the number stepper's increment button.",
|
|
8635
|
+
"type": {
|
|
8636
|
+
"text": "string"
|
|
8637
|
+
},
|
|
8638
|
+
"default": "'Increment'",
|
|
8639
|
+
"fieldName": "incrementLabel"
|
|
8640
|
+
},
|
|
7517
8641
|
{
|
|
7518
8642
|
"name": "initials-title",
|
|
7519
8643
|
"description": "Current selected title for `type=\"initials\"`. Named `initialsTitle` rather than `title` --\n`title` is a reserved standard HTML attribute (tooltip text) inherited by every element, and\nStencil warns against shadowing it with a component `@Prop`.",
|
|
@@ -7597,6 +8721,15 @@
|
|
|
7597
8721
|
"default": "3",
|
|
7598
8722
|
"fieldName": "rows"
|
|
7599
8723
|
},
|
|
8724
|
+
{
|
|
8725
|
+
"name": "show-password-label",
|
|
8726
|
+
"description": "Accessible name of the password toggle while the password is hidden.",
|
|
8727
|
+
"type": {
|
|
8728
|
+
"text": "string"
|
|
8729
|
+
},
|
|
8730
|
+
"default": "'Show password'",
|
|
8731
|
+
"fieldName": "showPasswordLabel"
|
|
8732
|
+
},
|
|
7600
8733
|
{
|
|
7601
8734
|
"name": "step",
|
|
7602
8735
|
"description": "Step size for `type=\"number\"`'s increment/decrement stepper buttons.",
|
|
@@ -7653,6 +8786,16 @@
|
|
|
7653
8786
|
},
|
|
7654
8787
|
"default": "[]"
|
|
7655
8788
|
},
|
|
8789
|
+
{
|
|
8790
|
+
"kind": "field",
|
|
8791
|
+
"name": "decrementLabel",
|
|
8792
|
+
"description": "Accessible name of the number stepper's decrement button.",
|
|
8793
|
+
"type": {
|
|
8794
|
+
"text": "string"
|
|
8795
|
+
},
|
|
8796
|
+
"default": "'Decrement'",
|
|
8797
|
+
"attribute": "decrement-label"
|
|
8798
|
+
},
|
|
7656
8799
|
{
|
|
7657
8800
|
"kind": "field",
|
|
7658
8801
|
"name": "description",
|
|
@@ -7663,21 +8806,41 @@
|
|
|
7663
8806
|
},
|
|
7664
8807
|
{
|
|
7665
8808
|
"kind": "field",
|
|
7666
|
-
"name": "disabled",
|
|
8809
|
+
"name": "disabled",
|
|
8810
|
+
"type": {
|
|
8811
|
+
"text": "boolean"
|
|
8812
|
+
},
|
|
8813
|
+
"default": "false",
|
|
8814
|
+
"attribute": "disabled",
|
|
8815
|
+
"reflects": true
|
|
8816
|
+
},
|
|
8817
|
+
{
|
|
8818
|
+
"kind": "field",
|
|
8819
|
+
"name": "error",
|
|
8820
|
+
"type": {
|
|
8821
|
+
"text": "string"
|
|
8822
|
+
},
|
|
8823
|
+
"attribute": "error"
|
|
8824
|
+
},
|
|
8825
|
+
{
|
|
8826
|
+
"kind": "field",
|
|
8827
|
+
"name": "hidePasswordLabel",
|
|
8828
|
+
"description": "Accessible name of the password toggle while the password is visible.",
|
|
7667
8829
|
"type": {
|
|
7668
|
-
"text": "
|
|
8830
|
+
"text": "string"
|
|
7669
8831
|
},
|
|
7670
|
-
"default": "
|
|
7671
|
-
"attribute": "
|
|
7672
|
-
"reflects": true
|
|
8832
|
+
"default": "'Hide password'",
|
|
8833
|
+
"attribute": "hide-password-label"
|
|
7673
8834
|
},
|
|
7674
8835
|
{
|
|
7675
8836
|
"kind": "field",
|
|
7676
|
-
"name": "
|
|
8837
|
+
"name": "incrementLabel",
|
|
8838
|
+
"description": "Accessible name of the number stepper's increment button.",
|
|
7677
8839
|
"type": {
|
|
7678
8840
|
"text": "string"
|
|
7679
8841
|
},
|
|
7680
|
-
"
|
|
8842
|
+
"default": "'Increment'",
|
|
8843
|
+
"attribute": "increment-label"
|
|
7681
8844
|
},
|
|
7682
8845
|
{
|
|
7683
8846
|
"kind": "field",
|
|
@@ -7783,6 +8946,16 @@
|
|
|
7783
8946
|
"default": "3",
|
|
7784
8947
|
"attribute": "rows"
|
|
7785
8948
|
},
|
|
8949
|
+
{
|
|
8950
|
+
"kind": "field",
|
|
8951
|
+
"name": "showPasswordLabel",
|
|
8952
|
+
"description": "Accessible name of the password toggle while the password is hidden.",
|
|
8953
|
+
"type": {
|
|
8954
|
+
"text": "string"
|
|
8955
|
+
},
|
|
8956
|
+
"default": "'Show password'",
|
|
8957
|
+
"attribute": "show-password-label"
|
|
8958
|
+
},
|
|
7786
8959
|
{
|
|
7787
8960
|
"kind": "field",
|
|
7788
8961
|
"name": "step",
|
|
@@ -8182,69 +9355,321 @@
|
|
|
8182
9355
|
"description": "The background=\"auto\" counterpart to --bs-logo-asset-light-display above -- see that entry."
|
|
8183
9356
|
},
|
|
8184
9357
|
{
|
|
8185
|
-
"name": "--bs-logo-asset-light-display",
|
|
8186
|
-
"description": "Only read when background=\"auto\" (the default). Defined in src/global/base.css, not here -- that's this library's own bridge from the ambient [data-theme=\"dark\"] attribute to which full-wordmark asset shows, not a per-component override point most consumers need to touch directly."
|
|
9358
|
+
"name": "--bs-logo-asset-light-display",
|
|
9359
|
+
"description": "Only read when background=\"auto\" (the default). Defined in src/global/base.css, not here -- that's this library's own bridge from the ambient [data-theme=\"dark\"] attribute to which full-wordmark asset shows, not a per-component override point most consumers need to touch directly."
|
|
9360
|
+
},
|
|
9361
|
+
{
|
|
9362
|
+
"name": "--bs-logo-height-custom",
|
|
9363
|
+
"description": "Height of the rendered image when variant=\"custom\". Width is `auto` (not a fixed custom property) so a consumer's own logo keeps its natural aspect ratio -- only the height is constrained, matching `full`/`mark`'s shared 44px height. Defaults to 44px."
|
|
9364
|
+
},
|
|
9365
|
+
{
|
|
9366
|
+
"name": "--bs-logo-height-full",
|
|
9367
|
+
"description": "Height of the rendered logo when variant=\"full\". 44px."
|
|
9368
|
+
},
|
|
9369
|
+
{
|
|
9370
|
+
"name": "--bs-logo-height-mark",
|
|
9371
|
+
"description": "Height of the rendered logo when variant=\"mark\". 44px."
|
|
9372
|
+
},
|
|
9373
|
+
{
|
|
9374
|
+
"name": "--bs-logo-width-full",
|
|
9375
|
+
"description": "Width of the rendered logo when variant=\"full\". 190.977px -- the light asset's natural width after its icon-to-wordmark gap was tightened from Figma's own exported spacing (see brandsync-logo-full-light.ts) -- a literal size, not a brandsync-tokens alias, since this is a fixed asset's natural dimensions rather than a themeable design token."
|
|
9376
|
+
},
|
|
9377
|
+
{
|
|
9378
|
+
"name": "--bs-logo-width-mark",
|
|
9379
|
+
"description": "Width of the rendered logo when variant=\"mark\". 44px."
|
|
9380
|
+
}
|
|
9381
|
+
]
|
|
9382
|
+
}
|
|
9383
|
+
],
|
|
9384
|
+
"exports": [
|
|
9385
|
+
{
|
|
9386
|
+
"kind": "js",
|
|
9387
|
+
"name": "BsLogo",
|
|
9388
|
+
"declaration": {
|
|
9389
|
+
"name": "BsLogo"
|
|
9390
|
+
}
|
|
9391
|
+
},
|
|
9392
|
+
{
|
|
9393
|
+
"kind": "custom-element-definition",
|
|
9394
|
+
"name": "bs-logo",
|
|
9395
|
+
"declaration": {
|
|
9396
|
+
"name": "BsLogo"
|
|
9397
|
+
}
|
|
9398
|
+
}
|
|
9399
|
+
]
|
|
9400
|
+
},
|
|
9401
|
+
{
|
|
9402
|
+
"kind": "javascript-module",
|
|
9403
|
+
"path": "src/components/bs-menu/bs-menu.tsx",
|
|
9404
|
+
"declarations": [
|
|
9405
|
+
{
|
|
9406
|
+
"kind": "class",
|
|
9407
|
+
"customElement": true,
|
|
9408
|
+
"tagName": "bs-menu",
|
|
9409
|
+
"name": "BsMenu",
|
|
9410
|
+
"description": "A generic dropdown/popup menu container: a rounded, elevated list of items (typically\n`bs-menu-item` elements).\n\n## When to use\n- A popup list of actions/options triggered by another control (e.g. a \"more options\" kebab\n button), such as `bs-chatbot-response-action`'s `menu` slot.\n\n## When not to use\n- A persistent, always-visible list of options -- this component is purpose-built as a popup\n surface (rounded corners, elevation shadow), not a plain list.",
|
|
9411
|
+
"slots": [
|
|
9412
|
+
{
|
|
9413
|
+
"name": "",
|
|
9414
|
+
"description": "Default slot: the menu's items (typically `bs-menu-item` elements, though anything can\nbe slotted in -- this component doesn't restrict slot content via JS)."
|
|
9415
|
+
}
|
|
9416
|
+
],
|
|
9417
|
+
"cssParts": [
|
|
9418
|
+
{
|
|
9419
|
+
"name": "list",
|
|
9420
|
+
"description": "The rounded, elevated box wrapping the slotted items."
|
|
9421
|
+
}
|
|
9422
|
+
]
|
|
9423
|
+
}
|
|
9424
|
+
],
|
|
9425
|
+
"exports": [
|
|
9426
|
+
{
|
|
9427
|
+
"kind": "js",
|
|
9428
|
+
"name": "BsMenu",
|
|
9429
|
+
"declaration": {
|
|
9430
|
+
"name": "BsMenu"
|
|
9431
|
+
}
|
|
9432
|
+
},
|
|
9433
|
+
{
|
|
9434
|
+
"kind": "custom-element-definition",
|
|
9435
|
+
"name": "bs-menu",
|
|
9436
|
+
"declaration": {
|
|
9437
|
+
"name": "BsMenu"
|
|
9438
|
+
}
|
|
9439
|
+
}
|
|
9440
|
+
]
|
|
9441
|
+
},
|
|
9442
|
+
{
|
|
9443
|
+
"kind": "javascript-module",
|
|
9444
|
+
"path": "src/components/bs-menu-item/bs-menu-item.tsx",
|
|
9445
|
+
"declarations": [
|
|
9446
|
+
{
|
|
9447
|
+
"kind": "class",
|
|
9448
|
+
"customElement": true,
|
|
9449
|
+
"tagName": "bs-menu-item",
|
|
9450
|
+
"name": "BsMenuItem",
|
|
9451
|
+
"description": "A single selectable row inside a `bs-menu`: an optional icon plus a text label, rendered as a\nreal `<button>` for correct keyboard/click semantics.\n\n## When to use\n- As a child of `bs-menu`, one per selectable action/option.\n\n## When not to use\n- Outside of `bs-menu` -- this component's sizing/hover treatment is designed to sit inside the\n menu's rounded, padded list box.",
|
|
9452
|
+
"attributes": [
|
|
9453
|
+
{
|
|
9454
|
+
"name": "disabled",
|
|
9455
|
+
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
9456
|
+
"type": {
|
|
9457
|
+
"text": "boolean"
|
|
9458
|
+
},
|
|
9459
|
+
"default": "false",
|
|
9460
|
+
"fieldName": "disabled"
|
|
9461
|
+
}
|
|
9462
|
+
],
|
|
9463
|
+
"members": [
|
|
9464
|
+
{
|
|
9465
|
+
"kind": "field",
|
|
9466
|
+
"name": "disabled",
|
|
9467
|
+
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
9468
|
+
"type": {
|
|
9469
|
+
"text": "boolean"
|
|
9470
|
+
},
|
|
9471
|
+
"default": "false",
|
|
9472
|
+
"attribute": "disabled"
|
|
9473
|
+
}
|
|
9474
|
+
],
|
|
9475
|
+
"events": [
|
|
9476
|
+
{
|
|
9477
|
+
"name": "bsSelect",
|
|
9478
|
+
"description": "Fires when the item is clicked.",
|
|
9479
|
+
"type": {
|
|
9480
|
+
"text": "CustomEvent<void>"
|
|
9481
|
+
}
|
|
9482
|
+
}
|
|
9483
|
+
],
|
|
9484
|
+
"slots": [
|
|
9485
|
+
{
|
|
9486
|
+
"name": "",
|
|
9487
|
+
"description": "Default slot: the item's text label."
|
|
9488
|
+
},
|
|
9489
|
+
{
|
|
9490
|
+
"name": "icon",
|
|
9491
|
+
"description": "Optional leading icon (24x24). When left empty, no icon space is reserved."
|
|
9492
|
+
}
|
|
9493
|
+
],
|
|
9494
|
+
"cssParts": [
|
|
9495
|
+
{
|
|
9496
|
+
"name": "icon",
|
|
9497
|
+
"description": "The icon wrapper."
|
|
9498
|
+
},
|
|
9499
|
+
{
|
|
9500
|
+
"name": "item",
|
|
9501
|
+
"description": "The button element."
|
|
9502
|
+
},
|
|
9503
|
+
{
|
|
9504
|
+
"name": "label",
|
|
9505
|
+
"description": "The label wrapper."
|
|
9506
|
+
}
|
|
9507
|
+
]
|
|
9508
|
+
}
|
|
9509
|
+
],
|
|
9510
|
+
"exports": [
|
|
9511
|
+
{
|
|
9512
|
+
"kind": "js",
|
|
9513
|
+
"name": "BsMenuItem",
|
|
9514
|
+
"declaration": {
|
|
9515
|
+
"name": "BsMenuItem"
|
|
9516
|
+
}
|
|
9517
|
+
},
|
|
9518
|
+
{
|
|
9519
|
+
"kind": "custom-element-definition",
|
|
9520
|
+
"name": "bs-menu-item",
|
|
9521
|
+
"declaration": {
|
|
9522
|
+
"name": "BsMenuItem"
|
|
9523
|
+
}
|
|
9524
|
+
}
|
|
9525
|
+
]
|
|
9526
|
+
},
|
|
9527
|
+
{
|
|
9528
|
+
"kind": "javascript-module",
|
|
9529
|
+
"path": "src/components/bs-message/bs-message.tsx",
|
|
9530
|
+
"declarations": [
|
|
9531
|
+
{
|
|
9532
|
+
"kind": "class",
|
|
9533
|
+
"customElement": true,
|
|
9534
|
+
"tagName": "bs-message",
|
|
9535
|
+
"name": "BsMessage",
|
|
9536
|
+
"description": "A single chat message bubble. User messages align to the end with a primary-tinted bubble;\nassistant messages align to the start on a neutral bubble. The consumer renders the content\n(e.g. markdown) into the default slot.\n\nComposed from: `bs-card` (the bubble surface).\n\n## When to use\n- One entry per turn in a chat transcript, usually inside `bs-message-list`.\n\n## When not to use\n- For transient notices or system banners -- use `bs-toast` / `bs-composer-status-banner`.",
|
|
9537
|
+
"attributes": [
|
|
9538
|
+
{
|
|
9539
|
+
"name": "datetime",
|
|
9540
|
+
"description": "Machine-readable value for the `<time>` element's `datetime` attribute.",
|
|
9541
|
+
"type": {
|
|
9542
|
+
"text": "string"
|
|
9543
|
+
},
|
|
9544
|
+
"fieldName": "datetime"
|
|
9545
|
+
},
|
|
9546
|
+
{
|
|
9547
|
+
"name": "role",
|
|
9548
|
+
"description": "Who sent the message. Controls alignment and colour.",
|
|
9549
|
+
"type": {
|
|
9550
|
+
"text": "\"assistant\" | \"user\"",
|
|
9551
|
+
"references": [
|
|
9552
|
+
{
|
|
9553
|
+
"name": "BsMessageRole"
|
|
9554
|
+
}
|
|
9555
|
+
]
|
|
9556
|
+
},
|
|
9557
|
+
"default": "'assistant'",
|
|
9558
|
+
"fieldName": "role"
|
|
9559
|
+
},
|
|
9560
|
+
{
|
|
9561
|
+
"name": "status",
|
|
9562
|
+
"description": "Delivery/render state. `error` uses error colours; `pending` dims the bubble and sets `aria-busy`.",
|
|
9563
|
+
"type": {
|
|
9564
|
+
"text": "\"default\" | \"error\" | \"pending\"",
|
|
9565
|
+
"references": [
|
|
9566
|
+
{
|
|
9567
|
+
"name": "BsMessageStatus"
|
|
9568
|
+
}
|
|
9569
|
+
]
|
|
9570
|
+
},
|
|
9571
|
+
"default": "'default'",
|
|
9572
|
+
"fieldName": "status"
|
|
9573
|
+
},
|
|
9574
|
+
{
|
|
9575
|
+
"name": "timestamp",
|
|
9576
|
+
"description": "Human-readable timestamp text shown inside a `<time>` element. Omit to render none.",
|
|
9577
|
+
"type": {
|
|
9578
|
+
"text": "string"
|
|
9579
|
+
},
|
|
9580
|
+
"fieldName": "timestamp"
|
|
9581
|
+
}
|
|
9582
|
+
],
|
|
9583
|
+
"members": [
|
|
9584
|
+
{
|
|
9585
|
+
"kind": "field",
|
|
9586
|
+
"name": "datetime",
|
|
9587
|
+
"description": "Machine-readable value for the `<time>` element's `datetime` attribute.",
|
|
9588
|
+
"type": {
|
|
9589
|
+
"text": "string"
|
|
9590
|
+
},
|
|
9591
|
+
"attribute": "datetime"
|
|
9592
|
+
},
|
|
9593
|
+
{
|
|
9594
|
+
"kind": "field",
|
|
9595
|
+
"name": "role",
|
|
9596
|
+
"description": "Who sent the message. Controls alignment and colour.",
|
|
9597
|
+
"type": {
|
|
9598
|
+
"text": "\"assistant\" | \"user\"",
|
|
9599
|
+
"references": [
|
|
9600
|
+
{
|
|
9601
|
+
"name": "BsMessageRole"
|
|
9602
|
+
}
|
|
9603
|
+
]
|
|
9604
|
+
},
|
|
9605
|
+
"default": "'assistant'",
|
|
9606
|
+
"attribute": "role",
|
|
9607
|
+
"reflects": true
|
|
9608
|
+
},
|
|
9609
|
+
{
|
|
9610
|
+
"kind": "field",
|
|
9611
|
+
"name": "status",
|
|
9612
|
+
"description": "Delivery/render state. `error` uses error colours; `pending` dims the bubble and sets `aria-busy`.",
|
|
9613
|
+
"type": {
|
|
9614
|
+
"text": "\"default\" | \"error\" | \"pending\"",
|
|
9615
|
+
"references": [
|
|
9616
|
+
{
|
|
9617
|
+
"name": "BsMessageStatus"
|
|
9618
|
+
}
|
|
9619
|
+
]
|
|
9620
|
+
},
|
|
9621
|
+
"default": "'default'",
|
|
9622
|
+
"attribute": "status",
|
|
9623
|
+
"reflects": true
|
|
9624
|
+
},
|
|
9625
|
+
{
|
|
9626
|
+
"kind": "field",
|
|
9627
|
+
"name": "timestamp",
|
|
9628
|
+
"description": "Human-readable timestamp text shown inside a `<time>` element. Omit to render none.",
|
|
9629
|
+
"type": {
|
|
9630
|
+
"text": "string"
|
|
9631
|
+
},
|
|
9632
|
+
"attribute": "timestamp"
|
|
9633
|
+
}
|
|
9634
|
+
],
|
|
9635
|
+
"slots": [
|
|
9636
|
+
{
|
|
9637
|
+
"name": "",
|
|
9638
|
+
"description": "The message content. The consumer renders markdown/rich content here."
|
|
8187
9639
|
},
|
|
8188
9640
|
{
|
|
8189
|
-
"name": "
|
|
8190
|
-
"description": "
|
|
9641
|
+
"name": "avatar",
|
|
9642
|
+
"description": "Optional avatar (e.g. `bs-avatar`) beside the bubble."
|
|
8191
9643
|
},
|
|
8192
9644
|
{
|
|
8193
|
-
"name": "
|
|
8194
|
-
"description": "
|
|
9645
|
+
"name": "footer",
|
|
9646
|
+
"description": "Optional content below the bubble (e.g. `bs-chatbot-response-action`)."
|
|
8195
9647
|
},
|
|
8196
9648
|
{
|
|
8197
|
-
"name": "
|
|
8198
|
-
"description": "
|
|
9649
|
+
"name": "timestamp",
|
|
9650
|
+
"description": "Overrides the default `<time>` element rendered from `timestamp`."
|
|
9651
|
+
}
|
|
9652
|
+
],
|
|
9653
|
+
"cssParts": [
|
|
9654
|
+
{
|
|
9655
|
+
"name": "avatar",
|
|
9656
|
+
"description": "The avatar wrapper."
|
|
8199
9657
|
},
|
|
8200
9658
|
{
|
|
8201
|
-
"name": "
|
|
8202
|
-
"description": "
|
|
9659
|
+
"name": "container",
|
|
9660
|
+
"description": "The bubble (`bs-card`)."
|
|
8203
9661
|
},
|
|
8204
9662
|
{
|
|
8205
|
-
"name": "
|
|
8206
|
-
"description": "
|
|
8207
|
-
}
|
|
8208
|
-
]
|
|
8209
|
-
}
|
|
8210
|
-
],
|
|
8211
|
-
"exports": [
|
|
8212
|
-
{
|
|
8213
|
-
"kind": "js",
|
|
8214
|
-
"name": "BsLogo",
|
|
8215
|
-
"declaration": {
|
|
8216
|
-
"name": "BsLogo"
|
|
8217
|
-
}
|
|
8218
|
-
},
|
|
8219
|
-
{
|
|
8220
|
-
"kind": "custom-element-definition",
|
|
8221
|
-
"name": "bs-logo",
|
|
8222
|
-
"declaration": {
|
|
8223
|
-
"name": "BsLogo"
|
|
8224
|
-
}
|
|
8225
|
-
}
|
|
8226
|
-
]
|
|
8227
|
-
},
|
|
8228
|
-
{
|
|
8229
|
-
"kind": "javascript-module",
|
|
8230
|
-
"path": "src/components/bs-menu/bs-menu.tsx",
|
|
8231
|
-
"declarations": [
|
|
8232
|
-
{
|
|
8233
|
-
"kind": "class",
|
|
8234
|
-
"customElement": true,
|
|
8235
|
-
"tagName": "bs-menu",
|
|
8236
|
-
"name": "BsMenu",
|
|
8237
|
-
"description": "A generic dropdown/popup menu container: a rounded, elevated list of items (typically\n`bs-menu-item` elements).\n\n## When to use\n- A popup list of actions/options triggered by another control (e.g. a \"more options\" kebab\n button), such as `bs-chatbot-response-action`'s `menu` slot.\n\n## When not to use\n- A persistent, always-visible list of options -- this component is purpose-built as a popup\n surface (rounded corners, elevation shadow), not a plain list.",
|
|
8238
|
-
"slots": [
|
|
9663
|
+
"name": "content",
|
|
9664
|
+
"description": "The message content wrapper."
|
|
9665
|
+
},
|
|
8239
9666
|
{
|
|
8240
|
-
"name": "",
|
|
8241
|
-
"description": "
|
|
8242
|
-
}
|
|
8243
|
-
],
|
|
8244
|
-
"cssParts": [
|
|
9667
|
+
"name": "footer",
|
|
9668
|
+
"description": "The footer wrapper."
|
|
9669
|
+
},
|
|
8245
9670
|
{
|
|
8246
|
-
"name": "
|
|
8247
|
-
"description": "The
|
|
9671
|
+
"name": "timestamp",
|
|
9672
|
+
"description": "The timestamp wrapper."
|
|
8248
9673
|
}
|
|
8249
9674
|
]
|
|
8250
9675
|
}
|
|
@@ -8252,57 +9677,73 @@
|
|
|
8252
9677
|
"exports": [
|
|
8253
9678
|
{
|
|
8254
9679
|
"kind": "js",
|
|
8255
|
-
"name": "
|
|
9680
|
+
"name": "BsMessage",
|
|
8256
9681
|
"declaration": {
|
|
8257
|
-
"name": "
|
|
9682
|
+
"name": "BsMessage"
|
|
8258
9683
|
}
|
|
8259
9684
|
},
|
|
8260
9685
|
{
|
|
8261
9686
|
"kind": "custom-element-definition",
|
|
8262
|
-
"name": "bs-
|
|
9687
|
+
"name": "bs-message",
|
|
8263
9688
|
"declaration": {
|
|
8264
|
-
"name": "
|
|
9689
|
+
"name": "BsMessage"
|
|
8265
9690
|
}
|
|
8266
9691
|
}
|
|
8267
9692
|
]
|
|
8268
9693
|
},
|
|
8269
9694
|
{
|
|
8270
9695
|
"kind": "javascript-module",
|
|
8271
|
-
"path": "src/components/bs-
|
|
9696
|
+
"path": "src/components/bs-message-list/bs-message-list.tsx",
|
|
8272
9697
|
"declarations": [
|
|
8273
9698
|
{
|
|
8274
9699
|
"kind": "class",
|
|
8275
9700
|
"customElement": true,
|
|
8276
|
-
"tagName": "bs-
|
|
8277
|
-
"name": "
|
|
8278
|
-
"description": "
|
|
9701
|
+
"tagName": "bs-message-list",
|
|
9702
|
+
"name": "BsMessageList",
|
|
9703
|
+
"description": "Scrollable chat transcript container (`role=\"log\"`, `aria-live=\"polite\"`) for `bs-message`\nchildren. It keeps itself pinned to the newest message while the user is near the bottom; when\nthe user has scrolled up and new content arrives, it shows a \"scroll to latest\" button instead\nof yanking the viewport.\n\nComposed from: `bs-icon-button` (the scroll-to-latest control).\n\n## When to use\n- Holding the messages of a chat conversation.\n\n## When not to use\n- For generic scrollable lists -- this is built around append-at-the-bottom transcripts.",
|
|
8279
9704
|
"attributes": [
|
|
8280
9705
|
{
|
|
8281
|
-
"name": "
|
|
8282
|
-
"description": "
|
|
9706
|
+
"name": "scroll-to-latest-label",
|
|
9707
|
+
"description": "Accessible name of the scroll-to-latest button.",
|
|
8283
9708
|
"type": {
|
|
8284
|
-
"text": "
|
|
9709
|
+
"text": "string"
|
|
8285
9710
|
},
|
|
8286
|
-
"default": "
|
|
8287
|
-
"fieldName": "
|
|
9711
|
+
"default": "'Scroll to latest message'",
|
|
9712
|
+
"fieldName": "scrollToLatestLabel"
|
|
8288
9713
|
}
|
|
8289
9714
|
],
|
|
8290
9715
|
"members": [
|
|
8291
9716
|
{
|
|
8292
9717
|
"kind": "field",
|
|
8293
|
-
"name": "
|
|
8294
|
-
"description": "
|
|
9718
|
+
"name": "scrollToLatestLabel",
|
|
9719
|
+
"description": "Accessible name of the scroll-to-latest button.",
|
|
8295
9720
|
"type": {
|
|
8296
|
-
"text": "
|
|
9721
|
+
"text": "string"
|
|
8297
9722
|
},
|
|
8298
|
-
"default": "
|
|
8299
|
-
"attribute": "
|
|
9723
|
+
"default": "'Scroll to latest message'",
|
|
9724
|
+
"attribute": "scroll-to-latest-label"
|
|
9725
|
+
},
|
|
9726
|
+
{
|
|
9727
|
+
"kind": "method",
|
|
9728
|
+
"name": "scrollToLatest",
|
|
9729
|
+
"description": "Scrolls to the newest message and re-enables auto-follow.",
|
|
9730
|
+
"return": {
|
|
9731
|
+
"type": {
|
|
9732
|
+
"text": "Promise<void>",
|
|
9733
|
+
"references": [
|
|
9734
|
+
{
|
|
9735
|
+
"name": "Promise",
|
|
9736
|
+
"package": "global:"
|
|
9737
|
+
}
|
|
9738
|
+
]
|
|
9739
|
+
}
|
|
9740
|
+
}
|
|
8300
9741
|
}
|
|
8301
9742
|
],
|
|
8302
9743
|
"events": [
|
|
8303
9744
|
{
|
|
8304
|
-
"name": "
|
|
8305
|
-
"description": "Fires when the
|
|
9745
|
+
"name": "bsScrollToLatest",
|
|
9746
|
+
"description": "Fires when the scroll-to-latest button is activated or `scrollToLatest()` is called.",
|
|
8306
9747
|
"type": {
|
|
8307
9748
|
"text": "CustomEvent<void>"
|
|
8308
9749
|
}
|
|
@@ -8311,25 +9752,17 @@
|
|
|
8311
9752
|
"slots": [
|
|
8312
9753
|
{
|
|
8313
9754
|
"name": "",
|
|
8314
|
-
"description": "
|
|
8315
|
-
},
|
|
8316
|
-
{
|
|
8317
|
-
"name": "icon",
|
|
8318
|
-
"description": "Optional leading icon (24x24). When left empty, no icon space is reserved."
|
|
9755
|
+
"description": "`bs-message` elements."
|
|
8319
9756
|
}
|
|
8320
9757
|
],
|
|
8321
9758
|
"cssParts": [
|
|
8322
9759
|
{
|
|
8323
|
-
"name": "
|
|
8324
|
-
"description": "The icon
|
|
8325
|
-
},
|
|
8326
|
-
{
|
|
8327
|
-
"name": "item",
|
|
8328
|
-
"description": "The button element."
|
|
9760
|
+
"name": "scroll-to-latest",
|
|
9761
|
+
"description": "The scroll-to-latest `bs-icon-button`."
|
|
8329
9762
|
},
|
|
8330
9763
|
{
|
|
8331
|
-
"name": "
|
|
8332
|
-
"description": "The
|
|
9764
|
+
"name": "viewport",
|
|
9765
|
+
"description": "The scrollable region."
|
|
8333
9766
|
}
|
|
8334
9767
|
]
|
|
8335
9768
|
}
|
|
@@ -8337,16 +9770,16 @@
|
|
|
8337
9770
|
"exports": [
|
|
8338
9771
|
{
|
|
8339
9772
|
"kind": "js",
|
|
8340
|
-
"name": "
|
|
9773
|
+
"name": "BsMessageList",
|
|
8341
9774
|
"declaration": {
|
|
8342
|
-
"name": "
|
|
9775
|
+
"name": "BsMessageList"
|
|
8343
9776
|
}
|
|
8344
9777
|
},
|
|
8345
9778
|
{
|
|
8346
9779
|
"kind": "custom-element-definition",
|
|
8347
|
-
"name": "bs-
|
|
9780
|
+
"name": "bs-message-list",
|
|
8348
9781
|
"declaration": {
|
|
8349
|
-
"name": "
|
|
9782
|
+
"name": "BsMessageList"
|
|
8350
9783
|
}
|
|
8351
9784
|
}
|
|
8352
9785
|
]
|
|
@@ -8362,6 +9795,15 @@
|
|
|
8362
9795
|
"name": "BsNavigationDrawer",
|
|
8363
9796
|
"description": "A left-side persistent navigation sidebar: the BrandSync logo, a \"Main Menu\" title with a\ncollapse toggle, a reserved slot for a search field, and a scrollable list of nav items.\n\n## When to use\n- The primary in-app navigation, shown alongside `bs-navigation-header` (typically that\n header's `with-navigation-drawer` alignment, which omits its own logo since this component\n already renders one -- or the reverse pairing, this drawer's own `showLogo={false}` alongside\n a header that keeps its logo instead, see that prop's own docs).\n\n## When not to use\n- The top navigation bar itself -- use `bs-navigation-header` instead.\n\nThis component renders a real `<nav>` landmark (no explicit `role` needed -- `<nav>` already\ncarries the implicit `navigation` role), labeled via `aria-label={heading}` so the landmark\nstill has a name even when collapsed (see below).\n\n`collapsed` narrows the drawer to a 96px icon-only rail, per Figma node 8028:135374\n(\"Type=Collapsed\"): the title text disappears, the logo swaps from the full \"EG BrandSync\"\nwordmark (`bs-logo variant=\"full\"`) to the real icon-only mark (`bs-logo variant=\"mark\"` -- a\nsecond, properly-designed asset, not a CSS crop of the full one) via CSS visibility toggling on\nboth, the same `:host([collapsed])` attribute-selector pattern already used for the\n`search`/`search-trigger` swap below, the `search` slot is replaced by a compact built-in\nsearch-trigger button (this component can't meaningfully shrink arbitrary slotted search-field\ncontent down to icon size itself, so it emits `bsSearchClick` instead -- e.g. to open a full\nsearch overlay), and every top-level\n`bs-navigation-drawer-item`'s layout switches from icon-beside-label to icon-above-caption.\nThat last part is real prop propagation, not a CSS trick: this component keeps each direct-child\nitem's own `collapsed` prop in sync with its own (see `syncItemsCollapsed` below), the same\ndirect-children-prop-sync approach `bs-tabs` already uses for coordinating `selected` across its\n`bs-tab` children. Clicking the toggle self-toggles `collapsed` (simple local UI state, not\nsomething needing cross-component coordination -- closer to `bs-switch`'s self-toggling\n`checked` than `bs-tab`'s non-self-toggling `selected`) and emits `bsCollapse` with the new\nvalue. The toggle's own caret icon does NOT rotate when collapsed -- Figma's collapsed mock\nreuses the identical left-pointing \"CaretLeft\" asset unchanged, confirmed by directly inspecting\nthat state, so this deliberately does not add the same \"flip on toggle\" idiom the drawer item's\nown disclosure chevron does (that one really is an unconfirmed addition; this one was checked).\n\n**Small screens (768px and below)** switch to an off-canvas overlay instead of a permanent rail:\nthe drawer is hidden until `open` is set, then slides in over the page with a backdrop, fully\nexpanded (labels visible, nested items reachable). Escape or a click on the backdrop closes it and\nemits `bsClose`; focus moves into it on open and back to whatever opened it on close. The\ncollapse toggle and the compact search trigger are not shown in this mode (nothing sits behind\nthem). The drawer has no trigger of its own -- put a button in your header and set `open` from it.\nOn wider screens `open` is ignored and nothing changes.",
|
|
8364
9797
|
"attributes": [
|
|
9798
|
+
{
|
|
9799
|
+
"name": "collapse-label",
|
|
9800
|
+
"description": "Accessible name of the collapse toggle while the drawer is expanded.",
|
|
9801
|
+
"type": {
|
|
9802
|
+
"text": "string"
|
|
9803
|
+
},
|
|
9804
|
+
"default": "'Collapse'",
|
|
9805
|
+
"fieldName": "collapseLabel"
|
|
9806
|
+
},
|
|
8365
9807
|
{
|
|
8366
9808
|
"name": "collapsed",
|
|
8367
9809
|
"description": "Narrows the drawer to a 96px icon-only rail (Figma node 8028:135374). Mutable and reflected\n-- clicking the collapse toggle toggles this directly (self-toggling, see the class doc above\nfor why), and this component keeps every direct-child `bs-navigation-drawer-item`'s own\n`collapsed` prop synced to match (see `syncItemsCollapsed`).",
|
|
@@ -8380,6 +9822,15 @@
|
|
|
8380
9822
|
"default": "true",
|
|
8381
9823
|
"fieldName": "collapsible"
|
|
8382
9824
|
},
|
|
9825
|
+
{
|
|
9826
|
+
"name": "expand-label",
|
|
9827
|
+
"description": "Accessible name of the collapse toggle while the drawer is collapsed.",
|
|
9828
|
+
"type": {
|
|
9829
|
+
"text": "string"
|
|
9830
|
+
},
|
|
9831
|
+
"default": "'Expand'",
|
|
9832
|
+
"fieldName": "expandLabel"
|
|
9833
|
+
},
|
|
8383
9834
|
{
|
|
8384
9835
|
"name": "heading",
|
|
8385
9836
|
"description": "Heading text shown next to the collapse toggle, and used as the `<nav>` landmark's\n`aria-label` (so the landmark keeps a name even when `collapsed` hides the visible text).",
|
|
@@ -8407,6 +9858,15 @@
|
|
|
8407
9858
|
"default": "false",
|
|
8408
9859
|
"fieldName": "open"
|
|
8409
9860
|
},
|
|
9861
|
+
{
|
|
9862
|
+
"name": "search-label",
|
|
9863
|
+
"description": "Accessible name of the search trigger.",
|
|
9864
|
+
"type": {
|
|
9865
|
+
"text": "string"
|
|
9866
|
+
},
|
|
9867
|
+
"default": "'Search'",
|
|
9868
|
+
"fieldName": "searchLabel"
|
|
9869
|
+
},
|
|
8410
9870
|
{
|
|
8411
9871
|
"name": "show-logo",
|
|
8412
9872
|
"description": "Whether to render the BrandSync logo at all. Defaults to `true`. This drawer is normally the\none that owns the logo when paired with a `bs-navigation-header` (that header's own\n`with-navigation-drawer` alignment omits its logo for exactly this reason) -- but the reverse\npairing works too: a header that keeps its own logo (`alignment=\"default\"`) paired with this\ndrawer set to `showLogo={false}`, so the brand mark only ever appears once.",
|
|
@@ -8418,6 +9878,16 @@
|
|
|
8418
9878
|
}
|
|
8419
9879
|
],
|
|
8420
9880
|
"members": [
|
|
9881
|
+
{
|
|
9882
|
+
"kind": "field",
|
|
9883
|
+
"name": "collapseLabel",
|
|
9884
|
+
"description": "Accessible name of the collapse toggle while the drawer is expanded.",
|
|
9885
|
+
"type": {
|
|
9886
|
+
"text": "string"
|
|
9887
|
+
},
|
|
9888
|
+
"default": "'Collapse'",
|
|
9889
|
+
"attribute": "collapse-label"
|
|
9890
|
+
},
|
|
8421
9891
|
{
|
|
8422
9892
|
"kind": "field",
|
|
8423
9893
|
"name": "collapsed",
|
|
@@ -8439,6 +9909,16 @@
|
|
|
8439
9909
|
"default": "true",
|
|
8440
9910
|
"attribute": "collapsible"
|
|
8441
9911
|
},
|
|
9912
|
+
{
|
|
9913
|
+
"kind": "field",
|
|
9914
|
+
"name": "expandLabel",
|
|
9915
|
+
"description": "Accessible name of the collapse toggle while the drawer is collapsed.",
|
|
9916
|
+
"type": {
|
|
9917
|
+
"text": "string"
|
|
9918
|
+
},
|
|
9919
|
+
"default": "'Expand'",
|
|
9920
|
+
"attribute": "expand-label"
|
|
9921
|
+
},
|
|
8442
9922
|
{
|
|
8443
9923
|
"kind": "field",
|
|
8444
9924
|
"name": "heading",
|
|
@@ -8470,6 +9950,16 @@
|
|
|
8470
9950
|
"attribute": "open",
|
|
8471
9951
|
"reflects": true
|
|
8472
9952
|
},
|
|
9953
|
+
{
|
|
9954
|
+
"kind": "field",
|
|
9955
|
+
"name": "searchLabel",
|
|
9956
|
+
"description": "Accessible name of the search trigger.",
|
|
9957
|
+
"type": {
|
|
9958
|
+
"text": "string"
|
|
9959
|
+
},
|
|
9960
|
+
"default": "'Search'",
|
|
9961
|
+
"attribute": "search-label"
|
|
9962
|
+
},
|
|
8473
9963
|
{
|
|
8474
9964
|
"kind": "field",
|
|
8475
9965
|
"name": "showLogo",
|
|
@@ -9768,6 +11258,15 @@
|
|
|
9768
11258
|
"default": "1",
|
|
9769
11259
|
"fieldName": "currentPage"
|
|
9770
11260
|
},
|
|
11261
|
+
{
|
|
11262
|
+
"name": "nav-label",
|
|
11263
|
+
"description": "Accessible name of the pagination landmark.",
|
|
11264
|
+
"type": {
|
|
11265
|
+
"text": "string"
|
|
11266
|
+
},
|
|
11267
|
+
"default": "'Pagination'",
|
|
11268
|
+
"fieldName": "navLabel"
|
|
11269
|
+
},
|
|
9771
11270
|
{
|
|
9772
11271
|
"name": "next-label",
|
|
9773
11272
|
"description": "Accessible name for the next-page button.",
|
|
@@ -9777,6 +11276,15 @@
|
|
|
9777
11276
|
"default": "'Next page'",
|
|
9778
11277
|
"fieldName": "nextLabel"
|
|
9779
11278
|
},
|
|
11279
|
+
{
|
|
11280
|
+
"name": "page-label",
|
|
11281
|
+
"description": "Prefix of each page button's accessible name (\"Go to page 3\").",
|
|
11282
|
+
"type": {
|
|
11283
|
+
"text": "string"
|
|
11284
|
+
},
|
|
11285
|
+
"default": "'Go to page'",
|
|
11286
|
+
"fieldName": "pageLabel"
|
|
11287
|
+
},
|
|
9780
11288
|
{
|
|
9781
11289
|
"name": "previous-label",
|
|
9782
11290
|
"description": "Accessible name for the previous-page button.",
|
|
@@ -9817,6 +11325,16 @@
|
|
|
9817
11325
|
"attribute": "current-page",
|
|
9818
11326
|
"reflects": true
|
|
9819
11327
|
},
|
|
11328
|
+
{
|
|
11329
|
+
"kind": "field",
|
|
11330
|
+
"name": "navLabel",
|
|
11331
|
+
"description": "Accessible name of the pagination landmark.",
|
|
11332
|
+
"type": {
|
|
11333
|
+
"text": "string"
|
|
11334
|
+
},
|
|
11335
|
+
"default": "'Pagination'",
|
|
11336
|
+
"attribute": "nav-label"
|
|
11337
|
+
},
|
|
9820
11338
|
{
|
|
9821
11339
|
"kind": "field",
|
|
9822
11340
|
"name": "nextLabel",
|
|
@@ -9827,6 +11345,16 @@
|
|
|
9827
11345
|
"default": "'Next page'",
|
|
9828
11346
|
"attribute": "next-label"
|
|
9829
11347
|
},
|
|
11348
|
+
{
|
|
11349
|
+
"kind": "field",
|
|
11350
|
+
"name": "pageLabel",
|
|
11351
|
+
"description": "Prefix of each page button's accessible name (\"Go to page 3\").",
|
|
11352
|
+
"type": {
|
|
11353
|
+
"text": "string"
|
|
11354
|
+
},
|
|
11355
|
+
"default": "'Go to page'",
|
|
11356
|
+
"attribute": "page-label"
|
|
11357
|
+
},
|
|
9830
11358
|
{
|
|
9831
11359
|
"kind": "field",
|
|
9832
11360
|
"name": "previousLabel",
|
|
@@ -9974,6 +11502,118 @@
|
|
|
9974
11502
|
}
|
|
9975
11503
|
]
|
|
9976
11504
|
},
|
|
11505
|
+
{
|
|
11506
|
+
"kind": "javascript-module",
|
|
11507
|
+
"path": "src/components/bs-popover/bs-popover.tsx",
|
|
11508
|
+
"declarations": [
|
|
11509
|
+
{
|
|
11510
|
+
"kind": "class",
|
|
11511
|
+
"customElement": true,
|
|
11512
|
+
"tagName": "bs-popover",
|
|
11513
|
+
"name": "BsPopover",
|
|
11514
|
+
"description": "A trigger plus a popup panel that opens on trigger click and closes on outside click or Escape.\n\nThe popup is positioned with CSS (absolute, relative to the host) and flips to the opposite side\nwhen it would overflow the viewport; the effective placement is mirrored on the host as\n`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.\n\n## When to use\n- A menu, language list or small set of options revealed from a button.\n\n## When not to use\n- A blocking decision (use `bs-dialog`) or a hover-only hint (use `bs-tooltip-trigger`).",
|
|
11515
|
+
"attributes": [
|
|
11516
|
+
{
|
|
11517
|
+
"name": "open",
|
|
11518
|
+
"description": "Whether the popup is shown.",
|
|
11519
|
+
"type": {
|
|
11520
|
+
"text": "boolean"
|
|
11521
|
+
},
|
|
11522
|
+
"default": "false",
|
|
11523
|
+
"fieldName": "open"
|
|
11524
|
+
},
|
|
11525
|
+
{
|
|
11526
|
+
"name": "placement",
|
|
11527
|
+
"description": "Where the popup sits relative to the trigger.",
|
|
11528
|
+
"type": {
|
|
11529
|
+
"text": "\"bottom-end\" | \"bottom-start\" | \"top-end\" | \"top-start\"",
|
|
11530
|
+
"references": [
|
|
11531
|
+
{
|
|
11532
|
+
"name": "BsPopoverPlacement"
|
|
11533
|
+
}
|
|
11534
|
+
]
|
|
11535
|
+
},
|
|
11536
|
+
"default": "'bottom-start'",
|
|
11537
|
+
"fieldName": "placement"
|
|
11538
|
+
}
|
|
11539
|
+
],
|
|
11540
|
+
"members": [
|
|
11541
|
+
{
|
|
11542
|
+
"kind": "field",
|
|
11543
|
+
"name": "open",
|
|
11544
|
+
"description": "Whether the popup is shown.",
|
|
11545
|
+
"type": {
|
|
11546
|
+
"text": "boolean"
|
|
11547
|
+
},
|
|
11548
|
+
"default": "false",
|
|
11549
|
+
"attribute": "open",
|
|
11550
|
+
"reflects": true
|
|
11551
|
+
},
|
|
11552
|
+
{
|
|
11553
|
+
"kind": "field",
|
|
11554
|
+
"name": "placement",
|
|
11555
|
+
"description": "Where the popup sits relative to the trigger.",
|
|
11556
|
+
"type": {
|
|
11557
|
+
"text": "\"bottom-end\" | \"bottom-start\" | \"top-end\" | \"top-start\"",
|
|
11558
|
+
"references": [
|
|
11559
|
+
{
|
|
11560
|
+
"name": "BsPopoverPlacement"
|
|
11561
|
+
}
|
|
11562
|
+
]
|
|
11563
|
+
},
|
|
11564
|
+
"default": "'bottom-start'",
|
|
11565
|
+
"attribute": "placement",
|
|
11566
|
+
"reflects": true
|
|
11567
|
+
}
|
|
11568
|
+
],
|
|
11569
|
+
"events": [
|
|
11570
|
+
{
|
|
11571
|
+
"name": "bsOpenChange",
|
|
11572
|
+
"description": "Emitted when the open state changes through user interaction, with the new value.",
|
|
11573
|
+
"type": {
|
|
11574
|
+
"text": "CustomEvent<boolean>"
|
|
11575
|
+
}
|
|
11576
|
+
}
|
|
11577
|
+
],
|
|
11578
|
+
"slots": [
|
|
11579
|
+
{
|
|
11580
|
+
"name": "",
|
|
11581
|
+
"description": "Default slot: the popup content."
|
|
11582
|
+
},
|
|
11583
|
+
{
|
|
11584
|
+
"name": "trigger",
|
|
11585
|
+
"description": "The element that toggles the popup (e.g. a `bs-button`)."
|
|
11586
|
+
}
|
|
11587
|
+
],
|
|
11588
|
+
"cssParts": [
|
|
11589
|
+
{
|
|
11590
|
+
"name": "popup",
|
|
11591
|
+
"description": "The popup surface."
|
|
11592
|
+
},
|
|
11593
|
+
{
|
|
11594
|
+
"name": "trigger",
|
|
11595
|
+
"description": "The wrapper around the trigger; carries aria-expanded/aria-haspopup/aria-controls."
|
|
11596
|
+
}
|
|
11597
|
+
]
|
|
11598
|
+
}
|
|
11599
|
+
],
|
|
11600
|
+
"exports": [
|
|
11601
|
+
{
|
|
11602
|
+
"kind": "js",
|
|
11603
|
+
"name": "BsPopover",
|
|
11604
|
+
"declaration": {
|
|
11605
|
+
"name": "BsPopover"
|
|
11606
|
+
}
|
|
11607
|
+
},
|
|
11608
|
+
{
|
|
11609
|
+
"kind": "custom-element-definition",
|
|
11610
|
+
"name": "bs-popover",
|
|
11611
|
+
"declaration": {
|
|
11612
|
+
"name": "BsPopover"
|
|
11613
|
+
}
|
|
11614
|
+
}
|
|
11615
|
+
]
|
|
11616
|
+
},
|
|
9977
11617
|
{
|
|
9978
11618
|
"kind": "javascript-module",
|
|
9979
11619
|
"path": "src/components/bs-product-tour/bs-product-tour.tsx",
|
|
@@ -12197,28 +13837,379 @@
|
|
|
12197
13837
|
"description": "Maximum card width. 560px (Figma)."
|
|
12198
13838
|
},
|
|
12199
13839
|
{
|
|
12200
|
-
"name": "--bs-session-timeout-min-width",
|
|
12201
|
-
"description": "Minimum card width. 380px (Figma)."
|
|
13840
|
+
"name": "--bs-session-timeout-min-width",
|
|
13841
|
+
"description": "Minimum card width. 380px (Figma)."
|
|
13842
|
+
},
|
|
13843
|
+
{
|
|
13844
|
+
"name": "--bs-session-timeout-padding",
|
|
13845
|
+
"description": "Card padding. Aliased to --bs-spacing-200 (16px)."
|
|
13846
|
+
},
|
|
13847
|
+
{
|
|
13848
|
+
"name": "--bs-session-timeout-radius",
|
|
13849
|
+
"description": "Card corner radius. Aliased to --bs-border-radius-150 (12px)."
|
|
13850
|
+
},
|
|
13851
|
+
{
|
|
13852
|
+
"name": "--bs-session-timeout-rule",
|
|
13853
|
+
"description": "Colour of the divider lines and the account box border. Aliased to --bs-border-default."
|
|
13854
|
+
},
|
|
13855
|
+
{
|
|
13856
|
+
"name": "--bs-session-timeout-shadow",
|
|
13857
|
+
"description": "Card shadow. 0 8px 8px --bs-elevation-higher (Figma)."
|
|
13858
|
+
},
|
|
13859
|
+
{
|
|
13860
|
+
"name": "--bs-session-timeout-width",
|
|
13861
|
+
"description": "Card width. 440px (Figma); never narrower than the min or wider than the max below."
|
|
13862
|
+
}
|
|
13863
|
+
]
|
|
13864
|
+
}
|
|
13865
|
+
],
|
|
13866
|
+
"exports": [
|
|
13867
|
+
{
|
|
13868
|
+
"kind": "js",
|
|
13869
|
+
"name": "BsSessionTimeout",
|
|
13870
|
+
"declaration": {
|
|
13871
|
+
"name": "BsSessionTimeout"
|
|
13872
|
+
}
|
|
13873
|
+
},
|
|
13874
|
+
{
|
|
13875
|
+
"kind": "custom-element-definition",
|
|
13876
|
+
"name": "bs-session-timeout",
|
|
13877
|
+
"declaration": {
|
|
13878
|
+
"name": "BsSessionTimeout"
|
|
13879
|
+
}
|
|
13880
|
+
}
|
|
13881
|
+
]
|
|
13882
|
+
},
|
|
13883
|
+
{
|
|
13884
|
+
"kind": "javascript-module",
|
|
13885
|
+
"path": "src/components/bs-side-panel/bs-side-panel.tsx",
|
|
13886
|
+
"declarations": [
|
|
13887
|
+
{
|
|
13888
|
+
"kind": "class",
|
|
13889
|
+
"customElement": true,
|
|
13890
|
+
"tagName": "bs-side-panel",
|
|
13891
|
+
"name": "BsSidePanel",
|
|
13892
|
+
"description": "A generic slide-in panel (drawer) anchored to the start or end edge, for history, filters, FAQ\nand similar secondary content. Closes via its close button or Escape and emits `bsClose`.\n\nComposed from `bs-icon-button` (close button).\n\nWhile open, Tab/Shift+Tab are trapped in the panel; with `overlay`, the rest of the page is made `inert`.\n\n## When to use\n- Secondary content that sits beside the page without leaving it.\n\n## When not to use\n- A blocking confirmation (use `bs-dialog`).",
|
|
13893
|
+
"attributes": [
|
|
13894
|
+
{
|
|
13895
|
+
"name": "close-label",
|
|
13896
|
+
"description": "Accessible label of the close button.",
|
|
13897
|
+
"type": {
|
|
13898
|
+
"text": "string"
|
|
13899
|
+
},
|
|
13900
|
+
"default": "'Close'",
|
|
13901
|
+
"fieldName": "closeLabel"
|
|
13902
|
+
},
|
|
13903
|
+
{
|
|
13904
|
+
"name": "heading",
|
|
13905
|
+
"description": "Panel title; also its accessible name.",
|
|
13906
|
+
"type": {
|
|
13907
|
+
"text": "string"
|
|
13908
|
+
},
|
|
13909
|
+
"default": "''",
|
|
13910
|
+
"fieldName": "heading"
|
|
13911
|
+
},
|
|
13912
|
+
{
|
|
13913
|
+
"name": "open",
|
|
13914
|
+
"description": "Whether the panel is visible.",
|
|
13915
|
+
"type": {
|
|
13916
|
+
"text": "boolean"
|
|
13917
|
+
},
|
|
13918
|
+
"default": "false",
|
|
13919
|
+
"fieldName": "open"
|
|
13920
|
+
},
|
|
13921
|
+
{
|
|
13922
|
+
"name": "overlay",
|
|
13923
|
+
"description": "Shows a backdrop behind the panel; clicking it closes the panel.",
|
|
13924
|
+
"type": {
|
|
13925
|
+
"text": "boolean"
|
|
13926
|
+
},
|
|
13927
|
+
"default": "false",
|
|
13928
|
+
"fieldName": "overlay"
|
|
13929
|
+
},
|
|
13930
|
+
{
|
|
13931
|
+
"name": "side",
|
|
13932
|
+
"description": "Edge the panel is anchored to.",
|
|
13933
|
+
"type": {
|
|
13934
|
+
"text": "\"end\" | \"start\"",
|
|
13935
|
+
"references": [
|
|
13936
|
+
{
|
|
13937
|
+
"name": "BsSidePanelSide"
|
|
13938
|
+
}
|
|
13939
|
+
]
|
|
13940
|
+
},
|
|
13941
|
+
"default": "'end'",
|
|
13942
|
+
"fieldName": "side"
|
|
13943
|
+
}
|
|
13944
|
+
],
|
|
13945
|
+
"members": [
|
|
13946
|
+
{
|
|
13947
|
+
"kind": "field",
|
|
13948
|
+
"name": "closeLabel",
|
|
13949
|
+
"description": "Accessible label of the close button.",
|
|
13950
|
+
"type": {
|
|
13951
|
+
"text": "string"
|
|
13952
|
+
},
|
|
13953
|
+
"default": "'Close'",
|
|
13954
|
+
"attribute": "close-label"
|
|
13955
|
+
},
|
|
13956
|
+
{
|
|
13957
|
+
"kind": "field",
|
|
13958
|
+
"name": "heading",
|
|
13959
|
+
"description": "Panel title; also its accessible name.",
|
|
13960
|
+
"type": {
|
|
13961
|
+
"text": "string"
|
|
13962
|
+
},
|
|
13963
|
+
"default": "''",
|
|
13964
|
+
"attribute": "heading"
|
|
13965
|
+
},
|
|
13966
|
+
{
|
|
13967
|
+
"kind": "field",
|
|
13968
|
+
"name": "open",
|
|
13969
|
+
"description": "Whether the panel is visible.",
|
|
13970
|
+
"type": {
|
|
13971
|
+
"text": "boolean"
|
|
13972
|
+
},
|
|
13973
|
+
"default": "false",
|
|
13974
|
+
"attribute": "open",
|
|
13975
|
+
"reflects": true
|
|
13976
|
+
},
|
|
13977
|
+
{
|
|
13978
|
+
"kind": "field",
|
|
13979
|
+
"name": "overlay",
|
|
13980
|
+
"description": "Shows a backdrop behind the panel; clicking it closes the panel.",
|
|
13981
|
+
"type": {
|
|
13982
|
+
"text": "boolean"
|
|
13983
|
+
},
|
|
13984
|
+
"default": "false",
|
|
13985
|
+
"attribute": "overlay",
|
|
13986
|
+
"reflects": true
|
|
13987
|
+
},
|
|
13988
|
+
{
|
|
13989
|
+
"kind": "field",
|
|
13990
|
+
"name": "side",
|
|
13991
|
+
"description": "Edge the panel is anchored to.",
|
|
13992
|
+
"type": {
|
|
13993
|
+
"text": "\"end\" | \"start\"",
|
|
13994
|
+
"references": [
|
|
13995
|
+
{
|
|
13996
|
+
"name": "BsSidePanelSide"
|
|
13997
|
+
}
|
|
13998
|
+
]
|
|
13999
|
+
},
|
|
14000
|
+
"default": "'end'",
|
|
14001
|
+
"attribute": "side",
|
|
14002
|
+
"reflects": true
|
|
14003
|
+
}
|
|
14004
|
+
],
|
|
14005
|
+
"events": [
|
|
14006
|
+
{
|
|
14007
|
+
"name": "bsClose",
|
|
14008
|
+
"description": "Emitted when the panel requests to close (close button, Escape, overlay click).",
|
|
14009
|
+
"type": {
|
|
14010
|
+
"text": "CustomEvent<void>"
|
|
14011
|
+
}
|
|
14012
|
+
}
|
|
14013
|
+
],
|
|
14014
|
+
"slots": [
|
|
14015
|
+
{
|
|
14016
|
+
"name": "",
|
|
14017
|
+
"description": "Default slot: the panel body."
|
|
14018
|
+
},
|
|
14019
|
+
{
|
|
14020
|
+
"name": "footer",
|
|
14021
|
+
"description": "Optional footer area (e.g. apply/reset buttons)."
|
|
14022
|
+
},
|
|
14023
|
+
{
|
|
14024
|
+
"name": "header-actions",
|
|
14025
|
+
"description": "Extra actions shown in the header next to the close button."
|
|
14026
|
+
}
|
|
14027
|
+
],
|
|
14028
|
+
"cssParts": [
|
|
14029
|
+
{
|
|
14030
|
+
"name": "body",
|
|
14031
|
+
"description": "The scrollable body."
|
|
14032
|
+
},
|
|
14033
|
+
{
|
|
14034
|
+
"name": "footer",
|
|
14035
|
+
"description": "The footer wrapper."
|
|
14036
|
+
},
|
|
14037
|
+
{
|
|
14038
|
+
"name": "header",
|
|
14039
|
+
"description": "The header row."
|
|
14040
|
+
},
|
|
14041
|
+
{
|
|
14042
|
+
"name": "heading",
|
|
14043
|
+
"description": "The heading text."
|
|
14044
|
+
},
|
|
14045
|
+
{
|
|
14046
|
+
"name": "overlay",
|
|
14047
|
+
"description": "The backdrop (only when `overlay` is set)."
|
|
14048
|
+
},
|
|
14049
|
+
{
|
|
14050
|
+
"name": "panel",
|
|
14051
|
+
"description": "The panel surface (role=\"dialog\")."
|
|
14052
|
+
}
|
|
14053
|
+
]
|
|
14054
|
+
}
|
|
14055
|
+
],
|
|
14056
|
+
"exports": [
|
|
14057
|
+
{
|
|
14058
|
+
"kind": "js",
|
|
14059
|
+
"name": "BsSidePanel",
|
|
14060
|
+
"declaration": {
|
|
14061
|
+
"name": "BsSidePanel"
|
|
14062
|
+
}
|
|
14063
|
+
},
|
|
14064
|
+
{
|
|
14065
|
+
"kind": "custom-element-definition",
|
|
14066
|
+
"name": "bs-side-panel",
|
|
14067
|
+
"declaration": {
|
|
14068
|
+
"name": "BsSidePanel"
|
|
14069
|
+
}
|
|
14070
|
+
}
|
|
14071
|
+
]
|
|
14072
|
+
},
|
|
14073
|
+
{
|
|
14074
|
+
"kind": "javascript-module",
|
|
14075
|
+
"path": "src/components/bs-skeleton/bs-skeleton.tsx",
|
|
14076
|
+
"declarations": [
|
|
14077
|
+
{
|
|
14078
|
+
"kind": "class",
|
|
14079
|
+
"customElement": true,
|
|
14080
|
+
"tagName": "bs-skeleton",
|
|
14081
|
+
"name": "BsSkeleton",
|
|
14082
|
+
"description": "A general-purpose loading placeholder for content whose shape isn't covered by a dedicated\nskeleton (e.g. `bs-button-skeleton`). Renders a pulsing text line (or several), rectangle or circle.\n\nDecorative by default (`aria-hidden=\"true\"`). Set `label` to expose it to assistive tech as a\n`role=\"status\"` live region with that accessible name -- do this on one placeholder per loading\nregion, not on every placeholder, so screen readers don't announce it repeatedly.\n\n## When to use\n- Standing in for text, images, avatars or other blocks while their data loads.\n\n## When not to use\n- For a `bs-button` or `bs-checkbox` placeholder -- use `bs-button-skeleton` / `bs-checkbox-skeleton`.\n- For an in-progress action on already-rendered UI -- use `bs-spinner` or `bs-progress`.",
|
|
14083
|
+
"attributes": [
|
|
14084
|
+
{
|
|
14085
|
+
"name": "animated",
|
|
14086
|
+
"description": "Whether the placeholder pulses. Disabled automatically under `prefers-reduced-motion`.",
|
|
14087
|
+
"type": {
|
|
14088
|
+
"text": "boolean"
|
|
14089
|
+
},
|
|
14090
|
+
"default": "true",
|
|
14091
|
+
"fieldName": "animated"
|
|
14092
|
+
},
|
|
14093
|
+
{
|
|
14094
|
+
"name": "height",
|
|
14095
|
+
"description": "Any CSS length. Falls back to the variant's default height custom property.",
|
|
14096
|
+
"type": {
|
|
14097
|
+
"text": "string"
|
|
14098
|
+
},
|
|
14099
|
+
"fieldName": "height"
|
|
14100
|
+
},
|
|
14101
|
+
{
|
|
14102
|
+
"name": "label",
|
|
14103
|
+
"description": "When set, the placeholder gets `role=\"status\"` and this as its `aria-label`; otherwise it is\n`aria-hidden=\"true\"`.",
|
|
14104
|
+
"type": {
|
|
14105
|
+
"text": "string"
|
|
14106
|
+
},
|
|
14107
|
+
"fieldName": "label"
|
|
14108
|
+
},
|
|
14109
|
+
{
|
|
14110
|
+
"name": "lines",
|
|
14111
|
+
"description": "Number of text lines (`variant=\"text\"` only). The last line of a multi-line block is shorter.\nValues below 1 are treated as 1.",
|
|
14112
|
+
"type": {
|
|
14113
|
+
"text": "number"
|
|
14114
|
+
},
|
|
14115
|
+
"default": "1",
|
|
14116
|
+
"fieldName": "lines"
|
|
14117
|
+
},
|
|
14118
|
+
{
|
|
14119
|
+
"name": "variant",
|
|
14120
|
+
"description": "Shape of the placeholder.",
|
|
14121
|
+
"type": {
|
|
14122
|
+
"text": "\"circle\" | \"rect\" | \"text\"",
|
|
14123
|
+
"references": [
|
|
14124
|
+
{
|
|
14125
|
+
"name": "BsSkeletonVariant"
|
|
14126
|
+
}
|
|
14127
|
+
]
|
|
14128
|
+
},
|
|
14129
|
+
"default": "'text'",
|
|
14130
|
+
"fieldName": "variant"
|
|
14131
|
+
},
|
|
14132
|
+
{
|
|
14133
|
+
"name": "width",
|
|
14134
|
+
"description": "Any CSS length (e.g. `200px`, `50%`). Falls back to `--bs-skeleton-width`. For `circle`, if\nonly one of `width`/`height` is set the other matches it.",
|
|
14135
|
+
"type": {
|
|
14136
|
+
"text": "string"
|
|
14137
|
+
},
|
|
14138
|
+
"fieldName": "width"
|
|
14139
|
+
}
|
|
14140
|
+
],
|
|
14141
|
+
"members": [
|
|
14142
|
+
{
|
|
14143
|
+
"kind": "field",
|
|
14144
|
+
"name": "animated",
|
|
14145
|
+
"description": "Whether the placeholder pulses. Disabled automatically under `prefers-reduced-motion`.",
|
|
14146
|
+
"type": {
|
|
14147
|
+
"text": "boolean"
|
|
14148
|
+
},
|
|
14149
|
+
"default": "true",
|
|
14150
|
+
"attribute": "animated"
|
|
14151
|
+
},
|
|
14152
|
+
{
|
|
14153
|
+
"kind": "field",
|
|
14154
|
+
"name": "height",
|
|
14155
|
+
"description": "Any CSS length. Falls back to the variant's default height custom property.",
|
|
14156
|
+
"type": {
|
|
14157
|
+
"text": "string"
|
|
14158
|
+
},
|
|
14159
|
+
"attribute": "height"
|
|
14160
|
+
},
|
|
14161
|
+
{
|
|
14162
|
+
"kind": "field",
|
|
14163
|
+
"name": "label",
|
|
14164
|
+
"description": "When set, the placeholder gets `role=\"status\"` and this as its `aria-label`; otherwise it is\n`aria-hidden=\"true\"`.",
|
|
14165
|
+
"type": {
|
|
14166
|
+
"text": "string"
|
|
14167
|
+
},
|
|
14168
|
+
"attribute": "label"
|
|
12202
14169
|
},
|
|
12203
14170
|
{
|
|
12204
|
-
"
|
|
12205
|
-
"
|
|
14171
|
+
"kind": "field",
|
|
14172
|
+
"name": "lines",
|
|
14173
|
+
"description": "Number of text lines (`variant=\"text\"` only). The last line of a multi-line block is shorter.\nValues below 1 are treated as 1.",
|
|
14174
|
+
"type": {
|
|
14175
|
+
"text": "number"
|
|
14176
|
+
},
|
|
14177
|
+
"default": "1",
|
|
14178
|
+
"attribute": "lines"
|
|
12206
14179
|
},
|
|
12207
14180
|
{
|
|
12208
|
-
"
|
|
12209
|
-
"
|
|
14181
|
+
"kind": "field",
|
|
14182
|
+
"name": "variant",
|
|
14183
|
+
"description": "Shape of the placeholder.",
|
|
14184
|
+
"type": {
|
|
14185
|
+
"text": "\"circle\" | \"rect\" | \"text\"",
|
|
14186
|
+
"references": [
|
|
14187
|
+
{
|
|
14188
|
+
"name": "BsSkeletonVariant"
|
|
14189
|
+
}
|
|
14190
|
+
]
|
|
14191
|
+
},
|
|
14192
|
+
"default": "'text'",
|
|
14193
|
+
"attribute": "variant"
|
|
12210
14194
|
},
|
|
12211
14195
|
{
|
|
12212
|
-
"
|
|
12213
|
-
"
|
|
12214
|
-
|
|
14196
|
+
"kind": "field",
|
|
14197
|
+
"name": "width",
|
|
14198
|
+
"description": "Any CSS length (e.g. `200px`, `50%`). Falls back to `--bs-skeleton-width`. For `circle`, if\nonly one of `width`/`height` is set the other matches it.",
|
|
14199
|
+
"type": {
|
|
14200
|
+
"text": "string"
|
|
14201
|
+
},
|
|
14202
|
+
"attribute": "width"
|
|
14203
|
+
}
|
|
14204
|
+
],
|
|
14205
|
+
"cssParts": [
|
|
12215
14206
|
{
|
|
12216
|
-
"name": "
|
|
12217
|
-
"description": "
|
|
14207
|
+
"name": "container",
|
|
14208
|
+
"description": "The outer wrapper."
|
|
12218
14209
|
},
|
|
12219
14210
|
{
|
|
12220
|
-
"name": "
|
|
12221
|
-
"description": "
|
|
14211
|
+
"name": "line",
|
|
14212
|
+
"description": "Each pulsing placeholder element (one per line for `variant=\"text\"`)."
|
|
12222
14213
|
}
|
|
12223
14214
|
]
|
|
12224
14215
|
}
|
|
@@ -12226,16 +14217,16 @@
|
|
|
12226
14217
|
"exports": [
|
|
12227
14218
|
{
|
|
12228
14219
|
"kind": "js",
|
|
12229
|
-
"name": "
|
|
14220
|
+
"name": "BsSkeleton",
|
|
12230
14221
|
"declaration": {
|
|
12231
|
-
"name": "
|
|
14222
|
+
"name": "BsSkeleton"
|
|
12232
14223
|
}
|
|
12233
14224
|
},
|
|
12234
14225
|
{
|
|
12235
14226
|
"kind": "custom-element-definition",
|
|
12236
|
-
"name": "bs-
|
|
14227
|
+
"name": "bs-skeleton",
|
|
12237
14228
|
"declaration": {
|
|
12238
|
-
"name": "
|
|
14229
|
+
"name": "BsSkeleton"
|
|
12239
14230
|
}
|
|
12240
14231
|
}
|
|
12241
14232
|
]
|
|
@@ -12269,6 +14260,15 @@
|
|
|
12269
14260
|
"default": "false",
|
|
12270
14261
|
"fieldName": "disabled"
|
|
12271
14262
|
},
|
|
14263
|
+
{
|
|
14264
|
+
"name": "end-value-label",
|
|
14265
|
+
"description": "Accessible name of the upper-bound thumb / percent field when `ariaLabel` is unset.",
|
|
14266
|
+
"type": {
|
|
14267
|
+
"text": "string"
|
|
14268
|
+
},
|
|
14269
|
+
"default": "'End value'",
|
|
14270
|
+
"fieldName": "endValueLabel"
|
|
14271
|
+
},
|
|
12272
14272
|
{
|
|
12273
14273
|
"name": "label",
|
|
12274
14274
|
"description": "Label text shown above the track when `showLabel` is set.",
|
|
@@ -12322,6 +14322,15 @@
|
|
|
12322
14322
|
"default": "true",
|
|
12323
14323
|
"fieldName": "showLabel"
|
|
12324
14324
|
},
|
|
14325
|
+
{
|
|
14326
|
+
"name": "start-value-label",
|
|
14327
|
+
"description": "Accessible name of the lower-bound thumb / percent field when `ariaLabel` is unset.",
|
|
14328
|
+
"type": {
|
|
14329
|
+
"text": "string"
|
|
14330
|
+
},
|
|
14331
|
+
"default": "'Start value'",
|
|
14332
|
+
"fieldName": "startValueLabel"
|
|
14333
|
+
},
|
|
12325
14334
|
{
|
|
12326
14335
|
"name": "step",
|
|
12327
14336
|
"description": "Step size between selectable values. For `type=\"segmented\"`, the effective step is derived\nfrom `(max - min) / segments` instead, so the thumb always snaps to a tick.",
|
|
@@ -12393,6 +14402,16 @@
|
|
|
12393
14402
|
"attribute": "disabled",
|
|
12394
14403
|
"reflects": true
|
|
12395
14404
|
},
|
|
14405
|
+
{
|
|
14406
|
+
"kind": "field",
|
|
14407
|
+
"name": "endValueLabel",
|
|
14408
|
+
"description": "Accessible name of the upper-bound thumb / percent field when `ariaLabel` is unset.",
|
|
14409
|
+
"type": {
|
|
14410
|
+
"text": "string"
|
|
14411
|
+
},
|
|
14412
|
+
"default": "'End value'",
|
|
14413
|
+
"attribute": "end-value-label"
|
|
14414
|
+
},
|
|
12396
14415
|
{
|
|
12397
14416
|
"kind": "field",
|
|
12398
14417
|
"name": "label",
|
|
@@ -12453,6 +14472,16 @@
|
|
|
12453
14472
|
"default": "true",
|
|
12454
14473
|
"attribute": "show-label"
|
|
12455
14474
|
},
|
|
14475
|
+
{
|
|
14476
|
+
"kind": "field",
|
|
14477
|
+
"name": "startValueLabel",
|
|
14478
|
+
"description": "Accessible name of the lower-bound thumb / percent field when `ariaLabel` is unset.",
|
|
14479
|
+
"type": {
|
|
14480
|
+
"text": "string"
|
|
14481
|
+
},
|
|
14482
|
+
"default": "'Start value'",
|
|
14483
|
+
"attribute": "start-value-label"
|
|
14484
|
+
},
|
|
12456
14485
|
{
|
|
12457
14486
|
"kind": "field",
|
|
12458
14487
|
"name": "step",
|
|
@@ -13129,6 +15158,95 @@
|
|
|
13129
15158
|
}
|
|
13130
15159
|
]
|
|
13131
15160
|
},
|
|
15161
|
+
{
|
|
15162
|
+
"kind": "javascript-module",
|
|
15163
|
+
"path": "src/components/bs-spinner/bs-spinner.tsx",
|
|
15164
|
+
"declarations": [
|
|
15165
|
+
{
|
|
15166
|
+
"kind": "class",
|
|
15167
|
+
"customElement": true,
|
|
15168
|
+
"tagName": "bs-spinner",
|
|
15169
|
+
"name": "BsSpinner",
|
|
15170
|
+
"description": "A small inline spinner sized for text. By default (`size=\"inherit\"`) it is `1em` square so it\nscales with the surrounding font size, and it draws in `currentColor` so it matches the\nsurrounding text. Built as plain inline SVG: `bs-progress` has fixed pixel diameters and a\nblock layout, so it can't sit inline with text.\n\n## When to use\n- Inline \"busy\" feedback next to or inside text, e.g. \"Saving...\" or within a button label.\n\n## When not to use\n- For a large or standalone loading indicator, or one with a known percentage -- use `bs-progress`.\n- As a content placeholder -- use `bs-skeleton`.",
|
|
15171
|
+
"attributes": [
|
|
15172
|
+
{
|
|
15173
|
+
"name": "label",
|
|
15174
|
+
"description": "Accessible name (e.g. \"Loading\"). When set, the spinner gets `role=\"status\"` and this\n`aria-label`; when omitted it is `aria-hidden=\"true\"` (use it next to visible text that already\nsays what is happening).",
|
|
15175
|
+
"type": {
|
|
15176
|
+
"text": "string"
|
|
15177
|
+
},
|
|
15178
|
+
"fieldName": "label"
|
|
15179
|
+
},
|
|
15180
|
+
{
|
|
15181
|
+
"name": "size",
|
|
15182
|
+
"description": "`xs`/`sm`/`md` use fixed token sizes; `inherit` (default) is `1em`, following the font size.",
|
|
15183
|
+
"type": {
|
|
15184
|
+
"text": "\"inherit\" | \"md\" | \"sm\" | \"xs\"",
|
|
15185
|
+
"references": [
|
|
15186
|
+
{
|
|
15187
|
+
"name": "BsSpinnerSize"
|
|
15188
|
+
}
|
|
15189
|
+
]
|
|
15190
|
+
},
|
|
15191
|
+
"default": "'inherit'",
|
|
15192
|
+
"fieldName": "size"
|
|
15193
|
+
}
|
|
15194
|
+
],
|
|
15195
|
+
"members": [
|
|
15196
|
+
{
|
|
15197
|
+
"kind": "field",
|
|
15198
|
+
"name": "label",
|
|
15199
|
+
"description": "Accessible name (e.g. \"Loading\"). When set, the spinner gets `role=\"status\"` and this\n`aria-label`; when omitted it is `aria-hidden=\"true\"` (use it next to visible text that already\nsays what is happening).",
|
|
15200
|
+
"type": {
|
|
15201
|
+
"text": "string"
|
|
15202
|
+
},
|
|
15203
|
+
"attribute": "label"
|
|
15204
|
+
},
|
|
15205
|
+
{
|
|
15206
|
+
"kind": "field",
|
|
15207
|
+
"name": "size",
|
|
15208
|
+
"description": "`xs`/`sm`/`md` use fixed token sizes; `inherit` (default) is `1em`, following the font size.",
|
|
15209
|
+
"type": {
|
|
15210
|
+
"text": "\"inherit\" | \"md\" | \"sm\" | \"xs\"",
|
|
15211
|
+
"references": [
|
|
15212
|
+
{
|
|
15213
|
+
"name": "BsSpinnerSize"
|
|
15214
|
+
}
|
|
15215
|
+
]
|
|
15216
|
+
},
|
|
15217
|
+
"default": "'inherit'",
|
|
15218
|
+
"attribute": "size"
|
|
15219
|
+
}
|
|
15220
|
+
],
|
|
15221
|
+
"cssParts": [
|
|
15222
|
+
{
|
|
15223
|
+
"name": "container",
|
|
15224
|
+
"description": "The outer inline wrapper (carries the status role)."
|
|
15225
|
+
},
|
|
15226
|
+
{
|
|
15227
|
+
"name": "svg",
|
|
15228
|
+
"description": "The spinner SVG."
|
|
15229
|
+
}
|
|
15230
|
+
]
|
|
15231
|
+
}
|
|
15232
|
+
],
|
|
15233
|
+
"exports": [
|
|
15234
|
+
{
|
|
15235
|
+
"kind": "js",
|
|
15236
|
+
"name": "BsSpinner",
|
|
15237
|
+
"declaration": {
|
|
15238
|
+
"name": "BsSpinner"
|
|
15239
|
+
}
|
|
15240
|
+
},
|
|
15241
|
+
{
|
|
15242
|
+
"kind": "custom-element-definition",
|
|
15243
|
+
"name": "bs-spinner",
|
|
15244
|
+
"declaration": {
|
|
15245
|
+
"name": "BsSpinner"
|
|
15246
|
+
}
|
|
15247
|
+
}
|
|
15248
|
+
]
|
|
15249
|
+
},
|
|
13132
15250
|
{
|
|
13133
15251
|
"kind": "javascript-module",
|
|
13134
15252
|
"path": "src/components/bs-stepper/bs-stepper/bs-stepper.tsx",
|
|
@@ -14294,6 +16412,15 @@
|
|
|
14294
16412
|
"default": "'Confirm'",
|
|
14295
16413
|
"fieldName": "confirmLabel"
|
|
14296
16414
|
},
|
|
16415
|
+
{
|
|
16416
|
+
"name": "decrease-label",
|
|
16417
|
+
"description": "Verb prefix of each column's decrement button name (\"Decrease hour\").",
|
|
16418
|
+
"type": {
|
|
16419
|
+
"text": "string"
|
|
16420
|
+
},
|
|
16421
|
+
"default": "'Decrease'",
|
|
16422
|
+
"fieldName": "decreaseLabel"
|
|
16423
|
+
},
|
|
14297
16424
|
{
|
|
14298
16425
|
"name": "format",
|
|
14299
16426
|
"description": "Display format: `12h` (with an AM/PM dropdown) or `24h`. The user can switch it with the\n24h switch. Does not change `value`, which is always 24-hour.",
|
|
@@ -14323,13 +16450,21 @@
|
|
|
14323
16450
|
},
|
|
14324
16451
|
{
|
|
14325
16452
|
"name": "hour-label",
|
|
14326
|
-
"description": "Accessible name of the hour spinner.",
|
|
14327
16453
|
"type": {
|
|
14328
16454
|
"text": "string"
|
|
14329
16455
|
},
|
|
14330
16456
|
"default": "'Hour'",
|
|
14331
16457
|
"fieldName": "hourLabel"
|
|
14332
16458
|
},
|
|
16459
|
+
{
|
|
16460
|
+
"name": "increase-label",
|
|
16461
|
+
"description": "Verb prefix of each column's increment button name (\"Increase hour\").",
|
|
16462
|
+
"type": {
|
|
16463
|
+
"text": "string"
|
|
16464
|
+
},
|
|
16465
|
+
"default": "'Increase'",
|
|
16466
|
+
"fieldName": "increaseLabel"
|
|
16467
|
+
},
|
|
14333
16468
|
{
|
|
14334
16469
|
"name": "minute-label",
|
|
14335
16470
|
"description": "Accessible name of the minute spinner.",
|
|
@@ -14396,6 +16531,16 @@
|
|
|
14396
16531
|
"default": "'Confirm'",
|
|
14397
16532
|
"attribute": "confirm-label"
|
|
14398
16533
|
},
|
|
16534
|
+
{
|
|
16535
|
+
"kind": "field",
|
|
16536
|
+
"name": "decreaseLabel",
|
|
16537
|
+
"description": "Verb prefix of each column's decrement button name (\"Decrease hour\").",
|
|
16538
|
+
"type": {
|
|
16539
|
+
"text": "string"
|
|
16540
|
+
},
|
|
16541
|
+
"default": "'Decrease'",
|
|
16542
|
+
"attribute": "decrease-label"
|
|
16543
|
+
},
|
|
14399
16544
|
{
|
|
14400
16545
|
"kind": "field",
|
|
14401
16546
|
"name": "format",
|
|
@@ -14430,13 +16575,22 @@
|
|
|
14430
16575
|
{
|
|
14431
16576
|
"kind": "field",
|
|
14432
16577
|
"name": "hourLabel",
|
|
14433
|
-
"description": "Accessible name of the hour spinner.",
|
|
14434
16578
|
"type": {
|
|
14435
16579
|
"text": "string"
|
|
14436
16580
|
},
|
|
14437
16581
|
"default": "'Hour'",
|
|
14438
16582
|
"attribute": "hour-label"
|
|
14439
16583
|
},
|
|
16584
|
+
{
|
|
16585
|
+
"kind": "field",
|
|
16586
|
+
"name": "increaseLabel",
|
|
16587
|
+
"description": "Verb prefix of each column's increment button name (\"Increase hour\").",
|
|
16588
|
+
"type": {
|
|
16589
|
+
"text": "string"
|
|
16590
|
+
},
|
|
16591
|
+
"default": "'Increase'",
|
|
16592
|
+
"attribute": "increase-label"
|
|
16593
|
+
},
|
|
14440
16594
|
{
|
|
14441
16595
|
"kind": "field",
|
|
14442
16596
|
"name": "minuteLabel",
|
|
@@ -14668,6 +16822,15 @@
|
|
|
14668
16822
|
"name": "BsToast",
|
|
14669
16823
|
"description": "A transient status message for confirming the result of an action (e.g. \"Files uploaded\nsuccessfully.\") -- a state-specific icon, a message, and a close button.\n\nThis component only renders the toast itself -- it doesn't manage its own visibility, timing, or\nstacking. A consumer (typically a small \"toast manager\" utility) creates one per message and\nremoves it from the DOM again, whether on a timer or on `bsDismiss`. Figma's spec doesn't show\nauto-dismiss timing at all (it's a static visual spec), so this deliberately doesn't invent one.",
|
|
14670
16824
|
"attributes": [
|
|
16825
|
+
{
|
|
16826
|
+
"name": "dismiss-label",
|
|
16827
|
+
"description": "Accessible name of the dismiss button.",
|
|
16828
|
+
"type": {
|
|
16829
|
+
"text": "string"
|
|
16830
|
+
},
|
|
16831
|
+
"default": "'Dismiss'",
|
|
16832
|
+
"fieldName": "dismissLabel"
|
|
16833
|
+
},
|
|
14671
16834
|
{
|
|
14672
16835
|
"name": "state",
|
|
14673
16836
|
"description": "Semantic state. Each state has its own icon and matching container/text tokens -- there is\nno neutral/default state.",
|
|
@@ -14684,6 +16847,16 @@
|
|
|
14684
16847
|
}
|
|
14685
16848
|
],
|
|
14686
16849
|
"members": [
|
|
16850
|
+
{
|
|
16851
|
+
"kind": "field",
|
|
16852
|
+
"name": "dismissLabel",
|
|
16853
|
+
"description": "Accessible name of the dismiss button.",
|
|
16854
|
+
"type": {
|
|
16855
|
+
"text": "string"
|
|
16856
|
+
},
|
|
16857
|
+
"default": "'Dismiss'",
|
|
16858
|
+
"attribute": "dismiss-label"
|
|
16859
|
+
},
|
|
14687
16860
|
{
|
|
14688
16861
|
"kind": "field",
|
|
14689
16862
|
"name": "state",
|
|
@@ -14894,6 +17067,123 @@
|
|
|
14894
17067
|
}
|
|
14895
17068
|
]
|
|
14896
17069
|
},
|
|
17070
|
+
{
|
|
17071
|
+
"kind": "javascript-module",
|
|
17072
|
+
"path": "src/components/bs-tooltip-trigger/bs-tooltip-trigger.tsx",
|
|
17073
|
+
"declarations": [
|
|
17074
|
+
{
|
|
17075
|
+
"kind": "class",
|
|
17076
|
+
"customElement": true,
|
|
17077
|
+
"tagName": "bs-tooltip-trigger",
|
|
17078
|
+
"name": "BsTooltipTrigger",
|
|
17079
|
+
"description": "Wraps a trigger element and shows a `bs-tooltip` on hover or keyboard focus, after an optional\ndelay. Escape dismisses it. The tooltip is linked to the trigger with `aria-describedby`.\n\nComposed from `bs-tooltip`.\n\n## When to use\n- A short hint for an icon button or truncated label.\n\n## When not to use\n- Interactive content or long text (use `bs-popover`).",
|
|
17080
|
+
"attributes": [
|
|
17081
|
+
{
|
|
17082
|
+
"name": "delay",
|
|
17083
|
+
"description": "Milliseconds to wait before showing the tooltip.",
|
|
17084
|
+
"type": {
|
|
17085
|
+
"text": "number"
|
|
17086
|
+
},
|
|
17087
|
+
"default": "0",
|
|
17088
|
+
"fieldName": "delay"
|
|
17089
|
+
},
|
|
17090
|
+
{
|
|
17091
|
+
"name": "placement",
|
|
17092
|
+
"description": "Side of the trigger the tooltip appears on. The bs-tooltip arrow is only drawn for 'bottom'.",
|
|
17093
|
+
"type": {
|
|
17094
|
+
"text": "\"bottom\" | \"end\" | \"start\" | \"top\"",
|
|
17095
|
+
"references": [
|
|
17096
|
+
{
|
|
17097
|
+
"name": "BsTooltipTriggerPlacement"
|
|
17098
|
+
}
|
|
17099
|
+
]
|
|
17100
|
+
},
|
|
17101
|
+
"default": "'bottom'",
|
|
17102
|
+
"fieldName": "placement"
|
|
17103
|
+
},
|
|
17104
|
+
{
|
|
17105
|
+
"name": "text",
|
|
17106
|
+
"description": "Tooltip message.",
|
|
17107
|
+
"type": {
|
|
17108
|
+
"text": "string"
|
|
17109
|
+
},
|
|
17110
|
+
"default": "''",
|
|
17111
|
+
"fieldName": "text"
|
|
17112
|
+
}
|
|
17113
|
+
],
|
|
17114
|
+
"members": [
|
|
17115
|
+
{
|
|
17116
|
+
"kind": "field",
|
|
17117
|
+
"name": "delay",
|
|
17118
|
+
"description": "Milliseconds to wait before showing the tooltip.",
|
|
17119
|
+
"type": {
|
|
17120
|
+
"text": "number"
|
|
17121
|
+
},
|
|
17122
|
+
"default": "0",
|
|
17123
|
+
"attribute": "delay"
|
|
17124
|
+
},
|
|
17125
|
+
{
|
|
17126
|
+
"kind": "field",
|
|
17127
|
+
"name": "placement",
|
|
17128
|
+
"description": "Side of the trigger the tooltip appears on. The bs-tooltip arrow is only drawn for 'bottom'.",
|
|
17129
|
+
"type": {
|
|
17130
|
+
"text": "\"bottom\" | \"end\" | \"start\" | \"top\"",
|
|
17131
|
+
"references": [
|
|
17132
|
+
{
|
|
17133
|
+
"name": "BsTooltipTriggerPlacement"
|
|
17134
|
+
}
|
|
17135
|
+
]
|
|
17136
|
+
},
|
|
17137
|
+
"default": "'bottom'",
|
|
17138
|
+
"attribute": "placement",
|
|
17139
|
+
"reflects": true
|
|
17140
|
+
},
|
|
17141
|
+
{
|
|
17142
|
+
"kind": "field",
|
|
17143
|
+
"name": "text",
|
|
17144
|
+
"description": "Tooltip message.",
|
|
17145
|
+
"type": {
|
|
17146
|
+
"text": "string"
|
|
17147
|
+
},
|
|
17148
|
+
"default": "''",
|
|
17149
|
+
"attribute": "text"
|
|
17150
|
+
}
|
|
17151
|
+
],
|
|
17152
|
+
"slots": [
|
|
17153
|
+
{
|
|
17154
|
+
"name": "",
|
|
17155
|
+
"description": "Default slot: the trigger element."
|
|
17156
|
+
}
|
|
17157
|
+
],
|
|
17158
|
+
"cssParts": [
|
|
17159
|
+
{
|
|
17160
|
+
"name": "tooltip",
|
|
17161
|
+
"description": "The positioned tooltip wrapper (role=\"tooltip\")."
|
|
17162
|
+
},
|
|
17163
|
+
{
|
|
17164
|
+
"name": "trigger",
|
|
17165
|
+
"description": "The wrapper around the trigger; carries aria-describedby."
|
|
17166
|
+
}
|
|
17167
|
+
]
|
|
17168
|
+
}
|
|
17169
|
+
],
|
|
17170
|
+
"exports": [
|
|
17171
|
+
{
|
|
17172
|
+
"kind": "js",
|
|
17173
|
+
"name": "BsTooltipTrigger",
|
|
17174
|
+
"declaration": {
|
|
17175
|
+
"name": "BsTooltipTrigger"
|
|
17176
|
+
}
|
|
17177
|
+
},
|
|
17178
|
+
{
|
|
17179
|
+
"kind": "custom-element-definition",
|
|
17180
|
+
"name": "bs-tooltip-trigger",
|
|
17181
|
+
"declaration": {
|
|
17182
|
+
"name": "BsTooltipTrigger"
|
|
17183
|
+
}
|
|
17184
|
+
}
|
|
17185
|
+
]
|
|
17186
|
+
},
|
|
14897
17187
|
{
|
|
14898
17188
|
"kind": "javascript-module",
|
|
14899
17189
|
"path": "src/components/bs-whats-new/bs-whats-new.tsx",
|