@viasat/beam-web-components 2.52.0 → 2.53.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 +2436 -2436
- package/package.json +6 -6
- package/vscode.html-custom-data.json +226 -226
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.53.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.53.0",
|
|
68
|
+
"@viasat/beam-shared": "2.53.0",
|
|
69
|
+
"@viasat/beam-styles": "2.53.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.53.0",
|
|
71
|
+
"@viasat/beam-icons": "2.53.0",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -62,17 +62,135 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": "bm-
|
|
66
|
-
"description": "`bm-
|
|
65
|
+
"name": "bm-avatar",
|
|
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",
|
|
67
67
|
"attributes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "appearance",
|
|
70
|
+
"description": "Specify the appearance of the Avatar",
|
|
71
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "name",
|
|
75
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
76
|
+
"values": []
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "src",
|
|
80
|
+
"description": "Pass an image to the Avatar",
|
|
81
|
+
"values": []
|
|
82
|
+
},
|
|
83
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
84
|
+
{
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Avatar",
|
|
87
|
+
"values": [
|
|
88
|
+
{ "name": "xs" },
|
|
89
|
+
{ "name": "sm" },
|
|
90
|
+
{ "name": "md" },
|
|
91
|
+
{ "name": "lg" },
|
|
92
|
+
{ "name": "xl" }
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "disabled",
|
|
97
|
+
"description": "Specify if the Avatar is disabled",
|
|
98
|
+
"values": []
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "shape",
|
|
102
|
+
"description": "Specify the shape of the Avatar",
|
|
103
|
+
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "isInteractive",
|
|
107
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
108
|
+
"values": []
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "isFocusable",
|
|
112
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
113
|
+
"values": []
|
|
114
|
+
},
|
|
115
|
+
{ "name": "withBorder", "values": [] }
|
|
116
|
+
],
|
|
117
|
+
"references": [
|
|
118
|
+
{
|
|
119
|
+
"name": "Storybook",
|
|
120
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "bm-avatar-group",
|
|
126
|
+
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.\n---\n\n\n### **Slots:**\n - **default** - Add Avatars to create a group",
|
|
127
|
+
"attributes": [
|
|
128
|
+
{
|
|
129
|
+
"name": "wrapping",
|
|
130
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
131
|
+
"values": []
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "maxCount",
|
|
135
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
136
|
+
"values": []
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "size",
|
|
140
|
+
"description": "Specify the size of all Avatars",
|
|
141
|
+
"values": [
|
|
142
|
+
{ "name": "xs" },
|
|
143
|
+
{ "name": "sm" },
|
|
144
|
+
{ "name": "md" },
|
|
145
|
+
{ "name": "lg" },
|
|
146
|
+
{ "name": "xl" }
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "layout",
|
|
151
|
+
"description": "Specify the kind of the group.",
|
|
152
|
+
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"references": [
|
|
156
|
+
{
|
|
157
|
+
"name": "Storybook",
|
|
158
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "bm-alert",
|
|
164
|
+
"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",
|
|
165
|
+
"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
|
+
},
|
|
68
186
|
{
|
|
69
187
|
"name": "theme",
|
|
70
|
-
"description": "Specify the theme of the
|
|
188
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
71
189
|
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
72
190
|
},
|
|
73
191
|
{
|
|
74
192
|
"name": "appearance",
|
|
75
|
-
"description": "Specify the appearance of the
|
|
193
|
+
"description": "Specify the appearance of the Alert",
|
|
76
194
|
"values": [
|
|
77
195
|
{ "name": "infoPrimary" },
|
|
78
196
|
{ "name": "infoSecondary" },
|
|
@@ -82,20 +200,35 @@
|
|
|
82
200
|
]
|
|
83
201
|
},
|
|
84
202
|
{
|
|
85
|
-
"name": "
|
|
86
|
-
"description": "Specify the
|
|
87
|
-
"values": [
|
|
203
|
+
"name": "hidden",
|
|
204
|
+
"description": "Specify if the Alert is hidden",
|
|
205
|
+
"values": []
|
|
88
206
|
},
|
|
89
207
|
{
|
|
90
|
-
"name": "
|
|
91
|
-
"description": "
|
|
208
|
+
"name": "hideIcon",
|
|
209
|
+
"description": "Specify if the icon displays on the Alert",
|
|
210
|
+
"values": []
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "dismissible",
|
|
214
|
+
"description": "Specify if the Alert can be dismissed",
|
|
215
|
+
"values": []
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "disableAutoFocus",
|
|
219
|
+
"description": "Prevent autofocus on show",
|
|
220
|
+
"values": []
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "disableCloseOnEscape",
|
|
224
|
+
"description": "Prevent Escape from closing",
|
|
92
225
|
"values": []
|
|
93
226
|
}
|
|
94
227
|
],
|
|
95
228
|
"references": [
|
|
96
229
|
{
|
|
97
230
|
"name": "Storybook",
|
|
98
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
231
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
99
232
|
}
|
|
100
233
|
]
|
|
101
234
|
},
|
|
@@ -142,6 +275,44 @@
|
|
|
142
275
|
}
|
|
143
276
|
]
|
|
144
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
|
+
},
|
|
145
316
|
{
|
|
146
317
|
"name": "bm-box",
|
|
147
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",
|
|
@@ -606,177 +777,6 @@
|
|
|
606
777
|
}
|
|
607
778
|
]
|
|
608
779
|
},
|
|
609
|
-
{
|
|
610
|
-
"name": "bm-avatar",
|
|
611
|
-
"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",
|
|
612
|
-
"attributes": [
|
|
613
|
-
{
|
|
614
|
-
"name": "appearance",
|
|
615
|
-
"description": "Specify the appearance of the Avatar",
|
|
616
|
-
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
"name": "name",
|
|
620
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
621
|
-
"values": []
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"name": "src",
|
|
625
|
-
"description": "Pass an image to the Avatar",
|
|
626
|
-
"values": []
|
|
627
|
-
},
|
|
628
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
629
|
-
{
|
|
630
|
-
"name": "size",
|
|
631
|
-
"description": "Specify the size of the Avatar",
|
|
632
|
-
"values": [
|
|
633
|
-
{ "name": "xs" },
|
|
634
|
-
{ "name": "sm" },
|
|
635
|
-
{ "name": "md" },
|
|
636
|
-
{ "name": "lg" },
|
|
637
|
-
{ "name": "xl" }
|
|
638
|
-
]
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"name": "disabled",
|
|
642
|
-
"description": "Specify if the Avatar is disabled",
|
|
643
|
-
"values": []
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
"name": "shape",
|
|
647
|
-
"description": "Specify the shape of the Avatar",
|
|
648
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
"name": "isInteractive",
|
|
652
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
653
|
-
"values": []
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
"name": "isFocusable",
|
|
657
|
-
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
658
|
-
"values": []
|
|
659
|
-
},
|
|
660
|
-
{ "name": "withBorder", "values": [] }
|
|
661
|
-
],
|
|
662
|
-
"references": [
|
|
663
|
-
{
|
|
664
|
-
"name": "Storybook",
|
|
665
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
666
|
-
}
|
|
667
|
-
]
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
"name": "bm-avatar-group",
|
|
671
|
-
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.\n---\n\n\n### **Slots:**\n - **default** - Add Avatars to create a group",
|
|
672
|
-
"attributes": [
|
|
673
|
-
{
|
|
674
|
-
"name": "wrapping",
|
|
675
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
676
|
-
"values": []
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
"name": "maxCount",
|
|
680
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
681
|
-
"values": []
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"name": "size",
|
|
685
|
-
"description": "Specify the size of all Avatars",
|
|
686
|
-
"values": [
|
|
687
|
-
{ "name": "xs" },
|
|
688
|
-
{ "name": "sm" },
|
|
689
|
-
{ "name": "md" },
|
|
690
|
-
{ "name": "lg" },
|
|
691
|
-
{ "name": "xl" }
|
|
692
|
-
]
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"name": "layout",
|
|
696
|
-
"description": "Specify the kind of the group.",
|
|
697
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
698
|
-
}
|
|
699
|
-
],
|
|
700
|
-
"references": [
|
|
701
|
-
{
|
|
702
|
-
"name": "Storybook",
|
|
703
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
704
|
-
}
|
|
705
|
-
]
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"name": "bm-alert",
|
|
709
|
-
"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",
|
|
710
|
-
"attributes": [
|
|
711
|
-
{
|
|
712
|
-
"name": "heading",
|
|
713
|
-
"description": "Specify the heading text for Alert",
|
|
714
|
-
"values": []
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
"name": "body",
|
|
718
|
-
"description": "Specify the body text for Alert",
|
|
719
|
-
"values": []
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
"name": "size",
|
|
723
|
-
"description": "Specify the size of the Alert",
|
|
724
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"name": "fullWidth",
|
|
728
|
-
"description": "Specify if the Alert has no border radius",
|
|
729
|
-
"values": []
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
"name": "theme",
|
|
733
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
734
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
"name": "appearance",
|
|
738
|
-
"description": "Specify the appearance of the Alert",
|
|
739
|
-
"values": [
|
|
740
|
-
{ "name": "infoPrimary" },
|
|
741
|
-
{ "name": "infoSecondary" },
|
|
742
|
-
{ "name": "positive" },
|
|
743
|
-
{ "name": "warning" },
|
|
744
|
-
{ "name": "negative" }
|
|
745
|
-
]
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"name": "hidden",
|
|
749
|
-
"description": "Specify if the Alert is hidden",
|
|
750
|
-
"values": []
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
"name": "hideIcon",
|
|
754
|
-
"description": "Specify if the icon displays on the Alert",
|
|
755
|
-
"values": []
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
"name": "dismissible",
|
|
759
|
-
"description": "Specify if the Alert can be dismissed",
|
|
760
|
-
"values": []
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
"name": "disableAutoFocus",
|
|
764
|
-
"description": "Prevent autofocus on show",
|
|
765
|
-
"values": []
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"name": "disableCloseOnEscape",
|
|
769
|
-
"description": "Prevent Escape from closing",
|
|
770
|
-
"values": []
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
"references": [
|
|
774
|
-
{
|
|
775
|
-
"name": "Storybook",
|
|
776
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
777
|
-
}
|
|
778
|
-
]
|
|
779
|
-
},
|
|
780
780
|
{
|
|
781
781
|
"name": "bm-button",
|
|
782
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",
|
|
@@ -1909,6 +1909,51 @@
|
|
|
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
|
+
},
|
|
1912
1957
|
{
|
|
1913
1958
|
"name": "bm-file-upload-button",
|
|
1914
1959
|
"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",
|
|
@@ -2338,51 +2383,6 @@
|
|
|
2338
2383
|
}
|
|
2339
2384
|
]
|
|
2340
2385
|
},
|
|
2341
|
-
{
|
|
2342
|
-
"name": "bm-form",
|
|
2343
|
-
"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",
|
|
2344
|
-
"attributes": [
|
|
2345
|
-
{
|
|
2346
|
-
"name": "validationMode",
|
|
2347
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
2348
|
-
"values": [
|
|
2349
|
-
{ "name": "onChange" },
|
|
2350
|
-
{ "name": "onBlur" },
|
|
2351
|
-
{ "name": "onSubmit" }
|
|
2352
|
-
]
|
|
2353
|
-
},
|
|
2354
|
-
{
|
|
2355
|
-
"name": "initialValues",
|
|
2356
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
2357
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
"name": "required",
|
|
2361
|
-
"description": "Specify if input is a required",
|
|
2362
|
-
"values": []
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"name": "disabled",
|
|
2366
|
-
"description": "Specify if input is a disabled",
|
|
2367
|
-
"values": []
|
|
2368
|
-
},
|
|
2369
|
-
{
|
|
2370
|
-
"name": "readOnly",
|
|
2371
|
-
"description": "Specify if input is a read only",
|
|
2372
|
-
"values": []
|
|
2373
|
-
},
|
|
2374
|
-
{ "name": "action", "values": [] },
|
|
2375
|
-
{ "name": "method", "values": [] },
|
|
2376
|
-
{ "name": "target", "values": [] },
|
|
2377
|
-
{ "name": "enctype", "values": [] }
|
|
2378
|
-
],
|
|
2379
|
-
"references": [
|
|
2380
|
-
{
|
|
2381
|
-
"name": "Storybook",
|
|
2382
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2383
|
-
}
|
|
2384
|
-
]
|
|
2385
|
-
},
|
|
2386
2386
|
{
|
|
2387
2387
|
"name": "bm-switch",
|
|
2388
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.",
|