@viasat/beam-web-components 2.61.0 → 2.63.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,79 +159,6 @@
159
159
  }
160
160
  ]
161
161
  },
162
- {
163
- "name": "bm-alert",
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",
165
- "attributes": [
166
- {
167
- "name": "heading",
168
- "description": "Specify the heading text for Alert",
169
- "values": []
170
- },
171
- {
172
- "name": "body",
173
- "description": "Specify the body text for Alert",
174
- "values": []
175
- },
176
- {
177
- "name": "size",
178
- "description": "Specify the size of the Alert",
179
- "values": [{ "name": "sm" }, { "name": "md" }]
180
- },
181
- {
182
- "name": "fullWidth",
183
- "description": "Specify if the Alert has no border radius",
184
- "values": []
185
- },
186
- {
187
- "name": "theme",
188
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
189
- "values": [{ "name": "light" }, { "name": "dark" }]
190
- },
191
- {
192
- "name": "appearance",
193
- "description": "Specify the appearance of the Alert",
194
- "values": [
195
- { "name": "infoPrimary" },
196
- { "name": "infoSecondary" },
197
- { "name": "positive" },
198
- { "name": "warning" },
199
- { "name": "negative" }
200
- ]
201
- },
202
- {
203
- "name": "hidden",
204
- "description": "Specify if the Alert is hidden",
205
- "values": []
206
- },
207
- {
208
- "name": "hideIcon",
209
- "description": "Specify if the icon displays on the Alert",
210
- "values": []
211
- },
212
- {
213
- "name": "dismissible",
214
- "description": "Specify if the Alert can be dismissed",
215
- "values": []
216
- },
217
- {
218
- "name": "disableAutoFocus",
219
- "description": "Prevent autofocus on show",
220
- "values": []
221
- },
222
- {
223
- "name": "disableCloseOnEscape",
224
- "description": "Prevent Escape from closing",
225
- "values": []
226
- }
227
- ],
228
- "references": [
229
- {
230
- "name": "Storybook",
231
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
232
- }
233
- ]
234
- },
235
162
  {
236
163
  "name": "bm-badge",
237
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",
@@ -275,44 +202,6 @@
275
202
  }
276
203
  ]
277
204
  },
278
- {
279
- "name": "bm-badge-dot",
280
- "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color\n---\n\n\n### **Slots:**\n - **default** - Provide text for the BadgeDot",
281
- "attributes": [
282
- {
283
- "name": "theme",
284
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
285
- "values": [{ "name": "light" }, { "name": "dark" }]
286
- },
287
- {
288
- "name": "appearance",
289
- "description": "Specify the appearance of the BadgeDot",
290
- "values": [
291
- { "name": "infoPrimary" },
292
- { "name": "infoSecondary" },
293
- { "name": "positive" },
294
- { "name": "warning" },
295
- { "name": "negative" }
296
- ]
297
- },
298
- {
299
- "name": "emphasis",
300
- "description": "Specify the emphasis of the BadgeDot",
301
- "values": [{ "name": "strong" }, { "name": "subtle" }]
302
- },
303
- {
304
- "name": "overrideDotColor",
305
- "description": "Overrides default dot color",
306
- "values": []
307
- }
308
- ],
309
- "references": [
310
- {
311
- "name": "Storybook",
312
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
313
- }
314
- ]
315
- },
316
205
  {
317
206
  "name": "bm-box",
318
207
  "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",
@@ -845,6 +734,117 @@
845
734
  }
846
735
  ]
847
736
  },
737
+ {
738
+ "name": "bm-alert",
739
+ "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",
740
+ "attributes": [
741
+ {
742
+ "name": "heading",
743
+ "description": "Specify the heading text for Alert",
744
+ "values": []
745
+ },
746
+ {
747
+ "name": "body",
748
+ "description": "Specify the body text for Alert",
749
+ "values": []
750
+ },
751
+ {
752
+ "name": "size",
753
+ "description": "Specify the size of the Alert",
754
+ "values": [{ "name": "sm" }, { "name": "md" }]
755
+ },
756
+ {
757
+ "name": "fullWidth",
758
+ "description": "Specify if the Alert has no border radius",
759
+ "values": []
760
+ },
761
+ {
762
+ "name": "theme",
763
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
764
+ "values": [{ "name": "light" }, { "name": "dark" }]
765
+ },
766
+ {
767
+ "name": "appearance",
768
+ "description": "Specify the appearance of the Alert",
769
+ "values": [
770
+ { "name": "infoPrimary" },
771
+ { "name": "infoSecondary" },
772
+ { "name": "positive" },
773
+ { "name": "warning" },
774
+ { "name": "negative" }
775
+ ]
776
+ },
777
+ {
778
+ "name": "hidden",
779
+ "description": "Specify if the Alert is hidden",
780
+ "values": []
781
+ },
782
+ {
783
+ "name": "hideIcon",
784
+ "description": "Specify if the icon displays on the Alert",
785
+ "values": []
786
+ },
787
+ {
788
+ "name": "dismissible",
789
+ "description": "Specify if the Alert can be dismissed",
790
+ "values": []
791
+ },
792
+ {
793
+ "name": "disableAutoFocus",
794
+ "description": "Prevent autofocus on show",
795
+ "values": []
796
+ },
797
+ {
798
+ "name": "disableCloseOnEscape",
799
+ "description": "Prevent Escape from closing",
800
+ "values": []
801
+ }
802
+ ],
803
+ "references": [
804
+ {
805
+ "name": "Storybook",
806
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
807
+ }
808
+ ]
809
+ },
810
+ {
811
+ "name": "bm-badge-dot",
812
+ "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",
813
+ "attributes": [
814
+ {
815
+ "name": "theme",
816
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
817
+ "values": [{ "name": "light" }, { "name": "dark" }]
818
+ },
819
+ {
820
+ "name": "appearance",
821
+ "description": "Specify the appearance of the BadgeDot",
822
+ "values": [
823
+ { "name": "infoPrimary" },
824
+ { "name": "infoSecondary" },
825
+ { "name": "positive" },
826
+ { "name": "warning" },
827
+ { "name": "negative" }
828
+ ]
829
+ },
830
+ {
831
+ "name": "emphasis",
832
+ "description": "Specify the emphasis of the BadgeDot",
833
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
834
+ },
835
+ {
836
+ "name": "overrideDotColor",
837
+ "description": "Overrides default dot color",
838
+ "values": []
839
+ }
840
+ ],
841
+ "references": [
842
+ {
843
+ "name": "Storybook",
844
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
845
+ }
846
+ ]
847
+ },
848
848
  {
849
849
  "name": "bm-close-button",
850
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",
@@ -1910,42 +1910,157 @@
1910
1910
  ]
1911
1911
  },
1912
1912
  {
1913
- "name": "bm-file-upload-button",
1914
- "description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded\n---\n\n\n### **Slots:**\n - **default** - Specify text 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",
1913
+ "name": "bm-native-select",
1914
+ "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",
1915
1915
  "attributes": [
1916
1916
  {
1917
- "name": "error",
1918
- "description": "Specify if FileUpload is in error state",
1917
+ "name": "required",
1918
+ "description": "Specify if NativeSelect is a required input",
1919
1919
  "values": []
1920
1920
  },
1921
1921
  {
1922
- "name": "accept",
1923
- "description": "Specify the accepted file types",
1922
+ "name": "readOnly",
1923
+ "description": "Specify if NativeSelect displays in a read-only state",
1924
1924
  "values": []
1925
1925
  },
1926
1926
  {
1927
- "name": "multiple",
1928
- "description": "Specify if multiple files can be uploaded",
1927
+ "name": "disabled",
1928
+ "description": "Specify if NativeSelect displays in a disabled state",
1929
1929
  "values": []
1930
1930
  },
1931
1931
  {
1932
- "name": "appearance",
1933
- "description": "Specify the appearance of a Button",
1934
- "values": [
1935
- { "name": "accent" },
1936
- { "name": "neutral" },
1937
- { "name": "neutral-subtle" },
1938
- { "name": "destructive" }
1939
- ]
1932
+ "name": "error",
1933
+ "description": "Specify error text and display error state of a NativeSelect",
1934
+ "values": []
1940
1935
  },
1941
1936
  {
1942
- "name": "kind",
1943
- "description": "Specify the kind of Button",
1944
- "values": [
1945
- { "name": "filled" },
1946
- { "name": "outline" },
1947
- { "name": "ghost" },
1948
- { "name": "bare" }
1937
+ "name": "fluid",
1938
+ "description": "Specify if NativeSelect is fluid",
1939
+ "values": []
1940
+ },
1941
+ {
1942
+ "name": "size",
1943
+ "description": "Specify the size of NativeSelect",
1944
+ "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
1945
+ },
1946
+ {
1947
+ "name": "width",
1948
+ "description": "Specify the width of NativeSelect",
1949
+ "values": []
1950
+ },
1951
+ {
1952
+ "name": "ellipse",
1953
+ "description": "Specify if overflow displays ellipsis",
1954
+ "values": []
1955
+ },
1956
+ {
1957
+ "name": "hideRequiredMarker",
1958
+ "description": "Specify if the NativeSelect displays with an asterisk",
1959
+ "values": []
1960
+ },
1961
+ {
1962
+ "name": "theme",
1963
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
1964
+ "values": [{ "name": "light" }, { "name": "dark" }]
1965
+ },
1966
+ { "name": "id", "values": [] },
1967
+ { "name": "name", "values": [] },
1968
+ { "name": "value", "values": [] },
1969
+ {
1970
+ "name": "validationRules",
1971
+ "values": [{ "name": "Array<FormValidator>" }]
1972
+ },
1973
+ { "name": "input-aria-label", "values": [] }
1974
+ ],
1975
+ "references": [
1976
+ {
1977
+ "name": "Storybook",
1978
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
1979
+ }
1980
+ ]
1981
+ },
1982
+ {
1983
+ "name": "bm-form",
1984
+ "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",
1985
+ "attributes": [
1986
+ {
1987
+ "name": "validationMode",
1988
+ "description": "Specify if validation runs on change or when loosing focus",
1989
+ "values": [
1990
+ { "name": "onChange" },
1991
+ { "name": "onBlur" },
1992
+ { "name": "onSubmit" }
1993
+ ]
1994
+ },
1995
+ {
1996
+ "name": "initialValues",
1997
+ "description": "Specify initial values on Form controls based on their names",
1998
+ "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
1999
+ },
2000
+ {
2001
+ "name": "required",
2002
+ "description": "Specify if input is a required",
2003
+ "values": []
2004
+ },
2005
+ {
2006
+ "name": "disabled",
2007
+ "description": "Specify if input is a disabled",
2008
+ "values": []
2009
+ },
2010
+ {
2011
+ "name": "readOnly",
2012
+ "description": "Specify if input is a read only",
2013
+ "values": []
2014
+ },
2015
+ { "name": "action", "values": [] },
2016
+ { "name": "method", "values": [] },
2017
+ { "name": "target", "values": [] },
2018
+ { "name": "enctype", "values": [] }
2019
+ ],
2020
+ "references": [
2021
+ {
2022
+ "name": "Storybook",
2023
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2024
+ }
2025
+ ]
2026
+ },
2027
+ {
2028
+ "name": "bm-file-upload-button",
2029
+ "description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded\n---\n\n\n### **Slots:**\n - **default** - Specify text 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",
2030
+ "attributes": [
2031
+ {
2032
+ "name": "error",
2033
+ "description": "Specify if FileUpload is in error state",
2034
+ "values": []
2035
+ },
2036
+ {
2037
+ "name": "accept",
2038
+ "description": "Specify the accepted file types",
2039
+ "values": []
2040
+ },
2041
+ {
2042
+ "name": "multiple",
2043
+ "description": "Specify if multiple files can be uploaded",
2044
+ "values": []
2045
+ },
2046
+ {
2047
+ "name": "appearance",
2048
+ "description": "Specify the appearance of a Button",
2049
+ "values": [
2050
+ { "name": "accent" },
2051
+ { "name": "neutral" },
2052
+ { "name": "neutral-subtle" },
2053
+ { "name": "destructive" }
2054
+ ]
2055
+ },
2056
+ {
2057
+ "name": "kind",
2058
+ "description": "Specify the kind of Button",
2059
+ "values": [
2060
+ { "name": "filled" },
2061
+ { "name": "outline" },
2062
+ { "name": "ghost" },
2063
+ { "name": "bare" }
1949
2064
  ]
1950
2065
  },
1951
2066
  {
@@ -2217,169 +2332,97 @@
2217
2332
  ]
2218
2333
  },
2219
2334
  {
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",
2335
+ "name": "bm-radio-button",
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",
2222
2337
  "attributes": [
2223
2338
  {
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",
2339
+ "name": "label",
2340
+ "description": "Specify the text for the label",
2250
2341
  "values": []
2251
2342
  },
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
- {
2265
- "name": "bm-native-select",
2266
- "description": "`bm-native-select`\n---\n\n\n### **Slots:**\n - **slot** - Specify Options for NativeSelect\n- **label** - Specify Label for NativeSelect\n- **helper-text** - Specify HelperText for NativeSelect",
2267
- "attributes": [
2268
2343
  {
2269
- "name": "required",
2270
- "description": "Specify if NativeSelect is a required input",
2344
+ "name": "error",
2345
+ "description": "Specify error text and display error state of a RadioButton",
2271
2346
  "values": []
2272
2347
  },
2273
2348
  {
2274
2349
  "name": "readOnly",
2275
- "description": "Specify if NativeSelect displays in a read-only state",
2350
+ "description": "Specify if RadioButton displays in a read-only state",
2276
2351
  "values": []
2277
2352
  },
2278
2353
  {
2279
2354
  "name": "disabled",
2280
- "description": "Specify if NativeSelect displays in a disabled state",
2281
- "values": []
2282
- },
2283
- {
2284
- "name": "error",
2285
- "description": "Specify error text and display error state of a NativeSelect",
2286
- "values": []
2287
- },
2288
- {
2289
- "name": "fluid",
2290
- "description": "Specify if NativeSelect is fluid",
2355
+ "description": "Specify if RadioButton displays in a disabled state",
2291
2356
  "values": []
2292
2357
  },
2293
2358
  {
2294
- "name": "size",
2295
- "description": "Specify the size of NativeSelect",
2296
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
2297
- },
2298
- {
2299
- "name": "width",
2300
- "description": "Specify the width of NativeSelect",
2301
- "values": []
2359
+ "name": "theme",
2360
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2361
+ "values": [{ "name": "light" }, { "name": "dark" }]
2302
2362
  },
2303
2363
  {
2304
- "name": "ellipse",
2305
- "description": "Specify if overflow displays ellipsis",
2364
+ "name": "value",
2365
+ "description": "The value attribute for the input element",
2306
2366
  "values": []
2307
2367
  },
2308
2368
  {
2309
- "name": "hideRequiredMarker",
2310
- "description": "Specify if the NativeSelect displays with an asterisk",
2369
+ "name": "checked",
2370
+ "description": "The checked attribute for the input element",
2311
2371
  "values": []
2312
2372
  },
2313
2373
  {
2314
- "name": "theme",
2315
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
2316
- "values": [{ "name": "light" }, { "name": "dark" }]
2317
- },
2318
- { "name": "id", "values": [] },
2319
- { "name": "name", "values": [] },
2320
- { "name": "value", "values": [] },
2321
- {
2322
- "name": "validationRules",
2323
- "values": [{ "name": "Array<FormValidator>" }]
2324
- },
2325
- { "name": "input-aria-label", "values": [] }
2374
+ "name": "onKeyDown",
2375
+ "description": "A user-defined function to handle keydown events",
2376
+ "values": [{ "name": "(event: KeyboardEvent) => void" }]
2377
+ }
2326
2378
  ],
2327
2379
  "references": [
2328
2380
  {
2329
2381
  "name": "Storybook",
2330
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
2382
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2331
2383
  }
2332
2384
  ]
2333
2385
  },
2334
2386
  {
2335
- "name": "bm-radio-button",
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",
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.",
2337
2389
  "attributes": [
2338
2390
  {
2339
- "name": "label",
2340
- "description": "Specify the text for the label",
2391
+ "name": "onText",
2392
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2341
2393
  "values": []
2342
2394
  },
2343
2395
  {
2344
- "name": "error",
2345
- "description": "Specify error text and display error state of a RadioButton",
2396
+ "name": "offText",
2397
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2346
2398
  "values": []
2347
2399
  },
2400
+ {
2401
+ "name": "textPosition",
2402
+ "description": "Specify the position of the side label",
2403
+ "values": [{ "name": "before" }, { "name": "after" }]
2404
+ },
2348
2405
  {
2349
2406
  "name": "readOnly",
2350
- "description": "Specify if RadioButton displays in a read-only state",
2407
+ "description": "Specify if Switch displays in a read-only state",
2351
2408
  "values": []
2352
2409
  },
2353
2410
  {
2354
2411
  "name": "disabled",
2355
- "description": "Specify if RadioButton displays in a disabled state",
2412
+ "description": "Specify if Switch displays in a disabled state",
2356
2413
  "values": []
2357
2414
  },
2358
- {
2359
- "name": "theme",
2360
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2361
- "values": [{ "name": "light" }, { "name": "dark" }]
2362
- },
2415
+ { "name": "checked", "values": [] },
2363
2416
  {
2364
2417
  "name": "value",
2365
2418
  "description": "The value attribute for the input element",
2366
2419
  "values": []
2367
- },
2368
- {
2369
- "name": "checked",
2370
- "description": "The checked attribute for the input element",
2371
- "values": []
2372
- },
2373
- {
2374
- "name": "onKeyDown",
2375
- "description": "A user-defined function to handle keydown events",
2376
- "values": [{ "name": "(event: KeyboardEvent) => void" }]
2377
2420
  }
2378
2421
  ],
2379
2422
  "references": [
2380
2423
  {
2381
2424
  "name": "Storybook",
2382
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2425
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2383
2426
  }
2384
2427
  ]
2385
2428
  },
@@ -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",