@brandsync/wc 1.1.0 → 1.3.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 +586 -0
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/p-03676f8a.entry.js +1 -0
- package/dist/brandsync-wc/{p-0a2d690f.entry.js → p-04c26826.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a7704457.entry.js → p-0c8050e8.entry.js} +1 -1
- package/dist/brandsync-wc/p-0d5cc77f.entry.js +1 -0
- package/dist/brandsync-wc/{p-3e61d206.entry.js → p-19c98e13.entry.js} +1 -1
- package/dist/brandsync-wc/{p-31b28025.entry.js → p-23758f81.entry.js} +1 -1
- package/dist/brandsync-wc/{p-5321186f.entry.js → p-29c360f3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-696f885c.entry.js → p-35d98580.entry.js} +1 -1
- package/dist/brandsync-wc/p-39204377.entry.js +1 -0
- package/dist/brandsync-wc/p-5a4db480.entry.js +1 -0
- package/dist/brandsync-wc/{p-0cf117f4.entry.js → p-5d118af1.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c76ca89f.entry.js → p-76d391d7.entry.js} +1 -1
- package/dist/brandsync-wc/{p-aa1cc2b6.entry.js → p-7de20530.entry.js} +1 -1
- package/dist/brandsync-wc/{p-32fe390d.entry.js → p-7ea0133f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-778fcc55.entry.js → p-8acb623e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-63906504.entry.js → p-8ec95da5.entry.js} +1 -1
- package/dist/brandsync-wc/{p-0921ca0d.entry.js → p-94266d72.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6ef0a0ed.entry.js → p-96d1ce21.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c7427962.entry.js → p-9ad278f4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ac12372f.entry.js → p-9f9c1a1d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-579fbe4d.entry.js → p-b2704450.entry.js} +1 -1
- package/dist/brandsync-wc/{p-82953f42.entry.js → p-bcafba87.entry.js} +1 -1
- package/dist/brandsync-wc/p-bd2cc2c6.entry.js +1 -0
- package/dist/brandsync-wc/{p-2e7586dd.entry.js → p-be675b82.entry.js} +1 -1
- package/dist/brandsync-wc/{p-790fadf9.entry.js → p-bf4a5b1b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1abacfe8.entry.js → p-c4a16564.entry.js} +1 -1
- package/dist/brandsync-wc/{p-393efb5d.entry.js → p-cd703364.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c7b9a5c7.entry.js → p-d589fa72.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6fc78ccf.entry.js → p-d5d15d9f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bb2ec290.entry.js → p-e58b1dbb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3e8728dc.entry.js → p-eae7587e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-cff188cb.entry.js → p-f196642a.entry.js} +1 -1
- package/dist/cjs/brandsync-wc.cjs.js +1 -1
- package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
- package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
- package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
- package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
- package/dist/cjs/bs-input.cjs.entry.js +2 -2
- package/dist/cjs/bs-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-menu.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
- package/dist/cjs/bs-progress-linear.cjs.entry.js +65 -0
- package/dist/cjs/bs-progress.cjs.entry.js +69 -0
- package/dist/cjs/bs-radio.cjs.entry.js +1 -1
- package/dist/cjs/bs-slider.cjs.entry.js +1 -1
- package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
- package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
- package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bs-switch.cjs.entry.js +1 -1
- package/dist/cjs/bs-tab.cjs.entry.js +1 -1
- package/dist/cjs/bs-tabs.cjs.entry.js +1 -1
- package/dist/cjs/bs-toast.cjs.entry.js +45 -0
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
- package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
- package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
- package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
- package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-avatar/bs-avatar.js +2 -2
- package/dist/collection/components/bs-badge/bs-badge.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button/bs-button/bs-button.js +2 -2
- package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +2 -2
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
- package/dist/collection/components/bs-card/bs-card.js +1 -1
- package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
- package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
- package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
- package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
- package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
- package/dist/collection/components/bs-checkbox/bs-checkbox.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +1 -1
- package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +2 -2
- package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +1 -1
- package/dist/collection/components/bs-composer/bs-composer.js +2 -2
- 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 +4 -4
- package/dist/collection/components/bs-dialog/bs-dialog.js +1 -1
- package/dist/collection/components/bs-input/bs-input.js +2 -2
- package/dist/collection/components/bs-logo/bs-logo.js +2 -2
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
- package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
- package/dist/collection/components/bs-progress/bs-progress.cmp.test.js +96 -0
- package/dist/collection/components/bs-progress/bs-progress.css +119 -0
- package/dist/collection/components/bs-progress/bs-progress.js +212 -0
- package/dist/collection/components/bs-progress/bs-progress.stories.js +72 -0
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.cmp.test.js +92 -0
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.css +108 -0
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +192 -0
- package/dist/collection/components/bs-progress-linear/bs-progress-linear.stories.js +66 -0
- package/dist/collection/components/bs-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-slider/bs-slider.js +2 -2
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +2 -2
- package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
- package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +3 -3
- package/dist/collection/components/bs-switch/bs-switch.js +2 -2
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +2 -2
- package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +3 -3
- package/dist/collection/components/bs-toast/bs-toast.cmp.test.js +59 -0
- package/dist/collection/components/bs-toast/bs-toast.css +151 -0
- package/dist/collection/components/bs-toast/bs-toast.js +108 -0
- package/dist/collection/components/bs-toast/bs-toast.stories.js +39 -0
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
- package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +1 -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-breadcrumb-overflow.js +1 -1
- package/dist/components/bs-breadcrumbs.js +1 -1
- package/dist/components/bs-button-skeleton.js +1 -1
- package/dist/components/bs-chatbot-feedback.js +1 -1
- package/dist/components/bs-chatbot-header.js +1 -1
- package/dist/components/bs-chatbot-response-action.js +1 -1
- package/dist/components/bs-chatbot-sources-drawer.js +1 -1
- package/dist/components/bs-chatbot-suggestion-button.js +1 -1
- package/dist/components/bs-checkbox-skeleton.js +1 -1
- package/dist/components/bs-inline-tab.js +1 -1
- package/dist/components/bs-input.js +1 -1
- package/dist/components/bs-menu-item.js +1 -1
- package/dist/components/bs-menu.js +1 -1
- package/dist/components/bs-navigation-drawer-item.js +1 -1
- package/dist/components/bs-navigation-drawer.js +1 -1
- package/dist/components/bs-pagination.js +1 -1
- package/dist/components/bs-progress-linear.d.ts +11 -0
- package/dist/components/bs-progress-linear.js +1 -0
- package/dist/components/bs-progress.d.ts +11 -0
- package/dist/components/bs-progress.js +1 -0
- package/dist/components/bs-radio.js +1 -1
- package/dist/components/bs-slider.js +1 -1
- package/dist/components/bs-snackbar.js +1 -1
- package/dist/components/bs-source-link.js +1 -1
- package/dist/components/bs-stepper-step.js +1 -1
- package/dist/components/bs-stepper.js +1 -1
- package/dist/components/bs-switch.js +1 -1
- package/dist/components/bs-tab.js +1 -1
- package/dist/components/bs-tabs.js +1 -1
- package/dist/components/bs-toast.d.ts +11 -0
- package/dist/components/bs-toast.js +1 -0
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/{p-Bb6vh9PN.js → p-BIgPiuc-.js} +1 -1
- package/dist/components/{p-BFVUq5m5.js → p-BUtz3sub.js} +1 -1
- package/dist/components/{p-BPUNjzjH.js → p-Rn1IWs8l.js} +1 -1
- package/dist/esm/brandsync-wc.js +1 -1
- package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
- package/dist/esm/bs-ai-greeting.entry.js +1 -1
- package/dist/esm/bs-ai-thinking.entry.js +1 -1
- package/dist/esm/bs-attachment-list.entry.js +1 -1
- package/dist/esm/bs-breadcrumbs.entry.js +1 -1
- package/dist/esm/bs-button-skeleton.entry.js +1 -1
- package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
- package/dist/esm/bs-chatbot-header.entry.js +1 -1
- package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
- package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
- package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
- package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
- package/dist/esm/bs-inline-tab.entry.js +1 -1
- package/dist/esm/bs-input.entry.js +2 -2
- package/dist/esm/bs-menu-item.entry.js +1 -1
- package/dist/esm/bs-menu.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer.entry.js +1 -1
- package/dist/esm/bs-pagination.entry.js +1 -1
- package/dist/esm/bs-progress-linear.entry.js +63 -0
- package/dist/esm/bs-progress.entry.js +67 -0
- package/dist/esm/bs-radio.entry.js +1 -1
- package/dist/esm/bs-slider.entry.js +1 -1
- package/dist/esm/bs-snackbar.entry.js +1 -1
- package/dist/esm/bs-source-link.entry.js +2 -2
- package/dist/esm/bs-stepper-step.entry.js +1 -1
- package/dist/esm/bs-stepper.entry.js +1 -1
- package/dist/esm/bs-switch.entry.js +1 -1
- package/dist/esm/bs-tab.entry.js +1 -1
- package/dist/esm/bs-tabs.entry.js +1 -1
- package/dist/esm/bs-toast.entry.js +43 -0
- package/dist/esm/bs-tooltip.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/bs-progress/bs-progress.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-progress/bs-progress.d.ts +46 -0
- package/dist/types/components/bs-progress/bs-progress.stories.d.ts +18 -0
- package/dist/types/components/bs-progress-linear/bs-progress-linear.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-progress-linear/bs-progress-linear.d.ts +50 -0
- package/dist/types/components/bs-progress-linear/bs-progress-linear.stories.d.ts +17 -0
- package/dist/types/components/bs-toast/bs-toast.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-toast/bs-toast.d.ts +27 -0
- package/dist/types/components/bs-toast/bs-toast.stories.d.ts +12 -0
- package/dist/types/components.d.ts +320 -0
- package/package.json +1 -1
- package/dist/brandsync-wc/p-cc9f85d6.entry.js +0 -1
- package/dist/brandsync-wc/p-e230ed08.entry.js +0 -1
|
@@ -26,6 +26,8 @@ import { BsDialogSize } from "./components/bs-dialog/bs-dialog";
|
|
|
26
26
|
import { BsIconButtonSize, BsIconButtonVariant } from "./components/bs-button/bs-icon-button/bs-icon-button";
|
|
27
27
|
import { BsLogoBackground, BsLogoVariant } from "./components/bs-logo/bs-logo";
|
|
28
28
|
import { BsNavigationHeaderAlignment } from "./components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header";
|
|
29
|
+
import { BsProgressSize, BsProgressStrokeWidth, BsProgressType } from "./components/bs-progress/bs-progress";
|
|
30
|
+
import { BsProgressLinearSize, BsProgressLinearType } from "./components/bs-progress-linear/bs-progress-linear";
|
|
29
31
|
import { BsSliderType } from "./components/bs-slider/bs-slider";
|
|
30
32
|
import { BsSnackbarVariant } from "./components/bs-snackbar/bs-snackbar";
|
|
31
33
|
import { BsStepperDirection } from "./components/bs-stepper/bs-stepper-step/bs-stepper-step";
|
|
@@ -33,6 +35,7 @@ import { BsStepperDirection as BsStepperDirection1, BsStepperStepComputedState }
|
|
|
33
35
|
import { BsSwitchSize } from "./components/bs-switch/bs-switch";
|
|
34
36
|
import { BsTabIconPosition } from "./components/bs-tab/bs-tab/bs-tab";
|
|
35
37
|
import { BsTabsOrientation, BsTabsType } from "./components/bs-tab/bs-tabs/bs-tabs";
|
|
38
|
+
import { BsToastState } from "./components/bs-toast/bs-toast";
|
|
36
39
|
export { BsAttachmentType } from "./components/bs-attachment/bs-attachment";
|
|
37
40
|
export { BsAvatarSize, BsAvatarType } from "./components/bs-avatar/bs-avatar";
|
|
38
41
|
export { BsBadgeVariant } from "./components/bs-badge/bs-badge";
|
|
@@ -54,6 +57,8 @@ export { BsDialogSize } from "./components/bs-dialog/bs-dialog";
|
|
|
54
57
|
export { BsIconButtonSize, BsIconButtonVariant } from "./components/bs-button/bs-icon-button/bs-icon-button";
|
|
55
58
|
export { BsLogoBackground, BsLogoVariant } from "./components/bs-logo/bs-logo";
|
|
56
59
|
export { BsNavigationHeaderAlignment } from "./components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header";
|
|
60
|
+
export { BsProgressSize, BsProgressStrokeWidth, BsProgressType } from "./components/bs-progress/bs-progress";
|
|
61
|
+
export { BsProgressLinearSize, BsProgressLinearType } from "./components/bs-progress-linear/bs-progress-linear";
|
|
57
62
|
export { BsSliderType } from "./components/bs-slider/bs-slider";
|
|
58
63
|
export { BsSnackbarVariant } from "./components/bs-snackbar/bs-snackbar";
|
|
59
64
|
export { BsStepperDirection } from "./components/bs-stepper/bs-stepper-step/bs-stepper-step";
|
|
@@ -61,6 +66,7 @@ export { BsStepperDirection as BsStepperDirection1, BsStepperStepComputedState }
|
|
|
61
66
|
export { BsSwitchSize } from "./components/bs-switch/bs-switch";
|
|
62
67
|
export { BsTabIconPosition } from "./components/bs-tab/bs-tab/bs-tab";
|
|
63
68
|
export { BsTabsOrientation, BsTabsType } from "./components/bs-tab/bs-tabs/bs-tabs";
|
|
69
|
+
export { BsToastState } from "./components/bs-toast/bs-toast";
|
|
64
70
|
export namespace Components {
|
|
65
71
|
/**
|
|
66
72
|
* A centered caption disclaimer for Genie AI surfaces, e.g. "AI can make mistakes. Please verify
|
|
@@ -1599,6 +1605,82 @@ export namespace Components {
|
|
|
1599
1605
|
*/
|
|
1600
1606
|
"totalPages": number;
|
|
1601
1607
|
}
|
|
1608
|
+
/**
|
|
1609
|
+
* A circular progress indicator -- either a static ring showing a percentage sweep
|
|
1610
|
+
* (`type="determinate"`) or a continuously spinning ring signaling in-progress work with no known
|
|
1611
|
+
* completion percentage (`type="indeterminate"`).
|
|
1612
|
+
* ## When to use
|
|
1613
|
+
* - Showing the progress of a task with a known, quantifiable completion percentage (`determinate`).
|
|
1614
|
+
* - Signaling that work is happening in the background with no meaningful percentage to report
|
|
1615
|
+
* (`indeterminate`), e.g. while waiting on a network response.
|
|
1616
|
+
* ## When not to use
|
|
1617
|
+
* - For a horizontal, bar-shaped progress indicator -- this component is a ring, not a bar.
|
|
1618
|
+
* - For a percentage that's better expressed as plain text, without the reserved space and visual
|
|
1619
|
+
* weight of a ring.
|
|
1620
|
+
*/
|
|
1621
|
+
interface BsProgress {
|
|
1622
|
+
/**
|
|
1623
|
+
* Shows the `${value}%` label below the ring. Only takes effect for `type="determinate"` -- `indeterminate` never shows a label regardless of this prop, since there's no percentage to show. Defaults to `true`.
|
|
1624
|
+
* @default true
|
|
1625
|
+
*/
|
|
1626
|
+
"showLabel": boolean;
|
|
1627
|
+
/**
|
|
1628
|
+
* Overall diameter: `small` (44px), `medium` (48px), or `large` (64px).
|
|
1629
|
+
* @default 'small'
|
|
1630
|
+
*/
|
|
1631
|
+
"size": BsProgressSize;
|
|
1632
|
+
/**
|
|
1633
|
+
* Ring stroke width in px -- `4` or `8`, matching Figma's two stroke-width variants. A number, not the Figma label's literal `"4 px"` string.
|
|
1634
|
+
* @default 4
|
|
1635
|
+
*/
|
|
1636
|
+
"strokeWidth": BsProgressStrokeWidth;
|
|
1637
|
+
/**
|
|
1638
|
+
* `determinate` renders a static arc sweep reflecting `value` (with an optional percentage label); `indeterminate` renders a continuously spinning ring and never shows a label, since there's no known percentage to report.
|
|
1639
|
+
* @default 'determinate'
|
|
1640
|
+
*/
|
|
1641
|
+
"type": BsProgressType;
|
|
1642
|
+
/**
|
|
1643
|
+
* Progress percentage, `0`-`100`. Only meaningful for `type="determinate"` -- ignored (and never rendered) for `type="indeterminate"`. Out-of-range values are clamped defensively.
|
|
1644
|
+
* @default 0
|
|
1645
|
+
*/
|
|
1646
|
+
"value": number;
|
|
1647
|
+
}
|
|
1648
|
+
/**
|
|
1649
|
+
* A linear (horizontal) progress indicator -- either a static bar showing a percentage fill
|
|
1650
|
+
* (`type="determinate"`) or a continuously sliding bar signaling in-progress work with no known
|
|
1651
|
+
* completion percentage (`type="indeterminate"`).
|
|
1652
|
+
* ## When to use
|
|
1653
|
+
* - Showing the progress of a task with a known, quantifiable completion percentage (`determinate`),
|
|
1654
|
+
* e.g. a file upload.
|
|
1655
|
+
* - Signaling that work is happening in the background with no meaningful percentage to report
|
|
1656
|
+
* (`indeterminate`), e.g. while waiting on a network response.
|
|
1657
|
+
* ## When not to use
|
|
1658
|
+
* - For a compact, ring-shaped progress indicator -- use `bs-progress` (circular) instead.
|
|
1659
|
+
* - For a percentage that's better expressed as plain text, without the reserved space and visual
|
|
1660
|
+
* weight of a bar.
|
|
1661
|
+
*/
|
|
1662
|
+
interface BsProgressLinear {
|
|
1663
|
+
/**
|
|
1664
|
+
* Shows the slotted label below the bar. When `false`, or when no content is slotted, the label wrapper isn't rendered at all. Defaults to `true`.
|
|
1665
|
+
* @default true
|
|
1666
|
+
*/
|
|
1667
|
+
"showLabel": boolean;
|
|
1668
|
+
/**
|
|
1669
|
+
* Bar height: `small` (4px) or `large` (8px).
|
|
1670
|
+
* @default 'large'
|
|
1671
|
+
*/
|
|
1672
|
+
"size": BsProgressLinearSize;
|
|
1673
|
+
/**
|
|
1674
|
+
* `determinate` renders a static fill reflecting `value`; `indeterminate` renders a continuously sliding gradient bar and ignores `value`.
|
|
1675
|
+
* @default 'determinate'
|
|
1676
|
+
*/
|
|
1677
|
+
"type": BsProgressLinearType;
|
|
1678
|
+
/**
|
|
1679
|
+
* Progress percentage, `0`-`100`. Only meaningful for `type="determinate"` -- ignored (and never rendered) for `type="indeterminate"`. Out-of-range values are clamped defensively.
|
|
1680
|
+
* @default 0
|
|
1681
|
+
*/
|
|
1682
|
+
"value": number;
|
|
1683
|
+
}
|
|
1602
1684
|
/**
|
|
1603
1685
|
* A single radio button with its label, for one mutually-exclusive choice within a group.
|
|
1604
1686
|
* ## When to use
|
|
@@ -1981,6 +2063,21 @@ export namespace Components {
|
|
|
1981
2063
|
*/
|
|
1982
2064
|
"type": BsTabsType;
|
|
1983
2065
|
}
|
|
2066
|
+
/**
|
|
2067
|
+
* A transient status message for confirming the result of an action (e.g. "Files uploaded
|
|
2068
|
+
* successfully.") -- a state-specific icon, a message, and a close button.
|
|
2069
|
+
* This component only renders the toast itself -- it doesn't manage its own visibility, timing, or
|
|
2070
|
+
* stacking. A consumer (typically a small "toast manager" utility) creates one per message and
|
|
2071
|
+
* removes it from the DOM again, whether on a timer or on `bsDismiss`. Figma's spec doesn't show
|
|
2072
|
+
* auto-dismiss timing at all (it's a static visual spec), so this deliberately doesn't invent one.
|
|
2073
|
+
*/
|
|
2074
|
+
interface BsToast {
|
|
2075
|
+
/**
|
|
2076
|
+
* Semantic state. Each state has its own icon and matching container/text tokens -- there is no neutral/default state.
|
|
2077
|
+
* @default 'info'
|
|
2078
|
+
*/
|
|
2079
|
+
"state": BsToastState;
|
|
2080
|
+
}
|
|
1984
2081
|
/**
|
|
1985
2082
|
* A dark tooltip bubble with a pointer arrow, used to surface a short hint of extra information
|
|
1986
2083
|
* next to a trigger element.
|
|
@@ -2116,6 +2213,10 @@ export interface BsTabCustomEvent<T> extends CustomEvent<T> {
|
|
|
2116
2213
|
detail: T;
|
|
2117
2214
|
target: HTMLBsTabElement;
|
|
2118
2215
|
}
|
|
2216
|
+
export interface BsToastCustomEvent<T> extends CustomEvent<T> {
|
|
2217
|
+
detail: T;
|
|
2218
|
+
target: HTMLBsToastElement;
|
|
2219
|
+
}
|
|
2119
2220
|
declare global {
|
|
2120
2221
|
/**
|
|
2121
2222
|
* A centered caption disclaimer for Genie AI surfaces, e.g. "AI can make mistakes. Please verify
|
|
@@ -3377,6 +3478,45 @@ declare global {
|
|
|
3377
3478
|
prototype: HTMLBsPaginationElement;
|
|
3378
3479
|
new (): HTMLBsPaginationElement;
|
|
3379
3480
|
};
|
|
3481
|
+
/**
|
|
3482
|
+
* A circular progress indicator -- either a static ring showing a percentage sweep
|
|
3483
|
+
* (`type="determinate"`) or a continuously spinning ring signaling in-progress work with no known
|
|
3484
|
+
* completion percentage (`type="indeterminate"`).
|
|
3485
|
+
* ## When to use
|
|
3486
|
+
* - Showing the progress of a task with a known, quantifiable completion percentage (`determinate`).
|
|
3487
|
+
* - Signaling that work is happening in the background with no meaningful percentage to report
|
|
3488
|
+
* (`indeterminate`), e.g. while waiting on a network response.
|
|
3489
|
+
* ## When not to use
|
|
3490
|
+
* - For a horizontal, bar-shaped progress indicator -- this component is a ring, not a bar.
|
|
3491
|
+
* - For a percentage that's better expressed as plain text, without the reserved space and visual
|
|
3492
|
+
* weight of a ring.
|
|
3493
|
+
*/
|
|
3494
|
+
interface HTMLBsProgressElement extends Components.BsProgress, HTMLStencilElement {
|
|
3495
|
+
}
|
|
3496
|
+
var HTMLBsProgressElement: {
|
|
3497
|
+
prototype: HTMLBsProgressElement;
|
|
3498
|
+
new (): HTMLBsProgressElement;
|
|
3499
|
+
};
|
|
3500
|
+
/**
|
|
3501
|
+
* A linear (horizontal) progress indicator -- either a static bar showing a percentage fill
|
|
3502
|
+
* (`type="determinate"`) or a continuously sliding bar signaling in-progress work with no known
|
|
3503
|
+
* completion percentage (`type="indeterminate"`).
|
|
3504
|
+
* ## When to use
|
|
3505
|
+
* - Showing the progress of a task with a known, quantifiable completion percentage (`determinate`),
|
|
3506
|
+
* e.g. a file upload.
|
|
3507
|
+
* - Signaling that work is happening in the background with no meaningful percentage to report
|
|
3508
|
+
* (`indeterminate`), e.g. while waiting on a network response.
|
|
3509
|
+
* ## When not to use
|
|
3510
|
+
* - For a compact, ring-shaped progress indicator -- use `bs-progress` (circular) instead.
|
|
3511
|
+
* - For a percentage that's better expressed as plain text, without the reserved space and visual
|
|
3512
|
+
* weight of a bar.
|
|
3513
|
+
*/
|
|
3514
|
+
interface HTMLBsProgressLinearElement extends Components.BsProgressLinear, HTMLStencilElement {
|
|
3515
|
+
}
|
|
3516
|
+
var HTMLBsProgressLinearElement: {
|
|
3517
|
+
prototype: HTMLBsProgressLinearElement;
|
|
3518
|
+
new (): HTMLBsProgressLinearElement;
|
|
3519
|
+
};
|
|
3380
3520
|
interface HTMLBsRadioElementEventMap {
|
|
3381
3521
|
"bsChange": string;
|
|
3382
3522
|
}
|
|
@@ -3652,6 +3792,31 @@ declare global {
|
|
|
3652
3792
|
prototype: HTMLBsTabsElement;
|
|
3653
3793
|
new (): HTMLBsTabsElement;
|
|
3654
3794
|
};
|
|
3795
|
+
interface HTMLBsToastElementEventMap {
|
|
3796
|
+
"bsDismiss": void;
|
|
3797
|
+
}
|
|
3798
|
+
/**
|
|
3799
|
+
* A transient status message for confirming the result of an action (e.g. "Files uploaded
|
|
3800
|
+
* successfully.") -- a state-specific icon, a message, and a close button.
|
|
3801
|
+
* This component only renders the toast itself -- it doesn't manage its own visibility, timing, or
|
|
3802
|
+
* stacking. A consumer (typically a small "toast manager" utility) creates one per message and
|
|
3803
|
+
* removes it from the DOM again, whether on a timer or on `bsDismiss`. Figma's spec doesn't show
|
|
3804
|
+
* auto-dismiss timing at all (it's a static visual spec), so this deliberately doesn't invent one.
|
|
3805
|
+
*/
|
|
3806
|
+
interface HTMLBsToastElement extends Components.BsToast, HTMLStencilElement {
|
|
3807
|
+
addEventListener<K extends keyof HTMLBsToastElementEventMap>(type: K, listener: (this: HTMLBsToastElement, ev: BsToastCustomEvent<HTMLBsToastElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3808
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3809
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3810
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3811
|
+
removeEventListener<K extends keyof HTMLBsToastElementEventMap>(type: K, listener: (this: HTMLBsToastElement, ev: BsToastCustomEvent<HTMLBsToastElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3812
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3813
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3814
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3815
|
+
}
|
|
3816
|
+
var HTMLBsToastElement: {
|
|
3817
|
+
prototype: HTMLBsToastElement;
|
|
3818
|
+
new (): HTMLBsToastElement;
|
|
3819
|
+
};
|
|
3655
3820
|
/**
|
|
3656
3821
|
* A dark tooltip bubble with a pointer arrow, used to surface a short hint of extra information
|
|
3657
3822
|
* next to a trigger element.
|
|
@@ -3723,6 +3888,8 @@ declare global {
|
|
|
3723
3888
|
"bs-navigation-drawer-item": HTMLBsNavigationDrawerItemElement;
|
|
3724
3889
|
"bs-navigation-header": HTMLBsNavigationHeaderElement;
|
|
3725
3890
|
"bs-pagination": HTMLBsPaginationElement;
|
|
3891
|
+
"bs-progress": HTMLBsProgressElement;
|
|
3892
|
+
"bs-progress-linear": HTMLBsProgressLinearElement;
|
|
3726
3893
|
"bs-radio": HTMLBsRadioElement;
|
|
3727
3894
|
"bs-slider": HTMLBsSliderElement;
|
|
3728
3895
|
"bs-snackbar": HTMLBsSnackbarElement;
|
|
@@ -3732,6 +3899,7 @@ declare global {
|
|
|
3732
3899
|
"bs-switch": HTMLBsSwitchElement;
|
|
3733
3900
|
"bs-tab": HTMLBsTabElement;
|
|
3734
3901
|
"bs-tabs": HTMLBsTabsElement;
|
|
3902
|
+
"bs-toast": HTMLBsToastElement;
|
|
3735
3903
|
"bs-tooltip": HTMLBsTooltipElement;
|
|
3736
3904
|
}
|
|
3737
3905
|
}
|
|
@@ -5446,6 +5614,82 @@ declare namespace LocalJSX {
|
|
|
5446
5614
|
*/
|
|
5447
5615
|
"totalPages"?: number;
|
|
5448
5616
|
}
|
|
5617
|
+
/**
|
|
5618
|
+
* A circular progress indicator -- either a static ring showing a percentage sweep
|
|
5619
|
+
* (`type="determinate"`) or a continuously spinning ring signaling in-progress work with no known
|
|
5620
|
+
* completion percentage (`type="indeterminate"`).
|
|
5621
|
+
* ## When to use
|
|
5622
|
+
* - Showing the progress of a task with a known, quantifiable completion percentage (`determinate`).
|
|
5623
|
+
* - Signaling that work is happening in the background with no meaningful percentage to report
|
|
5624
|
+
* (`indeterminate`), e.g. while waiting on a network response.
|
|
5625
|
+
* ## When not to use
|
|
5626
|
+
* - For a horizontal, bar-shaped progress indicator -- this component is a ring, not a bar.
|
|
5627
|
+
* - For a percentage that's better expressed as plain text, without the reserved space and visual
|
|
5628
|
+
* weight of a ring.
|
|
5629
|
+
*/
|
|
5630
|
+
interface BsProgress {
|
|
5631
|
+
/**
|
|
5632
|
+
* Shows the `${value}%` label below the ring. Only takes effect for `type="determinate"` -- `indeterminate` never shows a label regardless of this prop, since there's no percentage to show. Defaults to `true`.
|
|
5633
|
+
* @default true
|
|
5634
|
+
*/
|
|
5635
|
+
"showLabel"?: boolean;
|
|
5636
|
+
/**
|
|
5637
|
+
* Overall diameter: `small` (44px), `medium` (48px), or `large` (64px).
|
|
5638
|
+
* @default 'small'
|
|
5639
|
+
*/
|
|
5640
|
+
"size"?: BsProgressSize;
|
|
5641
|
+
/**
|
|
5642
|
+
* Ring stroke width in px -- `4` or `8`, matching Figma's two stroke-width variants. A number, not the Figma label's literal `"4 px"` string.
|
|
5643
|
+
* @default 4
|
|
5644
|
+
*/
|
|
5645
|
+
"strokeWidth"?: BsProgressStrokeWidth;
|
|
5646
|
+
/**
|
|
5647
|
+
* `determinate` renders a static arc sweep reflecting `value` (with an optional percentage label); `indeterminate` renders a continuously spinning ring and never shows a label, since there's no known percentage to report.
|
|
5648
|
+
* @default 'determinate'
|
|
5649
|
+
*/
|
|
5650
|
+
"type"?: BsProgressType;
|
|
5651
|
+
/**
|
|
5652
|
+
* Progress percentage, `0`-`100`. Only meaningful for `type="determinate"` -- ignored (and never rendered) for `type="indeterminate"`. Out-of-range values are clamped defensively.
|
|
5653
|
+
* @default 0
|
|
5654
|
+
*/
|
|
5655
|
+
"value"?: number;
|
|
5656
|
+
}
|
|
5657
|
+
/**
|
|
5658
|
+
* A linear (horizontal) progress indicator -- either a static bar showing a percentage fill
|
|
5659
|
+
* (`type="determinate"`) or a continuously sliding bar signaling in-progress work with no known
|
|
5660
|
+
* completion percentage (`type="indeterminate"`).
|
|
5661
|
+
* ## When to use
|
|
5662
|
+
* - Showing the progress of a task with a known, quantifiable completion percentage (`determinate`),
|
|
5663
|
+
* e.g. a file upload.
|
|
5664
|
+
* - Signaling that work is happening in the background with no meaningful percentage to report
|
|
5665
|
+
* (`indeterminate`), e.g. while waiting on a network response.
|
|
5666
|
+
* ## When not to use
|
|
5667
|
+
* - For a compact, ring-shaped progress indicator -- use `bs-progress` (circular) instead.
|
|
5668
|
+
* - For a percentage that's better expressed as plain text, without the reserved space and visual
|
|
5669
|
+
* weight of a bar.
|
|
5670
|
+
*/
|
|
5671
|
+
interface BsProgressLinear {
|
|
5672
|
+
/**
|
|
5673
|
+
* Shows the slotted label below the bar. When `false`, or when no content is slotted, the label wrapper isn't rendered at all. Defaults to `true`.
|
|
5674
|
+
* @default true
|
|
5675
|
+
*/
|
|
5676
|
+
"showLabel"?: boolean;
|
|
5677
|
+
/**
|
|
5678
|
+
* Bar height: `small` (4px) or `large` (8px).
|
|
5679
|
+
* @default 'large'
|
|
5680
|
+
*/
|
|
5681
|
+
"size"?: BsProgressLinearSize;
|
|
5682
|
+
/**
|
|
5683
|
+
* `determinate` renders a static fill reflecting `value`; `indeterminate` renders a continuously sliding gradient bar and ignores `value`.
|
|
5684
|
+
* @default 'determinate'
|
|
5685
|
+
*/
|
|
5686
|
+
"type"?: BsProgressLinearType;
|
|
5687
|
+
/**
|
|
5688
|
+
* Progress percentage, `0`-`100`. Only meaningful for `type="determinate"` -- ignored (and never rendered) for `type="indeterminate"`. Out-of-range values are clamped defensively.
|
|
5689
|
+
* @default 0
|
|
5690
|
+
*/
|
|
5691
|
+
"value"?: number;
|
|
5692
|
+
}
|
|
5449
5693
|
/**
|
|
5450
5694
|
* A single radio button with its label, for one mutually-exclusive choice within a group.
|
|
5451
5695
|
* ## When to use
|
|
@@ -5860,6 +6104,25 @@ declare namespace LocalJSX {
|
|
|
5860
6104
|
*/
|
|
5861
6105
|
"type"?: BsTabsType;
|
|
5862
6106
|
}
|
|
6107
|
+
/**
|
|
6108
|
+
* A transient status message for confirming the result of an action (e.g. "Files uploaded
|
|
6109
|
+
* successfully.") -- a state-specific icon, a message, and a close button.
|
|
6110
|
+
* This component only renders the toast itself -- it doesn't manage its own visibility, timing, or
|
|
6111
|
+
* stacking. A consumer (typically a small "toast manager" utility) creates one per message and
|
|
6112
|
+
* removes it from the DOM again, whether on a timer or on `bsDismiss`. Figma's spec doesn't show
|
|
6113
|
+
* auto-dismiss timing at all (it's a static visual spec), so this deliberately doesn't invent one.
|
|
6114
|
+
*/
|
|
6115
|
+
interface BsToast {
|
|
6116
|
+
/**
|
|
6117
|
+
* Fires when the close button is clicked. This component doesn't remove itself from the DOM -- the consumer is expected to do that (or hide it) in response to this event.
|
|
6118
|
+
*/
|
|
6119
|
+
"onBsDismiss"?: (event: BsToastCustomEvent<void>) => void;
|
|
6120
|
+
/**
|
|
6121
|
+
* Semantic state. Each state has its own icon and matching container/text tokens -- there is no neutral/default state.
|
|
6122
|
+
* @default 'info'
|
|
6123
|
+
*/
|
|
6124
|
+
"state"?: BsToastState;
|
|
6125
|
+
}
|
|
5863
6126
|
/**
|
|
5864
6127
|
* A dark tooltip bubble with a pointer arrow, used to surface a short hint of extra information
|
|
5865
6128
|
* next to a trigger element.
|
|
@@ -6107,6 +6370,19 @@ declare namespace LocalJSX {
|
|
|
6107
6370
|
"previousLabel": string;
|
|
6108
6371
|
"nextLabel": string;
|
|
6109
6372
|
}
|
|
6373
|
+
interface BsProgressAttributes {
|
|
6374
|
+
"type": BsProgressType;
|
|
6375
|
+
"size": BsProgressSize;
|
|
6376
|
+
"strokeWidth": BsProgressStrokeWidth;
|
|
6377
|
+
"value": number;
|
|
6378
|
+
"showLabel": boolean;
|
|
6379
|
+
}
|
|
6380
|
+
interface BsProgressLinearAttributes {
|
|
6381
|
+
"type": BsProgressLinearType;
|
|
6382
|
+
"size": BsProgressLinearSize;
|
|
6383
|
+
"value": number;
|
|
6384
|
+
"showLabel": boolean;
|
|
6385
|
+
}
|
|
6110
6386
|
interface BsRadioAttributes {
|
|
6111
6387
|
"name": string;
|
|
6112
6388
|
"value": string;
|
|
@@ -6169,6 +6445,9 @@ declare namespace LocalJSX {
|
|
|
6169
6445
|
"type": BsTabsType;
|
|
6170
6446
|
"orientation": BsTabsOrientation;
|
|
6171
6447
|
}
|
|
6448
|
+
interface BsToastAttributes {
|
|
6449
|
+
"state": BsToastState;
|
|
6450
|
+
}
|
|
6172
6451
|
interface BsTooltipAttributes {
|
|
6173
6452
|
"placement": 'top';
|
|
6174
6453
|
}
|
|
@@ -6211,6 +6490,8 @@ declare namespace LocalJSX {
|
|
|
6211
6490
|
"bs-navigation-drawer-item": Omit<BsNavigationDrawerItem, keyof BsNavigationDrawerItemAttributes> & { [K in keyof BsNavigationDrawerItem & keyof BsNavigationDrawerItemAttributes]?: BsNavigationDrawerItem[K] } & { [K in keyof BsNavigationDrawerItem & keyof BsNavigationDrawerItemAttributes as `attr:${K}`]?: BsNavigationDrawerItemAttributes[K] } & { [K in keyof BsNavigationDrawerItem & keyof BsNavigationDrawerItemAttributes as `prop:${K}`]?: BsNavigationDrawerItem[K] };
|
|
6212
6491
|
"bs-navigation-header": Omit<BsNavigationHeader, keyof BsNavigationHeaderAttributes> & { [K in keyof BsNavigationHeader & keyof BsNavigationHeaderAttributes]?: BsNavigationHeader[K] } & { [K in keyof BsNavigationHeader & keyof BsNavigationHeaderAttributes as `attr:${K}`]?: BsNavigationHeaderAttributes[K] } & { [K in keyof BsNavigationHeader & keyof BsNavigationHeaderAttributes as `prop:${K}`]?: BsNavigationHeader[K] };
|
|
6213
6492
|
"bs-pagination": Omit<BsPagination, keyof BsPaginationAttributes> & { [K in keyof BsPagination & keyof BsPaginationAttributes]?: BsPagination[K] } & { [K in keyof BsPagination & keyof BsPaginationAttributes as `attr:${K}`]?: BsPaginationAttributes[K] } & { [K in keyof BsPagination & keyof BsPaginationAttributes as `prop:${K}`]?: BsPagination[K] };
|
|
6493
|
+
"bs-progress": Omit<BsProgress, keyof BsProgressAttributes> & { [K in keyof BsProgress & keyof BsProgressAttributes]?: BsProgress[K] } & { [K in keyof BsProgress & keyof BsProgressAttributes as `attr:${K}`]?: BsProgressAttributes[K] } & { [K in keyof BsProgress & keyof BsProgressAttributes as `prop:${K}`]?: BsProgress[K] };
|
|
6494
|
+
"bs-progress-linear": Omit<BsProgressLinear, keyof BsProgressLinearAttributes> & { [K in keyof BsProgressLinear & keyof BsProgressLinearAttributes]?: BsProgressLinear[K] } & { [K in keyof BsProgressLinear & keyof BsProgressLinearAttributes as `attr:${K}`]?: BsProgressLinearAttributes[K] } & { [K in keyof BsProgressLinear & keyof BsProgressLinearAttributes as `prop:${K}`]?: BsProgressLinear[K] };
|
|
6214
6495
|
"bs-radio": Omit<BsRadio, keyof BsRadioAttributes> & { [K in keyof BsRadio & keyof BsRadioAttributes]?: BsRadio[K] } & { [K in keyof BsRadio & keyof BsRadioAttributes as `attr:${K}`]?: BsRadioAttributes[K] } & { [K in keyof BsRadio & keyof BsRadioAttributes as `prop:${K}`]?: BsRadio[K] };
|
|
6215
6496
|
"bs-slider": Omit<BsSlider, keyof BsSliderAttributes> & { [K in keyof BsSlider & keyof BsSliderAttributes]?: BsSlider[K] } & { [K in keyof BsSlider & keyof BsSliderAttributes as `attr:${K}`]?: BsSliderAttributes[K] } & { [K in keyof BsSlider & keyof BsSliderAttributes as `prop:${K}`]?: BsSlider[K] };
|
|
6216
6497
|
"bs-snackbar": Omit<BsSnackbar, keyof BsSnackbarAttributes> & { [K in keyof BsSnackbar & keyof BsSnackbarAttributes]?: BsSnackbar[K] } & { [K in keyof BsSnackbar & keyof BsSnackbarAttributes as `attr:${K}`]?: BsSnackbarAttributes[K] } & { [K in keyof BsSnackbar & keyof BsSnackbarAttributes as `prop:${K}`]?: BsSnackbar[K] };
|
|
@@ -6220,6 +6501,7 @@ declare namespace LocalJSX {
|
|
|
6220
6501
|
"bs-switch": Omit<BsSwitch, keyof BsSwitchAttributes> & { [K in keyof BsSwitch & keyof BsSwitchAttributes]?: BsSwitch[K] } & { [K in keyof BsSwitch & keyof BsSwitchAttributes as `attr:${K}`]?: BsSwitchAttributes[K] } & { [K in keyof BsSwitch & keyof BsSwitchAttributes as `prop:${K}`]?: BsSwitch[K] };
|
|
6221
6502
|
"bs-tab": Omit<BsTab, keyof BsTabAttributes> & { [K in keyof BsTab & keyof BsTabAttributes]?: BsTab[K] } & { [K in keyof BsTab & keyof BsTabAttributes as `attr:${K}`]?: BsTabAttributes[K] } & { [K in keyof BsTab & keyof BsTabAttributes as `prop:${K}`]?: BsTab[K] };
|
|
6222
6503
|
"bs-tabs": Omit<BsTabs, keyof BsTabsAttributes> & { [K in keyof BsTabs & keyof BsTabsAttributes]?: BsTabs[K] } & { [K in keyof BsTabs & keyof BsTabsAttributes as `attr:${K}`]?: BsTabsAttributes[K] } & { [K in keyof BsTabs & keyof BsTabsAttributes as `prop:${K}`]?: BsTabs[K] };
|
|
6504
|
+
"bs-toast": Omit<BsToast, keyof BsToastAttributes> & { [K in keyof BsToast & keyof BsToastAttributes]?: BsToast[K] } & { [K in keyof BsToast & keyof BsToastAttributes as `attr:${K}`]?: BsToastAttributes[K] } & { [K in keyof BsToast & keyof BsToastAttributes as `prop:${K}`]?: BsToast[K] };
|
|
6223
6505
|
"bs-tooltip": Omit<BsTooltip, keyof BsTooltipAttributes> & { [K in keyof BsTooltip & keyof BsTooltipAttributes]?: BsTooltip[K] } & { [K in keyof BsTooltip & keyof BsTooltipAttributes as `attr:${K}`]?: BsTooltipAttributes[K] } & { [K in keyof BsTooltip & keyof BsTooltipAttributes as `prop:${K}`]?: BsTooltip[K] };
|
|
6224
6506
|
}
|
|
6225
6507
|
}
|
|
@@ -7065,6 +7347,35 @@ declare module "@stencil/core" {
|
|
|
7065
7347
|
* plain prev/next controls (no numbers) are simpler there.
|
|
7066
7348
|
*/
|
|
7067
7349
|
"bs-pagination": LocalJSX.IntrinsicElements["bs-pagination"] & JSXBase.HTMLAttributes<HTMLBsPaginationElement>;
|
|
7350
|
+
/**
|
|
7351
|
+
* A circular progress indicator -- either a static ring showing a percentage sweep
|
|
7352
|
+
* (`type="determinate"`) or a continuously spinning ring signaling in-progress work with no known
|
|
7353
|
+
* completion percentage (`type="indeterminate"`).
|
|
7354
|
+
* ## When to use
|
|
7355
|
+
* - Showing the progress of a task with a known, quantifiable completion percentage (`determinate`).
|
|
7356
|
+
* - Signaling that work is happening in the background with no meaningful percentage to report
|
|
7357
|
+
* (`indeterminate`), e.g. while waiting on a network response.
|
|
7358
|
+
* ## When not to use
|
|
7359
|
+
* - For a horizontal, bar-shaped progress indicator -- this component is a ring, not a bar.
|
|
7360
|
+
* - For a percentage that's better expressed as plain text, without the reserved space and visual
|
|
7361
|
+
* weight of a ring.
|
|
7362
|
+
*/
|
|
7363
|
+
"bs-progress": LocalJSX.IntrinsicElements["bs-progress"] & JSXBase.HTMLAttributes<HTMLBsProgressElement>;
|
|
7364
|
+
/**
|
|
7365
|
+
* A linear (horizontal) progress indicator -- either a static bar showing a percentage fill
|
|
7366
|
+
* (`type="determinate"`) or a continuously sliding bar signaling in-progress work with no known
|
|
7367
|
+
* completion percentage (`type="indeterminate"`).
|
|
7368
|
+
* ## When to use
|
|
7369
|
+
* - Showing the progress of a task with a known, quantifiable completion percentage (`determinate`),
|
|
7370
|
+
* e.g. a file upload.
|
|
7371
|
+
* - Signaling that work is happening in the background with no meaningful percentage to report
|
|
7372
|
+
* (`indeterminate`), e.g. while waiting on a network response.
|
|
7373
|
+
* ## When not to use
|
|
7374
|
+
* - For a compact, ring-shaped progress indicator -- use `bs-progress` (circular) instead.
|
|
7375
|
+
* - For a percentage that's better expressed as plain text, without the reserved space and visual
|
|
7376
|
+
* weight of a bar.
|
|
7377
|
+
*/
|
|
7378
|
+
"bs-progress-linear": LocalJSX.IntrinsicElements["bs-progress-linear"] & JSXBase.HTMLAttributes<HTMLBsProgressLinearElement>;
|
|
7068
7379
|
/**
|
|
7069
7380
|
* A single radio button with its label, for one mutually-exclusive choice within a group.
|
|
7070
7381
|
* ## When to use
|
|
@@ -7227,6 +7538,15 @@ declare module "@stencil/core" {
|
|
|
7227
7538
|
* directly.
|
|
7228
7539
|
*/
|
|
7229
7540
|
"bs-tabs": LocalJSX.IntrinsicElements["bs-tabs"] & JSXBase.HTMLAttributes<HTMLBsTabsElement>;
|
|
7541
|
+
/**
|
|
7542
|
+
* A transient status message for confirming the result of an action (e.g. "Files uploaded
|
|
7543
|
+
* successfully.") -- a state-specific icon, a message, and a close button.
|
|
7544
|
+
* This component only renders the toast itself -- it doesn't manage its own visibility, timing, or
|
|
7545
|
+
* stacking. A consumer (typically a small "toast manager" utility) creates one per message and
|
|
7546
|
+
* removes it from the DOM again, whether on a timer or on `bsDismiss`. Figma's spec doesn't show
|
|
7547
|
+
* auto-dismiss timing at all (it's a static visual spec), so this deliberately doesn't invent one.
|
|
7548
|
+
*/
|
|
7549
|
+
"bs-toast": LocalJSX.IntrinsicElements["bs-toast"] & JSXBase.HTMLAttributes<HTMLBsToastElement>;
|
|
7230
7550
|
/**
|
|
7231
7551
|
* A dark tooltip bubble with a pointer arrow, used to surface a short hint of extra information
|
|
7232
7552
|
* next to a trigger element.
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as s,a,h as r}from"./p-CvfB8CQv.js";const o=class{constructor(a){e(this,a),this.bsCollapse=s(this,"bsCollapse")}get el(){return a(this)}heading="Sources";count;bsCollapse;slottedCount=0;onSlotchange=e=>{this.slottedCount=e.target.assignedElements().filter((e=>"bs-source-link"===e.tagName.toLowerCase())).length};onCollapseClick=()=>{this.bsCollapse.emit()};render(){const e=this.count??this.slottedCount;return r("div",{key:"d457067b704c7df5a763ec8ada13f02595e9a450",class:"bs-chatbot-sources-drawer",role:"region","aria-label":this.heading},r("div",{key:"7bed0625e25444d49cb2bc2d85bda4b08f242672",class:"bs-chatbot-sources-drawer__header"},r("div",{key:"b55ce1be49393360840caa2ed824ae2d3eafab59",class:"bs-chatbot-sources-drawer__title-group"},r("h2",{key:"fe97457121b810e09792581e07864c366e5d9121",part:"heading",class:"bs-chatbot-sources-drawer__heading"},this.heading),e>0&&r("span",{key:"41a116982438e62d6d6a870f4eaf8f68d8ff758b",part:"count",class:"bs-chatbot-sources-drawer__count"},e)),r("button",{key:"5026bcd60e49776abff2305793c9d0424fce8cbb",type:"button",part:"collapse",class:"bs-chatbot-sources-drawer__collapse","aria-label":"Collapse sources",onClick:this.onCollapseClick},r("slot",{key:"f9ca644ea20b7d9b440d766ae93e1ee01a5b451b",name:"collapse-icon"},r(t,{key:"ffa427ee1e25cac7e197c5fb1c44edefb45d328e"})))),r("div",{key:"67b518bd9c1da897d44f607d08200ad0ffca067e",part:"list",class:"bs-chatbot-sources-drawer__list"},r("slot",{key:"34f904ce8cc9f0924d0c2012fff054faab4cb306",onSlotchange:this.onSlotchange})))}},t=()=>r("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},r("path",{d:"M7.5 4.375L13.125 10L7.5 15.625",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}));o.style=":host{display:block;--bs-chatbot-sources-drawer-bg:var(--bs-surface-raised);--bs-chatbot-sources-drawer-header-shadow:var(--bs-shadow-xs);--bs-chatbot-sources-drawer-header-padding-x:var(--bs-spacing-200);--bs-chatbot-sources-drawer-header-padding-top:var(--bs-spacing-150);--bs-chatbot-sources-drawer-header-padding-bottom:var(--bs-spacing-100);--bs-chatbot-sources-drawer-heading-color:var(--bs-text-default);--bs-chatbot-sources-drawer-count-bg:var(--bs-badge-bg-neutral-container);--bs-chatbot-sources-drawer-count-color:var(--bs-badge-text-neutral);--bs-chatbot-sources-drawer-collapse-hover:var(--bs-surface-hover);--bs-chatbot-sources-drawer-section-gap:var(--bs-spacing-200);--bs-chatbot-sources-drawer-list-padding:var(--bs-spacing-200);--bs-chatbot-sources-drawer-list-gap:var(--bs-spacing-50)}.bs-chatbot-sources-drawer{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--bs-chatbot-sources-drawer-section-gap);width:100%;height:100%;background:var(--bs-chatbot-sources-drawer-bg);font-family:inherit}.bs-chatbot-sources-drawer__header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:var(--bs-chatbot-sources-drawer-header-padding-top) var(--bs-chatbot-sources-drawer-header-padding-x) var(--bs-chatbot-sources-drawer-header-padding-bottom);box-shadow:var(--bs-chatbot-sources-drawer-header-shadow)}.bs-chatbot-sources-drawer__title-group{display:flex;align-items:center;gap:var(--bs-spacing-100)}.bs-chatbot-sources-drawer__heading{margin:0;color:var(--bs-chatbot-sources-drawer-heading-color);font-size:var(--bs-font-size-2xl);font-weight:var(--bs-font-weight-bold);line-height:calc(var(--bs-line-height-heading-h4) * 1px)}.bs-chatbot-sources-drawer__count{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:16px;max-width:34px;padding:var(--bs-spacing-50) var(--bs-spacing-100);background:var(--bs-chatbot-sources-drawer-count-bg);border-radius:var(--bs-border-radius-50);color:var(--bs-chatbot-sources-drawer-count-color);font-size:var(--bs-font-size-xs);line-height:calc(var(--bs-line-height-caption-sm) * 1px)}.bs-chatbot-sources-drawer__collapse{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:none;border:none;border-radius:var(--bs-border-radius-100);color:var(--bs-icon-default);cursor:pointer}.bs-chatbot-sources-drawer__collapse:hover{background:var(--bs-chatbot-sources-drawer-collapse-hover)}.bs-chatbot-sources-drawer__collapse:focus-visible{outline:2px solid var(--bs-border-neutral-focus);outline-offset:1px}.bs-chatbot-sources-drawer__list{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--bs-chatbot-sources-drawer-list-gap);padding:0 var(--bs-chatbot-sources-drawer-list-padding) var(--bs-chatbot-sources-drawer-list-padding);overflow-y:auto}";export{o as bs_chatbot_sources_drawer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,a as s,h as a}from"./p-CvfB8CQv.js";const r=class{constructor(s){e(this,s)}get el(){return s(this)}label="Breadcrumb";size="md";onSizeChange(e){this.propagateSize(e)}componentDidLoad(){this.propagateSize(this.size)}onSlotChange=()=>{this.propagateSize(this.size)};propagateSize(e){this.el.querySelectorAll(":scope > bs-breadcrumb, :scope > bs-breadcrumb-overflow").forEach((s=>{s.size=e}))}render(){return a("nav",{key:"78fdf60e00f529cc0eb22f1324f0dd10967d699f","aria-label":this.label},a("ol",{key:"cbee64570bda35661b2ec1e3cd9ad4545f7c9b71",part:"list",class:"bs-breadcrumbs__list"},a("slot",{key:"f9043b5c356e1aee95b0bcbb28ac01e829e32450",onSlotchange:this.onSlotChange})))}static get watchers(){return{size:[{onSizeChange:0}]}}};r.style=":host{display:block;--bs-breadcrumbs-gap:var(--bs-spacing-50)}.bs-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;margin:0;padding:0;list-style:none;gap:var(--bs-breadcrumbs-gap)}";export{r as bs_breadcrumbs}
|