@brandsync/wc 1.0.0 → 1.1.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 +587 -162
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/p-00d40aca.entry.js +1 -0
- package/dist/brandsync-wc/{p-6e95eb36.entry.js → p-0299e8e1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-613ff380.entry.js → p-0921ca0d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4f8459ae.entry.js → p-0a2d690f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b5cbe30b.entry.js → p-0cf117f4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-aa43d478.entry.js → p-127d698d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9bcd99aa.entry.js → p-1780224d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-55a8d4b5.entry.js → p-18e0cff4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e2a37bda.entry.js → p-1abacfe8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-10f6f3cd.entry.js → p-2a7cc40c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-9f1e4a91.entry.js → p-2e7586dd.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e3ce0c8c.entry.js → p-31b28025.entry.js} +1 -1
- package/dist/brandsync-wc/{p-17a695af.entry.js → p-32fe390d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-38aad266.entry.js → p-35bcb932.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0ba35c3b.entry.js → p-393efb5d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-37365a51.entry.js → p-3e61d206.entry.js} +1 -1
- package/dist/brandsync-wc/{p-baa4e2e0.entry.js → p-3e8728dc.entry.js} +1 -1
- package/dist/brandsync-wc/{p-45016a37.entry.js → p-5321186f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-4ec24ccb.entry.js → p-579fbe4d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-16c960b5.entry.js → p-63906504.entry.js} +1 -1
- package/dist/brandsync-wc/{p-59ac2495.entry.js → p-673546bf.entry.js} +1 -1
- package/dist/brandsync-wc/{p-69c5bc2e.entry.js → p-696f885c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-27cce165.entry.js → p-6ef0a0ed.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e231e4cf.entry.js → p-6fc78ccf.entry.js} +1 -1
- package/dist/brandsync-wc/{p-917a5bbc.entry.js → p-7091f130.entry.js} +1 -1
- package/dist/brandsync-wc/{p-752c04c8.entry.js → p-72e02bd5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c04cf1bb.entry.js → p-778fcc55.entry.js} +1 -1
- package/dist/brandsync-wc/{p-63167373.entry.js → p-790fadf9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-196cfcf0.entry.js → p-82953f42.entry.js} +1 -1
- package/dist/brandsync-wc/p-8b5f4ca7.entry.js +1 -0
- package/dist/brandsync-wc/{p-Do3l4of3.js → p-CvfB8CQv.js} +2 -2
- package/dist/brandsync-wc/{p-c3079ad7.entry.js → p-a16afeaa.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cc79e75f.entry.js → p-a73bfd31.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c90f5a74.entry.js → p-a7704457.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1fcc9f47.entry.js → p-aa1cc2b6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d037b619.entry.js → p-ac12372f.entry.js} +1 -1
- package/dist/brandsync-wc/p-b2abd8d9.entry.js +1 -0
- package/dist/brandsync-wc/p-b63362e7.entry.js +1 -0
- package/dist/brandsync-wc/{p-ab8de9b6.entry.js → p-bb2ec290.entry.js} +1 -1
- package/dist/brandsync-wc/{p-7e544766.entry.js → p-c7427962.entry.js} +1 -1
- package/dist/brandsync-wc/{p-48000949.entry.js → p-c76ca89f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-43e37883.entry.js → p-c7b9a5c7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c3c383dc.entry.js → p-ca74c7d9.entry.js} +1 -1
- package/dist/brandsync-wc/p-cc9f85d6.entry.js +1 -0
- package/dist/brandsync-wc/p-cff188cb.entry.js +1 -0
- package/dist/brandsync-wc/{p-b18e4845.entry.js → p-e230ed08.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5ae9e60e.entry.js → p-f652d79c.entry.js} +1 -1
- package/dist/brandsync-wc/p-fc9d52d4.entry.js +1 -0
- package/dist/cjs/brandsync-wc.cjs.js +3 -3
- 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 +1 -1
- package/dist/cjs/bs-avatar.cjs.entry.js +1 -1
- package/dist/cjs/bs-badge.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/bs-button.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/bs-chip-filter.cjs.entry.js +68 -0
- package/dist/cjs/bs-chip-informative.cjs.entry.js +42 -0
- package/dist/cjs/bs-chip-input.cjs.entry.js +76 -0
- package/dist/cjs/bs-composer-status-banner.cjs.entry.js +2 -2
- package/dist/cjs/bs-composer.cjs.entry.js +2 -2
- package/dist/cjs/bs-data-table.cjs.entry.js +3 -3
- package/dist/cjs/bs-dialog.cjs.entry.js +13 -3
- package/dist/cjs/bs-icon-button.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/bs-navigation-header.cjs.entry.js +2 -2
- package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
- 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 +2 -2
- 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-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/{index-DHVw-IPK.js → index-CdAh5BFg.js} +27 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
- package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
- package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-avatar/bs-avatar.js +2 -2
- 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.js +2 -2
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +3 -3
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-card/bs-card.css +6 -0
- 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 +99 -0
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.css +156 -0
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +222 -0
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.stories.js +76 -0
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.cmp.test.js +43 -0
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.css +135 -0
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +143 -0
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.stories.js +70 -0
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.cmp.test.js +93 -0
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.css +172 -0
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +208 -0
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.stories.js +67 -0
- package/dist/collection/components/bs-composer/bs-composer.js +3 -3
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +2 -2
- package/dist/collection/components/bs-data-table/bs-data-table.js +6 -6
- package/dist/collection/components/bs-dialog/bs-dialog.cmp.test.js +6 -0
- package/dist/collection/components/bs-dialog/bs-dialog.js +13 -3
- package/dist/collection/components/bs-input/bs-input.js +2 -2
- package/dist/collection/components/bs-logo/bs-logo.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-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +2 -2
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +2 -2
- 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 +3 -3
- package/dist/collection/components/bs-switch/bs-switch.js +2 -2
- 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 +2 -2
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +3 -3
- 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.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.js +2 -2
- package/dist/components/bs-ai-disclaimer.js +1 -1
- package/dist/components/bs-ai-greeting.js +1 -1
- package/dist/components/bs-ai-thinking.js +1 -1
- package/dist/components/bs-attachment-list.js +1 -1
- package/dist/components/bs-attachment.js +1 -1
- package/dist/components/bs-avatar.js +1 -1
- package/dist/components/bs-badge.js +1 -1
- package/dist/components/bs-breadcrumb-overflow.js +1 -1
- package/dist/components/bs-breadcrumb.js +1 -1
- package/dist/components/bs-breadcrumbs.js +1 -1
- package/dist/components/bs-button-skeleton.js +1 -1
- package/dist/components/bs-button.js +1 -1
- package/dist/components/bs-card.js +1 -1
- package/dist/components/bs-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.d.ts +11 -0
- package/dist/components/bs-chip-filter.js +1 -0
- package/dist/components/bs-chip-informative.d.ts +11 -0
- package/dist/components/bs-chip-informative.js +1 -0
- package/dist/components/bs-chip-input.d.ts +11 -0
- package/dist/components/bs-chip-input.js +1 -0
- package/dist/components/bs-composer-status-banner.js +1 -1
- package/dist/components/bs-composer.js +1 -1
- package/dist/components/bs-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-logo.js +1 -1
- package/dist/components/bs-menu-item.js +1 -1
- package/dist/components/bs-menu.js +1 -1
- package/dist/components/bs-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-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-tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-BFcVSpES.js → p-B8JpGodL.js} +1 -1
- package/dist/components/{p-CUa8zihb.js → p-BFVUq5m5.js} +1 -1
- package/dist/components/{p-Bs7nEbqK.js → p-BPUNjzjH.js} +1 -1
- package/dist/components/{p-CPSCOLIf.js → p-Bb6vh9PN.js} +1 -1
- package/dist/components/{p-BJZYe7M4.js → p-CsnFdZ3v.js} +1 -1
- package/dist/components/{p-BKaZWFE1.js → p-DwVm6HIb.js} +1 -1
- package/dist/esm/brandsync-wc.js +4 -4
- 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 +1 -1
- package/dist/esm/bs-avatar.entry.js +1 -1
- package/dist/esm/bs-badge.entry.js +1 -1
- package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
- package/dist/esm/bs-breadcrumb.entry.js +1 -1
- package/dist/esm/bs-breadcrumbs.entry.js +2 -2
- package/dist/esm/bs-button-skeleton.entry.js +2 -2
- package/dist/esm/bs-button.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/bs-chip-filter.entry.js +66 -0
- package/dist/esm/bs-chip-informative.entry.js +40 -0
- package/dist/esm/bs-chip-input.entry.js +74 -0
- package/dist/esm/bs-composer-status-banner.entry.js +2 -2
- package/dist/esm/bs-composer.entry.js +2 -2
- package/dist/esm/bs-data-table.entry.js +3 -3
- package/dist/esm/bs-dialog.entry.js +13 -3
- package/dist/esm/bs-icon-button.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/bs-navigation-header.entry.js +2 -2
- package/dist/esm/bs-pagination.entry.js +2 -2
- 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 +2 -2
- 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-tooltip.entry.js +2 -2
- package/dist/esm/{index-Do3l4of3.js → index-CvfB8CQv.js} +27 -14
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.d.ts +56 -0
- package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.stories.d.ts +20 -0
- package/dist/types/components/bs-chip/bs-chip-informative/bs-chip-informative.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-chip/bs-chip-informative/bs-chip-informative.d.ts +41 -0
- package/dist/types/components/bs-chip/bs-chip-informative/bs-chip-informative.stories.d.ts +21 -0
- package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.d.ts +60 -0
- package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.stories.d.ts +18 -0
- package/dist/types/components.d.ts +355 -0
- package/dist/types/stencil-public-runtime.d.ts +62 -55
- package/loader/index.d.ts +1 -1
- package/package.json +6 -5
- package/dist/brandsync-wc/p-3efb76dd.entry.js +0 -1
- package/dist/brandsync-wc/p-ce7fc368.entry.js +0 -1
- package/dist/brandsync-wc/p-d22990c0.entry.js +0 -1
- package/dist/brandsync-wc/p-f0ae2740.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CdAh5BFg.js');
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await index.globalScripts();
|
|
8
|
-
return index.bootstrapLazy([["bs-input.cjs",[[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.cjs",[[513,"bs-attachment",{"type":[1],"fileName":[1,"file-name"],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"loading":[4],"removable":[4]}]]],["bs-breadcrumb-overflow.cjs",[[513,"bs-breadcrumb-overflow",{"items":[16],"overflowLabel":[1,"overflow-label"],"size":[513],"open":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-chatbot-header.cjs",[[769,"bs-chatbot-header",{"heading":[1],"expanded":[1540]}]]],["bs-dialog.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[257,"bs-ai-disclaimer"]]],["bs-ai-greeting.cjs",[[513,"bs-ai-greeting",{"assistantName":[1,"assistant-name"],"productName":[1,"product-name"]}]]],["bs-ai-thinking.cjs",[[513,"bs-ai-thinking",{"label":[1]}]]],["bs-attachment-list.cjs",[[769,"bs-attachment-list",{"ariaLabel":[1,"aria-label"],"canScrollRight":[32]}]]],["bs-avatar.cjs",[[513,"bs-avatar",{"type":[1],"size":[1],"initials":[1],"src":[1],"alt":[1],"ariaLabel":[1,"aria-label"],"disabled":[516]}]]],["bs-badge.cjs",[[769,"bs-badge",{"variant":[1]}]]],["bs-breadcrumb.cjs",[[769,"bs-breadcrumb",{"href":[1],"current":[516],"size":[513]}]]],["bs-breadcrumbs.cjs",[[769,"bs-breadcrumbs",{"label":[1],"size":[1]},null,{"size":[{"onSizeChange":0}]}]]],["bs-button.cjs",[[785,"bs-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasEndIcon":[32],"hasLabel":[32]}]]],["bs-button-skeleton.cjs",[[513,"bs-button-skeleton",{"size":[1]}]]],["bs-card.cjs",[[769,"bs-card",{"surface":[1],"hasImage":[32]}]]],["bs-chatbot-feedback.cjs",[[513,"bs-chatbot-feedback",{"rating":[1538],"submitted":[1540],"comment":[1025],"heading":[1],"subtitle":[1]}]]],["bs-chatbot-response-action.cjs",[[769,"bs-chatbot-response-action",{"sourcesCount":[2,"sources-count"],"menuOpen":[1540,"menu-open"]},[[4,"click","onDocumentClick"],[4,"keydown","onKeydown"]]]]],["bs-chatbot-sources-drawer.cjs",[[769,"bs-chatbot-sources-drawer",{"heading":[1],"count":[2],"slottedCount":[32]}]]],["bs-chatbot-suggestion-button.cjs",[[769,"bs-chatbot-suggestion-button",{"disabled":[4]}]]],["bs-checkbox.cjs",[[785,"bs-checkbox",{"size":[1],"checked":[1540],"indeterminate":[1540],"disabled":[4],"error":[4],"ariaLabel":[1,"aria-label"]},null,{"indeterminate":[{"onIndeterminateChange":0}]}]]],["bs-checkbox-skeleton.cjs",[[513,"bs-checkbox-skeleton",{"size":[1]}]]],["bs-composer.cjs",[[785,"bs-composer",{"variant":[1],"placeholder":[1],"value":[1],"state":[1],"ariaLabel":[1,"aria-label"],"hasAttachments":[32]}]]],["bs-composer-status-banner.cjs",[[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.cjs",[[513,"bs-data-table",{"columns":[16],"rows":[16],"sortColumn":[1,"sort-column"],"sortDirection":[1,"sort-direction"],"selectable":[4],"cellRenderer":[16],"selectedIds":[32]}]]],["bs-inline-tab.cjs",[[769,"bs-inline-tab",{"selected":[516],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32]}]]],["bs-navigation-drawer-item.cjs",[[769,"bs-navigation-drawer-item",{"selected":[516],"expandable":[4],"expanded":[1540],"nested":[4],"ariaLabel":[1,"aria-label"],"collapsed":[516],"hasIcon":[32]}]]],["bs-pagination.cjs",[[513,"bs-pagination",{"totalPages":[2,"total-pages"],"currentPage":[1538,"current-page"],"siblingCount":[2,"sibling-count"],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"]}]]],["bs-radio.cjs",[[785,"bs-radio",{"name":[1],"value":[1],"checked":[1540],"disabled":[4]}]]],["bs-slider.cjs",[[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-snackbar.cjs",[[769,"bs-snackbar",{"variant":[1],"loading":[4],"actionLabel":[1,"action-label"]}]]],["bs-source-link.cjs",[[769,"bs-source-link",{"fileName":[1,"file-name"],"sourceName":[1,"source-name"],"version":[1],"href":[1],"target":[1]}]]],["bs-stepper.cjs",[[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.cjs",[[513,"bs-stepper-step",{"name":[1],"description":[1],"error":[4],"disabled":[4],"computedState":[1,"computed-state"],"direction":[1],"showDescription":[4,"show-description"]}]]],["bs-switch.cjs",[[785,"bs-switch",{"size":[1],"checked":[1540],"disabled":[4],"ariaLabel":[1,"aria-label"]}]]],["bs-tab.cjs",[[769,"bs-tab",{"selected":[516],"disabled":[4],"iconPosition":[1,"icon-position"],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32],"hasBadge":[32]}]]],["bs-tabs.cjs",[[769,"bs-tabs",{"type":[1],"orientation":[1]},[[0,"bsSelect","onTabSelect"]]]]],["bs-menu-item.cjs",[[769,"bs-menu-item",{"disabled":[4],"hasIcon":[32]}]]],["bs-tooltip.cjs",[[769,"bs-tooltip",{"placement":[1]}]]],["bs-icon-button.cjs",[[785,"bs-icon-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"]}]]],["bs-logo.cjs",[[513,"bs-logo",{"variant":[1],"background":[1],"src":[1],"alt":[1]}]]],["bs-menu.cjs",[[257,"bs-menu"]]]], options);
|
|
8
|
+
return index.bootstrapLazy([["bs-input.cjs",[[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.cjs",[[513,"bs-attachment",{"type":[1],"fileName":[1,"file-name"],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"loading":[4],"removable":[4]}]]],["bs-breadcrumb-overflow.cjs",[[513,"bs-breadcrumb-overflow",{"items":[16],"overflowLabel":[1,"overflow-label"],"size":[513],"open":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-chatbot-header.cjs",[[769,"bs-chatbot-header",{"heading":[1],"expanded":[1540]}]]],["bs-dialog.cjs",[[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.cjs",[[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.cjs",[[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.cjs",[[257,"bs-ai-disclaimer"]]],["bs-ai-greeting.cjs",[[513,"bs-ai-greeting",{"assistantName":[1,"assistant-name"],"productName":[1,"product-name"]}]]],["bs-ai-thinking.cjs",[[513,"bs-ai-thinking",{"label":[1]}]]],["bs-attachment-list.cjs",[[769,"bs-attachment-list",{"ariaLabel":[1,"aria-label"],"canScrollRight":[32]}]]],["bs-avatar.cjs",[[513,"bs-avatar",{"type":[1],"size":[1],"initials":[1],"src":[1],"alt":[1],"ariaLabel":[1,"aria-label"],"disabled":[516]}]]],["bs-badge.cjs",[[769,"bs-badge",{"variant":[1]}]]],["bs-breadcrumb.cjs",[[769,"bs-breadcrumb",{"href":[1],"current":[516],"size":[513]}]]],["bs-breadcrumbs.cjs",[[769,"bs-breadcrumbs",{"label":[1],"size":[1]},null,{"size":[{"onSizeChange":0}]}]]],["bs-button.cjs",[[785,"bs-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasEndIcon":[32],"hasLabel":[32]}]]],["bs-button-skeleton.cjs",[[513,"bs-button-skeleton",{"size":[1]}]]],["bs-card.cjs",[[769,"bs-card",{"surface":[1],"hasImage":[32]}]]],["bs-chatbot-feedback.cjs",[[513,"bs-chatbot-feedback",{"rating":[1538],"submitted":[1540],"comment":[1025],"heading":[1],"subtitle":[1]}]]],["bs-chatbot-response-action.cjs",[[769,"bs-chatbot-response-action",{"sourcesCount":[2,"sources-count"],"menuOpen":[1540,"menu-open"]},[[4,"click","onDocumentClick"],[4,"keydown","onKeydown"]]]]],["bs-chatbot-sources-drawer.cjs",[[769,"bs-chatbot-sources-drawer",{"heading":[1],"count":[2],"slottedCount":[32]}]]],["bs-chatbot-suggestion-button.cjs",[[769,"bs-chatbot-suggestion-button",{"disabled":[4]}]]],["bs-checkbox.cjs",[[785,"bs-checkbox",{"size":[1],"checked":[1540],"indeterminate":[1540],"disabled":[4],"error":[4],"ariaLabel":[1,"aria-label"]},null,{"indeterminate":[{"onIndeterminateChange":0}]}]]],["bs-checkbox-skeleton.cjs",[[513,"bs-checkbox-skeleton",{"size":[1]}]]],["bs-chip-filter.cjs",[[785,"bs-chip-filter",{"size":[1],"selected":[1540],"dropdown":[4],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32]}]]],["bs-chip-informative.cjs",[[769,"bs-chip-informative",{"color":[1],"size":[1],"disabled":[516],"hasIcon":[32]}]]],["bs-chip-input.cjs",[[785,"bs-chip-input",{"size":[1],"selected":[1540],"disabled":[516],"hasIcon":[32],"labelText":[32]}]]],["bs-composer.cjs",[[785,"bs-composer",{"variant":[1],"placeholder":[1],"value":[1],"state":[1],"ariaLabel":[1,"aria-label"],"hasAttachments":[32]}]]],["bs-composer-status-banner.cjs",[[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.cjs",[[513,"bs-data-table",{"columns":[16],"rows":[16],"sortColumn":[1,"sort-column"],"sortDirection":[1,"sort-direction"],"selectable":[4],"cellRenderer":[16],"selectedIds":[32]}]]],["bs-inline-tab.cjs",[[769,"bs-inline-tab",{"selected":[516],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32]}]]],["bs-navigation-drawer-item.cjs",[[769,"bs-navigation-drawer-item",{"selected":[516],"expandable":[4],"expanded":[1540],"nested":[4],"ariaLabel":[1,"aria-label"],"collapsed":[516],"hasIcon":[32]}]]],["bs-pagination.cjs",[[513,"bs-pagination",{"totalPages":[2,"total-pages"],"currentPage":[1538,"current-page"],"siblingCount":[2,"sibling-count"],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"]}]]],["bs-radio.cjs",[[785,"bs-radio",{"name":[1],"value":[1],"checked":[1540],"disabled":[4]}]]],["bs-slider.cjs",[[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-snackbar.cjs",[[769,"bs-snackbar",{"variant":[1],"loading":[4],"actionLabel":[1,"action-label"]}]]],["bs-source-link.cjs",[[769,"bs-source-link",{"fileName":[1,"file-name"],"sourceName":[1,"source-name"],"version":[1],"href":[1],"target":[1]}]]],["bs-stepper.cjs",[[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.cjs",[[513,"bs-stepper-step",{"name":[1],"description":[1],"error":[4],"disabled":[4],"computedState":[1,"computed-state"],"direction":[1],"showDescription":[4,"show-description"]}]]],["bs-switch.cjs",[[785,"bs-switch",{"size":[1],"checked":[1540],"disabled":[4],"ariaLabel":[1,"aria-label"]}]]],["bs-tab.cjs",[[769,"bs-tab",{"selected":[516],"disabled":[4],"iconPosition":[1,"icon-position"],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32],"hasBadge":[32]}]]],["bs-tabs.cjs",[[769,"bs-tabs",{"type":[1],"orientation":[1]},[[0,"bsSelect","onTabSelect"]]]]],["bs-menu-item.cjs",[[769,"bs-menu-item",{"disabled":[4],"hasIcon":[32]}]]],["bs-tooltip.cjs",[[769,"bs-tooltip",{"placement":[1]}]]],["bs-icon-button.cjs",[[785,"bs-icon-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"]}]]],["bs-logo.cjs",[[513,"bs-logo",{"variant":[1],"background":[1],"src":[1],"alt":[1]}]]],["bs-menu.cjs",[[257,"bs-menu"]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
exports.setNonce = index.setNonce;
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"components/bs-button/bs-button/bs-button.js",
|
|
9
9
|
"components/bs-card/bs-card.js",
|
|
10
10
|
"components/bs-checkbox/bs-checkbox.js",
|
|
11
|
+
"components/bs-chip/bs-chip-filter/bs-chip-filter.js",
|
|
12
|
+
"components/bs-chip/bs-chip-informative/bs-chip-informative.js",
|
|
13
|
+
"components/bs-chip/bs-chip-input/bs-chip-input.js",
|
|
11
14
|
"components/bs-composer/bs-composer.js",
|
|
12
15
|
"components/bs-composer-status-banner/bs-composer-status-banner.js",
|
|
13
16
|
"components/bs-data-table/bs-data-table.js",
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
"mixins": [],
|
|
49
52
|
"compiler": {
|
|
50
53
|
"name": "@stencil/core",
|
|
51
|
-
"version": "4.
|
|
54
|
+
"version": "4.45.1",
|
|
52
55
|
"typescriptVersion": "5.8.3"
|
|
53
56
|
},
|
|
54
57
|
"collections": [],
|
|
@@ -25,7 +25,7 @@ import { h } from "@stencil/core";
|
|
|
25
25
|
export class BsAiDisclaimer {
|
|
26
26
|
render() {
|
|
27
27
|
https: //images.unsplash.com/photo-1512917774080-9991f1c4c750?w=200&h=200&fit=crop
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '2ebacb40774ec65555fc1f6ab28e9f60022f3f3e', class: "bs-ai-disclaimer" }, h("p", { key: 'cde0cdde60f7825c49552b25b8b5ac4069325e43', part: "text", class: "bs-ai-disclaimer__text" }, h("slot", { key: '110cca842da5f8d31a5100b6550650c8270e7b9c' }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "bs-ai-disclaimer"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,7 +43,7 @@ export class BsAiGreeting {
|
|
|
43
43
|
const subtext = this.productName
|
|
44
44
|
? `How can I help you with ${this.productName} today?`
|
|
45
45
|
: 'How can I help you today?';
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '3b5d5e7a20181a4236ab52d244c51a55f9a9337b', class: "bs-ai-greeting" }, h("div", { key: '5dd99058cbff9047f7300b29f20a59f8e3d2343e', part: "heading", class: "bs-ai-greeting__heading" }, h("p", { key: '15f7e32e7d473eeae6bc21201f503385241dee64', class: "bs-ai-greeting__heading-line" }, "Hi. I'm ", this.assistantName, ","), h("p", { key: 'cb4d2b1aaa4aaf3f958334215892e4bd4f42de93', class: "bs-ai-greeting__heading-line" }, "your AI assistant.")), h("p", { key: '168218d5b0577672ca86ecfa36f038b6478fcd6c', part: "subtext", class: "bs-ai-greeting__subtext" }, subtext)));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "bs-ai-greeting"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class BsAiThinking {
|
|
|
29
29
|
/** The status text shown next to the icon, e.g. "Retrieving", "Thinking", "Searching". */
|
|
30
30
|
label = 'Thinking';
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '39540fe852685c64654e4833919668581b3802d7', class: "bs-ai-thinking", role: "status", "aria-live": "polite" }, h("img", { key: '46c79569610aeec4b74c7abb96d8d3002101fa7a', part: "icon", class: "bs-ai-thinking__icon", src: GENIE_MARK_ICON, alt: "", "aria-hidden": "true" }), h("span", { key: 'ec44f4be28d12c606731e3b4b89a6e62b3e9bc88', part: "label", class: "bs-ai-thinking__label" }, this.label)));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "bs-ai-thinking"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@ export class BsAttachment {
|
|
|
81
81
|
"references": {
|
|
82
82
|
"BsAttachmentType": {
|
|
83
83
|
"location": "local",
|
|
84
|
-
"path": "/
|
|
84
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-attachment/bs-attachment.tsx",
|
|
85
85
|
"id": "src/components/bs-attachment/bs-attachment.tsx::BsAttachmentType"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -58,7 +58,7 @@ export class BsAttachmentList {
|
|
|
58
58
|
this.canScrollRight = row.scrollWidth - row.clientWidth - row.scrollLeft > 1;
|
|
59
59
|
};
|
|
60
60
|
render() {
|
|
61
|
-
return (h("div", { key: '
|
|
61
|
+
return (h("div", { key: 'a7dac0085158f2b62c460be80f7abdb1cdb80921', class: "bs-attachment-list" }, h("div", { key: '64a5a378cad9f5b01d1020f71df4f44e63e56f39', part: "row", class: "bs-attachment-list__row", ref: el => (this.row = el), onScroll: this.onScroll, role: "group", "aria-label": this.ariaLabel, tabIndex: 0 }, h("slot", { key: '5a457664c5e14369db34485f613efd3681b809e1', onSlotchange: this.onSlotchange })), this.canScrollRight && h("div", { key: '18a11b329cf00a60ce329d1c47d4cf438e76682a', part: "fade", class: "bs-attachment-list__fade", "aria-hidden": "true" })));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "bs-attachment-list"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,7 +96,7 @@ export class BsAvatar {
|
|
|
96
96
|
"references": {
|
|
97
97
|
"BsAvatarType": {
|
|
98
98
|
"location": "local",
|
|
99
|
-
"path": "/
|
|
99
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-avatar/bs-avatar.tsx",
|
|
100
100
|
"id": "src/components/bs-avatar/bs-avatar.tsx::BsAvatarType"
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -122,7 +122,7 @@ export class BsAvatar {
|
|
|
122
122
|
"references": {
|
|
123
123
|
"BsAvatarSize": {
|
|
124
124
|
"location": "local",
|
|
125
|
-
"path": "/
|
|
125
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-avatar/bs-avatar.tsx",
|
|
126
126
|
"id": "src/components/bs-avatar/bs-avatar.tsx::BsAvatarSize"
|
|
127
127
|
}
|
|
128
128
|
}
|
|
@@ -42,7 +42,7 @@ export class BsBadge {
|
|
|
42
42
|
"references": {
|
|
43
43
|
"BsBadgeVariant": {
|
|
44
44
|
"location": "local",
|
|
45
|
-
"path": "/
|
|
45
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-badge/bs-badge.tsx",
|
|
46
46
|
"id": "src/components/bs-badge/bs-badge.tsx::BsBadgeVariant"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -107,7 +107,7 @@ export class BsBreadcrumb {
|
|
|
107
107
|
"references": {
|
|
108
108
|
"BsBreadcrumbSize": {
|
|
109
109
|
"location": "local",
|
|
110
|
-
"path": "/
|
|
110
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.tsx",
|
|
111
111
|
"id": "src/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.tsx::BsBreadcrumbSize"
|
|
112
112
|
}
|
|
113
113
|
}
|
package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js
CHANGED
|
@@ -102,7 +102,7 @@ export class BsBreadcrumbOverflow {
|
|
|
102
102
|
"references": {
|
|
103
103
|
"BsBreadcrumbOverflowItem": {
|
|
104
104
|
"location": "local",
|
|
105
|
-
"path": "/
|
|
105
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.tsx",
|
|
106
106
|
"id": "src/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.tsx::BsBreadcrumbOverflowItem"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -54,7 +54,7 @@ export class BsBreadcrumbs {
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("nav", { key: '
|
|
57
|
+
return (h("nav", { key: '78fdf60e00f529cc0eb22f1324f0dd10967d699f', "aria-label": this.label }, h("ol", { key: 'cbee64570bda35661b2ec1e3cd9ad4545f7c9b71', part: "list", class: "bs-breadcrumbs__list" }, h("slot", { key: 'f9043b5c356e1aee95b0bcbb28ac01e829e32450', onSlotchange: this.onSlotChange }))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "bs-breadcrumbs"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -131,7 +131,7 @@ export class BsButton {
|
|
|
131
131
|
"references": {
|
|
132
132
|
"BsButtonVariant": {
|
|
133
133
|
"location": "local",
|
|
134
|
-
"path": "/
|
|
134
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-button/bs-button/bs-button.tsx",
|
|
135
135
|
"id": "src/components/bs-button/bs-button/bs-button.tsx::BsButtonVariant"
|
|
136
136
|
}
|
|
137
137
|
}
|
|
@@ -157,7 +157,7 @@ export class BsButton {
|
|
|
157
157
|
"references": {
|
|
158
158
|
"BsButtonSize": {
|
|
159
159
|
"location": "local",
|
|
160
|
-
"path": "/
|
|
160
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-button/bs-button/bs-button.tsx",
|
|
161
161
|
"id": "src/components/bs-button/bs-button/bs-button.tsx::BsButtonSize"
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -50,7 +50,7 @@ export class BsIconButton {
|
|
|
50
50
|
*/
|
|
51
51
|
ariaLabel = null;
|
|
52
52
|
render() {
|
|
53
|
-
return (h("button", { key: '
|
|
53
|
+
return (h("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 }, h("span", { key: '008f553d50091ba49f568d82de27a35871b9a66d', part: "icon", class: "bs-icon-button__icon" }, h("slot", { key: '5365a00665a7de5a64af0793862552a1057ac110' }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "bs-icon-button"; }
|
|
56
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,7 +76,7 @@ export class BsIconButton {
|
|
|
76
76
|
"references": {
|
|
77
77
|
"BsIconButtonVariant": {
|
|
78
78
|
"location": "local",
|
|
79
|
-
"path": "/
|
|
79
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-button/bs-icon-button/bs-icon-button.tsx",
|
|
80
80
|
"id": "src/components/bs-button/bs-icon-button/bs-icon-button.tsx::BsIconButtonVariant"
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -102,7 +102,7 @@ export class BsIconButton {
|
|
|
102
102
|
"references": {
|
|
103
103
|
"BsIconButtonSize": {
|
|
104
104
|
"location": "local",
|
|
105
|
-
"path": "/
|
|
105
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-button/bs-icon-button/bs-icon-button.tsx",
|
|
106
106
|
"id": "src/components/bs-button/bs-icon-button/bs-icon-button.tsx::BsIconButtonSize"
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -25,7 +25,7 @@ export class BsButtonSkeleton {
|
|
|
25
25
|
/** Sizing scale, matching the `bs-button` size it stands in for. */
|
|
26
26
|
size = 'md';
|
|
27
27
|
render() {
|
|
28
|
-
return h("span", { key: '
|
|
28
|
+
return h("span", { key: '92978f22d97f10af0260603de5137bfa34bbc717', part: "container", class: `bs-button-skeleton bs-button-skeleton--${this.size}`, role: "status", "aria-label": "Loading" });
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "bs-button-skeleton"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
border-radius: var(--bs-border-radius-100);
|
|
13
13
|
font-family: inherit;
|
|
14
|
+
/* No color rule existed anywhere in this file before this -- slotted header/body/footer content
|
|
15
|
+
inherited whatever color the *consuming page* happened to have, not this card's own themed
|
|
16
|
+
token, so it stayed browser-default black even against a dark surface in dark mode (confirmed
|
|
17
|
+
via a real computed-style check: rgb(0, 0, 0) regardless of theme). Same bug, same fix, as
|
|
18
|
+
bs-dialog's own identical color rule on .bs-dialog__dialog. */
|
|
19
|
+
color: var(--bs-text-default);
|
|
14
20
|
}
|
|
15
21
|
|
|
16
22
|
.bs-card--base {
|
|
@@ -59,7 +59,7 @@ export class BsCard {
|
|
|
59
59
|
"references": {
|
|
60
60
|
"BsCardSurface": {
|
|
61
61
|
"location": "local",
|
|
62
|
-
"path": "/
|
|
62
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-card/bs-card.tsx",
|
|
63
63
|
"id": "src/components/bs-card/bs-card.tsx::BsCardSurface"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -123,7 +123,7 @@ export class BsChatbotFeedback {
|
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
const stars = [1, 2, 3, 4, 5];
|
|
126
|
-
return (h("div", { key: '
|
|
126
|
+
return (h("div", { key: 'd006bb1ca76efdcf06bae35e3525003a68386421', class: "bs-chatbot-feedback", role: "region", "aria-label": this.computedHeading() }, h("button", { key: 'c288a911fe59b201dc7a9f888c6cd4e85c6e28a0', type: "button", part: "close", class: "bs-chatbot-feedback__close", "aria-label": "Close", onClick: this.onCloseClick }, h(CloseIcon, { key: '2b989f0ff28ddc59b3b1821e6c3288bf30dac4b6' })), h("div", { key: '84b2274b2cb5da5040d2762173305c49ae4ef66e', class: "bs-chatbot-feedback__top" }, h("div", { key: '692b5724537886c9597a3889a1342343d7809d21', class: "bs-chatbot-feedback__text" }, h("p", { key: 'bd4f0e67a9c9b47660d3b0974434ca6eae6a0abf', part: "heading", class: "bs-chatbot-feedback__heading" }, this.computedHeading()), h("p", { key: '5e305ef80903253dfc3ae2e57f65ad35f7ebb56d', part: "subtitle", class: "bs-chatbot-feedback__subtitle" }, this.computedSubtitle())), h("div", { key: '9cf3adc518948acf2cc1b51f61ba2ced66e5c9c6', class: "bs-chatbot-feedback__stars", role: "radiogroup", "aria-label": "Rating" }, stars.map(value => (h("button", { type: "button", part: "star", class: "bs-chatbot-feedback__star", role: "radio", "aria-checked": (this.rating >= value).toString(), "aria-label": `${value} star${value > 1 ? 's' : ''}`, disabled: this.submitted, onClick: () => this.onStarClick(value) }, h(StarIcon, { filled: this.rating >= value }))))), !this.submitted && (h("div", { key: '9de7ba54587ea9cef1c0167ca54ea47a800b199f', class: "bs-chatbot-feedback__field" }, h("label", { key: '2ade2e0ccacce7ecf13a28f584cddab5891a0d05', part: "label", class: "bs-chatbot-feedback__label", htmlFor: "bs-chatbot-feedback-comment" }, "Tell us what you think"), h("textarea", { key: '765dfe11db1978017aa66f03029bd43161853920', part: "textarea", id: "bs-chatbot-feedback-comment", class: "bs-chatbot-feedback__textarea", placeholder: "e.g.The response was helpful ....", value: this.comment, onInput: this.onCommentInput }))), this.submitted && this.comment && (h("p", { key: '30428029a4bede383a160646e77669ce781aa309', part: "comment", class: "bs-chatbot-feedback__comment" }, this.comment))), h("div", { key: 'ac853cce4db151b43e22bb671e14b4bb43f4b86e', class: "bs-chatbot-feedback__actions" }, !this.submitted && (h("button", { key: '0ac1bcae1b176e04500d7c1a9893a2156e118ef7', type: "button", part: "submit", class: "bs-chatbot-feedback__submit", disabled: this.rating === 0, onClick: this.onSubmitClick }, h(SendIcon, { key: 'ab682fd1f41b2edf85f48517713d50d1e2e8c2d9' }), "Submit feedback")), h("button", { key: '349a69e6510793552b439f1091e1bedbba64c87a', type: "button", part: "new-chat", class: `bs-chatbot-feedback__new-chat ${this.submitted ? 'bs-chatbot-feedback__new-chat--primary' : 'bs-chatbot-feedback__new-chat--outlined'}`, onClick: this.onNewChatClick }, h(EditIcon, { key: '9c0e9890952b3d7e89c95c53a5b173867acce1e4' }), "Start new chat"))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "bs-chatbot-feedback"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -74,7 +74,7 @@ export class BsChatbotHeader {
|
|
|
74
74
|
this.bsClose.emit();
|
|
75
75
|
};
|
|
76
76
|
render() {
|
|
77
|
-
return (h("div", { key: '
|
|
77
|
+
return (h("div", { key: '19defcf3ef6bab001fc70969fe6ae7e43e620772', class: "bs-chatbot-header", role: "banner", "aria-label": this.heading }, h("div", { key: '455979628f49722589abe9a472dd0d43e27c1d57', part: "logo", class: "bs-chatbot-header__logo", role: "img", "aria-label": this.heading, innerHTML: GENIE_LOGO_SVG }), h("div", { key: '123327fd2ac302f1e0c97becfe2b4026db0a463c', class: "bs-chatbot-header__actions" }, h("span", { key: '4dec5a38d3586c98a3827e744132b35155c754cb', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '6d205052018910e3b0b188f1250a3e06b3134d3d', type: "button", part: "new-chat", class: "bs-chatbot-header__button", "aria-label": "New chat", onClick: this.onNewChatClick }, h("slot", { key: '7f02991d13abc79cb779037e61493e277a5f8af1', name: "new-chat-icon" }, h(NewChatIcon, { key: '95caf87255a959b0569536f5ba8574680a2157c8' }))), h("bs-tooltip", { key: '80bee6f77434b05a469819474fe21824f67f8398', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "New chat")), h("span", { key: 'b1f92ec3d067d6087bc23407022645915d91bda5', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '89343546b8a911e69c11ce1658c387c77175bb2f', type: "button", part: "history", class: "bs-chatbot-header__button", "aria-label": "History", onClick: this.onHistoryClick }, h("slot", { key: '8be5b498d86d3b8eb02443c2b5f4ace29d7dd242', name: "history-icon" }, h(HistoryIcon, { key: '3b06808d71e2ee7ef148eb5b5f37831a74a3cdbd' }))), h("bs-tooltip", { key: '3ae97c6ac032e00cf8dc1b885cd09fe9dc522eda', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "History")), h("span", { key: 'b863e64938643b958e9cdf2b821401da24b22237', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'b13aeced1938d418dfc78325087dd2e6769b6373', type: "button", part: "expand", class: "bs-chatbot-header__button", "aria-label": this.expanded ? 'Collapse' : 'Expand', "aria-pressed": this.expanded ? 'true' : 'false', onClick: this.onExpandClick }, h("slot", { key: '7ee525ea7bb0a95996071bf20d3f87fbf25bd4d2', name: "expand-icon" }, h(ExpandIcon, { key: 'dbe3535acdacfdcb76fd2c336359c62126c9bdd8' }))), h("bs-tooltip", { key: '0f0896b3b71e16a590f91324f13f0bd8a606a001', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.expanded ? 'Collapse' : 'Expand')), h("span", { key: '0238181d5fbfe40a8581412004476ebfa3d0beb6', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'd29269294c457586f2f5dae90ef28de747bab7d9', type: "button", part: "close", class: "bs-chatbot-header__button", "aria-label": "Close", onClick: this.onCloseClick }, h("slot", { key: 'dbc9fdc1cbef4ae59ba3d41e59488b91de549a37', name: "close-icon" }, h(CloseIcon, { key: '0c2b8d8efaa5baf448e3de948feff76c71cc03ef' }))), h("bs-tooltip", { key: '2fc96a3ae618c3e0214a7dd3f329e8b676e9b6b9', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "Close")))));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "bs-chatbot-header"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -105,7 +105,7 @@ export class BsChatbotResponseAction {
|
|
|
105
105
|
};
|
|
106
106
|
render() {
|
|
107
107
|
const hasSources = !!this.sourcesCount && this.sourcesCount > 0;
|
|
108
|
-
return (h("div", { key: '
|
|
108
|
+
return (h("div", { key: '24c68fc03ccb44936dd1d432496960b8dfcee7b5', class: "bs-chatbot-response-action" }, h("button", { key: 'f11c68b55809d7883985216509f8c0212a82e238', type: "button", part: "like", class: "bs-chatbot-response-action__button", "aria-label": "Like", onClick: this.onLikeClick }, h("slot", { key: 'dd0f1a8551fb5ee988e2b4a00f1229b4f4243e5c', name: "like-icon" }, h(ThumbsUpIcon, { key: 'e5f2b60558c6bb19d57bc19166659f9861d8a168' }))), h("button", { key: '77faba07ee823f265dd96c928719d998775a90c6', type: "button", part: "dislike", class: "bs-chatbot-response-action__button", "aria-label": "Dislike", onClick: this.onDislikeClick }, h("slot", { key: 'a2c1a4bec00e0e4955003f5bb0c6e05d0ae90b7d', name: "dislike-icon" }, h(ThumbsDownIcon, { key: 'ec84d052150d71a60378d6b706116360db2694e0' }))), h("button", { key: '43791f3aa3f21ee44641da14bf62f1e3d83f97c5', type: "button", part: "copy", class: "bs-chatbot-response-action__button", "aria-label": "Copy", onClick: this.onCopyClick }, h("slot", { key: 'b8ee7f9dbed2b5d4014ef4f2d5d5e2737baf67f6', name: "copy-icon" }, h(CopyIcon, { key: 'd91f9da3cf09a0d760dbf28b3d05d65cd4be0149' }))), h("button", { key: 'fcbbae5cec2ebbb40792afd234459278121fd760', type: "button", part: "regenerate", class: "bs-chatbot-response-action__button", "aria-label": "Regenerate", onClick: this.onRegenerateClick }, h("slot", { key: '13897ba124350a7e793059d22abaed93be7ae40a', name: "regenerate-icon" }, h(RegenerateIcon, { key: 'c13ed7f8452cc16e2cbbb865c16bef71714a42c0' }))), h("div", { key: 'f3d82e7dd0b338fb0095a6b6c54578b20c89fc72', class: "bs-chatbot-response-action__menu-wrapper" }, h("button", { key: 'a42f4457e72ee4585e7f85262597537f7002b46c', type: "button", part: "menu", class: "bs-chatbot-response-action__button", "aria-label": "More options", "aria-haspopup": "menu", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: this.onMenuClick }, h("slot", { key: '559e8cecfc7a726e1a5bc43211eaee7464087590', name: "menu-icon" }, h(MenuIcon, { key: 'cb768ecba1be7f49dcea247128af0efc5170463d' }))), this.menuOpen && (h("div", { key: 'd98ad7f49789c6ed72c4fea4548ebfa2761346b4', class: "bs-chatbot-response-action__menu-popup" }, h("slot", { key: 'c2c05b8440def40997971b1b464b31ce2f032da4', name: "menu" })))), hasSources && (h("button", { key: '5b813a1f660fb42d0304bc0dda29399f893cd0fd', type: "button", part: "sources", class: "bs-chatbot-response-action__sources", onClick: this.onSourcesClick }, h("slot", { key: 'cee378ade6c52f1ae285320c59e4ddc1c66f924a', name: "sources-icon" }, h(SourcesIcon, { key: 'f18aa44186faa2ab584c129eede0cff65201db85' })), h("span", { key: '89639777df4d3bc6a1c8418887fadb0774ab324e', class: "bs-chatbot-response-action__sources-label" }, this.sourcesCount, " ", this.sourcesCount === 1 ? 'source' : 'sources')))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "bs-chatbot-response-action"; }
|
|
111
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class BsChatbotSourcesDrawer {
|
|
|
57
57
|
};
|
|
58
58
|
render() {
|
|
59
59
|
const displayCount = this.count ?? this.slottedCount;
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: 'd457067b704c7df5a763ec8ada13f02595e9a450', class: "bs-chatbot-sources-drawer", role: "region", "aria-label": this.heading }, h("div", { key: '7bed0625e25444d49cb2bc2d85bda4b08f242672', class: "bs-chatbot-sources-drawer__header" }, h("div", { key: 'b55ce1be49393360840caa2ed824ae2d3eafab59', class: "bs-chatbot-sources-drawer__title-group" }, h("h2", { key: 'fe97457121b810e09792581e07864c366e5d9121', part: "heading", class: "bs-chatbot-sources-drawer__heading" }, this.heading), displayCount > 0 && (h("span", { key: '41a116982438e62d6d6a870f4eaf8f68d8ff758b', part: "count", class: "bs-chatbot-sources-drawer__count" }, displayCount))), h("button", { key: '5026bcd60e49776abff2305793c9d0424fce8cbb', type: "button", part: "collapse", class: "bs-chatbot-sources-drawer__collapse", "aria-label": "Collapse sources", onClick: this.onCollapseClick }, h("slot", { key: 'f9ca644ea20b7d9b440d766ae93e1ee01a5b451b', name: "collapse-icon" }, h(CaretRightIcon, { key: 'ffa427ee1e25cac7e197c5fb1c44edefb45d328e' })))), h("div", { key: '67b518bd9c1da897d44f607d08200ad0ffca067e', part: "list", class: "bs-chatbot-sources-drawer__list" }, h("slot", { key: '34f904ce8cc9f0924d0c2012fff054faab4cb306', onSlotchange: this.onSlotchange }))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "bs-chatbot-sources-drawer"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js
CHANGED
|
@@ -45,7 +45,7 @@ export class BsChatbotSuggestionButton {
|
|
|
45
45
|
this.bsSelect.emit();
|
|
46
46
|
};
|
|
47
47
|
render() {
|
|
48
|
-
return (h("button", { key: '
|
|
48
|
+
return (h("button", { key: '7e2678988fe2cb407e75e275e51ff11d816dd25a', type: "button", part: "button", class: "bs-chatbot-suggestion-button", disabled: this.disabled, onClick: this.onClick }, h("slot", { key: 'fba2c8b032a6952df37c644129875d44d884603b' })));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "bs-chatbot-suggestion-button"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,7 +33,7 @@ export class BsCheckboxSkeleton {
|
|
|
33
33
|
* (unusual) default `bs-checkbox` itself uses. */
|
|
34
34
|
size = 'lg';
|
|
35
35
|
render() {
|
|
36
|
-
return (h("span", { key: '
|
|
36
|
+
return (h("span", { key: '37e97e41981813fcb9afed02c2f9b8dada09c71a', part: "container", class: "bs-checkbox-skeleton", role: "status", "aria-label": "Loading" }, h("span", { key: '65de48f7ab1695fb5f1aa5c3d95948024ca05f3a', part: "box", class: `bs-checkbox-skeleton__box bs-checkbox-skeleton__box--${this.size}` }), h("span", { key: '72dbe80d166c54bc7bd39d05f790b89a29f31887', part: "label", class: "bs-checkbox-skeleton__label" })));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "bs-checkbox-skeleton"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class BsCheckbox {
|
|
|
118
118
|
"references": {
|
|
119
119
|
"BsCheckboxSize": {
|
|
120
120
|
"location": "local",
|
|
121
|
-
"path": "/
|
|
121
|
+
"path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-checkbox/bs-checkbox.tsx",
|
|
122
122
|
"id": "src/components/bs-checkbox/bs-checkbox.tsx::BsCheckboxSize"
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { render, h, describe, it, expect } from "@stencil/vitest";
|
|
2
|
+
describe('bs-chip-filter', () => {
|
|
3
|
+
it('renders an unselected chip by default', async () => {
|
|
4
|
+
const { root } = await render(h("bs-chip-filter", null, "Label"));
|
|
5
|
+
const button = root.shadowRoot.querySelector('button');
|
|
6
|
+
expect(button).toEqualAttribute('aria-pressed', 'false');
|
|
7
|
+
expect(button).not.toHaveClass('bs-chip-filter--selected');
|
|
8
|
+
});
|
|
9
|
+
it('reflects the selected prop to the host attribute and the button', async () => {
|
|
10
|
+
const { root } = await render(h("bs-chip-filter", { selected: true }, "Label"));
|
|
11
|
+
expect(root).toEqualAttribute('selected', '');
|
|
12
|
+
const button = root.shadowRoot.querySelector('button');
|
|
13
|
+
expect(button).toEqualAttribute('aria-pressed', 'true');
|
|
14
|
+
expect(button).toHaveClass('bs-chip-filter--selected');
|
|
15
|
+
});
|
|
16
|
+
it('clicking toggles selected and emits bsChange with the new value', async () => {
|
|
17
|
+
const { root, waitForChanges, spyOnEvent } = await render(h("bs-chip-filter", null, "Label"));
|
|
18
|
+
const bsChangeSpy = spyOnEvent('bsChange');
|
|
19
|
+
const button = root.shadowRoot.querySelector('button');
|
|
20
|
+
button.click();
|
|
21
|
+
await waitForChanges();
|
|
22
|
+
expect(root.selected).toBe(true);
|
|
23
|
+
expect(bsChangeSpy).toHaveReceivedEventTimes(1);
|
|
24
|
+
expect(bsChangeSpy).toHaveReceivedEventDetail(true);
|
|
25
|
+
button.click();
|
|
26
|
+
await waitForChanges();
|
|
27
|
+
expect(root.selected).toBe(false);
|
|
28
|
+
expect(bsChangeSpy).toHaveReceivedEventTimes(2);
|
|
29
|
+
expect(bsChangeSpy).toHaveReceivedEventDetail(false);
|
|
30
|
+
});
|
|
31
|
+
describe('disabled', () => {
|
|
32
|
+
it('sets the disabled attribute on the native button', async () => {
|
|
33
|
+
const { root } = await render(h("bs-chip-filter", { disabled: true }, "Label"));
|
|
34
|
+
const button = root.shadowRoot.querySelector('button');
|
|
35
|
+
expect(button).toHaveAttribute('disabled');
|
|
36
|
+
});
|
|
37
|
+
it('prevents toggling via click', async () => {
|
|
38
|
+
const { root, waitForChanges, spyOnEvent } = await render(h("bs-chip-filter", { disabled: true }, "Label"));
|
|
39
|
+
const bsChangeSpy = spyOnEvent('bsChange');
|
|
40
|
+
const button = root.shadowRoot.querySelector('button');
|
|
41
|
+
button.click();
|
|
42
|
+
await waitForChanges();
|
|
43
|
+
expect(root.selected).toBe(false);
|
|
44
|
+
expect(bsChangeSpy).toHaveReceivedEventTimes(0);
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
['md', 'lg'].forEach(size => {
|
|
48
|
+
it(`renders size="${size}" with the matching modifier class`, async () => {
|
|
49
|
+
const { root } = await render(h("bs-chip-filter", { size: size }, "Label"));
|
|
50
|
+
const button = root.shadowRoot.querySelector('button');
|
|
51
|
+
expect(button).toHaveClass(`bs-chip-filter--${size}`);
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
describe('dropdown caret', () => {
|
|
55
|
+
it('does not render a caret by default', async () => {
|
|
56
|
+
const { root } = await render(h("bs-chip-filter", null, "Label"));
|
|
57
|
+
expect(root.shadowRoot.querySelector('[part="caret"]')).toBeNull();
|
|
58
|
+
});
|
|
59
|
+
it('renders a caret when dropdown is set', async () => {
|
|
60
|
+
const { root } = await render(h("bs-chip-filter", { dropdown: true }, "Label"));
|
|
61
|
+
expect(root.shadowRoot.querySelector('[part="caret"]')).not.toBeNull();
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
describe('icon slot and padding variant', () => {
|
|
65
|
+
it('has no icon and the text-only padding variant by default', async () => {
|
|
66
|
+
const { root } = await render(h("bs-chip-filter", null, "Label"));
|
|
67
|
+
const button = root.shadowRoot.querySelector('button');
|
|
68
|
+
expect(root.shadowRoot.querySelector('[part="icon"]')).not.toHaveClass('bs-chip-filter__icon--visible');
|
|
69
|
+
expect(button).toHaveClass('bs-chip-filter--text-only');
|
|
70
|
+
});
|
|
71
|
+
it('marks the icon visible and picks the icon-only padding variant when the icon slot has content', async () => {
|
|
72
|
+
const { root, waitForChanges } = await render(h("bs-chip-filter", null, h("svg", { slot: "icon" }), "Label"));
|
|
73
|
+
await waitForChanges();
|
|
74
|
+
const button = root.shadowRoot.querySelector('button');
|
|
75
|
+
expect(root.shadowRoot.querySelector('[part="icon"]')).toHaveClass('bs-chip-filter__icon--visible');
|
|
76
|
+
expect(button).toHaveClass('bs-chip-filter--icon-only');
|
|
77
|
+
});
|
|
78
|
+
it('picks the dropdown-only padding variant with a caret but no icon', async () => {
|
|
79
|
+
const { root } = await render(h("bs-chip-filter", { dropdown: true }, "Label"));
|
|
80
|
+
const button = root.shadowRoot.querySelector('button');
|
|
81
|
+
expect(button).toHaveClass('bs-chip-filter--dropdown-only');
|
|
82
|
+
});
|
|
83
|
+
it('picks the icon-dropdown padding variant with both an icon and a caret', async () => {
|
|
84
|
+
const { root, waitForChanges } = await render(h("bs-chip-filter", { dropdown: true }, h("svg", { slot: "icon" }), "Label"));
|
|
85
|
+
await waitForChanges();
|
|
86
|
+
const button = root.shadowRoot.querySelector('button');
|
|
87
|
+
expect(button).toHaveClass('bs-chip-filter--icon-dropdown');
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
it('reflects ariaLabel to the native button', async () => {
|
|
91
|
+
const { root } = await render(h("bs-chip-filter", { ariaLabel: "Filter by status" }, "Label"));
|
|
92
|
+
const button = root.shadowRoot.querySelector('button');
|
|
93
|
+
expect(button).toEqualAttribute('aria-label', 'Filter by status');
|
|
94
|
+
});
|
|
95
|
+
it('renders label slot content', async () => {
|
|
96
|
+
const { root } = await render(h("bs-chip-filter", null, "Active users"));
|
|
97
|
+
expect(root).toHaveTextContent('Active users');
|
|
98
|
+
});
|
|
99
|
+
});
|