@viasat/beam-web-components 2.10.2 → 2.12.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.10.2",
3
+ "version": "2.12.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.10.2",
68
- "@viasat/beam-shared": "2.10.2",
69
- "@viasat/beam-styles": "2.10.2",
70
- "@viasat/beam-tokens": "2.10.2",
71
- "@viasat/beam-icons": "2.10.2",
67
+ "@viasat/beam-fonts": "2.12.0",
68
+ "@viasat/beam-shared": "2.12.0",
69
+ "@viasat/beam-styles": "2.12.0",
70
+ "@viasat/beam-tokens": "2.12.0",
71
+ "@viasat/beam-icons": "2.12.0",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -61,147 +61,6 @@
61
61
  }
62
62
  ]
63
63
  },
64
- {
65
- "name": "bm-avatar",
66
- "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",
67
- "attributes": [
68
- {
69
- "name": "appearance",
70
- "description": "Specify the appearance of the Avatar",
71
- "values": [{ "name": "accent" }, { "name": "neutral" }]
72
- },
73
- {
74
- "name": "name",
75
- "description": "Specify a name to display initials in the Avatar",
76
- "values": []
77
- },
78
- {
79
- "name": "src",
80
- "description": "Pass an image to the Avatar",
81
- "values": []
82
- },
83
- { "name": "alt", "description": "Specify alt for image", "values": [] },
84
- {
85
- "name": "size",
86
- "description": "Specify the size of the Avatar",
87
- "values": [
88
- { "name": "xs" },
89
- { "name": "sm" },
90
- { "name": "md" },
91
- { "name": "lg" },
92
- { "name": "xl" }
93
- ]
94
- },
95
- {
96
- "name": "disabled",
97
- "description": "Specify if the Avatar is disabled",
98
- "values": []
99
- },
100
- {
101
- "name": "shape",
102
- "description": "Specify the shape of the Avatar",
103
- "values": [{ "name": "circle" }, { "name": "square" }]
104
- },
105
- {
106
- "name": "isInteractive",
107
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
108
- "values": []
109
- },
110
- {
111
- "name": "isFocusable",
112
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
113
- "values": []
114
- },
115
- { "name": "withBorder", "values": [] }
116
- ],
117
- "references": [
118
- {
119
- "name": "Storybook",
120
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
121
- }
122
- ]
123
- },
124
- {
125
- "name": "bm-avatar-group",
126
- "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",
127
- "attributes": [
128
- {
129
- "name": "wrapping",
130
- "description": "Specify if the AvatarGroup wraps",
131
- "values": []
132
- },
133
- {
134
- "name": "maxCount",
135
- "description": "Specify the max number of avatars displayed in the group.",
136
- "values": []
137
- },
138
- {
139
- "name": "size",
140
- "description": "Specify the size of all Avatars",
141
- "values": [
142
- { "name": "xs" },
143
- { "name": "sm" },
144
- { "name": "md" },
145
- { "name": "lg" },
146
- { "name": "xl" }
147
- ]
148
- },
149
- {
150
- "name": "layout",
151
- "description": "Specify the kind of the group.",
152
- "values": [{ "name": "stacked" }, { "name": "spaced" }]
153
- }
154
- ],
155
- "references": [
156
- {
157
- "name": "Storybook",
158
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
159
- }
160
- ]
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
64
  {
206
65
  "name": "bm-alert",
207
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",
@@ -275,6 +134,48 @@
275
134
  }
276
135
  ]
277
136
  },
137
+ {
138
+ "name": "bm-badge-dot",
139
+ "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",
140
+ "attributes": [
141
+ {
142
+ "name": "theme",
143
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
144
+ "values": [{ "name": "light" }, { "name": "dark" }]
145
+ },
146
+ {
147
+ "name": "appearance",
148
+ "description": "Specify the appearance of the BadgeDot",
149
+ "values": [
150
+ { "name": "primary" },
151
+ { "name": "secondary" },
152
+ { "name": "infoPrimary" },
153
+ { "name": "infoSecondary" },
154
+ { "name": "positive" },
155
+ { "name": "warning" },
156
+ { "name": "negative" },
157
+ { "name": "inverse" },
158
+ { "name": "secondaryInverse" }
159
+ ]
160
+ },
161
+ {
162
+ "name": "emphasis",
163
+ "description": "Specify the emphasis of the BadgeDot",
164
+ "values": [{ "name": "Emphasis" }]
165
+ },
166
+ {
167
+ "name": "overrideDotColor",
168
+ "description": "Overrides default dot color",
169
+ "values": []
170
+ }
171
+ ],
172
+ "references": [
173
+ {
174
+ "name": "Storybook",
175
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
176
+ }
177
+ ]
178
+ },
278
179
  {
279
180
  "name": "bm-box",
280
181
  "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow\n---\n\n\n### **Slots:**\n - **default** - Provide content for the Box",
@@ -678,48 +579,6 @@
678
579
  }
679
580
  ]
680
581
  },
681
- {
682
- "name": "bm-badge-dot",
683
- "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color\n---\n\n\n### **Slots:**\n - **default** - Provide text for the BadgeDot",
684
- "attributes": [
685
- {
686
- "name": "theme",
687
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
688
- "values": [{ "name": "light" }, { "name": "dark" }]
689
- },
690
- {
691
- "name": "appearance",
692
- "description": "Specify the appearance of the BadgeDot",
693
- "values": [
694
- { "name": "primary" },
695
- { "name": "secondary" },
696
- { "name": "infoPrimary" },
697
- { "name": "infoSecondary" },
698
- { "name": "positive" },
699
- { "name": "warning" },
700
- { "name": "negative" },
701
- { "name": "inverse" },
702
- { "name": "secondaryInverse" }
703
- ]
704
- },
705
- {
706
- "name": "emphasis",
707
- "description": "Specify the emphasis of the BadgeDot",
708
- "values": [{ "name": "Emphasis" }]
709
- },
710
- {
711
- "name": "overrideDotColor",
712
- "description": "Overrides default dot color",
713
- "values": []
714
- }
715
- ],
716
- "references": [
717
- {
718
- "name": "Storybook",
719
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
720
- }
721
- ]
722
- },
723
582
  {
724
583
  "name": "bm-breadcrumb",
725
584
  "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",
@@ -781,6 +640,49 @@
781
640
  }
782
641
  ]
783
642
  },
643
+ {
644
+ "name": "bm-badge",
645
+ "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",
646
+ "attributes": [
647
+ {
648
+ "name": "appearance",
649
+ "description": "Specify the appearance of the Badge",
650
+ "values": [
651
+ { "name": "infoPrimary" },
652
+ { "name": "infoSecondary" },
653
+ { "name": "positive" },
654
+ { "name": "warning" },
655
+ { "name": "negative" }
656
+ ]
657
+ },
658
+ {
659
+ "name": "theme",
660
+ "description": "Theme of the Badge",
661
+ "values": [{ "name": "light" }, { "name": "dark" }]
662
+ },
663
+ {
664
+ "name": "size",
665
+ "description": "Specify the size of the Badge",
666
+ "values": [{ "name": "sm" }, { "name": "md" }]
667
+ },
668
+ {
669
+ "name": "emphasis",
670
+ "description": "Specify the emphasis of the Badge",
671
+ "values": [
672
+ { "name": "strong" },
673
+ { "name": "medium" },
674
+ { "name": "subtle" }
675
+ ]
676
+ },
677
+ { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
678
+ ],
679
+ "references": [
680
+ {
681
+ "name": "Storybook",
682
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
683
+ }
684
+ ]
685
+ },
784
686
  {
785
687
  "name": "bm-button",
786
688
  "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",
@@ -849,6 +751,104 @@
849
751
  }
850
752
  ]
851
753
  },
754
+ {
755
+ "name": "bm-avatar",
756
+ "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",
757
+ "attributes": [
758
+ {
759
+ "name": "appearance",
760
+ "description": "Specify the appearance of the Avatar",
761
+ "values": [{ "name": "accent" }, { "name": "neutral" }]
762
+ },
763
+ {
764
+ "name": "name",
765
+ "description": "Specify a name to display initials in the Avatar",
766
+ "values": []
767
+ },
768
+ {
769
+ "name": "src",
770
+ "description": "Pass an image to the Avatar",
771
+ "values": []
772
+ },
773
+ { "name": "alt", "description": "Specify alt for image", "values": [] },
774
+ {
775
+ "name": "size",
776
+ "description": "Specify the size of the Avatar",
777
+ "values": [
778
+ { "name": "xs" },
779
+ { "name": "sm" },
780
+ { "name": "md" },
781
+ { "name": "lg" },
782
+ { "name": "xl" }
783
+ ]
784
+ },
785
+ {
786
+ "name": "disabled",
787
+ "description": "Specify if the Avatar is disabled",
788
+ "values": []
789
+ },
790
+ {
791
+ "name": "shape",
792
+ "description": "Specify the shape of the Avatar",
793
+ "values": [{ "name": "circle" }, { "name": "square" }]
794
+ },
795
+ {
796
+ "name": "isInteractive",
797
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
798
+ "values": []
799
+ },
800
+ {
801
+ "name": "isFocusable",
802
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
803
+ "values": []
804
+ },
805
+ { "name": "withBorder", "values": [] }
806
+ ],
807
+ "references": [
808
+ {
809
+ "name": "Storybook",
810
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
811
+ }
812
+ ]
813
+ },
814
+ {
815
+ "name": "bm-avatar-group",
816
+ "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",
817
+ "attributes": [
818
+ {
819
+ "name": "wrapping",
820
+ "description": "Specify if the AvatarGroup wraps",
821
+ "values": []
822
+ },
823
+ {
824
+ "name": "maxCount",
825
+ "description": "Specify the max number of avatars displayed in the group.",
826
+ "values": []
827
+ },
828
+ {
829
+ "name": "size",
830
+ "description": "Specify the size of all Avatars",
831
+ "values": [
832
+ { "name": "xs" },
833
+ { "name": "sm" },
834
+ { "name": "md" },
835
+ { "name": "lg" },
836
+ { "name": "xl" }
837
+ ]
838
+ },
839
+ {
840
+ "name": "layout",
841
+ "description": "Specify the kind of the group.",
842
+ "values": [{ "name": "stacked" }, { "name": "spaced" }]
843
+ }
844
+ ],
845
+ "references": [
846
+ {
847
+ "name": "Storybook",
848
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
849
+ }
850
+ ]
851
+ },
852
852
  {
853
853
  "name": "bm-close-button",
854
854
  "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",
@@ -2222,97 +2222,97 @@
2222
2222
  ]
2223
2223
  },
2224
2224
  {
2225
- "name": "bm-radio-button",
2226
- "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",
2225
+ "name": "bm-switch",
2226
+ "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.",
2227
2227
  "attributes": [
2228
2228
  {
2229
- "name": "label",
2230
- "description": "Specify the text for the label",
2229
+ "name": "onText",
2230
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2231
2231
  "values": []
2232
2232
  },
2233
2233
  {
2234
- "name": "error",
2235
- "description": "Specify error text and display error state of a RadioButton",
2234
+ "name": "offText",
2235
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2236
2236
  "values": []
2237
2237
  },
2238
+ {
2239
+ "name": "textPosition",
2240
+ "description": "Specify the position of the side label",
2241
+ "values": [{ "name": "before" }, { "name": "after" }]
2242
+ },
2238
2243
  {
2239
2244
  "name": "readOnly",
2240
- "description": "Specify if RadioButton displays in a read-only state",
2245
+ "description": "Specify if Switch displays in a read-only state",
2241
2246
  "values": []
2242
2247
  },
2243
2248
  {
2244
2249
  "name": "disabled",
2245
- "description": "Specify if RadioButton displays in a disabled state",
2250
+ "description": "Specify if Switch displays in a disabled state",
2246
2251
  "values": []
2247
2252
  },
2248
- {
2249
- "name": "theme",
2250
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2251
- "values": [{ "name": "light" }, { "name": "dark" }]
2252
- },
2253
+ { "name": "checked", "values": [] },
2253
2254
  {
2254
2255
  "name": "value",
2255
2256
  "description": "The value attribute for the input element",
2256
2257
  "values": []
2257
- },
2258
- {
2259
- "name": "checked",
2260
- "description": "The checked attribute for the input element",
2261
- "values": []
2262
- },
2263
- {
2264
- "name": "onKeyDown",
2265
- "description": "A user-defined function to handle keydown events",
2266
- "values": [{ "name": "(event: KeyboardEvent) => void" }]
2267
2258
  }
2268
2259
  ],
2269
2260
  "references": [
2270
2261
  {
2271
2262
  "name": "Storybook",
2272
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2263
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2273
2264
  }
2274
2265
  ]
2275
2266
  },
2276
2267
  {
2277
- "name": "bm-switch",
2278
- "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.",
2268
+ "name": "bm-radio-button",
2269
+ "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",
2279
2270
  "attributes": [
2280
2271
  {
2281
- "name": "onText",
2282
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2272
+ "name": "label",
2273
+ "description": "Specify the text for the label",
2283
2274
  "values": []
2284
2275
  },
2285
2276
  {
2286
- "name": "offText",
2287
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2277
+ "name": "error",
2278
+ "description": "Specify error text and display error state of a RadioButton",
2288
2279
  "values": []
2289
2280
  },
2290
- {
2291
- "name": "textPosition",
2292
- "description": "Specify the position of the side label",
2293
- "values": [{ "name": "before" }, { "name": "after" }]
2294
- },
2295
2281
  {
2296
2282
  "name": "readOnly",
2297
- "description": "Specify if Switch displays in a read-only state",
2283
+ "description": "Specify if RadioButton displays in a read-only state",
2298
2284
  "values": []
2299
2285
  },
2300
2286
  {
2301
2287
  "name": "disabled",
2302
- "description": "Specify if Switch displays in a disabled state",
2288
+ "description": "Specify if RadioButton displays in a disabled state",
2303
2289
  "values": []
2304
2290
  },
2305
- { "name": "checked", "values": [] },
2291
+ {
2292
+ "name": "theme",
2293
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2294
+ "values": [{ "name": "light" }, { "name": "dark" }]
2295
+ },
2306
2296
  {
2307
2297
  "name": "value",
2308
2298
  "description": "The value attribute for the input element",
2309
2299
  "values": []
2300
+ },
2301
+ {
2302
+ "name": "checked",
2303
+ "description": "The checked attribute for the input element",
2304
+ "values": []
2305
+ },
2306
+ {
2307
+ "name": "onKeyDown",
2308
+ "description": "A user-defined function to handle keydown events",
2309
+ "values": [{ "name": "(event: KeyboardEvent) => void" }]
2310
2310
  }
2311
2311
  ],
2312
2312
  "references": [
2313
2313
  {
2314
2314
  "name": "Storybook",
2315
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2315
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2316
2316
  }
2317
2317
  ]
2318
2318
  },
@@ -2557,8 +2557,8 @@
2557
2557
  ]
2558
2558
  },
2559
2559
  {
2560
- "name": "bm-radio-button-group",
2561
- "description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
2560
+ "name": "bm-switch-group",
2561
+ "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",
2562
2562
  "attributes": [
2563
2563
  {
2564
2564
  "name": "theme",
@@ -2624,13 +2624,13 @@
2624
2624
  "references": [
2625
2625
  {
2626
2626
  "name": "Storybook",
2627
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2627
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2628
2628
  }
2629
2629
  ]
2630
2630
  },
2631
2631
  {
2632
- "name": "bm-switch-group",
2633
- "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",
2632
+ "name": "bm-radio-button-group",
2633
+ "description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
2634
2634
  "attributes": [
2635
2635
  {
2636
2636
  "name": "theme",
@@ -2696,7 +2696,7 @@
2696
2696
  "references": [
2697
2697
  {
2698
2698
  "name": "Storybook",
2699
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2699
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2700
2700
  }
2701
2701
  ]
2702
2702
  }