@viasat/beam-web-components 2.60.0 → 2.61.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viasat/beam-web-components",
3
- "version": "2.60.0",
3
+ "version": "2.61.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.60.0",
68
- "@viasat/beam-shared": "2.60.0",
69
- "@viasat/beam-styles": "2.60.0",
70
- "@viasat/beam-tokens": "2.60.0",
71
- "@viasat/beam-icons": "2.60.0",
67
+ "@viasat/beam-fonts": "2.61.0",
68
+ "@viasat/beam-shared": "2.61.0",
69
+ "@viasat/beam-styles": "2.61.0",
70
+ "@viasat/beam-tokens": "2.61.0",
71
+ "@viasat/beam-icons": "2.61.0",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -159,49 +159,6 @@
159
159
  }
160
160
  ]
161
161
  },
162
- {
163
- "name": "bm-badge",
164
- "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",
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
162
  {
206
163
  "name": "bm-alert",
207
164
  "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",
@@ -275,6 +232,87 @@
275
232
  }
276
233
  ]
277
234
  },
235
+ {
236
+ "name": "bm-badge",
237
+ "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",
238
+ "attributes": [
239
+ {
240
+ "name": "appearance",
241
+ "description": "Specify the appearance of the Badge",
242
+ "values": [
243
+ { "name": "infoPrimary" },
244
+ { "name": "infoSecondary" },
245
+ { "name": "positive" },
246
+ { "name": "warning" },
247
+ { "name": "negative" }
248
+ ]
249
+ },
250
+ {
251
+ "name": "theme",
252
+ "description": "Theme of the Badge",
253
+ "values": [{ "name": "light" }, { "name": "dark" }]
254
+ },
255
+ {
256
+ "name": "size",
257
+ "description": "Specify the size of the Badge",
258
+ "values": [{ "name": "sm" }, { "name": "md" }]
259
+ },
260
+ {
261
+ "name": "emphasis",
262
+ "description": "Specify the emphasis of the Badge",
263
+ "values": [
264
+ { "name": "strong" },
265
+ { "name": "medium" },
266
+ { "name": "subtle" }
267
+ ]
268
+ },
269
+ { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
270
+ ],
271
+ "references": [
272
+ {
273
+ "name": "Storybook",
274
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
275
+ }
276
+ ]
277
+ },
278
+ {
279
+ "name": "bm-badge-dot",
280
+ "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",
281
+ "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
+ {
288
+ "name": "appearance",
289
+ "description": "Specify the appearance of the BadgeDot",
290
+ "values": [
291
+ { "name": "infoPrimary" },
292
+ { "name": "infoSecondary" },
293
+ { "name": "positive" },
294
+ { "name": "warning" },
295
+ { "name": "negative" }
296
+ ]
297
+ },
298
+ {
299
+ "name": "emphasis",
300
+ "description": "Specify the emphasis of the BadgeDot",
301
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
302
+ },
303
+ {
304
+ "name": "overrideDotColor",
305
+ "description": "Overrides default dot color",
306
+ "values": []
307
+ }
308
+ ],
309
+ "references": [
310
+ {
311
+ "name": "Storybook",
312
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
313
+ }
314
+ ]
315
+ },
278
316
  {
279
317
  "name": "bm-box",
280
318
  "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow\n---\n\n\n### **Slots:**\n - **default** - Provide content for the Box",
@@ -678,44 +716,6 @@
678
716
  }
679
717
  ]
680
718
  },
681
- {
682
- "name": "bm-badge-dot",
683
- "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",
684
- "attributes": [
685
- {
686
- "name": "theme",
687
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
688
- "values": [{ "name": "light" }, { "name": "dark" }]
689
- },
690
- {
691
- "name": "appearance",
692
- "description": "Specify the appearance of the BadgeDot",
693
- "values": [
694
- { "name": "infoPrimary" },
695
- { "name": "infoSecondary" },
696
- { "name": "positive" },
697
- { "name": "warning" },
698
- { "name": "negative" }
699
- ]
700
- },
701
- {
702
- "name": "emphasis",
703
- "description": "Specify the emphasis of the BadgeDot",
704
- "values": [{ "name": "strong" }, { "name": "subtle" }]
705
- },
706
- {
707
- "name": "overrideDotColor",
708
- "description": "Overrides default dot color",
709
- "values": []
710
- }
711
- ],
712
- "references": [
713
- {
714
- "name": "Storybook",
715
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
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",
@@ -2383,49 +2383,6 @@
2383
2383
  }
2384
2384
  ]
2385
2385
  },
2386
- {
2387
- "name": "bm-switch",
2388
- "description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element\n---\n\n\n### **Slots:**\n - **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2389
- "attributes": [
2390
- {
2391
- "name": "onText",
2392
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2393
- "values": []
2394
- },
2395
- {
2396
- "name": "offText",
2397
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2398
- "values": []
2399
- },
2400
- {
2401
- "name": "textPosition",
2402
- "description": "Specify the position of the side label",
2403
- "values": [{ "name": "before" }, { "name": "after" }]
2404
- },
2405
- {
2406
- "name": "readOnly",
2407
- "description": "Specify if Switch displays in a read-only state",
2408
- "values": []
2409
- },
2410
- {
2411
- "name": "disabled",
2412
- "description": "Specify if Switch displays in a disabled state",
2413
- "values": []
2414
- },
2415
- { "name": "checked", "values": [] },
2416
- {
2417
- "name": "value",
2418
- "description": "The value attribute for the input element",
2419
- "values": []
2420
- }
2421
- ],
2422
- "references": [
2423
- {
2424
- "name": "Storybook",
2425
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2426
- }
2427
- ]
2428
- },
2429
2386
  {
2430
2387
  "name": "bm-text-area",
2431
2388
  "description": "`bm-text-area`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextArea\n- **helper-text** - Specify the helper text for TextArea",
@@ -2516,6 +2473,49 @@
2516
2473
  }
2517
2474
  ]
2518
2475
  },
2476
+ {
2477
+ "name": "bm-switch",
2478
+ "description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element\n---\n\n\n### **Slots:**\n - **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2479
+ "attributes": [
2480
+ {
2481
+ "name": "onText",
2482
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2483
+ "values": []
2484
+ },
2485
+ {
2486
+ "name": "offText",
2487
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2488
+ "values": []
2489
+ },
2490
+ {
2491
+ "name": "textPosition",
2492
+ "description": "Specify the position of the side label",
2493
+ "values": [{ "name": "before" }, { "name": "after" }]
2494
+ },
2495
+ {
2496
+ "name": "readOnly",
2497
+ "description": "Specify if Switch displays in a read-only state",
2498
+ "values": []
2499
+ },
2500
+ {
2501
+ "name": "disabled",
2502
+ "description": "Specify if Switch displays in a disabled state",
2503
+ "values": []
2504
+ },
2505
+ { "name": "checked", "values": [] },
2506
+ {
2507
+ "name": "value",
2508
+ "description": "The value attribute for the input element",
2509
+ "values": []
2510
+ }
2511
+ ],
2512
+ "references": [
2513
+ {
2514
+ "name": "Storybook",
2515
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2516
+ }
2517
+ ]
2518
+ },
2519
2519
  {
2520
2520
  "name": "bm-checkbox-group",
2521
2521
  "description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",