@viasat/beam-web-components 2.18.0 → 2.19.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 +1397 -1397
- package/package.json +6 -6
- package/vscode.html-custom-data.json +187 -187
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.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.19.0",
|
|
68
|
+
"@viasat/beam-shared": "2.19.0",
|
|
69
|
+
"@viasat/beam-styles": "2.19.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.19.0",
|
|
71
|
+
"@viasat/beam-icons": "2.19.0",
|
|
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-avatar",
|
|
139
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",
|
|
@@ -275,6 +202,79 @@
|
|
|
275
202
|
}
|
|
276
203
|
]
|
|
277
204
|
},
|
|
205
|
+
{
|
|
206
|
+
"name": "bm-alert",
|
|
207
|
+
"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",
|
|
208
|
+
"attributes": [
|
|
209
|
+
{
|
|
210
|
+
"name": "heading",
|
|
211
|
+
"description": "Specify the heading text for Alert",
|
|
212
|
+
"values": []
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "body",
|
|
216
|
+
"description": "Specify the body text for Alert",
|
|
217
|
+
"values": []
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "size",
|
|
221
|
+
"description": "Specify the size of the Alert",
|
|
222
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "fullWidth",
|
|
226
|
+
"description": "Specify if the Alert has no border radius",
|
|
227
|
+
"values": []
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "theme",
|
|
231
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
232
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "appearance",
|
|
236
|
+
"description": "Specify the appearance of the Alert",
|
|
237
|
+
"values": [
|
|
238
|
+
{ "name": "infoPrimary" },
|
|
239
|
+
{ "name": "infoSecondary" },
|
|
240
|
+
{ "name": "positive" },
|
|
241
|
+
{ "name": "warning" },
|
|
242
|
+
{ "name": "negative" }
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "hidden",
|
|
247
|
+
"description": "Specify if the Alert is hidden",
|
|
248
|
+
"values": []
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "hideIcon",
|
|
252
|
+
"description": "Specify if the icon displays on the Alert",
|
|
253
|
+
"values": []
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "dismissible",
|
|
257
|
+
"description": "Specify if the Alert can be dismissed",
|
|
258
|
+
"values": []
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "disableAutoFocus",
|
|
262
|
+
"description": "Prevent autofocus on show",
|
|
263
|
+
"values": []
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "disableCloseOnEscape",
|
|
267
|
+
"description": "Prevent Escape from closing",
|
|
268
|
+
"values": []
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"references": [
|
|
272
|
+
{
|
|
273
|
+
"name": "Storybook",
|
|
274
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
278
|
{
|
|
279
279
|
"name": "bm-badge-dot",
|
|
280
280
|
"description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color\n---\n\n\n### **Slots:**\n - **default** - Provide text for the BadgeDot",
|
|
@@ -873,6 +873,38 @@
|
|
|
873
873
|
}
|
|
874
874
|
]
|
|
875
875
|
},
|
|
876
|
+
{
|
|
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",
|
|
879
|
+
"attributes": [
|
|
880
|
+
{
|
|
881
|
+
"name": "heading",
|
|
882
|
+
"description": "Specify heading text for EmptyState",
|
|
883
|
+
"values": []
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"name": "body",
|
|
887
|
+
"description": "Specify body text for EmptyState",
|
|
888
|
+
"values": []
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "actions",
|
|
892
|
+
"description": "Specify action for EmptyState",
|
|
893
|
+
"values": [{ "name": "HTMLSlotElement" }]
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"name": "theme",
|
|
897
|
+
"description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
|
|
898
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
899
|
+
}
|
|
900
|
+
],
|
|
901
|
+
"references": [
|
|
902
|
+
{
|
|
903
|
+
"name": "Storybook",
|
|
904
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-emptystate"
|
|
905
|
+
}
|
|
906
|
+
]
|
|
907
|
+
},
|
|
876
908
|
{
|
|
877
909
|
"name": "bm-divider",
|
|
878
910
|
"description": "`bm-divider`\n\n### Attributes:\n- **orientation** - Specify the direction of the Divider\n- **borderColor** - Specify the border color of the divider line\n- **borderWidth** - Specify the width of the divider line\n- **borderStyle** - Specify the style of the divider line\n- **alignContent** - Align content to the divider line\n- **length** \n- **inset** - Add equal padding to each side of the Divider\n---\n\n\n### **Slots:**\n - **default** - Add text to the Divider\n- **icon** - Add an icon to the Divider",
|
|
@@ -957,38 +989,6 @@
|
|
|
957
989
|
}
|
|
958
990
|
]
|
|
959
991
|
},
|
|
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",
|
|
@@ -2089,43 +2089,6 @@
|
|
|
2089
2089
|
}
|
|
2090
2090
|
]
|
|
2091
2091
|
},
|
|
2092
|
-
{
|
|
2093
|
-
"name": "bm-label",
|
|
2094
|
-
"description": "`bm-label`\n---\n\n\n### **Slots:**\n - **text** - Specify the text for Label\n- **optional** - Specify if the Label displays as optional\n- **tooltip** - Specify if the icon displays to add a Tooltip",
|
|
2095
|
-
"attributes": [
|
|
2096
|
-
{
|
|
2097
|
-
"name": "disabled",
|
|
2098
|
-
"description": "Specify if the Label displays disabled",
|
|
2099
|
-
"values": []
|
|
2100
|
-
},
|
|
2101
|
-
{
|
|
2102
|
-
"name": "required",
|
|
2103
|
-
"description": "Specify if the Label displays as required",
|
|
2104
|
-
"values": []
|
|
2105
|
-
},
|
|
2106
|
-
{
|
|
2107
|
-
"name": "text",
|
|
2108
|
-
"description": "Specify the text for Label",
|
|
2109
|
-
"values": []
|
|
2110
|
-
},
|
|
2111
|
-
{
|
|
2112
|
-
"name": "optional",
|
|
2113
|
-
"description": "Specify the text for Label",
|
|
2114
|
-
"values": []
|
|
2115
|
-
},
|
|
2116
|
-
{
|
|
2117
|
-
"name": "theme",
|
|
2118
|
-
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
2119
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2120
|
-
}
|
|
2121
|
-
],
|
|
2122
|
-
"references": [
|
|
2123
|
-
{
|
|
2124
|
-
"name": "Storybook",
|
|
2125
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
2126
|
-
}
|
|
2127
|
-
]
|
|
2128
|
-
},
|
|
2129
2092
|
{
|
|
2130
2093
|
"name": "bm-form",
|
|
2131
2094
|
"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",
|
|
@@ -2171,6 +2134,43 @@
|
|
|
2171
2134
|
}
|
|
2172
2135
|
]
|
|
2173
2136
|
},
|
|
2137
|
+
{
|
|
2138
|
+
"name": "bm-label",
|
|
2139
|
+
"description": "`bm-label`\n---\n\n\n### **Slots:**\n - **text** - Specify the text for Label\n- **optional** - Specify if the Label displays as optional\n- **tooltip** - Specify if the icon displays to add a Tooltip",
|
|
2140
|
+
"attributes": [
|
|
2141
|
+
{
|
|
2142
|
+
"name": "disabled",
|
|
2143
|
+
"description": "Specify if the Label displays disabled",
|
|
2144
|
+
"values": []
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"name": "required",
|
|
2148
|
+
"description": "Specify if the Label displays as required",
|
|
2149
|
+
"values": []
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"name": "text",
|
|
2153
|
+
"description": "Specify the text for Label",
|
|
2154
|
+
"values": []
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"name": "optional",
|
|
2158
|
+
"description": "Specify the text for Label",
|
|
2159
|
+
"values": []
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"name": "theme",
|
|
2163
|
+
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
2164
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2165
|
+
}
|
|
2166
|
+
],
|
|
2167
|
+
"references": [
|
|
2168
|
+
{
|
|
2169
|
+
"name": "Storybook",
|
|
2170
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
2171
|
+
}
|
|
2172
|
+
]
|
|
2173
|
+
},
|
|
2174
2174
|
{
|
|
2175
2175
|
"name": "bm-native-select",
|
|
2176
2176
|
"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",
|
|
@@ -2237,97 +2237,97 @@
|
|
|
2237
2237
|
]
|
|
2238
2238
|
},
|
|
2239
2239
|
{
|
|
2240
|
-
"name": "bm-
|
|
2241
|
-
"description": "`bm-
|
|
2240
|
+
"name": "bm-radio-button",
|
|
2241
|
+
"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",
|
|
2242
2242
|
"attributes": [
|
|
2243
2243
|
{
|
|
2244
|
-
"name": "
|
|
2245
|
-
"description": "Specify
|
|
2244
|
+
"name": "label",
|
|
2245
|
+
"description": "Specify the text for the label",
|
|
2246
2246
|
"values": []
|
|
2247
2247
|
},
|
|
2248
2248
|
{
|
|
2249
|
-
"name": "
|
|
2250
|
-
"description": "Specify
|
|
2249
|
+
"name": "error",
|
|
2250
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2251
2251
|
"values": []
|
|
2252
2252
|
},
|
|
2253
|
-
{
|
|
2254
|
-
"name": "textPosition",
|
|
2255
|
-
"description": "Specify the position of the side label",
|
|
2256
|
-
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2257
|
-
},
|
|
2258
2253
|
{
|
|
2259
2254
|
"name": "readOnly",
|
|
2260
|
-
"description": "Specify if
|
|
2255
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2261
2256
|
"values": []
|
|
2262
2257
|
},
|
|
2263
2258
|
{
|
|
2264
2259
|
"name": "disabled",
|
|
2265
|
-
"description": "Specify if
|
|
2260
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2266
2261
|
"values": []
|
|
2267
2262
|
},
|
|
2268
|
-
{
|
|
2263
|
+
{
|
|
2264
|
+
"name": "theme",
|
|
2265
|
+
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2266
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2267
|
+
},
|
|
2269
2268
|
{
|
|
2270
2269
|
"name": "value",
|
|
2271
2270
|
"description": "The value attribute for the input element",
|
|
2272
2271
|
"values": []
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"name": "checked",
|
|
2275
|
+
"description": "The checked attribute for the input element",
|
|
2276
|
+
"values": []
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"name": "onKeyDown",
|
|
2280
|
+
"description": "A user-defined function to handle keydown events",
|
|
2281
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2273
2282
|
}
|
|
2274
2283
|
],
|
|
2275
2284
|
"references": [
|
|
2276
2285
|
{
|
|
2277
2286
|
"name": "Storybook",
|
|
2278
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2287
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2279
2288
|
}
|
|
2280
2289
|
]
|
|
2281
2290
|
},
|
|
2282
2291
|
{
|
|
2283
|
-
"name": "bm-
|
|
2284
|
-
"description": "`bm-
|
|
2292
|
+
"name": "bm-switch",
|
|
2293
|
+
"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.",
|
|
2285
2294
|
"attributes": [
|
|
2286
2295
|
{
|
|
2287
|
-
"name": "
|
|
2288
|
-
"description": "Specify
|
|
2296
|
+
"name": "onText",
|
|
2297
|
+
"description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
|
|
2289
2298
|
"values": []
|
|
2290
2299
|
},
|
|
2291
2300
|
{
|
|
2292
|
-
"name": "
|
|
2293
|
-
"description": "Specify
|
|
2301
|
+
"name": "offText",
|
|
2302
|
+
"description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
|
2294
2303
|
"values": []
|
|
2295
2304
|
},
|
|
2305
|
+
{
|
|
2306
|
+
"name": "textPosition",
|
|
2307
|
+
"description": "Specify the position of the side label",
|
|
2308
|
+
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2309
|
+
},
|
|
2296
2310
|
{
|
|
2297
2311
|
"name": "readOnly",
|
|
2298
|
-
"description": "Specify if
|
|
2312
|
+
"description": "Specify if Switch displays in a read-only state",
|
|
2299
2313
|
"values": []
|
|
2300
2314
|
},
|
|
2301
2315
|
{
|
|
2302
2316
|
"name": "disabled",
|
|
2303
|
-
"description": "Specify if
|
|
2317
|
+
"description": "Specify if Switch displays in a disabled state",
|
|
2304
2318
|
"values": []
|
|
2305
2319
|
},
|
|
2306
|
-
{
|
|
2307
|
-
"name": "theme",
|
|
2308
|
-
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2309
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2310
|
-
},
|
|
2320
|
+
{ "name": "checked", "values": [] },
|
|
2311
2321
|
{
|
|
2312
2322
|
"name": "value",
|
|
2313
2323
|
"description": "The value attribute for the input element",
|
|
2314
2324
|
"values": []
|
|
2315
|
-
},
|
|
2316
|
-
{
|
|
2317
|
-
"name": "checked",
|
|
2318
|
-
"description": "The checked attribute for the input element",
|
|
2319
|
-
"values": []
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"name": "onKeyDown",
|
|
2323
|
-
"description": "A user-defined function to handle keydown events",
|
|
2324
|
-
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2325
2325
|
}
|
|
2326
2326
|
],
|
|
2327
2327
|
"references": [
|
|
2328
2328
|
{
|
|
2329
2329
|
"name": "Storybook",
|
|
2330
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2330
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2331
2331
|
}
|
|
2332
2332
|
]
|
|
2333
2333
|
},
|
|
@@ -2563,8 +2563,8 @@
|
|
|
2563
2563
|
]
|
|
2564
2564
|
},
|
|
2565
2565
|
{
|
|
2566
|
-
"name": "bm-
|
|
2567
|
-
"description": "
|
|
2566
|
+
"name": "bm-radio-button-group",
|
|
2567
|
+
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
2568
2568
|
"attributes": [
|
|
2569
2569
|
{
|
|
2570
2570
|
"name": "theme",
|
|
@@ -2627,13 +2627,13 @@
|
|
|
2627
2627
|
"references": [
|
|
2628
2628
|
{
|
|
2629
2629
|
"name": "Storybook",
|
|
2630
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2630
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2631
2631
|
}
|
|
2632
2632
|
]
|
|
2633
2633
|
},
|
|
2634
2634
|
{
|
|
2635
|
-
"name": "bm-
|
|
2636
|
-
"description": "
|
|
2635
|
+
"name": "bm-switch-group",
|
|
2636
|
+
"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",
|
|
2637
2637
|
"attributes": [
|
|
2638
2638
|
{
|
|
2639
2639
|
"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-
|
|
2699
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2700
2700
|
}
|
|
2701
2701
|
]
|
|
2702
2702
|
}
|