@viasat/beam-web-components 2.55.1 → 2.55.2
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 +1719 -1719
- package/package.json +6 -6
- package/vscode.html-custom-data.json +269 -269
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.55.
|
|
3
|
+
"version": "2.55.2",
|
|
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.55.
|
|
68
|
-
"@viasat/beam-shared": "2.55.
|
|
69
|
-
"@viasat/beam-styles": "2.55.
|
|
70
|
-
"@viasat/beam-tokens": "2.55.
|
|
71
|
-
"@viasat/beam-icons": "2.55.
|
|
67
|
+
"@viasat/beam-fonts": "2.55.2",
|
|
68
|
+
"@viasat/beam-shared": "2.55.2",
|
|
69
|
+
"@viasat/beam-styles": "2.55.2",
|
|
70
|
+
"@viasat/beam-tokens": "2.55.2",
|
|
71
|
+
"@viasat/beam-icons": "2.55.2",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -134,6 +134,87 @@
|
|
|
134
134
|
}
|
|
135
135
|
]
|
|
136
136
|
},
|
|
137
|
+
{
|
|
138
|
+
"name": "bm-badge",
|
|
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",
|
|
140
|
+
"attributes": [
|
|
141
|
+
{
|
|
142
|
+
"name": "appearance",
|
|
143
|
+
"description": "Specify the appearance of the Badge",
|
|
144
|
+
"values": [
|
|
145
|
+
{ "name": "infoPrimary" },
|
|
146
|
+
{ "name": "infoSecondary" },
|
|
147
|
+
{ "name": "positive" },
|
|
148
|
+
{ "name": "warning" },
|
|
149
|
+
{ "name": "negative" }
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "theme",
|
|
154
|
+
"description": "Theme of the Badge",
|
|
155
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "size",
|
|
159
|
+
"description": "Specify the size of the Badge",
|
|
160
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "emphasis",
|
|
164
|
+
"description": "Specify the emphasis of the Badge",
|
|
165
|
+
"values": [
|
|
166
|
+
{ "name": "strong" },
|
|
167
|
+
{ "name": "medium" },
|
|
168
|
+
{ "name": "subtle" }
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
172
|
+
],
|
|
173
|
+
"references": [
|
|
174
|
+
{
|
|
175
|
+
"name": "Storybook",
|
|
176
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "bm-badge-dot",
|
|
182
|
+
"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",
|
|
183
|
+
"attributes": [
|
|
184
|
+
{
|
|
185
|
+
"name": "theme",
|
|
186
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
187
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "appearance",
|
|
191
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
192
|
+
"values": [
|
|
193
|
+
{ "name": "infoPrimary" },
|
|
194
|
+
{ "name": "infoSecondary" },
|
|
195
|
+
{ "name": "positive" },
|
|
196
|
+
{ "name": "warning" },
|
|
197
|
+
{ "name": "negative" }
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "emphasis",
|
|
202
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
203
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "overrideDotColor",
|
|
207
|
+
"description": "Overrides default dot color",
|
|
208
|
+
"values": []
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"references": [
|
|
212
|
+
{
|
|
213
|
+
"name": "Storybook",
|
|
214
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
137
218
|
{
|
|
138
219
|
"name": "bm-avatar",
|
|
139
220
|
"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,148 +313,6 @@
|
|
|
232
313
|
}
|
|
233
314
|
]
|
|
234
315
|
},
|
|
235
|
-
{
|
|
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",
|
|
238
|
-
"attributes": [
|
|
239
|
-
{
|
|
240
|
-
"name": "appearance",
|
|
241
|
-
"description": "Specify the appearance of the Badge",
|
|
242
|
-
"values": [
|
|
243
|
-
{ "name": "infoPrimary" },
|
|
244
|
-
{ "name": "infoSecondary" },
|
|
245
|
-
{ "name": "positive" },
|
|
246
|
-
{ "name": "warning" },
|
|
247
|
-
{ "name": "negative" }
|
|
248
|
-
]
|
|
249
|
-
},
|
|
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
|
-
{
|
|
261
|
-
"name": "emphasis",
|
|
262
|
-
"description": "Specify the emphasis of the Badge",
|
|
263
|
-
"values": [
|
|
264
|
-
{ "name": "strong" },
|
|
265
|
-
{ "name": "medium" },
|
|
266
|
-
{ "name": "subtle" }
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
270
|
-
],
|
|
271
|
-
"references": [
|
|
272
|
-
{
|
|
273
|
-
"name": "Storybook",
|
|
274
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
275
|
-
}
|
|
276
|
-
]
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"name": "bm-breadcrumb",
|
|
280
|
-
"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",
|
|
281
|
-
"attributes": [
|
|
282
|
-
{
|
|
283
|
-
"name": "wrap",
|
|
284
|
-
"description": "Specify if items wrap or collapse to an ellipsis",
|
|
285
|
-
"values": []
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"name": "itemsBeforeCollapse",
|
|
289
|
-
"description": "Specify how many items show before ellipsis",
|
|
290
|
-
"values": []
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"name": "itemsAfterCollapse",
|
|
294
|
-
"description": "Specify how many items show after ellipsis",
|
|
295
|
-
"values": []
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"name": "theme",
|
|
299
|
-
"description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
|
|
300
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
301
|
-
}
|
|
302
|
-
],
|
|
303
|
-
"references": [
|
|
304
|
-
{
|
|
305
|
-
"name": "Storybook",
|
|
306
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
307
|
-
}
|
|
308
|
-
]
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"name": "bm-breadcrumb-item",
|
|
312
|
-
"description": "`bm-breadcrumb-item`\n\n### Attributes:\n- **href** - Pass href to an item\n- **clickable** - Specify if the item is interactive without an href\n- **truncationWidth** - Specify truncation width of the items. Sets max-width for all items but the last.\n- **isCurrent** - Specify explicitly if the item is the last one\n- **isCollapsed** \n---\n\n\n### **Slots:**\n - **default** - Pass text to an item\n- **icon** - Pass icon to an item",
|
|
313
|
-
"attributes": [
|
|
314
|
-
{ "name": "href", "description": "Pass href to an item", "values": [] },
|
|
315
|
-
{
|
|
316
|
-
"name": "clickable",
|
|
317
|
-
"description": "Specify if the item is interactive without an href",
|
|
318
|
-
"values": []
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"name": "truncationWidth",
|
|
322
|
-
"description": "Specify truncation width of the items. Sets max-width for all items but the last.",
|
|
323
|
-
"values": []
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"name": "isCurrent",
|
|
327
|
-
"description": "Specify explicitly if the item is the last one",
|
|
328
|
-
"values": []
|
|
329
|
-
},
|
|
330
|
-
{ "name": "isCollapsed", "values": [] }
|
|
331
|
-
],
|
|
332
|
-
"references": [
|
|
333
|
-
{
|
|
334
|
-
"name": "Storybook",
|
|
335
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
336
|
-
}
|
|
337
|
-
]
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"name": "bm-badge-dot",
|
|
341
|
-
"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",
|
|
342
|
-
"attributes": [
|
|
343
|
-
{
|
|
344
|
-
"name": "theme",
|
|
345
|
-
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
346
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"name": "appearance",
|
|
350
|
-
"description": "Specify the appearance of the BadgeDot",
|
|
351
|
-
"values": [
|
|
352
|
-
{ "name": "infoPrimary" },
|
|
353
|
-
{ "name": "infoSecondary" },
|
|
354
|
-
{ "name": "positive" },
|
|
355
|
-
{ "name": "warning" },
|
|
356
|
-
{ "name": "negative" }
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"name": "emphasis",
|
|
361
|
-
"description": "Specify the emphasis of the BadgeDot",
|
|
362
|
-
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"name": "overrideDotColor",
|
|
366
|
-
"description": "Overrides default dot color",
|
|
367
|
-
"values": []
|
|
368
|
-
}
|
|
369
|
-
],
|
|
370
|
-
"references": [
|
|
371
|
-
{
|
|
372
|
-
"name": "Storybook",
|
|
373
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
374
|
-
}
|
|
375
|
-
]
|
|
376
|
-
},
|
|
377
316
|
{
|
|
378
317
|
"name": "bm-box",
|
|
379
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",
|
|
@@ -759,21 +698,82 @@
|
|
|
759
698
|
]
|
|
760
699
|
},
|
|
761
700
|
{
|
|
762
|
-
"name": "shadow",
|
|
763
|
-
"description": "Specify if a Box has a shadow",
|
|
764
|
-
"values": [
|
|
765
|
-
{ "name": "sm" },
|
|
766
|
-
{ "name": "md" },
|
|
767
|
-
{ "name": "lg" },
|
|
768
|
-
{ "name": "none" },
|
|
769
|
-
{ "name": "overlay" }
|
|
770
|
-
]
|
|
771
|
-
}
|
|
701
|
+
"name": "shadow",
|
|
702
|
+
"description": "Specify if a Box has a shadow",
|
|
703
|
+
"values": [
|
|
704
|
+
{ "name": "sm" },
|
|
705
|
+
{ "name": "md" },
|
|
706
|
+
{ "name": "lg" },
|
|
707
|
+
{ "name": "none" },
|
|
708
|
+
{ "name": "overlay" }
|
|
709
|
+
]
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
"references": [
|
|
713
|
+
{
|
|
714
|
+
"name": "Storybook",
|
|
715
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-box"
|
|
716
|
+
}
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "bm-breadcrumb",
|
|
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",
|
|
722
|
+
"attributes": [
|
|
723
|
+
{
|
|
724
|
+
"name": "wrap",
|
|
725
|
+
"description": "Specify if items wrap or collapse to an ellipsis",
|
|
726
|
+
"values": []
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "itemsBeforeCollapse",
|
|
730
|
+
"description": "Specify how many items show before ellipsis",
|
|
731
|
+
"values": []
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "itemsAfterCollapse",
|
|
735
|
+
"description": "Specify how many items show after ellipsis",
|
|
736
|
+
"values": []
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "theme",
|
|
740
|
+
"description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
|
|
741
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
742
|
+
}
|
|
743
|
+
],
|
|
744
|
+
"references": [
|
|
745
|
+
{
|
|
746
|
+
"name": "Storybook",
|
|
747
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"name": "bm-breadcrumb-item",
|
|
753
|
+
"description": "`bm-breadcrumb-item`\n\n### Attributes:\n- **href** - Pass href to an item\n- **clickable** - Specify if the item is interactive without an href\n- **truncationWidth** - Specify truncation width of the items. Sets max-width for all items but the last.\n- **isCurrent** - Specify explicitly if the item is the last one\n- **isCollapsed** \n---\n\n\n### **Slots:**\n - **default** - Pass text to an item\n- **icon** - Pass icon to an item",
|
|
754
|
+
"attributes": [
|
|
755
|
+
{ "name": "href", "description": "Pass href to an item", "values": [] },
|
|
756
|
+
{
|
|
757
|
+
"name": "clickable",
|
|
758
|
+
"description": "Specify if the item is interactive without an href",
|
|
759
|
+
"values": []
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "truncationWidth",
|
|
763
|
+
"description": "Specify truncation width of the items. Sets max-width for all items but the last.",
|
|
764
|
+
"values": []
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "isCurrent",
|
|
768
|
+
"description": "Specify explicitly if the item is the last one",
|
|
769
|
+
"values": []
|
|
770
|
+
},
|
|
771
|
+
{ "name": "isCollapsed", "values": [] }
|
|
772
772
|
],
|
|
773
773
|
"references": [
|
|
774
774
|
{
|
|
775
775
|
"name": "Storybook",
|
|
776
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
776
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
777
777
|
}
|
|
778
778
|
]
|
|
779
779
|
},
|
|
@@ -845,34 +845,6 @@
|
|
|
845
845
|
}
|
|
846
846
|
]
|
|
847
847
|
},
|
|
848
|
-
{
|
|
849
|
-
"name": "bm-close-button",
|
|
850
|
-
"description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled\n---\n",
|
|
851
|
-
"attributes": [
|
|
852
|
-
{
|
|
853
|
-
"name": "size",
|
|
854
|
-
"description": "Specify the size of the CloseButton",
|
|
855
|
-
"values": [
|
|
856
|
-
{ "name": "xs" },
|
|
857
|
-
{ "name": "sm" },
|
|
858
|
-
{ "name": "md" },
|
|
859
|
-
{ "name": "lg" },
|
|
860
|
-
{ "name": "xl" }
|
|
861
|
-
]
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
"name": "disabled",
|
|
865
|
-
"description": "Specify if the CloseButton is disabled",
|
|
866
|
-
"values": []
|
|
867
|
-
}
|
|
868
|
-
],
|
|
869
|
-
"references": [
|
|
870
|
-
{
|
|
871
|
-
"name": "Storybook",
|
|
872
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-closebutton"
|
|
873
|
-
}
|
|
874
|
-
]
|
|
875
|
-
},
|
|
876
848
|
{
|
|
877
849
|
"name": "bm-divider",
|
|
878
850
|
"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,6 +929,34 @@
|
|
|
957
929
|
}
|
|
958
930
|
]
|
|
959
931
|
},
|
|
932
|
+
{
|
|
933
|
+
"name": "bm-close-button",
|
|
934
|
+
"description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled\n---\n",
|
|
935
|
+
"attributes": [
|
|
936
|
+
{
|
|
937
|
+
"name": "size",
|
|
938
|
+
"description": "Specify the size of the CloseButton",
|
|
939
|
+
"values": [
|
|
940
|
+
{ "name": "xs" },
|
|
941
|
+
{ "name": "sm" },
|
|
942
|
+
{ "name": "md" },
|
|
943
|
+
{ "name": "lg" },
|
|
944
|
+
{ "name": "xl" }
|
|
945
|
+
]
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "disabled",
|
|
949
|
+
"description": "Specify if the CloseButton is disabled",
|
|
950
|
+
"values": []
|
|
951
|
+
}
|
|
952
|
+
],
|
|
953
|
+
"references": [
|
|
954
|
+
{
|
|
955
|
+
"name": "Storybook",
|
|
956
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-closebutton"
|
|
957
|
+
}
|
|
958
|
+
]
|
|
959
|
+
},
|
|
960
960
|
{
|
|
961
961
|
"name": "bm-empty-state",
|
|
962
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",
|
|
@@ -2216,6 +2216,51 @@
|
|
|
2216
2216
|
}
|
|
2217
2217
|
]
|
|
2218
2218
|
},
|
|
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
|
+
},
|
|
2219
2264
|
{
|
|
2220
2265
|
"name": "bm-native-select",
|
|
2221
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",
|
|
@@ -2286,51 +2331,6 @@
|
|
|
2286
2331
|
}
|
|
2287
2332
|
]
|
|
2288
2333
|
},
|
|
2289
|
-
{
|
|
2290
|
-
"name": "bm-form",
|
|
2291
|
-
"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",
|
|
2292
|
-
"attributes": [
|
|
2293
|
-
{
|
|
2294
|
-
"name": "validationMode",
|
|
2295
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
2296
|
-
"values": [
|
|
2297
|
-
{ "name": "onChange" },
|
|
2298
|
-
{ "name": "onBlur" },
|
|
2299
|
-
{ "name": "onSubmit" }
|
|
2300
|
-
]
|
|
2301
|
-
},
|
|
2302
|
-
{
|
|
2303
|
-
"name": "initialValues",
|
|
2304
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
2305
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2306
|
-
},
|
|
2307
|
-
{
|
|
2308
|
-
"name": "required",
|
|
2309
|
-
"description": "Specify if input is a required",
|
|
2310
|
-
"values": []
|
|
2311
|
-
},
|
|
2312
|
-
{
|
|
2313
|
-
"name": "disabled",
|
|
2314
|
-
"description": "Specify if input is a disabled",
|
|
2315
|
-
"values": []
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"name": "readOnly",
|
|
2319
|
-
"description": "Specify if input is a read only",
|
|
2320
|
-
"values": []
|
|
2321
|
-
},
|
|
2322
|
-
{ "name": "action", "values": [] },
|
|
2323
|
-
{ "name": "method", "values": [] },
|
|
2324
|
-
{ "name": "target", "values": [] },
|
|
2325
|
-
{ "name": "enctype", "values": [] }
|
|
2326
|
-
],
|
|
2327
|
-
"references": [
|
|
2328
|
-
{
|
|
2329
|
-
"name": "Storybook",
|
|
2330
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2331
|
-
}
|
|
2332
|
-
]
|
|
2333
|
-
},
|
|
2334
2334
|
{
|
|
2335
2335
|
"name": "bm-radio-button",
|
|
2336
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",
|
|
@@ -2383,6 +2383,49 @@
|
|
|
2383
2383
|
}
|
|
2384
2384
|
]
|
|
2385
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
|
+
},
|
|
2386
2429
|
{
|
|
2387
2430
|
"name": "bm-text-area",
|
|
2388
2431
|
"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",
|
|
@@ -2473,49 +2516,6 @@
|
|
|
2473
2516
|
}
|
|
2474
2517
|
]
|
|
2475
2518
|
},
|
|
2476
|
-
{
|
|
2477
|
-
"name": "bm-switch",
|
|
2478
|
-
"description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element\n---\n\n\n### **Slots:**\n - **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
|
2479
|
-
"attributes": [
|
|
2480
|
-
{
|
|
2481
|
-
"name": "onText",
|
|
2482
|
-
"description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
|
|
2483
|
-
"values": []
|
|
2484
|
-
},
|
|
2485
|
-
{
|
|
2486
|
-
"name": "offText",
|
|
2487
|
-
"description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
|
2488
|
-
"values": []
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
"name": "textPosition",
|
|
2492
|
-
"description": "Specify the position of the side label",
|
|
2493
|
-
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2494
|
-
},
|
|
2495
|
-
{
|
|
2496
|
-
"name": "readOnly",
|
|
2497
|
-
"description": "Specify if Switch displays in a read-only state",
|
|
2498
|
-
"values": []
|
|
2499
|
-
},
|
|
2500
|
-
{
|
|
2501
|
-
"name": "disabled",
|
|
2502
|
-
"description": "Specify if Switch displays in a disabled state",
|
|
2503
|
-
"values": []
|
|
2504
|
-
},
|
|
2505
|
-
{ "name": "checked", "values": [] },
|
|
2506
|
-
{
|
|
2507
|
-
"name": "value",
|
|
2508
|
-
"description": "The value attribute for the input element",
|
|
2509
|
-
"values": []
|
|
2510
|
-
}
|
|
2511
|
-
],
|
|
2512
|
-
"references": [
|
|
2513
|
-
{
|
|
2514
|
-
"name": "Storybook",
|
|
2515
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
2518
|
-
},
|
|
2519
2519
|
{
|
|
2520
2520
|
"name": "bm-checkbox-group",
|
|
2521
2521
|
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|