@viasat/beam-web-components 2.38.1 → 2.39.1
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 +2641 -2641
- package/package.json +6 -6
- package/vscode.html-custom-data.json +161 -161
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.39.1",
|
|
4
4
|
"description": "Framework-agnostic web components for the Beam Design System built with Lit, compatible with Angular, Vue, Svelte, and vanilla JavaScript",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Viasat",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@viasat/beam-fonts": "2.
|
|
68
|
-
"@viasat/beam-shared": "2.
|
|
69
|
-
"@viasat/beam-styles": "2.
|
|
70
|
-
"@viasat/beam-tokens": "2.
|
|
71
|
-
"@viasat/beam-icons": "2.
|
|
67
|
+
"@viasat/beam-fonts": "2.39.1",
|
|
68
|
+
"@viasat/beam-shared": "2.39.1",
|
|
69
|
+
"@viasat/beam-styles": "2.39.1",
|
|
70
|
+
"@viasat/beam-tokens": "2.39.1",
|
|
71
|
+
"@viasat/beam-icons": "2.39.1",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -104,6 +104,44 @@
|
|
|
104
104
|
}
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
"name": "bm-badge-dot",
|
|
109
|
+
"description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color\n---\n\n\n### **Slots:**\n - **default** - Provide text for the BadgeDot",
|
|
110
|
+
"attributes": [
|
|
111
|
+
{
|
|
112
|
+
"name": "theme",
|
|
113
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
114
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "appearance",
|
|
118
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
119
|
+
"values": [
|
|
120
|
+
{ "name": "infoPrimary" },
|
|
121
|
+
{ "name": "infoSecondary" },
|
|
122
|
+
{ "name": "positive" },
|
|
123
|
+
{ "name": "warning" },
|
|
124
|
+
{ "name": "negative" }
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "emphasis",
|
|
129
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
130
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "overrideDotColor",
|
|
134
|
+
"description": "Overrides default dot color",
|
|
135
|
+
"values": []
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"references": [
|
|
139
|
+
{
|
|
140
|
+
"name": "Storybook",
|
|
141
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
107
145
|
{
|
|
108
146
|
"name": "bm-alert",
|
|
109
147
|
"description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing\n---\n\n\n### **Events:**\n - **bm-dismiss** - Dispatched when the Alert has been dismissed\n\n### **Slots:**\n - **icon** - Specify a different icon for the Alert\n- **heading** - Specify the heading text for Alert or pass the `heading` attribute to set the heading\n- **body** - Specify the body text for Alert or pass the `body` attribute to set the body\n- **actions** - Specify if actions display on the Alert",
|
|
@@ -178,40 +216,100 @@
|
|
|
178
216
|
]
|
|
179
217
|
},
|
|
180
218
|
{
|
|
181
|
-
"name": "bm-
|
|
182
|
-
"description": "`bm-
|
|
219
|
+
"name": "bm-avatar",
|
|
220
|
+
"description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** \n---\n\n\n### **Slots:**\n - **icon** - Customize the default icon",
|
|
183
221
|
"attributes": [
|
|
184
222
|
{
|
|
185
|
-
"name": "
|
|
186
|
-
"description": "Specify the
|
|
187
|
-
"values": [{ "name": "
|
|
223
|
+
"name": "appearance",
|
|
224
|
+
"description": "Specify the appearance of the Avatar",
|
|
225
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
188
226
|
},
|
|
189
227
|
{
|
|
190
|
-
"name": "
|
|
191
|
-
"description": "Specify
|
|
228
|
+
"name": "name",
|
|
229
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
230
|
+
"values": []
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "src",
|
|
234
|
+
"description": "Pass an image to the Avatar",
|
|
235
|
+
"values": []
|
|
236
|
+
},
|
|
237
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
238
|
+
{
|
|
239
|
+
"name": "size",
|
|
240
|
+
"description": "Specify the size of the Avatar",
|
|
192
241
|
"values": [
|
|
193
|
-
{ "name": "
|
|
194
|
-
{ "name": "
|
|
195
|
-
{ "name": "
|
|
196
|
-
{ "name": "
|
|
197
|
-
{ "name": "
|
|
242
|
+
{ "name": "xs" },
|
|
243
|
+
{ "name": "sm" },
|
|
244
|
+
{ "name": "md" },
|
|
245
|
+
{ "name": "lg" },
|
|
246
|
+
{ "name": "xl" }
|
|
198
247
|
]
|
|
199
248
|
},
|
|
200
249
|
{
|
|
201
|
-
"name": "
|
|
202
|
-
"description": "Specify the
|
|
203
|
-
"values": [
|
|
250
|
+
"name": "disabled",
|
|
251
|
+
"description": "Specify if the Avatar is disabled",
|
|
252
|
+
"values": []
|
|
204
253
|
},
|
|
205
254
|
{
|
|
206
|
-
"name": "
|
|
207
|
-
"description": "
|
|
255
|
+
"name": "shape",
|
|
256
|
+
"description": "Specify the shape of the Avatar",
|
|
257
|
+
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "isInteractive",
|
|
261
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
262
|
+
"values": []
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "isFocusable",
|
|
266
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
267
|
+
"values": []
|
|
268
|
+
},
|
|
269
|
+
{ "name": "withBorder", "values": [] }
|
|
270
|
+
],
|
|
271
|
+
"references": [
|
|
272
|
+
{
|
|
273
|
+
"name": "Storybook",
|
|
274
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "bm-avatar-group",
|
|
280
|
+
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.\n---\n\n\n### **Slots:**\n - **default** - Add Avatars to create a group",
|
|
281
|
+
"attributes": [
|
|
282
|
+
{
|
|
283
|
+
"name": "wrapping",
|
|
284
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
208
285
|
"values": []
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "maxCount",
|
|
289
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
290
|
+
"values": []
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "size",
|
|
294
|
+
"description": "Specify the size of all Avatars",
|
|
295
|
+
"values": [
|
|
296
|
+
{ "name": "xs" },
|
|
297
|
+
{ "name": "sm" },
|
|
298
|
+
{ "name": "md" },
|
|
299
|
+
{ "name": "lg" },
|
|
300
|
+
{ "name": "xl" }
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "layout",
|
|
305
|
+
"description": "Specify the kind of the group.",
|
|
306
|
+
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
209
307
|
}
|
|
210
308
|
],
|
|
211
309
|
"references": [
|
|
212
310
|
{
|
|
213
311
|
"name": "Storybook",
|
|
214
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
312
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
215
313
|
}
|
|
216
314
|
]
|
|
217
315
|
},
|
|
@@ -618,104 +716,6 @@
|
|
|
618
716
|
}
|
|
619
717
|
]
|
|
620
718
|
},
|
|
621
|
-
{
|
|
622
|
-
"name": "bm-avatar",
|
|
623
|
-
"description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** \n---\n\n\n### **Slots:**\n - **icon** - Customize the default icon",
|
|
624
|
-
"attributes": [
|
|
625
|
-
{
|
|
626
|
-
"name": "appearance",
|
|
627
|
-
"description": "Specify the appearance of the Avatar",
|
|
628
|
-
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
"name": "name",
|
|
632
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
633
|
-
"values": []
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"name": "src",
|
|
637
|
-
"description": "Pass an image to the Avatar",
|
|
638
|
-
"values": []
|
|
639
|
-
},
|
|
640
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
641
|
-
{
|
|
642
|
-
"name": "size",
|
|
643
|
-
"description": "Specify the size of the Avatar",
|
|
644
|
-
"values": [
|
|
645
|
-
{ "name": "xs" },
|
|
646
|
-
{ "name": "sm" },
|
|
647
|
-
{ "name": "md" },
|
|
648
|
-
{ "name": "lg" },
|
|
649
|
-
{ "name": "xl" }
|
|
650
|
-
]
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
"name": "disabled",
|
|
654
|
-
"description": "Specify if the Avatar is disabled",
|
|
655
|
-
"values": []
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
"name": "shape",
|
|
659
|
-
"description": "Specify the shape of the Avatar",
|
|
660
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"name": "isInteractive",
|
|
664
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
665
|
-
"values": []
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
"name": "isFocusable",
|
|
669
|
-
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
670
|
-
"values": []
|
|
671
|
-
},
|
|
672
|
-
{ "name": "withBorder", "values": [] }
|
|
673
|
-
],
|
|
674
|
-
"references": [
|
|
675
|
-
{
|
|
676
|
-
"name": "Storybook",
|
|
677
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
678
|
-
}
|
|
679
|
-
]
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "bm-avatar-group",
|
|
683
|
-
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.\n---\n\n\n### **Slots:**\n - **default** - Add Avatars to create a group",
|
|
684
|
-
"attributes": [
|
|
685
|
-
{
|
|
686
|
-
"name": "wrapping",
|
|
687
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
688
|
-
"values": []
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
"name": "maxCount",
|
|
692
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
693
|
-
"values": []
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"name": "size",
|
|
697
|
-
"description": "Specify the size of all Avatars",
|
|
698
|
-
"values": [
|
|
699
|
-
{ "name": "xs" },
|
|
700
|
-
{ "name": "sm" },
|
|
701
|
-
{ "name": "md" },
|
|
702
|
-
{ "name": "lg" },
|
|
703
|
-
{ "name": "xl" }
|
|
704
|
-
]
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"name": "layout",
|
|
708
|
-
"description": "Specify the kind of the group.",
|
|
709
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
710
|
-
}
|
|
711
|
-
],
|
|
712
|
-
"references": [
|
|
713
|
-
{
|
|
714
|
-
"name": "Storybook",
|
|
715
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
716
|
-
}
|
|
717
|
-
]
|
|
718
|
-
},
|
|
719
719
|
{
|
|
720
720
|
"name": "bm-breadcrumb",
|
|
721
721
|
"description": "`bm-breadcrumb`\n\n### Attributes:\n- **wrap** - Specify if items wrap or collapse to an ellipsis\n- **itemsBeforeCollapse** - Specify how many items show before ellipsis\n- **itemsAfterCollapse** - Specify how many items show after ellipsis\n- **theme** - Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Pass items to the Breadcrumb",
|
|
@@ -1909,6 +1909,51 @@
|
|
|
1909
1909
|
}
|
|
1910
1910
|
]
|
|
1911
1911
|
},
|
|
1912
|
+
{
|
|
1913
|
+
"name": "bm-form",
|
|
1914
|
+
"description": "`bm-form`\n---\n\n\n### **Events:**\n - **submit** - Validates the inputs and submits the form\n\n### **Slots:**\n - **slot** - Add controls to the Form",
|
|
1915
|
+
"attributes": [
|
|
1916
|
+
{
|
|
1917
|
+
"name": "validationMode",
|
|
1918
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
1919
|
+
"values": [
|
|
1920
|
+
{ "name": "onChange" },
|
|
1921
|
+
{ "name": "onBlur" },
|
|
1922
|
+
{ "name": "onSubmit" }
|
|
1923
|
+
]
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "initialValues",
|
|
1927
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
1928
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "required",
|
|
1932
|
+
"description": "Specify if input is a required",
|
|
1933
|
+
"values": []
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
"name": "disabled",
|
|
1937
|
+
"description": "Specify if input is a disabled",
|
|
1938
|
+
"values": []
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"name": "readOnly",
|
|
1942
|
+
"description": "Specify if input is a read only",
|
|
1943
|
+
"values": []
|
|
1944
|
+
},
|
|
1945
|
+
{ "name": "action", "values": [] },
|
|
1946
|
+
{ "name": "method", "values": [] },
|
|
1947
|
+
{ "name": "target", "values": [] },
|
|
1948
|
+
{ "name": "enctype", "values": [] }
|
|
1949
|
+
],
|
|
1950
|
+
"references": [
|
|
1951
|
+
{
|
|
1952
|
+
"name": "Storybook",
|
|
1953
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
1954
|
+
}
|
|
1955
|
+
]
|
|
1956
|
+
},
|
|
1912
1957
|
{
|
|
1913
1958
|
"name": "bm-file-upload-button",
|
|
1914
1959
|
"description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded\n---\n\n\n### **Slots:**\n - **default** - Specify text for the Button\n- **iconBefore** - Specify if the Button displays icon before the text\n- **iconAfter** - Specify if the Button displays icon after the text",
|
|
@@ -2216,51 +2261,6 @@
|
|
|
2216
2261
|
}
|
|
2217
2262
|
]
|
|
2218
2263
|
},
|
|
2219
|
-
{
|
|
2220
|
-
"name": "bm-form",
|
|
2221
|
-
"description": "`bm-form`\n---\n\n\n### **Events:**\n - **submit** - Validates the inputs and submits the form\n\n### **Slots:**\n - **slot** - Add controls to the Form",
|
|
2222
|
-
"attributes": [
|
|
2223
|
-
{
|
|
2224
|
-
"name": "validationMode",
|
|
2225
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
2226
|
-
"values": [
|
|
2227
|
-
{ "name": "onChange" },
|
|
2228
|
-
{ "name": "onBlur" },
|
|
2229
|
-
{ "name": "onSubmit" }
|
|
2230
|
-
]
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
"name": "initialValues",
|
|
2234
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
2235
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2236
|
-
},
|
|
2237
|
-
{
|
|
2238
|
-
"name": "required",
|
|
2239
|
-
"description": "Specify if input is a required",
|
|
2240
|
-
"values": []
|
|
2241
|
-
},
|
|
2242
|
-
{
|
|
2243
|
-
"name": "disabled",
|
|
2244
|
-
"description": "Specify if input is a disabled",
|
|
2245
|
-
"values": []
|
|
2246
|
-
},
|
|
2247
|
-
{
|
|
2248
|
-
"name": "readOnly",
|
|
2249
|
-
"description": "Specify if input is a read only",
|
|
2250
|
-
"values": []
|
|
2251
|
-
},
|
|
2252
|
-
{ "name": "action", "values": [] },
|
|
2253
|
-
{ "name": "method", "values": [] },
|
|
2254
|
-
{ "name": "target", "values": [] },
|
|
2255
|
-
{ "name": "enctype", "values": [] }
|
|
2256
|
-
],
|
|
2257
|
-
"references": [
|
|
2258
|
-
{
|
|
2259
|
-
"name": "Storybook",
|
|
2260
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2261
|
-
}
|
|
2262
|
-
]
|
|
2263
|
-
},
|
|
2264
2264
|
{
|
|
2265
2265
|
"name": "bm-native-select",
|
|
2266
2266
|
"description": "`bm-native-select`\n---\n\n\n### **Slots:**\n - **slot** - Specify Options for NativeSelect\n- **label** - Specify Label for NativeSelect\n- **helper-text** - Specify HelperText for NativeSelect",
|