@viasat/beam-web-components 2.56.0 → 2.58.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.56.0",
3
+ "version": "2.58.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.56.0",
68
- "@viasat/beam-shared": "2.56.0",
69
- "@viasat/beam-styles": "2.56.0",
70
- "@viasat/beam-tokens": "2.56.0",
71
- "@viasat/beam-icons": "2.56.0",
67
+ "@viasat/beam-fonts": "2.58.0",
68
+ "@viasat/beam-shared": "2.58.0",
69
+ "@viasat/beam-styles": "2.58.0",
70
+ "@viasat/beam-tokens": "2.58.0",
71
+ "@viasat/beam-icons": "2.58.0",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -177,6 +177,142 @@
177
177
  }
178
178
  ]
179
179
  },
180
+ {
181
+ "name": "bm-avatar",
182
+ "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
+ "attributes": [
184
+ {
185
+ "name": "appearance",
186
+ "description": "Specify the appearance of the Avatar",
187
+ "values": [{ "name": "accent" }, { "name": "neutral" }]
188
+ },
189
+ {
190
+ "name": "name",
191
+ "description": "Specify a name to display initials in the Avatar",
192
+ "values": []
193
+ },
194
+ {
195
+ "name": "src",
196
+ "description": "Pass an image to the Avatar",
197
+ "values": []
198
+ },
199
+ { "name": "alt", "description": "Specify alt for image", "values": [] },
200
+ {
201
+ "name": "size",
202
+ "description": "Specify the size of the Avatar",
203
+ "values": [
204
+ { "name": "xs" },
205
+ { "name": "sm" },
206
+ { "name": "md" },
207
+ { "name": "lg" },
208
+ { "name": "xl" }
209
+ ]
210
+ },
211
+ {
212
+ "name": "disabled",
213
+ "description": "Specify if the Avatar is disabled",
214
+ "values": []
215
+ },
216
+ {
217
+ "name": "shape",
218
+ "description": "Specify the shape of the Avatar",
219
+ "values": [{ "name": "circle" }, { "name": "square" }]
220
+ },
221
+ {
222
+ "name": "isInteractive",
223
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
224
+ "values": []
225
+ },
226
+ {
227
+ "name": "isFocusable",
228
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
229
+ "values": []
230
+ },
231
+ { "name": "withBorder", "values": [] }
232
+ ],
233
+ "references": [
234
+ {
235
+ "name": "Storybook",
236
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
237
+ }
238
+ ]
239
+ },
240
+ {
241
+ "name": "bm-avatar-group",
242
+ "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",
243
+ "attributes": [
244
+ {
245
+ "name": "wrapping",
246
+ "description": "Specify if the AvatarGroup wraps",
247
+ "values": []
248
+ },
249
+ {
250
+ "name": "maxCount",
251
+ "description": "Specify the max number of avatars displayed in the group.",
252
+ "values": []
253
+ },
254
+ {
255
+ "name": "size",
256
+ "description": "Specify the size of all Avatars",
257
+ "values": [
258
+ { "name": "xs" },
259
+ { "name": "sm" },
260
+ { "name": "md" },
261
+ { "name": "lg" },
262
+ { "name": "xl" }
263
+ ]
264
+ },
265
+ {
266
+ "name": "layout",
267
+ "description": "Specify the kind of the group.",
268
+ "values": [{ "name": "stacked" }, { "name": "spaced" }]
269
+ }
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-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
+ },
180
316
  {
181
317
  "name": "bm-box",
182
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",
@@ -580,142 +716,6 @@
580
716
  }
581
717
  ]
582
718
  },
583
- {
584
- "name": "bm-badge-dot",
585
- "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",
586
- "attributes": [
587
- {
588
- "name": "theme",
589
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
590
- "values": [{ "name": "light" }, { "name": "dark" }]
591
- },
592
- {
593
- "name": "appearance",
594
- "description": "Specify the appearance of the BadgeDot",
595
- "values": [
596
- { "name": "infoPrimary" },
597
- { "name": "infoSecondary" },
598
- { "name": "positive" },
599
- { "name": "warning" },
600
- { "name": "negative" }
601
- ]
602
- },
603
- {
604
- "name": "emphasis",
605
- "description": "Specify the emphasis of the BadgeDot",
606
- "values": [{ "name": "strong" }, { "name": "subtle" }]
607
- },
608
- {
609
- "name": "overrideDotColor",
610
- "description": "Overrides default dot color",
611
- "values": []
612
- }
613
- ],
614
- "references": [
615
- {
616
- "name": "Storybook",
617
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
618
- }
619
- ]
620
- },
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",
@@ -2261,76 +2261,6 @@
2261
2261
  }
2262
2262
  ]
2263
2263
  },
2264
- {
2265
- "name": "bm-native-select",
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",
2267
- "attributes": [
2268
- {
2269
- "name": "required",
2270
- "description": "Specify if NativeSelect is a required input",
2271
- "values": []
2272
- },
2273
- {
2274
- "name": "readOnly",
2275
- "description": "Specify if NativeSelect displays in a read-only state",
2276
- "values": []
2277
- },
2278
- {
2279
- "name": "disabled",
2280
- "description": "Specify if NativeSelect displays in a disabled state",
2281
- "values": []
2282
- },
2283
- {
2284
- "name": "error",
2285
- "description": "Specify error text and display error state of a NativeSelect",
2286
- "values": []
2287
- },
2288
- {
2289
- "name": "fluid",
2290
- "description": "Specify if NativeSelect is fluid",
2291
- "values": []
2292
- },
2293
- {
2294
- "name": "size",
2295
- "description": "Specify the size of NativeSelect",
2296
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
2297
- },
2298
- {
2299
- "name": "width",
2300
- "description": "Specify the width of NativeSelect",
2301
- "values": []
2302
- },
2303
- {
2304
- "name": "ellipse",
2305
- "description": "Specify if overflow displays ellipsis",
2306
- "values": []
2307
- },
2308
- {
2309
- "name": "hideRequiredMarker",
2310
- "description": "Specify if the NativeSelect displays with an asterisk",
2311
- "values": []
2312
- },
2313
- {
2314
- "name": "theme",
2315
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
2316
- "values": [{ "name": "light" }, { "name": "dark" }]
2317
- },
2318
- { "name": "id", "values": [] },
2319
- { "name": "name", "values": [] },
2320
- { "name": "value", "values": [] },
2321
- {
2322
- "name": "validationRules",
2323
- "values": [{ "name": "Array<FormValidator>" }]
2324
- },
2325
- { "name": "input-aria-label", "values": [] }
2326
- ],
2327
- "references": [
2328
- {
2329
- "name": "Storybook",
2330
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
2331
- }
2332
- ]
2333
- },
2334
2264
  {
2335
2265
  "name": "bm-radio-button",
2336
2266
  "description": "`bm-radio-button`\n\n### Attributes:\n- **label** - Specify the text for the label\n- **error** - Specify error text and display error state of a RadioButton\n- **readOnly** - Specify if RadioButton displays in a read-only state\n- **disabled** - Specify if RadioButton displays in a disabled state\n- **theme** - Specify the theme of the RadioButton. By default it inherits the theme from the parent\n- **value** - The value attribute for the input element\n- **checked** - The checked attribute for the input element\n- **onKeyDown** - A user-defined function to handle keydown events\n---\n",
@@ -2426,6 +2356,76 @@
2426
2356
  }
2427
2357
  ]
2428
2358
  },
2359
+ {
2360
+ "name": "bm-native-select",
2361
+ "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",
2362
+ "attributes": [
2363
+ {
2364
+ "name": "required",
2365
+ "description": "Specify if NativeSelect is a required input",
2366
+ "values": []
2367
+ },
2368
+ {
2369
+ "name": "readOnly",
2370
+ "description": "Specify if NativeSelect displays in a read-only state",
2371
+ "values": []
2372
+ },
2373
+ {
2374
+ "name": "disabled",
2375
+ "description": "Specify if NativeSelect displays in a disabled state",
2376
+ "values": []
2377
+ },
2378
+ {
2379
+ "name": "error",
2380
+ "description": "Specify error text and display error state of a NativeSelect",
2381
+ "values": []
2382
+ },
2383
+ {
2384
+ "name": "fluid",
2385
+ "description": "Specify if NativeSelect is fluid",
2386
+ "values": []
2387
+ },
2388
+ {
2389
+ "name": "size",
2390
+ "description": "Specify the size of NativeSelect",
2391
+ "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
2392
+ },
2393
+ {
2394
+ "name": "width",
2395
+ "description": "Specify the width of NativeSelect",
2396
+ "values": []
2397
+ },
2398
+ {
2399
+ "name": "ellipse",
2400
+ "description": "Specify if overflow displays ellipsis",
2401
+ "values": []
2402
+ },
2403
+ {
2404
+ "name": "hideRequiredMarker",
2405
+ "description": "Specify if the NativeSelect displays with an asterisk",
2406
+ "values": []
2407
+ },
2408
+ {
2409
+ "name": "theme",
2410
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
2411
+ "values": [{ "name": "light" }, { "name": "dark" }]
2412
+ },
2413
+ { "name": "id", "values": [] },
2414
+ { "name": "name", "values": [] },
2415
+ { "name": "value", "values": [] },
2416
+ {
2417
+ "name": "validationRules",
2418
+ "values": [{ "name": "Array<FormValidator>" }]
2419
+ },
2420
+ { "name": "input-aria-label", "values": [] }
2421
+ ],
2422
+ "references": [
2423
+ {
2424
+ "name": "Storybook",
2425
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
2426
+ }
2427
+ ]
2428
+ },
2429
2429
  {
2430
2430
  "name": "bm-text-area",
2431
2431
  "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",