@brandsync/wc 0.1.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 +1513 -669
- 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-0921ca0d.entry.js +1 -0
- package/dist/brandsync-wc/{p-f4f22015.entry.js → p-0a2d690f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-111974df.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-0847f5c0.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-79af762c.entry.js → p-2e7586dd.entry.js} +1 -1
- package/dist/brandsync-wc/{p-eb04c578.entry.js → p-31b28025.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1ce7dd64.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-3e61d206.entry.js +1 -0
- package/dist/brandsync-wc/{p-91551e7b.entry.js → p-3e8728dc.entry.js} +1 -1
- package/dist/brandsync-wc/{p-20c24179.entry.js → p-5321186f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-11f3fceb.entry.js → p-579fbe4d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d3265e70.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-73217b90.entry.js → p-696f885c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d55bbcec.entry.js → p-6ef0a0ed.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6d85fba4.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-9c4768aa.entry.js → p-778fcc55.entry.js} +1 -1
- package/dist/brandsync-wc/{p-18813680.entry.js → p-790fadf9.entry.js} +1 -1
- package/dist/brandsync-wc/{p-321ed4d3.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-00bb9bda.entry.js → p-a7704457.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2063a6d6.entry.js → p-aa1cc2b6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e93e944b.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-9876e83c.entry.js → p-bb2ec290.entry.js} +1 -1
- package/dist/brandsync-wc/{p-171fed0c.entry.js → p-c7427962.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6b469b2d.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-1b7c9928.entry.js → p-cff188cb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-81d49240.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 +44 -0
- package/dist/cjs/bs-stepper.cjs.entry.js +62 -0
- 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 +6 -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.cmp.test.js +42 -0
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.css +29 -0
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +162 -0
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.stories.js +59 -0
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.cmp.test.js +73 -0
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.css +258 -0
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +231 -0
- 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.d.ts +11 -0
- package/dist/components/bs-stepper-step.js +1 -0
- package/dist/components/bs-stepper.d.ts +11 -0
- package/dist/components/bs-stepper.js +1 -0
- 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-qK1XlpTA.js → p-BFVUq5m5.js} +1 -1
- package/dist/components/{p-BtX5URLk.js → p-BPUNjzjH.js} +1 -1
- package/dist/components/{p-CgaPcyEJ.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 +42 -0
- package/dist/esm/bs-stepper.entry.js +60 -0
- 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/bs-stepper/bs-stepper/bs-stepper.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-stepper/bs-stepper/bs-stepper.d.ts +48 -0
- package/dist/types/components/bs-stepper/bs-stepper/bs-stepper.stories.d.ts +14 -0
- package/dist/types/components/bs-stepper/bs-stepper-step/bs-stepper-step.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-stepper/bs-stepper-step/bs-stepper-step.d.ts +55 -0
- package/dist/types/components.d.ts +653 -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-0f3cb0c4.entry.js +0 -1
- package/dist/brandsync-wc/p-ce7fc368.entry.js +0 -1
- package/dist/brandsync-wc/p-f0ae2740.entry.js +0 -1
|
@@ -16,6 +16,9 @@ import { BsButtonSize as BsButtonSize1 } from "./components/bs-button/bs-button/
|
|
|
16
16
|
import { BsCardSurface } from "./components/bs-card/bs-card";
|
|
17
17
|
import { BsCheckboxSize } from "./components/bs-checkbox/bs-checkbox";
|
|
18
18
|
import { BsCheckboxSize as BsCheckboxSize1 } from "./components/bs-checkbox/bs-checkbox";
|
|
19
|
+
import { BsChipFilterSize } from "./components/bs-chip/bs-chip-filter/bs-chip-filter";
|
|
20
|
+
import { BsChipInformativeColor, BsChipInformativeSize } from "./components/bs-chip/bs-chip-informative/bs-chip-informative";
|
|
21
|
+
import { BsChipInputSize } from "./components/bs-chip/bs-chip-input/bs-chip-input";
|
|
19
22
|
import { BsComposerState, BsComposerVariant } from "./components/bs-composer/bs-composer";
|
|
20
23
|
import { BsComposerStatusBannerType } from "./components/bs-composer-status-banner/bs-composer-status-banner";
|
|
21
24
|
import { BsDataTableColumn, BsDataTableRow } from "./components/bs-data-table/bs-data-table";
|
|
@@ -25,6 +28,8 @@ import { BsLogoBackground, BsLogoVariant } from "./components/bs-logo/bs-logo";
|
|
|
25
28
|
import { BsNavigationHeaderAlignment } from "./components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header";
|
|
26
29
|
import { BsSliderType } from "./components/bs-slider/bs-slider";
|
|
27
30
|
import { BsSnackbarVariant } from "./components/bs-snackbar/bs-snackbar";
|
|
31
|
+
import { BsStepperDirection } from "./components/bs-stepper/bs-stepper-step/bs-stepper-step";
|
|
32
|
+
import { BsStepperDirection as BsStepperDirection1, BsStepperStepComputedState } from "./components/bs-stepper/bs-stepper-step/bs-stepper-step";
|
|
28
33
|
import { BsSwitchSize } from "./components/bs-switch/bs-switch";
|
|
29
34
|
import { BsTabIconPosition } from "./components/bs-tab/bs-tab/bs-tab";
|
|
30
35
|
import { BsTabsOrientation, BsTabsType } from "./components/bs-tab/bs-tabs/bs-tabs";
|
|
@@ -39,6 +44,9 @@ export { BsButtonSize as BsButtonSize1 } from "./components/bs-button/bs-button/
|
|
|
39
44
|
export { BsCardSurface } from "./components/bs-card/bs-card";
|
|
40
45
|
export { BsCheckboxSize } from "./components/bs-checkbox/bs-checkbox";
|
|
41
46
|
export { BsCheckboxSize as BsCheckboxSize1 } from "./components/bs-checkbox/bs-checkbox";
|
|
47
|
+
export { BsChipFilterSize } from "./components/bs-chip/bs-chip-filter/bs-chip-filter";
|
|
48
|
+
export { BsChipInformativeColor, BsChipInformativeSize } from "./components/bs-chip/bs-chip-informative/bs-chip-informative";
|
|
49
|
+
export { BsChipInputSize } from "./components/bs-chip/bs-chip-input/bs-chip-input";
|
|
42
50
|
export { BsComposerState, BsComposerVariant } from "./components/bs-composer/bs-composer";
|
|
43
51
|
export { BsComposerStatusBannerType } from "./components/bs-composer-status-banner/bs-composer-status-banner";
|
|
44
52
|
export { BsDataTableColumn, BsDataTableRow } from "./components/bs-data-table/bs-data-table";
|
|
@@ -48,6 +56,8 @@ export { BsLogoBackground, BsLogoVariant } from "./components/bs-logo/bs-logo";
|
|
|
48
56
|
export { BsNavigationHeaderAlignment } from "./components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header";
|
|
49
57
|
export { BsSliderType } from "./components/bs-slider/bs-slider";
|
|
50
58
|
export { BsSnackbarVariant } from "./components/bs-snackbar/bs-snackbar";
|
|
59
|
+
export { BsStepperDirection } from "./components/bs-stepper/bs-stepper-step/bs-stepper-step";
|
|
60
|
+
export { BsStepperDirection as BsStepperDirection1, BsStepperStepComputedState } from "./components/bs-stepper/bs-stepper-step/bs-stepper-step";
|
|
51
61
|
export { BsSwitchSize } from "./components/bs-switch/bs-switch";
|
|
52
62
|
export { BsTabIconPosition } from "./components/bs-tab/bs-tab/bs-tab";
|
|
53
63
|
export { BsTabsOrientation, BsTabsType } from "./components/bs-tab/bs-tabs/bs-tabs";
|
|
@@ -775,6 +785,102 @@ export namespace Components {
|
|
|
775
785
|
*/
|
|
776
786
|
"size": BsCheckboxSize1;
|
|
777
787
|
}
|
|
788
|
+
/**
|
|
789
|
+
* A pill-shaped, selectable toggle used to filter a list or dataset (e.g. a "Filter chip" row
|
|
790
|
+
* above a table or search results), optionally paired with a leading icon and/or a dropdown caret
|
|
791
|
+
* that signals it opens a menu of further options.
|
|
792
|
+
* ## When to use
|
|
793
|
+
* - Letting a user toggle a filter on/off, or open a menu of filter options (pair `dropdown` with
|
|
794
|
+
* your own `bs-menu` -- this component only renders the caret affordance, it doesn't manage a
|
|
795
|
+
* menu itself).
|
|
796
|
+
* ## When not to use
|
|
797
|
+
* - A static, non-interactive status/category label -- use `bs-badge` instead.
|
|
798
|
+
* - A single primary action -- use `bs-button`.
|
|
799
|
+
*/
|
|
800
|
+
interface BsChipFilter {
|
|
801
|
+
/**
|
|
802
|
+
* Accessible name override. The visible label (default slot) already gives the native button an accessible name, so this is only needed if that text isn't sufficient on its own (e.g. it doesn't convey that activating the chip toggles a filter).
|
|
803
|
+
* @default null
|
|
804
|
+
*/
|
|
805
|
+
"ariaLabel": string | null;
|
|
806
|
+
/**
|
|
807
|
+
* Disables the chip: sets the native `disabled` attribute, suppresses hover/focus/pressed styling, and prevents toggling.
|
|
808
|
+
* @default false
|
|
809
|
+
*/
|
|
810
|
+
"disabled": boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Shows a trailing dropdown caret, signaling this chip opens a menu of further options. Purely a visual affordance -- wire up the actual menu (e.g. `bs-menu`) yourself.
|
|
813
|
+
* @default false
|
|
814
|
+
*/
|
|
815
|
+
"dropdown": boolean;
|
|
816
|
+
/**
|
|
817
|
+
* Whether the chip reads as toggled on. Mutable so clicking it toggles directly, and reflected so consumers can target `bs-chip-filter[selected]` via CSS.
|
|
818
|
+
* @default false
|
|
819
|
+
*/
|
|
820
|
+
"selected": boolean;
|
|
821
|
+
/**
|
|
822
|
+
* Sizing scale. Controls the chip's height only -- icon size, gap, and font size stay constant across sizes, matching the Figma spec exactly.
|
|
823
|
+
* @default 'lg'
|
|
824
|
+
*/
|
|
825
|
+
"size": BsChipFilterSize;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* A pill-shaped, non-interactive label for conveying a category or status at a glance, optionally
|
|
829
|
+
* paired with a leading icon. Unlike `bs-chip-filter`/`bs-chip-input`, this is purely informational
|
|
830
|
+
* -- no click/select/remove behavior, no hover/focus/pressed states.
|
|
831
|
+
* ## When to use
|
|
832
|
+
* - Conveying a category or status inline with other content, with more color options and an
|
|
833
|
+
* optional icon than `bs-badge` offers.
|
|
834
|
+
* ## When not to use
|
|
835
|
+
* - Anything clickable/selectable -- use `bs-chip-filter`.
|
|
836
|
+
* - A short, fixed status label with no color/icon needs -- `bs-badge` is the simpler choice.
|
|
837
|
+
*/
|
|
838
|
+
interface BsChipInformative {
|
|
839
|
+
/**
|
|
840
|
+
* Semantic color. Maps directly to the brandsync-tokens `--bs-chip-bg-*-container`/ `--bs-chip-text-*` sets. Ignored (in favor of the disabled token set) when `disabled` is set -- same override relationship `bs-stepper-step`'s `error`/`disabled` props have.
|
|
841
|
+
* @default 'neutral'
|
|
842
|
+
*/
|
|
843
|
+
"color": BsChipInformativeColor;
|
|
844
|
+
/**
|
|
845
|
+
* Overrides `color` with the disabled token set, regardless of its value. Reflected so `:host([disabled])` can apply it in CSS.
|
|
846
|
+
* @default false
|
|
847
|
+
*/
|
|
848
|
+
"disabled": boolean;
|
|
849
|
+
/**
|
|
850
|
+
* Sizing scale. Controls height and font-size/line-height together -- unlike `bs-chip-filter`/`bs-chip-input`, Figma specs a distinct (smaller) font at `size="sm"`, not just a shorter pill.
|
|
851
|
+
* @default 'lg'
|
|
852
|
+
*/
|
|
853
|
+
"size": BsChipInformativeSize;
|
|
854
|
+
}
|
|
855
|
+
/**
|
|
856
|
+
* A pill-shaped, removable representation of a discrete piece of user-entered data (e.g. a tag,
|
|
857
|
+
* a selected filter value, an invited email address), optionally paired with a leading icon or
|
|
858
|
+
* avatar. Unlike `bs-chip-filter`, this is a compound control -- the body toggles `selected`, and
|
|
859
|
+
* a separate trailing button removes the chip entirely.
|
|
860
|
+
* ## When to use
|
|
861
|
+
* - Representing one entry in a list the user built themselves (tags, recipients, multi-select
|
|
862
|
+
* values) that they need to be able to remove individually.
|
|
863
|
+
* ## When not to use
|
|
864
|
+
* - A single toggleable filter, with no removal affordance -- use `bs-chip-filter`.
|
|
865
|
+
* - A static, non-interactive status/category label -- use `bs-badge`.
|
|
866
|
+
*/
|
|
867
|
+
interface BsChipInput {
|
|
868
|
+
/**
|
|
869
|
+
* Disables both the body and the remove button, and reflected so `:host([disabled])` can apply the disabled token set (a plain CSS pseudo-class can't target the host itself here, since :host isn't a native form control).
|
|
870
|
+
* @default false
|
|
871
|
+
*/
|
|
872
|
+
"disabled": boolean;
|
|
873
|
+
/**
|
|
874
|
+
* Whether the chip reads as toggled on. Mutable so clicking the body toggles directly, and reflected so consumers can target `bs-chip-input[selected]` via CSS.
|
|
875
|
+
* @default false
|
|
876
|
+
*/
|
|
877
|
+
"selected": boolean;
|
|
878
|
+
/**
|
|
879
|
+
* Sizing scale. Controls the chip's height only -- icon size, gap, and font size stay constant across sizes, matching the Figma spec exactly.
|
|
880
|
+
* @default 'lg'
|
|
881
|
+
*/
|
|
882
|
+
"size": BsChipInputSize;
|
|
883
|
+
}
|
|
778
884
|
/**
|
|
779
885
|
* A chat composer input for Genie AI-style conversational interfaces: a text field
|
|
780
886
|
* plus an attach button, a mic/voice-recording toggle, and a single primary action button whose
|
|
@@ -1682,6 +1788,98 @@ export namespace Components {
|
|
|
1682
1788
|
*/
|
|
1683
1789
|
"version"?: string;
|
|
1684
1790
|
}
|
|
1791
|
+
/**
|
|
1792
|
+
* A sequence of named steps showing overall progress through a multi-step flow (e.g. a checkout,
|
|
1793
|
+
* an onboarding wizard) -- each step reads as enabled (not yet reached), current, done, error, or
|
|
1794
|
+
* disabled, connected by a rail between them.
|
|
1795
|
+
* This container is intentionally thin: it renders a `<slot>` for `<bs-stepper-step>` children and
|
|
1796
|
+
* propagates `currentStep`/`direction`/`showDescription` down to them as JS properties whenever any
|
|
1797
|
+
* of those change or the slotted children themselves change -- the same "container pushes state
|
|
1798
|
+
* onto its slotted children" pattern `bs-tabs` uses for `selected` and `bs-breadcrumbs` uses for
|
|
1799
|
+
* `size`. Each step computes its own `enabled`/`current`/`done` state from its position among its
|
|
1800
|
+
* siblings relative to `currentStep`, unless that step's own `error`/`disabled` prop overrides it.
|
|
1801
|
+
* This is a static status display, not an interactive control -- Figma's spec shows no
|
|
1802
|
+
* hover/pressed treatment on any step, so nothing here is clickable.
|
|
1803
|
+
* ## When to use
|
|
1804
|
+
* - Showing where the user is in a fixed, ordered, multi-step flow.
|
|
1805
|
+
* ## When not to use
|
|
1806
|
+
* - A flow whose steps aren't fixed/known in advance -- a stepper implies the full sequence is
|
|
1807
|
+
* already known.
|
|
1808
|
+
* - As a substitute for actual in-page navigation between steps -- pair this with real controls
|
|
1809
|
+
* (Next/Back buttons) elsewhere in the flow, this component only displays status.
|
|
1810
|
+
*/
|
|
1811
|
+
interface BsStepper {
|
|
1812
|
+
/**
|
|
1813
|
+
* 0-indexed: which step is current. Every step before this index reads as "done" (unless that step's own `error`/`disabled` overrides it), every step after reads as "enabled".
|
|
1814
|
+
* @default 0
|
|
1815
|
+
*/
|
|
1816
|
+
"currentStep": number;
|
|
1817
|
+
/**
|
|
1818
|
+
* `horizontal` (icon above name/description, connected by a horizontal rail) or `vertical` (icon beside name/description, connected by a vertical rail). Propagated to every slotted `bs-stepper-step`, and reflected as an attribute so this container's own `:host` CSS can switch its `flex-direction` to match -- a bare `<slot>` with no wrapping element (see `render()`) means the slotted steps' flex-row/column layout comes directly from `:host` here, not from any wrapper div.
|
|
1819
|
+
* @default 'horizontal'
|
|
1820
|
+
*/
|
|
1821
|
+
"direction": BsStepperDirection;
|
|
1822
|
+
/**
|
|
1823
|
+
* Whether each step's description renders at all. Propagated to every slotted `bs-stepper-step`.
|
|
1824
|
+
* @default true
|
|
1825
|
+
*/
|
|
1826
|
+
"showDescription": boolean;
|
|
1827
|
+
}
|
|
1828
|
+
/**
|
|
1829
|
+
* A single step within a `<bs-stepper>` sequence: an icon/indicator plus a name and optional
|
|
1830
|
+
* description, connected to the next step by a trailing rail.
|
|
1831
|
+
* `computedState` is set automatically by the parent `<bs-stepper>` based on this step's position
|
|
1832
|
+
* relative to its `currentStep` (before it = "done", at it = "current", after it = "enabled") --
|
|
1833
|
+
* same "container pushes state onto its slotted children" pattern `bs-tabs` uses for `selected`
|
|
1834
|
+
* and `bs-breadcrumbs` uses for `size`. This step's own `error`/`disabled` props, when set directly
|
|
1835
|
+
* by the consumer, override that computed value -- e.g. a step before `currentStep` would normally
|
|
1836
|
+
* read as "done", but `error` on that step wins regardless.
|
|
1837
|
+
* The trailing rail is owned by this component, not the container: `:host(:last-child)` hides it
|
|
1838
|
+
* on whichever step is visually last, mirroring `bs-breadcrumb`'s own `:host(:first-child)` rule
|
|
1839
|
+
* for its leading separator (same technique, opposite end -- see that component for why pure DOM
|
|
1840
|
+
* position, not CSS `:last-of-type`, is what actually needs checking here too).
|
|
1841
|
+
* ## When to use
|
|
1842
|
+
* - As a child of `<bs-stepper>`, one per step in the sequence.
|
|
1843
|
+
* ## When not to use
|
|
1844
|
+
* - Standalone, outside a `<bs-stepper>` wrapper -- `computedState`/`direction`/`showDescription`
|
|
1845
|
+
* depend on that parent propagating them; alone, this defaults to `enabled`/`horizontal`/`true`.
|
|
1846
|
+
*/
|
|
1847
|
+
interface BsStepperStep {
|
|
1848
|
+
/**
|
|
1849
|
+
* Set automatically by the parent `<bs-stepper>` from this step's position relative to its `currentStep` -- see the class doc above. Can be set directly for a standalone step.
|
|
1850
|
+
* @default 'enabled'
|
|
1851
|
+
*/
|
|
1852
|
+
"computedState": BsStepperStepComputedState;
|
|
1853
|
+
/**
|
|
1854
|
+
* Optional supporting text below the name. Only rendered when `showDescription` (propagated from the parent `<bs-stepper>`) is also true.
|
|
1855
|
+
*/
|
|
1856
|
+
"description"?: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* Set automatically by the parent `<bs-stepper>`, propagated to every slotted step.
|
|
1859
|
+
* @default 'horizontal'
|
|
1860
|
+
*/
|
|
1861
|
+
"direction": BsStepperDirection1;
|
|
1862
|
+
/**
|
|
1863
|
+
* Shows the disabled treatment for this step, regardless of its `computedState`. Takes priority over `error` if both are somehow set.
|
|
1864
|
+
* @default false
|
|
1865
|
+
*/
|
|
1866
|
+
"disabled": boolean;
|
|
1867
|
+
/**
|
|
1868
|
+
* Shows the error treatment for this step, regardless of its `computedState`.
|
|
1869
|
+
* @default false
|
|
1870
|
+
*/
|
|
1871
|
+
"error": boolean;
|
|
1872
|
+
/**
|
|
1873
|
+
* This step's name/title.
|
|
1874
|
+
* @default ''
|
|
1875
|
+
*/
|
|
1876
|
+
"name": string;
|
|
1877
|
+
/**
|
|
1878
|
+
* Set automatically by the parent `<bs-stepper>`, propagated to every slotted step.
|
|
1879
|
+
* @default true
|
|
1880
|
+
*/
|
|
1881
|
+
"showDescription": boolean;
|
|
1882
|
+
}
|
|
1685
1883
|
/**
|
|
1686
1884
|
* A toggle switch for an on/off setting that takes effect immediately (no explicit form
|
|
1687
1885
|
* submission required).
|
|
@@ -1846,6 +2044,14 @@ export interface BsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
1846
2044
|
detail: T;
|
|
1847
2045
|
target: HTMLBsCheckboxElement;
|
|
1848
2046
|
}
|
|
2047
|
+
export interface BsChipFilterCustomEvent<T> extends CustomEvent<T> {
|
|
2048
|
+
detail: T;
|
|
2049
|
+
target: HTMLBsChipFilterElement;
|
|
2050
|
+
}
|
|
2051
|
+
export interface BsChipInputCustomEvent<T> extends CustomEvent<T> {
|
|
2052
|
+
detail: T;
|
|
2053
|
+
target: HTMLBsChipInputElement;
|
|
2054
|
+
}
|
|
1849
2055
|
export interface BsComposerCustomEvent<T> extends CustomEvent<T> {
|
|
1850
2056
|
detail: T;
|
|
1851
2057
|
target: HTMLBsComposerElement;
|
|
@@ -2550,6 +2756,82 @@ declare global {
|
|
|
2550
2756
|
prototype: HTMLBsCheckboxSkeletonElement;
|
|
2551
2757
|
new (): HTMLBsCheckboxSkeletonElement;
|
|
2552
2758
|
};
|
|
2759
|
+
interface HTMLBsChipFilterElementEventMap {
|
|
2760
|
+
"bsChange": boolean;
|
|
2761
|
+
}
|
|
2762
|
+
/**
|
|
2763
|
+
* A pill-shaped, selectable toggle used to filter a list or dataset (e.g. a "Filter chip" row
|
|
2764
|
+
* above a table or search results), optionally paired with a leading icon and/or a dropdown caret
|
|
2765
|
+
* that signals it opens a menu of further options.
|
|
2766
|
+
* ## When to use
|
|
2767
|
+
* - Letting a user toggle a filter on/off, or open a menu of filter options (pair `dropdown` with
|
|
2768
|
+
* your own `bs-menu` -- this component only renders the caret affordance, it doesn't manage a
|
|
2769
|
+
* menu itself).
|
|
2770
|
+
* ## When not to use
|
|
2771
|
+
* - A static, non-interactive status/category label -- use `bs-badge` instead.
|
|
2772
|
+
* - A single primary action -- use `bs-button`.
|
|
2773
|
+
*/
|
|
2774
|
+
interface HTMLBsChipFilterElement extends Components.BsChipFilter, HTMLStencilElement {
|
|
2775
|
+
addEventListener<K extends keyof HTMLBsChipFilterElementEventMap>(type: K, listener: (this: HTMLBsChipFilterElement, ev: BsChipFilterCustomEvent<HTMLBsChipFilterElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2776
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2777
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2778
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2779
|
+
removeEventListener<K extends keyof HTMLBsChipFilterElementEventMap>(type: K, listener: (this: HTMLBsChipFilterElement, ev: BsChipFilterCustomEvent<HTMLBsChipFilterElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2780
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2781
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2782
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2783
|
+
}
|
|
2784
|
+
var HTMLBsChipFilterElement: {
|
|
2785
|
+
prototype: HTMLBsChipFilterElement;
|
|
2786
|
+
new (): HTMLBsChipFilterElement;
|
|
2787
|
+
};
|
|
2788
|
+
/**
|
|
2789
|
+
* A pill-shaped, non-interactive label for conveying a category or status at a glance, optionally
|
|
2790
|
+
* paired with a leading icon. Unlike `bs-chip-filter`/`bs-chip-input`, this is purely informational
|
|
2791
|
+
* -- no click/select/remove behavior, no hover/focus/pressed states.
|
|
2792
|
+
* ## When to use
|
|
2793
|
+
* - Conveying a category or status inline with other content, with more color options and an
|
|
2794
|
+
* optional icon than `bs-badge` offers.
|
|
2795
|
+
* ## When not to use
|
|
2796
|
+
* - Anything clickable/selectable -- use `bs-chip-filter`.
|
|
2797
|
+
* - A short, fixed status label with no color/icon needs -- `bs-badge` is the simpler choice.
|
|
2798
|
+
*/
|
|
2799
|
+
interface HTMLBsChipInformativeElement extends Components.BsChipInformative, HTMLStencilElement {
|
|
2800
|
+
}
|
|
2801
|
+
var HTMLBsChipInformativeElement: {
|
|
2802
|
+
prototype: HTMLBsChipInformativeElement;
|
|
2803
|
+
new (): HTMLBsChipInformativeElement;
|
|
2804
|
+
};
|
|
2805
|
+
interface HTMLBsChipInputElementEventMap {
|
|
2806
|
+
"bsChange": boolean;
|
|
2807
|
+
"bsRemove": void;
|
|
2808
|
+
}
|
|
2809
|
+
/**
|
|
2810
|
+
* A pill-shaped, removable representation of a discrete piece of user-entered data (e.g. a tag,
|
|
2811
|
+
* a selected filter value, an invited email address), optionally paired with a leading icon or
|
|
2812
|
+
* avatar. Unlike `bs-chip-filter`, this is a compound control -- the body toggles `selected`, and
|
|
2813
|
+
* a separate trailing button removes the chip entirely.
|
|
2814
|
+
* ## When to use
|
|
2815
|
+
* - Representing one entry in a list the user built themselves (tags, recipients, multi-select
|
|
2816
|
+
* values) that they need to be able to remove individually.
|
|
2817
|
+
* ## When not to use
|
|
2818
|
+
* - A single toggleable filter, with no removal affordance -- use `bs-chip-filter`.
|
|
2819
|
+
* - A static, non-interactive status/category label -- use `bs-badge`.
|
|
2820
|
+
*/
|
|
2821
|
+
interface HTMLBsChipInputElement extends Components.BsChipInput, HTMLStencilElement {
|
|
2822
|
+
addEventListener<K extends keyof HTMLBsChipInputElementEventMap>(type: K, listener: (this: HTMLBsChipInputElement, ev: BsChipInputCustomEvent<HTMLBsChipInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2823
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2824
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2825
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2826
|
+
removeEventListener<K extends keyof HTMLBsChipInputElementEventMap>(type: K, listener: (this: HTMLBsChipInputElement, ev: BsChipInputCustomEvent<HTMLBsChipInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2827
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2828
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2829
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2830
|
+
}
|
|
2831
|
+
var HTMLBsChipInputElement: {
|
|
2832
|
+
prototype: HTMLBsChipInputElement;
|
|
2833
|
+
new (): HTMLBsChipInputElement;
|
|
2834
|
+
};
|
|
2553
2835
|
interface HTMLBsComposerElementEventMap {
|
|
2554
2836
|
"bsInput": string;
|
|
2555
2837
|
"bsSubmit": void;
|
|
@@ -3234,6 +3516,57 @@ declare global {
|
|
|
3234
3516
|
prototype: HTMLBsSourceLinkElement;
|
|
3235
3517
|
new (): HTMLBsSourceLinkElement;
|
|
3236
3518
|
};
|
|
3519
|
+
/**
|
|
3520
|
+
* A sequence of named steps showing overall progress through a multi-step flow (e.g. a checkout,
|
|
3521
|
+
* an onboarding wizard) -- each step reads as enabled (not yet reached), current, done, error, or
|
|
3522
|
+
* disabled, connected by a rail between them.
|
|
3523
|
+
* This container is intentionally thin: it renders a `<slot>` for `<bs-stepper-step>` children and
|
|
3524
|
+
* propagates `currentStep`/`direction`/`showDescription` down to them as JS properties whenever any
|
|
3525
|
+
* of those change or the slotted children themselves change -- the same "container pushes state
|
|
3526
|
+
* onto its slotted children" pattern `bs-tabs` uses for `selected` and `bs-breadcrumbs` uses for
|
|
3527
|
+
* `size`. Each step computes its own `enabled`/`current`/`done` state from its position among its
|
|
3528
|
+
* siblings relative to `currentStep`, unless that step's own `error`/`disabled` prop overrides it.
|
|
3529
|
+
* This is a static status display, not an interactive control -- Figma's spec shows no
|
|
3530
|
+
* hover/pressed treatment on any step, so nothing here is clickable.
|
|
3531
|
+
* ## When to use
|
|
3532
|
+
* - Showing where the user is in a fixed, ordered, multi-step flow.
|
|
3533
|
+
* ## When not to use
|
|
3534
|
+
* - A flow whose steps aren't fixed/known in advance -- a stepper implies the full sequence is
|
|
3535
|
+
* already known.
|
|
3536
|
+
* - As a substitute for actual in-page navigation between steps -- pair this with real controls
|
|
3537
|
+
* (Next/Back buttons) elsewhere in the flow, this component only displays status.
|
|
3538
|
+
*/
|
|
3539
|
+
interface HTMLBsStepperElement extends Components.BsStepper, HTMLStencilElement {
|
|
3540
|
+
}
|
|
3541
|
+
var HTMLBsStepperElement: {
|
|
3542
|
+
prototype: HTMLBsStepperElement;
|
|
3543
|
+
new (): HTMLBsStepperElement;
|
|
3544
|
+
};
|
|
3545
|
+
/**
|
|
3546
|
+
* A single step within a `<bs-stepper>` sequence: an icon/indicator plus a name and optional
|
|
3547
|
+
* description, connected to the next step by a trailing rail.
|
|
3548
|
+
* `computedState` is set automatically by the parent `<bs-stepper>` based on this step's position
|
|
3549
|
+
* relative to its `currentStep` (before it = "done", at it = "current", after it = "enabled") --
|
|
3550
|
+
* same "container pushes state onto its slotted children" pattern `bs-tabs` uses for `selected`
|
|
3551
|
+
* and `bs-breadcrumbs` uses for `size`. This step's own `error`/`disabled` props, when set directly
|
|
3552
|
+
* by the consumer, override that computed value -- e.g. a step before `currentStep` would normally
|
|
3553
|
+
* read as "done", but `error` on that step wins regardless.
|
|
3554
|
+
* The trailing rail is owned by this component, not the container: `:host(:last-child)` hides it
|
|
3555
|
+
* on whichever step is visually last, mirroring `bs-breadcrumb`'s own `:host(:first-child)` rule
|
|
3556
|
+
* for its leading separator (same technique, opposite end -- see that component for why pure DOM
|
|
3557
|
+
* position, not CSS `:last-of-type`, is what actually needs checking here too).
|
|
3558
|
+
* ## When to use
|
|
3559
|
+
* - As a child of `<bs-stepper>`, one per step in the sequence.
|
|
3560
|
+
* ## When not to use
|
|
3561
|
+
* - Standalone, outside a `<bs-stepper>` wrapper -- `computedState`/`direction`/`showDescription`
|
|
3562
|
+
* depend on that parent propagating them; alone, this defaults to `enabled`/`horizontal`/`true`.
|
|
3563
|
+
*/
|
|
3564
|
+
interface HTMLBsStepperStepElement extends Components.BsStepperStep, HTMLStencilElement {
|
|
3565
|
+
}
|
|
3566
|
+
var HTMLBsStepperStepElement: {
|
|
3567
|
+
prototype: HTMLBsStepperStepElement;
|
|
3568
|
+
new (): HTMLBsStepperStepElement;
|
|
3569
|
+
};
|
|
3237
3570
|
interface HTMLBsSwitchElementEventMap {
|
|
3238
3571
|
"bsChange": boolean;
|
|
3239
3572
|
}
|
|
@@ -3373,6 +3706,9 @@ declare global {
|
|
|
3373
3706
|
"bs-chatbot-suggestion-button": HTMLBsChatbotSuggestionButtonElement;
|
|
3374
3707
|
"bs-checkbox": HTMLBsCheckboxElement;
|
|
3375
3708
|
"bs-checkbox-skeleton": HTMLBsCheckboxSkeletonElement;
|
|
3709
|
+
"bs-chip-filter": HTMLBsChipFilterElement;
|
|
3710
|
+
"bs-chip-informative": HTMLBsChipInformativeElement;
|
|
3711
|
+
"bs-chip-input": HTMLBsChipInputElement;
|
|
3376
3712
|
"bs-composer": HTMLBsComposerElement;
|
|
3377
3713
|
"bs-composer-status-banner": HTMLBsComposerStatusBannerElement;
|
|
3378
3714
|
"bs-data-table": HTMLBsDataTableElement;
|
|
@@ -3391,6 +3727,8 @@ declare global {
|
|
|
3391
3727
|
"bs-slider": HTMLBsSliderElement;
|
|
3392
3728
|
"bs-snackbar": HTMLBsSnackbarElement;
|
|
3393
3729
|
"bs-source-link": HTMLBsSourceLinkElement;
|
|
3730
|
+
"bs-stepper": HTMLBsStepperElement;
|
|
3731
|
+
"bs-stepper-step": HTMLBsStepperStepElement;
|
|
3394
3732
|
"bs-switch": HTMLBsSwitchElement;
|
|
3395
3733
|
"bs-tab": HTMLBsTabElement;
|
|
3396
3734
|
"bs-tabs": HTMLBsTabsElement;
|
|
@@ -4197,6 +4535,114 @@ declare namespace LocalJSX {
|
|
|
4197
4535
|
*/
|
|
4198
4536
|
"size"?: BsCheckboxSize1;
|
|
4199
4537
|
}
|
|
4538
|
+
/**
|
|
4539
|
+
* A pill-shaped, selectable toggle used to filter a list or dataset (e.g. a "Filter chip" row
|
|
4540
|
+
* above a table or search results), optionally paired with a leading icon and/or a dropdown caret
|
|
4541
|
+
* that signals it opens a menu of further options.
|
|
4542
|
+
* ## When to use
|
|
4543
|
+
* - Letting a user toggle a filter on/off, or open a menu of filter options (pair `dropdown` with
|
|
4544
|
+
* your own `bs-menu` -- this component only renders the caret affordance, it doesn't manage a
|
|
4545
|
+
* menu itself).
|
|
4546
|
+
* ## When not to use
|
|
4547
|
+
* - A static, non-interactive status/category label -- use `bs-badge` instead.
|
|
4548
|
+
* - A single primary action -- use `bs-button`.
|
|
4549
|
+
*/
|
|
4550
|
+
interface BsChipFilter {
|
|
4551
|
+
/**
|
|
4552
|
+
* Accessible name override. The visible label (default slot) already gives the native button an accessible name, so this is only needed if that text isn't sufficient on its own (e.g. it doesn't convey that activating the chip toggles a filter).
|
|
4553
|
+
* @default null
|
|
4554
|
+
*/
|
|
4555
|
+
"ariaLabel"?: string | null;
|
|
4556
|
+
/**
|
|
4557
|
+
* Disables the chip: sets the native `disabled` attribute, suppresses hover/focus/pressed styling, and prevents toggling.
|
|
4558
|
+
* @default false
|
|
4559
|
+
*/
|
|
4560
|
+
"disabled"?: boolean;
|
|
4561
|
+
/**
|
|
4562
|
+
* Shows a trailing dropdown caret, signaling this chip opens a menu of further options. Purely a visual affordance -- wire up the actual menu (e.g. `bs-menu`) yourself.
|
|
4563
|
+
* @default false
|
|
4564
|
+
*/
|
|
4565
|
+
"dropdown"?: boolean;
|
|
4566
|
+
/**
|
|
4567
|
+
* Emitted when `selected` changes via user interaction, with the new value.
|
|
4568
|
+
*/
|
|
4569
|
+
"onBsChange"?: (event: BsChipFilterCustomEvent<boolean>) => void;
|
|
4570
|
+
/**
|
|
4571
|
+
* Whether the chip reads as toggled on. Mutable so clicking it toggles directly, and reflected so consumers can target `bs-chip-filter[selected]` via CSS.
|
|
4572
|
+
* @default false
|
|
4573
|
+
*/
|
|
4574
|
+
"selected"?: boolean;
|
|
4575
|
+
/**
|
|
4576
|
+
* Sizing scale. Controls the chip's height only -- icon size, gap, and font size stay constant across sizes, matching the Figma spec exactly.
|
|
4577
|
+
* @default 'lg'
|
|
4578
|
+
*/
|
|
4579
|
+
"size"?: BsChipFilterSize;
|
|
4580
|
+
}
|
|
4581
|
+
/**
|
|
4582
|
+
* A pill-shaped, non-interactive label for conveying a category or status at a glance, optionally
|
|
4583
|
+
* paired with a leading icon. Unlike `bs-chip-filter`/`bs-chip-input`, this is purely informational
|
|
4584
|
+
* -- no click/select/remove behavior, no hover/focus/pressed states.
|
|
4585
|
+
* ## When to use
|
|
4586
|
+
* - Conveying a category or status inline with other content, with more color options and an
|
|
4587
|
+
* optional icon than `bs-badge` offers.
|
|
4588
|
+
* ## When not to use
|
|
4589
|
+
* - Anything clickable/selectable -- use `bs-chip-filter`.
|
|
4590
|
+
* - A short, fixed status label with no color/icon needs -- `bs-badge` is the simpler choice.
|
|
4591
|
+
*/
|
|
4592
|
+
interface BsChipInformative {
|
|
4593
|
+
/**
|
|
4594
|
+
* Semantic color. Maps directly to the brandsync-tokens `--bs-chip-bg-*-container`/ `--bs-chip-text-*` sets. Ignored (in favor of the disabled token set) when `disabled` is set -- same override relationship `bs-stepper-step`'s `error`/`disabled` props have.
|
|
4595
|
+
* @default 'neutral'
|
|
4596
|
+
*/
|
|
4597
|
+
"color"?: BsChipInformativeColor;
|
|
4598
|
+
/**
|
|
4599
|
+
* Overrides `color` with the disabled token set, regardless of its value. Reflected so `:host([disabled])` can apply it in CSS.
|
|
4600
|
+
* @default false
|
|
4601
|
+
*/
|
|
4602
|
+
"disabled"?: boolean;
|
|
4603
|
+
/**
|
|
4604
|
+
* Sizing scale. Controls height and font-size/line-height together -- unlike `bs-chip-filter`/`bs-chip-input`, Figma specs a distinct (smaller) font at `size="sm"`, not just a shorter pill.
|
|
4605
|
+
* @default 'lg'
|
|
4606
|
+
*/
|
|
4607
|
+
"size"?: BsChipInformativeSize;
|
|
4608
|
+
}
|
|
4609
|
+
/**
|
|
4610
|
+
* A pill-shaped, removable representation of a discrete piece of user-entered data (e.g. a tag,
|
|
4611
|
+
* a selected filter value, an invited email address), optionally paired with a leading icon or
|
|
4612
|
+
* avatar. Unlike `bs-chip-filter`, this is a compound control -- the body toggles `selected`, and
|
|
4613
|
+
* a separate trailing button removes the chip entirely.
|
|
4614
|
+
* ## When to use
|
|
4615
|
+
* - Representing one entry in a list the user built themselves (tags, recipients, multi-select
|
|
4616
|
+
* values) that they need to be able to remove individually.
|
|
4617
|
+
* ## When not to use
|
|
4618
|
+
* - A single toggleable filter, with no removal affordance -- use `bs-chip-filter`.
|
|
4619
|
+
* - A static, non-interactive status/category label -- use `bs-badge`.
|
|
4620
|
+
*/
|
|
4621
|
+
interface BsChipInput {
|
|
4622
|
+
/**
|
|
4623
|
+
* Disables both the body and the remove button, and reflected so `:host([disabled])` can apply the disabled token set (a plain CSS pseudo-class can't target the host itself here, since :host isn't a native form control).
|
|
4624
|
+
* @default false
|
|
4625
|
+
*/
|
|
4626
|
+
"disabled"?: boolean;
|
|
4627
|
+
/**
|
|
4628
|
+
* Emitted when `selected` changes via clicking the body, with the new value.
|
|
4629
|
+
*/
|
|
4630
|
+
"onBsChange"?: (event: BsChipInputCustomEvent<boolean>) => void;
|
|
4631
|
+
/**
|
|
4632
|
+
* Emitted when the remove button is clicked. No payload -- unlike bs-input's own chip-entry mode (which tracks a `chips: string[]` array internally and can identify which string was removed), a standalone chip doesn't know its own "value" to a consumer; whatever's rendering a list of these already has that context via closure/key.
|
|
4633
|
+
*/
|
|
4634
|
+
"onBsRemove"?: (event: BsChipInputCustomEvent<void>) => void;
|
|
4635
|
+
/**
|
|
4636
|
+
* Whether the chip reads as toggled on. Mutable so clicking the body toggles directly, and reflected so consumers can target `bs-chip-input[selected]` via CSS.
|
|
4637
|
+
* @default false
|
|
4638
|
+
*/
|
|
4639
|
+
"selected"?: boolean;
|
|
4640
|
+
/**
|
|
4641
|
+
* Sizing scale. Controls the chip's height only -- icon size, gap, and font size stay constant across sizes, matching the Figma spec exactly.
|
|
4642
|
+
* @default 'lg'
|
|
4643
|
+
*/
|
|
4644
|
+
"size"?: BsChipInputSize;
|
|
4645
|
+
}
|
|
4200
4646
|
/**
|
|
4201
4647
|
* A chat composer input for Genie AI-style conversational interfaces: a text field
|
|
4202
4648
|
* plus an attach button, a mic/voice-recording toggle, and a single primary action button whose
|
|
@@ -5213,6 +5659,98 @@ declare namespace LocalJSX {
|
|
|
5213
5659
|
*/
|
|
5214
5660
|
"version"?: string;
|
|
5215
5661
|
}
|
|
5662
|
+
/**
|
|
5663
|
+
* A sequence of named steps showing overall progress through a multi-step flow (e.g. a checkout,
|
|
5664
|
+
* an onboarding wizard) -- each step reads as enabled (not yet reached), current, done, error, or
|
|
5665
|
+
* disabled, connected by a rail between them.
|
|
5666
|
+
* This container is intentionally thin: it renders a `<slot>` for `<bs-stepper-step>` children and
|
|
5667
|
+
* propagates `currentStep`/`direction`/`showDescription` down to them as JS properties whenever any
|
|
5668
|
+
* of those change or the slotted children themselves change -- the same "container pushes state
|
|
5669
|
+
* onto its slotted children" pattern `bs-tabs` uses for `selected` and `bs-breadcrumbs` uses for
|
|
5670
|
+
* `size`. Each step computes its own `enabled`/`current`/`done` state from its position among its
|
|
5671
|
+
* siblings relative to `currentStep`, unless that step's own `error`/`disabled` prop overrides it.
|
|
5672
|
+
* This is a static status display, not an interactive control -- Figma's spec shows no
|
|
5673
|
+
* hover/pressed treatment on any step, so nothing here is clickable.
|
|
5674
|
+
* ## When to use
|
|
5675
|
+
* - Showing where the user is in a fixed, ordered, multi-step flow.
|
|
5676
|
+
* ## When not to use
|
|
5677
|
+
* - A flow whose steps aren't fixed/known in advance -- a stepper implies the full sequence is
|
|
5678
|
+
* already known.
|
|
5679
|
+
* - As a substitute for actual in-page navigation between steps -- pair this with real controls
|
|
5680
|
+
* (Next/Back buttons) elsewhere in the flow, this component only displays status.
|
|
5681
|
+
*/
|
|
5682
|
+
interface BsStepper {
|
|
5683
|
+
/**
|
|
5684
|
+
* 0-indexed: which step is current. Every step before this index reads as "done" (unless that step's own `error`/`disabled` overrides it), every step after reads as "enabled".
|
|
5685
|
+
* @default 0
|
|
5686
|
+
*/
|
|
5687
|
+
"currentStep"?: number;
|
|
5688
|
+
/**
|
|
5689
|
+
* `horizontal` (icon above name/description, connected by a horizontal rail) or `vertical` (icon beside name/description, connected by a vertical rail). Propagated to every slotted `bs-stepper-step`, and reflected as an attribute so this container's own `:host` CSS can switch its `flex-direction` to match -- a bare `<slot>` with no wrapping element (see `render()`) means the slotted steps' flex-row/column layout comes directly from `:host` here, not from any wrapper div.
|
|
5690
|
+
* @default 'horizontal'
|
|
5691
|
+
*/
|
|
5692
|
+
"direction"?: BsStepperDirection;
|
|
5693
|
+
/**
|
|
5694
|
+
* Whether each step's description renders at all. Propagated to every slotted `bs-stepper-step`.
|
|
5695
|
+
* @default true
|
|
5696
|
+
*/
|
|
5697
|
+
"showDescription"?: boolean;
|
|
5698
|
+
}
|
|
5699
|
+
/**
|
|
5700
|
+
* A single step within a `<bs-stepper>` sequence: an icon/indicator plus a name and optional
|
|
5701
|
+
* description, connected to the next step by a trailing rail.
|
|
5702
|
+
* `computedState` is set automatically by the parent `<bs-stepper>` based on this step's position
|
|
5703
|
+
* relative to its `currentStep` (before it = "done", at it = "current", after it = "enabled") --
|
|
5704
|
+
* same "container pushes state onto its slotted children" pattern `bs-tabs` uses for `selected`
|
|
5705
|
+
* and `bs-breadcrumbs` uses for `size`. This step's own `error`/`disabled` props, when set directly
|
|
5706
|
+
* by the consumer, override that computed value -- e.g. a step before `currentStep` would normally
|
|
5707
|
+
* read as "done", but `error` on that step wins regardless.
|
|
5708
|
+
* The trailing rail is owned by this component, not the container: `:host(:last-child)` hides it
|
|
5709
|
+
* on whichever step is visually last, mirroring `bs-breadcrumb`'s own `:host(:first-child)` rule
|
|
5710
|
+
* for its leading separator (same technique, opposite end -- see that component for why pure DOM
|
|
5711
|
+
* position, not CSS `:last-of-type`, is what actually needs checking here too).
|
|
5712
|
+
* ## When to use
|
|
5713
|
+
* - As a child of `<bs-stepper>`, one per step in the sequence.
|
|
5714
|
+
* ## When not to use
|
|
5715
|
+
* - Standalone, outside a `<bs-stepper>` wrapper -- `computedState`/`direction`/`showDescription`
|
|
5716
|
+
* depend on that parent propagating them; alone, this defaults to `enabled`/`horizontal`/`true`.
|
|
5717
|
+
*/
|
|
5718
|
+
interface BsStepperStep {
|
|
5719
|
+
/**
|
|
5720
|
+
* Set automatically by the parent `<bs-stepper>` from this step's position relative to its `currentStep` -- see the class doc above. Can be set directly for a standalone step.
|
|
5721
|
+
* @default 'enabled'
|
|
5722
|
+
*/
|
|
5723
|
+
"computedState"?: BsStepperStepComputedState;
|
|
5724
|
+
/**
|
|
5725
|
+
* Optional supporting text below the name. Only rendered when `showDescription` (propagated from the parent `<bs-stepper>`) is also true.
|
|
5726
|
+
*/
|
|
5727
|
+
"description"?: string;
|
|
5728
|
+
/**
|
|
5729
|
+
* Set automatically by the parent `<bs-stepper>`, propagated to every slotted step.
|
|
5730
|
+
* @default 'horizontal'
|
|
5731
|
+
*/
|
|
5732
|
+
"direction"?: BsStepperDirection1;
|
|
5733
|
+
/**
|
|
5734
|
+
* Shows the disabled treatment for this step, regardless of its `computedState`. Takes priority over `error` if both are somehow set.
|
|
5735
|
+
* @default false
|
|
5736
|
+
*/
|
|
5737
|
+
"disabled"?: boolean;
|
|
5738
|
+
/**
|
|
5739
|
+
* Shows the error treatment for this step, regardless of its `computedState`.
|
|
5740
|
+
* @default false
|
|
5741
|
+
*/
|
|
5742
|
+
"error"?: boolean;
|
|
5743
|
+
/**
|
|
5744
|
+
* This step's name/title.
|
|
5745
|
+
* @default ''
|
|
5746
|
+
*/
|
|
5747
|
+
"name"?: string;
|
|
5748
|
+
/**
|
|
5749
|
+
* Set automatically by the parent `<bs-stepper>`, propagated to every slotted step.
|
|
5750
|
+
* @default true
|
|
5751
|
+
*/
|
|
5752
|
+
"showDescription"?: boolean;
|
|
5753
|
+
}
|
|
5216
5754
|
/**
|
|
5217
5755
|
* A toggle switch for an on/off setting that takes effect immediately (no explicit form
|
|
5218
5756
|
* submission required).
|
|
@@ -5446,6 +5984,23 @@ declare namespace LocalJSX {
|
|
|
5446
5984
|
interface BsCheckboxSkeletonAttributes {
|
|
5447
5985
|
"size": BsCheckboxSize;
|
|
5448
5986
|
}
|
|
5987
|
+
interface BsChipFilterAttributes {
|
|
5988
|
+
"size": BsChipFilterSize;
|
|
5989
|
+
"selected": boolean;
|
|
5990
|
+
"dropdown": boolean;
|
|
5991
|
+
"disabled": boolean;
|
|
5992
|
+
"ariaLabel": string | null;
|
|
5993
|
+
}
|
|
5994
|
+
interface BsChipInformativeAttributes {
|
|
5995
|
+
"color": BsChipInformativeColor;
|
|
5996
|
+
"size": BsChipInformativeSize;
|
|
5997
|
+
"disabled": boolean;
|
|
5998
|
+
}
|
|
5999
|
+
interface BsChipInputAttributes {
|
|
6000
|
+
"size": BsChipInputSize;
|
|
6001
|
+
"selected": boolean;
|
|
6002
|
+
"disabled": boolean;
|
|
6003
|
+
}
|
|
5449
6004
|
interface BsComposerAttributes {
|
|
5450
6005
|
"variant": BsComposerVariant;
|
|
5451
6006
|
"placeholder": string;
|
|
@@ -5584,6 +6139,20 @@ declare namespace LocalJSX {
|
|
|
5584
6139
|
"href": string;
|
|
5585
6140
|
"target": string;
|
|
5586
6141
|
}
|
|
6142
|
+
interface BsStepperAttributes {
|
|
6143
|
+
"currentStep": number;
|
|
6144
|
+
"direction": BsStepperDirection;
|
|
6145
|
+
"showDescription": boolean;
|
|
6146
|
+
}
|
|
6147
|
+
interface BsStepperStepAttributes {
|
|
6148
|
+
"name": string;
|
|
6149
|
+
"description": string;
|
|
6150
|
+
"error": boolean;
|
|
6151
|
+
"disabled": boolean;
|
|
6152
|
+
"computedState": BsStepperStepComputedState;
|
|
6153
|
+
"direction": BsStepperDirection;
|
|
6154
|
+
"showDescription": boolean;
|
|
6155
|
+
}
|
|
5587
6156
|
interface BsSwitchAttributes {
|
|
5588
6157
|
"size": BsSwitchSize;
|
|
5589
6158
|
"checked": boolean;
|
|
@@ -5625,6 +6194,9 @@ declare namespace LocalJSX {
|
|
|
5625
6194
|
"bs-chatbot-suggestion-button": Omit<BsChatbotSuggestionButton, keyof BsChatbotSuggestionButtonAttributes> & { [K in keyof BsChatbotSuggestionButton & keyof BsChatbotSuggestionButtonAttributes]?: BsChatbotSuggestionButton[K] } & { [K in keyof BsChatbotSuggestionButton & keyof BsChatbotSuggestionButtonAttributes as `attr:${K}`]?: BsChatbotSuggestionButtonAttributes[K] } & { [K in keyof BsChatbotSuggestionButton & keyof BsChatbotSuggestionButtonAttributes as `prop:${K}`]?: BsChatbotSuggestionButton[K] };
|
|
5626
6195
|
"bs-checkbox": Omit<BsCheckbox, keyof BsCheckboxAttributes> & { [K in keyof BsCheckbox & keyof BsCheckboxAttributes]?: BsCheckbox[K] } & { [K in keyof BsCheckbox & keyof BsCheckboxAttributes as `attr:${K}`]?: BsCheckboxAttributes[K] } & { [K in keyof BsCheckbox & keyof BsCheckboxAttributes as `prop:${K}`]?: BsCheckbox[K] };
|
|
5627
6196
|
"bs-checkbox-skeleton": Omit<BsCheckboxSkeleton, keyof BsCheckboxSkeletonAttributes> & { [K in keyof BsCheckboxSkeleton & keyof BsCheckboxSkeletonAttributes]?: BsCheckboxSkeleton[K] } & { [K in keyof BsCheckboxSkeleton & keyof BsCheckboxSkeletonAttributes as `attr:${K}`]?: BsCheckboxSkeletonAttributes[K] } & { [K in keyof BsCheckboxSkeleton & keyof BsCheckboxSkeletonAttributes as `prop:${K}`]?: BsCheckboxSkeleton[K] };
|
|
6197
|
+
"bs-chip-filter": Omit<BsChipFilter, keyof BsChipFilterAttributes> & { [K in keyof BsChipFilter & keyof BsChipFilterAttributes]?: BsChipFilter[K] } & { [K in keyof BsChipFilter & keyof BsChipFilterAttributes as `attr:${K}`]?: BsChipFilterAttributes[K] } & { [K in keyof BsChipFilter & keyof BsChipFilterAttributes as `prop:${K}`]?: BsChipFilter[K] };
|
|
6198
|
+
"bs-chip-informative": Omit<BsChipInformative, keyof BsChipInformativeAttributes> & { [K in keyof BsChipInformative & keyof BsChipInformativeAttributes]?: BsChipInformative[K] } & { [K in keyof BsChipInformative & keyof BsChipInformativeAttributes as `attr:${K}`]?: BsChipInformativeAttributes[K] } & { [K in keyof BsChipInformative & keyof BsChipInformativeAttributes as `prop:${K}`]?: BsChipInformative[K] };
|
|
6199
|
+
"bs-chip-input": Omit<BsChipInput, keyof BsChipInputAttributes> & { [K in keyof BsChipInput & keyof BsChipInputAttributes]?: BsChipInput[K] } & { [K in keyof BsChipInput & keyof BsChipInputAttributes as `attr:${K}`]?: BsChipInputAttributes[K] } & { [K in keyof BsChipInput & keyof BsChipInputAttributes as `prop:${K}`]?: BsChipInput[K] };
|
|
5628
6200
|
"bs-composer": Omit<BsComposer, keyof BsComposerAttributes> & { [K in keyof BsComposer & keyof BsComposerAttributes]?: BsComposer[K] } & { [K in keyof BsComposer & keyof BsComposerAttributes as `attr:${K}`]?: BsComposerAttributes[K] } & { [K in keyof BsComposer & keyof BsComposerAttributes as `prop:${K}`]?: BsComposer[K] };
|
|
5629
6201
|
"bs-composer-status-banner": Omit<BsComposerStatusBanner, keyof BsComposerStatusBannerAttributes> & { [K in keyof BsComposerStatusBanner & keyof BsComposerStatusBannerAttributes]?: BsComposerStatusBanner[K] } & { [K in keyof BsComposerStatusBanner & keyof BsComposerStatusBannerAttributes as `attr:${K}`]?: BsComposerStatusBannerAttributes[K] } & { [K in keyof BsComposerStatusBanner & keyof BsComposerStatusBannerAttributes as `prop:${K}`]?: BsComposerStatusBanner[K] };
|
|
5630
6202
|
"bs-data-table": Omit<BsDataTable, keyof BsDataTableAttributes> & { [K in keyof BsDataTable & keyof BsDataTableAttributes]?: BsDataTable[K] } & { [K in keyof BsDataTable & keyof BsDataTableAttributes as `attr:${K}`]?: BsDataTableAttributes[K] } & { [K in keyof BsDataTable & keyof BsDataTableAttributes as `prop:${K}`]?: BsDataTable[K] };
|
|
@@ -5643,6 +6215,8 @@ declare namespace LocalJSX {
|
|
|
5643
6215
|
"bs-slider": Omit<BsSlider, keyof BsSliderAttributes> & { [K in keyof BsSlider & keyof BsSliderAttributes]?: BsSlider[K] } & { [K in keyof BsSlider & keyof BsSliderAttributes as `attr:${K}`]?: BsSliderAttributes[K] } & { [K in keyof BsSlider & keyof BsSliderAttributes as `prop:${K}`]?: BsSlider[K] };
|
|
5644
6216
|
"bs-snackbar": Omit<BsSnackbar, keyof BsSnackbarAttributes> & { [K in keyof BsSnackbar & keyof BsSnackbarAttributes]?: BsSnackbar[K] } & { [K in keyof BsSnackbar & keyof BsSnackbarAttributes as `attr:${K}`]?: BsSnackbarAttributes[K] } & { [K in keyof BsSnackbar & keyof BsSnackbarAttributes as `prop:${K}`]?: BsSnackbar[K] };
|
|
5645
6217
|
"bs-source-link": Omit<BsSourceLink, keyof BsSourceLinkAttributes> & { [K in keyof BsSourceLink & keyof BsSourceLinkAttributes]?: BsSourceLink[K] } & { [K in keyof BsSourceLink & keyof BsSourceLinkAttributes as `attr:${K}`]?: BsSourceLinkAttributes[K] } & { [K in keyof BsSourceLink & keyof BsSourceLinkAttributes as `prop:${K}`]?: BsSourceLink[K] };
|
|
6218
|
+
"bs-stepper": Omit<BsStepper, keyof BsStepperAttributes> & { [K in keyof BsStepper & keyof BsStepperAttributes]?: BsStepper[K] } & { [K in keyof BsStepper & keyof BsStepperAttributes as `attr:${K}`]?: BsStepperAttributes[K] } & { [K in keyof BsStepper & keyof BsStepperAttributes as `prop:${K}`]?: BsStepper[K] };
|
|
6219
|
+
"bs-stepper-step": Omit<BsStepperStep, keyof BsStepperStepAttributes> & { [K in keyof BsStepperStep & keyof BsStepperStepAttributes]?: BsStepperStep[K] } & { [K in keyof BsStepperStep & keyof BsStepperStepAttributes as `attr:${K}`]?: BsStepperStepAttributes[K] } & { [K in keyof BsStepperStep & keyof BsStepperStepAttributes as `prop:${K}`]?: BsStepperStep[K] };
|
|
5646
6220
|
"bs-switch": Omit<BsSwitch, keyof BsSwitchAttributes> & { [K in keyof BsSwitch & keyof BsSwitchAttributes]?: BsSwitch[K] } & { [K in keyof BsSwitch & keyof BsSwitchAttributes as `attr:${K}`]?: BsSwitchAttributes[K] } & { [K in keyof BsSwitch & keyof BsSwitchAttributes as `prop:${K}`]?: BsSwitch[K] };
|
|
5647
6221
|
"bs-tab": Omit<BsTab, keyof BsTabAttributes> & { [K in keyof BsTab & keyof BsTabAttributes]?: BsTab[K] } & { [K in keyof BsTab & keyof BsTabAttributes as `attr:${K}`]?: BsTabAttributes[K] } & { [K in keyof BsTab & keyof BsTabAttributes as `prop:${K}`]?: BsTab[K] };
|
|
5648
6222
|
"bs-tabs": Omit<BsTabs, keyof BsTabsAttributes> & { [K in keyof BsTabs & keyof BsTabsAttributes]?: BsTabs[K] } & { [K in keyof BsTabs & keyof BsTabsAttributes as `attr:${K}`]?: BsTabsAttributes[K] } & { [K in keyof BsTabs & keyof BsTabsAttributes as `prop:${K}`]?: BsTabs[K] };
|
|
@@ -6103,6 +6677,44 @@ declare module "@stencil/core" {
|
|
|
6103
6677
|
* `96px`.
|
|
6104
6678
|
*/
|
|
6105
6679
|
"bs-checkbox-skeleton": LocalJSX.IntrinsicElements["bs-checkbox-skeleton"] & JSXBase.HTMLAttributes<HTMLBsCheckboxSkeletonElement>;
|
|
6680
|
+
/**
|
|
6681
|
+
* A pill-shaped, selectable toggle used to filter a list or dataset (e.g. a "Filter chip" row
|
|
6682
|
+
* above a table or search results), optionally paired with a leading icon and/or a dropdown caret
|
|
6683
|
+
* that signals it opens a menu of further options.
|
|
6684
|
+
* ## When to use
|
|
6685
|
+
* - Letting a user toggle a filter on/off, or open a menu of filter options (pair `dropdown` with
|
|
6686
|
+
* your own `bs-menu` -- this component only renders the caret affordance, it doesn't manage a
|
|
6687
|
+
* menu itself).
|
|
6688
|
+
* ## When not to use
|
|
6689
|
+
* - A static, non-interactive status/category label -- use `bs-badge` instead.
|
|
6690
|
+
* - A single primary action -- use `bs-button`.
|
|
6691
|
+
*/
|
|
6692
|
+
"bs-chip-filter": LocalJSX.IntrinsicElements["bs-chip-filter"] & JSXBase.HTMLAttributes<HTMLBsChipFilterElement>;
|
|
6693
|
+
/**
|
|
6694
|
+
* A pill-shaped, non-interactive label for conveying a category or status at a glance, optionally
|
|
6695
|
+
* paired with a leading icon. Unlike `bs-chip-filter`/`bs-chip-input`, this is purely informational
|
|
6696
|
+
* -- no click/select/remove behavior, no hover/focus/pressed states.
|
|
6697
|
+
* ## When to use
|
|
6698
|
+
* - Conveying a category or status inline with other content, with more color options and an
|
|
6699
|
+
* optional icon than `bs-badge` offers.
|
|
6700
|
+
* ## When not to use
|
|
6701
|
+
* - Anything clickable/selectable -- use `bs-chip-filter`.
|
|
6702
|
+
* - A short, fixed status label with no color/icon needs -- `bs-badge` is the simpler choice.
|
|
6703
|
+
*/
|
|
6704
|
+
"bs-chip-informative": LocalJSX.IntrinsicElements["bs-chip-informative"] & JSXBase.HTMLAttributes<HTMLBsChipInformativeElement>;
|
|
6705
|
+
/**
|
|
6706
|
+
* A pill-shaped, removable representation of a discrete piece of user-entered data (e.g. a tag,
|
|
6707
|
+
* a selected filter value, an invited email address), optionally paired with a leading icon or
|
|
6708
|
+
* avatar. Unlike `bs-chip-filter`, this is a compound control -- the body toggles `selected`, and
|
|
6709
|
+
* a separate trailing button removes the chip entirely.
|
|
6710
|
+
* ## When to use
|
|
6711
|
+
* - Representing one entry in a list the user built themselves (tags, recipients, multi-select
|
|
6712
|
+
* values) that they need to be able to remove individually.
|
|
6713
|
+
* ## When not to use
|
|
6714
|
+
* - A single toggleable filter, with no removal affordance -- use `bs-chip-filter`.
|
|
6715
|
+
* - A static, non-interactive status/category label -- use `bs-badge`.
|
|
6716
|
+
*/
|
|
6717
|
+
"bs-chip-input": LocalJSX.IntrinsicElements["bs-chip-input"] & JSXBase.HTMLAttributes<HTMLBsChipInputElement>;
|
|
6106
6718
|
/**
|
|
6107
6719
|
* A chat composer input for Genie AI-style conversational interfaces: a text field
|
|
6108
6720
|
* plus an attach button, a mic/voice-recording toggle, and a single primary action button whose
|
|
@@ -6526,6 +7138,47 @@ declare module "@stencil/core" {
|
|
|
6526
7138
|
* `--bs-text-secondary`.
|
|
6527
7139
|
*/
|
|
6528
7140
|
"bs-source-link": LocalJSX.IntrinsicElements["bs-source-link"] & JSXBase.HTMLAttributes<HTMLBsSourceLinkElement>;
|
|
7141
|
+
/**
|
|
7142
|
+
* A sequence of named steps showing overall progress through a multi-step flow (e.g. a checkout,
|
|
7143
|
+
* an onboarding wizard) -- each step reads as enabled (not yet reached), current, done, error, or
|
|
7144
|
+
* disabled, connected by a rail between them.
|
|
7145
|
+
* This container is intentionally thin: it renders a `<slot>` for `<bs-stepper-step>` children and
|
|
7146
|
+
* propagates `currentStep`/`direction`/`showDescription` down to them as JS properties whenever any
|
|
7147
|
+
* of those change or the slotted children themselves change -- the same "container pushes state
|
|
7148
|
+
* onto its slotted children" pattern `bs-tabs` uses for `selected` and `bs-breadcrumbs` uses for
|
|
7149
|
+
* `size`. Each step computes its own `enabled`/`current`/`done` state from its position among its
|
|
7150
|
+
* siblings relative to `currentStep`, unless that step's own `error`/`disabled` prop overrides it.
|
|
7151
|
+
* This is a static status display, not an interactive control -- Figma's spec shows no
|
|
7152
|
+
* hover/pressed treatment on any step, so nothing here is clickable.
|
|
7153
|
+
* ## When to use
|
|
7154
|
+
* - Showing where the user is in a fixed, ordered, multi-step flow.
|
|
7155
|
+
* ## When not to use
|
|
7156
|
+
* - A flow whose steps aren't fixed/known in advance -- a stepper implies the full sequence is
|
|
7157
|
+
* already known.
|
|
7158
|
+
* - As a substitute for actual in-page navigation between steps -- pair this with real controls
|
|
7159
|
+
* (Next/Back buttons) elsewhere in the flow, this component only displays status.
|
|
7160
|
+
*/
|
|
7161
|
+
"bs-stepper": LocalJSX.IntrinsicElements["bs-stepper"] & JSXBase.HTMLAttributes<HTMLBsStepperElement>;
|
|
7162
|
+
/**
|
|
7163
|
+
* A single step within a `<bs-stepper>` sequence: an icon/indicator plus a name and optional
|
|
7164
|
+
* description, connected to the next step by a trailing rail.
|
|
7165
|
+
* `computedState` is set automatically by the parent `<bs-stepper>` based on this step's position
|
|
7166
|
+
* relative to its `currentStep` (before it = "done", at it = "current", after it = "enabled") --
|
|
7167
|
+
* same "container pushes state onto its slotted children" pattern `bs-tabs` uses for `selected`
|
|
7168
|
+
* and `bs-breadcrumbs` uses for `size`. This step's own `error`/`disabled` props, when set directly
|
|
7169
|
+
* by the consumer, override that computed value -- e.g. a step before `currentStep` would normally
|
|
7170
|
+
* read as "done", but `error` on that step wins regardless.
|
|
7171
|
+
* The trailing rail is owned by this component, not the container: `:host(:last-child)` hides it
|
|
7172
|
+
* on whichever step is visually last, mirroring `bs-breadcrumb`'s own `:host(:first-child)` rule
|
|
7173
|
+
* for its leading separator (same technique, opposite end -- see that component for why pure DOM
|
|
7174
|
+
* position, not CSS `:last-of-type`, is what actually needs checking here too).
|
|
7175
|
+
* ## When to use
|
|
7176
|
+
* - As a child of `<bs-stepper>`, one per step in the sequence.
|
|
7177
|
+
* ## When not to use
|
|
7178
|
+
* - Standalone, outside a `<bs-stepper>` wrapper -- `computedState`/`direction`/`showDescription`
|
|
7179
|
+
* depend on that parent propagating them; alone, this defaults to `enabled`/`horizontal`/`true`.
|
|
7180
|
+
*/
|
|
7181
|
+
"bs-stepper-step": LocalJSX.IntrinsicElements["bs-stepper-step"] & JSXBase.HTMLAttributes<HTMLBsStepperStepElement>;
|
|
6529
7182
|
/**
|
|
6530
7183
|
* A toggle switch for an on/off setting that takes effect immediately (no explicit form
|
|
6531
7184
|
* submission required).
|