@viasat/beam-web-components 2.54.0 → 2.54.1
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/Alert/Alert.js +1 -1
- package/Badge/Badge.js +1 -1
- package/custom-elements.json +5169 -5169
- package/local/Alert/Alert.js +1 -1
- package/local/Badge/Badge.js +1 -1
- package/package.json +6 -6
- package/vscode.html-custom-data.json +309 -309
|
@@ -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",
|
|
@@ -232,6 +159,160 @@
|
|
|
232
159
|
}
|
|
233
160
|
]
|
|
234
161
|
},
|
|
162
|
+
{
|
|
163
|
+
"name": "bm-badge",
|
|
164
|
+
"description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon\n---\n\n\n### **Slots:**\n - **default** - Provide text for the Badge\n- **icon** - Specify a different icon for the Badge",
|
|
165
|
+
"attributes": [
|
|
166
|
+
{
|
|
167
|
+
"name": "appearance",
|
|
168
|
+
"description": "Specify the appearance of the Badge",
|
|
169
|
+
"values": [
|
|
170
|
+
{ "name": "infoPrimary" },
|
|
171
|
+
{ "name": "infoSecondary" },
|
|
172
|
+
{ "name": "positive" },
|
|
173
|
+
{ "name": "warning" },
|
|
174
|
+
{ "name": "negative" }
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "theme",
|
|
179
|
+
"description": "Theme of the Badge",
|
|
180
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "size",
|
|
184
|
+
"description": "Specify the size of the Badge",
|
|
185
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "emphasis",
|
|
189
|
+
"description": "Specify the emphasis of the Badge",
|
|
190
|
+
"values": [
|
|
191
|
+
{ "name": "strong" },
|
|
192
|
+
{ "name": "medium" },
|
|
193
|
+
{ "name": "subtle" }
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
197
|
+
],
|
|
198
|
+
"references": [
|
|
199
|
+
{
|
|
200
|
+
"name": "Storybook",
|
|
201
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
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
|
+
{
|
|
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
|
+
},
|
|
235
316
|
{
|
|
236
317
|
"name": "bm-box",
|
|
237
318
|
"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",
|
|
@@ -697,109 +778,28 @@
|
|
|
697
778
|
]
|
|
698
779
|
},
|
|
699
780
|
{
|
|
700
|
-
"name": "bm-
|
|
701
|
-
"description": "`bm-
|
|
781
|
+
"name": "bm-button",
|
|
782
|
+
"description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** \n---\n\n\n### **Slots:**\n - **default** - Provide content for the Button\n- **iconBefore** - Specify if the Button displays icon before the text\n- **iconAfter** - Specify if the Button displays icon after the text",
|
|
702
783
|
"attributes": [
|
|
703
784
|
{
|
|
704
785
|
"name": "appearance",
|
|
705
|
-
"description": "Specify the appearance of
|
|
786
|
+
"description": "Specify the appearance of a Button",
|
|
706
787
|
"values": [
|
|
707
|
-
{ "name": "
|
|
708
|
-
{ "name": "
|
|
709
|
-
{ "name": "
|
|
710
|
-
{ "name": "
|
|
711
|
-
{ "name": "negative" }
|
|
788
|
+
{ "name": "accent" },
|
|
789
|
+
{ "name": "neutral" },
|
|
790
|
+
{ "name": "neutral-subtle" },
|
|
791
|
+
{ "name": "destructive" }
|
|
712
792
|
]
|
|
713
793
|
},
|
|
714
794
|
{
|
|
715
|
-
"name": "
|
|
716
|
-
"description": "
|
|
717
|
-
"values": [
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"name": "emphasis",
|
|
726
|
-
"description": "Specify the emphasis of the Badge",
|
|
727
|
-
"values": [
|
|
728
|
-
{ "name": "strong" },
|
|
729
|
-
{ "name": "medium" },
|
|
730
|
-
{ "name": "subtle" }
|
|
731
|
-
]
|
|
732
|
-
},
|
|
733
|
-
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
734
|
-
],
|
|
735
|
-
"references": [
|
|
736
|
-
{
|
|
737
|
-
"name": "Storybook",
|
|
738
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
739
|
-
}
|
|
740
|
-
]
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
"name": "bm-badge-dot",
|
|
744
|
-
"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",
|
|
745
|
-
"attributes": [
|
|
746
|
-
{
|
|
747
|
-
"name": "theme",
|
|
748
|
-
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
749
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
"name": "appearance",
|
|
753
|
-
"description": "Specify the appearance of the BadgeDot",
|
|
754
|
-
"values": [
|
|
755
|
-
{ "name": "infoPrimary" },
|
|
756
|
-
{ "name": "infoSecondary" },
|
|
757
|
-
{ "name": "positive" },
|
|
758
|
-
{ "name": "warning" },
|
|
759
|
-
{ "name": "negative" }
|
|
760
|
-
]
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
"name": "emphasis",
|
|
764
|
-
"description": "Specify the emphasis of the BadgeDot",
|
|
765
|
-
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"name": "overrideDotColor",
|
|
769
|
-
"description": "Overrides default dot color",
|
|
770
|
-
"values": []
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
"references": [
|
|
774
|
-
{
|
|
775
|
-
"name": "Storybook",
|
|
776
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
777
|
-
}
|
|
778
|
-
]
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"name": "bm-button",
|
|
782
|
-
"description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** \n---\n\n\n### **Slots:**\n - **default** - Provide content for the Button\n- **iconBefore** - Specify if the Button displays icon before the text\n- **iconAfter** - Specify if the Button displays icon after the text",
|
|
783
|
-
"attributes": [
|
|
784
|
-
{
|
|
785
|
-
"name": "appearance",
|
|
786
|
-
"description": "Specify the appearance of a Button",
|
|
787
|
-
"values": [
|
|
788
|
-
{ "name": "accent" },
|
|
789
|
-
{ "name": "neutral" },
|
|
790
|
-
{ "name": "neutral-subtle" },
|
|
791
|
-
{ "name": "destructive" }
|
|
792
|
-
]
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
"name": "kind",
|
|
796
|
-
"description": "Specify the kind of Button",
|
|
797
|
-
"values": [
|
|
798
|
-
{ "name": "filled" },
|
|
799
|
-
{ "name": "outline" },
|
|
800
|
-
{ "name": "ghost" },
|
|
801
|
-
{ "name": "bare" }
|
|
802
|
-
]
|
|
795
|
+
"name": "kind",
|
|
796
|
+
"description": "Specify the kind of Button",
|
|
797
|
+
"values": [
|
|
798
|
+
{ "name": "filled" },
|
|
799
|
+
{ "name": "outline" },
|
|
800
|
+
{ "name": "ghost" },
|
|
801
|
+
{ "name": "bare" }
|
|
802
|
+
]
|
|
803
803
|
},
|
|
804
804
|
{
|
|
805
805
|
"name": "size",
|
|
@@ -1909,6 +1909,103 @@
|
|
|
1909
1909
|
}
|
|
1910
1910
|
]
|
|
1911
1911
|
},
|
|
1912
|
+
{
|
|
1913
|
+
"name": "bm-form",
|
|
1914
|
+
"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",
|
|
1915
|
+
"attributes": [
|
|
1916
|
+
{
|
|
1917
|
+
"name": "validationMode",
|
|
1918
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
1919
|
+
"values": [
|
|
1920
|
+
{ "name": "onChange" },
|
|
1921
|
+
{ "name": "onBlur" },
|
|
1922
|
+
{ "name": "onSubmit" }
|
|
1923
|
+
]
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "initialValues",
|
|
1927
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
1928
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "required",
|
|
1932
|
+
"description": "Specify if input is a required",
|
|
1933
|
+
"values": []
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
"name": "disabled",
|
|
1937
|
+
"description": "Specify if input is a disabled",
|
|
1938
|
+
"values": []
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"name": "readOnly",
|
|
1942
|
+
"description": "Specify if input is a read only",
|
|
1943
|
+
"values": []
|
|
1944
|
+
},
|
|
1945
|
+
{ "name": "action", "values": [] },
|
|
1946
|
+
{ "name": "method", "values": [] },
|
|
1947
|
+
{ "name": "target", "values": [] },
|
|
1948
|
+
{ "name": "enctype", "values": [] }
|
|
1949
|
+
],
|
|
1950
|
+
"references": [
|
|
1951
|
+
{
|
|
1952
|
+
"name": "Storybook",
|
|
1953
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
1954
|
+
}
|
|
1955
|
+
]
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"name": "bm-radio-button",
|
|
1959
|
+
"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",
|
|
1960
|
+
"attributes": [
|
|
1961
|
+
{
|
|
1962
|
+
"name": "label",
|
|
1963
|
+
"description": "Specify the text for the label",
|
|
1964
|
+
"values": []
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "error",
|
|
1968
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
1969
|
+
"values": []
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"name": "readOnly",
|
|
1973
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
1974
|
+
"values": []
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"name": "disabled",
|
|
1978
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
1979
|
+
"values": []
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"name": "theme",
|
|
1983
|
+
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
1984
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"name": "value",
|
|
1988
|
+
"description": "The value attribute for the input element",
|
|
1989
|
+
"values": []
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"name": "checked",
|
|
1993
|
+
"description": "The checked attribute for the input element",
|
|
1994
|
+
"values": []
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"name": "onKeyDown",
|
|
1998
|
+
"description": "A user-defined function to handle keydown events",
|
|
1999
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2000
|
+
}
|
|
2001
|
+
],
|
|
2002
|
+
"references": [
|
|
2003
|
+
{
|
|
2004
|
+
"name": "Storybook",
|
|
2005
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2006
|
+
}
|
|
2007
|
+
]
|
|
2008
|
+
},
|
|
1912
2009
|
{
|
|
1913
2010
|
"name": "bm-file-upload-button",
|
|
1914
2011
|
"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",
|
|
@@ -2216,51 +2313,6 @@
|
|
|
2216
2313
|
}
|
|
2217
2314
|
]
|
|
2218
2315
|
},
|
|
2219
|
-
{
|
|
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",
|
|
2222
|
-
"attributes": [
|
|
2223
|
-
{
|
|
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",
|
|
2250
|
-
"values": []
|
|
2251
|
-
},
|
|
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
2316
|
{
|
|
2265
2317
|
"name": "bm-native-select",
|
|
2266
2318
|
"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",
|
|
@@ -2331,101 +2383,6 @@
|
|
|
2331
2383
|
}
|
|
2332
2384
|
]
|
|
2333
2385
|
},
|
|
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
|
-
{
|
|
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.",
|
|
2389
|
-
"attributes": [
|
|
2390
|
-
{
|
|
2391
|
-
"name": "onText",
|
|
2392
|
-
"description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
|
|
2393
|
-
"values": []
|
|
2394
|
-
},
|
|
2395
|
-
{
|
|
2396
|
-
"name": "offText",
|
|
2397
|
-
"description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
|
2398
|
-
"values": []
|
|
2399
|
-
},
|
|
2400
|
-
{
|
|
2401
|
-
"name": "textPosition",
|
|
2402
|
-
"description": "Specify the position of the side label",
|
|
2403
|
-
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2404
|
-
},
|
|
2405
|
-
{
|
|
2406
|
-
"name": "readOnly",
|
|
2407
|
-
"description": "Specify if Switch displays in a read-only state",
|
|
2408
|
-
"values": []
|
|
2409
|
-
},
|
|
2410
|
-
{
|
|
2411
|
-
"name": "disabled",
|
|
2412
|
-
"description": "Specify if Switch displays in a disabled state",
|
|
2413
|
-
"values": []
|
|
2414
|
-
},
|
|
2415
|
-
{ "name": "checked", "values": [] },
|
|
2416
|
-
{
|
|
2417
|
-
"name": "value",
|
|
2418
|
-
"description": "The value attribute for the input element",
|
|
2419
|
-
"values": []
|
|
2420
|
-
}
|
|
2421
|
-
],
|
|
2422
|
-
"references": [
|
|
2423
|
-
{
|
|
2424
|
-
"name": "Storybook",
|
|
2425
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2426
|
-
}
|
|
2427
|
-
]
|
|
2428
|
-
},
|
|
2429
2386
|
{
|
|
2430
2387
|
"name": "bm-text-area",
|
|
2431
2388
|
"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",
|
|
@@ -2516,6 +2473,49 @@
|
|
|
2516
2473
|
}
|
|
2517
2474
|
]
|
|
2518
2475
|
},
|
|
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",
|