@brandsync/wc 1.3.0 → 1.5.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/custom-elements.json +302 -91
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-7ea0133f.entry.js → p-1b16b6e4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5d118af1.entry.js → p-1bfc80c3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2a7cc40c.entry.js → p-1d094352.entry.js} +1 -1
- package/dist/brandsync-wc/p-27741046.entry.js +1 -0
- package/dist/brandsync-wc/{p-0c8050e8.entry.js → p-2c2057f5.entry.js} +1 -1
- package/dist/brandsync-wc/p-2e8bf5da.entry.js +1 -0
- package/dist/brandsync-wc/{p-a73bfd31.entry.js → p-3145cc00.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d589fa72.entry.js → p-35850bfe.entry.js} +1 -1
- package/dist/brandsync-wc/p-3e4a9f38.entry.js +1 -0
- package/dist/brandsync-wc/p-3f6980bf.entry.js +1 -0
- package/dist/brandsync-wc/p-42f428b0.entry.js +1 -0
- package/dist/brandsync-wc/{p-b2704450.entry.js → p-46957b76.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0d5cc77f.entry.js → p-4df71e00.entry.js} +1 -1
- package/dist/brandsync-wc/{p-72e02bd5.entry.js → p-58969b2b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0299e8e1.entry.js → p-5ea24f7e.entry.js} +1 -1
- package/dist/brandsync-wc/p-5f233b4e.entry.js +1 -0
- package/dist/brandsync-wc/{p-19c98e13.entry.js → p-692fd5f0.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9ad278f4.entry.js → p-69c76966.entry.js} +1 -1
- package/dist/brandsync-wc/{p-be675b82.entry.js → p-6acdf2e1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-673546bf.entry.js → p-6b62bf53.entry.js} +1 -1
- package/dist/brandsync-wc/{p-23758f81.entry.js → p-6fd1fb04.entry.js} +1 -1
- package/dist/brandsync-wc/{p-29c360f3.entry.js → p-76a37a98.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8b5f4ca7.entry.js → p-83bda5f1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a16afeaa.entry.js → p-899d24f8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-94266d72.entry.js → p-8f90e906.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5a4db480.entry.js → p-906b4faa.entry.js} +1 -1
- package/dist/brandsync-wc/{p-eae7587e.entry.js → p-943fc6b9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7de20530.entry.js → p-95e0fb92.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ca74c7d9.entry.js → p-9d5cf289.entry.js} +1 -1
- package/dist/brandsync-wc/{p-CvfB8CQv.js → p-CcPfH1dJ.js} +2 -2
- package/dist/brandsync-wc/{p-04c26826.entry.js → p-a34c7553.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bf4a5b1b.entry.js → p-a55a3d87.entry.js} +1 -1
- package/dist/brandsync-wc/{p-76d391d7.entry.js → p-a64b64f8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f196642a.entry.js → p-a77a5438.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8acb623e.entry.js → p-a96ec9a1.entry.js} +1 -1
- package/dist/brandsync-wc/p-ac2ccc4b.entry.js +1 -0
- package/dist/brandsync-wc/{p-18e0cff4.entry.js → p-b332fe01.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8ec95da5.entry.js → p-b4211012.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f652d79c.entry.js → p-ba650ca9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-96d1ce21.entry.js → p-c91eb3eb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bcafba87.entry.js → p-cd90ed34.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7091f130.entry.js → p-d1dfd37d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e58b1dbb.entry.js → p-d69e5034.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b63362e7.entry.js → p-da6fa359.entry.js} +1 -1
- package/dist/brandsync-wc/p-dadbb3f1.entry.js +1 -0
- package/dist/brandsync-wc/{p-d5d15d9f.entry.js → p-dbd49107.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9f9c1a1d.entry.js → p-dc974a34.entry.js} +1 -1
- package/dist/brandsync-wc/{p-35d98580.entry.js → p-e9a89ea0.entry.js} +1 -1
- package/dist/brandsync-wc/p-eb1c98a5.entry.js +1 -0
- package/dist/brandsync-wc/{p-bd2cc2c6.entry.js → p-f0a6ff05.entry.js} +1 -1
- package/dist/brandsync-wc/{p-39204377.entry.js → p-f4cb1337.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c4a16564.entry.js → p-fd1acc0f.entry.js} +1 -1
- package/dist/cjs/brandsync-wc.cjs.js +2 -2
- package/dist/cjs/bs-accordion.cjs.entry.js +54 -0
- 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 +2 -2
- package/dist/cjs/bs-avatar.cjs.entry.js +1 -1
- package/dist/cjs/bs-badge.cjs.entry.js +2 -2
- package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +2 -2
- package/dist/cjs/bs-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/bs-button.cjs.entry.js +3 -3
- package/dist/cjs/bs-card.cjs.entry.js +2 -2
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +2 -2
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +2 -2
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +2 -2
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +2 -2
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +2 -2
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/bs-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/bs-chip-filter.cjs.entry.js +10 -6
- package/dist/cjs/bs-chip-informative.cjs.entry.js +2 -2
- package/dist/cjs/bs-chip-input.cjs.entry.js +2 -2
- package/dist/cjs/bs-composer-status-banner.cjs.entry.js +2 -2
- package/dist/cjs/bs-composer.cjs.entry.js +26 -3
- package/dist/cjs/bs-data-table.cjs.entry.js +21 -4
- package/dist/cjs/bs-dialog.cjs.entry.js +1 -1
- package/dist/cjs/bs-icon-button.cjs.entry.js +3 -3
- package/dist/cjs/bs-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/bs-input.cjs.entry.js +3 -3
- package/dist/cjs/bs-logo.cjs.entry.js +1 -1
- package/dist/cjs/bs-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/bs-menu.cjs.entry.js +2 -2
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +2 -2
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +3 -3
- package/dist/cjs/bs-navigation-header.cjs.entry.js +3 -3
- package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
- 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-radio.cjs.entry.js +2 -2
- package/dist/cjs/bs-slider.cjs.entry.js +2 -2
- package/dist/cjs/bs-snackbar.cjs.entry.js +13 -3
- package/dist/cjs/bs-source-link.cjs.entry.js +3 -3
- 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.cjs.entry.js +2 -2
- package/dist/cjs/bs-tabs.cjs.entry.js +2 -2
- package/dist/cjs/bs-toast.cjs.entry.js +2 -2
- package/dist/cjs/bs-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/{index-CdAh5BFg.js → index-Bj1mNOtg.js} +17 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/bs-accordion/bs-accordion.cmp.test.js +112 -0
- package/dist/collection/components/bs-accordion/bs-accordion.css +174 -0
- package/dist/collection/components/bs-accordion/bs-accordion.js +203 -0
- package/dist/collection/components/bs-accordion/bs-accordion.stories.js +63 -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 +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-badge/bs-badge.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button/bs-button/bs-button.css +15 -5
- package/dist/collection/components/bs-button/bs-button/bs-button.js +1 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +15 -7
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +1 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-card/bs-card.js +1 -1
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.cmp.test.js +19 -5
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +11 -7
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +1 -1
- package/dist/collection/components/bs-composer/bs-composer.cmp.test.js +44 -0
- package/dist/collection/components/bs-composer/bs-composer.js +29 -6
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.cmp.test.js +108 -0
- package/dist/collection/components/bs-data-table/bs-data-table.css +5 -3
- package/dist/collection/components/bs-data-table/bs-data-table.js +40 -2
- package/dist/collection/components/bs-input/bs-input.js +2 -2
- 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-pagination/bs-pagination.js +1 -1
- 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-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.cmp.test.js +4 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.css +8 -155
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +11 -1
- package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
- 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-toast/bs-toast.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.cmp.test.js +6 -0
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.css +43 -1
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +1 -1
- 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.css +25 -0
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +1 -1
- package/dist/components/bs-accordion.d.ts +11 -0
- package/dist/components/bs-accordion.js +1 -0
- 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-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-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-composer-status-banner.js +1 -1
- package/dist/components/bs-composer.js +1 -1
- package/dist/components/bs-data-table.js +1 -1
- package/dist/components/bs-dialog.js +1 -1
- package/dist/components/bs-icon-button.js +1 -1
- package/dist/components/bs-inline-tab.js +1 -1
- package/dist/components/bs-input.js +1 -1
- package/dist/components/bs-menu-item.js +1 -1
- package/dist/components/bs-menu.js +1 -1
- package/dist/components/bs-navigation-drawer-item.js +1 -1
- package/dist/components/bs-navigation-drawer.js +1 -1
- package/dist/components/bs-navigation-header.js +1 -1
- package/dist/components/bs-pagination.js +1 -1
- package/dist/components/bs-progress-linear.js +1 -1
- package/dist/components/bs-progress.js +1 -1
- package/dist/components/bs-radio.js +1 -1
- package/dist/components/bs-slider.js +1 -1
- package/dist/components/bs-snackbar.js +1 -1
- package/dist/components/bs-source-link.js +1 -1
- package/dist/components/bs-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-toast.js +1 -1
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/p-Byl-ZwBI.js +1 -0
- package/dist/components/p-D4omPSOU.js +1 -0
- package/dist/components/{p-BIgPiuc-.js → p-DOApNIwD.js} +1 -1
- package/dist/components/{p-BUtz3sub.js → p-Dkv8x1_Z.js} +1 -1
- package/dist/components/{p-Rn1IWs8l.js → p-lvnXqw5g.js} +1 -1
- package/dist/esm/brandsync-wc.js +3 -3
- package/dist/esm/bs-accordion.entry.js +52 -0
- 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 +2 -2
- package/dist/esm/bs-avatar.entry.js +1 -1
- package/dist/esm/bs-badge.entry.js +2 -2
- package/dist/esm/bs-breadcrumb-overflow.entry.js +2 -2
- package/dist/esm/bs-breadcrumb.entry.js +2 -2
- package/dist/esm/bs-breadcrumbs.entry.js +2 -2
- package/dist/esm/bs-button-skeleton.entry.js +2 -2
- package/dist/esm/bs-button.entry.js +3 -3
- package/dist/esm/bs-card.entry.js +2 -2
- package/dist/esm/bs-chatbot-feedback.entry.js +2 -2
- package/dist/esm/bs-chatbot-header.entry.js +2 -2
- package/dist/esm/bs-chatbot-response-action.entry.js +2 -2
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +2 -2
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +2 -2
- package/dist/esm/bs-checkbox-skeleton.entry.js +2 -2
- package/dist/esm/bs-checkbox.entry.js +2 -2
- package/dist/esm/bs-chip-filter.entry.js +10 -6
- package/dist/esm/bs-chip-informative.entry.js +2 -2
- package/dist/esm/bs-chip-input.entry.js +2 -2
- package/dist/esm/bs-composer-status-banner.entry.js +2 -2
- package/dist/esm/bs-composer.entry.js +26 -3
- package/dist/esm/bs-data-table.entry.js +21 -4
- package/dist/esm/bs-dialog.entry.js +1 -1
- package/dist/esm/bs-icon-button.entry.js +3 -3
- package/dist/esm/bs-inline-tab.entry.js +2 -2
- package/dist/esm/bs-input.entry.js +3 -3
- package/dist/esm/bs-logo.entry.js +1 -1
- package/dist/esm/bs-menu-item.entry.js +2 -2
- package/dist/esm/bs-menu.entry.js +2 -2
- package/dist/esm/bs-navigation-drawer-item.entry.js +2 -2
- package/dist/esm/bs-navigation-drawer.entry.js +3 -3
- package/dist/esm/bs-navigation-header.entry.js +3 -3
- package/dist/esm/bs-pagination.entry.js +2 -2
- package/dist/esm/bs-progress-linear.entry.js +3 -3
- package/dist/esm/bs-progress.entry.js +3 -3
- package/dist/esm/bs-radio.entry.js +2 -2
- package/dist/esm/bs-slider.entry.js +2 -2
- package/dist/esm/bs-snackbar.entry.js +13 -3
- package/dist/esm/bs-source-link.entry.js +3 -3
- 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.entry.js +2 -2
- package/dist/esm/bs-tabs.entry.js +2 -2
- package/dist/esm/bs-toast.entry.js +2 -2
- package/dist/esm/bs-tooltip.entry.js +2 -2
- package/dist/esm/{index-CvfB8CQv.js → index-CcPfH1dJ.js} +17 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/bs-accordion/bs-accordion.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-accordion/bs-accordion.d.ts +51 -0
- package/dist/types/components/bs-accordion/bs-accordion.stories.d.ts +20 -0
- package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.d.ts +7 -2
- package/dist/types/components/bs-composer/bs-composer.d.ts +15 -1
- package/dist/types/components/bs-data-table/bs-data-table.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-data-table/bs-data-table.d.ts +5 -0
- package/dist/types/components.d.ts +133 -6
- package/package.json +1 -1
- package/dist/brandsync-wc/p-00d40aca.entry.js +0 -1
- package/dist/brandsync-wc/p-03676f8a.entry.js +0 -1
- package/dist/brandsync-wc/p-127d698d.entry.js +0 -1
- package/dist/brandsync-wc/p-1780224d.entry.js +0 -1
- package/dist/brandsync-wc/p-35bcb932.entry.js +0 -1
- package/dist/brandsync-wc/p-b2abd8d9.entry.js +0 -1
- package/dist/brandsync-wc/p-cd703364.entry.js +0 -1
- package/dist/brandsync-wc/p-fc9d52d4.entry.js +0 -1
- package/dist/components/p-B8JpGodL.js +0 -1
package/dist/esm/loader.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as globalScripts, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { g as globalScripts, b as bootstrapLazy } from './index-CcPfH1dJ.js';
|
|
2
|
+
export { s as setNonce } from './index-CcPfH1dJ.js';
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = async (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
6
6
|
await globalScripts();
|
|
7
|
-
return bootstrapLazy([["bs-input",[[785,"bs-input",{"value":[1025],"type":[1],"label":[1],"placeholder":[1],"description":[1],"error":[1],"disabled":[4],"required":[4],"step":[2],"min":[2],"max":[2],"options":[16],"rows":[2],"chips":[16],"titleOptions":[16],"initialsTitle":[1,"initials-title"],"countryOptions":[16],"country":[1],"length":[2],"open":[1540],"hasIcon":[32],"hasEndIcon":[32],"passwordVisible":[32],"chipDraft":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-attachment",[[513,"bs-attachment",{"type":[1],"fileName":[1,"file-name"],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"loading":[4],"removable":[4]}]]],["bs-breadcrumb-overflow",[[513,"bs-breadcrumb-overflow",{"items":[16],"overflowLabel":[1,"overflow-label"],"size":[513],"open":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-chatbot-header",[[769,"bs-chatbot-header",{"heading":[1],"expanded":[1540]}]]],["bs-dialog",[[769,"bs-dialog",{"open":[1540],"heading":[1],"size":[1],"centered":[516],"hasFooter":[32],"hasImage":[32],"hasIcon":[32]},[[4,"keydown","onKeydown"],[4,"focusin","onFocusIn"]]]]],["bs-navigation-drawer",[[769,"bs-navigation-drawer",{"heading":[1],"collapsible":[4],"collapsed":[1540],"logoBackground":[1,"logo-background"],"showLogo":[4,"show-logo"]},null,{"collapsed":[{"onCollapsedChange":0}]}]]],["bs-navigation-header",[[769,"bs-navigation-header",{"alignment":[1],"ariaLabel":[1,"aria-label"],"skipToContentHref":[1,"skip-to-content-href"],"skipToContentLabel":[1,"skip-to-content-label"],"logoBackground":[1,"logo-background"]}]]],["bs-ai-disclaimer",[[257,"bs-ai-disclaimer"]]],["bs-ai-greeting",[[513,"bs-ai-greeting",{"assistantName":[1,"assistant-name"],"productName":[1,"product-name"]}]]],["bs-ai-thinking",[[513,"bs-ai-thinking",{"label":[1]}]]],["bs-attachment-list",[[769,"bs-attachment-list",{"ariaLabel":[1,"aria-label"],"canScrollRight":[32]}]]],["bs-avatar",[[513,"bs-avatar",{"type":[1],"size":[1],"initials":[1],"src":[1],"alt":[1],"ariaLabel":[1,"aria-label"],"disabled":[516]}]]],["bs-badge",[[769,"bs-badge",{"variant":[1]}]]],["bs-breadcrumb",[[769,"bs-breadcrumb",{"href":[1],"current":[516],"size":[513]}]]],["bs-breadcrumbs",[[769,"bs-breadcrumbs",{"label":[1],"size":[1]},null,{"size":[{"onSizeChange":0}]}]]],["bs-button
|
|
7
|
+
return bootstrapLazy([["bs-input",[[785,"bs-input",{"value":[1025],"type":[1],"label":[1],"placeholder":[1],"description":[1],"error":[1],"disabled":[4],"required":[4],"step":[2],"min":[2],"max":[2],"options":[16],"rows":[2],"chips":[16],"titleOptions":[16],"initialsTitle":[1,"initials-title"],"countryOptions":[16],"country":[1],"length":[2],"open":[1540],"hasIcon":[32],"hasEndIcon":[32],"passwordVisible":[32],"chipDraft":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-snackbar",[[769,"bs-snackbar",{"variant":[1],"loading":[4],"actionLabel":[1,"action-label"]}]]],["bs-attachment",[[513,"bs-attachment",{"type":[1],"fileName":[1,"file-name"],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"loading":[4],"removable":[4]}]]],["bs-breadcrumb-overflow",[[513,"bs-breadcrumb-overflow",{"items":[16],"overflowLabel":[1,"overflow-label"],"size":[513],"open":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-chatbot-header",[[769,"bs-chatbot-header",{"heading":[1],"expanded":[1540]}]]],["bs-dialog",[[769,"bs-dialog",{"open":[1540],"heading":[1],"size":[1],"centered":[516],"hasFooter":[32],"hasImage":[32],"hasIcon":[32]},[[4,"keydown","onKeydown"],[4,"focusin","onFocusIn"]]]]],["bs-navigation-drawer",[[769,"bs-navigation-drawer",{"heading":[1],"collapsible":[4],"collapsed":[1540],"logoBackground":[1,"logo-background"],"showLogo":[4,"show-logo"]},null,{"collapsed":[{"onCollapsedChange":0}]}]]],["bs-navigation-header",[[769,"bs-navigation-header",{"alignment":[1],"ariaLabel":[1,"aria-label"],"skipToContentHref":[1,"skip-to-content-href"],"skipToContentLabel":[1,"skip-to-content-label"],"logoBackground":[1,"logo-background"]}]]],["bs-accordion",[[769,"bs-accordion",{"expanded":[516],"size":[1],"disabled":[4],"showIcon":[4,"show-icon"],"showPreview":[4,"show-preview"]}]]],["bs-ai-disclaimer",[[257,"bs-ai-disclaimer"]]],["bs-ai-greeting",[[513,"bs-ai-greeting",{"assistantName":[1,"assistant-name"],"productName":[1,"product-name"]}]]],["bs-ai-thinking",[[513,"bs-ai-thinking",{"label":[1]}]]],["bs-attachment-list",[[769,"bs-attachment-list",{"ariaLabel":[1,"aria-label"],"canScrollRight":[32]}]]],["bs-avatar",[[513,"bs-avatar",{"type":[1],"size":[1],"initials":[1],"src":[1],"alt":[1],"ariaLabel":[1,"aria-label"],"disabled":[516]}]]],["bs-badge",[[769,"bs-badge",{"variant":[1]}]]],["bs-breadcrumb",[[769,"bs-breadcrumb",{"href":[1],"current":[516],"size":[513]}]]],["bs-breadcrumbs",[[769,"bs-breadcrumbs",{"label":[1],"size":[1]},null,{"size":[{"onSizeChange":0}]}]]],["bs-button-skeleton",[[513,"bs-button-skeleton",{"size":[1]}]]],["bs-card",[[769,"bs-card",{"surface":[1],"hasImage":[32]}]]],["bs-chatbot-feedback",[[513,"bs-chatbot-feedback",{"rating":[1538],"submitted":[1540],"comment":[1025],"heading":[1],"subtitle":[1]}]]],["bs-chatbot-response-action",[[769,"bs-chatbot-response-action",{"sourcesCount":[2,"sources-count"],"menuOpen":[1540,"menu-open"]},[[4,"click","onDocumentClick"],[4,"keydown","onKeydown"]]]]],["bs-chatbot-sources-drawer",[[769,"bs-chatbot-sources-drawer",{"heading":[1],"count":[2],"slottedCount":[32]}]]],["bs-chatbot-suggestion-button",[[769,"bs-chatbot-suggestion-button",{"disabled":[4]}]]],["bs-checkbox",[[785,"bs-checkbox",{"size":[1],"checked":[1540],"indeterminate":[1540],"disabled":[4],"error":[4],"ariaLabel":[1,"aria-label"]},null,{"indeterminate":[{"onIndeterminateChange":0}]}]]],["bs-checkbox-skeleton",[[513,"bs-checkbox-skeleton",{"size":[1]}]]],["bs-chip-filter",[[785,"bs-chip-filter",{"size":[1],"selected":[516],"dropdown":[4],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32]}]]],["bs-chip-informative",[[769,"bs-chip-informative",{"color":[1],"size":[1],"disabled":[516],"hasIcon":[32]}]]],["bs-chip-input",[[785,"bs-chip-input",{"size":[1],"selected":[1540],"disabled":[516],"hasIcon":[32],"labelText":[32]}]]],["bs-composer",[[785,"bs-composer",{"variant":[1],"placeholder":[1],"value":[1025],"state":[513],"ariaLabel":[1,"aria-label"],"hasAttachments":[32]}]]],["bs-composer-status-banner",[[769,"bs-composer-status-banner",{"type":[1],"message":[1],"showIcon":[4,"show-icon"],"showButton":[4,"show-button"],"actionLabel":[1,"action-label"],"allowClose":[4,"allow-close"]}]]],["bs-data-table",[[513,"bs-data-table",{"columns":[16],"rows":[16],"sortColumn":[1,"sort-column"],"sortDirection":[1,"sort-direction"],"selectable":[4],"cellRenderer":[16],"selectedIds":[32],"clearSelection":[64]}]]],["bs-inline-tab",[[769,"bs-inline-tab",{"selected":[516],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32]}]]],["bs-navigation-drawer-item",[[769,"bs-navigation-drawer-item",{"selected":[516],"expandable":[4],"expanded":[1540],"nested":[4],"ariaLabel":[1,"aria-label"],"collapsed":[516],"hasIcon":[32]}]]],["bs-pagination",[[513,"bs-pagination",{"totalPages":[2,"total-pages"],"currentPage":[1538,"current-page"],"siblingCount":[2,"sibling-count"],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"]}]]],["bs-progress",[[513,"bs-progress",{"type":[1],"size":[1],"strokeWidth":[2,"stroke-width"],"value":[2],"showLabel":[4,"show-label"]}]]],["bs-progress-linear",[[769,"bs-progress-linear",{"type":[1],"size":[1],"value":[2],"showLabel":[4,"show-label"],"hasLabelContent":[32]}]]],["bs-radio",[[785,"bs-radio",{"name":[1],"value":[1],"checked":[1540],"disabled":[4]}]]],["bs-slider",[[529,"bs-slider",{"type":[1],"showLabel":[4,"show-label"],"label":[1],"min":[2],"max":[2],"step":[2],"value":[1026],"valueStart":[1026,"value-start"],"valueEnd":[1026,"value-end"],"segments":[2],"disabled":[4],"ariaLabel":[1,"aria-label"]}]]],["bs-source-link",[[769,"bs-source-link",{"fileName":[1,"file-name"],"sourceName":[1,"source-name"],"version":[1],"href":[1],"target":[1]}]]],["bs-stepper",[[769,"bs-stepper",{"currentStep":[2,"current-step"],"direction":[513],"showDescription":[4,"show-description"]},null,{"currentStep":[{"onPropChange":0}],"direction":[{"onPropChange":0}],"showDescription":[{"onPropChange":0}]}]]],["bs-stepper-step",[[513,"bs-stepper-step",{"name":[1],"description":[1],"error":[4],"disabled":[4],"computedState":[1,"computed-state"],"direction":[1],"showDescription":[4,"show-description"]}]]],["bs-switch",[[785,"bs-switch",{"size":[1],"checked":[1540],"disabled":[4],"ariaLabel":[1,"aria-label"]}]]],["bs-tab",[[769,"bs-tab",{"selected":[516],"disabled":[4],"iconPosition":[1,"icon-position"],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32],"hasBadge":[32]}]]],["bs-tabs",[[769,"bs-tabs",{"type":[1],"orientation":[1]},[[0,"bsSelect","onTabSelect"]]]]],["bs-toast",[[769,"bs-toast",{"state":[1]}]]],["bs-button",[[785,"bs-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasEndIcon":[32],"hasLabel":[32]}]]],["bs-menu-item",[[769,"bs-menu-item",{"disabled":[4],"hasIcon":[32]}]]],["bs-tooltip",[[769,"bs-tooltip",{"placement":[1]}]]],["bs-logo",[[513,"bs-logo",{"variant":[1],"background":[1],"src":[1],"alt":[1]}]]],["bs-menu",[[257,"bs-menu"]]],["bs-icon-button",[[785,"bs-icon-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"]}]]]], options);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { defineCustomElements };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BsAccordionSize = 'medium' | 'large';
|
|
3
|
+
/**
|
|
4
|
+
* A single collapsible section -- a clickable header (optional leading icon, label, trailing
|
|
5
|
+
* caret) that reveals or hides a body content area.
|
|
6
|
+
*
|
|
7
|
+
* This component renders exactly one section. A consumer stacks multiple `bs-accordion` elements
|
|
8
|
+
* (optionally managing which one(s) are expanded, e.g. "only one open at a time") themselves --
|
|
9
|
+
* there's no accordion-group wrapper here, matching Figma's component which only specs the single
|
|
10
|
+
* section, not a group behavior.
|
|
11
|
+
*
|
|
12
|
+
* @slot - Default slot: the body/content area, shown below the header when expanded (and, unless
|
|
13
|
+
* `showPreview` is `false`, truncated to one line when collapsed).
|
|
14
|
+
* @slot label - The header's title text.
|
|
15
|
+
* @slot icon - Optional leading icon, overriding the default Plus glyph. Only rendered when
|
|
16
|
+
* `showIcon` is `true`.
|
|
17
|
+
* @part container - The outer wrapper.
|
|
18
|
+
* @part header - The clickable header row.
|
|
19
|
+
* @part icon - The leading icon wrapper.
|
|
20
|
+
* @part label - The label wrapper.
|
|
21
|
+
* @part caret - The trailing caret wrapper.
|
|
22
|
+
* @part content - The body content wrapper.
|
|
23
|
+
*/
|
|
24
|
+
export declare class BsAccordion {
|
|
25
|
+
/** Whether the section is expanded. This is the single source of truth for the component's
|
|
26
|
+
* visual state -- a controlled component, like a controlled `<input>`. Clicking (or
|
|
27
|
+
* keyboard-activating) the header never mutates this prop itself; it only emits `bsToggle` with
|
|
28
|
+
* the requested new value. If the consumer doesn't echo the change back via this prop (e.g.
|
|
29
|
+
* some validation rejects it), the rendering stays exactly as `expanded` says, rather than
|
|
30
|
+
* drifting into an internally-tracked truth -- same lesson as bs-chip-filter's `selected` prop.
|
|
31
|
+
* Reflected so consumers can target `bs-accordion[expanded]` via CSS. NOT `mutable: true`. */
|
|
32
|
+
expanded: boolean;
|
|
33
|
+
/** Sizing scale. Controls the leading icon box's dimensions and the header's vertical padding --
|
|
34
|
+
* the body content area's padding stays constant across sizes, matching the Figma spec. */
|
|
35
|
+
size: BsAccordionSize;
|
|
36
|
+
/** Disables the header: suppresses hover/focus/pressed styling, prevents toggling via click or
|
|
37
|
+
* keyboard, and removes it from the tab order. */
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
/** Shows the leading icon area (default Plus glyph, or the `icon` slot's content). When
|
|
40
|
+
* `false`, no icon box is reserved and the header/body padding tighten to the left edge. */
|
|
41
|
+
showIcon: boolean;
|
|
42
|
+
/** When collapsed, renders the body content truncated to a single line (pure CSS truncation of
|
|
43
|
+
* the same slotted content, not different content) instead of rendering nothing. Has no effect
|
|
44
|
+
* while expanded -- the full content always renders then, regardless of this prop. */
|
|
45
|
+
showPreview: boolean;
|
|
46
|
+
/** Emitted when the header is activated (click, or Enter/Space while focused), with the
|
|
47
|
+
* REQUESTED new expanded value (`!expanded`). Never fires while `disabled`. */
|
|
48
|
+
bsToggle: EventEmitter<boolean>;
|
|
49
|
+
private onActivate;
|
|
50
|
+
render(): any;
|
|
51
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import type { BsAccordionSize } from './bs-accordion';
|
|
3
|
+
interface BsAccordionArgs {
|
|
4
|
+
expanded: boolean;
|
|
5
|
+
size: BsAccordionSize;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
showIcon: boolean;
|
|
8
|
+
showPreview: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
content: string;
|
|
11
|
+
}
|
|
12
|
+
declare const meta: Meta<BsAccordionArgs>;
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<BsAccordionArgs>;
|
|
15
|
+
export declare const Default: Story;
|
|
16
|
+
export declare const Expanded: Story;
|
|
17
|
+
export declare const Large: Story;
|
|
18
|
+
export declare const NoIcon: Story;
|
|
19
|
+
export declare const NoPreview: Story;
|
|
20
|
+
export declare const Disabled: Story;
|
|
@@ -25,8 +25,13 @@ export declare class BsChipFilter {
|
|
|
25
25
|
/** Sizing scale. Controls the chip's height only -- icon size, gap, and font size stay
|
|
26
26
|
* constant across sizes, matching the Figma spec exactly. */
|
|
27
27
|
size: BsChipFilterSize;
|
|
28
|
-
/** Whether the chip reads as toggled on.
|
|
29
|
-
*
|
|
28
|
+
/** Whether the chip reads as toggled on. This is the single source of truth for the chip's
|
|
29
|
+
* visual state -- a controlled component, like a controlled `<input>`. Clicking the chip never
|
|
30
|
+
* mutates this prop itself; it only emits `bsChange` with the requested new value. If the
|
|
31
|
+
* consumer doesn't update `selected` in response (e.g. their own validation rejects the
|
|
32
|
+
* change), the chip's rendering stays exactly as `selected` says, rather than drifting into
|
|
33
|
+
* some internally-tracked truth. Reflected so consumers can target
|
|
34
|
+
* `bs-chip-filter[selected]` via CSS. */
|
|
30
35
|
selected: boolean;
|
|
31
36
|
/** Shows a trailing dropdown caret, signaling this chip opens a menu of further options.
|
|
32
37
|
* Purely a visual affordance -- wire up the actual menu (e.g. `bs-menu`) yourself. */
|
|
@@ -68,12 +68,21 @@ export declare class BsComposer {
|
|
|
68
68
|
* The field is a `<textarea>` (not a single-line `<input>`) that grows with its content, up to
|
|
69
69
|
* `--bs-composer-input-max-lines` (10 by default) -- beyond that it scrolls internally instead
|
|
70
70
|
* of growing further. Setting `value` as a prop (not just typing) also re-triggers the resize,
|
|
71
|
-
* so e.g. programmatically clearing the field after submit correctly shrinks it back down.
|
|
71
|
+
* so e.g. programmatically clearing the field after submit correctly shrinks it back down.
|
|
72
|
+
*
|
|
73
|
+
* Mutable: kept in sync with the real `<textarea>`'s content on every keystroke (see `onInput`),
|
|
74
|
+
* not pushed one-way from the outside only. Without this, typing alone never updates this prop,
|
|
75
|
+
* so a consumer re-setting `value` to e.g. `''` after the user had typed something would be a
|
|
76
|
+
* no-op (same as the never-updated internal value) and silently fail to clear the field. */
|
|
72
77
|
value: string;
|
|
73
78
|
/**
|
|
74
79
|
* Which of the four mutually-exclusive composer states to render: `idle` (send, enabled),
|
|
75
80
|
* `generating` (stop, while the AI is responding), `disabled` (send, but not interactive), or
|
|
76
81
|
* `recording` (voice input in progress -- shows a waveform and a confirm action).
|
|
82
|
+
*
|
|
83
|
+
* Reflects to a `state` attribute on the host, so a consumer can target a specific state from
|
|
84
|
+
* outside via a CSS attribute selector (e.g. `bs-composer[state="recording"]`) or by querying
|
|
85
|
+
* for it in JS, the same way `bs-input`'s `open` prop reflects.
|
|
77
86
|
*/
|
|
78
87
|
state: BsComposerState;
|
|
79
88
|
/**
|
|
@@ -122,6 +131,11 @@ export declare class BsComposer {
|
|
|
122
131
|
private resizeInput;
|
|
123
132
|
private onAttachmentsSlotchange;
|
|
124
133
|
private onInput;
|
|
134
|
+
/** Enter alone sends (re-using the exact same per-state action the primary button's own click
|
|
135
|
+
* handler performs), Shift+Enter inserts a normal newline -- standard chat-composer convention.
|
|
136
|
+
* No-ops while `disabled` (the native `disabled` attribute already blocks all input, but this
|
|
137
|
+
* guards the emit here too, for symmetry with the action button's own disabled check). */
|
|
138
|
+
private onInputKeydown;
|
|
125
139
|
private onAttachClick;
|
|
126
140
|
private onMicClick;
|
|
127
141
|
private onActionClick;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -51,5 +51,10 @@ export declare class BsDataTable {
|
|
|
51
51
|
private selectedIds;
|
|
52
52
|
private onHeaderClick;
|
|
53
53
|
private onRowCheckboxChange;
|
|
54
|
+
private onSelectAllChange;
|
|
55
|
+
/** Clears the current row selection and emits `bsRowSelect` for each row that was selected, so
|
|
56
|
+
* parent-held selection state stays in sync. Lets consumers reset selection without remounting
|
|
57
|
+
* the whole table. */
|
|
58
|
+
clearSelection(): Promise<void>;
|
|
54
59
|
render(): any;
|
|
55
60
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { BsAccordionSize } from "./components/bs-accordion/bs-accordion";
|
|
8
9
|
import { BsAttachmentType } from "./components/bs-attachment/bs-attachment";
|
|
9
10
|
import { BsAvatarSize, BsAvatarType } from "./components/bs-avatar/bs-avatar";
|
|
10
11
|
import { BsBadgeVariant } from "./components/bs-badge/bs-badge";
|
|
@@ -36,6 +37,7 @@ import { BsSwitchSize } from "./components/bs-switch/bs-switch";
|
|
|
36
37
|
import { BsTabIconPosition } from "./components/bs-tab/bs-tab/bs-tab";
|
|
37
38
|
import { BsTabsOrientation, BsTabsType } from "./components/bs-tab/bs-tabs/bs-tabs";
|
|
38
39
|
import { BsToastState } from "./components/bs-toast/bs-toast";
|
|
40
|
+
export { BsAccordionSize } from "./components/bs-accordion/bs-accordion";
|
|
39
41
|
export { BsAttachmentType } from "./components/bs-attachment/bs-attachment";
|
|
40
42
|
export { BsAvatarSize, BsAvatarType } from "./components/bs-avatar/bs-avatar";
|
|
41
43
|
export { BsBadgeVariant } from "./components/bs-badge/bs-badge";
|
|
@@ -68,6 +70,41 @@ export { BsTabIconPosition } from "./components/bs-tab/bs-tab/bs-tab";
|
|
|
68
70
|
export { BsTabsOrientation, BsTabsType } from "./components/bs-tab/bs-tabs/bs-tabs";
|
|
69
71
|
export { BsToastState } from "./components/bs-toast/bs-toast";
|
|
70
72
|
export namespace Components {
|
|
73
|
+
/**
|
|
74
|
+
* A single collapsible section -- a clickable header (optional leading icon, label, trailing
|
|
75
|
+
* caret) that reveals or hides a body content area.
|
|
76
|
+
* This component renders exactly one section. A consumer stacks multiple `bs-accordion` elements
|
|
77
|
+
* (optionally managing which one(s) are expanded, e.g. "only one open at a time") themselves --
|
|
78
|
+
* there's no accordion-group wrapper here, matching Figma's component which only specs the single
|
|
79
|
+
* section, not a group behavior.
|
|
80
|
+
*/
|
|
81
|
+
interface BsAccordion {
|
|
82
|
+
/**
|
|
83
|
+
* Disables the header: suppresses hover/focus/pressed styling, prevents toggling via click or keyboard, and removes it from the tab order.
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
"disabled": boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Whether the section is expanded. This is the single source of truth for the component's visual state -- a controlled component, like a controlled `<input>`. Clicking (or keyboard-activating) the header never mutates this prop itself; it only emits `bsToggle` with the requested new value. If the consumer doesn't echo the change back via this prop (e.g. some validation rejects it), the rendering stays exactly as `expanded` says, rather than drifting into an internally-tracked truth -- same lesson as bs-chip-filter's `selected` prop. Reflected so consumers can target `bs-accordion[expanded]` via CSS. NOT `mutable: true`.
|
|
89
|
+
* @default false
|
|
90
|
+
*/
|
|
91
|
+
"expanded": boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Shows the leading icon area (default Plus glyph, or the `icon` slot's content). When `false`, no icon box is reserved and the header/body padding tighten to the left edge.
|
|
94
|
+
* @default true
|
|
95
|
+
*/
|
|
96
|
+
"showIcon": boolean;
|
|
97
|
+
/**
|
|
98
|
+
* When collapsed, renders the body content truncated to a single line (pure CSS truncation of the same slotted content, not different content) instead of rendering nothing. Has no effect while expanded -- the full content always renders then, regardless of this prop.
|
|
99
|
+
* @default true
|
|
100
|
+
*/
|
|
101
|
+
"showPreview": boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Sizing scale. Controls the leading icon box's dimensions and the header's vertical padding -- the body content area's padding stays constant across sizes, matching the Figma spec.
|
|
104
|
+
* @default 'medium'
|
|
105
|
+
*/
|
|
106
|
+
"size": BsAccordionSize;
|
|
107
|
+
}
|
|
71
108
|
/**
|
|
72
109
|
* A centered caption disclaimer for Genie AI surfaces, e.g. "AI can make mistakes. Please verify
|
|
73
110
|
* important information."
|
|
@@ -820,7 +857,7 @@ export namespace Components {
|
|
|
820
857
|
*/
|
|
821
858
|
"dropdown": boolean;
|
|
822
859
|
/**
|
|
823
|
-
* Whether the chip reads as toggled on.
|
|
860
|
+
* Whether the chip reads as toggled on. This is the single source of truth for the chip's visual state -- a controlled component, like a controlled `<input>`. Clicking the chip never mutates this prop itself; it only emits `bsChange` with the requested new value. If the consumer doesn't update `selected` in response (e.g. their own validation rejects the change), the chip's rendering stays exactly as `selected` says, rather than drifting into some internally-tracked truth. Reflected so consumers can target `bs-chip-filter[selected]` via CSS.
|
|
824
861
|
* @default false
|
|
825
862
|
*/
|
|
826
863
|
"selected": boolean;
|
|
@@ -931,12 +968,12 @@ export namespace Components {
|
|
|
931
968
|
*/
|
|
932
969
|
"placeholder"?: string;
|
|
933
970
|
/**
|
|
934
|
-
* Which of the four mutually-exclusive composer states to render: `idle` (send, enabled), `generating` (stop, while the AI is responding), `disabled` (send, but not interactive), or `recording` (voice input in progress -- shows a waveform and a confirm action).
|
|
971
|
+
* Which of the four mutually-exclusive composer states to render: `idle` (send, enabled), `generating` (stop, while the AI is responding), `disabled` (send, but not interactive), or `recording` (voice input in progress -- shows a waveform and a confirm action). Reflects to a `state` attribute on the host, so a consumer can target a specific state from outside via a CSS attribute selector (e.g. `bs-composer[state="recording"]`) or by querying for it in JS, the same way `bs-input`'s `open` prop reflects.
|
|
935
972
|
* @default 'idle'
|
|
936
973
|
*/
|
|
937
974
|
"state": BsComposerState;
|
|
938
975
|
/**
|
|
939
|
-
* Current text value. Native `input` events don't cross the Shadow DOM boundary, so this component re-dispatches them as a `bsInput` custom event instead. The field is a `<textarea>` (not a single-line `<input>`) that grows with its content, up to `--bs-composer-input-max-lines` (10 by default) -- beyond that it scrolls internally instead of growing further. Setting `value` as a prop (not just typing) also re-triggers the resize, so e.g. programmatically clearing the field after submit correctly shrinks it back down.
|
|
976
|
+
* Current text value. Native `input` events don't cross the Shadow DOM boundary, so this component re-dispatches them as a `bsInput` custom event instead. The field is a `<textarea>` (not a single-line `<input>`) that grows with its content, up to `--bs-composer-input-max-lines` (10 by default) -- beyond that it scrolls internally instead of growing further. Setting `value` as a prop (not just typing) also re-triggers the resize, so e.g. programmatically clearing the field after submit correctly shrinks it back down. Mutable: kept in sync with the real `<textarea>`'s content on every keystroke (see `onInput`), not pushed one-way from the outside only. Without this, typing alone never updates this prop, so a consumer re-setting `value` to e.g. `''` after the user had typed something would be a no-op (same as the never-updated internal value) and silently fail to clear the field.
|
|
940
977
|
* @default ''
|
|
941
978
|
*/
|
|
942
979
|
"value": string;
|
|
@@ -1057,6 +1094,10 @@ export namespace Components {
|
|
|
1057
1094
|
* Optional custom cell renderer, e.g. for an actions column. Function props are JS-property-only, same as array props -- there is no attribute equivalent. Falls back to the raw cell value.
|
|
1058
1095
|
*/
|
|
1059
1096
|
"cellRenderer"?: (row: BsDataTableRow, column: BsDataTableColumn) => string;
|
|
1097
|
+
/**
|
|
1098
|
+
* Clears the current row selection and emits `bsRowSelect` for each row that was selected, so parent-held selection state stays in sync. Lets consumers reset selection without remounting the whole table.
|
|
1099
|
+
*/
|
|
1100
|
+
"clearSelection": () => Promise<void>;
|
|
1060
1101
|
/**
|
|
1061
1102
|
* Array prop -- must be set as a JS property (`el.columns = [...]`), not an HTML attribute, since attributes can only carry strings. See CONVENTIONS.md.
|
|
1062
1103
|
* @default []
|
|
@@ -2113,6 +2154,10 @@ export namespace Components {
|
|
|
2113
2154
|
"placement": 'top';
|
|
2114
2155
|
}
|
|
2115
2156
|
}
|
|
2157
|
+
export interface BsAccordionCustomEvent<T> extends CustomEvent<T> {
|
|
2158
|
+
detail: T;
|
|
2159
|
+
target: HTMLBsAccordionElement;
|
|
2160
|
+
}
|
|
2116
2161
|
export interface BsAttachmentCustomEvent<T> extends CustomEvent<T> {
|
|
2117
2162
|
detail: T;
|
|
2118
2163
|
target: HTMLBsAttachmentElement;
|
|
@@ -2218,6 +2263,31 @@ export interface BsToastCustomEvent<T> extends CustomEvent<T> {
|
|
|
2218
2263
|
target: HTMLBsToastElement;
|
|
2219
2264
|
}
|
|
2220
2265
|
declare global {
|
|
2266
|
+
interface HTMLBsAccordionElementEventMap {
|
|
2267
|
+
"bsToggle": boolean;
|
|
2268
|
+
}
|
|
2269
|
+
/**
|
|
2270
|
+
* A single collapsible section -- a clickable header (optional leading icon, label, trailing
|
|
2271
|
+
* caret) that reveals or hides a body content area.
|
|
2272
|
+
* This component renders exactly one section. A consumer stacks multiple `bs-accordion` elements
|
|
2273
|
+
* (optionally managing which one(s) are expanded, e.g. "only one open at a time") themselves --
|
|
2274
|
+
* there's no accordion-group wrapper here, matching Figma's component which only specs the single
|
|
2275
|
+
* section, not a group behavior.
|
|
2276
|
+
*/
|
|
2277
|
+
interface HTMLBsAccordionElement extends Components.BsAccordion, HTMLStencilElement {
|
|
2278
|
+
addEventListener<K extends keyof HTMLBsAccordionElementEventMap>(type: K, listener: (this: HTMLBsAccordionElement, ev: BsAccordionCustomEvent<HTMLBsAccordionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2279
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2280
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2281
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2282
|
+
removeEventListener<K extends keyof HTMLBsAccordionElementEventMap>(type: K, listener: (this: HTMLBsAccordionElement, ev: BsAccordionCustomEvent<HTMLBsAccordionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2283
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2284
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2285
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2286
|
+
}
|
|
2287
|
+
var HTMLBsAccordionElement: {
|
|
2288
|
+
prototype: HTMLBsAccordionElement;
|
|
2289
|
+
new (): HTMLBsAccordionElement;
|
|
2290
|
+
};
|
|
2221
2291
|
/**
|
|
2222
2292
|
* A centered caption disclaimer for Genie AI surfaces, e.g. "AI can make mistakes. Please verify
|
|
2223
2293
|
* important information."
|
|
@@ -3851,6 +3921,7 @@ declare global {
|
|
|
3851
3921
|
new (): HTMLBsTooltipElement;
|
|
3852
3922
|
};
|
|
3853
3923
|
interface HTMLElementTagNameMap {
|
|
3924
|
+
"bs-accordion": HTMLBsAccordionElement;
|
|
3854
3925
|
"bs-ai-disclaimer": HTMLBsAiDisclaimerElement;
|
|
3855
3926
|
"bs-ai-greeting": HTMLBsAiGreetingElement;
|
|
3856
3927
|
"bs-ai-thinking": HTMLBsAiThinkingElement;
|
|
@@ -3904,6 +3975,45 @@ declare global {
|
|
|
3904
3975
|
}
|
|
3905
3976
|
}
|
|
3906
3977
|
declare namespace LocalJSX {
|
|
3978
|
+
/**
|
|
3979
|
+
* A single collapsible section -- a clickable header (optional leading icon, label, trailing
|
|
3980
|
+
* caret) that reveals or hides a body content area.
|
|
3981
|
+
* This component renders exactly one section. A consumer stacks multiple `bs-accordion` elements
|
|
3982
|
+
* (optionally managing which one(s) are expanded, e.g. "only one open at a time") themselves --
|
|
3983
|
+
* there's no accordion-group wrapper here, matching Figma's component which only specs the single
|
|
3984
|
+
* section, not a group behavior.
|
|
3985
|
+
*/
|
|
3986
|
+
interface BsAccordion {
|
|
3987
|
+
/**
|
|
3988
|
+
* Disables the header: suppresses hover/focus/pressed styling, prevents toggling via click or keyboard, and removes it from the tab order.
|
|
3989
|
+
* @default false
|
|
3990
|
+
*/
|
|
3991
|
+
"disabled"?: boolean;
|
|
3992
|
+
/**
|
|
3993
|
+
* Whether the section is expanded. This is the single source of truth for the component's visual state -- a controlled component, like a controlled `<input>`. Clicking (or keyboard-activating) the header never mutates this prop itself; it only emits `bsToggle` with the requested new value. If the consumer doesn't echo the change back via this prop (e.g. some validation rejects it), the rendering stays exactly as `expanded` says, rather than drifting into an internally-tracked truth -- same lesson as bs-chip-filter's `selected` prop. Reflected so consumers can target `bs-accordion[expanded]` via CSS. NOT `mutable: true`.
|
|
3994
|
+
* @default false
|
|
3995
|
+
*/
|
|
3996
|
+
"expanded"?: boolean;
|
|
3997
|
+
/**
|
|
3998
|
+
* Emitted when the header is activated (click, or Enter/Space while focused), with the REQUESTED new expanded value (`!expanded`). Never fires while `disabled`.
|
|
3999
|
+
*/
|
|
4000
|
+
"onBsToggle"?: (event: BsAccordionCustomEvent<boolean>) => void;
|
|
4001
|
+
/**
|
|
4002
|
+
* Shows the leading icon area (default Plus glyph, or the `icon` slot's content). When `false`, no icon box is reserved and the header/body padding tighten to the left edge.
|
|
4003
|
+
* @default true
|
|
4004
|
+
*/
|
|
4005
|
+
"showIcon"?: boolean;
|
|
4006
|
+
/**
|
|
4007
|
+
* When collapsed, renders the body content truncated to a single line (pure CSS truncation of the same slotted content, not different content) instead of rendering nothing. Has no effect while expanded -- the full content always renders then, regardless of this prop.
|
|
4008
|
+
* @default true
|
|
4009
|
+
*/
|
|
4010
|
+
"showPreview"?: boolean;
|
|
4011
|
+
/**
|
|
4012
|
+
* Sizing scale. Controls the leading icon box's dimensions and the header's vertical padding -- the body content area's padding stays constant across sizes, matching the Figma spec.
|
|
4013
|
+
* @default 'medium'
|
|
4014
|
+
*/
|
|
4015
|
+
"size"?: BsAccordionSize;
|
|
4016
|
+
}
|
|
3907
4017
|
/**
|
|
3908
4018
|
* A centered caption disclaimer for Genie AI surfaces, e.g. "AI can make mistakes. Please verify
|
|
3909
4019
|
* important information."
|
|
@@ -4736,7 +4846,7 @@ declare namespace LocalJSX {
|
|
|
4736
4846
|
*/
|
|
4737
4847
|
"onBsChange"?: (event: BsChipFilterCustomEvent<boolean>) => void;
|
|
4738
4848
|
/**
|
|
4739
|
-
* Whether the chip reads as toggled on.
|
|
4849
|
+
* Whether the chip reads as toggled on. This is the single source of truth for the chip's visual state -- a controlled component, like a controlled `<input>`. Clicking the chip never mutates this prop itself; it only emits `bsChange` with the requested new value. If the consumer doesn't update `selected` in response (e.g. their own validation rejects the change), the chip's rendering stays exactly as `selected` says, rather than drifting into some internally-tracked truth. Reflected so consumers can target `bs-chip-filter[selected]` via CSS.
|
|
4740
4850
|
* @default false
|
|
4741
4851
|
*/
|
|
4742
4852
|
"selected"?: boolean;
|
|
@@ -4879,12 +4989,12 @@ declare namespace LocalJSX {
|
|
|
4879
4989
|
*/
|
|
4880
4990
|
"placeholder"?: string;
|
|
4881
4991
|
/**
|
|
4882
|
-
* Which of the four mutually-exclusive composer states to render: `idle` (send, enabled), `generating` (stop, while the AI is responding), `disabled` (send, but not interactive), or `recording` (voice input in progress -- shows a waveform and a confirm action).
|
|
4992
|
+
* Which of the four mutually-exclusive composer states to render: `idle` (send, enabled), `generating` (stop, while the AI is responding), `disabled` (send, but not interactive), or `recording` (voice input in progress -- shows a waveform and a confirm action). Reflects to a `state` attribute on the host, so a consumer can target a specific state from outside via a CSS attribute selector (e.g. `bs-composer[state="recording"]`) or by querying for it in JS, the same way `bs-input`'s `open` prop reflects.
|
|
4883
4993
|
* @default 'idle'
|
|
4884
4994
|
*/
|
|
4885
4995
|
"state"?: BsComposerState;
|
|
4886
4996
|
/**
|
|
4887
|
-
* Current text value. Native `input` events don't cross the Shadow DOM boundary, so this component re-dispatches them as a `bsInput` custom event instead. The field is a `<textarea>` (not a single-line `<input>`) that grows with its content, up to `--bs-composer-input-max-lines` (10 by default) -- beyond that it scrolls internally instead of growing further. Setting `value` as a prop (not just typing) also re-triggers the resize, so e.g. programmatically clearing the field after submit correctly shrinks it back down.
|
|
4997
|
+
* Current text value. Native `input` events don't cross the Shadow DOM boundary, so this component re-dispatches them as a `bsInput` custom event instead. The field is a `<textarea>` (not a single-line `<input>`) that grows with its content, up to `--bs-composer-input-max-lines` (10 by default) -- beyond that it scrolls internally instead of growing further. Setting `value` as a prop (not just typing) also re-triggers the resize, so e.g. programmatically clearing the field after submit correctly shrinks it back down. Mutable: kept in sync with the real `<textarea>`'s content on every keystroke (see `onInput`), not pushed one-way from the outside only. Without this, typing alone never updates this prop, so a consumer re-setting `value` to e.g. `''` after the user had typed something would be a no-op (same as the never-updated internal value) and silently fail to clear the field.
|
|
4888
4998
|
* @default ''
|
|
4889
4999
|
*/
|
|
4890
5000
|
"value"?: string;
|
|
@@ -6158,6 +6268,13 @@ declare namespace LocalJSX {
|
|
|
6158
6268
|
"placement"?: 'top';
|
|
6159
6269
|
}
|
|
6160
6270
|
|
|
6271
|
+
interface BsAccordionAttributes {
|
|
6272
|
+
"expanded": boolean;
|
|
6273
|
+
"size": BsAccordionSize;
|
|
6274
|
+
"disabled": boolean;
|
|
6275
|
+
"showIcon": boolean;
|
|
6276
|
+
"showPreview": boolean;
|
|
6277
|
+
}
|
|
6161
6278
|
interface BsAiGreetingAttributes {
|
|
6162
6279
|
"assistantName": string;
|
|
6163
6280
|
"productName": string;
|
|
@@ -6453,6 +6570,7 @@ declare namespace LocalJSX {
|
|
|
6453
6570
|
}
|
|
6454
6571
|
|
|
6455
6572
|
interface IntrinsicElements {
|
|
6573
|
+
"bs-accordion": Omit<BsAccordion, keyof BsAccordionAttributes> & { [K in keyof BsAccordion & keyof BsAccordionAttributes]?: BsAccordion[K] } & { [K in keyof BsAccordion & keyof BsAccordionAttributes as `attr:${K}`]?: BsAccordionAttributes[K] } & { [K in keyof BsAccordion & keyof BsAccordionAttributes as `prop:${K}`]?: BsAccordion[K] };
|
|
6456
6574
|
"bs-ai-disclaimer": BsAiDisclaimer;
|
|
6457
6575
|
"bs-ai-greeting": Omit<BsAiGreeting, keyof BsAiGreetingAttributes> & { [K in keyof BsAiGreeting & keyof BsAiGreetingAttributes]?: BsAiGreeting[K] } & { [K in keyof BsAiGreeting & keyof BsAiGreetingAttributes as `attr:${K}`]?: BsAiGreetingAttributes[K] } & { [K in keyof BsAiGreeting & keyof BsAiGreetingAttributes as `prop:${K}`]?: BsAiGreeting[K] };
|
|
6458
6576
|
"bs-ai-thinking": Omit<BsAiThinking, keyof BsAiThinkingAttributes> & { [K in keyof BsAiThinking & keyof BsAiThinkingAttributes]?: BsAiThinking[K] } & { [K in keyof BsAiThinking & keyof BsAiThinkingAttributes as `attr:${K}`]?: BsAiThinkingAttributes[K] } & { [K in keyof BsAiThinking & keyof BsAiThinkingAttributes as `prop:${K}`]?: BsAiThinking[K] };
|
|
@@ -6509,6 +6627,15 @@ export { LocalJSX as JSX };
|
|
|
6509
6627
|
declare module "@stencil/core" {
|
|
6510
6628
|
export namespace JSX {
|
|
6511
6629
|
interface IntrinsicElements {
|
|
6630
|
+
/**
|
|
6631
|
+
* A single collapsible section -- a clickable header (optional leading icon, label, trailing
|
|
6632
|
+
* caret) that reveals or hides a body content area.
|
|
6633
|
+
* This component renders exactly one section. A consumer stacks multiple `bs-accordion` elements
|
|
6634
|
+
* (optionally managing which one(s) are expanded, e.g. "only one open at a time") themselves --
|
|
6635
|
+
* there's no accordion-group wrapper here, matching Figma's component which only specs the single
|
|
6636
|
+
* section, not a group behavior.
|
|
6637
|
+
*/
|
|
6638
|
+
"bs-accordion": LocalJSX.IntrinsicElements["bs-accordion"] & JSXBase.HTMLAttributes<HTMLBsAccordionElement>;
|
|
6512
6639
|
/**
|
|
6513
6640
|
* A centered caption disclaimer for Genie AI surfaces, e.g. "AI can make mistakes. Please verify
|
|
6514
6641
|
* important information."
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as a}from"./p-CvfB8CQv.js";const s=class{constructor(a){t(this,a),this.bsSort=e(this,"bsSort"),this.bsRowSelect=e(this,"bsRowSelect")}columns=[];rows=[];sortColumn;sortDirection="asc";selectable=!1;cellRenderer;bsSort;bsRowSelect;selectedIds=new Set;onHeaderClick=t=>{t.sortable&&this.bsSort.emit({column:t.key,direction:this.sortColumn===t.key&&"asc"===this.sortDirection?"desc":"asc"})};onRowCheckboxChange=(t,e)=>{const a=e.target.checked,s=new Set(this.selectedIds);a?s.add(t.id):s.delete(t.id),this.selectedIds=s,this.bsRowSelect.emit({id:t.id,selected:a})};render(){return a("table",{key:"c997c047867ae5d446eda4f2ad5260bd956b4255",part:"table",class:"bs-data-table"},a("thead",{key:"bdbe3f8c07ef23115d3a8a32a15e84a02e162894",part:"head"},a("tr",{key:"84f7e89fefe44c680b397bd92bf2b8070e9b943d"},this.selectable&&a("th",{key:"925dbfa36580ef0818e2739ba602161668eedfd5",class:"bs-data-table__select-col"}),this.columns.map((t=>{const e=this.sortColumn===t.key;return a("th",{part:"header-cell",class:"bs-data-table__header-cell","aria-sort":t.sortable?e?"asc"===this.sortDirection?"ascending":"descending":"none":void 0},t.sortable?a("button",{type:"button",class:"bs-data-table__sort-button",onClick:()=>this.onHeaderClick(t)},t.label,e&&a("span",{class:"bs-data-table__sort-indicator"},"asc"===this.sortDirection?" ▲":" ▼")):t.label)})))),a("tbody",{key:"96985dc5ace9126094984bd1b876c5eb5209bb39",part:"body"},this.rows.map((t=>a("tr",{part:"row",class:"bs-data-table__row"},this.selectable&&a("td",{class:"bs-data-table__select-col"},a("input",{type:"checkbox",checked:this.selectedIds.has(t.id),onChange:e=>this.onRowCheckboxChange(t,e)})),this.columns.map((e=>this.cellRenderer?a("td",{part:"cell",class:"bs-data-table__cell",innerHTML:this.cellRenderer(t,e)}):a("td",{part:"cell",class:"bs-data-table__cell"},String(t[e.key]??"")))))))))}};s.style=":host{display:block}.bs-data-table{width:100%;border-collapse:collapse;font-family:inherit;font-size:var(--bs-font-size-sm);color:var(--bs-text-default)}.bs-data-table__header-cell{text-align:left;padding:var(--bs-spacing-200) var(--bs-spacing-300);border-bottom:1px solid var(--bs-border-default);font-weight:var(--bs-font-weight-semibold);color:var(--bs-text-secondary);white-space:nowrap}.bs-data-table__sort-button{display:inline-flex;align-items:center;border:none;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;user-select:none}.bs-data-table__sort-button:focus-visible{outline:2px solid var(--bs-border-neutral-focus);outline-offset:2px}.bs-data-table__sort-indicator{color:var(--bs-text-action)}.bs-data-table__row:hover{background:var(--bs-surface-hover)}.bs-data-table__cell{padding:var(--bs-spacing-200) var(--bs-spacing-300);border-bottom:1px solid var(--bs-border-default)}.bs-data-table__select-col{width:var(--bs-spacing-500);padding:var(--bs-spacing-200) var(--bs-spacing-300);border-bottom:1px solid var(--bs-border-default)}";export{s as bs_data_table}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,a as s,h as e}from"./p-CvfB8CQv.js";const r=class{constructor(s){a(this,s)}get el(){return s(this)}label="Breadcrumb";size="md";onSizeChange(a){this.propagateSize(a)}componentDidLoad(){this.propagateSize(this.size)}onSlotChange=()=>{this.propagateSize(this.size)};propagateSize(a){this.el.querySelectorAll(":scope > bs-breadcrumb, :scope > bs-breadcrumb-overflow").forEach((s=>{s.size=a}))}render(){return e("nav",{key:"1d2a884ed591fec3dd164c8bdf2a3050187f2fac","aria-label":this.label},e("ol",{key:"1b839b42f72a06a739733ca3a75303c0454f3a97",part:"list",class:"bs-breadcrumbs__list"},e("slot",{key:"58c829377cf81e2a429d103a7f372d2d5dadf8a5",onSlotchange:this.onSlotChange})))}static get watchers(){return{size:[{onSizeChange:0}]}}};r.style=":host{display:block;--bs-breadcrumbs-gap:var(--bs-spacing-50)}.bs-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;margin:0;padding:0;list-style:none;gap:var(--bs-breadcrumbs-gap)}";export{r as bs_breadcrumbs}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,a as t,h as b}from"./p-CvfB8CQv.js";const s=class{constructor(t){o(this,t)}get el(){return t(this)}variant="primary";size="md";disabled=!1;type="button";ariaLabel=null;hasIcon=!1;hasEndIcon=!1;hasLabel=!1;componentWillLoad(){this.hasIcon=this.hasSlottedContent("icon"),this.hasEndIcon=this.hasSlottedContent("end-icon"),this.hasLabel=this.hasSlottedContent(null)}hasSlottedContent(o){return Array.from(this.el.childNodes).some((t=>t.nodeType===Node.ELEMENT_NODE?t.getAttribute("slot")===o:null===o))}onIconSlotchange=o=>{this.hasIcon=o.target.assignedNodes().length>0};onEndIconSlotchange=o=>{this.hasEndIcon=o.target.assignedNodes().length>0};onLabelSlotchange=o=>{this.hasLabel=o.target.assignedNodes().length>0};render(){const o=(this.hasIcon||this.hasEndIcon)&&!this.hasLabel;return b("button",{key:"3820c965cff86109613dac0d6ffaf5ee0a926f26",class:`bs-button bs-button--${this.variant} bs-button--${this.size} ${o?"bs-button--icon-only":""} ${this.hasIcon&&!o?"bs-button--has-icon":""} ${this.hasEndIcon&&!o?"bs-button--has-end-icon":""}`,type:this.type,disabled:this.disabled,"aria-label":this.ariaLabel},b("span",{key:"b8fb25e26d96168d6676acc0c3fa1b4f3429e974",part:"icon",class:"bs-button__icon "+(this.hasIcon?"bs-button__icon--visible":"")},b("slot",{key:"cd5e33cf19f19b89c2f87153d20d32bf0d3dabb9",name:"icon",onSlotchange:this.onIconSlotchange})),b("span",{key:"91c9fd334013c495d2ec836619b9aecebc3c8e20",part:"label",class:"bs-button__label"},b("slot",{key:"c363d5d5004d2b2e9e5a4e09fa6cbe2ab87d9fff",onSlotchange:this.onLabelSlotchange})),b("span",{key:"29c1b4457efcfb9c11b0095279b77f3e97fa9988",part:"end-icon",class:"bs-button__end-icon "+(this.hasEndIcon?"bs-button__end-icon--visible":"")},b("slot",{key:"9a6d3c0fcc16d8b546e225d88ae4d6014e9b2e45",name:"end-icon",onSlotchange:this.onEndIconSlotchange})))}static get delegatesFocus(){return!0}};s.style=":host{display:inline-block;--bs-button-height-sm:var(--bs-spacing-500);--bs-button-height-md:var(--bs-spacing-600);--bs-button-height-lg:var(--bs-spacing-700);--bs-button-radius:var(--bs-border-radius-100);--bs-button-padding-x-icon-side:var(--bs-spacing-150);--bs-button-padding-x-label-side:var(--bs-spacing-250);--bs-button-error-default:var(--bs-color-error-default);--bs-button-error-hover:var(--bs-color-error-hover);--bs-button-error-focus:var(--bs-border-error-focus);--bs-button-error-pressed:var(--bs-color-error-pressed);--bs-button-error-disabled:var(--bs-surface-action-disabled);--bs-button-success-default:var(--bs-color-success-default);--bs-button-success-hover:var(--bs-color-success-hover);--bs-button-success-focus:var(--bs-border-success-focus);--bs-button-success-pressed:var(--bs-color-success-pressed);--bs-button-success-disabled:var(--bs-surface-action-disabled);--bs-button-warning-default:var(--bs-color-warning-default);--bs-button-warning-hover:var(--bs-color-warning-hover);--bs-button-warning-focus:var(--bs-border-warning-focus);--bs-button-warning-pressed:var(--bs-color-warning-pressed);--bs-button-warning-disabled:var(--bs-surface-action-disabled);--bs-button-info-default:var(--bs-color-info-default);--bs-button-info-hover:var(--bs-color-info-hover);--bs-button-info-focus:var(--bs-border-info-focus);--bs-button-info-pressed:var(--bs-color-info-pressed);--bs-button-info-disabled:var(--bs-surface-action-disabled);--bs-button-subtle-hover:var(--bs-color-neutral-container);--bs-button-subtle-pressed:var(--bs-color-neutral-container-pressed);--bs-button-subtle-focus:var(--bs-border-primary-focus);--bs-button-neutral-border:var(--bs-border-neutral-container);--bs-button-neutral-border-hover:var(--bs-border-neutral-container-hover);--bs-button-neutral-border-pressed:var(--bs-border-neutral-container-pressed);--bs-button-neutral-hover:var(--bs-color-neutral-container-hover);--bs-button-neutral-pressed:var(--bs-color-neutral-container-pressed);--bs-button-outlined-border:var(--bs-border-primary);--bs-button-outlined-border-hover:var(--bs-border-primary-hover);--bs-button-outlined-focus:var(--bs-border-primary-focus);--bs-button-outlined-container:var(--bs-color-primary-container)}.bs-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:none;border-radius:var(--bs-button-radius);font-family:inherit;font-weight:var(--bs-font-weight-regular);cursor:pointer;transition:background-color var(--bs-duration-fast, 120ms) var(--bs-easing-standard, ease)}.bs-button:focus-visible{outline:2px solid var(--bs-border-neutral-focus);outline-offset:2px}.bs-button:disabled{cursor:not-allowed}.bs-button--sm{height:var(--bs-button-height-sm);padding:0 var(--bs-spacing-300);font-size:var(--bs-font-size-sm)}.bs-button--md{height:var(--bs-button-height-md);padding:0 var(--bs-spacing-200);font-size:var(--bs-font-size-md)}.bs-button--lg{height:var(--bs-button-height-lg);padding:0 var(--bs-spacing-500);font-size:var(--bs-font-size-lg)}.bs-button--primary{background:var(--bs-button-primary-default);color:var(--bs-text-on-action)}.bs-button--primary:hover:not(:disabled){background:var(--bs-button-primary-hover)}.bs-button--primary:active:not(:disabled){background:var(--bs-button-primary-pressed)}.bs-button--primary:disabled{background:var(--bs-button-primary-disabled);color:var(--bs-text-on-disabled)}.bs-button--neutral{background:var(--bs-button-neutral-container);color:var(--bs-text-default);border:1px solid var(--bs-button-neutral-border)}.bs-button--neutral:hover:not(:disabled){background:var(--bs-button-neutral-hover);border-color:var(--bs-button-neutral-border-hover)}.bs-button--neutral:active:not(:disabled){background:var(--bs-button-neutral-pressed);border-color:var(--bs-button-neutral-border-pressed)}.bs-button--neutral:disabled{background:var(--bs-button-neutral-disabled);color:var(--bs-text-on-disabled);border-color:var(--bs-button-neutral-border)}.bs-button--error{background:var(--bs-button-error-default);color:var(--bs-text-on-action)}.bs-button--error:hover:not(:disabled){background:var(--bs-button-error-hover)}.bs-button--error:active:not(:disabled){background:var(--bs-button-error-pressed)}.bs-button--error:disabled{background:var(--bs-button-error-disabled);color:var(--bs-text-on-disabled)}.bs-button--error:focus-visible{outline-color:var(--bs-button-error-focus)}.bs-button--success{background:var(--bs-button-success-default);color:var(--bs-text-on-action)}.bs-button--success:hover:not(:disabled){background:var(--bs-button-success-hover)}.bs-button--success:active:not(:disabled){background:var(--bs-button-success-pressed)}.bs-button--success:disabled{background:var(--bs-button-success-disabled);color:var(--bs-text-on-disabled)}.bs-button--success:focus-visible{outline-color:var(--bs-button-success-focus)}.bs-button--warning{background:var(--bs-button-warning-default);color:var(--bs-text-on-action)}.bs-button--warning:hover:not(:disabled){background:var(--bs-button-warning-hover)}.bs-button--warning:active:not(:disabled){background:var(--bs-button-warning-pressed)}.bs-button--warning:disabled{background:var(--bs-button-warning-disabled);color:var(--bs-text-on-disabled)}.bs-button--warning:focus-visible{outline-color:var(--bs-button-warning-focus)}.bs-button--info{background:var(--bs-button-info-default);color:var(--bs-text-on-action)}.bs-button--info:hover:not(:disabled){background:var(--bs-button-info-hover)}.bs-button--info:active:not(:disabled){background:var(--bs-button-info-pressed)}.bs-button--info:disabled{background:var(--bs-button-info-disabled);color:var(--bs-text-on-disabled)}.bs-button--info:focus-visible{outline-color:var(--bs-button-info-focus)}.bs-button--subtle{background:transparent;color:var(--bs-color-neutral-default)}.bs-button--subtle:hover:not(:disabled){background:var(--bs-button-subtle-hover)}.bs-button--subtle:active:not(:disabled){background:var(--bs-button-subtle-pressed)}.bs-button--subtle:disabled{background:transparent;color:var(--bs-text-on-disabled)}.bs-button--subtle:focus-visible{outline-color:var(--bs-button-subtle-focus);background:var(--bs-button-subtle-hover)}.bs-button--outlined{background:transparent;color:var(--bs-color-primary-default);border:1.5px solid var(--bs-button-outlined-border)}.bs-button--outlined:hover:not(:disabled){background:var(--bs-button-outlined-container);border-color:var(--bs-button-outlined-border-hover)}.bs-button--outlined:active:not(:disabled){background:var(--bs-button-outlined-container);color:var(--bs-color-primary-pressed);border-color:var(--bs-button-outlined-border-hover)}.bs-button--outlined:disabled{opacity:var(--bs-opacity-disabled);cursor:not-allowed}.bs-button--outlined:focus-visible{outline-color:var(--bs-button-outlined-focus)}.bs-button__icon--visible{margin-right:var(--bs-spacing-50)}.bs-button__end-icon--visible{margin-left:var(--bs-spacing-50)}.bs-button__icon ::slotted(*),.bs-button__end-icon ::slotted(*){display:block;width:1em;height:1em}.bs-button--icon-only{padding:0;aspect-ratio:1 / 1}.bs-button--icon-only .bs-button__icon--visible{margin-right:0}.bs-button--icon-only .bs-button__end-icon--visible{margin-left:0}.bs-button--has-icon:not(.bs-button--has-end-icon){padding-left:var(--bs-button-padding-x-icon-side);padding-right:var(--bs-button-padding-x-label-side)}.bs-button--has-end-icon:not(.bs-button--has-icon){padding-left:var(--bs-button-padding-x-label-side);padding-right:var(--bs-button-padding-x-icon-side)}.bs-button--has-icon.bs-button--has-end-icon{padding-left:var(--bs-button-padding-x-icon-side);padding-right:var(--bs-button-padding-x-icon-side)}";export{s as bs_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,c as s,a as e,h as r}from"./p-CvfB8CQv.js";const t={ai:"Ask Genie something...",human:"Message your support agent..."},a=[6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,18,14,34,22,22,10,28,18,12,24,6,20,30,14,8,26,16,32,10,22,18,12,28,8,20,14,24,10,16,30,12,22,6,18,26,8,14,32,20,10,24,6],i=class{constructor(e){o(this,e),this.bsInput=s(this,"bsInput"),this.bsSubmit=s(this,"bsSubmit"),this.bsStop=s(this,"bsStop"),this.bsVoiceConfirm=s(this,"bsVoiceConfirm"),this.bsAttach=s(this,"bsAttach"),this.bsMicToggle=s(this,"bsMicToggle")}get el(){return e(this)}inputEl;variant="ai";placeholder;value="";state="idle";ariaLabel=null;hasAttachments=!1;bsInput;bsSubmit;bsStop;bsVoiceConfirm;bsAttach;bsMicToggle;componentWillLoad(){this.hasAttachments=Array.from(this.el.childNodes).some((o=>o.nodeType===Node.ELEMENT_NODE&&"attachments"===o.getAttribute("slot")))}componentDidLoad(){this.resizeInput()}componentDidUpdate(){this.resizeInput()}resizeInput(){this.inputEl&&(this.inputEl.style.height="auto",this.inputEl.style.height=`${this.inputEl.scrollHeight}px`)}onAttachmentsSlotchange=o=>{this.hasAttachments=o.target.assignedNodes().length>0};onInput=o=>{const s=o.target.value;this.resizeInput(),this.bsInput.emit(s)};onAttachClick=()=>{this.bsAttach.emit()};onMicClick=()=>{this.bsMicToggle.emit()};onActionClick=()=>{"idle"===this.state?this.bsSubmit.emit():"generating"===this.state?this.bsStop.emit():"recording"===this.state&&this.bsVoiceConfirm.emit()};actionLabel(){return"generating"===this.state?"Stop":"recording"===this.state?"Confirm":"Send"}renderActionIcon(){return r("generating"===this.state?d:"recording"===this.state?l:b,null)}render(){const o=this.placeholder??t[this.variant],s="disabled"===this.state,e="recording"===this.state;return r("div",{key:"f4676a3c110cd683f745e3b0e4d37d8abcab06c5",class:`bs-composer bs-composer--${this.state} bs-composer--${this.variant}`},r("div",{key:"7970d493b0c0f9ef19f00fea2d33b58085f589e6",part:"attachments",class:"bs-composer__attachments-row "+(this.hasAttachments?"bs-composer__attachments-row--visible":"")},r("slot",{key:"4b53a6cfd1d7d0e7cf0fa0d5e4f37fb551f4bcd4",name:"attachments",onSlotchange:this.onAttachmentsSlotchange})),r("div",{key:"44fa49b002b657accd21a01e75cd5458dba337a8",class:"bs-composer__text-row"},r("textarea",{key:"8fde6e735be83c28a38a59437ad9b2453bc6d074",ref:o=>this.inputEl=o,part:"input",class:"bs-composer__input",rows:1,value:this.value,placeholder:o,disabled:s,"aria-label":this.ariaLabel,onInput:this.onInput})),r("div",{key:"6f7a9e1a33d642e3ce847c8df03bc7e119696bbe",class:"bs-composer__controls-row"},r("button",{key:"3b98d1c4e50373318b64d91e259e22d54cced5a7",type:"button",part:"attach",class:"bs-composer__attach","aria-label":"Attach",onClick:this.onAttachClick},r(c,{key:"e80e96ec1ea18d5eec08f77d9601c174382aafbd"})),e?r("span",{class:"bs-composer__waveform","aria-hidden":"true"},a.map((o=>r("span",{class:"bs-composer__waveform-bar",style:{"--bs-composer-bar-height":`${o}px`}})))):r("span",{class:"bs-composer__spacer"}),r("button",{key:"6dc198b201f3df52a9646146ea4ddfc3d921ca72",type:"button",part:"mic",class:"bs-composer__mic "+(e?"bs-composer__mic--recording":""),"aria-label":e?"Stop recording":"Start voice input",disabled:s,onClick:this.onMicClick},r(e?d:n,null)),r("button",{key:"a7e626d35aa9cc0b9e2bd67ced5961671cdd7850",type:"button",part:"action",class:`bs-composer__action bs-composer__action--${this.state}`,"aria-label":this.actionLabel(),disabled:s,onClick:this.onActionClick},this.renderActionIcon()),r("slot",{key:"3f81510829b313a0088b7a4ea6f70c41dce16e77",name:"actions-end"})))}static get delegatesFocus(){return!0}},c=()=>r("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("path",{d:"M8 2.5V13.5M2.5 8H13.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})),n=()=>r("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("path",{d:"M8 9.5C9.10457 9.5 10 8.60457 10 7.5V3.5C10 2.39543 9.10457 1.5 8 1.5C6.89543 1.5 6 2.39543 6 3.5V7.5C6 8.60457 6.89543 9.5 8 9.5Z",stroke:"currentColor","stroke-width":"1.4"}),r("path",{d:"M3.5 7V7.5C3.5 9.98528 5.51472 12 8 12C10.4853 12 12.5 9.98528 12.5 7.5V7",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"}),r("path",{d:"M8 12V14.5",stroke:"currentColor","stroke-width":"1.4","stroke-linecap":"round"})),b=()=>r("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("path",{d:"M13.5 12H7.5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M4.54594 20.745C4.4932 20.889 4.48589 21.0457 4.52499 21.1941C4.56409 21.3424 4.64771 21.4751 4.76459 21.5744C4.88147 21.6737 5.02599 21.7348 5.17866 21.7494C5.33133 21.7641 5.48482 21.7315 5.61844 21.6562L21.3684 12.6478C21.4857 12.583 21.5834 12.4879 21.6514 12.3725C21.7195 12.2571 21.7553 12.1255 21.7553 11.9916C21.7553 11.8576 21.7195 11.7261 21.6514 11.6107C21.5834 11.4952 21.4857 11.4002 21.3684 11.3353L5.61844 2.34937C5.48523 2.27487 5.33245 2.24278 5.18052 2.2574C5.02859 2.27201 4.88474 2.33264 4.76817 2.43117C4.65161 2.5297 4.56788 2.66145 4.52817 2.80882C4.48846 2.9562 4.49466 3.11218 4.54594 3.25594L7.5 12L4.54594 20.745Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})),d=()=>r("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("rect",{x:"6",y:"6",width:"8",height:"8",rx:"1.5",fill:"currentColor"})),l=()=>r("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("path",{d:"M4.5 10.5L8 14L15.5 6",stroke:"currentColor","stroke-width":"1.75","stroke-linecap":"round","stroke-linejoin":"round"}));i.style=":host{display:block;--bs-composer-radius:var(--bs-border-radius-150);--bs-composer-button-radius:var(--bs-border-radius-100);--bs-composer-button-size:var(--bs-spacing-600);--bs-composer-bg:var(--bs-input-bg-default);--bs-composer-border:var(--bs-input-border-default);--bs-composer-border-focus:var(--bs-input-border-focus);--bs-composer-action-bg:var(--bs-color-primary-default);--bs-composer-action-bg-hover:var(--bs-color-primary-hover);--bs-composer-action-bg-pressed:var(--bs-color-primary-pressed);--bs-composer-action-bg-disabled:var(--bs-surface-action-disabled);--bs-composer-action-icon:var(--bs-text-on-action);--bs-composer-action-icon-disabled:var(--bs-text-on-disabled);--bs-composer-attach-icon:var(--bs-icon-default);--bs-composer-mic-icon:var(--bs-icon-default);--bs-composer-mic-icon-disabled:var(--bs-icon-disabled);--bs-composer-mic-recording-icon:var(--bs-icon-default);--bs-composer-subtle-hover:var(--bs-color-neutral-container);--bs-composer-subtle-pressed:var(--bs-color-neutral-container-pressed);--bs-composer-waveform-color:var(--bs-border-default);--bs-composer-input-max-lines:10}.bs-composer{box-sizing:border-box;display:flex;flex-direction:column;border:1px solid var(--bs-composer-border);border-radius:var(--bs-composer-radius);background:var(--bs-composer-bg);font-family:inherit}.bs-composer--human{border-style:dashed}.bs-composer:focus-within{border-color:var(--bs-composer-border-focus)}.bs-composer__attachments-row{display:none}.bs-composer__attachments-row--visible{display:block}.bs-composer__text-row{display:flex;align-items:center;gap:var(--bs-spacing-150);padding:var(--bs-spacing-150)}.bs-composer__input{flex:1;min-width:0;box-sizing:border-box;padding:0;border:none;outline:none;resize:none;background:transparent;color:var(--bs-input-text);font-family:inherit;font-size:var(--bs-font-size-md);line-height:calc(var(--bs-line-height-body-md) * 1px);max-height:calc(var(--bs-composer-input-max-lines) * var(--bs-line-height-body-md) * 1px);overflow-y:auto}.bs-composer__input::placeholder{color:var(--bs-input-placeholder)}.bs-composer__input:disabled{color:var(--bs-input-text-disabled);cursor:not-allowed}.bs-composer__waveform{display:inline-flex;flex:1;min-width:0;align-items:center;justify-content:center;gap:3px;overflow:hidden}.bs-composer__waveform-bar{display:inline-block;flex-shrink:0;width:2.5px;border-radius:1.5px;background:var(--bs-composer-waveform-color);height:var(--bs-composer-bar-height, 6px)}.bs-composer__controls-row{display:flex;align-items:center;gap:var(--bs-spacing-200);padding:var(--bs-spacing-150)}.bs-composer__spacer{flex:1}.bs-composer__attach,.bs-composer__mic,.bs-composer__action{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:none;padding:0;cursor:pointer;font-family:inherit;border-radius:var(--bs-composer-button-radius);width:var(--bs-composer-button-size);height:var(--bs-composer-button-size);flex-shrink:0;transition:background-color var(--bs-duration-fast) var(--bs-easing-standard)}.bs-composer__attach:focus-visible,.bs-composer__mic:focus-visible,.bs-composer__action:focus-visible{outline:2px solid var(--bs-border-neutral-focus);outline-offset:2px}.bs-composer__attach svg,.bs-composer__mic svg,.bs-composer__action svg{width:24px;height:24px}.bs-composer__attach,.bs-composer__mic{background:transparent}.bs-composer__attach:hover:not(:disabled),.bs-composer__mic:hover:not(:disabled){background:var(--bs-composer-subtle-hover)}.bs-composer__attach:active:not(:disabled),.bs-composer__mic:active:not(:disabled){background:var(--bs-composer-subtle-pressed)}.bs-composer__attach{color:var(--bs-composer-attach-icon)}.bs-composer__mic{color:var(--bs-composer-mic-icon)}.bs-composer__mic--recording{color:var(--bs-composer-mic-recording-icon)}.bs-composer__mic:disabled{color:var(--bs-composer-mic-icon-disabled);cursor:not-allowed}.bs-composer__action{background:var(--bs-composer-action-bg);color:var(--bs-composer-action-icon)}.bs-composer__action:hover:not(:disabled){background:var(--bs-composer-action-bg-hover)}.bs-composer__action:active:not(:disabled){background:var(--bs-composer-action-bg-pressed)}.bs-composer__action:disabled{background:var(--bs-composer-action-bg-disabled);color:var(--bs-composer-action-icon-disabled);cursor:not-allowed}";export{i as bs_composer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,a as n,h as t}from"./p-CvfB8CQv.js";const r=class{constructor(n){o(this,n)}get el(){return n(this)}variant="primary";size="md";disabled=!1;type="button";ariaLabel=null;render(){return t("button",{key:"59709048e7339610a80a8c19ee55276d420a21db",class:`bs-icon-button bs-icon-button--${this.variant} bs-icon-button--${this.size}`,type:this.type,disabled:this.disabled,"aria-label":this.ariaLabel},t("span",{key:"008f553d50091ba49f568d82de27a35871b9a66d",part:"icon",class:"bs-icon-button__icon"},t("slot",{key:"5365a00665a7de5a64af0793862552a1057ac110"})))}static get delegatesFocus(){return!0}};r.style=":host{display:inline-block;--bs-icon-button-radius:var(--bs-border-radius-100);--bs-icon-button-size-sm:40px;--bs-icon-button-size-md:44px;--bs-icon-button-size-lg:48px;--bs-icon-button-icon-size-sm:16px;--bs-icon-button-icon-size-md:20px;--bs-icon-button-icon-size-lg:24px;--bs-icon-button-padding:var(--bs-spacing-150);--bs-icon-button-radius-xs:var(--bs-border-radius-50);--bs-icon-button-size-xs:16px;--bs-icon-button-icon-size-xs:8px;--bs-icon-button-padding-xs:var(--bs-spacing-50);--bs-icon-button-primary-default:var(--bs-color-primary-default);--bs-icon-button-primary-hover:var(--bs-color-primary-hover);--bs-icon-button-primary-pressed:var(--bs-color-primary-pressed);--bs-icon-button-primary-disabled:var(--bs-surface-action-disabled);--bs-icon-button-neutral-container:var(--bs-color-neutral-container);--bs-icon-button-neutral-hover:var(--bs-color-neutral-container-hover);--bs-icon-button-neutral-pressed:var(--bs-color-neutral-container-pressed);--bs-icon-button-neutral-border:var(--bs-border-neutral-container);--bs-icon-button-neutral-border-hover:var(--bs-border-neutral-container-hover);--bs-icon-button-neutral-border-pressed:var(--bs-border-neutral-container-pressed);--bs-icon-button-subtle-hover:var(--bs-color-neutral-container);--bs-icon-button-subtle-pressed:var(--bs-color-neutral-container-pressed);--bs-icon-button-subtle-focus:var(--bs-border-primary-focus);--bs-icon-button-outlined-border:var(--bs-border-primary);--bs-icon-button-outlined-border-hover:var(--bs-border-primary-hover);--bs-icon-button-outlined-container:var(--bs-color-primary-container);--bs-icon-button-outlined-focus:var(--bs-border-primary-focus);--bs-icon-button-success-default:var(--bs-color-success-default);--bs-icon-button-success-hover:var(--bs-color-success-hover);--bs-icon-button-success-pressed:var(--bs-color-success-pressed);--bs-icon-button-success-disabled:var(--bs-surface-action-disabled);--bs-icon-button-success-focus:var(--bs-border-success-focus);--bs-icon-button-warning-default:var(--bs-color-warning-default);--bs-icon-button-warning-hover:var(--bs-color-warning-hover);--bs-icon-button-warning-pressed:var(--bs-color-warning-pressed);--bs-icon-button-warning-disabled:var(--bs-surface-action-disabled);--bs-icon-button-warning-focus:var(--bs-border-warning-focus);--bs-icon-button-info-default:var(--bs-color-info-default);--bs-icon-button-info-hover:var(--bs-color-info-hover);--bs-icon-button-info-pressed:var(--bs-color-info-pressed);--bs-icon-button-info-disabled:var(--bs-surface-action-disabled);--bs-icon-button-info-focus:var(--bs-border-info-focus);--bs-icon-button-error-default:var(--bs-color-error-default);--bs-icon-button-error-hover:var(--bs-color-error-hover);--bs-icon-button-error-pressed:var(--bs-color-error-pressed);--bs-icon-button-error-disabled:var(--bs-surface-action-disabled);--bs-icon-button-error-focus:var(--bs-border-error-focus)}.bs-icon-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:none;border-radius:var(--bs-icon-button-radius);padding:var(--bs-icon-button-padding);cursor:pointer;transition:background-color var(--bs-duration-fast, 120ms) var(--bs-easing-standard, ease)}.bs-icon-button:focus-visible{outline:2px solid var(--bs-border-neutral-focus);outline-offset:2px}.bs-icon-button:disabled{cursor:not-allowed}.bs-icon-button--xs{width:var(--bs-icon-button-size-xs);height:var(--bs-icon-button-size-xs);padding:var(--bs-icon-button-padding-xs);border-radius:var(--bs-icon-button-radius-xs)}.bs-icon-button--xs .bs-icon-button__icon{width:var(--bs-icon-button-icon-size-xs);height:var(--bs-icon-button-icon-size-xs)}.bs-icon-button--sm{width:var(--bs-icon-button-size-sm);height:var(--bs-icon-button-size-sm)}.bs-icon-button--sm .bs-icon-button__icon{width:var(--bs-icon-button-icon-size-sm);height:var(--bs-icon-button-icon-size-sm)}.bs-icon-button--md{width:var(--bs-icon-button-size-md);height:var(--bs-icon-button-size-md)}.bs-icon-button--md .bs-icon-button__icon{width:var(--bs-icon-button-icon-size-md);height:var(--bs-icon-button-icon-size-md)}.bs-icon-button--lg{width:var(--bs-icon-button-size-lg);height:var(--bs-icon-button-size-lg)}.bs-icon-button--lg .bs-icon-button__icon{width:var(--bs-icon-button-icon-size-lg);height:var(--bs-icon-button-icon-size-lg)}.bs-icon-button__icon{display:inline-flex;align-items:center;justify-content:center;color:inherit}.bs-icon-button__icon ::slotted(*){display:block;width:100%;height:100%}.bs-icon-button--primary{background:var(--bs-icon-button-primary-default);color:var(--bs-text-on-action)}.bs-icon-button--primary:hover:not(:disabled){background:var(--bs-icon-button-primary-hover)}.bs-icon-button--primary:active:not(:disabled){background:var(--bs-icon-button-primary-pressed)}.bs-icon-button--primary:disabled{background:var(--bs-icon-button-primary-disabled);color:var(--bs-text-on-disabled)}.bs-icon-button--neutral{background:var(--bs-icon-button-neutral-container);color:var(--bs-text-default);border:1px solid var(--bs-icon-button-neutral-border)}.bs-icon-button--neutral:hover:not(:disabled){background:var(--bs-icon-button-neutral-hover);border-color:var(--bs-icon-button-neutral-border-hover)}.bs-icon-button--neutral:active:not(:disabled){background:var(--bs-icon-button-neutral-pressed);border-color:var(--bs-icon-button-neutral-border-pressed)}.bs-icon-button--neutral:disabled{background:var(--bs-icon-button-neutral-container);color:var(--bs-text-on-disabled);border-color:var(--bs-icon-button-neutral-border)}.bs-icon-button--error{background:var(--bs-icon-button-error-default);color:var(--bs-text-on-action)}.bs-icon-button--error:hover:not(:disabled){background:var(--bs-icon-button-error-hover)}.bs-icon-button--error:active:not(:disabled){background:var(--bs-icon-button-error-pressed)}.bs-icon-button--error:disabled{background:var(--bs-icon-button-error-disabled);color:var(--bs-text-on-disabled)}.bs-icon-button--error:focus-visible{outline-color:var(--bs-icon-button-error-focus)}.bs-icon-button--success{background:var(--bs-icon-button-success-default);color:var(--bs-text-on-action)}.bs-icon-button--success:hover:not(:disabled){background:var(--bs-icon-button-success-hover)}.bs-icon-button--success:active:not(:disabled){background:var(--bs-icon-button-success-pressed)}.bs-icon-button--success:disabled{background:var(--bs-icon-button-success-disabled);color:var(--bs-text-on-disabled)}.bs-icon-button--success:focus-visible{outline-color:var(--bs-icon-button-success-focus)}.bs-icon-button--warning{background:var(--bs-icon-button-warning-default);color:var(--bs-text-on-action)}.bs-icon-button--warning:hover:not(:disabled){background:var(--bs-icon-button-warning-hover)}.bs-icon-button--warning:active:not(:disabled){background:var(--bs-icon-button-warning-pressed)}.bs-icon-button--warning:disabled{background:var(--bs-icon-button-warning-disabled);color:var(--bs-text-on-disabled)}.bs-icon-button--warning:focus-visible{outline-color:var(--bs-icon-button-warning-focus)}.bs-icon-button--info{background:var(--bs-icon-button-info-default);color:var(--bs-text-on-action)}.bs-icon-button--info:hover:not(:disabled){background:var(--bs-icon-button-info-hover)}.bs-icon-button--info:active:not(:disabled){background:var(--bs-icon-button-info-pressed)}.bs-icon-button--info:disabled{background:var(--bs-icon-button-info-disabled);color:var(--bs-text-on-disabled)}.bs-icon-button--info:focus-visible{outline-color:var(--bs-icon-button-info-focus)}.bs-icon-button--subtle{background:transparent;color:var(--bs-icon-neutral-default)}.bs-icon-button--subtle:hover:not(:disabled){background:var(--bs-icon-button-subtle-hover)}.bs-icon-button--subtle:active:not(:disabled){background:var(--bs-icon-button-subtle-pressed)}.bs-icon-button--subtle:disabled{background:transparent;color:var(--bs-text-on-disabled)}.bs-icon-button--subtle:focus-visible{outline-color:var(--bs-icon-button-subtle-focus);background:var(--bs-icon-button-subtle-hover)}.bs-icon-button--outlined{background:transparent;color:var(--bs-color-primary-default);border:1.5px solid var(--bs-icon-button-outlined-border)}.bs-icon-button--outlined:hover:not(:disabled){background:var(--bs-icon-button-outlined-container);border-color:var(--bs-icon-button-outlined-border-hover)}.bs-icon-button--outlined:active:not(:disabled){background:var(--bs-icon-button-outlined-container);color:var(--bs-color-primary-pressed);border-color:var(--bs-icon-button-outlined-border-hover)}.bs-icon-button--outlined:disabled{opacity:var(--bs-opacity-disabled);cursor:not-allowed}.bs-icon-button--outlined:focus-visible{outline-color:var(--bs-icon-button-outlined-focus)}";export{r as bs_icon_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as e,a as s,h as r}from"./p-CvfB8CQv.js";const t=class{constructor(s){i(this,s),this.bsChange=e(this,"bsChange")}get el(){return s(this)}size="lg";selected=!1;dropdown=!1;disabled=!1;ariaLabel=null;hasIcon=!1;bsChange;componentWillLoad(){this.hasIcon=this.hasSlottedContent("icon")}hasSlottedContent(i){return Array.from(this.el.childNodes).some((e=>e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("slot")===i))}onIconSlotchange=i=>{this.hasIcon=i.target.assignedNodes().length>0};onClick=()=>{this.selected=!this.selected,this.bsChange.emit(this.selected)};render(){return r("button",{key:"c585746cca27a4d60d2a0c242e26e19ba8b41677",type:"button",class:`bs-chip-filter bs-chip-filter--${this.size} bs-chip-filter--${this.hasIcon&&this.dropdown?"icon-dropdown":this.hasIcon?"icon-only":this.dropdown?"dropdown-only":"text-only"} ${this.selected?"bs-chip-filter--selected":""}`,disabled:this.disabled,"aria-pressed":String(this.selected),"aria-label":this.ariaLabel,onClick:this.onClick},r("span",{key:"f62eda39d506b130e5cfe0881bfa80dd0241e1cf",part:"icon",class:"bs-chip-filter__icon "+(this.hasIcon?"bs-chip-filter__icon--visible":"")},r("slot",{key:"233f80cba2500aa4fed6e1ccdb6d19f14fb64384",name:"icon",onSlotchange:this.onIconSlotchange})),r("span",{key:"74d101de8d1dd20bda1fbc789733282ae1a3784a",part:"label",class:"bs-chip-filter__label"},r("slot",{key:"15db7eea134a9d3eac56a159c920141daed4e467"})),this.dropdown&&r("span",{key:"e070c37932fa4bdc4f494472f361870e2f3d6b22",part:"caret",class:"bs-chip-filter__caret","aria-hidden":"true"},r(a,{key:"642401f2ddc833731875cfdd3b7d5d96f2272167"})))}static get delegatesFocus(){return!0}},a=()=>r("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("path",{d:"M4 6L8 10L12 6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}));t.style=":host{display:inline-flex;--bs-chip-filter-height-md:var(--bs-spacing-300);--bs-chip-filter-height-lg:var(--bs-spacing-400);--bs-chip-filter-gap:var(--bs-spacing-50);--bs-chip-filter-icon-size:16px;--bs-chip-filter-padding-x-glyph-side:var(--bs-spacing-100);--bs-chip-filter-padding-x-plain-side:var(--bs-spacing-150);--bs-chip-filter-padding-x-text-only:var(--bs-spacing-200);--bs-chip-filter-font-size:var(--bs-font-size-sm);--bs-chip-filter-line-height:var(--bs-line-height-body-sm);--bs-chip-filter-font-weight:var(--bs-font-weight-regular)}.bs-chip-filter{display:inline-flex;align-items:center;gap:var(--bs-chip-filter-gap);box-sizing:border-box;border:none;border-radius:var(--bs-border-radius-full);font-family:inherit;font-size:var(--bs-chip-filter-font-size);font-weight:var(--bs-chip-filter-font-weight);line-height:calc(var(--bs-chip-filter-line-height) * 1px);white-space:nowrap;cursor:pointer;background:var(--bs-chip-bg-primary-container);color:var(--bs-chip-text-primary);transition:background-color var(--bs-duration-fast, 120ms) var(--bs-easing-standard, ease)}.bs-chip-filter--md{height:var(--bs-chip-filter-height-md)}.bs-chip-filter--lg{height:var(--bs-chip-filter-height-lg)}.bs-chip-filter--icon-dropdown{padding:0 var(--bs-chip-filter-padding-x-glyph-side)}.bs-chip-filter--icon-only{padding-left:var(--bs-chip-filter-padding-x-glyph-side);padding-right:var(--bs-chip-filter-padding-x-plain-side)}.bs-chip-filter--dropdown-only{padding-left:var(--bs-chip-filter-padding-x-plain-side);padding-right:var(--bs-chip-filter-padding-x-glyph-side)}.bs-chip-filter--text-only{padding:0 var(--bs-chip-filter-padding-x-text-only)}.bs-chip-filter__icon{display:none;flex-shrink:0;width:var(--bs-chip-filter-icon-size);height:var(--bs-chip-filter-icon-size)}.bs-chip-filter__icon--visible{display:flex;align-items:center;justify-content:center}.bs-chip-filter__icon ::slotted(*){display:block;width:var(--bs-chip-filter-icon-size);height:var(--bs-chip-filter-icon-size)}.bs-chip-filter__label{display:flex;align-items:center}.bs-chip-filter__caret{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--bs-chip-filter-icon-size);height:var(--bs-chip-filter-icon-size)}.bs-chip-filter:hover:not(:disabled){background:var(--bs-chip-bg-primary-container-hover)}.bs-chip-filter:active:not(:disabled){background:var(--bs-chip-bg-primary-container-pressed)}.bs-chip-filter:focus-visible{background:var(--bs-chip-bg-primary-container-focused);outline:2px solid var(--bs-chip-border-focus);outline-offset:2px}.bs-chip-filter--selected{background:var(--bs-chip-bg-primary);color:var(--bs-chip-text-inverse)}.bs-chip-filter--selected:hover:not(:disabled){background:var(--bs-chip-bg-primary-hover)}.bs-chip-filter--selected:active:not(:disabled){background:var(--bs-chip-bg-primary-pressed)}.bs-chip-filter--selected:focus-visible{background:var(--bs-chip-bg-primary-focused)}.bs-chip-filter:disabled{background:var(--bs-chip-bg-disabled);color:var(--bs-chip-text-disabled);cursor:not-allowed}";export{t as bs_chip_filter}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as s,h as r}from"./p-CvfB8CQv.js";const n=class{constructor(r){a(this,r),this.bsAction=s(this,"bsAction"),this.bsDismiss=s(this,"bsDismiss")}variant="default";loading=!1;actionLabel;bsAction;bsDismiss;onAction=()=>{this.bsAction.emit()};onDismiss=()=>{this.bsDismiss.emit()};render(){return r("div",{key:"3251935ac23aa9157004eefdb6e324234eb6bfcb",part:"container",class:`bs-snackbar bs-snackbar--${this.variant}`,role:"status","aria-live":"error"===this.variant?"assertive":"polite"},r("div",{key:"c45e3cbe89cf2b956e46c71db87eb9644d3ef4df",class:"bs-snackbar__content"},r("span",{key:"840a2ab80a6ff4691eb341157f8285f70310ec33",part:"icon",class:"bs-snackbar__icon","aria-hidden":"true"},this.loading?r("span",{class:"bs-snackbar__spinner"}):r(b,null)),r("span",{key:"6f947d2327529ae23c4de691ea509b39ce5e2490",part:"message",class:"bs-snackbar__message"},r("slot",{key:"4cde5846deeb26cfb4fa134e789b641c9674618d"}))),r("div",{key:"f5c1cc73c36ddfd5feef19fbcc24668c407cbd3d",class:"bs-snackbar__actions"},this.actionLabel&&r("button",{key:"ae7b54aee03e21f0d770b6440a5ef0138f835be8",part:"action",type:"button",class:"bs-snackbar__action",onClick:this.onAction},this.actionLabel),r("button",{key:"f689a78a40fbd268760e9624ed0f02ba3ac71b07",part:"close",type:"button",class:"bs-snackbar__close","aria-label":"Dismiss",onClick:this.onDismiss},r(c,{key:"e731694f295179bb1cf85111116e2bf8f5e83cb7"}))))}},b=()=>r("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("path",{d:"M8.25 12.75L10.5 15L15.75 9.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),c=()=>r("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("path",{d:"M18.75 5.25L5.25 18.75",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M18.75 18.75L5.25 5.25",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}));n.style=":host{display:inline-flex;--bs-snackbar-radius:var(--bs-border-radius-100);--bs-snackbar-shadow:var(--bs-shadow-md);--bs-snackbar-gap:var(--bs-spacing-100);--bs-snackbar-content-padding-y:var(--bs-spacing-200);--bs-snackbar-content-padding-x:var(--bs-spacing-200);--bs-snackbar-content-gap:var(--bs-spacing-150);--bs-snackbar-font-size:var(--bs-font-size-md);--bs-snackbar-line-height:var(--bs-line-height-body-md);--bs-snackbar-actions-padding-y:var(--bs-spacing-50);--bs-snackbar-actions-padding-x:var(--bs-spacing-100);--bs-snackbar-actions-gap:var(--bs-spacing-50);--bs-snackbar-action-radius:var(--bs-border-radius-100);--bs-snackbar-action-font-size:var(--bs-font-size-sm);--bs-snackbar-action-font-weight:var(--bs-font-weight-medium);--bs-snackbar-action-line-height:var(--bs-line-height-body-sm);--bs-snackbar-close-radius:var(--bs-border-radius-100);--bs-snackbar-surface-default:var(--bs-snackbar-bg-default);--bs-snackbar-color-default:var(--bs-snackbar-text-default);--bs-snackbar-action-border-default:var(--bs-blue-300);--bs-snackbar-action-text-default:var(--bs-snackbar-action-text);--bs-snackbar-surface-info:var(--bs-color-info-container);--bs-snackbar-text-info:var(--bs-text-info);--bs-snackbar-action-bg-info:var(--bs-snackbar-bg-info);--bs-snackbar-action-bg-info-hover:var(--bs-color-info-hover);--bs-snackbar-action-bg-info-pressed:var(--bs-color-info-pressed);--bs-snackbar-surface-warning:var(--bs-color-warning-container);--bs-snackbar-text-warning:var(--bs-text-warning);--bs-snackbar-action-bg-warning:var(--bs-snackbar-bg-warning);--bs-snackbar-action-bg-warning-hover:var(--bs-color-warning-hover);--bs-snackbar-action-bg-warning-pressed:var(--bs-color-warning-pressed);--bs-snackbar-surface-success:var(--bs-color-success-container);--bs-snackbar-text-success:var(--bs-text-success);--bs-snackbar-action-bg-success:var(--bs-snackbar-bg-success);--bs-snackbar-action-bg-success-hover:var(--bs-color-success-hover);--bs-snackbar-action-bg-success-pressed:var(--bs-color-success-pressed);--bs-snackbar-surface-error:var(--bs-color-error-container);--bs-snackbar-text-error:var(--bs-text-error);--bs-snackbar-action-bg-error:var(--bs-snackbar-bg-error);--bs-snackbar-action-bg-error-hover:var(--bs-color-error-hover);--bs-snackbar-action-bg-error-pressed:var(--bs-color-error-pressed);--bs-snackbar-action-text-on-action:var(--bs-text-on-action);--bs-snackbar-spinner-track:var(--bs-neutral-200)}.bs-snackbar{display:flex;align-items:center;gap:var(--bs-snackbar-gap);border-radius:var(--bs-snackbar-radius);box-shadow:var(--bs-snackbar-shadow);font-family:inherit}.bs-snackbar--default{background:var(--bs-snackbar-surface-default);color:var(--bs-snackbar-color-default)}.bs-snackbar--info{background:var(--bs-snackbar-surface-info);color:var(--bs-snackbar-text-info)}.bs-snackbar--warning{background:var(--bs-snackbar-surface-warning);color:var(--bs-snackbar-text-warning)}.bs-snackbar--success{background:var(--bs-snackbar-surface-success);color:var(--bs-snackbar-text-success)}.bs-snackbar--error{background:var(--bs-snackbar-surface-error);color:var(--bs-snackbar-text-error)}.bs-snackbar__content{display:flex;align-items:center;gap:var(--bs-snackbar-content-gap);flex:1 1 auto;min-width:0;padding:var(--bs-snackbar-content-padding-y) 0 var(--bs-snackbar-content-padding-y) var(--bs-snackbar-content-padding-x)}.bs-snackbar__icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:inherit}.bs-snackbar__icon svg{width:24px;height:24px}.bs-snackbar__spinner{display:inline-block;box-sizing:border-box;width:24px;height:24px;border:2px solid var(--bs-snackbar-spinner-track);border-top-color:currentColor;border-radius:50%;animation:bs-snackbar-spin 0.8s linear infinite}@keyframes bs-snackbar-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.bs-snackbar__spinner{animation:none}}.bs-snackbar__message{flex:1 1 auto;min-width:0;font-size:var(--bs-snackbar-font-size);line-height:calc(var(--bs-snackbar-line-height) * 1px)}.bs-snackbar__actions{display:flex;align-items:center;align-self:stretch;gap:var(--bs-snackbar-actions-gap);flex-shrink:0;padding:var(--bs-snackbar-actions-padding-y) var(--bs-snackbar-actions-padding-x) var(--bs-snackbar-actions-padding-y) 0}.bs-snackbar__action{height:32px;padding:0 var(--bs-spacing-150);border-radius:var(--bs-snackbar-action-radius);font-family:inherit;font-size:var(--bs-snackbar-action-font-size);font-weight:var(--bs-snackbar-action-font-weight);line-height:calc(var(--bs-snackbar-action-line-height) * 1px);white-space:nowrap;cursor:pointer;border:none;background:transparent}.bs-snackbar--default .bs-snackbar__action{border:1px solid var(--bs-snackbar-action-border-default);color:var(--bs-snackbar-action-text-default)}.bs-snackbar--info .bs-snackbar__action{background:var(--bs-snackbar-action-bg-info);color:var(--bs-snackbar-action-text-on-action)}.bs-snackbar--info .bs-snackbar__action:hover{background:var(--bs-snackbar-action-bg-info-hover)}.bs-snackbar--info .bs-snackbar__action:active{background:var(--bs-snackbar-action-bg-info-pressed)}.bs-snackbar--warning .bs-snackbar__action{background:var(--bs-snackbar-action-bg-warning);color:var(--bs-snackbar-action-text-on-action)}.bs-snackbar--warning .bs-snackbar__action:hover{background:var(--bs-snackbar-action-bg-warning-hover)}.bs-snackbar--warning .bs-snackbar__action:active{background:var(--bs-snackbar-action-bg-warning-pressed)}.bs-snackbar--success .bs-snackbar__action{background:var(--bs-snackbar-action-bg-success);color:var(--bs-snackbar-action-text-on-action)}.bs-snackbar--success .bs-snackbar__action:hover{background:var(--bs-snackbar-action-bg-success-hover)}.bs-snackbar--success .bs-snackbar__action:active{background:var(--bs-snackbar-action-bg-success-pressed)}.bs-snackbar--error .bs-snackbar__action{background:var(--bs-snackbar-action-bg-error);color:var(--bs-snackbar-action-text-on-action)}.bs-snackbar--error .bs-snackbar__action:hover{background:var(--bs-snackbar-action-bg-error-hover)}.bs-snackbar--error .bs-snackbar__action:active{background:var(--bs-snackbar-action-bg-error-pressed)}.bs-snackbar__close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;padding:0;border:none;background:transparent;border-radius:var(--bs-snackbar-close-radius);color:inherit;cursor:pointer}.bs-snackbar__close svg{width:24px;height:24px}.bs-snackbar--default .bs-snackbar__action:hover,.bs-snackbar__close:hover{background:color-mix(in srgb, currentColor 12%, transparent)}.bs-snackbar--default .bs-snackbar__action:active,.bs-snackbar__close:active{background:color-mix(in srgb, currentColor 24%, transparent)}.bs-snackbar__action:focus-visible,.bs-snackbar__close:focus-visible{outline:2px solid currentColor;outline-offset:2px}";export{n as bs_snackbar}
|