@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
package/custom-elements.json
CHANGED
|
@@ -447,6 +447,300 @@
|
|
|
447
447
|
}
|
|
448
448
|
]
|
|
449
449
|
},
|
|
450
|
+
{
|
|
451
|
+
"kind": "javascript-module",
|
|
452
|
+
"path": "src/components/bs-avatar/bs-avatar.tsx",
|
|
453
|
+
"declarations": [
|
|
454
|
+
{
|
|
455
|
+
"kind": "class",
|
|
456
|
+
"customElement": true,
|
|
457
|
+
"tagName": "bs-avatar",
|
|
458
|
+
"name": "BsAvatar",
|
|
459
|
+
"description": "A circular representation of a person or entity -- a photo, initials, or (as a fallback when\nneither is available) a generic user-silhouette icon.\n\n## When to use\n- Representing a specific user or account: in a header, a comment, a member list, etc.\n- `type=\"initials\"` when a photo isn't available but a name is (e.g. \"Sam Lee\" -> \"SL\").\n- `type=\"icon\"` (the default) as the generic fallback when neither a photo nor a name/initials\n is available yet.\n\n## When not to use\n- A company/brand logo -- use `bs-logo` instead.\n\nThis component is decorative/informational by default, not an interactive control -- it renders\na plain `<span>`/`<img>`, not a `<button>`. Figma's own component set includes hover/focused/\npressed states (e.g. for an account-switcher trigger use case), which this implements as real\n`:hover`/`:focus-visible`/`:active` CSS on the host itself -- so wrapping this in your own\n`<button>`, or setting `tabindex` and a click handler on the `<bs-avatar>` element directly, gets\nthe matching visual treatment for free with no extra wiring. Left genuinely non-interactive\n(no implicit role/tabindex of its own) so it doesn't misrepresent a purely decorative avatar\n(e.g. next to a comment) as a control when it isn't one.",
|
|
460
|
+
"attributes": [
|
|
461
|
+
{
|
|
462
|
+
"name": "alt",
|
|
463
|
+
"description": "`type=\"image\"` only: accessible alt text for the photo, set directly on the real `<img>`\nthis renders -- a person's photo is meaningful content, not decorative, so pass something\nreal (e.g. their name). Falls back to `alt=\"\"` (decorative to assistive tech) when unset,\nrather than omitting the attribute entirely, but don't rely on that fallback. Ignored for\n`icon`/`initials` -- see `ariaLabel` for those instead.",
|
|
464
|
+
"type": {
|
|
465
|
+
"text": "string"
|
|
466
|
+
},
|
|
467
|
+
"default": "null",
|
|
468
|
+
"fieldName": "alt"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "aria-label",
|
|
472
|
+
"description": "`type=\"icon\"`/`\"initials\"` only: accessible name for the avatar, set as `aria-label` on the\n`role=\"img\"` wrapper this renders (neither is a real `<img>`, so there's no native `alt` to\nset). Setting a plain `aria-label` attribute on the `<bs-avatar>` host does NOT work for this\n-- that attribute stays on the light-DOM host and never crosses into the shadow DOM, so the\nactual `role=\"img\"` element stays nameless. Same pattern as `bs-checkbox`'s identical\n`ariaLabel` prop. Ignored for `image` -- see `alt` for that instead.",
|
|
473
|
+
"type": {
|
|
474
|
+
"text": "string"
|
|
475
|
+
},
|
|
476
|
+
"default": "null",
|
|
477
|
+
"fieldName": "ariaLabel"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "disabled",
|
|
481
|
+
"description": "Applies the disabled treatment (50% opacity) and suppresses the hover/focus/pressed CSS\nstates -- this doesn't set a native `disabled` attribute (this component renders no native\nform control), it's purely a visual/interaction-state flag for when a consuming app has\nwrapped this in its own disabled control. Reflected so the `:host([disabled])` CSS selector\nthat drives all of the above still matches when a consumer sets the JS property directly\n(`el.disabled = true`) rather than the HTML attribute.",
|
|
482
|
+
"type": {
|
|
483
|
+
"text": "boolean"
|
|
484
|
+
},
|
|
485
|
+
"default": "false",
|
|
486
|
+
"fieldName": "disabled"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "initials",
|
|
490
|
+
"description": "`type=\"initials\"` only: the initials text to display (e.g. `\"SL\"` for \"Sam Lee\"). Ignored\nfor `icon`/`image`.",
|
|
491
|
+
"type": {
|
|
492
|
+
"text": "string"
|
|
493
|
+
},
|
|
494
|
+
"default": "null",
|
|
495
|
+
"fieldName": "initials"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "size",
|
|
499
|
+
"description": "Sizing scale -- `xs` (24px) through `xxl` (128px), matching Figma's own six-step scale.",
|
|
500
|
+
"type": {
|
|
501
|
+
"text": "\"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\" | \"xxl\"",
|
|
502
|
+
"references": [
|
|
503
|
+
{
|
|
504
|
+
"name": "BsAvatarSize"
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
},
|
|
508
|
+
"default": "'md'",
|
|
509
|
+
"fieldName": "size"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "src",
|
|
513
|
+
"description": "`type=\"image\"` only: the photo URL. This component does not fetch it itself -- network\ncalls, loading/error states, and caching are the consuming app's responsibility, same\nconvention as `bs-logo`'s own `src` prop. Ignored for `icon`/`initials`.",
|
|
514
|
+
"type": {
|
|
515
|
+
"text": "string"
|
|
516
|
+
},
|
|
517
|
+
"default": "null",
|
|
518
|
+
"fieldName": "src"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "type",
|
|
522
|
+
"description": "What to render inside the circle. `icon` (default) is the generic fallback for when neither\na photo nor initials are available yet.",
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "\"icon\" | \"image\" | \"initials\"",
|
|
525
|
+
"references": [
|
|
526
|
+
{
|
|
527
|
+
"name": "BsAvatarType"
|
|
528
|
+
}
|
|
529
|
+
]
|
|
530
|
+
},
|
|
531
|
+
"default": "'icon'",
|
|
532
|
+
"fieldName": "type"
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
"members": [
|
|
536
|
+
{
|
|
537
|
+
"kind": "field",
|
|
538
|
+
"name": "alt",
|
|
539
|
+
"description": "`type=\"image\"` only: accessible alt text for the photo, set directly on the real `<img>`\nthis renders -- a person's photo is meaningful content, not decorative, so pass something\nreal (e.g. their name). Falls back to `alt=\"\"` (decorative to assistive tech) when unset,\nrather than omitting the attribute entirely, but don't rely on that fallback. Ignored for\n`icon`/`initials` -- see `ariaLabel` for those instead.",
|
|
540
|
+
"type": {
|
|
541
|
+
"text": "string"
|
|
542
|
+
},
|
|
543
|
+
"default": "null",
|
|
544
|
+
"readonly": true,
|
|
545
|
+
"attribute": "alt"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"kind": "field",
|
|
549
|
+
"name": "ariaLabel",
|
|
550
|
+
"description": "`type=\"icon\"`/`\"initials\"` only: accessible name for the avatar, set as `aria-label` on the\n`role=\"img\"` wrapper this renders (neither is a real `<img>`, so there's no native `alt` to\nset). Setting a plain `aria-label` attribute on the `<bs-avatar>` host does NOT work for this\n-- that attribute stays on the light-DOM host and never crosses into the shadow DOM, so the\nactual `role=\"img\"` element stays nameless. Same pattern as `bs-checkbox`'s identical\n`ariaLabel` prop. Ignored for `image` -- see `alt` for that instead.",
|
|
551
|
+
"type": {
|
|
552
|
+
"text": "string"
|
|
553
|
+
},
|
|
554
|
+
"default": "null",
|
|
555
|
+
"readonly": true,
|
|
556
|
+
"attribute": "aria-label"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "field",
|
|
560
|
+
"name": "disabled",
|
|
561
|
+
"description": "Applies the disabled treatment (50% opacity) and suppresses the hover/focus/pressed CSS\nstates -- this doesn't set a native `disabled` attribute (this component renders no native\nform control), it's purely a visual/interaction-state flag for when a consuming app has\nwrapped this in its own disabled control. Reflected so the `:host([disabled])` CSS selector\nthat drives all of the above still matches when a consumer sets the JS property directly\n(`el.disabled = true`) rather than the HTML attribute.",
|
|
562
|
+
"type": {
|
|
563
|
+
"text": "boolean"
|
|
564
|
+
},
|
|
565
|
+
"default": "false",
|
|
566
|
+
"readonly": true,
|
|
567
|
+
"attribute": "disabled",
|
|
568
|
+
"reflects": true
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"kind": "field",
|
|
572
|
+
"name": "initials",
|
|
573
|
+
"description": "`type=\"initials\"` only: the initials text to display (e.g. `\"SL\"` for \"Sam Lee\"). Ignored\nfor `icon`/`image`.",
|
|
574
|
+
"type": {
|
|
575
|
+
"text": "string"
|
|
576
|
+
},
|
|
577
|
+
"default": "null",
|
|
578
|
+
"readonly": true,
|
|
579
|
+
"attribute": "initials"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"kind": "field",
|
|
583
|
+
"name": "size",
|
|
584
|
+
"description": "Sizing scale -- `xs` (24px) through `xxl` (128px), matching Figma's own six-step scale.",
|
|
585
|
+
"type": {
|
|
586
|
+
"text": "\"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\" | \"xxl\"",
|
|
587
|
+
"references": [
|
|
588
|
+
{
|
|
589
|
+
"name": "BsAvatarSize"
|
|
590
|
+
}
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
"default": "'md'",
|
|
594
|
+
"readonly": true,
|
|
595
|
+
"attribute": "size"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"kind": "field",
|
|
599
|
+
"name": "src",
|
|
600
|
+
"description": "`type=\"image\"` only: the photo URL. This component does not fetch it itself -- network\ncalls, loading/error states, and caching are the consuming app's responsibility, same\nconvention as `bs-logo`'s own `src` prop. Ignored for `icon`/`initials`.",
|
|
601
|
+
"type": {
|
|
602
|
+
"text": "string"
|
|
603
|
+
},
|
|
604
|
+
"default": "null",
|
|
605
|
+
"readonly": true,
|
|
606
|
+
"attribute": "src"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"kind": "field",
|
|
610
|
+
"name": "type",
|
|
611
|
+
"description": "What to render inside the circle. `icon` (default) is the generic fallback for when neither\na photo nor initials are available yet.",
|
|
612
|
+
"type": {
|
|
613
|
+
"text": "\"icon\" | \"image\" | \"initials\"",
|
|
614
|
+
"references": [
|
|
615
|
+
{
|
|
616
|
+
"name": "BsAvatarType"
|
|
617
|
+
}
|
|
618
|
+
]
|
|
619
|
+
},
|
|
620
|
+
"default": "'icon'",
|
|
621
|
+
"readonly": true,
|
|
622
|
+
"attribute": "type"
|
|
623
|
+
}
|
|
624
|
+
],
|
|
625
|
+
"cssParts": [
|
|
626
|
+
{
|
|
627
|
+
"name": "container",
|
|
628
|
+
"description": "The circular wrapper (all three `type`s render this; `image` additionally\nwraps a real `<img>` inside it, since the border/background/radius treatment is identical\nacross types and factoring it into one shared part keeps `::part(container)` overrides\nconsistent regardless of which `type` ends up rendering)."
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "icon",
|
|
632
|
+
"description": "The fallback user-silhouette icon. Only rendered for `type=\"icon\"`."
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "image",
|
|
636
|
+
"description": "The `<img>` itself. Only rendered for `type=\"image\"`."
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "initials",
|
|
640
|
+
"description": "The initials text. Only rendered for `type=\"initials\"`."
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"cssProperties": [
|
|
644
|
+
{
|
|
645
|
+
"name": "--bs-avatar-bg-dafault",
|
|
646
|
+
"description": "Background, resting. Aliased to --bs-surface-raised. Named \"dafault\" (not a typo introduced here) -- this is this library's own vendored brandsync-tokens token verbatim; see CLAUDE.md's note on pre-existing malformed vendored token names."
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "--bs-avatar-bg-focused",
|
|
650
|
+
"description": "Background while focused. Aliased to --bs-surface-raised, same reasoning as hover."
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "--bs-avatar-bg-hover",
|
|
654
|
+
"description": "Background on hover. Aliased to --bs-surface-raised -- identical to the resting value; only the border recolors on hover (see below)."
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "--bs-avatar-bg-pressed",
|
|
658
|
+
"description": "Background while pressed. Aliased to --bs-surface-raised, same reasoning as hover."
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "--bs-avatar-border-focus",
|
|
662
|
+
"description": "Focus ring color -- a separate ring drawn just outside the avatar's own border, not the border's own color (see --bs-avatar-border-focused above). Aliased to --bs-border-neutral-focus."
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "--bs-avatar-border-focused",
|
|
666
|
+
"description": "Border color while focused -- Figma keeps this identical to the resting --bs-avatar-border-primary; the focus ring (--bs-avatar-border-focus below) is a separate, additional ring, not a border recolor."
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "--bs-avatar-border-hover",
|
|
670
|
+
"description": "Border color on hover. Aliased to --bs-border-neutral-container-hover."
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "--bs-avatar-border-pressed",
|
|
674
|
+
"description": "Border color while pressed. Aliased to --bs-border-neutral-container-pressed."
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "--bs-avatar-border-primary",
|
|
678
|
+
"description": "Border color, resting. Aliased to --bs-border-neutral-container."
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "--bs-avatar-border-width",
|
|
682
|
+
"description": "Border width at every size except xxl. Aliased to --bs-border-width-thin (1px)."
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "--bs-avatar-border-width-xxl",
|
|
686
|
+
"description": "Border width at size=\"xxl\" specifically -- Figma specs this one size a hair thicker (1.333px) than the other five, not a rounding artifact."
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "--bs-avatar-icon-primary",
|
|
690
|
+
"description": "Fallback user-icon color (type=\"icon\"). Aliased to --bs-icon-muted."
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "--bs-avatar-radius",
|
|
694
|
+
"description": "Corner radius -- always a full circle regardless of size. Aliased to --bs-border-radius-full."
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "--bs-avatar-size-lg",
|
|
698
|
+
"description": "Width/height at size=\"lg\". 64px."
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "--bs-avatar-size-md",
|
|
702
|
+
"description": "Width/height at size=\"md\". 44px."
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "--bs-avatar-size-sm",
|
|
706
|
+
"description": "Width/height at size=\"sm\". 32px."
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "--bs-avatar-size-xl",
|
|
710
|
+
"description": "Width/height at size=\"xl\". 96px."
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "--bs-avatar-size-xs",
|
|
714
|
+
"description": "Width/height at size=\"xs\". 24px, matching Figma's own six-step scale."
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "--bs-avatar-size-xxl",
|
|
718
|
+
"description": "Width/height at size=\"xxl\". 128px."
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "--bs-avatar-text-default",
|
|
722
|
+
"description": "Initials text color (type=\"initials\"). Aliased to --bs-text-default. All of the --bs-avatar-* custom properties above are this library's existing vendored brandsync-tokens tokens (see tokens.css), not new ones invented for this component -- brandsync-tokens already ships a full avatar-specific token set, referenced here directly rather than re-aliased through component-local names the way most other components in this library do, since there's nothing left to add a layer of indirection over."
|
|
723
|
+
}
|
|
724
|
+
]
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"exports": [
|
|
728
|
+
{
|
|
729
|
+
"kind": "js",
|
|
730
|
+
"name": "BsAvatar",
|
|
731
|
+
"declaration": {
|
|
732
|
+
"name": "BsAvatar"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"kind": "custom-element-definition",
|
|
737
|
+
"name": "bs-avatar",
|
|
738
|
+
"declaration": {
|
|
739
|
+
"name": "BsAvatar"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
]
|
|
743
|
+
},
|
|
450
744
|
{
|
|
451
745
|
"kind": "javascript-module",
|
|
452
746
|
"path": "src/components/bs-badge/bs-badge.tsx",
|
|
@@ -454,53 +748,405 @@
|
|
|
454
748
|
{
|
|
455
749
|
"kind": "class",
|
|
456
750
|
"customElement": true,
|
|
457
|
-
"tagName": "bs-badge",
|
|
458
|
-
"name": "BsBadge",
|
|
459
|
-
"description": "A small status or category pill, usually paired with a label or list item.\n\n## When to use\n- Communicating a short, fixed status (e.g. \"Active\", \"On leave\") or category label.\n\n## When not to use\n- As an interactive/clickable element — a badge is a label, not a control. Use a button\n or chip component if it needs to be clickable.\n- For long text — badges are sized for one or two words.",
|
|
751
|
+
"tagName": "bs-badge",
|
|
752
|
+
"name": "BsBadge",
|
|
753
|
+
"description": "A small status or category pill, usually paired with a label or list item.\n\n## When to use\n- Communicating a short, fixed status (e.g. \"Active\", \"On leave\") or category label.\n\n## When not to use\n- As an interactive/clickable element — a badge is a label, not a control. Use a button\n or chip component if it needs to be clickable.\n- For long text — badges are sized for one or two words.",
|
|
754
|
+
"attributes": [
|
|
755
|
+
{
|
|
756
|
+
"name": "variant",
|
|
757
|
+
"description": "Maps directly to the brandsync-tokens `--bs-badge-bg-*` / `--bs-badge-text-*` sets.",
|
|
758
|
+
"type": {
|
|
759
|
+
"text": "\"default\" | \"error\" | \"info\" | \"inverse\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
760
|
+
"references": [
|
|
761
|
+
{
|
|
762
|
+
"name": "BsBadgeVariant"
|
|
763
|
+
}
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
"default": "'default'",
|
|
767
|
+
"fieldName": "variant"
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"members": [
|
|
771
|
+
{
|
|
772
|
+
"kind": "field",
|
|
773
|
+
"name": "variant",
|
|
774
|
+
"description": "Maps directly to the brandsync-tokens `--bs-badge-bg-*` / `--bs-badge-text-*` sets.",
|
|
775
|
+
"type": {
|
|
776
|
+
"text": "\"default\" | \"error\" | \"info\" | \"inverse\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
777
|
+
"references": [
|
|
778
|
+
{
|
|
779
|
+
"name": "BsBadgeVariant"
|
|
780
|
+
}
|
|
781
|
+
]
|
|
782
|
+
},
|
|
783
|
+
"default": "'default'",
|
|
784
|
+
"readonly": true,
|
|
785
|
+
"attribute": "variant"
|
|
786
|
+
}
|
|
787
|
+
],
|
|
788
|
+
"slots": [
|
|
789
|
+
{
|
|
790
|
+
"name": "",
|
|
791
|
+
"description": "Default slot: the badge's label text."
|
|
792
|
+
}
|
|
793
|
+
],
|
|
794
|
+
"cssParts": [
|
|
795
|
+
{
|
|
796
|
+
"name": "container",
|
|
797
|
+
"description": "The pill element."
|
|
798
|
+
}
|
|
799
|
+
]
|
|
800
|
+
}
|
|
801
|
+
],
|
|
802
|
+
"exports": [
|
|
803
|
+
{
|
|
804
|
+
"kind": "js",
|
|
805
|
+
"name": "BsBadge",
|
|
806
|
+
"declaration": {
|
|
807
|
+
"name": "BsBadge"
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"kind": "custom-element-definition",
|
|
812
|
+
"name": "bs-badge",
|
|
813
|
+
"declaration": {
|
|
814
|
+
"name": "BsBadge"
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
]
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"kind": "javascript-module",
|
|
821
|
+
"path": "src/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.tsx",
|
|
822
|
+
"declarations": [
|
|
823
|
+
{
|
|
824
|
+
"kind": "class",
|
|
825
|
+
"customElement": true,
|
|
826
|
+
"tagName": "bs-breadcrumb",
|
|
827
|
+
"name": "BsBreadcrumb",
|
|
828
|
+
"description": "A single crumb within a `<bs-breadcrumbs>` trail: a leading separator icon plus either a link,\nplain text, or the current-page label, depending on `current`/`href`.\n\nRendering follows the W3C ARIA Authoring Practices breadcrumb pattern\n(https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/): the current page is marked\n`aria-current=\"page\"` and is never a link -- this holds even when `href` is also set, unlike\nCarbon Design System's `cds-breadcrumb-item`, which allows a link on the current item.\n\nSets `role=\"listitem\"` on the host, mirroring Carbon's own `CDSBreadcrumbItem.connectedCallback()`\n-- since this is a custom-element child of a real `<ol>` rather than a real `<li>`, the\naccessibility tree needs this explicit role to preserve the list's semantics.\n\n## When to use\n- As one crumb inside a `<bs-breadcrumbs>` trail.\n\n## When not to use\n- Standalone, outside a `<bs-breadcrumbs>` wrapper -- its `<ol>`/`<nav>` context and\n first-child-aware separator hiding depend on that parent structure.",
|
|
829
|
+
"attributes": [
|
|
830
|
+
{
|
|
831
|
+
"name": "current",
|
|
832
|
+
"description": "Whether this crumb is the current page. Renders as plain (non-link) text marked\n`aria-current=\"page\"`, reflected as an attribute so consumers/CSS can target\n`bs-breadcrumb[current]`.",
|
|
833
|
+
"type": {
|
|
834
|
+
"text": "boolean"
|
|
835
|
+
},
|
|
836
|
+
"default": "false",
|
|
837
|
+
"fieldName": "current"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"name": "href",
|
|
841
|
+
"description": "Destination for a non-current crumb. Ignored when `current` is true -- the current page is\nnever a link, even if `href` is set (see the class JSDoc).",
|
|
842
|
+
"type": {
|
|
843
|
+
"text": "string"
|
|
844
|
+
},
|
|
845
|
+
"fieldName": "href"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "size",
|
|
849
|
+
"description": "Size variant. Normally set automatically by a parent `<bs-breadcrumbs size=\"...\">` -- the\ncontainer propagates its own `size` as a JS property to every slotted `bs-breadcrumb`/\n`bs-breadcrumb-overflow` child (see `bs-breadcrumbs.tsx`'s `propagateSize`), since CSS custom\nproperties can't carry an enum that switches rules on their own. Can also be set directly on a\nstandalone crumb. `sm` scales down font-size/line-height only -- the separator icon's pixel\nsize is unchanged, since Figma didn't specify a `sm` icon size and guessing one risked drifting\noff-brand. Reflected so consumers/CSS can target `bs-breadcrumb[size=\"sm\"]`.",
|
|
850
|
+
"type": {
|
|
851
|
+
"text": "\"md\" | \"sm\"",
|
|
852
|
+
"references": [
|
|
853
|
+
{
|
|
854
|
+
"name": "BsBreadcrumbSize"
|
|
855
|
+
}
|
|
856
|
+
]
|
|
857
|
+
},
|
|
858
|
+
"default": "'md'",
|
|
859
|
+
"fieldName": "size"
|
|
860
|
+
}
|
|
861
|
+
],
|
|
862
|
+
"members": [
|
|
863
|
+
{
|
|
864
|
+
"kind": "field",
|
|
865
|
+
"name": "current",
|
|
866
|
+
"description": "Whether this crumb is the current page. Renders as plain (non-link) text marked\n`aria-current=\"page\"`, reflected as an attribute so consumers/CSS can target\n`bs-breadcrumb[current]`.",
|
|
867
|
+
"type": {
|
|
868
|
+
"text": "boolean"
|
|
869
|
+
},
|
|
870
|
+
"default": "false",
|
|
871
|
+
"readonly": true,
|
|
872
|
+
"attribute": "current",
|
|
873
|
+
"reflects": true
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"kind": "field",
|
|
877
|
+
"name": "href",
|
|
878
|
+
"description": "Destination for a non-current crumb. Ignored when `current` is true -- the current page is\nnever a link, even if `href` is set (see the class JSDoc).",
|
|
879
|
+
"type": {
|
|
880
|
+
"text": "string"
|
|
881
|
+
},
|
|
882
|
+
"readonly": true,
|
|
883
|
+
"attribute": "href"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"kind": "field",
|
|
887
|
+
"name": "size",
|
|
888
|
+
"description": "Size variant. Normally set automatically by a parent `<bs-breadcrumbs size=\"...\">` -- the\ncontainer propagates its own `size` as a JS property to every slotted `bs-breadcrumb`/\n`bs-breadcrumb-overflow` child (see `bs-breadcrumbs.tsx`'s `propagateSize`), since CSS custom\nproperties can't carry an enum that switches rules on their own. Can also be set directly on a\nstandalone crumb. `sm` scales down font-size/line-height only -- the separator icon's pixel\nsize is unchanged, since Figma didn't specify a `sm` icon size and guessing one risked drifting\noff-brand. Reflected so consumers/CSS can target `bs-breadcrumb[size=\"sm\"]`.",
|
|
889
|
+
"type": {
|
|
890
|
+
"text": "\"md\" | \"sm\"",
|
|
891
|
+
"references": [
|
|
892
|
+
{
|
|
893
|
+
"name": "BsBreadcrumbSize"
|
|
894
|
+
}
|
|
895
|
+
]
|
|
896
|
+
},
|
|
897
|
+
"default": "'md'",
|
|
898
|
+
"readonly": true,
|
|
899
|
+
"attribute": "size",
|
|
900
|
+
"reflects": true
|
|
901
|
+
}
|
|
902
|
+
],
|
|
903
|
+
"slots": [
|
|
904
|
+
{
|
|
905
|
+
"name": "",
|
|
906
|
+
"description": "Default slot: the crumb's label content/text."
|
|
907
|
+
}
|
|
908
|
+
],
|
|
909
|
+
"cssParts": [
|
|
910
|
+
{
|
|
911
|
+
"name": "current",
|
|
912
|
+
"description": "The current-page text element."
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "link",
|
|
916
|
+
"description": "The anchor (or, when there's no `href`, plain `<span>`) for a non-current crumb."
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "separator",
|
|
920
|
+
"description": "The leading separator icon wrapper."
|
|
921
|
+
}
|
|
922
|
+
],
|
|
923
|
+
"cssProperties": [
|
|
924
|
+
{
|
|
925
|
+
"name": "--bs-breadcrumb-color-current",
|
|
926
|
+
"description": "Text color, the current-page crumb. Aliased to --bs-text-default."
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"name": "--bs-breadcrumb-color-default",
|
|
930
|
+
"description": "Text color, non-current crumb. Aliased to --bs-text-muted."
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"name": "--bs-breadcrumb-color-hover",
|
|
934
|
+
"description": "Text color, non-current link crumb on hover/focus. Aliased to --bs-text-default."
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "--bs-breadcrumb-focus-ring-color",
|
|
938
|
+
"description": "Focus ring color for a link crumb. Aliased to --bs-border-neutral-focus."
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "--bs-breadcrumb-font-size",
|
|
942
|
+
"description": "Aliased to --bs-font-size-md."
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"name": "--bs-breadcrumb-font-size-sm",
|
|
946
|
+
"description": "Font size at size=\"sm\". Aliased to --bs-font-size-sm."
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "--bs-breadcrumb-font-weight-current",
|
|
950
|
+
"description": "Font weight, the current-page crumb. Aliased to --bs-font-weight-semibold."
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "--bs-breadcrumb-font-weight-default",
|
|
954
|
+
"description": "Font weight, non-current crumb. Aliased to --bs-font-weight-regular."
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"name": "--bs-breadcrumb-gap",
|
|
958
|
+
"description": "Gap between the separator icon and this crumb's own content. Aliased to --bs-spacing-50."
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "--bs-breadcrumb-line-height",
|
|
962
|
+
"description": "Aliased to --bs-line-height-body-md."
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"name": "--bs-breadcrumb-line-height-sm",
|
|
966
|
+
"description": "Line height at size=\"sm\". Aliased to --bs-line-height-body-sm."
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"name": "--bs-breadcrumb-radius",
|
|
970
|
+
"description": "Border radius for a link crumb's focus ring. Aliased to --bs-border-radius-50."
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "--bs-breadcrumb-separator-color",
|
|
974
|
+
"description": "Separator icon color. Aliased to --bs-icon-default."
|
|
975
|
+
}
|
|
976
|
+
]
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"exports": [
|
|
980
|
+
{
|
|
981
|
+
"kind": "js",
|
|
982
|
+
"name": "BsBreadcrumb",
|
|
983
|
+
"declaration": {
|
|
984
|
+
"name": "BsBreadcrumb"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"kind": "custom-element-definition",
|
|
989
|
+
"name": "bs-breadcrumb",
|
|
990
|
+
"declaration": {
|
|
991
|
+
"name": "BsBreadcrumb"
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
]
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"kind": "javascript-module",
|
|
998
|
+
"path": "src/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.tsx",
|
|
999
|
+
"declarations": [
|
|
1000
|
+
{
|
|
1001
|
+
"kind": "class",
|
|
1002
|
+
"customElement": true,
|
|
1003
|
+
"tagName": "bs-breadcrumb-overflow",
|
|
1004
|
+
"name": "BsBreadcrumbOverflow",
|
|
1005
|
+
"description": "A manually-placed collapsed-items disclosure for a `<bs-breadcrumbs>` trail: a leading separator\nplus an icon-only ellipsis button that reveals a `bs-menu` popup listing every hidden crumb.\n\n`items` is JS-property-only -- must be set as a JS property (`el.items = [...]`), not an HTML\nattribute, since attributes can only carry strings. See CONVENTIONS.md.\n\nUnlike an earlier `bs-breadcrumbs`-owned automatic `maxItems` collapse, this component does no\ncollapsing logic itself -- the consumer decides which crumbs to hide and places this element\nwherever they want the disclosure, exactly matching Carbon Design System's own approach (Carbon\ndoesn't auto-collapse breadcrumbs either; a consumer there manually decides what's visible).\n\nHidden items with an `href` render as real `<a href>` rows inside the popup, not `bs-menu-item`\n(which renders a `<button>`) -- this matters because consuming apps commonly use client-side\nrouters that intercept clicks on real `<a>` tags to do `preventDefault` + push-state navigation.\nRendering hidden links any other way (e.g. `window.location`) would silently break client-side\nrouting for hidden crumbs while working fine for visible ones. Hidden items without an `href`\nrender as plain non-interactive text, matching how `bs-breadcrumb` itself handles link vs.\nno-link crumbs.\n\nSets `role=\"listitem\"` on the host, mirroring Carbon's own `CDSBreadcrumbItem.connectedCallback()`\n-- since this is a custom-element child of a real `<ol>` rather than a real `<li>`, the\naccessibility tree needs this explicit role to preserve the list's semantics.\n\n## When to use\n- Inside a `<bs-breadcrumbs>` trail, wherever the consumer wants an interactive disclosure for\n crumbs they've chosen not to render directly.\n\n## When not to use\n- As an automatic collapsing mechanism -- there is none; the consumer decides what's hidden.",
|
|
460
1006
|
"attributes": [
|
|
461
1007
|
{
|
|
462
|
-
"name": "
|
|
463
|
-
"description": "
|
|
1008
|
+
"name": "overflow-label",
|
|
1009
|
+
"description": "Accessible name (`aria-label`) for the icon-only ellipsis trigger button.",
|
|
464
1010
|
"type": {
|
|
465
|
-
"text": "
|
|
1011
|
+
"text": "string"
|
|
1012
|
+
},
|
|
1013
|
+
"default": "'Show hidden breadcrumbs'",
|
|
1014
|
+
"fieldName": "overflowLabel"
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"name": "size",
|
|
1018
|
+
"description": "Size variant. Normally set automatically by a parent `<bs-breadcrumbs size=\"...\">` -- see\n`bs-breadcrumb`'s identical `size` prop doc comment for why this is propagated as a JS\nproperty rather than inherited via CSS. Scales the popup rows' font-size/line-height only; the\nseparator/ellipsis icons' pixel sizes are unchanged. Reflected so consumers/CSS can target\n`bs-breadcrumb-overflow[size=\"sm\"]`.",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "\"md\" | \"sm\"",
|
|
466
1021
|
"references": [
|
|
467
1022
|
{
|
|
468
|
-
"name": "
|
|
1023
|
+
"name": "BsBreadcrumbSize",
|
|
1024
|
+
"module": "../bs-breadcrumb/bs-breadcrumb"
|
|
469
1025
|
}
|
|
470
1026
|
]
|
|
471
1027
|
},
|
|
472
|
-
"default": "'
|
|
473
|
-
"fieldName": "
|
|
1028
|
+
"default": "'md'",
|
|
1029
|
+
"fieldName": "size"
|
|
474
1030
|
}
|
|
475
1031
|
],
|
|
476
1032
|
"members": [
|
|
477
1033
|
{
|
|
478
1034
|
"kind": "field",
|
|
479
|
-
"name": "
|
|
480
|
-
"description": "
|
|
1035
|
+
"name": "items",
|
|
1036
|
+
"description": "Array prop -- must be set as a JS property (`el.items = [...]`), not an HTML attribute, since\nattributes can only carry strings. See CONVENTIONS.md. The hidden crumbs reachable via this\ndisclosure -- no collapsing logic here, the consumer decides what goes in this list.",
|
|
481
1037
|
"type": {
|
|
482
|
-
"text": "
|
|
1038
|
+
"text": "BsBreadcrumbOverflowItem[]",
|
|
483
1039
|
"references": [
|
|
484
1040
|
{
|
|
485
|
-
"name": "
|
|
1041
|
+
"name": "BsBreadcrumbOverflowItem"
|
|
486
1042
|
}
|
|
487
1043
|
]
|
|
488
1044
|
},
|
|
489
|
-
"default": "
|
|
1045
|
+
"default": "[]",
|
|
1046
|
+
"readonly": true
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "field",
|
|
1050
|
+
"name": "overflowLabel",
|
|
1051
|
+
"description": "Accessible name (`aria-label`) for the icon-only ellipsis trigger button.",
|
|
1052
|
+
"type": {
|
|
1053
|
+
"text": "string"
|
|
1054
|
+
},
|
|
1055
|
+
"default": "'Show hidden breadcrumbs'",
|
|
490
1056
|
"readonly": true,
|
|
491
|
-
"attribute": "
|
|
1057
|
+
"attribute": "overflow-label"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"kind": "field",
|
|
1061
|
+
"name": "size",
|
|
1062
|
+
"description": "Size variant. Normally set automatically by a parent `<bs-breadcrumbs size=\"...\">` -- see\n`bs-breadcrumb`'s identical `size` prop doc comment for why this is propagated as a JS\nproperty rather than inherited via CSS. Scales the popup rows' font-size/line-height only; the\nseparator/ellipsis icons' pixel sizes are unchanged. Reflected so consumers/CSS can target\n`bs-breadcrumb-overflow[size=\"sm\"]`.",
|
|
1063
|
+
"type": {
|
|
1064
|
+
"text": "\"md\" | \"sm\"",
|
|
1065
|
+
"references": [
|
|
1066
|
+
{
|
|
1067
|
+
"name": "BsBreadcrumbSize",
|
|
1068
|
+
"module": "../bs-breadcrumb/bs-breadcrumb"
|
|
1069
|
+
}
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
"default": "'md'",
|
|
1073
|
+
"readonly": true,
|
|
1074
|
+
"attribute": "size",
|
|
1075
|
+
"reflects": true
|
|
492
1076
|
}
|
|
493
1077
|
],
|
|
494
1078
|
"slots": [
|
|
495
1079
|
{
|
|
496
1080
|
"name": "",
|
|
497
|
-
"description": "
|
|
1081
|
+
"description": "None: `items` fully drives the popup's contents."
|
|
498
1082
|
}
|
|
499
1083
|
],
|
|
500
1084
|
"cssParts": [
|
|
501
1085
|
{
|
|
502
|
-
"name": "
|
|
503
|
-
"description": "The
|
|
1086
|
+
"name": "ellipsis",
|
|
1087
|
+
"description": "The icon-only disclosure button."
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "link",
|
|
1091
|
+
"description": "Each anchor/span row inside the popup."
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "menu",
|
|
1095
|
+
"description": "The `bs-menu` popup revealed by the ellipsis button."
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "separator",
|
|
1099
|
+
"description": "The leading separator icon wrapper."
|
|
1100
|
+
}
|
|
1101
|
+
],
|
|
1102
|
+
"cssProperties": [
|
|
1103
|
+
{
|
|
1104
|
+
"name": "--bs-breadcrumb-overflow-color",
|
|
1105
|
+
"description": "Text color of a row in the popup. Aliased to --bs-text-muted."
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "--bs-breadcrumb-overflow-ellipsis-color",
|
|
1109
|
+
"description": "Ellipsis icon color. Aliased to --bs-icon-muted."
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"name": "--bs-breadcrumb-overflow-font-size",
|
|
1113
|
+
"description": "Aliased to --bs-font-size-md."
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"name": "--bs-breadcrumb-overflow-font-size-sm",
|
|
1117
|
+
"description": "Popup row font size at size=\"sm\". Aliased to --bs-font-size-sm."
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"name": "--bs-breadcrumb-overflow-gap",
|
|
1121
|
+
"description": "Gap between the separator icon and the ellipsis, and the popup's offset below the button. Aliased to --bs-spacing-50."
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"name": "--bs-breadcrumb-overflow-hover",
|
|
1125
|
+
"description": "Background color of a row in the popup on hover/focus. Aliased to --bs-color-neutral-container-hover."
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"name": "--bs-breadcrumb-overflow-line-height",
|
|
1129
|
+
"description": "Aliased to --bs-line-height-body-md."
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "--bs-breadcrumb-overflow-line-height-sm",
|
|
1133
|
+
"description": "Popup row line height at size=\"sm\". Aliased to --bs-line-height-body-sm."
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"name": "--bs-breadcrumb-overflow-padding-x",
|
|
1137
|
+
"description": "Left/right padding of each row in the popup. Aliased to --bs-spacing-150."
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"name": "--bs-breadcrumb-overflow-padding-y",
|
|
1141
|
+
"description": "Top/bottom padding of each row in the popup. Aliased to --bs-spacing-100."
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"name": "--bs-breadcrumb-overflow-radius",
|
|
1145
|
+
"description": "Border radius of each row in the popup. Aliased to --bs-border-radius-100."
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "--bs-breadcrumb-overflow-separator-color",
|
|
1149
|
+
"description": "Separator icon color. Aliased to --bs-icon-default."
|
|
504
1150
|
}
|
|
505
1151
|
]
|
|
506
1152
|
}
|
|
@@ -508,16 +1154,119 @@
|
|
|
508
1154
|
"exports": [
|
|
509
1155
|
{
|
|
510
1156
|
"kind": "js",
|
|
511
|
-
"name": "
|
|
1157
|
+
"name": "BsBreadcrumbOverflow",
|
|
512
1158
|
"declaration": {
|
|
513
|
-
"name": "
|
|
1159
|
+
"name": "BsBreadcrumbOverflow"
|
|
514
1160
|
}
|
|
515
1161
|
},
|
|
516
1162
|
{
|
|
517
1163
|
"kind": "custom-element-definition",
|
|
518
|
-
"name": "bs-
|
|
1164
|
+
"name": "bs-breadcrumb-overflow",
|
|
519
1165
|
"declaration": {
|
|
520
|
-
"name": "
|
|
1166
|
+
"name": "BsBreadcrumbOverflow"
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
]
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"kind": "javascript-module",
|
|
1173
|
+
"path": "src/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.tsx",
|
|
1174
|
+
"declarations": [
|
|
1175
|
+
{
|
|
1176
|
+
"kind": "class",
|
|
1177
|
+
"customElement": true,
|
|
1178
|
+
"tagName": "bs-breadcrumbs",
|
|
1179
|
+
"name": "BsBreadcrumbs",
|
|
1180
|
+
"description": "A breadcrumb trail container: a real `<nav>` landmark wrapping an `<ol>`, meant to be populated\nwith slotted `<bs-breadcrumb>` (and, where the consumer wants a collapsed-items disclosure,\n`<bs-breadcrumb-overflow>`) children -- same composition-over-configuration architecture as\nCarbon Design System's `cds-breadcrumb`/`cds-breadcrumb-item`/`cds-breadcrumb-link`.\n\nThis component is intentionally thin: it owns only the `<nav>` landmark and list semantics.\nUnlike an earlier `items`-array-driven design, there is no automatic collapsing here -- exactly\nlike Carbon, the consumer decides what's visible and manually places a `<bs-breadcrumb-overflow>`\nwherever they want a collapsed-items disclosure. See `bs-breadcrumbs.mdx` for the consolidated\ndocs covering all three components in this feature area.\n\n## When to use\n- Showing a user's current location within a hierarchical page structure, with a path back to\n its ancestors.\n\n## When not to use\n- Primary in-app navigation -- use `bs-navigation-drawer`/`bs-navigation-header` instead.\n- A flat set of unrelated pages with no hierarchy -- breadcrumbs imply ancestry, not just history.",
|
|
1181
|
+
"attributes": [
|
|
1182
|
+
{
|
|
1183
|
+
"name": "label",
|
|
1184
|
+
"description": "Accessible name for the `<nav>` landmark, via `aria-label`. Same pattern as\n`bs-navigation-drawer`'s `heading` prop.",
|
|
1185
|
+
"type": {
|
|
1186
|
+
"text": "string"
|
|
1187
|
+
},
|
|
1188
|
+
"default": "'Breadcrumb'",
|
|
1189
|
+
"fieldName": "label"
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "size",
|
|
1193
|
+
"description": "Size variant, propagated as a JS property to every slotted `bs-breadcrumb`/\n`bs-breadcrumb-overflow` child -- this container has no visual sizing of its own (font/spacing\nlive on the item components, see `bs-breadcrumb.tsx`'s identical `size` prop), so propagation\nis the only way setting `size` here reaches every crumb. CSS custom properties can't carry an\nenum that switches rules on their own, which is why this is pushed via JS property instead of\nCSS inheritance -- same reasoning as `bs-tabs` setting `selected` directly on its slotted\n`bs-tab`/`bs-inline-tab` children. Re-propagated on `size` changes and whenever the slotted\nchildren change (e.g. a crumb added later).",
|
|
1194
|
+
"type": {
|
|
1195
|
+
"text": "\"md\" | \"sm\"",
|
|
1196
|
+
"references": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "BsBreadcrumbSize",
|
|
1199
|
+
"module": "../bs-breadcrumb/bs-breadcrumb"
|
|
1200
|
+
}
|
|
1201
|
+
]
|
|
1202
|
+
},
|
|
1203
|
+
"default": "'md'",
|
|
1204
|
+
"fieldName": "size"
|
|
1205
|
+
}
|
|
1206
|
+
],
|
|
1207
|
+
"members": [
|
|
1208
|
+
{
|
|
1209
|
+
"kind": "field",
|
|
1210
|
+
"name": "label",
|
|
1211
|
+
"description": "Accessible name for the `<nav>` landmark, via `aria-label`. Same pattern as\n`bs-navigation-drawer`'s `heading` prop.",
|
|
1212
|
+
"type": {
|
|
1213
|
+
"text": "string"
|
|
1214
|
+
},
|
|
1215
|
+
"default": "'Breadcrumb'",
|
|
1216
|
+
"readonly": true,
|
|
1217
|
+
"attribute": "label"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"kind": "field",
|
|
1221
|
+
"name": "size",
|
|
1222
|
+
"description": "Size variant, propagated as a JS property to every slotted `bs-breadcrumb`/\n`bs-breadcrumb-overflow` child -- this container has no visual sizing of its own (font/spacing\nlive on the item components, see `bs-breadcrumb.tsx`'s identical `size` prop), so propagation\nis the only way setting `size` here reaches every crumb. CSS custom properties can't carry an\nenum that switches rules on their own, which is why this is pushed via JS property instead of\nCSS inheritance -- same reasoning as `bs-tabs` setting `selected` directly on its slotted\n`bs-tab`/`bs-inline-tab` children. Re-propagated on `size` changes and whenever the slotted\nchildren change (e.g. a crumb added later).",
|
|
1223
|
+
"type": {
|
|
1224
|
+
"text": "\"md\" | \"sm\"",
|
|
1225
|
+
"references": [
|
|
1226
|
+
{
|
|
1227
|
+
"name": "BsBreadcrumbSize",
|
|
1228
|
+
"module": "../bs-breadcrumb/bs-breadcrumb"
|
|
1229
|
+
}
|
|
1230
|
+
]
|
|
1231
|
+
},
|
|
1232
|
+
"default": "'md'",
|
|
1233
|
+
"readonly": true,
|
|
1234
|
+
"attribute": "size"
|
|
1235
|
+
}
|
|
1236
|
+
],
|
|
1237
|
+
"slots": [
|
|
1238
|
+
{
|
|
1239
|
+
"name": "",
|
|
1240
|
+
"description": "Default slot: the trail's crumbs, `<bs-breadcrumb>` and/or `<bs-breadcrumb-overflow>`\nelements, in visual order."
|
|
1241
|
+
}
|
|
1242
|
+
],
|
|
1243
|
+
"cssParts": [
|
|
1244
|
+
{
|
|
1245
|
+
"name": "list",
|
|
1246
|
+
"description": "The `<ol>` element."
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1249
|
+
"cssProperties": [
|
|
1250
|
+
{
|
|
1251
|
+
"name": "--bs-breadcrumbs-gap",
|
|
1252
|
+
"description": "Gap between slotted crumbs (bs-breadcrumb/bs-breadcrumb-overflow). Aliased to --bs-spacing-50."
|
|
1253
|
+
}
|
|
1254
|
+
]
|
|
1255
|
+
}
|
|
1256
|
+
],
|
|
1257
|
+
"exports": [
|
|
1258
|
+
{
|
|
1259
|
+
"kind": "js",
|
|
1260
|
+
"name": "BsBreadcrumbs",
|
|
1261
|
+
"declaration": {
|
|
1262
|
+
"name": "BsBreadcrumbs"
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"kind": "custom-element-definition",
|
|
1267
|
+
"name": "bs-breadcrumbs",
|
|
1268
|
+
"declaration": {
|
|
1269
|
+
"name": "BsBreadcrumbs"
|
|
521
1270
|
}
|
|
522
1271
|
}
|
|
523
1272
|
]
|
|
@@ -830,6 +1579,10 @@
|
|
|
830
1579
|
{
|
|
831
1580
|
"name": "header",
|
|
832
1581
|
"description": "Optional heading content above the body."
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"name": "image",
|
|
1585
|
+
"description": "Optional hero image across the top of the card, flush with its edges and clipped\nto its top corners. Presence of assigned content is what shows it -- doesn't affect layout when\nempty."
|
|
833
1586
|
}
|
|
834
1587
|
],
|
|
835
1588
|
"cssParts": [
|
|
@@ -839,7 +1592,7 @@
|
|
|
839
1592
|
},
|
|
840
1593
|
{
|
|
841
1594
|
"name": "container",
|
|
842
|
-
"description": "The outer
|
|
1595
|
+
"description": "The outer surface element."
|
|
843
1596
|
},
|
|
844
1597
|
{
|
|
845
1598
|
"name": "footer",
|
|
@@ -848,6 +1601,10 @@
|
|
|
848
1601
|
{
|
|
849
1602
|
"name": "header",
|
|
850
1603
|
"description": "The header wrapper."
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"name": "image",
|
|
1607
|
+
"description": "The hero image wrapper (only visible when the `image` slot has content)."
|
|
851
1608
|
}
|
|
852
1609
|
]
|
|
853
1610
|
}
|
|
@@ -1851,8 +2608,87 @@
|
|
|
1851
2608
|
"description": "Box width/height at size=\"md\". Aliased to --bs-spacing-250."
|
|
1852
2609
|
},
|
|
1853
2610
|
{
|
|
1854
|
-
"name": "--bs-checkbox-size-sm",
|
|
1855
|
-
"description": "Box width/height at size=\"sm\". Aliased to --bs-spacing-200."
|
|
2611
|
+
"name": "--bs-checkbox-size-sm",
|
|
2612
|
+
"description": "Box width/height at size=\"sm\". Aliased to --bs-spacing-200."
|
|
2613
|
+
}
|
|
2614
|
+
]
|
|
2615
|
+
}
|
|
2616
|
+
],
|
|
2617
|
+
"exports": [
|
|
2618
|
+
{
|
|
2619
|
+
"kind": "js",
|
|
2620
|
+
"name": "BsCheckbox",
|
|
2621
|
+
"declaration": {
|
|
2622
|
+
"name": "BsCheckbox"
|
|
2623
|
+
}
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
"kind": "custom-element-definition",
|
|
2627
|
+
"name": "bs-checkbox",
|
|
2628
|
+
"declaration": {
|
|
2629
|
+
"name": "BsCheckbox"
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
]
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"kind": "javascript-module",
|
|
2636
|
+
"path": "src/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.tsx",
|
|
2637
|
+
"declarations": [
|
|
2638
|
+
{
|
|
2639
|
+
"kind": "class",
|
|
2640
|
+
"customElement": true,
|
|
2641
|
+
"tagName": "bs-checkbox-skeleton",
|
|
2642
|
+
"name": "BsCheckboxSkeleton",
|
|
2643
|
+
"description": "A shape-matched loading placeholder for `bs-checkbox`, shown while the real label text isn't\nknown yet (e.g. still being fetched from an API). Renders a small square (matching the\ncheckbox's own box) beside a text-bar placeholder (standing in for the label), both pulsing\ntogether, sized to match `bs-checkbox`'s `sm`/`md`/`lg` box dimensions so layout doesn't shift\nonce the real checkbox renders.\n\n## When to use\n- In place of a `bs-checkbox` whose label/checked state depends on data that hasn't loaded yet.\n\n## When not to use\n- While a checkbox's own change handler is running (e.g. a save request in flight) -- render the\n real `bs-checkbox` itself; this component is not a saving-in-progress spinner.",
|
|
2644
|
+
"attributes": [
|
|
2645
|
+
{
|
|
2646
|
+
"name": "size",
|
|
2647
|
+
"description": "Sizing scale, matching the `bs-checkbox` size it stands in for. Defaults to `lg`, the same\n(unusual) default `bs-checkbox` itself uses.",
|
|
2648
|
+
"type": {
|
|
2649
|
+
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
2650
|
+
"references": [
|
|
2651
|
+
{
|
|
2652
|
+
"name": "BsCheckboxSize",
|
|
2653
|
+
"module": "../bs-checkbox"
|
|
2654
|
+
}
|
|
2655
|
+
]
|
|
2656
|
+
},
|
|
2657
|
+
"default": "'lg'",
|
|
2658
|
+
"fieldName": "size"
|
|
2659
|
+
}
|
|
2660
|
+
],
|
|
2661
|
+
"members": [
|
|
2662
|
+
{
|
|
2663
|
+
"kind": "field",
|
|
2664
|
+
"name": "size",
|
|
2665
|
+
"description": "Sizing scale, matching the `bs-checkbox` size it stands in for. Defaults to `lg`, the same\n(unusual) default `bs-checkbox` itself uses.",
|
|
2666
|
+
"type": {
|
|
2667
|
+
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
2668
|
+
"references": [
|
|
2669
|
+
{
|
|
2670
|
+
"name": "BsCheckboxSize",
|
|
2671
|
+
"module": "../bs-checkbox"
|
|
2672
|
+
}
|
|
2673
|
+
]
|
|
2674
|
+
},
|
|
2675
|
+
"default": "'lg'",
|
|
2676
|
+
"readonly": true,
|
|
2677
|
+
"attribute": "size"
|
|
2678
|
+
}
|
|
2679
|
+
],
|
|
2680
|
+
"cssParts": [
|
|
2681
|
+
{
|
|
2682
|
+
"name": "box",
|
|
2683
|
+
"description": "The pulsing placeholder standing in for the checkbox's own box."
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"name": "container",
|
|
2687
|
+
"description": "The outer wrapper holding both placeholder pieces."
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"name": "label",
|
|
2691
|
+
"description": "The pulsing placeholder bar standing in for the label text."
|
|
1856
2692
|
}
|
|
1857
2693
|
]
|
|
1858
2694
|
}
|
|
@@ -1860,16 +2696,16 @@
|
|
|
1860
2696
|
"exports": [
|
|
1861
2697
|
{
|
|
1862
2698
|
"kind": "js",
|
|
1863
|
-
"name": "
|
|
2699
|
+
"name": "BsCheckboxSkeleton",
|
|
1864
2700
|
"declaration": {
|
|
1865
|
-
"name": "
|
|
2701
|
+
"name": "BsCheckboxSkeleton"
|
|
1866
2702
|
}
|
|
1867
2703
|
},
|
|
1868
2704
|
{
|
|
1869
2705
|
"kind": "custom-element-definition",
|
|
1870
|
-
"name": "bs-checkbox",
|
|
2706
|
+
"name": "bs-checkbox-skeleton",
|
|
1871
2707
|
"declaration": {
|
|
1872
|
-
"name": "
|
|
2708
|
+
"name": "BsCheckboxSkeleton"
|
|
1873
2709
|
}
|
|
1874
2710
|
}
|
|
1875
2711
|
]
|
|
@@ -2476,6 +3312,184 @@
|
|
|
2476
3312
|
}
|
|
2477
3313
|
]
|
|
2478
3314
|
},
|
|
3315
|
+
{
|
|
3316
|
+
"kind": "javascript-module",
|
|
3317
|
+
"path": "src/components/bs-dialog/bs-dialog.tsx",
|
|
3318
|
+
"declarations": [
|
|
3319
|
+
{
|
|
3320
|
+
"kind": "class",
|
|
3321
|
+
"customElement": true,
|
|
3322
|
+
"tagName": "bs-dialog",
|
|
3323
|
+
"name": "BsDialog",
|
|
3324
|
+
"description": "An overlay dialog that interrupts the current flow for a focused task or confirmation.\nCloses itself on backdrop click, Escape, or its own close button, and emits `bsClose`.\n\n## When to use\n- Confirming a consequential action (e.g. \"Confirm booking\") before it takes effect.\n- A short, focused task that doesn't warrant navigating to a new page.\n\n## When not to use\n- For non-blocking status messages — use a toast/notification instead of interrupting the user.\n- For a long, multi-step flow — a full page or a dedicated route is usually a better fit than a\n dialog that just gets taller and taller.\n\nTwo additional slots cover the Figma \"Dialog\" component's other states: `image` (a hero image\nacross the top, close button floats over it instead of sitting in the header row) and `icon`\n(only rendered when `centered` is set, e.g. a success checkmark above a centered heading). The\nclose button \"floats\" (absolute-positioned, top-right of the dialog, with its own background)\nwhenever `centered` is true or the `image` slot has content -- otherwise it's the plain inline\nbutton in the header row next to the heading, same as before this addition.",
|
|
3325
|
+
"attributes": [
|
|
3326
|
+
{
|
|
3327
|
+
"name": "centered",
|
|
3328
|
+
"description": "Switches to the Figma \"Icon Centered\" layout: heading/body text centered, the `icon` slot\nrendered above the heading, and the close button floating top-right of the dialog instead of\ninline in the header row. Doesn't hide a slotted `image` if one is also provided -- Figma's\nspec doesn't show the two combined, so this is unspecified rather than actively blocked.\nReflected so consumers/CSS can target `bs-dialog[centered]`.",
|
|
3329
|
+
"type": {
|
|
3330
|
+
"text": "boolean"
|
|
3331
|
+
},
|
|
3332
|
+
"default": "false",
|
|
3333
|
+
"fieldName": "centered"
|
|
3334
|
+
},
|
|
3335
|
+
{
|
|
3336
|
+
"name": "heading",
|
|
3337
|
+
"type": {
|
|
3338
|
+
"text": "string"
|
|
3339
|
+
},
|
|
3340
|
+
"fieldName": "heading"
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"name": "open",
|
|
3344
|
+
"description": "Mutable + reflected so the component can close itself (backdrop click, Escape, close button)\nthe same way a native `<dialog>` does, while still emitting `bsClose` for the consumer to react to.",
|
|
3345
|
+
"type": {
|
|
3346
|
+
"text": "boolean"
|
|
3347
|
+
},
|
|
3348
|
+
"default": "false",
|
|
3349
|
+
"fieldName": "open"
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"name": "size",
|
|
3353
|
+
"type": {
|
|
3354
|
+
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
3355
|
+
"references": [
|
|
3356
|
+
{
|
|
3357
|
+
"name": "BsDialogSize"
|
|
3358
|
+
}
|
|
3359
|
+
]
|
|
3360
|
+
},
|
|
3361
|
+
"default": "'md'",
|
|
3362
|
+
"fieldName": "size"
|
|
3363
|
+
}
|
|
3364
|
+
],
|
|
3365
|
+
"members": [
|
|
3366
|
+
{
|
|
3367
|
+
"kind": "field",
|
|
3368
|
+
"name": "centered",
|
|
3369
|
+
"description": "Switches to the Figma \"Icon Centered\" layout: heading/body text centered, the `icon` slot\nrendered above the heading, and the close button floating top-right of the dialog instead of\ninline in the header row. Doesn't hide a slotted `image` if one is also provided -- Figma's\nspec doesn't show the two combined, so this is unspecified rather than actively blocked.\nReflected so consumers/CSS can target `bs-dialog[centered]`.",
|
|
3370
|
+
"type": {
|
|
3371
|
+
"text": "boolean"
|
|
3372
|
+
},
|
|
3373
|
+
"default": "false",
|
|
3374
|
+
"readonly": true,
|
|
3375
|
+
"attribute": "centered",
|
|
3376
|
+
"reflects": true
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "field",
|
|
3380
|
+
"name": "heading",
|
|
3381
|
+
"type": {
|
|
3382
|
+
"text": "string"
|
|
3383
|
+
},
|
|
3384
|
+
"readonly": true,
|
|
3385
|
+
"attribute": "heading"
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"kind": "field",
|
|
3389
|
+
"name": "open",
|
|
3390
|
+
"description": "Mutable + reflected so the component can close itself (backdrop click, Escape, close button)\nthe same way a native `<dialog>` does, while still emitting `bsClose` for the consumer to react to.",
|
|
3391
|
+
"type": {
|
|
3392
|
+
"text": "boolean"
|
|
3393
|
+
},
|
|
3394
|
+
"default": "false",
|
|
3395
|
+
"attribute": "open",
|
|
3396
|
+
"reflects": true
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
"kind": "field",
|
|
3400
|
+
"name": "size",
|
|
3401
|
+
"type": {
|
|
3402
|
+
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
3403
|
+
"references": [
|
|
3404
|
+
{
|
|
3405
|
+
"name": "BsDialogSize"
|
|
3406
|
+
}
|
|
3407
|
+
]
|
|
3408
|
+
},
|
|
3409
|
+
"default": "'md'",
|
|
3410
|
+
"readonly": true,
|
|
3411
|
+
"attribute": "size"
|
|
3412
|
+
}
|
|
3413
|
+
],
|
|
3414
|
+
"events": [
|
|
3415
|
+
{
|
|
3416
|
+
"name": "bsClose",
|
|
3417
|
+
"type": {
|
|
3418
|
+
"text": "CustomEvent<void>"
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
],
|
|
3422
|
+
"slots": [
|
|
3423
|
+
{
|
|
3424
|
+
"name": "",
|
|
3425
|
+
"description": "Default slot: the dialog body content."
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"name": "footer",
|
|
3429
|
+
"description": "Optional footer content (typically action buttons)."
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"name": "icon",
|
|
3433
|
+
"description": "Optional icon shown above the heading, only rendered at all when `centered` is true."
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
"name": "image",
|
|
3437
|
+
"description": "Optional hero image across the top of the dialog. Presence of assigned content\nswitches the close button to float over it; doesn't affect layout when empty."
|
|
3438
|
+
}
|
|
3439
|
+
],
|
|
3440
|
+
"cssParts": [
|
|
3441
|
+
{
|
|
3442
|
+
"name": "backdrop",
|
|
3443
|
+
"description": "The full-viewport overlay behind the dialog."
|
|
3444
|
+
},
|
|
3445
|
+
{
|
|
3446
|
+
"name": "body",
|
|
3447
|
+
"description": "The body content wrapper."
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"name": "close",
|
|
3451
|
+
"description": "The close button (inline in the header, or floating -- see the class doc above)."
|
|
3452
|
+
},
|
|
3453
|
+
{
|
|
3454
|
+
"name": "dialog",
|
|
3455
|
+
"description": "The dialog box itself."
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"name": "footer",
|
|
3459
|
+
"description": "The footer wrapper (only visible when the footer slot has content)."
|
|
3460
|
+
},
|
|
3461
|
+
{
|
|
3462
|
+
"name": "header",
|
|
3463
|
+
"description": "The header row (heading + close button, when the close button isn't floating)."
|
|
3464
|
+
},
|
|
3465
|
+
{
|
|
3466
|
+
"name": "icon",
|
|
3467
|
+
"description": "The icon wrapper (only rendered when `centered` is true)."
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
"name": "image",
|
|
3471
|
+
"description": "The hero image wrapper (only visible when the `image` slot has content)."
|
|
3472
|
+
}
|
|
3473
|
+
]
|
|
3474
|
+
}
|
|
3475
|
+
],
|
|
3476
|
+
"exports": [
|
|
3477
|
+
{
|
|
3478
|
+
"kind": "js",
|
|
3479
|
+
"name": "BsDialog",
|
|
3480
|
+
"declaration": {
|
|
3481
|
+
"name": "BsDialog"
|
|
3482
|
+
}
|
|
3483
|
+
},
|
|
3484
|
+
{
|
|
3485
|
+
"kind": "custom-element-definition",
|
|
3486
|
+
"name": "bs-dialog",
|
|
3487
|
+
"declaration": {
|
|
3488
|
+
"name": "BsDialog"
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
]
|
|
3492
|
+
},
|
|
2479
3493
|
{
|
|
2480
3494
|
"kind": "javascript-module",
|
|
2481
3495
|
"path": "src/components/bs-button/bs-icon-button/bs-icon-button.tsx",
|
|
@@ -3495,7 +4509,7 @@
|
|
|
3495
4509
|
},
|
|
3496
4510
|
{
|
|
3497
4511
|
"name": "field",
|
|
3498
|
-
"description": "The bordered field wrapper containing the icon(s) and native control(s)."
|
|
4512
|
+
"description": "The bordered field wrapper containing the icon(s) and native control(s).\n`type=\"initials\"` renders this part on TWO separate elements instead of one (the title\n`<select>`'s own small box, and the name `<input>`'s own box) -- Figma specs these as two\ngenuinely independent bordered containers with a gap between them, not one shared field the\nway every other composite type (`country` included) renders, so `::part(field)` reaches\nwhichever of the two a given selector context matches, same \"multiple elements, one shared\npart name\" convention as `bs-attachment`'s own `star` part."
|
|
3499
4513
|
},
|
|
3500
4514
|
{
|
|
3501
4515
|
"name": "icon",
|
|
@@ -3591,6 +4605,14 @@
|
|
|
3591
4605
|
"name": "--bs-input-icon-size",
|
|
3592
4606
|
"description": "Width/height of the leading/trailing icon. Aliased to --bs-spacing-300."
|
|
3593
4607
|
},
|
|
4608
|
+
{
|
|
4609
|
+
"name": "--bs-input-initials-gap",
|
|
4610
|
+
"description": "Gap between the title box and the name box for type=\"initials\". Aliased to --bs-spacing-50 (4px), matching Figma's own gap-[4px] on this same pairing exactly."
|
|
4611
|
+
},
|
|
4612
|
+
{
|
|
4613
|
+
"name": "--bs-input-initials-title-width",
|
|
4614
|
+
"description": "Width of the title box for type=\"initials\" (e.g. \"Mrs.\"/\"Mr.\"/\"Dr.\"). A literal 80px, not aliased to a spacing token -- Figma specs this sub-field as a fixed, compact width regardless of option content (node 10306:101047), not content-based sizing. Applied to the box itself (`.bs-input__field--initials-title`), not the `<select>` directly -- see that class's own comment for why type=\"initials\" renders two separate bordered boxes instead of sharing one field the way every other composite type does."
|
|
4615
|
+
},
|
|
3594
4616
|
{
|
|
3595
4617
|
"name": "--bs-input-label-color",
|
|
3596
4618
|
"description": "Label text color. Aliased to --bs-input-label."
|
|
@@ -3854,160 +4876,31 @@
|
|
|
3854
4876
|
"attributes": [
|
|
3855
4877
|
{
|
|
3856
4878
|
"name": "disabled",
|
|
3857
|
-
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
3858
|
-
"type": {
|
|
3859
|
-
"text": "boolean"
|
|
3860
|
-
},
|
|
3861
|
-
"default": "false",
|
|
3862
|
-
"fieldName": "disabled"
|
|
3863
|
-
}
|
|
3864
|
-
],
|
|
3865
|
-
"members": [
|
|
3866
|
-
{
|
|
3867
|
-
"kind": "field",
|
|
3868
|
-
"name": "disabled",
|
|
3869
|
-
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
3870
|
-
"type": {
|
|
3871
|
-
"text": "boolean"
|
|
3872
|
-
},
|
|
3873
|
-
"default": "false",
|
|
3874
|
-
"readonly": true,
|
|
3875
|
-
"attribute": "disabled"
|
|
3876
|
-
}
|
|
3877
|
-
],
|
|
3878
|
-
"events": [
|
|
3879
|
-
{
|
|
3880
|
-
"name": "bsSelect",
|
|
3881
|
-
"description": "Fires when the item is clicked.",
|
|
3882
|
-
"type": {
|
|
3883
|
-
"text": "CustomEvent<void>"
|
|
3884
|
-
}
|
|
3885
|
-
}
|
|
3886
|
-
],
|
|
3887
|
-
"slots": [
|
|
3888
|
-
{
|
|
3889
|
-
"name": "",
|
|
3890
|
-
"description": "Default slot: the item's text label."
|
|
3891
|
-
},
|
|
3892
|
-
{
|
|
3893
|
-
"name": "icon",
|
|
3894
|
-
"description": "Optional leading icon (24x24). When left empty, no icon space is reserved."
|
|
3895
|
-
}
|
|
3896
|
-
],
|
|
3897
|
-
"cssParts": [
|
|
3898
|
-
{
|
|
3899
|
-
"name": "icon",
|
|
3900
|
-
"description": "The icon wrapper."
|
|
3901
|
-
},
|
|
3902
|
-
{
|
|
3903
|
-
"name": "item",
|
|
3904
|
-
"description": "The button element."
|
|
3905
|
-
},
|
|
3906
|
-
{
|
|
3907
|
-
"name": "label",
|
|
3908
|
-
"description": "The label wrapper."
|
|
3909
|
-
}
|
|
3910
|
-
]
|
|
3911
|
-
}
|
|
3912
|
-
],
|
|
3913
|
-
"exports": [
|
|
3914
|
-
{
|
|
3915
|
-
"kind": "js",
|
|
3916
|
-
"name": "BsMenuItem",
|
|
3917
|
-
"declaration": {
|
|
3918
|
-
"name": "BsMenuItem"
|
|
3919
|
-
}
|
|
3920
|
-
},
|
|
3921
|
-
{
|
|
3922
|
-
"kind": "custom-element-definition",
|
|
3923
|
-
"name": "bs-menu-item",
|
|
3924
|
-
"declaration": {
|
|
3925
|
-
"name": "BsMenuItem"
|
|
3926
|
-
}
|
|
3927
|
-
}
|
|
3928
|
-
]
|
|
3929
|
-
},
|
|
3930
|
-
{
|
|
3931
|
-
"kind": "javascript-module",
|
|
3932
|
-
"path": "src/components/bs-modal/bs-modal.tsx",
|
|
3933
|
-
"declarations": [
|
|
3934
|
-
{
|
|
3935
|
-
"kind": "class",
|
|
3936
|
-
"customElement": true,
|
|
3937
|
-
"tagName": "bs-modal",
|
|
3938
|
-
"name": "BsModal",
|
|
3939
|
-
"description": "An overlay dialog that interrupts the current flow for a focused task or confirmation.\nCloses itself on backdrop click, Escape, or its own close button, and emits `bsClose`.\n\n## When to use\n- Confirming a consequential action (e.g. \"Confirm booking\") before it takes effect.\n- A short, focused task that doesn't warrant navigating to a new page.\n\n## When not to use\n- For non-blocking status messages — use a toast/notification instead of interrupting the user.\n- For a long, multi-step flow — a full page or a dedicated route is usually a better fit than a\n modal that just gets taller and taller.",
|
|
3940
|
-
"attributes": [
|
|
3941
|
-
{
|
|
3942
|
-
"name": "heading",
|
|
3943
|
-
"type": {
|
|
3944
|
-
"text": "string"
|
|
3945
|
-
},
|
|
3946
|
-
"fieldName": "heading"
|
|
3947
|
-
},
|
|
3948
|
-
{
|
|
3949
|
-
"name": "open",
|
|
3950
|
-
"description": "Mutable + reflected so the component can close itself (backdrop click, Escape, close button)\nthe same way a native `<dialog>` does, while still emitting `bsClose` for the consumer to react to.",
|
|
4879
|
+
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
3951
4880
|
"type": {
|
|
3952
4881
|
"text": "boolean"
|
|
3953
4882
|
},
|
|
3954
4883
|
"default": "false",
|
|
3955
|
-
"fieldName": "
|
|
3956
|
-
},
|
|
3957
|
-
{
|
|
3958
|
-
"name": "size",
|
|
3959
|
-
"type": {
|
|
3960
|
-
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
3961
|
-
"references": [
|
|
3962
|
-
{
|
|
3963
|
-
"name": "BsModalSize"
|
|
3964
|
-
}
|
|
3965
|
-
]
|
|
3966
|
-
},
|
|
3967
|
-
"default": "'md'",
|
|
3968
|
-
"fieldName": "size"
|
|
4884
|
+
"fieldName": "disabled"
|
|
3969
4885
|
}
|
|
3970
4886
|
],
|
|
3971
4887
|
"members": [
|
|
3972
4888
|
{
|
|
3973
4889
|
"kind": "field",
|
|
3974
|
-
"name": "
|
|
3975
|
-
"
|
|
3976
|
-
"text": "string"
|
|
3977
|
-
},
|
|
3978
|
-
"readonly": true,
|
|
3979
|
-
"attribute": "heading"
|
|
3980
|
-
},
|
|
3981
|
-
{
|
|
3982
|
-
"kind": "field",
|
|
3983
|
-
"name": "open",
|
|
3984
|
-
"description": "Mutable + reflected so the component can close itself (backdrop click, Escape, close button)\nthe same way a native `<dialog>` does, while still emitting `bsClose` for the consumer to react to.",
|
|
4890
|
+
"name": "disabled",
|
|
4891
|
+
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
3985
4892
|
"type": {
|
|
3986
4893
|
"text": "boolean"
|
|
3987
4894
|
},
|
|
3988
4895
|
"default": "false",
|
|
3989
|
-
"attribute": "open",
|
|
3990
|
-
"reflects": true
|
|
3991
|
-
},
|
|
3992
|
-
{
|
|
3993
|
-
"kind": "field",
|
|
3994
|
-
"name": "size",
|
|
3995
|
-
"type": {
|
|
3996
|
-
"text": "\"lg\" | \"md\" | \"sm\"",
|
|
3997
|
-
"references": [
|
|
3998
|
-
{
|
|
3999
|
-
"name": "BsModalSize"
|
|
4000
|
-
}
|
|
4001
|
-
]
|
|
4002
|
-
},
|
|
4003
|
-
"default": "'md'",
|
|
4004
4896
|
"readonly": true,
|
|
4005
|
-
"attribute": "
|
|
4897
|
+
"attribute": "disabled"
|
|
4006
4898
|
}
|
|
4007
4899
|
],
|
|
4008
4900
|
"events": [
|
|
4009
4901
|
{
|
|
4010
|
-
"name": "
|
|
4902
|
+
"name": "bsSelect",
|
|
4903
|
+
"description": "Fires when the item is clicked.",
|
|
4011
4904
|
"type": {
|
|
4012
4905
|
"text": "CustomEvent<void>"
|
|
4013
4906
|
}
|
|
@@ -4016,37 +4909,25 @@
|
|
|
4016
4909
|
"slots": [
|
|
4017
4910
|
{
|
|
4018
4911
|
"name": "",
|
|
4019
|
-
"description": "Default slot: the
|
|
4912
|
+
"description": "Default slot: the item's text label."
|
|
4020
4913
|
},
|
|
4021
4914
|
{
|
|
4022
|
-
"name": "
|
|
4023
|
-
"description": "Optional
|
|
4915
|
+
"name": "icon",
|
|
4916
|
+
"description": "Optional leading icon (24x24). When left empty, no icon space is reserved."
|
|
4024
4917
|
}
|
|
4025
4918
|
],
|
|
4026
4919
|
"cssParts": [
|
|
4027
4920
|
{
|
|
4028
|
-
"name": "
|
|
4029
|
-
"description": "The
|
|
4030
|
-
},
|
|
4031
|
-
{
|
|
4032
|
-
"name": "body",
|
|
4033
|
-
"description": "The body content wrapper."
|
|
4034
|
-
},
|
|
4035
|
-
{
|
|
4036
|
-
"name": "close",
|
|
4037
|
-
"description": "The close button."
|
|
4038
|
-
},
|
|
4039
|
-
{
|
|
4040
|
-
"name": "dialog",
|
|
4041
|
-
"description": "The dialog box itself."
|
|
4921
|
+
"name": "icon",
|
|
4922
|
+
"description": "The icon wrapper."
|
|
4042
4923
|
},
|
|
4043
4924
|
{
|
|
4044
|
-
"name": "
|
|
4045
|
-
"description": "The
|
|
4925
|
+
"name": "item",
|
|
4926
|
+
"description": "The button element."
|
|
4046
4927
|
},
|
|
4047
4928
|
{
|
|
4048
|
-
"name": "
|
|
4049
|
-
"description": "The
|
|
4929
|
+
"name": "label",
|
|
4930
|
+
"description": "The label wrapper."
|
|
4050
4931
|
}
|
|
4051
4932
|
]
|
|
4052
4933
|
}
|
|
@@ -4054,16 +4935,16 @@
|
|
|
4054
4935
|
"exports": [
|
|
4055
4936
|
{
|
|
4056
4937
|
"kind": "js",
|
|
4057
|
-
"name": "
|
|
4938
|
+
"name": "BsMenuItem",
|
|
4058
4939
|
"declaration": {
|
|
4059
|
-
"name": "
|
|
4940
|
+
"name": "BsMenuItem"
|
|
4060
4941
|
}
|
|
4061
4942
|
},
|
|
4062
4943
|
{
|
|
4063
4944
|
"kind": "custom-element-definition",
|
|
4064
|
-
"name": "bs-
|
|
4945
|
+
"name": "bs-menu-item",
|
|
4065
4946
|
"declaration": {
|
|
4066
|
-
"name": "
|
|
4947
|
+
"name": "BsMenuItem"
|
|
4067
4948
|
}
|
|
4068
4949
|
}
|
|
4069
4950
|
]
|
|
@@ -4077,7 +4958,7 @@
|
|
|
4077
4958
|
"customElement": true,
|
|
4078
4959
|
"tagName": "bs-navigation-drawer",
|
|
4079
4960
|
"name": "BsNavigationDrawer",
|
|
4080
|
-
"description": "A left-side persistent navigation sidebar: the BrandSync logo, a \"Main Menu\" title with a\ncollapse toggle, a reserved slot for a search field, and a scrollable list of nav items.\n\n## When to use\n- The primary in-app navigation, shown alongside `bs-navigation-header` (typically that\n header's `with-navigation-drawer` alignment, which omits its own logo since this component\n already renders one).\n\n## When not to use\n- The top navigation bar itself -- use `bs-navigation-header` instead.\n\nThis component renders a real `<nav>` landmark (no explicit `role` needed -- `<nav>` already\ncarries the implicit `navigation` role), labeled via `aria-label={heading}` so the landmark\nstill has a name even when collapsed (see below).\n\n`collapsed` narrows the drawer to a 96px icon-only rail, per Figma node 8028:135374\n(\"Type=Collapsed\"): the title text disappears, the logo swaps from the full \"EG BrandSync\"\nwordmark (`bs-logo variant=\"full\"`) to the real icon-only mark (`bs-logo variant=\"mark\"` -- a\nsecond, properly-designed asset, not a CSS crop of the full one) via CSS visibility toggling on\nboth, the same `:host([collapsed])` attribute-selector pattern already used for the\n`search`/`search-trigger` swap below, the `search` slot is replaced by a compact built-in\nsearch-trigger button (this component can't meaningfully shrink arbitrary slotted search-field\ncontent down to icon size itself, so it emits `bsSearchClick` instead -- e.g. to open a full\nsearch overlay), and every top-level\n`bs-navigation-drawer-item`'s layout switches from icon-beside-label to icon-above-caption.\nThat last part is real prop propagation, not a CSS trick: this component keeps each direct-child\nitem's own `collapsed` prop in sync with its own (see `syncItemsCollapsed` below), the same\ndirect-children-prop-sync approach `bs-tabs` already uses for coordinating `selected` across its\n`bs-tab` children. Clicking the toggle self-toggles `collapsed` (simple local UI state, not\nsomething needing cross-component coordination -- closer to `bs-switch`'s self-toggling\n`checked` than `bs-tab`'s non-self-toggling `selected`) and emits `bsCollapse` with the new\nvalue. The toggle's own caret icon does NOT rotate when collapsed -- Figma's collapsed mock\nreuses the identical left-pointing \"CaretLeft\" asset unchanged, confirmed by directly inspecting\nthat state, so this deliberately does not add the same \"flip on toggle\" idiom the drawer item's\nown disclosure chevron does (that one really is an unconfirmed addition; this one was checked).",
|
|
4961
|
+
"description": "A left-side persistent navigation sidebar: the BrandSync logo, a \"Main Menu\" title with a\ncollapse toggle, a reserved slot for a search field, and a scrollable list of nav items.\n\n## When to use\n- The primary in-app navigation, shown alongside `bs-navigation-header` (typically that\n header's `with-navigation-drawer` alignment, which omits its own logo since this component\n already renders one -- or the reverse pairing, this drawer's own `showLogo={false}` alongside\n a header that keeps its logo instead, see that prop's own docs).\n\n## When not to use\n- The top navigation bar itself -- use `bs-navigation-header` instead.\n\nThis component renders a real `<nav>` landmark (no explicit `role` needed -- `<nav>` already\ncarries the implicit `navigation` role), labeled via `aria-label={heading}` so the landmark\nstill has a name even when collapsed (see below).\n\n`collapsed` narrows the drawer to a 96px icon-only rail, per Figma node 8028:135374\n(\"Type=Collapsed\"): the title text disappears, the logo swaps from the full \"EG BrandSync\"\nwordmark (`bs-logo variant=\"full\"`) to the real icon-only mark (`bs-logo variant=\"mark\"` -- a\nsecond, properly-designed asset, not a CSS crop of the full one) via CSS visibility toggling on\nboth, the same `:host([collapsed])` attribute-selector pattern already used for the\n`search`/`search-trigger` swap below, the `search` slot is replaced by a compact built-in\nsearch-trigger button (this component can't meaningfully shrink arbitrary slotted search-field\ncontent down to icon size itself, so it emits `bsSearchClick` instead -- e.g. to open a full\nsearch overlay), and every top-level\n`bs-navigation-drawer-item`'s layout switches from icon-beside-label to icon-above-caption.\nThat last part is real prop propagation, not a CSS trick: this component keeps each direct-child\nitem's own `collapsed` prop in sync with its own (see `syncItemsCollapsed` below), the same\ndirect-children-prop-sync approach `bs-tabs` already uses for coordinating `selected` across its\n`bs-tab` children. Clicking the toggle self-toggles `collapsed` (simple local UI state, not\nsomething needing cross-component coordination -- closer to `bs-switch`'s self-toggling\n`checked` than `bs-tab`'s non-self-toggling `selected`) and emits `bsCollapse` with the new\nvalue. The toggle's own caret icon does NOT rotate when collapsed -- Figma's collapsed mock\nreuses the identical left-pointing \"CaretLeft\" asset unchanged, confirmed by directly inspecting\nthat state, so this deliberately does not add the same \"flip on toggle\" idiom the drawer item's\nown disclosure chevron does (that one really is an unconfirmed addition; this one was checked).",
|
|
4081
4962
|
"attributes": [
|
|
4082
4963
|
{
|
|
4083
4964
|
"name": "collapsed",
|
|
@@ -4114,6 +4995,15 @@
|
|
|
4114
4995
|
},
|
|
4115
4996
|
"default": "'auto'",
|
|
4116
4997
|
"fieldName": "logoBackground"
|
|
4998
|
+
},
|
|
4999
|
+
{
|
|
5000
|
+
"name": "show-logo",
|
|
5001
|
+
"description": "Whether to render the BrandSync logo at all. Defaults to `true`. This drawer is normally the\none that owns the logo when paired with a `bs-navigation-header` (that header's own\n`with-navigation-drawer` alignment omits its logo for exactly this reason) -- but the reverse\npairing works too: a header that keeps its own logo (`alignment=\"default\"`) paired with this\ndrawer set to `showLogo={false}`, so the brand mark only ever appears once.",
|
|
5002
|
+
"type": {
|
|
5003
|
+
"text": "boolean"
|
|
5004
|
+
},
|
|
5005
|
+
"default": "true",
|
|
5006
|
+
"fieldName": "showLogo"
|
|
4117
5007
|
}
|
|
4118
5008
|
],
|
|
4119
5009
|
"members": [
|
|
@@ -4160,6 +5050,17 @@
|
|
|
4160
5050
|
"default": "'auto'",
|
|
4161
5051
|
"readonly": true,
|
|
4162
5052
|
"attribute": "logo-background"
|
|
5053
|
+
},
|
|
5054
|
+
{
|
|
5055
|
+
"kind": "field",
|
|
5056
|
+
"name": "showLogo",
|
|
5057
|
+
"description": "Whether to render the BrandSync logo at all. Defaults to `true`. This drawer is normally the\none that owns the logo when paired with a `bs-navigation-header` (that header's own\n`with-navigation-drawer` alignment omits its logo for exactly this reason) -- but the reverse\npairing works too: a header that keeps its own logo (`alignment=\"default\"`) paired with this\ndrawer set to `showLogo={false}`, so the brand mark only ever appears once.",
|
|
5058
|
+
"type": {
|
|
5059
|
+
"text": "boolean"
|
|
5060
|
+
},
|
|
5061
|
+
"default": "true",
|
|
5062
|
+
"readonly": true,
|
|
5063
|
+
"attribute": "show-logo"
|
|
4163
5064
|
}
|
|
4164
5065
|
],
|
|
4165
5066
|
"events": [
|
|
@@ -4199,7 +5100,7 @@
|
|
|
4199
5100
|
},
|
|
4200
5101
|
{
|
|
4201
5102
|
"name": "logo",
|
|
4202
|
-
"description": "The wrapper around the BrandSync brand mark. Two of these exist in the shadow DOM\nat once (one wrapping a `bs-logo variant=\"full\"`, one wrapping a
|
|
5103
|
+
"description": "The wrapper around the BrandSync brand mark. Two of these exist in the shadow DOM\nat once while `showLogo` is `true` (one wrapping a `bs-logo variant=\"full\"`, one wrapping a\n`bs-logo variant=\"mark\"`), both carrying this same part name (the same \"multiple elements, one\nshared part name\" approach `bs-attachment`'s `star` part uses) -- only one is visible at a\ntime, toggled by plain CSS on `collapsed` (see above), so `::part(logo)` always reaches\nwhichever is showing. Neither renders at all while `showLogo` is `false`."
|
|
4203
5104
|
},
|
|
4204
5105
|
{
|
|
4205
5106
|
"name": "search",
|
|
@@ -4558,7 +5459,7 @@
|
|
|
4558
5459
|
},
|
|
4559
5460
|
{
|
|
4560
5461
|
"name": "--bs-navigation-drawer-item-collapsed-icon-padding-x",
|
|
4561
|
-
"description": "Left/right padding of the small rounded chip behind a `collapsed` row's icon (the `selected` tint applies to just this chip, not the full column). Aliased to --bs-spacing-100."
|
|
5462
|
+
"description": "Left/right padding of the small rounded chip behind a `collapsed` row's icon (the `selected` tint applies to just this chip, not the full column). Aliased to --bs-spacing-300 -- widened from the original Figma-node-8028:135374 value (--bs-spacing-100) at the user's request after seeing the chip rendered too narrow relative to the rail's own width. Not a Figma re-measurement -- a deliberate deviation, same as bs-logo's icon-to-wordmark gap earlier this session."
|
|
4562
5463
|
},
|
|
4563
5464
|
{
|
|
4564
5465
|
"name": "--bs-navigation-drawer-item-collapsed-icon-padding-y",
|
|
@@ -4776,62 +5677,292 @@
|
|
|
4776
5677
|
],
|
|
4777
5678
|
"cssParts": [
|
|
4778
5679
|
{
|
|
4779
|
-
"name": "left",
|
|
4780
|
-
"description": "The wrapper around the `left` slot."
|
|
5680
|
+
"name": "left",
|
|
5681
|
+
"description": "The wrapper around the `left` slot."
|
|
5682
|
+
},
|
|
5683
|
+
{
|
|
5684
|
+
"name": "logo",
|
|
5685
|
+
"description": "The BrandSync brand mark, rendered via a nested `bs-logo` element (`part=\"logo\"` is\nset directly on that element -- the same pattern `bs-attachment` uses for its own nested\n`bs-icon-button`'s `remove` part -- so `bs-navigation-header::part(logo)` still targets it\ndirectly, no forwarding needed). Not rendered in `with-navigation-drawer` mode."
|
|
5686
|
+
},
|
|
5687
|
+
{
|
|
5688
|
+
"name": "right",
|
|
5689
|
+
"description": "The wrapper around the `right` slot."
|
|
5690
|
+
},
|
|
5691
|
+
{
|
|
5692
|
+
"name": "skip-link",
|
|
5693
|
+
"description": "The \"Skip to main content\" link (only rendered when `skipToContentHref` is set)."
|
|
5694
|
+
}
|
|
5695
|
+
],
|
|
5696
|
+
"cssProperties": [
|
|
5697
|
+
{
|
|
5698
|
+
"name": "--bs-navigation-header-bg",
|
|
5699
|
+
"description": "Background of the bar. Aliased to --bs-surface-base."
|
|
5700
|
+
},
|
|
5701
|
+
{
|
|
5702
|
+
"name": "--bs-navigation-header-border",
|
|
5703
|
+
"description": "Bottom border color. Aliased to --bs-border-default."
|
|
5704
|
+
},
|
|
5705
|
+
{
|
|
5706
|
+
"name": "--bs-navigation-header-item-gap",
|
|
5707
|
+
"description": "Gap between the logo and the `left` slot (`default` alignment), or between the `left` and `right` slots (`with-navigation-drawer` alignment, which has no logo). Not used in `center` alignment -- see the class doc in bs-navigation-header.tsx. The global vendored --bs-navigation-header-gap token is also malformed (a bare unitless `40`, which is an invalid `gap` value and silently falls back to `normal`/0), so this multiplies it into a real length instead of aliasing directly."
|
|
5708
|
+
},
|
|
5709
|
+
{
|
|
5710
|
+
"name": "--bs-navigation-header-max-width",
|
|
5711
|
+
"description": "Overall max-width of the bar. The global vendored --bs-breakpoints-max-width token is malformed (`1920rem` instead of `1920px` -- at a 16px root font size that's ~30720px, effectively unconstrained), so this is a literal 1920px instead of aliasing to it."
|
|
5712
|
+
},
|
|
5713
|
+
{
|
|
5714
|
+
"name": "--bs-navigation-header-padding-bottom",
|
|
5715
|
+
"description": "Aliased to --bs-spacing-100."
|
|
5716
|
+
},
|
|
5717
|
+
{
|
|
5718
|
+
"name": "--bs-navigation-header-padding-top",
|
|
5719
|
+
"description": "Aliased to --bs-spacing-200."
|
|
5720
|
+
},
|
|
5721
|
+
{
|
|
5722
|
+
"name": "--bs-navigation-header-padding-x",
|
|
5723
|
+
"description": "Aliased to --bs-margin-fluid."
|
|
5724
|
+
},
|
|
5725
|
+
{
|
|
5726
|
+
"name": "--bs-navigation-header-skip-link-bg",
|
|
5727
|
+
"description": "Skip-to-content link background, once focused into view. Aliased to --bs-surface-action."
|
|
5728
|
+
},
|
|
5729
|
+
{
|
|
5730
|
+
"name": "--bs-navigation-header-skip-link-color",
|
|
5731
|
+
"description": "Skip-to-content link text color, once focused into view. Aliased to --bs-text-inverse."
|
|
5732
|
+
},
|
|
5733
|
+
{
|
|
5734
|
+
"name": "--bs-navigation-header-slot-gap",
|
|
5735
|
+
"description": "Gap between items within a single `left`/`right` slot. Aliased to --bs-spacing-100."
|
|
5736
|
+
}
|
|
5737
|
+
]
|
|
5738
|
+
}
|
|
5739
|
+
],
|
|
5740
|
+
"exports": [
|
|
5741
|
+
{
|
|
5742
|
+
"kind": "js",
|
|
5743
|
+
"name": "BsNavigationHeader",
|
|
5744
|
+
"declaration": {
|
|
5745
|
+
"name": "BsNavigationHeader"
|
|
5746
|
+
}
|
|
5747
|
+
},
|
|
5748
|
+
{
|
|
5749
|
+
"kind": "custom-element-definition",
|
|
5750
|
+
"name": "bs-navigation-header",
|
|
5751
|
+
"declaration": {
|
|
5752
|
+
"name": "BsNavigationHeader"
|
|
5753
|
+
}
|
|
5754
|
+
}
|
|
5755
|
+
]
|
|
5756
|
+
},
|
|
5757
|
+
{
|
|
5758
|
+
"kind": "javascript-module",
|
|
5759
|
+
"path": "src/components/bs-pagination/bs-pagination.tsx",
|
|
5760
|
+
"declarations": [
|
|
5761
|
+
{
|
|
5762
|
+
"kind": "class",
|
|
5763
|
+
"customElement": true,
|
|
5764
|
+
"tagName": "bs-pagination",
|
|
5765
|
+
"name": "BsPagination",
|
|
5766
|
+
"description": "A numbered page control -- previous/next chevrons, page-number buttons, and `...` overflow for\nlarge page counts. Matches the Figma \"Pagination\" component's \"Default\" type (the classic\nnumbered pagination); its other type (\"jumper\" -- a rows-per-page dropdown plus a page-jump\ninput) is a structurally different composite widget and isn't covered by this component.\n\n`totalPages`/`currentPage` drive everything -- this computes which page numbers to show and\nwhere to collapse into `...` itself, the consumer never builds the button list by hand.\n\n## When to use\n- Paging through a large, ordered result set (a table, a search results list) where jumping\n directly to a specific page number is useful.\n\n## When not to use\n- Infinite-scroll or \"load more\" patterns -- those don't have a fixed, addressable page number.\n- A huge page count where users realistically only ever go forward/back one page at a time --\n plain prev/next controls (no numbers) are simpler there.",
|
|
5767
|
+
"attributes": [
|
|
5768
|
+
{
|
|
5769
|
+
"name": "current-page",
|
|
5770
|
+
"description": "The active page (1-indexed). Mutable + reflected so clicking a page button updates it\ndirectly, the same way `bs-modal`'s `open` self-manages, while `bsPageChange` still fires for\nthe consumer to react to (e.g. fetching that page's data).",
|
|
5771
|
+
"type": {
|
|
5772
|
+
"text": "number"
|
|
5773
|
+
},
|
|
5774
|
+
"default": "1",
|
|
5775
|
+
"fieldName": "currentPage"
|
|
5776
|
+
},
|
|
5777
|
+
{
|
|
5778
|
+
"name": "next-label",
|
|
5779
|
+
"description": "Accessible name for the next-page button.",
|
|
5780
|
+
"type": {
|
|
5781
|
+
"text": "string"
|
|
5782
|
+
},
|
|
5783
|
+
"default": "'Next page'",
|
|
5784
|
+
"fieldName": "nextLabel"
|
|
5785
|
+
},
|
|
5786
|
+
{
|
|
5787
|
+
"name": "previous-label",
|
|
5788
|
+
"description": "Accessible name for the previous-page button.",
|
|
5789
|
+
"type": {
|
|
5790
|
+
"text": "string"
|
|
5791
|
+
},
|
|
5792
|
+
"default": "'Previous page'",
|
|
5793
|
+
"fieldName": "previousLabel"
|
|
5794
|
+
},
|
|
5795
|
+
{
|
|
5796
|
+
"name": "sibling-count",
|
|
5797
|
+
"description": "How many page numbers to show on each side of the current page before collapsing the rest\ninto `...`. `1` (the default) reproduces the Figma spec's example exactly (page 1 of 12 shows\n`1 2 3 ... 12`).",
|
|
5798
|
+
"type": {
|
|
5799
|
+
"text": "number"
|
|
5800
|
+
},
|
|
5801
|
+
"default": "1",
|
|
5802
|
+
"fieldName": "siblingCount"
|
|
5803
|
+
},
|
|
5804
|
+
{
|
|
5805
|
+
"name": "total-pages",
|
|
5806
|
+
"description": "Total number of pages. Must be a positive integer -- there's always at least one page.",
|
|
5807
|
+
"type": {
|
|
5808
|
+
"text": "number"
|
|
5809
|
+
},
|
|
5810
|
+
"default": "1",
|
|
5811
|
+
"fieldName": "totalPages"
|
|
5812
|
+
}
|
|
5813
|
+
],
|
|
5814
|
+
"members": [
|
|
5815
|
+
{
|
|
5816
|
+
"kind": "field",
|
|
5817
|
+
"name": "currentPage",
|
|
5818
|
+
"description": "The active page (1-indexed). Mutable + reflected so clicking a page button updates it\ndirectly, the same way `bs-modal`'s `open` self-manages, while `bsPageChange` still fires for\nthe consumer to react to (e.g. fetching that page's data).",
|
|
5819
|
+
"type": {
|
|
5820
|
+
"text": "number"
|
|
5821
|
+
},
|
|
5822
|
+
"default": "1",
|
|
5823
|
+
"attribute": "current-page",
|
|
5824
|
+
"reflects": true
|
|
5825
|
+
},
|
|
5826
|
+
{
|
|
5827
|
+
"kind": "field",
|
|
5828
|
+
"name": "nextLabel",
|
|
5829
|
+
"description": "Accessible name for the next-page button.",
|
|
5830
|
+
"type": {
|
|
5831
|
+
"text": "string"
|
|
5832
|
+
},
|
|
5833
|
+
"default": "'Next page'",
|
|
5834
|
+
"readonly": true,
|
|
5835
|
+
"attribute": "next-label"
|
|
5836
|
+
},
|
|
5837
|
+
{
|
|
5838
|
+
"kind": "field",
|
|
5839
|
+
"name": "previousLabel",
|
|
5840
|
+
"description": "Accessible name for the previous-page button.",
|
|
5841
|
+
"type": {
|
|
5842
|
+
"text": "string"
|
|
5843
|
+
},
|
|
5844
|
+
"default": "'Previous page'",
|
|
5845
|
+
"readonly": true,
|
|
5846
|
+
"attribute": "previous-label"
|
|
5847
|
+
},
|
|
5848
|
+
{
|
|
5849
|
+
"kind": "field",
|
|
5850
|
+
"name": "siblingCount",
|
|
5851
|
+
"description": "How many page numbers to show on each side of the current page before collapsing the rest\ninto `...`. `1` (the default) reproduces the Figma spec's example exactly (page 1 of 12 shows\n`1 2 3 ... 12`).",
|
|
5852
|
+
"type": {
|
|
5853
|
+
"text": "number"
|
|
5854
|
+
},
|
|
5855
|
+
"default": "1",
|
|
5856
|
+
"readonly": true,
|
|
5857
|
+
"attribute": "sibling-count"
|
|
5858
|
+
},
|
|
5859
|
+
{
|
|
5860
|
+
"kind": "field",
|
|
5861
|
+
"name": "totalPages",
|
|
5862
|
+
"description": "Total number of pages. Must be a positive integer -- there's always at least one page.",
|
|
5863
|
+
"type": {
|
|
5864
|
+
"text": "number"
|
|
5865
|
+
},
|
|
5866
|
+
"default": "1",
|
|
5867
|
+
"readonly": true,
|
|
5868
|
+
"attribute": "total-pages"
|
|
5869
|
+
}
|
|
5870
|
+
],
|
|
5871
|
+
"events": [
|
|
5872
|
+
{
|
|
5873
|
+
"name": "bsPageChange",
|
|
5874
|
+
"description": "Fires whenever the active page changes as a result of the user clicking a page/prev/next\nbutton -- not when `currentPage` is set programmatically from outside.",
|
|
5875
|
+
"type": {
|
|
5876
|
+
"text": "CustomEvent<number>"
|
|
5877
|
+
}
|
|
5878
|
+
}
|
|
5879
|
+
],
|
|
5880
|
+
"cssParts": [
|
|
5881
|
+
{
|
|
5882
|
+
"name": "current",
|
|
5883
|
+
"description": "The current page's button (in addition to `page`)."
|
|
4781
5884
|
},
|
|
4782
5885
|
{
|
|
4783
|
-
"name": "
|
|
4784
|
-
"description": "
|
|
5886
|
+
"name": "ellipsis",
|
|
5887
|
+
"description": "Each collapsed-range indicator."
|
|
4785
5888
|
},
|
|
4786
5889
|
{
|
|
4787
|
-
"name": "
|
|
4788
|
-
"description": "
|
|
5890
|
+
"name": "item",
|
|
5891
|
+
"description": "Each `<li>` in the list."
|
|
4789
5892
|
},
|
|
4790
5893
|
{
|
|
4791
|
-
"name": "
|
|
4792
|
-
"description": "The
|
|
5894
|
+
"name": "list",
|
|
5895
|
+
"description": "The `<ul>` element."
|
|
5896
|
+
},
|
|
5897
|
+
{
|
|
5898
|
+
"name": "next",
|
|
5899
|
+
"description": "The next-page button."
|
|
5900
|
+
},
|
|
5901
|
+
{
|
|
5902
|
+
"name": "page",
|
|
5903
|
+
"description": "Each page-number button."
|
|
5904
|
+
},
|
|
5905
|
+
{
|
|
5906
|
+
"name": "prev",
|
|
5907
|
+
"description": "The previous-page button."
|
|
4793
5908
|
}
|
|
4794
5909
|
],
|
|
4795
5910
|
"cssProperties": [
|
|
4796
5911
|
{
|
|
4797
|
-
"name": "--bs-
|
|
4798
|
-
"description": "
|
|
5912
|
+
"name": "--bs-pagination-color",
|
|
5913
|
+
"description": "Icon/page-number color, unselected. Aliased to --bs-text-secondary."
|
|
4799
5914
|
},
|
|
4800
5915
|
{
|
|
4801
|
-
"name": "--bs-
|
|
4802
|
-
"description": "
|
|
5916
|
+
"name": "--bs-pagination-color-disabled",
|
|
5917
|
+
"description": "Prev/next icon color when at the first/last page. Aliased to --bs-icon-disabled."
|
|
4803
5918
|
},
|
|
4804
5919
|
{
|
|
4805
|
-
"name": "--bs-
|
|
4806
|
-
"description": "
|
|
5920
|
+
"name": "--bs-pagination-current-bg",
|
|
5921
|
+
"description": "Background of the current page's button. Aliased to --bs-color-primary-default."
|
|
4807
5922
|
},
|
|
4808
5923
|
{
|
|
4809
|
-
"name": "--bs-
|
|
4810
|
-
"description": "
|
|
5924
|
+
"name": "--bs-pagination-current-bg-hover",
|
|
5925
|
+
"description": "Background of the current page's button on hover. Aliased to --bs-color-primary-hover."
|
|
4811
5926
|
},
|
|
4812
5927
|
{
|
|
4813
|
-
"name": "--bs-
|
|
4814
|
-
"description": "Aliased to --bs-
|
|
5928
|
+
"name": "--bs-pagination-current-bg-pressed",
|
|
5929
|
+
"description": "Background of the current page's button when pressed. Aliased to --bs-color-primary-pressed."
|
|
4815
5930
|
},
|
|
4816
5931
|
{
|
|
4817
|
-
"name": "--bs-
|
|
4818
|
-
"description": "Aliased to --bs-
|
|
5932
|
+
"name": "--bs-pagination-current-color",
|
|
5933
|
+
"description": "Text color of the current page's button. Aliased to --bs-text-on-action."
|
|
4819
5934
|
},
|
|
4820
5935
|
{
|
|
4821
|
-
"name": "--bs-
|
|
4822
|
-
"description": "Aliased to --bs-
|
|
5936
|
+
"name": "--bs-pagination-focus-ring-color",
|
|
5937
|
+
"description": "Focus ring color. Aliased to --bs-border-neutral-focus."
|
|
4823
5938
|
},
|
|
4824
5939
|
{
|
|
4825
|
-
"name": "--bs-
|
|
4826
|
-
"description": "
|
|
5940
|
+
"name": "--bs-pagination-font-size",
|
|
5941
|
+
"description": "Aliased to --bs-font-size-md."
|
|
4827
5942
|
},
|
|
4828
5943
|
{
|
|
4829
|
-
"name": "--bs-
|
|
4830
|
-
"description": "
|
|
5944
|
+
"name": "--bs-pagination-gap",
|
|
5945
|
+
"description": "Gap between items. Aliased to --bs-spacing-50."
|
|
4831
5946
|
},
|
|
4832
5947
|
{
|
|
4833
|
-
"name": "--bs-
|
|
4834
|
-
"description": "
|
|
5948
|
+
"name": "--bs-pagination-hover",
|
|
5949
|
+
"description": "Background of an unselected page button on hover. Aliased to --bs-color-neutral-container-hover."
|
|
5950
|
+
},
|
|
5951
|
+
{
|
|
5952
|
+
"name": "--bs-pagination-line-height",
|
|
5953
|
+
"description": "Aliased to --bs-line-height-body-md."
|
|
5954
|
+
},
|
|
5955
|
+
{
|
|
5956
|
+
"name": "--bs-pagination-pressed",
|
|
5957
|
+
"description": "Background of an unselected page button when pressed. Aliased to --bs-color-neutral-container-pressed."
|
|
5958
|
+
},
|
|
5959
|
+
{
|
|
5960
|
+
"name": "--bs-pagination-radius",
|
|
5961
|
+
"description": "Corner radius of each control. Aliased to --bs-border-radius-100."
|
|
5962
|
+
},
|
|
5963
|
+
{
|
|
5964
|
+
"name": "--bs-pagination-size",
|
|
5965
|
+
"description": "Width/height of each control (prev/next/page/ellipsis). Aliased to --bs-spacing-550 (44px, exact match to Figma)."
|
|
4835
5966
|
}
|
|
4836
5967
|
]
|
|
4837
5968
|
}
|
|
@@ -4839,16 +5970,16 @@
|
|
|
4839
5970
|
"exports": [
|
|
4840
5971
|
{
|
|
4841
5972
|
"kind": "js",
|
|
4842
|
-
"name": "
|
|
5973
|
+
"name": "BsPagination",
|
|
4843
5974
|
"declaration": {
|
|
4844
|
-
"name": "
|
|
5975
|
+
"name": "BsPagination"
|
|
4845
5976
|
}
|
|
4846
5977
|
},
|
|
4847
5978
|
{
|
|
4848
5979
|
"kind": "custom-element-definition",
|
|
4849
|
-
"name": "bs-
|
|
5980
|
+
"name": "bs-pagination",
|
|
4850
5981
|
"declaration": {
|
|
4851
|
-
"name": "
|
|
5982
|
+
"name": "BsPagination"
|
|
4852
5983
|
}
|
|
4853
5984
|
}
|
|
4854
5985
|
]
|
|
@@ -5449,6 +6580,321 @@
|
|
|
5449
6580
|
}
|
|
5450
6581
|
]
|
|
5451
6582
|
},
|
|
6583
|
+
{
|
|
6584
|
+
"kind": "javascript-module",
|
|
6585
|
+
"path": "src/components/bs-snackbar/bs-snackbar.tsx",
|
|
6586
|
+
"declarations": [
|
|
6587
|
+
{
|
|
6588
|
+
"kind": "class",
|
|
6589
|
+
"customElement": true,
|
|
6590
|
+
"tagName": "bs-snackbar",
|
|
6591
|
+
"name": "BsSnackbar",
|
|
6592
|
+
"description": "A transient status bar for confirming the result of an action (e.g. \"Files uploaded\nsuccessfully.\") -- an icon (or loading spinner), a message, an optional action, and a close\nbutton.\n\nThis component only renders the bar itself -- it doesn't manage its own visibility, timing, or\nstacking. A consumer (typically a small \"toast manager\" utility) creates one per message and\nremoves it from the DOM again, whether on a timer or on `bsDismiss`. Figma's spec doesn't show\nauto-dismiss timing at all (it's a static visual spec), so this deliberately doesn't invent one.\n\nThe icon is always the same checkmark glyph across every `variant`, just recolored -- matching\nthe Figma spec exactly, even though a checkmark for `variant=\"error\"` reads a little oddly\nsemantically. Worth revisiting with severity-specific icons (warning triangle, error circle,\netc.) if the design updates to specify them.\n\n## When to use\n- Confirming the outcome of an action that just happened (save succeeded, upload failed) without\n interrupting the user's flow.\n\n## When not to use\n- For a response that requires the user to make a decision before continuing -- use `bs-dialog`.\n- For persistent, always-visible status -- a snackbar is inherently transient.",
|
|
6593
|
+
"attributes": [
|
|
6594
|
+
{
|
|
6595
|
+
"name": "action-label",
|
|
6596
|
+
"description": "Label for the optional action button (e.g. \"Undo\", \"Retry\"). Omit this prop entirely to\nrender no action button at all -- its presence, not a boolean flag, is what shows it.",
|
|
6597
|
+
"type": {
|
|
6598
|
+
"text": "string"
|
|
6599
|
+
},
|
|
6600
|
+
"fieldName": "actionLabel"
|
|
6601
|
+
},
|
|
6602
|
+
{
|
|
6603
|
+
"name": "loading",
|
|
6604
|
+
"description": "Replaces the checkmark icon with a spinning loading indicator, for a message describing\nin-progress work (e.g. \"Uploading files...\") rather than a completed result.",
|
|
6605
|
+
"type": {
|
|
6606
|
+
"text": "boolean"
|
|
6607
|
+
},
|
|
6608
|
+
"default": "false",
|
|
6609
|
+
"fieldName": "loading"
|
|
6610
|
+
},
|
|
6611
|
+
{
|
|
6612
|
+
"name": "variant",
|
|
6613
|
+
"description": "Color/semantic variant. `default` is the neutral (dark, inverse-surface) bar Figma shows as\nthe baseline; `info`/`warning`/`success`/`error` use their matching container/text tokens.",
|
|
6614
|
+
"type": {
|
|
6615
|
+
"text": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
|
|
6616
|
+
"references": [
|
|
6617
|
+
{
|
|
6618
|
+
"name": "BsSnackbarVariant"
|
|
6619
|
+
}
|
|
6620
|
+
]
|
|
6621
|
+
},
|
|
6622
|
+
"default": "'default'",
|
|
6623
|
+
"fieldName": "variant"
|
|
6624
|
+
}
|
|
6625
|
+
],
|
|
6626
|
+
"members": [
|
|
6627
|
+
{
|
|
6628
|
+
"kind": "field",
|
|
6629
|
+
"name": "actionLabel",
|
|
6630
|
+
"description": "Label for the optional action button (e.g. \"Undo\", \"Retry\"). Omit this prop entirely to\nrender no action button at all -- its presence, not a boolean flag, is what shows it.",
|
|
6631
|
+
"type": {
|
|
6632
|
+
"text": "string"
|
|
6633
|
+
},
|
|
6634
|
+
"readonly": true,
|
|
6635
|
+
"attribute": "action-label"
|
|
6636
|
+
},
|
|
6637
|
+
{
|
|
6638
|
+
"kind": "field",
|
|
6639
|
+
"name": "loading",
|
|
6640
|
+
"description": "Replaces the checkmark icon with a spinning loading indicator, for a message describing\nin-progress work (e.g. \"Uploading files...\") rather than a completed result.",
|
|
6641
|
+
"type": {
|
|
6642
|
+
"text": "boolean"
|
|
6643
|
+
},
|
|
6644
|
+
"default": "false",
|
|
6645
|
+
"readonly": true,
|
|
6646
|
+
"attribute": "loading"
|
|
6647
|
+
},
|
|
6648
|
+
{
|
|
6649
|
+
"kind": "field",
|
|
6650
|
+
"name": "variant",
|
|
6651
|
+
"description": "Color/semantic variant. `default` is the neutral (dark, inverse-surface) bar Figma shows as\nthe baseline; `info`/`warning`/`success`/`error` use their matching container/text tokens.",
|
|
6652
|
+
"type": {
|
|
6653
|
+
"text": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
|
|
6654
|
+
"references": [
|
|
6655
|
+
{
|
|
6656
|
+
"name": "BsSnackbarVariant"
|
|
6657
|
+
}
|
|
6658
|
+
]
|
|
6659
|
+
},
|
|
6660
|
+
"default": "'default'",
|
|
6661
|
+
"readonly": true,
|
|
6662
|
+
"attribute": "variant"
|
|
6663
|
+
}
|
|
6664
|
+
],
|
|
6665
|
+
"events": [
|
|
6666
|
+
{
|
|
6667
|
+
"name": "bsAction",
|
|
6668
|
+
"description": "Fires when the action button is clicked. Ignored/never fires if `actionLabel` isn't set.",
|
|
6669
|
+
"type": {
|
|
6670
|
+
"text": "CustomEvent<void>"
|
|
6671
|
+
}
|
|
6672
|
+
},
|
|
6673
|
+
{
|
|
6674
|
+
"name": "bsDismiss",
|
|
6675
|
+
"description": "Fires when the close button is clicked. This component doesn't remove itself from the DOM --\nthe consumer is expected to do that (or hide it) in response to this event.",
|
|
6676
|
+
"type": {
|
|
6677
|
+
"text": "CustomEvent<void>"
|
|
6678
|
+
}
|
|
6679
|
+
}
|
|
6680
|
+
],
|
|
6681
|
+
"slots": [
|
|
6682
|
+
{
|
|
6683
|
+
"name": "",
|
|
6684
|
+
"description": "Default slot: the message text."
|
|
6685
|
+
}
|
|
6686
|
+
],
|
|
6687
|
+
"cssParts": [
|
|
6688
|
+
{
|
|
6689
|
+
"name": "action",
|
|
6690
|
+
"description": "The optional action button (only rendered when `actionLabel` is set)."
|
|
6691
|
+
},
|
|
6692
|
+
{
|
|
6693
|
+
"name": "close",
|
|
6694
|
+
"description": "The close button."
|
|
6695
|
+
},
|
|
6696
|
+
{
|
|
6697
|
+
"name": "container",
|
|
6698
|
+
"description": "The outer bar."
|
|
6699
|
+
},
|
|
6700
|
+
{
|
|
6701
|
+
"name": "icon",
|
|
6702
|
+
"description": "The leading icon/spinner wrapper."
|
|
6703
|
+
},
|
|
6704
|
+
{
|
|
6705
|
+
"name": "message",
|
|
6706
|
+
"description": "The message text wrapper."
|
|
6707
|
+
}
|
|
6708
|
+
],
|
|
6709
|
+
"cssProperties": [
|
|
6710
|
+
{
|
|
6711
|
+
"name": "--bs-snackbar-action-bg-error",
|
|
6712
|
+
"description": "Action button background, variant=\"error\". Aliased to --bs-snackbar-bg-error (brandsync-tokens)."
|
|
6713
|
+
},
|
|
6714
|
+
{
|
|
6715
|
+
"name": "--bs-snackbar-action-bg-error-hover",
|
|
6716
|
+
"description": "Action button background, variant=\"error\", hover. Aliased to --bs-color-error-hover."
|
|
6717
|
+
},
|
|
6718
|
+
{
|
|
6719
|
+
"name": "--bs-snackbar-action-bg-error-pressed",
|
|
6720
|
+
"description": "Action button background, variant=\"error\", pressed. Aliased to --bs-color-error-pressed."
|
|
6721
|
+
},
|
|
6722
|
+
{
|
|
6723
|
+
"name": "--bs-snackbar-action-bg-info",
|
|
6724
|
+
"description": "Action button background, variant=\"info\". Aliased to --bs-snackbar-bg-info (brandsync-tokens)."
|
|
6725
|
+
},
|
|
6726
|
+
{
|
|
6727
|
+
"name": "--bs-snackbar-action-bg-info-hover",
|
|
6728
|
+
"description": "Action button background, variant=\"info\", hover. Aliased to --bs-color-info-hover."
|
|
6729
|
+
},
|
|
6730
|
+
{
|
|
6731
|
+
"name": "--bs-snackbar-action-bg-info-pressed",
|
|
6732
|
+
"description": "Action button background, variant=\"info\", pressed. Aliased to --bs-color-info-pressed."
|
|
6733
|
+
},
|
|
6734
|
+
{
|
|
6735
|
+
"name": "--bs-snackbar-action-bg-success",
|
|
6736
|
+
"description": "Action button background, variant=\"success\". Aliased to --bs-snackbar-bg-success (brandsync-tokens)."
|
|
6737
|
+
},
|
|
6738
|
+
{
|
|
6739
|
+
"name": "--bs-snackbar-action-bg-success-hover",
|
|
6740
|
+
"description": "Action button background, variant=\"success\", hover. Aliased to --bs-color-success-hover."
|
|
6741
|
+
},
|
|
6742
|
+
{
|
|
6743
|
+
"name": "--bs-snackbar-action-bg-success-pressed",
|
|
6744
|
+
"description": "Action button background, variant=\"success\", pressed. Aliased to --bs-color-success-pressed."
|
|
6745
|
+
},
|
|
6746
|
+
{
|
|
6747
|
+
"name": "--bs-snackbar-action-bg-warning",
|
|
6748
|
+
"description": "Action button background, variant=\"warning\". Aliased to --bs-snackbar-bg-warning (brandsync-tokens)."
|
|
6749
|
+
},
|
|
6750
|
+
{
|
|
6751
|
+
"name": "--bs-snackbar-action-bg-warning-hover",
|
|
6752
|
+
"description": "Action button background, variant=\"warning\", hover. Aliased to --bs-color-warning-hover."
|
|
6753
|
+
},
|
|
6754
|
+
{
|
|
6755
|
+
"name": "--bs-snackbar-action-bg-warning-pressed",
|
|
6756
|
+
"description": "Action button background, variant=\"warning\", pressed. Aliased to --bs-color-warning-pressed."
|
|
6757
|
+
},
|
|
6758
|
+
{
|
|
6759
|
+
"name": "--bs-snackbar-action-border-default",
|
|
6760
|
+
"description": "Action button border, variant=\"default\" (outlined, not filled). Aliased to --bs-blue-300."
|
|
6761
|
+
},
|
|
6762
|
+
{
|
|
6763
|
+
"name": "--bs-snackbar-action-font-size",
|
|
6764
|
+
"description": "Action button font size. Aliased to --bs-font-size-sm."
|
|
6765
|
+
},
|
|
6766
|
+
{
|
|
6767
|
+
"name": "--bs-snackbar-action-font-weight",
|
|
6768
|
+
"description": "Action button font weight. Aliased to --bs-font-weight-medium."
|
|
6769
|
+
},
|
|
6770
|
+
{
|
|
6771
|
+
"name": "--bs-snackbar-action-line-height",
|
|
6772
|
+
"description": "Action button line height. Aliased to --bs-line-height-body-sm."
|
|
6773
|
+
},
|
|
6774
|
+
{
|
|
6775
|
+
"name": "--bs-snackbar-action-radius",
|
|
6776
|
+
"description": "Corner radius of the action button. Aliased to --bs-border-radius-100."
|
|
6777
|
+
},
|
|
6778
|
+
{
|
|
6779
|
+
"name": "--bs-snackbar-action-text-default",
|
|
6780
|
+
"description": "Action button text, variant=\"default\". Aliased to --bs-snackbar-action-text (brandsync-tokens)."
|
|
6781
|
+
},
|
|
6782
|
+
{
|
|
6783
|
+
"name": "--bs-snackbar-action-text-on-action",
|
|
6784
|
+
"description": "Action button text, every colored (filled) variant. Aliased to --bs-text-on-action."
|
|
6785
|
+
},
|
|
6786
|
+
{
|
|
6787
|
+
"name": "--bs-snackbar-actions-gap",
|
|
6788
|
+
"description": "Gap between the action button and the close button. Aliased to --bs-spacing-50."
|
|
6789
|
+
},
|
|
6790
|
+
{
|
|
6791
|
+
"name": "--bs-snackbar-actions-padding-x",
|
|
6792
|
+
"description": "Right padding of the actions area (the bar's own right edge). Aliased to --bs-spacing-100."
|
|
6793
|
+
},
|
|
6794
|
+
{
|
|
6795
|
+
"name": "--bs-snackbar-actions-padding-y",
|
|
6796
|
+
"description": "Top/bottom padding of the actions area. Aliased to --bs-spacing-50."
|
|
6797
|
+
},
|
|
6798
|
+
{
|
|
6799
|
+
"name": "--bs-snackbar-close-radius",
|
|
6800
|
+
"description": "Corner radius of the close button. Aliased to --bs-border-radius-100."
|
|
6801
|
+
},
|
|
6802
|
+
{
|
|
6803
|
+
"name": "--bs-snackbar-color-default",
|
|
6804
|
+
"description": "Icon/message/close color, variant=\"default\". Aliased to --bs-snackbar-text-default (brandsync-tokens) -- named \"-color-\", not \"-text-\", solely to avoid colliding with that vendored token's own name."
|
|
6805
|
+
},
|
|
6806
|
+
{
|
|
6807
|
+
"name": "--bs-snackbar-content-gap",
|
|
6808
|
+
"description": "Gap between the icon and the message. Aliased to --bs-spacing-150."
|
|
6809
|
+
},
|
|
6810
|
+
{
|
|
6811
|
+
"name": "--bs-snackbar-content-padding-x",
|
|
6812
|
+
"description": "Left padding of the content area (the bar's own left edge). Aliased to --bs-spacing-200."
|
|
6813
|
+
},
|
|
6814
|
+
{
|
|
6815
|
+
"name": "--bs-snackbar-content-padding-y",
|
|
6816
|
+
"description": "Top/bottom padding of the content area. Aliased to --bs-spacing-200."
|
|
6817
|
+
},
|
|
6818
|
+
{
|
|
6819
|
+
"name": "--bs-snackbar-font-size",
|
|
6820
|
+
"description": "Message font size. Aliased to --bs-font-size-md."
|
|
6821
|
+
},
|
|
6822
|
+
{
|
|
6823
|
+
"name": "--bs-snackbar-gap",
|
|
6824
|
+
"description": "Gap between the content area and the actions area. Aliased to --bs-spacing-100."
|
|
6825
|
+
},
|
|
6826
|
+
{
|
|
6827
|
+
"name": "--bs-snackbar-line-height",
|
|
6828
|
+
"description": "Message line height. Aliased to --bs-line-height-body-md."
|
|
6829
|
+
},
|
|
6830
|
+
{
|
|
6831
|
+
"name": "--bs-snackbar-radius",
|
|
6832
|
+
"description": "Corner radius of the bar. Aliased to --bs-border-radius-100."
|
|
6833
|
+
},
|
|
6834
|
+
{
|
|
6835
|
+
"name": "--bs-snackbar-shadow",
|
|
6836
|
+
"description": "Elevation shadow, since a snackbar floats above page content. Aliased to --bs-shadow-md."
|
|
6837
|
+
},
|
|
6838
|
+
{
|
|
6839
|
+
"name": "--bs-snackbar-spinner-track",
|
|
6840
|
+
"description": "Loading spinner's background ring. Aliased to --bs-neutral-200."
|
|
6841
|
+
},
|
|
6842
|
+
{
|
|
6843
|
+
"name": "--bs-snackbar-surface-default",
|
|
6844
|
+
"description": "Bar background, variant=\"default\". Aliased to --bs-snackbar-bg-default (brandsync-tokens)."
|
|
6845
|
+
},
|
|
6846
|
+
{
|
|
6847
|
+
"name": "--bs-snackbar-surface-error",
|
|
6848
|
+
"description": "Bar background, variant=\"error\". Aliased to --bs-color-error-container."
|
|
6849
|
+
},
|
|
6850
|
+
{
|
|
6851
|
+
"name": "--bs-snackbar-surface-info",
|
|
6852
|
+
"description": "Bar background, variant=\"info\". Aliased to --bs-color-info-container."
|
|
6853
|
+
},
|
|
6854
|
+
{
|
|
6855
|
+
"name": "--bs-snackbar-surface-success",
|
|
6856
|
+
"description": "Bar background, variant=\"success\". Aliased to --bs-color-success-container."
|
|
6857
|
+
},
|
|
6858
|
+
{
|
|
6859
|
+
"name": "--bs-snackbar-surface-warning",
|
|
6860
|
+
"description": "Bar background, variant=\"warning\". Aliased to --bs-color-warning-container."
|
|
6861
|
+
},
|
|
6862
|
+
{
|
|
6863
|
+
"name": "--bs-snackbar-text-error",
|
|
6864
|
+
"description": "Icon/message/close color, variant=\"error\". Aliased to --bs-text-error."
|
|
6865
|
+
},
|
|
6866
|
+
{
|
|
6867
|
+
"name": "--bs-snackbar-text-info",
|
|
6868
|
+
"description": "Icon/message/close color, variant=\"info\". Aliased to --bs-text-info."
|
|
6869
|
+
},
|
|
6870
|
+
{
|
|
6871
|
+
"name": "--bs-snackbar-text-success",
|
|
6872
|
+
"description": "Icon/message/close color, variant=\"success\". Aliased to --bs-text-success."
|
|
6873
|
+
},
|
|
6874
|
+
{
|
|
6875
|
+
"name": "--bs-snackbar-text-warning",
|
|
6876
|
+
"description": "Icon/message/close color, variant=\"warning\". Aliased to --bs-text-warning."
|
|
6877
|
+
}
|
|
6878
|
+
]
|
|
6879
|
+
}
|
|
6880
|
+
],
|
|
6881
|
+
"exports": [
|
|
6882
|
+
{
|
|
6883
|
+
"kind": "js",
|
|
6884
|
+
"name": "BsSnackbar",
|
|
6885
|
+
"declaration": {
|
|
6886
|
+
"name": "BsSnackbar"
|
|
6887
|
+
}
|
|
6888
|
+
},
|
|
6889
|
+
{
|
|
6890
|
+
"kind": "custom-element-definition",
|
|
6891
|
+
"name": "bs-snackbar",
|
|
6892
|
+
"declaration": {
|
|
6893
|
+
"name": "BsSnackbar"
|
|
6894
|
+
}
|
|
6895
|
+
}
|
|
6896
|
+
]
|
|
6897
|
+
},
|
|
5452
6898
|
{
|
|
5453
6899
|
"kind": "javascript-module",
|
|
5454
6900
|
"path": "src/components/bs-source-link/bs-source-link.tsx",
|