@brandsync/wc 1.2.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 +417 -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-718ce85f.entry.js → p-04c26826.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f94449da.entry.js → p-0c8050e8.entry.js} +1 -1
- package/dist/brandsync-wc/p-0d5cc77f.entry.js +1 -0
- package/dist/brandsync-wc/{p-7f14660d.entry.js → p-19c98e13.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a35d5ea7.entry.js → p-23758f81.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b6425ac2.entry.js → p-29c360f3.entry.js} +1 -1
- package/dist/brandsync-wc/{p-260e14de.entry.js → p-35d98580.entry.js} +1 -1
- package/dist/brandsync-wc/{p-aac6b59b.entry.js → p-39204377.entry.js} +1 -1
- package/dist/brandsync-wc/p-5a4db480.entry.js +1 -0
- package/dist/brandsync-wc/{p-8f2cfe31.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-7655e741.entry.js → p-7de20530.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1e9ceb9d.entry.js → p-7ea0133f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-650b7eef.entry.js → p-8acb623e.entry.js} +1 -1
- package/dist/brandsync-wc/{p-f6fafbd6.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-205deb32.entry.js → p-96d1ce21.entry.js} +1 -1
- package/dist/brandsync-wc/{p-67bc2ec8.entry.js → p-9ad278f4.entry.js} +1 -1
- package/dist/brandsync-wc/{p-c8480d21.entry.js → p-9f9c1a1d.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ed704126.entry.js → p-b2704450.entry.js} +1 -1
- package/dist/brandsync-wc/{p-a597dc2b.entry.js → p-bcafba87.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3e6d37a4.entry.js → p-bd2cc2c6.entry.js} +1 -1
- package/dist/brandsync-wc/{p-2e7586dd.entry.js → p-be675b82.entry.js} +1 -1
- package/dist/brandsync-wc/{p-6970a24c.entry.js → p-bf4a5b1b.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ce08c9d7.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-03f9fd54.entry.js → p-d5d15d9f.entry.js} +1 -1
- package/dist/brandsync-wc/{p-41732f18.entry.js → p-e58b1dbb.entry.js} +1 -1
- package/dist/brandsync-wc/{p-17dbd4b3.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 +1 -1
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -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-list/bs-attachment-list.js +1 -1
- package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
- package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.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-input/bs-input.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 +1 -1
- package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
- 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 +1 -1
- 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-toast/bs-toast.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.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/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.js +1 -1
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/{p-BlCziuES.js → p-BIgPiuc-.js} +1 -1
- package/dist/components/{p-Bg98eW9H.js → p-BUtz3sub.js} +1 -1
- package/dist/components/{p-BOP5EJrQ.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 +1 -1
- 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.d.ts +241 -0
- package/package.json +1 -1
- package/dist/brandsync-wc/p-04d6aa95.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";
|
|
@@ -55,6 +57,8 @@ export { BsDialogSize } from "./components/bs-dialog/bs-dialog";
|
|
|
55
57
|
export { BsIconButtonSize, BsIconButtonVariant } from "./components/bs-button/bs-icon-button/bs-icon-button";
|
|
56
58
|
export { BsLogoBackground, BsLogoVariant } from "./components/bs-logo/bs-logo";
|
|
57
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";
|
|
58
62
|
export { BsSliderType } from "./components/bs-slider/bs-slider";
|
|
59
63
|
export { BsSnackbarVariant } from "./components/bs-snackbar/bs-snackbar";
|
|
60
64
|
export { BsStepperDirection } from "./components/bs-stepper/bs-stepper-step/bs-stepper-step";
|
|
@@ -1601,6 +1605,82 @@ export namespace Components {
|
|
|
1601
1605
|
*/
|
|
1602
1606
|
"totalPages": number;
|
|
1603
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
|
+
}
|
|
1604
1684
|
/**
|
|
1605
1685
|
* A single radio button with its label, for one mutually-exclusive choice within a group.
|
|
1606
1686
|
* ## When to use
|
|
@@ -3398,6 +3478,45 @@ declare global {
|
|
|
3398
3478
|
prototype: HTMLBsPaginationElement;
|
|
3399
3479
|
new (): HTMLBsPaginationElement;
|
|
3400
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
|
+
};
|
|
3401
3520
|
interface HTMLBsRadioElementEventMap {
|
|
3402
3521
|
"bsChange": string;
|
|
3403
3522
|
}
|
|
@@ -3769,6 +3888,8 @@ declare global {
|
|
|
3769
3888
|
"bs-navigation-drawer-item": HTMLBsNavigationDrawerItemElement;
|
|
3770
3889
|
"bs-navigation-header": HTMLBsNavigationHeaderElement;
|
|
3771
3890
|
"bs-pagination": HTMLBsPaginationElement;
|
|
3891
|
+
"bs-progress": HTMLBsProgressElement;
|
|
3892
|
+
"bs-progress-linear": HTMLBsProgressLinearElement;
|
|
3772
3893
|
"bs-radio": HTMLBsRadioElement;
|
|
3773
3894
|
"bs-slider": HTMLBsSliderElement;
|
|
3774
3895
|
"bs-snackbar": HTMLBsSnackbarElement;
|
|
@@ -5493,6 +5614,82 @@ declare namespace LocalJSX {
|
|
|
5493
5614
|
*/
|
|
5494
5615
|
"totalPages"?: number;
|
|
5495
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
|
+
}
|
|
5496
5693
|
/**
|
|
5497
5694
|
* A single radio button with its label, for one mutually-exclusive choice within a group.
|
|
5498
5695
|
* ## When to use
|
|
@@ -6173,6 +6370,19 @@ declare namespace LocalJSX {
|
|
|
6173
6370
|
"previousLabel": string;
|
|
6174
6371
|
"nextLabel": string;
|
|
6175
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
|
+
}
|
|
6176
6386
|
interface BsRadioAttributes {
|
|
6177
6387
|
"name": string;
|
|
6178
6388
|
"value": string;
|
|
@@ -6280,6 +6490,8 @@ declare namespace LocalJSX {
|
|
|
6280
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] };
|
|
6281
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] };
|
|
6282
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] };
|
|
6283
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] };
|
|
6284
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] };
|
|
6285
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] };
|
|
@@ -7135,6 +7347,35 @@ declare module "@stencil/core" {
|
|
|
7135
7347
|
* plain prev/next controls (no numbers) are simpler there.
|
|
7136
7348
|
*/
|
|
7137
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>;
|
|
7138
7379
|
/**
|
|
7139
7380
|
* A single radio button with its label, for one mutually-exclusive choice within a group.
|
|
7140
7381
|
* ## When to use
|
package/package.json
CHANGED
|
@@ -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:"e0255e54ec2355682fb37d01c44cd43594354f8c","aria-label":this.label},a("ol",{key:"944b432ac94940609b6eaad964556ec303722d3a",part:"list",class:"bs-breadcrumbs__list"},a("slot",{key:"4b6e159b32f05a480f0573437cf36bb094a593c6",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}
|