@viasat/beam-web-components 2.39.0 → 2.39.2

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.39.0",
3
+ "version": "2.39.2",
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.39.0",
68
- "@viasat/beam-shared": "2.39.0",
69
- "@viasat/beam-styles": "2.39.0",
70
- "@viasat/beam-tokens": "2.39.0",
71
- "@viasat/beam-icons": "2.39.0",
67
+ "@viasat/beam-fonts": "2.39.2",
68
+ "@viasat/beam-shared": "2.39.2",
69
+ "@viasat/beam-styles": "2.39.2",
70
+ "@viasat/beam-tokens": "2.39.2",
71
+ "@viasat/beam-icons": "2.39.2",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -61,79 +61,6 @@
61
61
  }
62
62
  ]
63
63
  },
64
- {
65
- "name": "bm-alert",
66
- "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",
67
- "attributes": [
68
- {
69
- "name": "heading",
70
- "description": "Specify the heading text for Alert",
71
- "values": []
72
- },
73
- {
74
- "name": "body",
75
- "description": "Specify the body text for Alert",
76
- "values": []
77
- },
78
- {
79
- "name": "size",
80
- "description": "Specify the size of the Alert",
81
- "values": [{ "name": "sm" }, { "name": "md" }]
82
- },
83
- {
84
- "name": "fullWidth",
85
- "description": "Specify if the Alert has no border radius",
86
- "values": []
87
- },
88
- {
89
- "name": "theme",
90
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
91
- "values": [{ "name": "light" }, { "name": "dark" }]
92
- },
93
- {
94
- "name": "appearance",
95
- "description": "Specify the appearance of the Alert",
96
- "values": [
97
- { "name": "infoPrimary" },
98
- { "name": "infoSecondary" },
99
- { "name": "positive" },
100
- { "name": "warning" },
101
- { "name": "negative" }
102
- ]
103
- },
104
- {
105
- "name": "hidden",
106
- "description": "Specify if the Alert is hidden",
107
- "values": []
108
- },
109
- {
110
- "name": "hideIcon",
111
- "description": "Specify if the icon displays on the Alert",
112
- "values": []
113
- },
114
- {
115
- "name": "dismissible",
116
- "description": "Specify if the Alert can be dismissed",
117
- "values": []
118
- },
119
- {
120
- "name": "disableAutoFocus",
121
- "description": "Prevent autofocus on show",
122
- "values": []
123
- },
124
- {
125
- "name": "disableCloseOnEscape",
126
- "description": "Prevent Escape from closing",
127
- "values": []
128
- }
129
- ],
130
- "references": [
131
- {
132
- "name": "Storybook",
133
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
134
- }
135
- ]
136
- },
137
64
  {
138
65
  "name": "bm-badge",
139
66
  "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",
@@ -619,131 +546,75 @@
619
546
  ]
620
547
  },
621
548
  {
622
- "name": "bm-breadcrumb",
623
- "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",
549
+ "name": "bm-alert",
550
+ "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",
624
551
  "attributes": [
625
552
  {
626
- "name": "wrap",
627
- "description": "Specify if items wrap or collapse to an ellipsis",
628
- "values": []
629
- },
630
- {
631
- "name": "itemsBeforeCollapse",
632
- "description": "Specify how many items show before ellipsis",
553
+ "name": "heading",
554
+ "description": "Specify the heading text for Alert",
633
555
  "values": []
634
556
  },
635
557
  {
636
- "name": "itemsAfterCollapse",
637
- "description": "Specify how many items show after ellipsis",
558
+ "name": "body",
559
+ "description": "Specify the body text for Alert",
638
560
  "values": []
639
561
  },
640
562
  {
641
- "name": "theme",
642
- "description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
643
- "values": [{ "name": "light" }, { "name": "dark" }]
644
- }
645
- ],
646
- "references": [
647
- {
648
- "name": "Storybook",
649
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
650
- }
651
- ]
652
- },
653
- {
654
- "name": "bm-breadcrumb-item",
655
- "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",
656
- "attributes": [
657
- { "name": "href", "description": "Pass href to an item", "values": [] },
658
- {
659
- "name": "clickable",
660
- "description": "Specify if the item is interactive without an href",
661
- "values": []
563
+ "name": "size",
564
+ "description": "Specify the size of the Alert",
565
+ "values": [{ "name": "sm" }, { "name": "md" }]
662
566
  },
663
567
  {
664
- "name": "truncationWidth",
665
- "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
568
+ "name": "fullWidth",
569
+ "description": "Specify if the Alert has no border radius",
666
570
  "values": []
667
571
  },
668
572
  {
669
- "name": "isCurrent",
670
- "description": "Specify explicitly if the item is the last one",
671
- "values": []
573
+ "name": "theme",
574
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
575
+ "values": [{ "name": "light" }, { "name": "dark" }]
672
576
  },
673
- { "name": "isCollapsed", "values": [] }
674
- ],
675
- "references": [
676
- {
677
- "name": "Storybook",
678
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
679
- }
680
- ]
681
- },
682
- {
683
- "name": "bm-button",
684
- "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",
685
- "attributes": [
686
577
  {
687
578
  "name": "appearance",
688
- "description": "Specify the appearance of a Button",
689
- "values": [
690
- { "name": "accent" },
691
- { "name": "neutral" },
692
- { "name": "neutral-subtle" },
693
- { "name": "destructive" }
694
- ]
695
- },
696
- {
697
- "name": "kind",
698
- "description": "Specify the kind of Button",
579
+ "description": "Specify the appearance of the Alert",
699
580
  "values": [
700
- { "name": "filled" },
701
- { "name": "outline" },
702
- { "name": "ghost" },
703
- { "name": "bare" }
581
+ { "name": "infoPrimary" },
582
+ { "name": "infoSecondary" },
583
+ { "name": "positive" },
584
+ { "name": "warning" },
585
+ { "name": "negative" }
704
586
  ]
705
587
  },
706
588
  {
707
- "name": "size",
708
- "description": "Specify the size of a Button",
709
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
710
- },
711
- {
712
- "name": "disabled",
713
- "description": "Specify if the Button is disabled",
589
+ "name": "hidden",
590
+ "description": "Specify if the Alert is hidden",
714
591
  "values": []
715
592
  },
716
593
  {
717
- "name": "fluid",
718
- "description": "Specify if Button is fluid",
594
+ "name": "hideIcon",
595
+ "description": "Specify if the icon displays on the Alert",
719
596
  "values": []
720
597
  },
721
598
  {
722
- "name": "width",
723
- "description": "Specify the width of a Button",
599
+ "name": "dismissible",
600
+ "description": "Specify if the Alert can be dismissed",
724
601
  "values": []
725
602
  },
726
603
  {
727
- "name": "height",
728
- "description": "Specify the height of a Button",
604
+ "name": "disableAutoFocus",
605
+ "description": "Prevent autofocus on show",
729
606
  "values": []
730
607
  },
731
608
  {
732
- "name": "theme",
733
- "description": "Specify the theme of the Button",
734
- "values": [{ "name": "light" }, { "name": "dark" }]
735
- },
736
- {
737
- "name": "iconOnly",
738
- "description": "Specify if the icon displays without text",
609
+ "name": "disableCloseOnEscape",
610
+ "description": "Prevent Escape from closing",
739
611
  "values": []
740
- },
741
- { "name": "type", "values": [] }
612
+ }
742
613
  ],
743
614
  "references": [
744
615
  {
745
616
  "name": "Storybook",
746
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
617
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
747
618
  }
748
619
  ]
749
620
  },
@@ -846,62 +717,159 @@
846
717
  ]
847
718
  },
848
719
  {
849
- "name": "bm-close-button",
850
- "description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled\n---\n",
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",
851
722
  "attributes": [
852
723
  {
853
- "name": "size",
854
- "description": "Specify the size of the CloseButton",
855
- "values": [
856
- { "name": "xs" },
857
- { "name": "sm" },
858
- { "name": "md" },
859
- { "name": "lg" },
860
- { "name": "xl" }
861
- ]
724
+ "name": "wrap",
725
+ "description": "Specify if items wrap or collapse to an ellipsis",
726
+ "values": []
862
727
  },
863
728
  {
864
- "name": "disabled",
865
- "description": "Specify if the CloseButton is disabled",
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",
866
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" }]
867
742
  }
868
743
  ],
869
744
  "references": [
870
745
  {
871
746
  "name": "Storybook",
872
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-closebutton"
747
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
873
748
  }
874
749
  ]
875
750
  },
876
751
  {
877
- "name": "bm-empty-state",
878
- "description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **icon** - Specify an icon for EmptyState\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Add actions to EmptyState",
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",
879
754
  "attributes": [
755
+ { "name": "href", "description": "Pass href to an item", "values": [] },
880
756
  {
881
- "name": "heading",
882
- "description": "Specify heading text for EmptyState",
757
+ "name": "clickable",
758
+ "description": "Specify if the item is interactive without an href",
883
759
  "values": []
884
760
  },
885
761
  {
886
- "name": "body",
887
- "description": "Specify body text for EmptyState",
762
+ "name": "truncationWidth",
763
+ "description": "Specify truncation width of the items. Sets max-width for all items but the last.",
888
764
  "values": []
889
765
  },
890
766
  {
891
- "name": "actions",
892
- "description": "Specify action for EmptyState",
893
- "values": [{ "name": "HTMLSlotElement" }]
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": []
818
+ },
819
+ {
820
+ "name": "width",
821
+ "description": "Specify the width of a Button",
822
+ "values": []
823
+ },
824
+ {
825
+ "name": "height",
826
+ "description": "Specify the height of a Button",
827
+ "values": []
894
828
  },
895
829
  {
896
830
  "name": "theme",
897
- "description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
831
+ "description": "Specify the theme of the Button",
898
832
  "values": [{ "name": "light" }, { "name": "dark" }]
833
+ },
834
+ {
835
+ "name": "iconOnly",
836
+ "description": "Specify if the icon displays without text",
837
+ "values": []
838
+ },
839
+ { "name": "type", "values": [] }
840
+ ],
841
+ "references": [
842
+ {
843
+ "name": "Storybook",
844
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
845
+ }
846
+ ]
847
+ },
848
+ {
849
+ "name": "bm-close-button",
850
+ "description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled\n---\n",
851
+ "attributes": [
852
+ {
853
+ "name": "size",
854
+ "description": "Specify the size of the CloseButton",
855
+ "values": [
856
+ { "name": "xs" },
857
+ { "name": "sm" },
858
+ { "name": "md" },
859
+ { "name": "lg" },
860
+ { "name": "xl" }
861
+ ]
862
+ },
863
+ {
864
+ "name": "disabled",
865
+ "description": "Specify if the CloseButton is disabled",
866
+ "values": []
899
867
  }
900
868
  ],
901
869
  "references": [
902
870
  {
903
871
  "name": "Storybook",
904
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-emptystate"
872
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-closebutton"
905
873
  }
906
874
  ]
907
875
  },
@@ -989,6 +957,38 @@
989
957
  }
990
958
  ]
991
959
  },
960
+ {
961
+ "name": "bm-empty-state",
962
+ "description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **icon** - Specify an icon for EmptyState\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Add actions to EmptyState",
963
+ "attributes": [
964
+ {
965
+ "name": "heading",
966
+ "description": "Specify heading text for EmptyState",
967
+ "values": []
968
+ },
969
+ {
970
+ "name": "body",
971
+ "description": "Specify body text for EmptyState",
972
+ "values": []
973
+ },
974
+ {
975
+ "name": "actions",
976
+ "description": "Specify action for EmptyState",
977
+ "values": [{ "name": "HTMLSlotElement" }]
978
+ },
979
+ {
980
+ "name": "theme",
981
+ "description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
982
+ "values": [{ "name": "light" }, { "name": "dark" }]
983
+ }
984
+ ],
985
+ "references": [
986
+ {
987
+ "name": "Storybook",
988
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-emptystate"
989
+ }
990
+ ]
991
+ },
992
992
  {
993
993
  "name": "bm-helper-text",
994
994
  "description": "### Attributes:\n- **appearance** - Specify the appearance of the HelperText\n- **size** - Specify the size of the HelperText\n- **disabled** - Specify if the message is disabled for HelpText\n- **hideIcon** - Specify if the icon displays on the HelperText\n- **text** - Add or customize content in the HelperText\n- **theme** - Specify the theme of the HelperText. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Add or customize content in the HelperText\n- **icon** - Specify a different icon for the HelperText",
@@ -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",