@viasat/beam-web-components 2.0.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/Accordion/Accordion.d.ts +56 -0
- package/Accordion/Accordion.js +12 -0
- package/Accordion/AccordionGroup.context.d.ts +10 -0
- package/Accordion/AccordionGroup.context.js +8 -0
- package/Accordion/AccordionGroup.d.ts +33 -0
- package/Accordion/AccordionGroup.js +79 -0
- package/Accordion/index.d.ts +3 -0
- package/Accordion/index.js +6 -0
- package/Alert/Alert.d.ts +64 -0
- package/Alert/Alert.js +300 -0
- package/Alert/index.d.ts +2 -0
- package/Alert/index.js +4 -0
- package/Avatar/Avatar.d.ts +60 -0
- package/Avatar/Avatar.js +12 -0
- package/Avatar/AvatarGroup.context.d.ts +11 -0
- package/Avatar/AvatarGroup.context.js +8 -0
- package/Avatar/AvatarGroup.d.ts +43 -0
- package/Avatar/AvatarGroup.js +181 -0
- package/Avatar/index.d.ts +3 -0
- package/Avatar/index.js +6 -0
- package/Badge/Badge.d.ts +40 -0
- package/Badge/Badge.js +125 -0
- package/Badge/index.d.ts +2 -0
- package/Badge/index.js +4 -0
- package/BadgeDot/BadgeDot.d.ts +38 -0
- package/BadgeDot/BadgeDot.js +59 -0
- package/BadgeDot/index.d.ts +2 -0
- package/BadgeDot/index.js +4 -0
- package/Box/Box.d.ts +99 -0
- package/Box/Box.js +115 -0
- package/Box/index.d.ts +2 -0
- package/Box/index.js +4 -0
- package/Breadcrumbs/Breadcrumbs.context.d.ts +10 -0
- package/Breadcrumbs/Breadcrumbs.context.js +8 -0
- package/Breadcrumbs/Breadcrumbs.d.ts +38 -0
- package/Breadcrumbs/Breadcrumbs.js +115 -0
- package/Breadcrumbs/BreadcrumbsItem.d.ts +39 -0
- package/Breadcrumbs/BreadcrumbsItem.js +13 -0
- package/Breadcrumbs/index.d.ts +3 -0
- package/Breadcrumbs/index.js +6 -0
- package/Button/Button.d.ts +73 -0
- package/Button/Button.js +125 -0
- package/Button/index.d.ts +2 -0
- package/Button/index.js +4 -0
- package/CloseButton/CloseButton.d.ts +25 -0
- package/CloseButton/CloseButton.js +60 -0
- package/CloseButton/index.d.ts +2 -0
- package/CloseButton/index.js +4 -0
- package/Divider/Divider.d.ts +56 -0
- package/Divider/Divider.js +111 -0
- package/Divider/index.d.ts +2 -0
- package/Divider/index.js +4 -0
- package/EmptyState/EmptyState.d.ts +36 -0
- package/EmptyState/EmptyState.js +56 -0
- package/EmptyState/index.d.ts +2 -0
- package/EmptyState/index.js +4 -0
- package/HelperText/HelperText.d.ts +45 -0
- package/HelperText/HelperText.js +11 -0
- package/HelperText/index.d.ts +2 -0
- package/HelperText/index.js +4 -0
- package/Icon/Icon.d.ts +35 -0
- package/Icon/Icon.js +62 -0
- package/Icon/index.d.ts +2 -0
- package/Icon/index.js +4 -0
- package/InputChoiceGroup/InputChoiceGroup.context.d.ts +13 -0
- package/InputChoiceGroup/InputChoiceGroup.context.js +8 -0
- package/InputChoiceGroup/InputChoiceGroup.d.ts +87 -0
- package/InputChoiceGroup/InputChoiceGroup.js +205 -0
- package/InputChoiceGroup/index.d.ts +2 -0
- package/InputChoiceGroup/index.js +4 -0
- package/Link/Link.d.ts +48 -0
- package/Link/Link.js +77 -0
- package/Link/index.d.ts +2 -0
- package/Link/index.js +4 -0
- package/List/List.context.d.ts +15 -0
- package/List/List.context.js +8 -0
- package/List/List.d.ts +43 -0
- package/List/List.js +101 -0
- package/List/ListItem.d.ts +23 -0
- package/List/ListItem.js +90 -0
- package/List/index.d.ts +3 -0
- package/List/index.js +6 -0
- package/ProgressBar/ProgressBar.d.ts +52 -0
- package/ProgressBar/ProgressBar.js +128 -0
- package/ProgressBar/index.d.ts +2 -0
- package/ProgressBar/index.js +4 -0
- package/README.md +360 -0
- package/SegmentedControl/SegmentedControl.context.d.ts +16 -0
- package/SegmentedControl/SegmentedControl.context.js +8 -0
- package/SegmentedControl/SegmentedControl.d.ts +41 -0
- package/SegmentedControl/SegmentedControl.js +103 -0
- package/SegmentedControl/SegmentedControlItem.d.ts +54 -0
- package/SegmentedControl/SegmentedControlItem.js +284 -0
- package/SegmentedControl/SegmentedControlList.d.ts +23 -0
- package/SegmentedControl/SegmentedControlList.js +61 -0
- package/SegmentedControl/SegmentedControlPanel.d.ts +21 -0
- package/SegmentedControl/SegmentedControlPanel.js +43 -0
- package/SegmentedControl/index.d.ts +5 -0
- package/SegmentedControl/index.js +10 -0
- package/Spinner/Spinner.d.ts +50 -0
- package/Spinner/Spinner.js +186 -0
- package/Spinner/index.d.ts +2 -0
- package/Spinner/index.js +4 -0
- package/StateLayer/StateLayer.d.ts +17 -0
- package/StateLayer/StateLayer.js +6 -0
- package/StateLayer/index.d.ts +2 -0
- package/StateLayer/index.js +5 -0
- package/Text/Text.d.ts +85 -0
- package/Text/Text.js +103 -0
- package/Text/index.d.ts +2 -0
- package/Text/index.js +4 -0
- package/Tooltip/Tooltip.d.ts +139 -0
- package/Tooltip/Tooltip.js +1827 -0
- package/Tooltip/index.d.ts +2 -0
- package/Tooltip/index.js +5 -0
- package/chunks/Accordion.DYD3XcAx.js +161 -0
- package/chunks/Avatar.C2rfzUGP.js +174 -0
- package/chunks/BreadcrumbsItem.4ZR6wbMz.js +121 -0
- package/chunks/CSSLookup.BdqZ5Li9.js +106 -0
- package/chunks/HelperText.CcVVOtA3.js +108 -0
- package/chunks/Upload.B9YEyp7b.js +12 -0
- package/chunks/WarningOutlined.DPfQnPPj.js +12 -0
- package/chunks/classNames.Cq_tbDRp.js +94 -0
- package/chunks/constants.jOWREYQE.js +30 -0
- package/chunks/delegate.baxDQosr.js +63 -0
- package/chunks/dom.C98AFbJh.js +22 -0
- package/chunks/fileUpload.module.kN6o64aL.js +4 -0
- package/chunks/globals.Bz4SVF2g.js +4 -0
- package/chunks/helpers.AwJwaZvv.js +53 -0
- package/chunks/list.module.CZRPBLzy.js +4 -0
- package/chunks/register-custom-element.DHGKOhmA.js +17 -0
- package/chunks/segmentedControl.module.BPXEWodj.js +4 -0
- package/chunks/tokens.CTW8Tt94.js +9 -0
- package/custom-elements.json +11341 -0
- package/local/Accordion/Accordion.js +12 -0
- package/local/Accordion/AccordionGroup.context.js +8 -0
- package/local/Accordion/AccordionGroup.js +78 -0
- package/local/Accordion/index.js +6 -0
- package/local/Alert/Alert.js +301 -0
- package/local/Alert/index.js +4 -0
- package/local/Avatar/Avatar.js +11 -0
- package/local/Avatar/AvatarGroup.context.js +8 -0
- package/local/Avatar/AvatarGroup.js +180 -0
- package/local/Avatar/index.js +6 -0
- package/local/Badge/Badge.js +123 -0
- package/local/Badge/index.js +4 -0
- package/local/BadgeDot/BadgeDot.js +57 -0
- package/local/BadgeDot/index.js +4 -0
- package/local/Box/Box.js +113 -0
- package/local/Box/index.js +4 -0
- package/local/Breadcrumbs/Breadcrumbs.context.js +8 -0
- package/local/Breadcrumbs/Breadcrumbs.js +113 -0
- package/local/Breadcrumbs/BreadcrumbsItem.js +13 -0
- package/local/Breadcrumbs/index.js +6 -0
- package/local/Button/Button.js +154 -0
- package/local/Button/index.js +4 -0
- package/local/CloseButton/CloseButton.js +58 -0
- package/local/CloseButton/index.js +4 -0
- package/local/Divider/Divider.js +111 -0
- package/local/Divider/index.js +4 -0
- package/local/EmptyState/EmptyState.js +54 -0
- package/local/EmptyState/index.js +4 -0
- package/local/HelperText/HelperText.js +9 -0
- package/local/HelperText/index.js +4 -0
- package/local/Icon/Icon.js +60 -0
- package/local/Icon/index.js +4 -0
- package/local/InputChoiceGroup/InputChoiceGroup.context.js +8 -0
- package/local/InputChoiceGroup/InputChoiceGroup.js +205 -0
- package/local/InputChoiceGroup/index.js +4 -0
- package/local/Link/Link.js +75 -0
- package/local/Link/index.js +4 -0
- package/local/List/List.context.js +8 -0
- package/local/List/List.js +101 -0
- package/local/List/ListItem.js +90 -0
- package/local/List/index.js +6 -0
- package/local/ProgressBar/ProgressBar.js +126 -0
- package/local/ProgressBar/index.js +4 -0
- package/local/SegmentedControl/SegmentedControl.context.js +8 -0
- package/local/SegmentedControl/SegmentedControl.js +103 -0
- package/local/SegmentedControl/SegmentedControlItem.js +284 -0
- package/local/SegmentedControl/SegmentedControlList.js +59 -0
- package/local/SegmentedControl/SegmentedControlPanel.js +41 -0
- package/local/SegmentedControl/index.js +10 -0
- package/local/Spinner/Spinner.js +185 -0
- package/local/Spinner/index.js +4 -0
- package/local/StateLayer/StateLayer.js +6 -0
- package/local/StateLayer/index.js +5 -0
- package/local/Text/Text.js +121 -0
- package/local/Text/index.js +4 -0
- package/local/Tooltip/Tooltip.js +1826 -0
- package/local/Tooltip/index.js +5 -0
- package/local/chunks/Accordion.PGU7OILE.js +161 -0
- package/local/chunks/Avatar.CvTOzaRT.js +172 -0
- package/local/chunks/BreadcrumbsItem.GM6sBp_o.js +121 -0
- package/local/chunks/CSSLookup.BdqZ5Li9.js +106 -0
- package/local/chunks/Upload.B9YEyp7b.js +12 -0
- package/local/chunks/WarningOutlined.DPfQnPPj.js +12 -0
- package/local/chunks/base.D76d76ww.js +9 -0
- package/local/chunks/classNames.C6fNrXWF.js +106 -0
- package/local/chunks/constants.jOWREYQE.js +30 -0
- package/local/chunks/consume.Ce9k1-wN.js +47 -0
- package/local/chunks/context-request-event.Bl9Vpkzl.js +13 -0
- package/local/chunks/create-context.DS1OG3vJ.js +11 -0
- package/local/chunks/delegate.baxDQosr.js +63 -0
- package/local/chunks/directive.kLG6oqUu.js +27 -0
- package/local/chunks/dom.C98AFbJh.js +22 -0
- package/local/chunks/fileUpload.module.kN6o64aL.js +4 -0
- package/local/chunks/globals.Bz4SVF2g.js +4 -0
- package/local/chunks/helpers.BWcXAteC.js +53 -0
- package/local/chunks/index.Bz1Jq4c2.js +106 -0
- package/local/chunks/list.module.CZRPBLzy.js +4 -0
- package/local/chunks/lit-element.CJtt9wj5.js +557 -0
- package/local/chunks/provide.i2FlUkOu.js +110 -0
- package/local/chunks/query-assigned-elements.Drkgpk9q.js +19 -0
- package/local/chunks/query-assigned-nodes.Dgvsf6BR.js +19 -0
- package/local/chunks/query.lbpOn5CD.js +20 -0
- package/local/chunks/ref.B7e1Hu4F.js +107 -0
- package/local/chunks/register-custom-element.vod7zfGv.js +51 -0
- package/local/chunks/segmentedControl.module.BPXEWodj.js +4 -0
- package/local/chunks/state.CqiuSzAl.js +12 -0
- package/local/chunks/tokens.CTW8Tt94.js +9 -0
- package/local/chunks/unsafe-html.BzhXEygn.js +27 -0
- package/local/chunks/unsafe-svg.HSGf1NCU.js +14 -0
- package/local/wip/Checkbox/Checkbox.js +102 -0
- package/local/wip/Checkbox/CheckboxGroup/CheckboxGroup.js +27 -0
- package/local/wip/Checkbox/index.js +6 -0
- package/local/wip/FileUpload/FileUpload.Button.js +75 -0
- package/local/wip/FileUpload/FileUpload.Dropzone.js +149 -0
- package/local/wip/FileUpload/FileUpload.List.Item.js +201 -0
- package/local/wip/FileUpload/FileUpload.List.js +105 -0
- package/local/wip/FileUpload/FileUpload.js +452 -0
- package/local/wip/FileUpload/FileUploadContext.js +8 -0
- package/local/wip/FileUpload/FileUploadListContext.js +8 -0
- package/local/wip/FileUpload/index.js +13 -0
- package/local/wip/Form/Form.context.js +20 -0
- package/local/wip/Form/Form.decorator.js +145 -0
- package/local/wip/Form/Form.js +288 -0
- package/local/wip/Form/Form.utils.js +8 -0
- package/local/wip/Form/index.js +7 -0
- package/local/wip/Label/Label.js +86 -0
- package/local/wip/Label/index.js +4 -0
- package/local/wip/NativeSelect/NativeSelect.js +162 -0
- package/local/wip/NativeSelect/index.js +4 -0
- package/local/wip/RadioButton/RadioButton.js +123 -0
- package/local/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.js +96 -0
- package/local/wip/RadioButton/index.js +6 -0
- package/local/wip/Switch/Switch.js +153 -0
- package/local/wip/Switch/SwitchGroup/SwitchGroup.js +15 -0
- package/local/wip/Switch/index.js +6 -0
- package/local/wip/TextArea/TextArea.js +192 -0
- package/local/wip/TextArea/index.js +4 -0
- package/local/wip/TextField/TextField.js +169 -0
- package/local/wip/TextField/index.js +4 -0
- package/package.json +78 -0
- package/vscode.css-custom-data.json +6 -0
- package/vscode.html-custom-data.json +2704 -0
- package/wip/Checkbox/Checkbox.d.ts +55 -0
- package/wip/Checkbox/Checkbox.js +104 -0
- package/wip/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +11 -0
- package/wip/Checkbox/CheckboxGroup/CheckboxGroup.js +27 -0
- package/wip/Checkbox/index.d.ts +3 -0
- package/wip/Checkbox/index.js +6 -0
- package/wip/FileUpload/FileUpload.Button.d.ts +36 -0
- package/wip/FileUpload/FileUpload.Button.js +77 -0
- package/wip/FileUpload/FileUpload.Dropzone.d.ts +55 -0
- package/wip/FileUpload/FileUpload.Dropzone.js +150 -0
- package/wip/FileUpload/FileUpload.List.Item.d.ts +62 -0
- package/wip/FileUpload/FileUpload.List.Item.js +203 -0
- package/wip/FileUpload/FileUpload.List.d.ts +46 -0
- package/wip/FileUpload/FileUpload.List.js +106 -0
- package/wip/FileUpload/FileUpload.d.ts +101 -0
- package/wip/FileUpload/FileUpload.js +451 -0
- package/wip/FileUpload/FileUploadContext.d.ts +5 -0
- package/wip/FileUpload/FileUploadContext.js +8 -0
- package/wip/FileUpload/FileUploadListContext.d.ts +5 -0
- package/wip/FileUpload/FileUploadListContext.js +8 -0
- package/wip/FileUpload/index.d.ts +6 -0
- package/wip/FileUpload/index.js +13 -0
- package/wip/Form/Form.context.d.ts +19 -0
- package/wip/Form/Form.context.js +20 -0
- package/wip/Form/Form.d.ts +50 -0
- package/wip/Form/Form.decorator.d.ts +47 -0
- package/wip/Form/Form.decorator.js +144 -0
- package/wip/Form/Form.js +288 -0
- package/wip/Form/Form.utils.d.ts +2 -0
- package/wip/Form/Form.utils.js +8 -0
- package/wip/Form/index.d.ts +3 -0
- package/wip/Form/index.js +7 -0
- package/wip/Label/Label.d.ts +43 -0
- package/wip/Label/Label.js +87 -0
- package/wip/Label/index.d.ts +2 -0
- package/wip/Label/index.js +4 -0
- package/wip/NativeSelect/NativeSelect.d.ts +69 -0
- package/wip/NativeSelect/NativeSelect.js +163 -0
- package/wip/NativeSelect/index.d.ts +2 -0
- package/wip/NativeSelect/index.js +4 -0
- package/wip/RadioButton/RadioButton.d.ts +56 -0
- package/wip/RadioButton/RadioButton.js +125 -0
- package/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.d.ts +23 -0
- package/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.js +96 -0
- package/wip/RadioButton/index.d.ts +3 -0
- package/wip/RadioButton/index.js +6 -0
- package/wip/Switch/Switch.d.ts +62 -0
- package/wip/Switch/Switch.js +155 -0
- package/wip/Switch/SwitchGroup/SwitchGroup.d.ts +15 -0
- package/wip/Switch/SwitchGroup/SwitchGroup.js +15 -0
- package/wip/Switch/index.d.ts +3 -0
- package/wip/Switch/index.js +6 -0
- package/wip/TextArea/TextArea.d.ts +89 -0
- package/wip/TextArea/TextArea.js +193 -0
- package/wip/TextArea/index.d.ts +2 -0
- package/wip/TextArea/index.js +4 -0
- package/wip/TextField/TextField.d.ts +70 -0
- package/wip/TextField/TextField.js +169 -0
- package/wip/TextField/index.d.ts +2 -0
- package/wip/TextField/index.js +4 -0
package/List/List.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ListKind, ListSize, ListDensity } from '@viasat/beam-shared/components/list';
|
|
3
|
+
import { ListContext } from './List.context';
|
|
4
|
+
/**
|
|
5
|
+
* @slot default - Add list items to create a List
|
|
6
|
+
*/
|
|
7
|
+
export declare class BmList extends LitElement {
|
|
8
|
+
#private;
|
|
9
|
+
static styles: import('lit').CSSResult;
|
|
10
|
+
private listeners;
|
|
11
|
+
listContext: ListContext;
|
|
12
|
+
parentListContext: ListContext | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Specify the kind of List
|
|
15
|
+
* @default 'ordered'
|
|
16
|
+
*/
|
|
17
|
+
kind?: ListKind;
|
|
18
|
+
/**
|
|
19
|
+
* Specify the size of List
|
|
20
|
+
* @default 'md'
|
|
21
|
+
*/
|
|
22
|
+
size?: ListSize;
|
|
23
|
+
/**
|
|
24
|
+
* Specify the density of the List
|
|
25
|
+
* @default 'md'
|
|
26
|
+
*/
|
|
27
|
+
density?: ListDensity;
|
|
28
|
+
/**
|
|
29
|
+
* Specify if the List has an indentation.
|
|
30
|
+
* Valid only for `unstyled` and `withIcons` List kinds.
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
indent?: boolean;
|
|
34
|
+
updated(): void;
|
|
35
|
+
nested: boolean;
|
|
36
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
37
|
+
}
|
|
38
|
+
declare global {
|
|
39
|
+
interface HTMLElementTagNameMap {
|
|
40
|
+
'bm-list': BmList;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=List.d.ts.map
|
package/List/List.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { provide as w, consume as S } from "@lit/context";
|
|
2
|
+
import { unsafeCSS as P, LitElement as z, html as m } from "lit";
|
|
3
|
+
import { property as d, state as E } from "lit/decorators.js";
|
|
4
|
+
import c from "clsx";
|
|
5
|
+
import { g as M } from "../chunks/classNames.Cq_tbDRp.js";
|
|
6
|
+
import "../chunks/constants.jOWREYQE.js";
|
|
7
|
+
import { l as W } from "../chunks/list.module.CZRPBLzy.js";
|
|
8
|
+
import { c as B } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
|
+
import { ListContext as v } from "./List.context.js";
|
|
10
|
+
var N = Object.defineProperty, O = Object.getOwnPropertyDescriptor, _ = (t) => {
|
|
11
|
+
throw TypeError(t);
|
|
12
|
+
}, n = (t, e, s, a) => {
|
|
13
|
+
for (var o = a > 1 ? void 0 : a ? O(e, s) : e, h = t.length - 1, p; h >= 0; h--)
|
|
14
|
+
(p = t[h]) && (o = (a ? p(e, s, o) : p(o)) || o);
|
|
15
|
+
return a && o && N(e, s, o), o;
|
|
16
|
+
}, k = (t, e, s) => e.has(t) || _("Cannot " + s), y = (t, e, s) => (k(t, e, "read from private field"), s ? s.call(t) : e.get(t)), C = (t, e, s) => e.has(t) ? _("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), f = (t, e, s) => (k(t, e, "access private method"), s), x, u, l, L, $, g;
|
|
17
|
+
const { baseClassNamePrefix: I, classModifierPrefix: r } = M("list");
|
|
18
|
+
let i = class extends z {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments), C(this, l), this.listeners = /* @__PURE__ */ new Set(), this.listContext = {
|
|
21
|
+
kind: void 0,
|
|
22
|
+
size: void 0,
|
|
23
|
+
density: void 0,
|
|
24
|
+
indent: void 0,
|
|
25
|
+
nestCount: 0,
|
|
26
|
+
register: (t) => y(this, x).call(this, t),
|
|
27
|
+
unregister: (t) => y(this, u).call(this, t)
|
|
28
|
+
}, this.indent = !0, C(this, x, (t) => {
|
|
29
|
+
this.listeners.add(t);
|
|
30
|
+
}), C(this, u, (t) => {
|
|
31
|
+
this.listeners.delete(t);
|
|
32
|
+
}), this.nested = !1;
|
|
33
|
+
}
|
|
34
|
+
updated() {
|
|
35
|
+
f(this, l, L).call(this);
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
f(this, l, $).call(this), f(this, l, g).call(this);
|
|
39
|
+
let t = c(
|
|
40
|
+
I,
|
|
41
|
+
`${r}${this.listContext.kind}`,
|
|
42
|
+
`${r}${this.listContext.size}`,
|
|
43
|
+
`${r}density-${this.listContext.density}`,
|
|
44
|
+
this.nested && `${r}density-${this.listContext.density}--nested`
|
|
45
|
+
);
|
|
46
|
+
if (this.listContext.kind === "ordered")
|
|
47
|
+
return m`
|
|
48
|
+
<ol class=${t}>
|
|
49
|
+
<slot></slot>
|
|
50
|
+
</ol>
|
|
51
|
+
`;
|
|
52
|
+
const e = this.listContext.kind === "unstyled" || this.listContext.kind === "withIcons" ? this.listContext.indent : !1;
|
|
53
|
+
return t = c(t, e && `${r}indent`), this.listContext.nestCount > 0 && this.listContext.kind === "withIcons" && (t = c(t, `${r}wcWithIcons`)), m`
|
|
54
|
+
<ul class=${t}>
|
|
55
|
+
<slot></slot>
|
|
56
|
+
</ul>
|
|
57
|
+
`;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
x = /* @__PURE__ */ new WeakMap();
|
|
61
|
+
u = /* @__PURE__ */ new WeakMap();
|
|
62
|
+
l = /* @__PURE__ */ new WeakSet();
|
|
63
|
+
L = function() {
|
|
64
|
+
for (const t of this.listeners)
|
|
65
|
+
t.requestUpdate();
|
|
66
|
+
};
|
|
67
|
+
$ = function() {
|
|
68
|
+
var t, e, s;
|
|
69
|
+
this.listContext.kind = this.kind || ((t = this.parentListContext) == null ? void 0 : t.kind) || "ordered", this.listContext.size = this.size || ((e = this.parentListContext) == null ? void 0 : e.size) || "md", this.listContext.density = this.density || ((s = this.parentListContext) == null ? void 0 : s.density) || "md", this.listContext.indent = this.indent ?? !0;
|
|
70
|
+
};
|
|
71
|
+
g = function() {
|
|
72
|
+
this.parentListContext ? (this.listContext.kind === this.parentListContext.kind && (this.listContext.nestCount = this.parentListContext.nestCount + 1), this.nested = !0) : this.listContext.nestCount = 0;
|
|
73
|
+
};
|
|
74
|
+
i.styles = P(W);
|
|
75
|
+
n([
|
|
76
|
+
w({ context: v })
|
|
77
|
+
], i.prototype, "listContext", 2);
|
|
78
|
+
n([
|
|
79
|
+
S({ context: v, subscribe: !0 })
|
|
80
|
+
], i.prototype, "parentListContext", 2);
|
|
81
|
+
n([
|
|
82
|
+
d({ type: String })
|
|
83
|
+
], i.prototype, "kind", 2);
|
|
84
|
+
n([
|
|
85
|
+
d({ type: String })
|
|
86
|
+
], i.prototype, "size", 2);
|
|
87
|
+
n([
|
|
88
|
+
d({ type: String })
|
|
89
|
+
], i.prototype, "density", 2);
|
|
90
|
+
n([
|
|
91
|
+
d({ type: Boolean })
|
|
92
|
+
], i.prototype, "indent", 2);
|
|
93
|
+
n([
|
|
94
|
+
E()
|
|
95
|
+
], i.prototype, "nested", 2);
|
|
96
|
+
i = n([
|
|
97
|
+
B("bm-list")
|
|
98
|
+
], i);
|
|
99
|
+
export {
|
|
100
|
+
i as BmList
|
|
101
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ListContext } from './List.context';
|
|
3
|
+
/**
|
|
4
|
+
* @slot icon - Specify an Icon for the List.Item
|
|
5
|
+
* @slot default - Specify the text for List.Item
|
|
6
|
+
*/
|
|
7
|
+
export declare class BmListItem extends LitElement {
|
|
8
|
+
#private;
|
|
9
|
+
static styles: import('lit').CSSResult;
|
|
10
|
+
listContext: ListContext | undefined;
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
private _listComponents;
|
|
14
|
+
private _hasList;
|
|
15
|
+
updated(): void;
|
|
16
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'bm-list-item': BmListItem;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
package/List/ListItem.js
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { consume as _ } from "@lit/context";
|
|
2
|
+
import { unsafeCSS as v, LitElement as x, html as m, nothing as $ } from "lit";
|
|
3
|
+
import { queryAssignedElements as g, state as y } from "lit/decorators.js";
|
|
4
|
+
import { unsafeSVG as L } from "lit/directives/unsafe-svg.js";
|
|
5
|
+
import c from "clsx";
|
|
6
|
+
import "../chunks/constants.jOWREYQE.js";
|
|
7
|
+
import { g as w } from "../chunks/classNames.Cq_tbDRp.js";
|
|
8
|
+
import { l as S } from "../chunks/list.module.CZRPBLzy.js";
|
|
9
|
+
import { c as b } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
10
|
+
import { ListContext as E } from "./List.context.js";
|
|
11
|
+
const I = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<path
|
|
13
|
+
fill-rule="evenodd"
|
|
14
|
+
clip-rule="evenodd"
|
|
15
|
+
d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM5 4.99H8C8 6.65 6.66 8 5 8V4.99ZM5 12V10C7.76 10 10 7.75 10 4.99H12C12 8.86 8.87 12 5 12ZM5 18L8.5 13.5L11 16.51L14.5 12L19 18H5Z"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
`, d = ["decimal", "lower-alpha", "lower-roman"], p = ["disc", "circle"];
|
|
20
|
+
var M = Object.defineProperty, k = Object.getOwnPropertyDescriptor, C = (t) => {
|
|
21
|
+
throw TypeError(t);
|
|
22
|
+
}, a = (t, s, e, n) => {
|
|
23
|
+
for (var i = n > 1 ? void 0 : n ? k(s, e) : s, l = t.length - 1, o; l >= 0; l--)
|
|
24
|
+
(o = t[l]) && (i = (n ? o(s, e, i) : o(i)) || i);
|
|
25
|
+
return n && i && M(s, e, i), i;
|
|
26
|
+
}, B = (t, s, e) => s.has(t) || C("Cannot " + e), H = (t, s, e) => s.has(t) ? C("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, e), P = (t, s, e) => (B(t, s, "access private method"), e), h, u;
|
|
27
|
+
const { subElementClassPrefix: f } = w("list");
|
|
28
|
+
let r = class extends x {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments), H(this, h), this._hasList = !1;
|
|
31
|
+
}
|
|
32
|
+
connectedCallback() {
|
|
33
|
+
var t, s;
|
|
34
|
+
super.connectedCallback(), (s = (t = this.listContext) == null ? void 0 : t.register) == null || s.call(t, this);
|
|
35
|
+
}
|
|
36
|
+
disconnectedCallback() {
|
|
37
|
+
var t, s;
|
|
38
|
+
super.disconnectedCallback(), (s = (t = this.listContext) == null ? void 0 : t.unregister) == null || s.call(t, this);
|
|
39
|
+
}
|
|
40
|
+
updated() {
|
|
41
|
+
this._hasList = this._listComponents.length > 0;
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
var e, n, i, l;
|
|
45
|
+
const t = `${f}item`;
|
|
46
|
+
let s = c(
|
|
47
|
+
t,
|
|
48
|
+
`${t}--${(e = this.listContext) == null ? void 0 : e.size}`,
|
|
49
|
+
!this._hasList && `${t}--density-${(n = this.listContext) == null ? void 0 : n.density}`
|
|
50
|
+
);
|
|
51
|
+
if (((i = this.listContext) == null ? void 0 : i.kind) === "ordered") {
|
|
52
|
+
const o = d[this.listContext.nestCount % d.length];
|
|
53
|
+
s = c(s, `${t}--${o}`);
|
|
54
|
+
}
|
|
55
|
+
if (((l = this.listContext) == null ? void 0 : l.kind) === "unordered") {
|
|
56
|
+
const o = p[this.listContext.nestCount % p.length];
|
|
57
|
+
s = c(s, `${t}--${o}`);
|
|
58
|
+
}
|
|
59
|
+
return m` <li class=${s}>
|
|
60
|
+
<span class=${`${t}__content`}>
|
|
61
|
+
${P(this, h, u).call(this)}
|
|
62
|
+
<div>
|
|
63
|
+
<slot></slot>
|
|
64
|
+
</div>
|
|
65
|
+
</span>
|
|
66
|
+
</li>`;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
h = /* @__PURE__ */ new WeakSet();
|
|
70
|
+
u = function() {
|
|
71
|
+
var e, n;
|
|
72
|
+
const t = L(I), s = `${f}item--${(e = this.listContext) == null ? void 0 : e.size}__icon`;
|
|
73
|
+
return m`${((n = this.listContext) == null ? void 0 : n.kind) === "withIcons" ? m`<slot name="icon" class=${s}>${t}</slot>` : $}`;
|
|
74
|
+
};
|
|
75
|
+
r.styles = v(S);
|
|
76
|
+
a([
|
|
77
|
+
_({ context: E, subscribe: !0 })
|
|
78
|
+
], r.prototype, "listContext", 2);
|
|
79
|
+
a([
|
|
80
|
+
g({ selector: "bm-list" })
|
|
81
|
+
], r.prototype, "_listComponents", 2);
|
|
82
|
+
a([
|
|
83
|
+
y()
|
|
84
|
+
], r.prototype, "_hasList", 2);
|
|
85
|
+
r = a([
|
|
86
|
+
b("bm-list-item")
|
|
87
|
+
], r);
|
|
88
|
+
export {
|
|
89
|
+
r as BmListItem
|
|
90
|
+
};
|
package/List/index.d.ts
ADDED
package/List/index.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ProgressBarSize, ProgressBarState } from '@viasat/beam-shared/components/progressBar';
|
|
3
|
+
import { ThemeTypes } from '@viasat/beam-shared/utils/constants';
|
|
4
|
+
/**
|
|
5
|
+
* `bm-progress-bar`
|
|
6
|
+
*/
|
|
7
|
+
export declare class BmProgressBar extends LitElement {
|
|
8
|
+
#private;
|
|
9
|
+
static styles: import('lit').CSSResult[];
|
|
10
|
+
/**
|
|
11
|
+
* Specify the ProgressBar state
|
|
12
|
+
* @default 'active'
|
|
13
|
+
*/
|
|
14
|
+
state: ProgressBarState;
|
|
15
|
+
/**
|
|
16
|
+
* Specify the size of the ProgressBar
|
|
17
|
+
* @default 'md'
|
|
18
|
+
*/
|
|
19
|
+
size: ProgressBarSize;
|
|
20
|
+
/**
|
|
21
|
+
* Provide text for the ProgressBar label
|
|
22
|
+
*/
|
|
23
|
+
label?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Specify helperText for ProgressBar. helperText is required for the Error state.
|
|
26
|
+
*/
|
|
27
|
+
helperText?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Specify if the ProgressBar has no corner radius
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
fullWidth: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Specify the theme of the ProgressBar. By default it inherits the theme from the parent
|
|
35
|
+
*/
|
|
36
|
+
theme: ThemeTypes | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Specify if a ProgressBar is determinate by setting a value between 0 and 100.
|
|
39
|
+
*/
|
|
40
|
+
value?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Specify the aria-label for the ProgressBar
|
|
43
|
+
*/
|
|
44
|
+
progressbarAriaLabel?: string;
|
|
45
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
46
|
+
}
|
|
47
|
+
declare global {
|
|
48
|
+
interface HTMLElementTagNameMap {
|
|
49
|
+
'bm-progress-bar': BmProgressBar;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { unsafeCSS as k, LitElement as y, html as m, nothing as p } from "lit";
|
|
2
|
+
import { property as o } from "lit/decorators.js";
|
|
3
|
+
import $ from "clsx";
|
|
4
|
+
import { t as x } from "../chunks/constants.jOWREYQE.js";
|
|
5
|
+
import { g as w } from "../chunks/classNames.Cq_tbDRp.js";
|
|
6
|
+
import { r as z } from "../chunks/delegate.baxDQosr.js";
|
|
7
|
+
import { c as S } from "../chunks/register-custom-element.DHGKOhmA.js";
|
|
8
|
+
function P(r, e) {
|
|
9
|
+
if (r === "error")
|
|
10
|
+
return Math.max(4, e ?? 4);
|
|
11
|
+
if (r === "success")
|
|
12
|
+
return 100;
|
|
13
|
+
if (e !== void 0)
|
|
14
|
+
return Math.max(0, Math.min(100, e));
|
|
15
|
+
}
|
|
16
|
+
function C(r) {
|
|
17
|
+
return r === "success" ? {
|
|
18
|
+
appearance: "positive",
|
|
19
|
+
hideIcon: !1
|
|
20
|
+
} : r === "error" ? {
|
|
21
|
+
appearance: "negative",
|
|
22
|
+
hideIcon: !1
|
|
23
|
+
} : {
|
|
24
|
+
appearance: "info",
|
|
25
|
+
hideIcon: !0
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
const T = ':root,:host,.bm-light,.bm-dark .bm-inverse,[data-bm-theme~=bm-light]{--bm-comp-progress-bar-color-indicator-default: var( --bm-utility-color-accent-default, #00768f );--bm-comp-progress-bar-color-indicator-success: var( --bm-sem-color-surface-positive-strong, #187c36 );--bm-comp-progress-bar-color-indicator-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-progress-bar-color-track: var(--bm-sem-color-border-02, #d1dae0);--bm-comp-progress-bar-color-label: var(--bm-sem-color-text-primary, #141d24);--bm-comp-progress-bar-radius: var(--bm-sem-radius-round, 624.938rem);--bm-comp-progress-bar-space-label-bottom: var(--bm-sem-space-50, .5rem);--bm-comp-progress-bar-space-status-top: var(--bm-sem-space-25, .25rem);--bm-comp-progress-bar-size-sm-height: var( --bm-primitive-dimension-25, .25rem );--bm-comp-progress-bar-size-md-height: var( --bm-primitive-dimension-50, .5rem );--bm-comp-progress-bar-size-lg-height: var( --bm-primitive-dimension-75, .75rem );--bm-comp-progress-bar-typo-label: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" )}:host,.bm-dark,.bm-light .bm-inverse,[data-bm-theme~=bm-dark]{--bm-comp-progress-bar-color-indicator-default: var( --bm-utility-color-accent-default, #43bfd6 );--bm-comp-progress-bar-color-indicator-success: var( --bm-sem-color-surface-positive-strong, #b3eb9e );--bm-comp-progress-bar-color-indicator-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-progress-bar-color-track: var(--bm-sem-color-border-02, #465967);--bm-comp-progress-bar-color-label: var(--bm-sem-color-text-primary, #ffffff);--bm-comp-progress-bar-radius: var(--bm-sem-radius-round, 624.938rem);--bm-comp-progress-bar-space-label-bottom: var(--bm-sem-space-50, .5rem);--bm-comp-progress-bar-space-status-top: var(--bm-sem-space-25, .25rem);--bm-comp-progress-bar-size-sm-height: var( --bm-primitive-dimension-25, .25rem );--bm-comp-progress-bar-size-md-height: var( --bm-primitive-dimension-50, .5rem );--bm-comp-progress-bar-size-lg-height: var( --bm-primitive-dimension-75, .75rem );--bm-comp-progress-bar-typo-label: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" )}.bm-progress-bar{display:flex;align-items:stretch;flex-direction:column}.bm-progress-bar .bm-progress-bar__label{margin-bottom:var(--bm-comp-progress-bar-space-label-bottom);font:var(--bm-comp-progress-bar-typo-label);color:var(--bm-comp-progress-bar-color-label)}.bm-progress-bar .bm-progress-bar__track{height:var(--bm-comp-progress-bar-size-md-height);border-radius:var(--bm-comp-progress-bar-radius);background-color:var(--bm-comp-progress-bar-color-track);display:flex;overflow:hidden}.bm-progress-bar .bm-progress-bar__status{margin-top:var(--bm-comp-progress-bar-space-status-top)}.bm-progress-bar--sm .bm-progress-bar__track{height:var(--bm-comp-progress-bar-size-sm-height)}.bm-progress-bar--lg .bm-progress-bar__track{height:var(--bm-comp-progress-bar-size-lg-height)}.bm-progress-bar--full-width .bm-progress-bar__track{border-radius:0}.bm-progress-bar--active .bm-progress-bar__indicator{background-color:var(--bm-comp-progress-bar-color-indicator-default)}.bm-progress-bar--success .bm-progress-bar__indicator{background-color:var(--bm-comp-progress-bar-color-indicator-success)}.bm-progress-bar--error .bm-progress-bar__indicator{background-color:var(--bm-comp-progress-bar-color-indicator-error)}.bm-progress-bar--determinate .bm-progress-bar__indicator{transition-property:width;transition-duration:.3s;transition-timing-function:ease-out}.bm-progress-bar--indeterminate.bm-progress-bar--active .bm-progress-bar__indicator{width:100%;-webkit-mask-image:linear-gradient(to right,transparent 43.0555555556%,black 50%,transparent 56.9444444444%);mask-image:linear-gradient(to right,transparent 43.0555555556%,black 50%,transparent 56.9444444444%);-webkit-mask-size:240%;mask-size:240%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;animation:2s linear infinite bm-progress-bar-indeterminate-indicator-animation}.bm-progress-bar--indeterminate.bm-progress-bar--active .bm-progress-bar__indicator:dir(rtl){animation-direction:reverse}@keyframes bm-progress-bar-indeterminate-indicator-animation{0%{-webkit-mask-position:right;mask-position:right}to{-webkit-mask-position:left;mask-position:left}}';
|
|
29
|
+
var W = Object.defineProperty, M = Object.getOwnPropertyDescriptor, _ = (r) => {
|
|
30
|
+
throw TypeError(r);
|
|
31
|
+
}, t = (r, e, s, c) => {
|
|
32
|
+
for (var i = c > 1 ? void 0 : c ? M(e, s) : e, l = r.length - 1, g; l >= 0; l--)
|
|
33
|
+
(g = r[l]) && (i = (c ? g(e, s, i) : g(i)) || i);
|
|
34
|
+
return c && i && W(e, s, i), i;
|
|
35
|
+
}, E = (r, e, s) => e.has(r) || _("Cannot " + s), d = (r, e, s) => (E(r, e, "read from private field"), s ? s.call(r) : e.get(r)), h = (r, e, s) => e.has(r) ? _("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, s), v, u, f;
|
|
36
|
+
const { baseClassNamePrefix: N, subElementClassPrefix: b, classModifierPrefix: n } = w("progress-bar");
|
|
37
|
+
let a = class extends y {
|
|
38
|
+
constructor() {
|
|
39
|
+
super(...arguments), this.state = "active", this.size = "md", this.fullWidth = !1, h(this, v, () => this.label ? m`<label
|
|
40
|
+
id="label"
|
|
41
|
+
for="progress"
|
|
42
|
+
class=${`${b}label`}
|
|
43
|
+
>${this.label}</label
|
|
44
|
+
>` : ""), h(this, u, (r) => {
|
|
45
|
+
const { progressbarAriaLabel: e } = this, s = P(this.state, this.value);
|
|
46
|
+
return m`<div
|
|
47
|
+
id="progress"
|
|
48
|
+
role="progressbar"
|
|
49
|
+
aria-label=${e ?? p}
|
|
50
|
+
aria-labelledby=${this.label ? "label" : p}
|
|
51
|
+
aria-describedby=${this.helperText ? "status" : p}
|
|
52
|
+
aria-valuemin="0"
|
|
53
|
+
aria-valuemax="100"
|
|
54
|
+
aria-valuenow=${this.value ?? p}
|
|
55
|
+
class=${`${b}track`}
|
|
56
|
+
>
|
|
57
|
+
${r === "determinate" ? m`<div
|
|
58
|
+
class=${`${b}indicator`}
|
|
59
|
+
style=${s !== void 0 ? `width: ${s}%` : p}
|
|
60
|
+
></div>` : m`<div class=${`${b}indicator`}></div>`}
|
|
61
|
+
</div>`;
|
|
62
|
+
}), h(this, f, () => {
|
|
63
|
+
if (!this.helperText)
|
|
64
|
+
return "";
|
|
65
|
+
const r = C(this.state);
|
|
66
|
+
return m`
|
|
67
|
+
<bm-helper-text
|
|
68
|
+
id="status"
|
|
69
|
+
class=${`${b}status`}
|
|
70
|
+
.hideIcon=${r.hideIcon}
|
|
71
|
+
appearance=${r.appearance}
|
|
72
|
+
text=${this.helperText}
|
|
73
|
+
></bm-helper-text>
|
|
74
|
+
`;
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
const r = this.state !== "success" && this.value === void 0 ? "indeterminate" : "determinate", e = $(
|
|
79
|
+
N,
|
|
80
|
+
this.theme && x(this.theme),
|
|
81
|
+
`${n}${r}`,
|
|
82
|
+
`${n}${this.state}`,
|
|
83
|
+
this.size && `${n}${this.size}`,
|
|
84
|
+
this.fullWidth && `${n}full-width`,
|
|
85
|
+
this.className
|
|
86
|
+
);
|
|
87
|
+
return m`
|
|
88
|
+
<div class=${e}>
|
|
89
|
+
${d(this, v).call(this)} ${d(this, u).call(this, r)} ${d(this, f).call(this)}
|
|
90
|
+
</div>
|
|
91
|
+
`;
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
v = /* @__PURE__ */ new WeakMap();
|
|
95
|
+
u = /* @__PURE__ */ new WeakMap();
|
|
96
|
+
f = /* @__PURE__ */ new WeakMap();
|
|
97
|
+
z(a);
|
|
98
|
+
a.styles = [k(T)];
|
|
99
|
+
t([
|
|
100
|
+
o({ type: String })
|
|
101
|
+
], a.prototype, "state", 2);
|
|
102
|
+
t([
|
|
103
|
+
o({ type: String })
|
|
104
|
+
], a.prototype, "size", 2);
|
|
105
|
+
t([
|
|
106
|
+
o({ type: String })
|
|
107
|
+
], a.prototype, "label", 2);
|
|
108
|
+
t([
|
|
109
|
+
o({ type: String })
|
|
110
|
+
], a.prototype, "helperText", 2);
|
|
111
|
+
t([
|
|
112
|
+
o({ type: Boolean })
|
|
113
|
+
], a.prototype, "fullWidth", 2);
|
|
114
|
+
t([
|
|
115
|
+
o({ type: String })
|
|
116
|
+
], a.prototype, "theme", 2);
|
|
117
|
+
t([
|
|
118
|
+
o({ type: Number })
|
|
119
|
+
], a.prototype, "value", 2);
|
|
120
|
+
t([
|
|
121
|
+
o({ type: String })
|
|
122
|
+
], a.prototype, "progressbarAriaLabel", 2);
|
|
123
|
+
a = t([
|
|
124
|
+
S("bm-progress-bar")
|
|
125
|
+
], a);
|
|
126
|
+
export {
|
|
127
|
+
a as BmProgressBar
|
|
128
|
+
};
|