@brandsync/wc 0.0.12 → 0.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 +1672 -226
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/p-00bb9bda.entry.js +1 -0
- package/dist/brandsync-wc/{p-64e2a7d7.entry.js → p-0847f5c0.entry.js} +1 -1
- package/dist/brandsync-wc/p-0ba35c3b.entry.js +1 -0
- package/dist/brandsync-wc/{p-2a65aabb.entry.js → p-0f3cb0c4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-72a33f88.entry.js → p-10f6f3cd.entry.js} +1 -1
- package/dist/brandsync-wc/{p-88a0abee.entry.js → p-111974df.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ef8522b5.entry.js → p-11f3fceb.entry.js} +1 -1
- package/dist/brandsync-wc/p-171fed0c.entry.js +1 -0
- package/dist/brandsync-wc/{p-57fdbb76.entry.js → p-18813680.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f04db1b0.entry.js → p-1b7c9928.entry.js} +1 -1
- package/dist/brandsync-wc/p-1ce7dd64.entry.js +1 -0
- package/dist/brandsync-wc/p-2063a6d6.entry.js +1 -0
- package/dist/brandsync-wc/{p-1900f6ce.entry.js → p-20c24179.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6e854e92.entry.js → p-321ed4d3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0eee5477.entry.js → p-38aad266.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1c6fa697.entry.js → p-43e37883.entry.js} +1 -1
- package/dist/brandsync-wc/{p-8049f9f2.entry.js → p-55a8d4b5.entry.js} +1 -1
- package/dist/brandsync-wc/p-59ac2495.entry.js +1 -0
- package/dist/brandsync-wc/p-5ae9e60e.entry.js +1 -0
- package/dist/brandsync-wc/{p-8b662ee3.entry.js → p-6b469b2d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-56c66448.entry.js → p-6d85fba4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-46ddc8e1.entry.js → p-6e95eb36.entry.js} +1 -1
- package/dist/brandsync-wc/{p-20dbc6a1.entry.js → p-73217b90.entry.js} +1 -1
- package/dist/brandsync-wc/p-752c04c8.entry.js +1 -0
- package/dist/brandsync-wc/{p-12ec9e92.entry.js → p-79af762c.entry.js} +1 -1
- package/dist/brandsync-wc/p-81d49240.entry.js +1 -0
- package/dist/brandsync-wc/{p-3b31f7c7.entry.js → p-91551e7b.entry.js} +1 -1
- package/dist/brandsync-wc/p-917a5bbc.entry.js +1 -0
- package/dist/brandsync-wc/{p-dd09d335.entry.js → p-9876e83c.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c320b6b4.entry.js → p-9bcd99aa.entry.js} +1 -1
- package/dist/brandsync-wc/{p-d4e3ca77.entry.js → p-9c4768aa.entry.js} +1 -1
- package/dist/brandsync-wc/{p-DST5-cTx.js → p-Do3l4of3.js} +2 -2
- package/dist/brandsync-wc/{p-0fa017ce.entry.js → p-aa43d478.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a5b15061.entry.js → p-c3079ad7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-23457a21.entry.js → p-c3c383dc.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b24a980b.entry.js → p-cc79e75f.entry.js} +1 -1
- package/dist/brandsync-wc/p-ce7fc368.entry.js +1 -0
- package/dist/brandsync-wc/{p-2c51d738.entry.js → p-d3265e70.entry.js} +1 -1
- package/dist/brandsync-wc/p-d55bbcec.entry.js +1 -0
- package/dist/brandsync-wc/{p-1adc59be.entry.js → p-e93e944b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-aba300a9.entry.js → p-eb04c578.entry.js} +1 -1
- package/dist/brandsync-wc/p-f0ae2740.entry.js +1 -0
- package/dist/brandsync-wc/p-f4f22015.entry.js +1 -0
- package/dist/cjs/brandsync-wc.cjs.js +2 -2
- 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 +60 -0
- package/dist/cjs/bs-badge.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +56 -0
- package/dist/cjs/bs-breadcrumb.cjs.entry.js +33 -0
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +49 -0
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/bs-button.cjs.entry.js +2 -2
- package/dist/cjs/bs-card.cjs.entry.js +10 -3
- 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 +20 -0
- package/dist/cjs/bs-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/bs-composer-status-banner.cjs.entry.js +2 -2
- package/dist/cjs/bs-composer.cjs.entry.js +2 -2
- package/dist/cjs/bs-data-table.cjs.entry.js +3 -3
- package/dist/cjs/bs-dialog.cjs.entry.js +110 -0
- 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 +24 -12
- package/dist/cjs/bs-logo.cjs.entry.js +1 -1
- package/dist/cjs/{bs-menu_2.cjs.entry.js → bs-menu-item.cjs.entry.js} +2 -15
- package/dist/cjs/bs-menu.cjs.entry.js +17 -0
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +3 -3
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +8 -2
- package/dist/cjs/bs-navigation-header.cjs.entry.js +2 -2
- package/dist/cjs/bs-pagination.cjs.entry.js +85 -0
- 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 +41 -0
- package/dist/cjs/bs-source-link.cjs.entry.js +3 -3
- 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-B3sdhEGk.js → index-DHVw-IPK.js} +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +8 -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-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-avatar/bs-avatar.cmp.test.js +54 -0
- package/dist/collection/components/bs-avatar/bs-avatar.css +197 -0
- package/dist/collection/components/bs-avatar/bs-avatar.js +251 -0
- package/dist/collection/components/bs-avatar/bs-avatar.stories.js +67 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.cmp.test.js +62 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.css +93 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +130 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.cmp.test.js +118 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.css +125 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +192 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.cmp.test.js +58 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.css +18 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +129 -0
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.stories.js +84 -0
- package/dist/collection/components/bs-button/bs-button/bs-button.js +1 -1
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +1 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-card/bs-card.cmp.test.js +19 -0
- package/dist/collection/components/bs-card/bs-card.css +37 -5
- package/dist/collection/components/bs-card/bs-card.js +18 -2
- package/dist/collection/components/bs-card/bs-card.stories.js +17 -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.css +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.cmp.test.js +23 -0
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.css +64 -0
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +81 -0
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.stories.js +25 -0
- package/dist/collection/components/bs-checkbox/bs-checkbox.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox.stories.js +12 -0
- package/dist/collection/components/bs-composer/bs-composer.js +1 -1
- package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
- package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
- package/dist/collection/components/{bs-modal/bs-modal.cmp.test.js → bs-dialog/bs-dialog.cmp.test.js} +63 -19
- package/dist/collection/components/bs-dialog/bs-dialog.css +130 -0
- package/dist/collection/components/bs-dialog/bs-dialog.js +273 -0
- package/dist/collection/components/bs-dialog/bs-dialog.stories.js +115 -0
- package/dist/collection/components/bs-input/bs-input.cmp.test.js +20 -0
- package/dist/collection/components/bs-input/bs-input.css +80 -2
- package/dist/collection/components/bs-input/bs-input.js +28 -10
- package/dist/collection/components/bs-input/bs-input.stories.js +14 -11
- 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.cmp.test.js +102 -0
- package/dist/collection/components/bs-pagination/bs-pagination.css +120 -0
- package/dist/collection/components/bs-pagination/bs-pagination.js +233 -0
- package/dist/collection/components/bs-pagination/bs-pagination.stories.js +43 -0
- package/dist/collection/components/bs-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.cmp.test.js +77 -0
- package/dist/collection/components/bs-snackbar/bs-snackbar.css +321 -0
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +172 -0
- package/dist/collection/components/bs-snackbar/bs-snackbar.stories.js +59 -0
- package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
- package/dist/collection/components/bs-switch/bs-switch.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.cmp.test.js +12 -0
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +34 -6
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.stories.js +74 -2
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.css +5 -5
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.stories.js +258 -1
- package/dist/components/bs-ai-disclaimer.js +1 -1
- package/dist/components/bs-ai-greeting.js +1 -1
- package/dist/components/bs-ai-thinking.js +1 -1
- package/dist/components/bs-attachment-list.js +1 -1
- package/dist/components/bs-attachment.js +1 -1
- package/dist/components/{bs-modal.d.ts → bs-avatar.d.ts} +4 -4
- package/dist/components/bs-avatar.js +1 -0
- package/dist/components/bs-badge.js +1 -1
- package/dist/components/bs-breadcrumb-overflow.d.ts +11 -0
- package/dist/components/bs-breadcrumb-overflow.js +1 -0
- package/dist/components/bs-breadcrumb.d.ts +11 -0
- package/dist/components/bs-breadcrumb.js +1 -0
- package/dist/components/bs-breadcrumbs.d.ts +11 -0
- package/dist/components/bs-breadcrumbs.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-checkbox-skeleton.js +1 -0
- package/dist/components/bs-checkbox.js +1 -1
- package/dist/components/bs-composer-status-banner.js +1 -1
- package/dist/components/bs-composer.js +1 -1
- package/dist/components/bs-data-table.js +1 -1
- package/dist/components/bs-dialog.d.ts +11 -0
- package/dist/components/bs-dialog.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/bs-pagination.js +1 -0
- package/dist/components/bs-radio.js +1 -1
- package/dist/components/bs-slider.js +1 -1
- package/dist/components/bs-snackbar.d.ts +11 -0
- package/dist/components/bs-snackbar.js +1 -0
- package/dist/components/bs-source-link.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-BAOJc0V0.js → p-BFcVSpES.js} +1 -1
- package/dist/components/{p-Be1Pfcnm.js → p-BJZYe7M4.js} +1 -1
- package/dist/components/{p-CaWqTQBZ.js → p-BKaZWFE1.js} +1 -1
- package/dist/components/{p-DivZLd6i.js → p-BtX5URLk.js} +1 -1
- package/dist/components/{p-BqYyMGrB.js → p-CgaPcyEJ.js} +1 -1
- package/dist/components/{p-xfx69LQx.js → p-qK1XlpTA.js} +1 -1
- package/dist/esm/brandsync-wc.js +3 -3
- 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 +58 -0
- package/dist/esm/bs-badge.entry.js +1 -1
- package/dist/esm/bs-breadcrumb-overflow.entry.js +54 -0
- package/dist/esm/bs-breadcrumb.entry.js +31 -0
- package/dist/esm/bs-breadcrumbs.entry.js +47 -0
- package/dist/esm/bs-button-skeleton.entry.js +2 -2
- package/dist/esm/bs-button.entry.js +2 -2
- package/dist/esm/bs-card.entry.js +10 -3
- 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 +18 -0
- package/dist/esm/bs-checkbox.entry.js +2 -2
- 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 +108 -0
- 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 +24 -12
- package/dist/esm/bs-logo.entry.js +1 -1
- package/dist/esm/{bs-menu_2.entry.js → bs-menu-item.entry.js} +3 -15
- package/dist/esm/bs-menu.entry.js +15 -0
- package/dist/esm/bs-navigation-drawer-item.entry.js +3 -3
- package/dist/esm/bs-navigation-drawer.entry.js +8 -2
- package/dist/esm/bs-navigation-header.entry.js +2 -2
- package/dist/esm/bs-pagination.entry.js +83 -0
- 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 +39 -0
- package/dist/esm/bs-source-link.entry.js +3 -3
- 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-DST5-cTx.js → index-Do3l4of3.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/bs-avatar/bs-avatar.d.ts +67 -0
- package/dist/types/components/bs-avatar/bs-avatar.stories.d.ts +20 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.d.ts +44 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.d.ts +69 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.d.ts +45 -0
- package/dist/types/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.stories.d.ts +14 -0
- package/dist/types/components/bs-card/bs-card.d.ts +10 -1
- package/dist/types/components/bs-card/bs-card.stories.d.ts +1 -0
- package/dist/types/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.d.ts +36 -0
- package/dist/types/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.stories.d.ts +10 -0
- package/dist/types/components/bs-checkbox/bs-checkbox.stories.d.ts +1 -0
- package/dist/types/components/bs-dialog/bs-dialog.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-dialog/bs-dialog.d.ts +74 -0
- package/dist/types/components/{bs-modal/bs-modal.stories.d.ts → bs-dialog/bs-dialog.stories.d.ts} +5 -3
- package/dist/types/components/bs-input/bs-input.d.ts +8 -1
- package/dist/types/components/bs-pagination/bs-pagination.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-pagination/bs-pagination.d.ts +51 -0
- package/dist/types/components/bs-pagination/bs-pagination.stories.d.ts +14 -0
- package/dist/types/components/bs-snackbar/bs-snackbar.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-snackbar/bs-snackbar.d.ts +51 -0
- package/dist/types/components/bs-snackbar/bs-snackbar.stories.d.ts +16 -0
- package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.d.ts +13 -5
- package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.stories.d.ts +3 -0
- package/dist/types/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.stories.d.ts +4 -0
- package/dist/types/components.d.ts +1109 -104
- package/package.json +1 -1
- package/dist/brandsync-wc/p-09aa03d1.entry.js +0 -1
- package/dist/brandsync-wc/p-1cf715aa.entry.js +0 -1
- package/dist/brandsync-wc/p-266f5dde.entry.js +0 -1
- package/dist/brandsync-wc/p-8ded1eb6.entry.js +0 -1
- package/dist/brandsync-wc/p-b289450a.entry.js +0 -1
- package/dist/brandsync-wc/p-b8a2f882.entry.js +0 -1
- package/dist/cjs/bs-modal.cjs.entry.js +0 -69
- package/dist/collection/components/bs-modal/bs-modal.css +0 -66
- package/dist/collection/components/bs-modal/bs-modal.js +0 -198
- package/dist/collection/components/bs-modal/bs-modal.stories.js +0 -38
- package/dist/components/bs-modal.js +0 -1
- package/dist/esm/bs-modal.entry.js +0 -67
- package/dist/types/components/bs-modal/bs-modal.d.ts +0 -45
- /package/dist/types/components/{bs-modal/bs-modal.cmp.test.d.ts → bs-avatar/bs-avatar.cmp.test.d.ts} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* A numbered page control -- previous/next chevrons, page-number buttons, and `...` overflow for
|
|
4
|
+
* large page counts. Matches the Figma "Pagination" component's "Default" type (the classic
|
|
5
|
+
* numbered pagination); its other type ("jumper" -- a rows-per-page dropdown plus a page-jump
|
|
6
|
+
* input) is a structurally different composite widget and isn't covered by this component.
|
|
7
|
+
*
|
|
8
|
+
* `totalPages`/`currentPage` drive everything -- this computes which page numbers to show and
|
|
9
|
+
* where to collapse into `...` itself, the consumer never builds the button list by hand.
|
|
10
|
+
*
|
|
11
|
+
* ## When to use
|
|
12
|
+
* - Paging through a large, ordered result set (a table, a search results list) where jumping
|
|
13
|
+
* directly to a specific page number is useful.
|
|
14
|
+
*
|
|
15
|
+
* ## When not to use
|
|
16
|
+
* - Infinite-scroll or "load more" patterns -- those don't have a fixed, addressable page number.
|
|
17
|
+
* - A huge page count where users realistically only ever go forward/back one page at a time --
|
|
18
|
+
* plain prev/next controls (no numbers) are simpler there.
|
|
19
|
+
*
|
|
20
|
+
* @part list - The `<ul>` element.
|
|
21
|
+
* @part item - Each `<li>` in the list.
|
|
22
|
+
* @part prev - The previous-page button.
|
|
23
|
+
* @part next - The next-page button.
|
|
24
|
+
* @part page - Each page-number button.
|
|
25
|
+
* @part current - The current page's button (in addition to `page`).
|
|
26
|
+
* @part ellipsis - Each collapsed-range indicator.
|
|
27
|
+
*/
|
|
28
|
+
export declare class BsPagination {
|
|
29
|
+
/** Total number of pages. Must be a positive integer -- there's always at least one page. */
|
|
30
|
+
totalPages: number;
|
|
31
|
+
/** The active page (1-indexed). Mutable + reflected so clicking a page button updates it
|
|
32
|
+
* directly, the same way `bs-modal`'s `open` self-manages, while `bsPageChange` still fires for
|
|
33
|
+
* the consumer to react to (e.g. fetching that page's data). */
|
|
34
|
+
currentPage: number;
|
|
35
|
+
/** How many page numbers to show on each side of the current page before collapsing the rest
|
|
36
|
+
* into `...`. `1` (the default) reproduces the Figma spec's example exactly (page 1 of 12 shows
|
|
37
|
+
* `1 2 3 ... 12`). */
|
|
38
|
+
siblingCount: number;
|
|
39
|
+
/** Accessible name for the previous-page button. */
|
|
40
|
+
previousLabel: string;
|
|
41
|
+
/** Accessible name for the next-page button. */
|
|
42
|
+
nextLabel: string;
|
|
43
|
+
/** Fires whenever the active page changes as a result of the user clicking a page/prev/next
|
|
44
|
+
* button -- not when `currentPage` is set programmatically from outside. */
|
|
45
|
+
bsPageChange: EventEmitter<number>;
|
|
46
|
+
private get safeTotalPages();
|
|
47
|
+
private get safeSiblingCount();
|
|
48
|
+
private goToPage;
|
|
49
|
+
private getPageList;
|
|
50
|
+
render(): any;
|
|
51
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
interface BsPaginationArgs {
|
|
3
|
+
totalPages: number;
|
|
4
|
+
currentPage: number;
|
|
5
|
+
siblingCount: number;
|
|
6
|
+
}
|
|
7
|
+
declare const meta: Meta<BsPaginationArgs>;
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<BsPaginationArgs>;
|
|
10
|
+
export declare const Default: Story;
|
|
11
|
+
export declare const MiddlePage: Story;
|
|
12
|
+
export declare const LastPage: Story;
|
|
13
|
+
export declare const FewPages: Story;
|
|
14
|
+
export declare const WiderSiblingCount: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export type BsSnackbarVariant = 'default' | 'info' | 'warning' | 'success' | 'error';
|
|
3
|
+
/**
|
|
4
|
+
* A transient status bar for confirming the result of an action (e.g. "Files uploaded
|
|
5
|
+
* successfully.") -- an icon (or loading spinner), a message, an optional action, and a close
|
|
6
|
+
* button.
|
|
7
|
+
*
|
|
8
|
+
* This component only renders the bar itself -- it doesn't manage its own visibility, timing, or
|
|
9
|
+
* stacking. A consumer (typically a small "toast manager" utility) creates one per message and
|
|
10
|
+
* removes it from the DOM again, whether on a timer or on `bsDismiss`. Figma's spec doesn't show
|
|
11
|
+
* auto-dismiss timing at all (it's a static visual spec), so this deliberately doesn't invent one.
|
|
12
|
+
*
|
|
13
|
+
* The icon is always the same checkmark glyph across every `variant`, just recolored -- matching
|
|
14
|
+
* the Figma spec exactly, even though a checkmark for `variant="error"` reads a little oddly
|
|
15
|
+
* semantically. Worth revisiting with severity-specific icons (warning triangle, error circle,
|
|
16
|
+
* etc.) if the design updates to specify them.
|
|
17
|
+
*
|
|
18
|
+
* ## When to use
|
|
19
|
+
* - Confirming the outcome of an action that just happened (save succeeded, upload failed) without
|
|
20
|
+
* interrupting the user's flow.
|
|
21
|
+
*
|
|
22
|
+
* ## When not to use
|
|
23
|
+
* - For a response that requires the user to make a decision before continuing -- use `bs-dialog`.
|
|
24
|
+
* - For persistent, always-visible status -- a snackbar is inherently transient.
|
|
25
|
+
*
|
|
26
|
+
* @slot - Default slot: the message text.
|
|
27
|
+
* @part container - The outer bar.
|
|
28
|
+
* @part icon - The leading icon/spinner wrapper.
|
|
29
|
+
* @part message - The message text wrapper.
|
|
30
|
+
* @part action - The optional action button (only rendered when `actionLabel` is set).
|
|
31
|
+
* @part close - The close button.
|
|
32
|
+
*/
|
|
33
|
+
export declare class BsSnackbar {
|
|
34
|
+
/** Color/semantic variant. `default` is the neutral (dark, inverse-surface) bar Figma shows as
|
|
35
|
+
* the baseline; `info`/`warning`/`success`/`error` use their matching container/text tokens. */
|
|
36
|
+
variant: BsSnackbarVariant;
|
|
37
|
+
/** Replaces the checkmark icon with a spinning loading indicator, for a message describing
|
|
38
|
+
* in-progress work (e.g. "Uploading files...") rather than a completed result. */
|
|
39
|
+
loading: boolean;
|
|
40
|
+
/** Label for the optional action button (e.g. "Undo", "Retry"). Omit this prop entirely to
|
|
41
|
+
* render no action button at all -- its presence, not a boolean flag, is what shows it. */
|
|
42
|
+
actionLabel?: string;
|
|
43
|
+
/** Fires when the action button is clicked. Ignored/never fires if `actionLabel` isn't set. */
|
|
44
|
+
bsAction: EventEmitter<void>;
|
|
45
|
+
/** Fires when the close button is clicked. This component doesn't remove itself from the DOM --
|
|
46
|
+
* the consumer is expected to do that (or hide it) in response to this event. */
|
|
47
|
+
bsDismiss: EventEmitter<void>;
|
|
48
|
+
private onAction;
|
|
49
|
+
private onDismiss;
|
|
50
|
+
render(): any;
|
|
51
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import type { BsSnackbarVariant } from './bs-snackbar';
|
|
3
|
+
interface BsSnackbarArgs {
|
|
4
|
+
variant: BsSnackbarVariant;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
actionLabel: string;
|
|
7
|
+
message: string;
|
|
8
|
+
}
|
|
9
|
+
declare const meta: Meta<BsSnackbarArgs>;
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<BsSnackbarArgs>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const AllVariants: Story;
|
|
14
|
+
export declare const Overflow: Story;
|
|
15
|
+
export declare const Loading: Story;
|
|
16
|
+
export declare const NoAction: Story;
|
|
@@ -6,7 +6,8 @@ import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
|
6
6
|
* ## When to use
|
|
7
7
|
* - The primary in-app navigation, shown alongside `bs-navigation-header` (typically that
|
|
8
8
|
* header's `with-navigation-drawer` alignment, which omits its own logo since this component
|
|
9
|
-
* already renders one
|
|
9
|
+
* already renders one -- or the reverse pairing, this drawer's own `showLogo={false}` alongside
|
|
10
|
+
* a header that keeps its logo instead, see that prop's own docs).
|
|
10
11
|
*
|
|
11
12
|
* ## When not to use
|
|
12
13
|
* - The top navigation bar itself -- use `bs-navigation-header` instead.
|
|
@@ -41,10 +42,11 @@ import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
|
41
42
|
* @slot - Default slot: the scrollable list of nav items, typically one or more
|
|
42
43
|
* `bs-navigation-drawer-item` elements.
|
|
43
44
|
* @part logo - The wrapper around the BrandSync brand mark. Two of these exist in the shadow DOM
|
|
44
|
-
* at once (one wrapping a `bs-logo variant="full"`, one wrapping a
|
|
45
|
-
* both carrying this same part name (the same "multiple elements, one
|
|
46
|
-
* approach `bs-attachment`'s `star` part uses) -- only one is visible at a
|
|
47
|
-
* plain CSS on `collapsed` (see above), so `::part(logo)` always reaches
|
|
45
|
+
* at once while `showLogo` is `true` (one wrapping a `bs-logo variant="full"`, one wrapping a
|
|
46
|
+
* `bs-logo variant="mark"`), both carrying this same part name (the same "multiple elements, one
|
|
47
|
+
* shared part name" approach `bs-attachment`'s `star` part uses) -- only one is visible at a
|
|
48
|
+
* time, toggled by plain CSS on `collapsed` (see above), so `::part(logo)` always reaches
|
|
49
|
+
* whichever is showing. Neither renders at all while `showLogo` is `false`.
|
|
48
50
|
* @part title - The "Main Menu" heading text wrapper.
|
|
49
51
|
* @part collapse - The collapse toggle button.
|
|
50
52
|
* @part search - The wrapper around the `search` slot.
|
|
@@ -82,6 +84,12 @@ export declare class BsNavigationDrawer {
|
|
|
82
84
|
* `collapsed` (see `bs-logo`'s own docs -- there's only one real designed mark asset, it's
|
|
83
85
|
* background-agnostic). */
|
|
84
86
|
logoBackground: 'auto' | 'light' | 'dark';
|
|
87
|
+
/** Whether to render the BrandSync logo at all. Defaults to `true`. This drawer is normally the
|
|
88
|
+
* one that owns the logo when paired with a `bs-navigation-header` (that header's own
|
|
89
|
+
* `with-navigation-drawer` alignment omits its logo for exactly this reason) -- but the reverse
|
|
90
|
+
* pairing works too: a header that keeps its own logo (`alignment="default"`) paired with this
|
|
91
|
+
* drawer set to `showLogo={false}`, so the brand mark only ever appears once. */
|
|
92
|
+
showLogo: boolean;
|
|
85
93
|
onCollapsedChange(collapsed: boolean): void;
|
|
86
94
|
componentDidLoad(): void;
|
|
87
95
|
/** Keeps every direct-child `bs-navigation-drawer-item`'s `collapsed` prop in sync with this
|
|
@@ -3,6 +3,7 @@ interface BsNavigationDrawerArgs {
|
|
|
3
3
|
heading: string;
|
|
4
4
|
collapsible: boolean;
|
|
5
5
|
logoBackground: 'auto' | 'light' | 'dark';
|
|
6
|
+
showLogo: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare const meta: Meta<BsNavigationDrawerArgs>;
|
|
8
9
|
export default meta;
|
|
@@ -11,6 +12,8 @@ export declare const FixedSideNav: Story;
|
|
|
11
12
|
export declare const FixedSideNavWithDivider: Story;
|
|
12
13
|
export declare const FixedSideNavWithIcons: Story;
|
|
13
14
|
export declare const Collapsed: Story;
|
|
15
|
+
export declare const CollapsedWithHeader: Story;
|
|
14
16
|
export declare const Dark: Story;
|
|
15
17
|
export declare const WithoutSearch: Story;
|
|
16
18
|
export declare const EmptyItems: Story;
|
|
19
|
+
export declare const LargeItemList: Story;
|
|
@@ -19,3 +19,7 @@ export declare const HeaderBaseWithNavigationAndActionsNoLogo: Story;
|
|
|
19
19
|
export declare const HeaderBaseWithNavigationAndActionsTabs: Story;
|
|
20
20
|
export declare const HeaderBaseDark: Story;
|
|
21
21
|
export declare const HeaderBaseWithSkipLink: Story;
|
|
22
|
+
export declare const HeaderBaseWithActionsAndSwitcher: Story;
|
|
23
|
+
export declare const HeaderBaseWithSideNav: Story;
|
|
24
|
+
export declare const HeaderBaseWithNavigationActionsAndSideNav: Story;
|
|
25
|
+
export declare const HeaderBaseWithSideNavHeaderLogo: Story;
|