@viasat/beam-web-components 2.17.0 → 2.18.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 +1379 -1379
- package/package.json +6 -6
- package/vscode.html-custom-data.json +189 -189
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.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.18.0",
|
|
68
|
+
"@viasat/beam-shared": "2.18.0",
|
|
69
|
+
"@viasat/beam-styles": "2.18.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.18.0",
|
|
71
|
+
"@viasat/beam-icons": "2.18.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-avatar",
|
|
66
139
|
"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",
|
|
@@ -160,37 +233,12 @@
|
|
|
160
233
|
]
|
|
161
234
|
},
|
|
162
235
|
{
|
|
163
|
-
"name": "bm-
|
|
164
|
-
"description": "`bm-
|
|
236
|
+
"name": "bm-badge",
|
|
237
|
+
"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
238
|
"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
239
|
{
|
|
192
240
|
"name": "appearance",
|
|
193
|
-
"description": "Specify the appearance of the
|
|
241
|
+
"description": "Specify the appearance of the Badge",
|
|
194
242
|
"values": [
|
|
195
243
|
{ "name": "infoPrimary" },
|
|
196
244
|
{ "name": "infoSecondary" },
|
|
@@ -200,45 +248,45 @@
|
|
|
200
248
|
]
|
|
201
249
|
},
|
|
202
250
|
{
|
|
203
|
-
"name": "
|
|
204
|
-
"description": "
|
|
205
|
-
"values": []
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"name": "hideIcon",
|
|
209
|
-
"description": "Specify if the icon displays on the Alert",
|
|
210
|
-
"values": []
|
|
251
|
+
"name": "theme",
|
|
252
|
+
"description": "Theme of the Badge",
|
|
253
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
211
254
|
},
|
|
212
255
|
{
|
|
213
|
-
"name": "
|
|
214
|
-
"description": "Specify
|
|
215
|
-
"values": []
|
|
256
|
+
"name": "size",
|
|
257
|
+
"description": "Specify the size of the Badge",
|
|
258
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
216
259
|
},
|
|
217
260
|
{
|
|
218
|
-
"name": "
|
|
219
|
-
"description": "
|
|
220
|
-
"values": [
|
|
261
|
+
"name": "emphasis",
|
|
262
|
+
"description": "Specify the emphasis of the Badge",
|
|
263
|
+
"values": [
|
|
264
|
+
{ "name": "strong" },
|
|
265
|
+
{ "name": "medium" },
|
|
266
|
+
{ "name": "subtle" }
|
|
267
|
+
]
|
|
221
268
|
},
|
|
222
|
-
{
|
|
223
|
-
"name": "disableCloseOnEscape",
|
|
224
|
-
"description": "Prevent Escape from closing",
|
|
225
|
-
"values": []
|
|
226
|
-
}
|
|
269
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
227
270
|
],
|
|
228
271
|
"references": [
|
|
229
272
|
{
|
|
230
273
|
"name": "Storybook",
|
|
231
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
274
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
232
275
|
}
|
|
233
276
|
]
|
|
234
277
|
},
|
|
235
278
|
{
|
|
236
|
-
"name": "bm-badge",
|
|
237
|
-
"description": "`bm-badge`\n\n### Attributes:\n- **
|
|
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",
|
|
238
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
|
+
},
|
|
239
287
|
{
|
|
240
288
|
"name": "appearance",
|
|
241
|
-
"description": "Specify the appearance of the
|
|
289
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
242
290
|
"values": [
|
|
243
291
|
{ "name": "infoPrimary" },
|
|
244
292
|
{ "name": "infoSecondary" },
|
|
@@ -247,31 +295,21 @@
|
|
|
247
295
|
{ "name": "negative" }
|
|
248
296
|
]
|
|
249
297
|
},
|
|
250
|
-
{
|
|
251
|
-
"name": "theme",
|
|
252
|
-
"description": "Theme of the Badge",
|
|
253
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "size",
|
|
257
|
-
"description": "Specify the size of the Badge",
|
|
258
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
259
|
-
},
|
|
260
298
|
{
|
|
261
299
|
"name": "emphasis",
|
|
262
|
-
"description": "Specify the emphasis of the
|
|
263
|
-
"values": [
|
|
264
|
-
{ "name": "strong" },
|
|
265
|
-
{ "name": "medium" },
|
|
266
|
-
{ "name": "subtle" }
|
|
267
|
-
]
|
|
300
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
301
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
268
302
|
},
|
|
269
|
-
{
|
|
303
|
+
{
|
|
304
|
+
"name": "overrideDotColor",
|
|
305
|
+
"description": "Overrides default dot color",
|
|
306
|
+
"values": []
|
|
307
|
+
}
|
|
270
308
|
],
|
|
271
309
|
"references": [
|
|
272
310
|
{
|
|
273
311
|
"name": "Storybook",
|
|
274
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
312
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
275
313
|
}
|
|
276
314
|
]
|
|
277
315
|
},
|
|
@@ -678,44 +716,6 @@
|
|
|
678
716
|
}
|
|
679
717
|
]
|
|
680
718
|
},
|
|
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": "infoPrimary" },
|
|
695
|
-
{ "name": "infoSecondary" },
|
|
696
|
-
{ "name": "positive" },
|
|
697
|
-
{ "name": "warning" },
|
|
698
|
-
{ "name": "negative" }
|
|
699
|
-
]
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"name": "emphasis",
|
|
703
|
-
"description": "Specify the emphasis of the BadgeDot",
|
|
704
|
-
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"name": "overrideDotColor",
|
|
708
|
-
"description": "Overrides default dot color",
|
|
709
|
-
"values": []
|
|
710
|
-
}
|
|
711
|
-
],
|
|
712
|
-
"references": [
|
|
713
|
-
{
|
|
714
|
-
"name": "Storybook",
|
|
715
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
716
|
-
}
|
|
717
|
-
]
|
|
718
|
-
},
|
|
719
719
|
{
|
|
720
720
|
"name": "bm-breadcrumb",
|
|
721
721
|
"description": "`bm-breadcrumb`\n\n### Attributes:\n- **wrap** - Specify if items wrap or collapse to an ellipsis\n- **itemsBeforeCollapse** - Specify how many items show before ellipsis\n- **itemsAfterCollapse** - Specify how many items show after ellipsis\n- **theme** - Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Pass items to the Breadcrumb",
|
|
@@ -2089,6 +2089,43 @@
|
|
|
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
|
+
},
|
|
2092
2129
|
{
|
|
2093
2130
|
"name": "bm-form",
|
|
2094
2131
|
"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",
|
|
@@ -2134,43 +2171,6 @@
|
|
|
2134
2171
|
}
|
|
2135
2172
|
]
|
|
2136
2173
|
},
|
|
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-switch",
|
|
2241
|
+
"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.",
|
|
2242
2242
|
"attributes": [
|
|
2243
2243
|
{
|
|
2244
|
-
"name": "
|
|
2245
|
-
"description": "Specify
|
|
2244
|
+
"name": "onText",
|
|
2245
|
+
"description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
|
|
2246
2246
|
"values": []
|
|
2247
2247
|
},
|
|
2248
2248
|
{
|
|
2249
|
-
"name": "
|
|
2250
|
-
"description": "Specify
|
|
2249
|
+
"name": "offText",
|
|
2250
|
+
"description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
|
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
|
+
},
|
|
2253
2258
|
{
|
|
2254
2259
|
"name": "readOnly",
|
|
2255
|
-
"description": "Specify if
|
|
2260
|
+
"description": "Specify if Switch displays in a read-only state",
|
|
2256
2261
|
"values": []
|
|
2257
2262
|
},
|
|
2258
2263
|
{
|
|
2259
2264
|
"name": "disabled",
|
|
2260
|
-
"description": "Specify if
|
|
2265
|
+
"description": "Specify if Switch displays in a disabled state",
|
|
2261
2266
|
"values": []
|
|
2262
2267
|
},
|
|
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
|
-
},
|
|
2268
|
+
{ "name": "checked", "values": [] },
|
|
2268
2269
|
{
|
|
2269
2270
|
"name": "value",
|
|
2270
2271
|
"description": "The value attribute for the input element",
|
|
2271
2272
|
"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" }]
|
|
2282
2273
|
}
|
|
2283
2274
|
],
|
|
2284
2275
|
"references": [
|
|
2285
2276
|
{
|
|
2286
2277
|
"name": "Storybook",
|
|
2287
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2278
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2288
2279
|
}
|
|
2289
2280
|
]
|
|
2290
2281
|
},
|
|
2291
2282
|
{
|
|
2292
|
-
"name": "bm-
|
|
2293
|
-
"description": "`bm-
|
|
2283
|
+
"name": "bm-radio-button",
|
|
2284
|
+
"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",
|
|
2294
2285
|
"attributes": [
|
|
2295
2286
|
{
|
|
2296
|
-
"name": "
|
|
2297
|
-
"description": "Specify
|
|
2287
|
+
"name": "label",
|
|
2288
|
+
"description": "Specify the text for the label",
|
|
2298
2289
|
"values": []
|
|
2299
2290
|
},
|
|
2300
2291
|
{
|
|
2301
|
-
"name": "
|
|
2302
|
-
"description": "Specify
|
|
2292
|
+
"name": "error",
|
|
2293
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2303
2294
|
"values": []
|
|
2304
2295
|
},
|
|
2305
|
-
{
|
|
2306
|
-
"name": "textPosition",
|
|
2307
|
-
"description": "Specify the position of the side label",
|
|
2308
|
-
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2309
|
-
},
|
|
2310
2296
|
{
|
|
2311
2297
|
"name": "readOnly",
|
|
2312
|
-
"description": "Specify if
|
|
2298
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2313
2299
|
"values": []
|
|
2314
2300
|
},
|
|
2315
2301
|
{
|
|
2316
2302
|
"name": "disabled",
|
|
2317
|
-
"description": "Specify if
|
|
2303
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2318
2304
|
"values": []
|
|
2319
2305
|
},
|
|
2320
|
-
{
|
|
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
|
+
},
|
|
2321
2311
|
{
|
|
2322
2312
|
"name": "value",
|
|
2323
2313
|
"description": "The value attribute for the input element",
|
|
2324
2314
|
"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-radiobutton"
|
|
2331
2331
|
}
|
|
2332
2332
|
]
|
|
2333
2333
|
},
|
|
@@ -2563,8 +2563,8 @@
|
|
|
2563
2563
|
]
|
|
2564
2564
|
},
|
|
2565
2565
|
{
|
|
2566
|
-
"name": "bm-
|
|
2567
|
-
"description": "
|
|
2566
|
+
"name": "bm-switch-group",
|
|
2567
|
+
"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",
|
|
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-switch"
|
|
2631
2631
|
}
|
|
2632
2632
|
]
|
|
2633
2633
|
},
|
|
2634
2634
|
{
|
|
2635
|
-
"name": "bm-
|
|
2636
|
-
"description": "
|
|
2635
|
+
"name": "bm-radio-button-group",
|
|
2636
|
+
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
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-radiobutton"
|
|
2700
2700
|
}
|
|
2701
2701
|
]
|
|
2702
2702
|
}
|