@viasat/beam-web-components 2.45.0 → 2.46.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.
@@ -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,49 @@
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
278
  {
279
279
  "name": "bm-badge-dot",
280
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",
@@ -313,6 +313,135 @@
313
313
  }
314
314
  ]
315
315
  },
316
+ {
317
+ "name": "bm-breadcrumb",
318
+ "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",
319
+ "attributes": [
320
+ {
321
+ "name": "wrap",
322
+ "description": "Specify if items wrap or collapse to an ellipsis",
323
+ "values": []
324
+ },
325
+ {
326
+ "name": "itemsBeforeCollapse",
327
+ "description": "Specify how many items show before ellipsis",
328
+ "values": []
329
+ },
330
+ {
331
+ "name": "itemsAfterCollapse",
332
+ "description": "Specify how many items show after ellipsis",
333
+ "values": []
334
+ },
335
+ {
336
+ "name": "theme",
337
+ "description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
338
+ "values": [{ "name": "light" }, { "name": "dark" }]
339
+ }
340
+ ],
341
+ "references": [
342
+ {
343
+ "name": "Storybook",
344
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "name": "bm-breadcrumb-item",
350
+ "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",
351
+ "attributes": [
352
+ { "name": "href", "description": "Pass href to an item", "values": [] },
353
+ {
354
+ "name": "clickable",
355
+ "description": "Specify if the item is interactive without an href",
356
+ "values": []
357
+ },
358
+ {
359
+ "name": "truncationWidth",
360
+ "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
361
+ "values": []
362
+ },
363
+ {
364
+ "name": "isCurrent",
365
+ "description": "Specify explicitly if the item is the last one",
366
+ "values": []
367
+ },
368
+ { "name": "isCollapsed", "values": [] }
369
+ ],
370
+ "references": [
371
+ {
372
+ "name": "Storybook",
373
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
374
+ }
375
+ ]
376
+ },
377
+ {
378
+ "name": "bm-button",
379
+ "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** \n---\n\n\n### **Slots:**\n - **default** - Provide content 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",
380
+ "attributes": [
381
+ {
382
+ "name": "appearance",
383
+ "description": "Specify the appearance of a Button",
384
+ "values": [
385
+ { "name": "accent" },
386
+ { "name": "neutral" },
387
+ { "name": "neutral-subtle" },
388
+ { "name": "destructive" }
389
+ ]
390
+ },
391
+ {
392
+ "name": "kind",
393
+ "description": "Specify the kind of Button",
394
+ "values": [
395
+ { "name": "filled" },
396
+ { "name": "outline" },
397
+ { "name": "ghost" },
398
+ { "name": "bare" }
399
+ ]
400
+ },
401
+ {
402
+ "name": "size",
403
+ "description": "Specify the size of a Button",
404
+ "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
405
+ },
406
+ {
407
+ "name": "disabled",
408
+ "description": "Specify if the Button is disabled",
409
+ "values": []
410
+ },
411
+ {
412
+ "name": "fluid",
413
+ "description": "Specify if Button is fluid",
414
+ "values": []
415
+ },
416
+ {
417
+ "name": "width",
418
+ "description": "Specify the width of a Button",
419
+ "values": []
420
+ },
421
+ {
422
+ "name": "height",
423
+ "description": "Specify the height of a Button",
424
+ "values": []
425
+ },
426
+ {
427
+ "name": "theme",
428
+ "description": "Specify the theme of the Button",
429
+ "values": [{ "name": "light" }, { "name": "dark" }]
430
+ },
431
+ {
432
+ "name": "iconOnly",
433
+ "description": "Specify if the icon displays without text",
434
+ "values": []
435
+ },
436
+ { "name": "type", "values": [] }
437
+ ],
438
+ "references": [
439
+ {
440
+ "name": "Storybook",
441
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
442
+ }
443
+ ]
444
+ },
316
445
  {
317
446
  "name": "bm-box",
318
447
  "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",
@@ -632,216 +761,87 @@
632
761
  { "name": "200" },
633
762
  { "name": "300" },
634
763
  { "name": "400" },
635
- { "name": "500" },
636
- { "name": "700" },
637
- { "name": "800" }
638
- ]
639
- },
640
- {
641
- "name": "m",
642
- "description": "Specify all margin",
643
- "values": [
644
- { "name": "0" },
645
- { "name": "12" },
646
- { "name": "25" },
647
- { "name": "50" },
648
- { "name": "75" },
649
- { "name": "100" },
650
- { "name": "125" },
651
- { "name": "150" },
652
- { "name": "200" },
653
- { "name": "300" },
654
- { "name": "400" },
655
- { "name": "500" },
656
- { "name": "700" },
657
- { "name": "800" }
658
- ]
659
- },
660
- {
661
- "name": "p",
662
- "description": "Specify all padding",
663
- "values": [
664
- { "name": "0" },
665
- { "name": "12" },
666
- { "name": "25" },
667
- { "name": "50" },
668
- { "name": "75" },
669
- { "name": "100" },
670
- { "name": "125" },
671
- { "name": "150" },
672
- { "name": "200" },
673
- { "name": "300" },
674
- { "name": "400" },
675
- { "name": "500" },
676
- { "name": "700" },
677
- { "name": "800" }
678
- ]
679
- },
680
- {
681
- "name": "gap",
682
- "description": "Specify gap between child elements",
683
- "values": [
684
- { "name": "0" },
685
- { "name": "12" },
686
- { "name": "25" },
687
- { "name": "50" },
688
- { "name": "75" },
689
- { "name": "100" },
690
- { "name": "125" },
691
- { "name": "150" },
692
- { "name": "200" },
693
- { "name": "300" },
694
- { "name": "400" },
695
- { "name": "500" },
696
- { "name": "700" },
697
- { "name": "800" }
698
- ]
699
- },
700
- {
701
- "name": "shadow",
702
- "description": "Specify if a Box has a shadow",
703
- "values": [
704
- { "name": "sm" },
705
- { "name": "md" },
706
- { "name": "lg" },
707
- { "name": "none" },
708
- { "name": "overlay" }
709
- ]
710
- }
711
- ],
712
- "references": [
713
- {
714
- "name": "Storybook",
715
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-box"
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
- }
778
- ]
779
- },
780
- {
781
- "name": "bm-button",
782
- "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** \n---\n\n\n### **Slots:**\n - **default** - Provide content 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",
783
- "attributes": [
784
- {
785
- "name": "appearance",
786
- "description": "Specify the appearance of a Button",
787
- "values": [
788
- { "name": "accent" },
789
- { "name": "neutral" },
790
- { "name": "neutral-subtle" },
791
- { "name": "destructive" }
792
- ]
793
- },
794
- {
795
- "name": "kind",
796
- "description": "Specify the kind of Button",
797
- "values": [
798
- { "name": "filled" },
799
- { "name": "outline" },
800
- { "name": "ghost" },
801
- { "name": "bare" }
802
- ]
803
- },
804
- {
805
- "name": "size",
806
- "description": "Specify the size of a Button",
807
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
808
- },
809
- {
810
- "name": "disabled",
811
- "description": "Specify if the Button is disabled",
812
- "values": []
813
- },
814
- {
815
- "name": "fluid",
816
- "description": "Specify if Button is fluid",
817
- "values": []
764
+ { "name": "500" },
765
+ { "name": "700" },
766
+ { "name": "800" }
767
+ ]
818
768
  },
819
769
  {
820
- "name": "width",
821
- "description": "Specify the width of a Button",
822
- "values": []
770
+ "name": "m",
771
+ "description": "Specify all margin",
772
+ "values": [
773
+ { "name": "0" },
774
+ { "name": "12" },
775
+ { "name": "25" },
776
+ { "name": "50" },
777
+ { "name": "75" },
778
+ { "name": "100" },
779
+ { "name": "125" },
780
+ { "name": "150" },
781
+ { "name": "200" },
782
+ { "name": "300" },
783
+ { "name": "400" },
784
+ { "name": "500" },
785
+ { "name": "700" },
786
+ { "name": "800" }
787
+ ]
823
788
  },
824
789
  {
825
- "name": "height",
826
- "description": "Specify the height of a Button",
827
- "values": []
790
+ "name": "p",
791
+ "description": "Specify all padding",
792
+ "values": [
793
+ { "name": "0" },
794
+ { "name": "12" },
795
+ { "name": "25" },
796
+ { "name": "50" },
797
+ { "name": "75" },
798
+ { "name": "100" },
799
+ { "name": "125" },
800
+ { "name": "150" },
801
+ { "name": "200" },
802
+ { "name": "300" },
803
+ { "name": "400" },
804
+ { "name": "500" },
805
+ { "name": "700" },
806
+ { "name": "800" }
807
+ ]
828
808
  },
829
809
  {
830
- "name": "theme",
831
- "description": "Specify the theme of the Button",
832
- "values": [{ "name": "light" }, { "name": "dark" }]
810
+ "name": "gap",
811
+ "description": "Specify gap between child elements",
812
+ "values": [
813
+ { "name": "0" },
814
+ { "name": "12" },
815
+ { "name": "25" },
816
+ { "name": "50" },
817
+ { "name": "75" },
818
+ { "name": "100" },
819
+ { "name": "125" },
820
+ { "name": "150" },
821
+ { "name": "200" },
822
+ { "name": "300" },
823
+ { "name": "400" },
824
+ { "name": "500" },
825
+ { "name": "700" },
826
+ { "name": "800" }
827
+ ]
833
828
  },
834
829
  {
835
- "name": "iconOnly",
836
- "description": "Specify if the icon displays without text",
837
- "values": []
838
- },
839
- { "name": "type", "values": [] }
830
+ "name": "shadow",
831
+ "description": "Specify if a Box has a shadow",
832
+ "values": [
833
+ { "name": "sm" },
834
+ { "name": "md" },
835
+ { "name": "lg" },
836
+ { "name": "none" },
837
+ { "name": "overlay" }
838
+ ]
839
+ }
840
840
  ],
841
841
  "references": [
842
842
  {
843
843
  "name": "Storybook",
844
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
844
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-box"
845
845
  }
846
846
  ]
847
847
  },
@@ -2216,51 +2216,6 @@
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
- },
2264
2219
  {
2265
2220
  "name": "bm-native-select",
2266
2221
  "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",
@@ -2332,45 +2287,54 @@
2332
2287
  ]
2333
2288
  },
2334
2289
  {
2335
- "name": "bm-switch",
2336
- "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.",
2290
+ "name": "bm-radio-button",
2291
+ "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",
2337
2292
  "attributes": [
2338
2293
  {
2339
- "name": "onText",
2340
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2294
+ "name": "label",
2295
+ "description": "Specify the text for the label",
2341
2296
  "values": []
2342
2297
  },
2343
2298
  {
2344
- "name": "offText",
2345
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2299
+ "name": "error",
2300
+ "description": "Specify error text and display error state of a RadioButton",
2346
2301
  "values": []
2347
2302
  },
2348
- {
2349
- "name": "textPosition",
2350
- "description": "Specify the position of the side label",
2351
- "values": [{ "name": "before" }, { "name": "after" }]
2352
- },
2353
2303
  {
2354
2304
  "name": "readOnly",
2355
- "description": "Specify if Switch displays in a read-only state",
2305
+ "description": "Specify if RadioButton displays in a read-only state",
2356
2306
  "values": []
2357
2307
  },
2358
2308
  {
2359
2309
  "name": "disabled",
2360
- "description": "Specify if Switch displays in a disabled state",
2310
+ "description": "Specify if RadioButton displays in a disabled state",
2361
2311
  "values": []
2362
2312
  },
2363
- { "name": "checked", "values": [] },
2313
+ {
2314
+ "name": "theme",
2315
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2316
+ "values": [{ "name": "light" }, { "name": "dark" }]
2317
+ },
2364
2318
  {
2365
2319
  "name": "value",
2366
2320
  "description": "The value attribute for the input element",
2367
2321
  "values": []
2322
+ },
2323
+ {
2324
+ "name": "checked",
2325
+ "description": "The checked attribute for the input element",
2326
+ "values": []
2327
+ },
2328
+ {
2329
+ "name": "onKeyDown",
2330
+ "description": "A user-defined function to handle keydown events",
2331
+ "values": [{ "name": "(event: KeyboardEvent) => void" }]
2368
2332
  }
2369
2333
  ],
2370
2334
  "references": [
2371
2335
  {
2372
2336
  "name": "Storybook",
2373
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2337
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2374
2338
  }
2375
2339
  ]
2376
2340
  },
@@ -2465,54 +2429,90 @@
2465
2429
  ]
2466
2430
  },
2467
2431
  {
2468
- "name": "bm-radio-button",
2469
- "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",
2432
+ "name": "bm-form",
2433
+ "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",
2470
2434
  "attributes": [
2471
2435
  {
2472
- "name": "label",
2473
- "description": "Specify the text for the label",
2436
+ "name": "validationMode",
2437
+ "description": "Specify if validation runs on change or when loosing focus",
2438
+ "values": [
2439
+ { "name": "onChange" },
2440
+ { "name": "onBlur" },
2441
+ { "name": "onSubmit" }
2442
+ ]
2443
+ },
2444
+ {
2445
+ "name": "initialValues",
2446
+ "description": "Specify initial values on Form controls based on their names",
2447
+ "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2448
+ },
2449
+ {
2450
+ "name": "required",
2451
+ "description": "Specify if input is a required",
2474
2452
  "values": []
2475
2453
  },
2476
2454
  {
2477
- "name": "error",
2478
- "description": "Specify error text and display error state of a RadioButton",
2455
+ "name": "disabled",
2456
+ "description": "Specify if input is a disabled",
2479
2457
  "values": []
2480
2458
  },
2481
2459
  {
2482
2460
  "name": "readOnly",
2483
- "description": "Specify if RadioButton displays in a read-only state",
2461
+ "description": "Specify if input is a read only",
2484
2462
  "values": []
2485
2463
  },
2464
+ { "name": "action", "values": [] },
2465
+ { "name": "method", "values": [] },
2466
+ { "name": "target", "values": [] },
2467
+ { "name": "enctype", "values": [] }
2468
+ ],
2469
+ "references": [
2486
2470
  {
2487
- "name": "disabled",
2488
- "description": "Specify if RadioButton displays in a disabled state",
2471
+ "name": "Storybook",
2472
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2473
+ }
2474
+ ]
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.",
2489
2483
  "values": []
2490
2484
  },
2491
2485
  {
2492
- "name": "theme",
2493
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2494
- "values": [{ "name": "light" }, { "name": "dark" }]
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": []
2495
2489
  },
2496
2490
  {
2497
- "name": "value",
2498
- "description": "The value attribute for the input element",
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",
2499
2498
  "values": []
2500
2499
  },
2501
2500
  {
2502
- "name": "checked",
2503
- "description": "The checked attribute for the input element",
2501
+ "name": "disabled",
2502
+ "description": "Specify if Switch displays in a disabled state",
2504
2503
  "values": []
2505
2504
  },
2505
+ { "name": "checked", "values": [] },
2506
2506
  {
2507
- "name": "onKeyDown",
2508
- "description": "A user-defined function to handle keydown events",
2509
- "values": [{ "name": "(event: KeyboardEvent) => void" }]
2507
+ "name": "value",
2508
+ "description": "The value attribute for the input element",
2509
+ "values": []
2510
2510
  }
2511
2511
  ],
2512
2512
  "references": [
2513
2513
  {
2514
2514
  "name": "Storybook",
2515
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2515
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2516
2516
  }
2517
2517
  ]
2518
2518
  },
@@ -2586,8 +2586,8 @@
2586
2586
  ]
2587
2587
  },
2588
2588
  {
2589
- "name": "bm-switch-group",
2590
- "description": "`bm-switch-group`\n---\n\n\n### **Slots:**\n - **label** - Slot for the label of the SwitchGroup\n- **helperText** - Slot for the helper text of the SwitchGroup",
2589
+ "name": "bm-radio-button-group",
2590
+ "description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
2591
2591
  "attributes": [
2592
2592
  {
2593
2593
  "name": "theme",
@@ -2650,13 +2650,13 @@
2650
2650
  "references": [
2651
2651
  {
2652
2652
  "name": "Storybook",
2653
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2653
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2654
2654
  }
2655
2655
  ]
2656
2656
  },
2657
2657
  {
2658
- "name": "bm-radio-button-group",
2659
- "description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
2658
+ "name": "bm-switch-group",
2659
+ "description": "`bm-switch-group`\n---\n\n\n### **Slots:**\n - **label** - Slot for the label of the SwitchGroup\n- **helperText** - Slot for the helper text of the SwitchGroup",
2660
2660
  "attributes": [
2661
2661
  {
2662
2662
  "name": "theme",
@@ -2719,7 +2719,7 @@
2719
2719
  "references": [
2720
2720
  {
2721
2721
  "name": "Storybook",
2722
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2722
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2723
2723
  }
2724
2724
  ]
2725
2725
  }