@viasat/beam-web-components 2.19.0 → 2.21.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 +627 -627
- package/package.json +6 -6
- package/vscode.html-custom-data.json +136 -136
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.0",
|
|
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.21.0",
|
|
68
|
+
"@viasat/beam-shared": "2.21.0",
|
|
69
|
+
"@viasat/beam-styles": "2.21.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.21.0",
|
|
71
|
+
"@viasat/beam-icons": "2.21.0",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -160,80 +160,17 @@
|
|
|
160
160
|
]
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"name": "bm-badge",
|
|
164
|
-
"description": "`bm-badge`\n\n### Attributes:\n- **
|
|
165
|
-
"attributes": [
|
|
166
|
-
{
|
|
167
|
-
"name": "appearance",
|
|
168
|
-
"description": "Specify the appearance of the Badge",
|
|
169
|
-
"values": [
|
|
170
|
-
{ "name": "infoPrimary" },
|
|
171
|
-
{ "name": "infoSecondary" },
|
|
172
|
-
{ "name": "positive" },
|
|
173
|
-
{ "name": "warning" },
|
|
174
|
-
{ "name": "negative" }
|
|
175
|
-
]
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"name": "theme",
|
|
179
|
-
"description": "Theme of the Badge",
|
|
180
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"name": "size",
|
|
184
|
-
"description": "Specify the size of the Badge",
|
|
185
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"name": "emphasis",
|
|
189
|
-
"description": "Specify the emphasis of the Badge",
|
|
190
|
-
"values": [
|
|
191
|
-
{ "name": "strong" },
|
|
192
|
-
{ "name": "medium" },
|
|
193
|
-
{ "name": "subtle" }
|
|
194
|
-
]
|
|
195
|
-
},
|
|
196
|
-
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
197
|
-
],
|
|
198
|
-
"references": [
|
|
199
|
-
{
|
|
200
|
-
"name": "Storybook",
|
|
201
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"name": "bm-alert",
|
|
207
|
-
"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",
|
|
163
|
+
"name": "bm-badge-dot",
|
|
164
|
+
"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",
|
|
208
165
|
"attributes": [
|
|
209
|
-
{
|
|
210
|
-
"name": "heading",
|
|
211
|
-
"description": "Specify the heading text for Alert",
|
|
212
|
-
"values": []
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "body",
|
|
216
|
-
"description": "Specify the body text for Alert",
|
|
217
|
-
"values": []
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"name": "size",
|
|
221
|
-
"description": "Specify the size of the Alert",
|
|
222
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"name": "fullWidth",
|
|
226
|
-
"description": "Specify if the Alert has no border radius",
|
|
227
|
-
"values": []
|
|
228
|
-
},
|
|
229
166
|
{
|
|
230
167
|
"name": "theme",
|
|
231
|
-
"description": "Specify the theme of the
|
|
168
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
232
169
|
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
233
170
|
},
|
|
234
171
|
{
|
|
235
172
|
"name": "appearance",
|
|
236
|
-
"description": "Specify the appearance of the
|
|
173
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
237
174
|
"values": [
|
|
238
175
|
{ "name": "infoPrimary" },
|
|
239
176
|
{ "name": "infoSecondary" },
|
|
@@ -243,50 +180,30 @@
|
|
|
243
180
|
]
|
|
244
181
|
},
|
|
245
182
|
{
|
|
246
|
-
"name": "
|
|
247
|
-
"description": "Specify
|
|
248
|
-
"values": []
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"name": "hideIcon",
|
|
252
|
-
"description": "Specify if the icon displays on the Alert",
|
|
253
|
-
"values": []
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "dismissible",
|
|
257
|
-
"description": "Specify if the Alert can be dismissed",
|
|
258
|
-
"values": []
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"name": "disableAutoFocus",
|
|
262
|
-
"description": "Prevent autofocus on show",
|
|
263
|
-
"values": []
|
|
183
|
+
"name": "emphasis",
|
|
184
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
185
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
264
186
|
},
|
|
265
187
|
{
|
|
266
|
-
"name": "
|
|
267
|
-
"description": "
|
|
188
|
+
"name": "overrideDotColor",
|
|
189
|
+
"description": "Overrides default dot color",
|
|
268
190
|
"values": []
|
|
269
191
|
}
|
|
270
192
|
],
|
|
271
193
|
"references": [
|
|
272
194
|
{
|
|
273
195
|
"name": "Storybook",
|
|
274
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
196
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
275
197
|
}
|
|
276
198
|
]
|
|
277
199
|
},
|
|
278
200
|
{
|
|
279
|
-
"name": "bm-badge
|
|
280
|
-
"description": "`bm-badge
|
|
201
|
+
"name": "bm-badge",
|
|
202
|
+
"description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon\n---\n\n\n### **Slots:**\n - **default** - Provide text for the Badge\n- **icon** - Specify a different icon for the Badge",
|
|
281
203
|
"attributes": [
|
|
282
|
-
{
|
|
283
|
-
"name": "theme",
|
|
284
|
-
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
285
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
286
|
-
},
|
|
287
204
|
{
|
|
288
205
|
"name": "appearance",
|
|
289
|
-
"description": "Specify the appearance of the
|
|
206
|
+
"description": "Specify the appearance of the Badge",
|
|
290
207
|
"values": [
|
|
291
208
|
{ "name": "infoPrimary" },
|
|
292
209
|
{ "name": "infoSecondary" },
|
|
@@ -296,20 +213,30 @@
|
|
|
296
213
|
]
|
|
297
214
|
},
|
|
298
215
|
{
|
|
299
|
-
"name": "
|
|
300
|
-
"description": "
|
|
301
|
-
"values": [{ "name": "
|
|
216
|
+
"name": "theme",
|
|
217
|
+
"description": "Theme of the Badge",
|
|
218
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
302
219
|
},
|
|
303
220
|
{
|
|
304
|
-
"name": "
|
|
305
|
-
"description": "
|
|
306
|
-
"values": []
|
|
307
|
-
}
|
|
221
|
+
"name": "size",
|
|
222
|
+
"description": "Specify the size of the Badge",
|
|
223
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "emphasis",
|
|
227
|
+
"description": "Specify the emphasis of the Badge",
|
|
228
|
+
"values": [
|
|
229
|
+
{ "name": "strong" },
|
|
230
|
+
{ "name": "medium" },
|
|
231
|
+
{ "name": "subtle" }
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
308
235
|
],
|
|
309
236
|
"references": [
|
|
310
237
|
{
|
|
311
238
|
"name": "Storybook",
|
|
312
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
239
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
313
240
|
}
|
|
314
241
|
]
|
|
315
242
|
},
|
|
@@ -716,6 +643,79 @@
|
|
|
716
643
|
}
|
|
717
644
|
]
|
|
718
645
|
},
|
|
646
|
+
{
|
|
647
|
+
"name": "bm-alert",
|
|
648
|
+
"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",
|
|
649
|
+
"attributes": [
|
|
650
|
+
{
|
|
651
|
+
"name": "heading",
|
|
652
|
+
"description": "Specify the heading text for Alert",
|
|
653
|
+
"values": []
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "body",
|
|
657
|
+
"description": "Specify the body text for Alert",
|
|
658
|
+
"values": []
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "size",
|
|
662
|
+
"description": "Specify the size of the Alert",
|
|
663
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"name": "fullWidth",
|
|
667
|
+
"description": "Specify if the Alert has no border radius",
|
|
668
|
+
"values": []
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"name": "theme",
|
|
672
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
673
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "appearance",
|
|
677
|
+
"description": "Specify the appearance of the Alert",
|
|
678
|
+
"values": [
|
|
679
|
+
{ "name": "infoPrimary" },
|
|
680
|
+
{ "name": "infoSecondary" },
|
|
681
|
+
{ "name": "positive" },
|
|
682
|
+
{ "name": "warning" },
|
|
683
|
+
{ "name": "negative" }
|
|
684
|
+
]
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "hidden",
|
|
688
|
+
"description": "Specify if the Alert is hidden",
|
|
689
|
+
"values": []
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "hideIcon",
|
|
693
|
+
"description": "Specify if the icon displays on the Alert",
|
|
694
|
+
"values": []
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "dismissible",
|
|
698
|
+
"description": "Specify if the Alert can be dismissed",
|
|
699
|
+
"values": []
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "disableAutoFocus",
|
|
703
|
+
"description": "Prevent autofocus on show",
|
|
704
|
+
"values": []
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "disableCloseOnEscape",
|
|
708
|
+
"description": "Prevent Escape from closing",
|
|
709
|
+
"values": []
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
"references": [
|
|
713
|
+
{
|
|
714
|
+
"name": "Storybook",
|
|
715
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
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",
|
|
@@ -873,38 +873,6 @@
|
|
|
873
873
|
}
|
|
874
874
|
]
|
|
875
875
|
},
|
|
876
|
-
{
|
|
877
|
-
"name": "bm-empty-state",
|
|
878
|
-
"description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **icon** - Specify an icon for EmptyState\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Add actions to EmptyState",
|
|
879
|
-
"attributes": [
|
|
880
|
-
{
|
|
881
|
-
"name": "heading",
|
|
882
|
-
"description": "Specify heading text for EmptyState",
|
|
883
|
-
"values": []
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
"name": "body",
|
|
887
|
-
"description": "Specify body text for EmptyState",
|
|
888
|
-
"values": []
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
"name": "actions",
|
|
892
|
-
"description": "Specify action for EmptyState",
|
|
893
|
-
"values": [{ "name": "HTMLSlotElement" }]
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
"name": "theme",
|
|
897
|
-
"description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
|
|
898
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
899
|
-
}
|
|
900
|
-
],
|
|
901
|
-
"references": [
|
|
902
|
-
{
|
|
903
|
-
"name": "Storybook",
|
|
904
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-emptystate"
|
|
905
|
-
}
|
|
906
|
-
]
|
|
907
|
-
},
|
|
908
876
|
{
|
|
909
877
|
"name": "bm-divider",
|
|
910
878
|
"description": "`bm-divider`\n\n### Attributes:\n- **orientation** - Specify the direction of the Divider\n- **borderColor** - Specify the border color of the divider line\n- **borderWidth** - Specify the width of the divider line\n- **borderStyle** - Specify the style of the divider line\n- **alignContent** - Align content to the divider line\n- **length** \n- **inset** - Add equal padding to each side of the Divider\n---\n\n\n### **Slots:**\n - **default** - Add text to the Divider\n- **icon** - Add an icon to the Divider",
|
|
@@ -989,6 +957,38 @@
|
|
|
989
957
|
}
|
|
990
958
|
]
|
|
991
959
|
},
|
|
960
|
+
{
|
|
961
|
+
"name": "bm-empty-state",
|
|
962
|
+
"description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **icon** - Specify an icon for EmptyState\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Add actions to EmptyState",
|
|
963
|
+
"attributes": [
|
|
964
|
+
{
|
|
965
|
+
"name": "heading",
|
|
966
|
+
"description": "Specify heading text for EmptyState",
|
|
967
|
+
"values": []
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "body",
|
|
971
|
+
"description": "Specify body text for EmptyState",
|
|
972
|
+
"values": []
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"name": "actions",
|
|
976
|
+
"description": "Specify action for EmptyState",
|
|
977
|
+
"values": [{ "name": "HTMLSlotElement" }]
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"name": "theme",
|
|
981
|
+
"description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
|
|
982
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
983
|
+
}
|
|
984
|
+
],
|
|
985
|
+
"references": [
|
|
986
|
+
{
|
|
987
|
+
"name": "Storybook",
|
|
988
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-emptystate"
|
|
989
|
+
}
|
|
990
|
+
]
|
|
991
|
+
},
|
|
992
992
|
{
|
|
993
993
|
"name": "bm-helper-text",
|
|
994
994
|
"description": "### Attributes:\n- **appearance** - Specify the appearance of the HelperText\n- **size** - Specify the size of the HelperText\n- **disabled** - Specify if the message is disabled for HelpText\n- **hideIcon** - Specify if the icon displays on the HelperText\n- **text** - Add or customize content in the HelperText\n- **theme** - Specify the theme of the HelperText. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Add or customize content in the HelperText\n- **icon** - Specify a different icon for the HelperText",
|