@viasat/beam-web-components 2.39.2 → 2.40.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/custom-elements.json +2348 -2348
- package/package.json +6 -6
- package/vscode.html-custom-data.json +216 -216
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.40.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.
|
|
68
|
-
"@viasat/beam-shared": "2.
|
|
69
|
-
"@viasat/beam-styles": "2.
|
|
70
|
-
"@viasat/beam-tokens": "2.
|
|
71
|
-
"@viasat/beam-icons": "2.
|
|
67
|
+
"@viasat/beam-fonts": "2.40.0",
|
|
68
|
+
"@viasat/beam-shared": "2.40.0",
|
|
69
|
+
"@viasat/beam-styles": "2.40.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.40.0",
|
|
71
|
+
"@viasat/beam-icons": "2.40.0",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -61,6 +61,79 @@
|
|
|
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
|
+
},
|
|
64
137
|
{
|
|
65
138
|
"name": "bm-badge",
|
|
66
139
|
"description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon\n---\n\n\n### **Slots:**\n - **default** - Provide text for the Badge\n- **icon** - Specify a different icon for the Badge",
|
|
@@ -545,79 +618,6 @@
|
|
|
545
618
|
}
|
|
546
619
|
]
|
|
547
620
|
},
|
|
548
|
-
{
|
|
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",
|
|
551
|
-
"attributes": [
|
|
552
|
-
{
|
|
553
|
-
"name": "heading",
|
|
554
|
-
"description": "Specify the heading text for Alert",
|
|
555
|
-
"values": []
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"name": "body",
|
|
559
|
-
"description": "Specify the body text for Alert",
|
|
560
|
-
"values": []
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"name": "size",
|
|
564
|
-
"description": "Specify the size of the Alert",
|
|
565
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "fullWidth",
|
|
569
|
-
"description": "Specify if the Alert has no border radius",
|
|
570
|
-
"values": []
|
|
571
|
-
},
|
|
572
|
-
{
|
|
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" }]
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"name": "appearance",
|
|
579
|
-
"description": "Specify the appearance of the Alert",
|
|
580
|
-
"values": [
|
|
581
|
-
{ "name": "infoPrimary" },
|
|
582
|
-
{ "name": "infoSecondary" },
|
|
583
|
-
{ "name": "positive" },
|
|
584
|
-
{ "name": "warning" },
|
|
585
|
-
{ "name": "negative" }
|
|
586
|
-
]
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
"name": "hidden",
|
|
590
|
-
"description": "Specify if the Alert is hidden",
|
|
591
|
-
"values": []
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"name": "hideIcon",
|
|
595
|
-
"description": "Specify if the icon displays on the Alert",
|
|
596
|
-
"values": []
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"name": "dismissible",
|
|
600
|
-
"description": "Specify if the Alert can be dismissed",
|
|
601
|
-
"values": []
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"name": "disableAutoFocus",
|
|
605
|
-
"description": "Prevent autofocus on show",
|
|
606
|
-
"values": []
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"name": "disableCloseOnEscape",
|
|
610
|
-
"description": "Prevent Escape from closing",
|
|
611
|
-
"values": []
|
|
612
|
-
}
|
|
613
|
-
],
|
|
614
|
-
"references": [
|
|
615
|
-
{
|
|
616
|
-
"name": "Storybook",
|
|
617
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
618
|
-
}
|
|
619
|
-
]
|
|
620
|
-
},
|
|
621
621
|
{
|
|
622
622
|
"name": "bm-avatar",
|
|
623
623
|
"description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** \n---\n\n\n### **Slots:**\n - **icon** - Customize the default icon",
|
|
@@ -1954,6 +1954,119 @@
|
|
|
1954
1954
|
}
|
|
1955
1955
|
]
|
|
1956
1956
|
},
|
|
1957
|
+
{
|
|
1958
|
+
"name": "bm-switch",
|
|
1959
|
+
"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.",
|
|
1960
|
+
"attributes": [
|
|
1961
|
+
{
|
|
1962
|
+
"name": "onText",
|
|
1963
|
+
"description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
|
|
1964
|
+
"values": []
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "offText",
|
|
1968
|
+
"description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
|
1969
|
+
"values": []
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"name": "textPosition",
|
|
1973
|
+
"description": "Specify the position of the side label",
|
|
1974
|
+
"values": [{ "name": "before" }, { "name": "after" }]
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"name": "readOnly",
|
|
1978
|
+
"description": "Specify if Switch displays in a read-only state",
|
|
1979
|
+
"values": []
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"name": "disabled",
|
|
1983
|
+
"description": "Specify if Switch displays in a disabled state",
|
|
1984
|
+
"values": []
|
|
1985
|
+
},
|
|
1986
|
+
{ "name": "checked", "values": [] },
|
|
1987
|
+
{
|
|
1988
|
+
"name": "value",
|
|
1989
|
+
"description": "The value attribute for the input element",
|
|
1990
|
+
"values": []
|
|
1991
|
+
}
|
|
1992
|
+
],
|
|
1993
|
+
"references": [
|
|
1994
|
+
{
|
|
1995
|
+
"name": "Storybook",
|
|
1996
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
1997
|
+
}
|
|
1998
|
+
]
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"name": "bm-native-select",
|
|
2002
|
+
"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",
|
|
2003
|
+
"attributes": [
|
|
2004
|
+
{
|
|
2005
|
+
"name": "required",
|
|
2006
|
+
"description": "Specify if NativeSelect is a required input",
|
|
2007
|
+
"values": []
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
"name": "readOnly",
|
|
2011
|
+
"description": "Specify if NativeSelect displays in a read-only state",
|
|
2012
|
+
"values": []
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "disabled",
|
|
2016
|
+
"description": "Specify if NativeSelect displays in a disabled state",
|
|
2017
|
+
"values": []
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"name": "error",
|
|
2021
|
+
"description": "Specify error text and display error state of a NativeSelect",
|
|
2022
|
+
"values": []
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"name": "fluid",
|
|
2026
|
+
"description": "Specify if NativeSelect is fluid",
|
|
2027
|
+
"values": []
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"name": "size",
|
|
2031
|
+
"description": "Specify the size of NativeSelect",
|
|
2032
|
+
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
"name": "width",
|
|
2036
|
+
"description": "Specify the width of NativeSelect",
|
|
2037
|
+
"values": []
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"name": "ellipse",
|
|
2041
|
+
"description": "Specify if overflow displays ellipsis",
|
|
2042
|
+
"values": []
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"name": "hideRequiredMarker",
|
|
2046
|
+
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
2047
|
+
"values": []
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"name": "theme",
|
|
2051
|
+
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
2052
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2053
|
+
},
|
|
2054
|
+
{ "name": "id", "values": [] },
|
|
2055
|
+
{ "name": "name", "values": [] },
|
|
2056
|
+
{ "name": "value", "values": [] },
|
|
2057
|
+
{
|
|
2058
|
+
"name": "validationRules",
|
|
2059
|
+
"values": [{ "name": "Array<FormValidator>" }]
|
|
2060
|
+
},
|
|
2061
|
+
{ "name": "input-aria-label", "values": [] }
|
|
2062
|
+
],
|
|
2063
|
+
"references": [
|
|
2064
|
+
{
|
|
2065
|
+
"name": "Storybook",
|
|
2066
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
2067
|
+
}
|
|
2068
|
+
]
|
|
2069
|
+
},
|
|
1957
2070
|
{
|
|
1958
2071
|
"name": "bm-file-upload-button",
|
|
1959
2072
|
"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",
|
|
@@ -2261,128 +2374,6 @@
|
|
|
2261
2374
|
}
|
|
2262
2375
|
]
|
|
2263
2376
|
},
|
|
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
|
-
{
|
|
2269
|
-
"name": "required",
|
|
2270
|
-
"description": "Specify if NativeSelect is a required input",
|
|
2271
|
-
"values": []
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "readOnly",
|
|
2275
|
-
"description": "Specify if NativeSelect displays in a read-only state",
|
|
2276
|
-
"values": []
|
|
2277
|
-
},
|
|
2278
|
-
{
|
|
2279
|
-
"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",
|
|
2291
|
-
"values": []
|
|
2292
|
-
},
|
|
2293
|
-
{
|
|
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": []
|
|
2302
|
-
},
|
|
2303
|
-
{
|
|
2304
|
-
"name": "ellipse",
|
|
2305
|
-
"description": "Specify if overflow displays ellipsis",
|
|
2306
|
-
"values": []
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
"name": "hideRequiredMarker",
|
|
2310
|
-
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
2311
|
-
"values": []
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
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": [] }
|
|
2326
|
-
],
|
|
2327
|
-
"references": [
|
|
2328
|
-
{
|
|
2329
|
-
"name": "Storybook",
|
|
2330
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
2331
|
-
}
|
|
2332
|
-
]
|
|
2333
|
-
},
|
|
2334
|
-
{
|
|
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",
|
|
2337
|
-
"attributes": [
|
|
2338
|
-
{
|
|
2339
|
-
"name": "label",
|
|
2340
|
-
"description": "Specify the text for the label",
|
|
2341
|
-
"values": []
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"name": "error",
|
|
2345
|
-
"description": "Specify error text and display error state of a RadioButton",
|
|
2346
|
-
"values": []
|
|
2347
|
-
},
|
|
2348
|
-
{
|
|
2349
|
-
"name": "readOnly",
|
|
2350
|
-
"description": "Specify if RadioButton displays in a read-only state",
|
|
2351
|
-
"values": []
|
|
2352
|
-
},
|
|
2353
|
-
{
|
|
2354
|
-
"name": "disabled",
|
|
2355
|
-
"description": "Specify if RadioButton displays in a disabled state",
|
|
2356
|
-
"values": []
|
|
2357
|
-
},
|
|
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
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
"name": "value",
|
|
2365
|
-
"description": "The value attribute for the input element",
|
|
2366
|
-
"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
|
-
}
|
|
2378
|
-
],
|
|
2379
|
-
"references": [
|
|
2380
|
-
{
|
|
2381
|
-
"name": "Storybook",
|
|
2382
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2383
|
-
}
|
|
2384
|
-
]
|
|
2385
|
-
},
|
|
2386
2377
|
{
|
|
2387
2378
|
"name": "bm-text-area",
|
|
2388
2379
|
"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",
|
|
@@ -2474,45 +2465,54 @@
|
|
|
2474
2465
|
]
|
|
2475
2466
|
},
|
|
2476
2467
|
{
|
|
2477
|
-
"name": "bm-
|
|
2478
|
-
"description": "`bm-
|
|
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",
|
|
2479
2470
|
"attributes": [
|
|
2480
2471
|
{
|
|
2481
|
-
"name": "
|
|
2482
|
-
"description": "Specify
|
|
2472
|
+
"name": "label",
|
|
2473
|
+
"description": "Specify the text for the label",
|
|
2483
2474
|
"values": []
|
|
2484
2475
|
},
|
|
2485
2476
|
{
|
|
2486
|
-
"name": "
|
|
2487
|
-
"description": "Specify
|
|
2477
|
+
"name": "error",
|
|
2478
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2488
2479
|
"values": []
|
|
2489
2480
|
},
|
|
2490
|
-
{
|
|
2491
|
-
"name": "textPosition",
|
|
2492
|
-
"description": "Specify the position of the side label",
|
|
2493
|
-
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2494
|
-
},
|
|
2495
2481
|
{
|
|
2496
2482
|
"name": "readOnly",
|
|
2497
|
-
"description": "Specify if
|
|
2483
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2498
2484
|
"values": []
|
|
2499
2485
|
},
|
|
2500
2486
|
{
|
|
2501
2487
|
"name": "disabled",
|
|
2502
|
-
"description": "Specify if
|
|
2488
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2503
2489
|
"values": []
|
|
2504
2490
|
},
|
|
2505
|
-
{
|
|
2491
|
+
{
|
|
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" }]
|
|
2495
|
+
},
|
|
2506
2496
|
{
|
|
2507
2497
|
"name": "value",
|
|
2508
2498
|
"description": "The value attribute for the input element",
|
|
2509
2499
|
"values": []
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"name": "checked",
|
|
2503
|
+
"description": "The checked attribute for the input element",
|
|
2504
|
+
"values": []
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"name": "onKeyDown",
|
|
2508
|
+
"description": "A user-defined function to handle keydown events",
|
|
2509
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2510
2510
|
}
|
|
2511
2511
|
],
|
|
2512
2512
|
"references": [
|
|
2513
2513
|
{
|
|
2514
2514
|
"name": "Storybook",
|
|
2515
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2515
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2516
2516
|
}
|
|
2517
2517
|
]
|
|
2518
2518
|
},
|
|
@@ -2586,8 +2586,8 @@
|
|
|
2586
2586
|
]
|
|
2587
2587
|
},
|
|
2588
2588
|
{
|
|
2589
|
-
"name": "bm-
|
|
2590
|
-
"description": "
|
|
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",
|
|
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-
|
|
2653
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2654
2654
|
}
|
|
2655
2655
|
]
|
|
2656
2656
|
},
|
|
2657
2657
|
{
|
|
2658
|
-
"name": "bm-
|
|
2659
|
-
"description": "
|
|
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",
|
|
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-
|
|
2722
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2723
2723
|
}
|
|
2724
2724
|
]
|
|
2725
2725
|
}
|