@viasat/beam-web-components 2.55.1 → 2.56.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.55.1",
3
+ "version": "2.56.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.55.1",
68
- "@viasat/beam-shared": "2.55.1",
69
- "@viasat/beam-styles": "2.55.1",
70
- "@viasat/beam-tokens": "2.55.1",
71
- "@viasat/beam-icons": "2.55.1",
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",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -134,104 +134,6 @@
134
134
  }
135
135
  ]
136
136
  },
137
- {
138
- "name": "bm-avatar",
139
- "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",
140
- "attributes": [
141
- {
142
- "name": "appearance",
143
- "description": "Specify the appearance of the Avatar",
144
- "values": [{ "name": "accent" }, { "name": "neutral" }]
145
- },
146
- {
147
- "name": "name",
148
- "description": "Specify a name to display initials in the Avatar",
149
- "values": []
150
- },
151
- {
152
- "name": "src",
153
- "description": "Pass an image to the Avatar",
154
- "values": []
155
- },
156
- { "name": "alt", "description": "Specify alt for image", "values": [] },
157
- {
158
- "name": "size",
159
- "description": "Specify the size of the Avatar",
160
- "values": [
161
- { "name": "xs" },
162
- { "name": "sm" },
163
- { "name": "md" },
164
- { "name": "lg" },
165
- { "name": "xl" }
166
- ]
167
- },
168
- {
169
- "name": "disabled",
170
- "description": "Specify if the Avatar is disabled",
171
- "values": []
172
- },
173
- {
174
- "name": "shape",
175
- "description": "Specify the shape of the Avatar",
176
- "values": [{ "name": "circle" }, { "name": "square" }]
177
- },
178
- {
179
- "name": "isInteractive",
180
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
181
- "values": []
182
- },
183
- {
184
- "name": "isFocusable",
185
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
186
- "values": []
187
- },
188
- { "name": "withBorder", "values": [] }
189
- ],
190
- "references": [
191
- {
192
- "name": "Storybook",
193
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
194
- }
195
- ]
196
- },
197
- {
198
- "name": "bm-avatar-group",
199
- "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",
200
- "attributes": [
201
- {
202
- "name": "wrapping",
203
- "description": "Specify if the AvatarGroup wraps",
204
- "values": []
205
- },
206
- {
207
- "name": "maxCount",
208
- "description": "Specify the max number of avatars displayed in the group.",
209
- "values": []
210
- },
211
- {
212
- "name": "size",
213
- "description": "Specify the size of all Avatars",
214
- "values": [
215
- { "name": "xs" },
216
- { "name": "sm" },
217
- { "name": "md" },
218
- { "name": "lg" },
219
- { "name": "xl" }
220
- ]
221
- },
222
- {
223
- "name": "layout",
224
- "description": "Specify the kind of the group.",
225
- "values": [{ "name": "stacked" }, { "name": "spaced" }]
226
- }
227
- ],
228
- "references": [
229
- {
230
- "name": "Storybook",
231
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
232
- }
233
- ]
234
- },
235
137
  {
236
138
  "name": "bm-badge",
237
139
  "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",
@@ -275,105 +177,6 @@
275
177
  }
276
178
  ]
277
179
  },
278
- {
279
- "name": "bm-breadcrumb",
280
- "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",
281
- "attributes": [
282
- {
283
- "name": "wrap",
284
- "description": "Specify if items wrap or collapse to an ellipsis",
285
- "values": []
286
- },
287
- {
288
- "name": "itemsBeforeCollapse",
289
- "description": "Specify how many items show before ellipsis",
290
- "values": []
291
- },
292
- {
293
- "name": "itemsAfterCollapse",
294
- "description": "Specify how many items show after ellipsis",
295
- "values": []
296
- },
297
- {
298
- "name": "theme",
299
- "description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
300
- "values": [{ "name": "light" }, { "name": "dark" }]
301
- }
302
- ],
303
- "references": [
304
- {
305
- "name": "Storybook",
306
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
307
- }
308
- ]
309
- },
310
- {
311
- "name": "bm-breadcrumb-item",
312
- "description": "`bm-breadcrumb-item`\n\n### Attributes:\n- **href** - Pass href to an item\n- **clickable** - Specify if the item is interactive without an href\n- **truncationWidth** - Specify truncation width of the items. Sets max-width for all items but the last.\n- **isCurrent** - Specify explicitly if the item is the last one\n- **isCollapsed** \n---\n\n\n### **Slots:**\n - **default** - Pass text to an item\n- **icon** - Pass icon to an item",
313
- "attributes": [
314
- { "name": "href", "description": "Pass href to an item", "values": [] },
315
- {
316
- "name": "clickable",
317
- "description": "Specify if the item is interactive without an href",
318
- "values": []
319
- },
320
- {
321
- "name": "truncationWidth",
322
- "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
323
- "values": []
324
- },
325
- {
326
- "name": "isCurrent",
327
- "description": "Specify explicitly if the item is the last one",
328
- "values": []
329
- },
330
- { "name": "isCollapsed", "values": [] }
331
- ],
332
- "references": [
333
- {
334
- "name": "Storybook",
335
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
336
- }
337
- ]
338
- },
339
- {
340
- "name": "bm-badge-dot",
341
- "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",
342
- "attributes": [
343
- {
344
- "name": "theme",
345
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
346
- "values": [{ "name": "light" }, { "name": "dark" }]
347
- },
348
- {
349
- "name": "appearance",
350
- "description": "Specify the appearance of the BadgeDot",
351
- "values": [
352
- { "name": "infoPrimary" },
353
- { "name": "infoSecondary" },
354
- { "name": "positive" },
355
- { "name": "warning" },
356
- { "name": "negative" }
357
- ]
358
- },
359
- {
360
- "name": "emphasis",
361
- "description": "Specify the emphasis of the BadgeDot",
362
- "values": [{ "name": "strong" }, { "name": "subtle" }]
363
- },
364
- {
365
- "name": "overrideDotColor",
366
- "description": "Overrides default dot color",
367
- "values": []
368
- }
369
- ],
370
- "references": [
371
- {
372
- "name": "Storybook",
373
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
374
- }
375
- ]
376
- },
377
180
  {
378
181
  "name": "bm-box",
379
182
  "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",
@@ -759,21 +562,218 @@
759
562
  ]
760
563
  },
761
564
  {
762
- "name": "shadow",
763
- "description": "Specify if a Box has a shadow",
565
+ "name": "shadow",
566
+ "description": "Specify if a Box has a shadow",
567
+ "values": [
568
+ { "name": "sm" },
569
+ { "name": "md" },
570
+ { "name": "lg" },
571
+ { "name": "none" },
572
+ { "name": "overlay" }
573
+ ]
574
+ }
575
+ ],
576
+ "references": [
577
+ {
578
+ "name": "Storybook",
579
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-box"
580
+ }
581
+ ]
582
+ },
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",
764
698
  "values": [
699
+ { "name": "xs" },
765
700
  { "name": "sm" },
766
701
  { "name": "md" },
767
702
  { "name": "lg" },
768
- { "name": "none" },
769
- { "name": "overlay" }
703
+ { "name": "xl" }
770
704
  ]
705
+ },
706
+ {
707
+ "name": "layout",
708
+ "description": "Specify the kind of the group.",
709
+ "values": [{ "name": "stacked" }, { "name": "spaced" }]
771
710
  }
772
711
  ],
773
712
  "references": [
774
713
  {
775
714
  "name": "Storybook",
776
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-box"
715
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
716
+ }
717
+ ]
718
+ },
719
+ {
720
+ "name": "bm-breadcrumb",
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",
722
+ "attributes": [
723
+ {
724
+ "name": "wrap",
725
+ "description": "Specify if items wrap or collapse to an ellipsis",
726
+ "values": []
727
+ },
728
+ {
729
+ "name": "itemsBeforeCollapse",
730
+ "description": "Specify how many items show before ellipsis",
731
+ "values": []
732
+ },
733
+ {
734
+ "name": "itemsAfterCollapse",
735
+ "description": "Specify how many items show after ellipsis",
736
+ "values": []
737
+ },
738
+ {
739
+ "name": "theme",
740
+ "description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
741
+ "values": [{ "name": "light" }, { "name": "dark" }]
742
+ }
743
+ ],
744
+ "references": [
745
+ {
746
+ "name": "Storybook",
747
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
748
+ }
749
+ ]
750
+ },
751
+ {
752
+ "name": "bm-breadcrumb-item",
753
+ "description": "`bm-breadcrumb-item`\n\n### Attributes:\n- **href** - Pass href to an item\n- **clickable** - Specify if the item is interactive without an href\n- **truncationWidth** - Specify truncation width of the items. Sets max-width for all items but the last.\n- **isCurrent** - Specify explicitly if the item is the last one\n- **isCollapsed** \n---\n\n\n### **Slots:**\n - **default** - Pass text to an item\n- **icon** - Pass icon to an item",
754
+ "attributes": [
755
+ { "name": "href", "description": "Pass href to an item", "values": [] },
756
+ {
757
+ "name": "clickable",
758
+ "description": "Specify if the item is interactive without an href",
759
+ "values": []
760
+ },
761
+ {
762
+ "name": "truncationWidth",
763
+ "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
764
+ "values": []
765
+ },
766
+ {
767
+ "name": "isCurrent",
768
+ "description": "Specify explicitly if the item is the last one",
769
+ "values": []
770
+ },
771
+ { "name": "isCollapsed", "values": [] }
772
+ ],
773
+ "references": [
774
+ {
775
+ "name": "Storybook",
776
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
777
777
  }
778
778
  ]
779
779
  },
@@ -2216,6 +2216,51 @@
2216
2216
  }
2217
2217
  ]
2218
2218
  },
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
+ },
2219
2264
  {
2220
2265
  "name": "bm-native-select",
2221
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",
@@ -2286,51 +2331,6 @@
2286
2331
  }
2287
2332
  ]
2288
2333
  },
2289
- {
2290
- "name": "bm-form",
2291
- "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",
2292
- "attributes": [
2293
- {
2294
- "name": "validationMode",
2295
- "description": "Specify if validation runs on change or when loosing focus",
2296
- "values": [
2297
- { "name": "onChange" },
2298
- { "name": "onBlur" },
2299
- { "name": "onSubmit" }
2300
- ]
2301
- },
2302
- {
2303
- "name": "initialValues",
2304
- "description": "Specify initial values on Form controls based on their names",
2305
- "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2306
- },
2307
- {
2308
- "name": "required",
2309
- "description": "Specify if input is a required",
2310
- "values": []
2311
- },
2312
- {
2313
- "name": "disabled",
2314
- "description": "Specify if input is a disabled",
2315
- "values": []
2316
- },
2317
- {
2318
- "name": "readOnly",
2319
- "description": "Specify if input is a read only",
2320
- "values": []
2321
- },
2322
- { "name": "action", "values": [] },
2323
- { "name": "method", "values": [] },
2324
- { "name": "target", "values": [] },
2325
- { "name": "enctype", "values": [] }
2326
- ],
2327
- "references": [
2328
- {
2329
- "name": "Storybook",
2330
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2331
- }
2332
- ]
2333
- },
2334
2334
  {
2335
2335
  "name": "bm-radio-button",
2336
2336
  "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",
@@ -2383,6 +2383,49 @@
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
+ },
2386
2429
  {
2387
2430
  "name": "bm-text-area",
2388
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",
@@ -2473,49 +2516,6 @@
2473
2516
  }
2474
2517
  ]
2475
2518
  },
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",