@viasat/beam-web-components 2.10.0 → 2.10.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/Tooltip/Tooltip.js +1 -1
- package/custom-elements.json +2544 -2544
- package/local/Tooltip/Tooltip.js +1 -1
- package/package.json +6 -6
- package/vscode.html-custom-data.json +348 -348
|
@@ -61,6 +61,146 @@
|
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
+
{
|
|
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
|
+
"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-badge-dot",
|
|
164
|
+
"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",
|
|
165
|
+
"attributes": [
|
|
166
|
+
{
|
|
167
|
+
"name": "theme",
|
|
168
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
169
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "appearance",
|
|
173
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
174
|
+
"values": [
|
|
175
|
+
{ "name": "primary" },
|
|
176
|
+
{ "name": "secondary" },
|
|
177
|
+
{ "name": "infoPrimary" },
|
|
178
|
+
{ "name": "infoSecondary" },
|
|
179
|
+
{ "name": "positive" },
|
|
180
|
+
{ "name": "warning" },
|
|
181
|
+
{ "name": "negative" },
|
|
182
|
+
{ "name": "inverse" },
|
|
183
|
+
{ "name": "secondaryInverse" }
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "emphasis",
|
|
188
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
189
|
+
"values": [{ "name": "Emphasis" }]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "overrideDotColor",
|
|
193
|
+
"description": "Overrides default dot color",
|
|
194
|
+
"values": []
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"references": [
|
|
198
|
+
{
|
|
199
|
+
"name": "Storybook",
|
|
200
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
64
204
|
{
|
|
65
205
|
"name": "bm-badge",
|
|
66
206
|
"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",
|
|
@@ -105,44 +245,75 @@
|
|
|
105
245
|
]
|
|
106
246
|
},
|
|
107
247
|
{
|
|
108
|
-
"name": "bm-
|
|
109
|
-
"description": "`bm-
|
|
248
|
+
"name": "bm-alert",
|
|
249
|
+
"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",
|
|
110
250
|
"attributes": [
|
|
251
|
+
{
|
|
252
|
+
"name": "heading",
|
|
253
|
+
"description": "Specify the heading text for Alert",
|
|
254
|
+
"values": []
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "body",
|
|
258
|
+
"description": "Specify the body text for Alert",
|
|
259
|
+
"values": []
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "size",
|
|
263
|
+
"description": "Specify the size of the Alert",
|
|
264
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "fullWidth",
|
|
268
|
+
"description": "Specify if the Alert has no border radius",
|
|
269
|
+
"values": []
|
|
270
|
+
},
|
|
111
271
|
{
|
|
112
272
|
"name": "theme",
|
|
113
|
-
"description": "Specify the theme of the
|
|
273
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
114
274
|
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
115
275
|
},
|
|
116
276
|
{
|
|
117
277
|
"name": "appearance",
|
|
118
|
-
"description": "Specify the appearance of the
|
|
278
|
+
"description": "Specify the appearance of the Alert",
|
|
119
279
|
"values": [
|
|
120
|
-
{ "name": "primary" },
|
|
121
|
-
{ "name": "secondary" },
|
|
122
280
|
{ "name": "infoPrimary" },
|
|
123
281
|
{ "name": "infoSecondary" },
|
|
124
282
|
{ "name": "positive" },
|
|
125
283
|
{ "name": "warning" },
|
|
126
|
-
{ "name": "negative" }
|
|
127
|
-
{ "name": "inverse" },
|
|
128
|
-
{ "name": "secondaryInverse" }
|
|
284
|
+
{ "name": "negative" }
|
|
129
285
|
]
|
|
130
286
|
},
|
|
131
287
|
{
|
|
132
|
-
"name": "
|
|
133
|
-
"description": "Specify the
|
|
134
|
-
"values": [
|
|
288
|
+
"name": "hidden",
|
|
289
|
+
"description": "Specify if the Alert is hidden",
|
|
290
|
+
"values": []
|
|
135
291
|
},
|
|
136
292
|
{
|
|
137
|
-
"name": "
|
|
138
|
-
"description": "
|
|
293
|
+
"name": "hideIcon",
|
|
294
|
+
"description": "Specify if the icon displays on the Alert",
|
|
295
|
+
"values": []
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "dismissible",
|
|
299
|
+
"description": "Specify if the Alert can be dismissed",
|
|
300
|
+
"values": []
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "disableAutoFocus",
|
|
304
|
+
"description": "Prevent autofocus on show",
|
|
305
|
+
"values": []
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "disableCloseOnEscape",
|
|
309
|
+
"description": "Prevent Escape from closing",
|
|
139
310
|
"values": []
|
|
140
311
|
}
|
|
141
312
|
],
|
|
142
313
|
"references": [
|
|
143
314
|
{
|
|
144
315
|
"name": "Storybook",
|
|
145
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
316
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
146
317
|
}
|
|
147
318
|
]
|
|
148
319
|
},
|
|
@@ -611,145 +782,47 @@
|
|
|
611
782
|
]
|
|
612
783
|
},
|
|
613
784
|
{
|
|
614
|
-
"name": "bm-
|
|
615
|
-
"description": "`bm-
|
|
785
|
+
"name": "bm-button",
|
|
786
|
+
"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",
|
|
616
787
|
"attributes": [
|
|
617
788
|
{
|
|
618
789
|
"name": "appearance",
|
|
619
|
-
"description": "Specify the appearance of
|
|
620
|
-
"values": [
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
790
|
+
"description": "Specify the appearance of a Button",
|
|
791
|
+
"values": [
|
|
792
|
+
{ "name": "accent" },
|
|
793
|
+
{ "name": "neutral" },
|
|
794
|
+
{ "name": "destructive" },
|
|
795
|
+
{ "name": "neutral-subtle" }
|
|
796
|
+
]
|
|
626
797
|
},
|
|
627
798
|
{
|
|
628
|
-
"name": "
|
|
629
|
-
"description": "
|
|
630
|
-
"values": [
|
|
799
|
+
"name": "kind",
|
|
800
|
+
"description": "Specify the kind of Button",
|
|
801
|
+
"values": [
|
|
802
|
+
{ "name": "filled" },
|
|
803
|
+
{ "name": "outline" },
|
|
804
|
+
{ "name": "ghost" },
|
|
805
|
+
{ "name": "bare" }
|
|
806
|
+
]
|
|
631
807
|
},
|
|
632
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
633
808
|
{
|
|
634
809
|
"name": "size",
|
|
635
|
-
"description": "Specify the size of
|
|
636
|
-
"values": [
|
|
637
|
-
{ "name": "xs" },
|
|
638
|
-
{ "name": "sm" },
|
|
639
|
-
{ "name": "md" },
|
|
640
|
-
{ "name": "lg" },
|
|
641
|
-
{ "name": "xl" }
|
|
642
|
-
]
|
|
810
|
+
"description": "Specify the size of a Button",
|
|
811
|
+
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
643
812
|
},
|
|
644
813
|
{
|
|
645
814
|
"name": "disabled",
|
|
646
|
-
"description": "Specify if the
|
|
815
|
+
"description": "Specify if the Button is disabled",
|
|
647
816
|
"values": []
|
|
648
817
|
},
|
|
649
818
|
{
|
|
650
|
-
"name": "
|
|
651
|
-
"description": "Specify
|
|
652
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"name": "isInteractive",
|
|
656
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
819
|
+
"name": "fluid",
|
|
820
|
+
"description": "Specify if Button is fluid",
|
|
657
821
|
"values": []
|
|
658
822
|
},
|
|
659
823
|
{
|
|
660
|
-
"name": "
|
|
661
|
-
"description": "
|
|
662
|
-
"values": []
|
|
663
|
-
},
|
|
664
|
-
{ "name": "withBorder", "values": [] }
|
|
665
|
-
],
|
|
666
|
-
"references": [
|
|
667
|
-
{
|
|
668
|
-
"name": "Storybook",
|
|
669
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
670
|
-
}
|
|
671
|
-
]
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"name": "bm-avatar-group",
|
|
675
|
-
"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",
|
|
676
|
-
"attributes": [
|
|
677
|
-
{
|
|
678
|
-
"name": "wrapping",
|
|
679
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
680
|
-
"values": []
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
"name": "maxCount",
|
|
684
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
685
|
-
"values": []
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"name": "size",
|
|
689
|
-
"description": "Specify the size of all Avatars",
|
|
690
|
-
"values": [
|
|
691
|
-
{ "name": "xs" },
|
|
692
|
-
{ "name": "sm" },
|
|
693
|
-
{ "name": "md" },
|
|
694
|
-
{ "name": "lg" },
|
|
695
|
-
{ "name": "xl" }
|
|
696
|
-
]
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"name": "layout",
|
|
700
|
-
"description": "Specify the kind of the group.",
|
|
701
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
702
|
-
}
|
|
703
|
-
],
|
|
704
|
-
"references": [
|
|
705
|
-
{
|
|
706
|
-
"name": "Storybook",
|
|
707
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
708
|
-
}
|
|
709
|
-
]
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
"name": "bm-button",
|
|
713
|
-
"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",
|
|
714
|
-
"attributes": [
|
|
715
|
-
{
|
|
716
|
-
"name": "appearance",
|
|
717
|
-
"description": "Specify the appearance of a Button",
|
|
718
|
-
"values": [
|
|
719
|
-
{ "name": "accent" },
|
|
720
|
-
{ "name": "neutral" },
|
|
721
|
-
{ "name": "destructive" },
|
|
722
|
-
{ "name": "neutral-subtle" }
|
|
723
|
-
]
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
"name": "kind",
|
|
727
|
-
"description": "Specify the kind of Button",
|
|
728
|
-
"values": [
|
|
729
|
-
{ "name": "filled" },
|
|
730
|
-
{ "name": "outline" },
|
|
731
|
-
{ "name": "ghost" },
|
|
732
|
-
{ "name": "bare" }
|
|
733
|
-
]
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"name": "size",
|
|
737
|
-
"description": "Specify the size of a Button",
|
|
738
|
-
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
"name": "disabled",
|
|
742
|
-
"description": "Specify if the Button is disabled",
|
|
743
|
-
"values": []
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
"name": "fluid",
|
|
747
|
-
"description": "Specify if Button is fluid",
|
|
748
|
-
"values": []
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
"name": "width",
|
|
752
|
-
"description": "Specify the width of a Button",
|
|
824
|
+
"name": "width",
|
|
825
|
+
"description": "Specify the width of a Button",
|
|
753
826
|
"values": []
|
|
754
827
|
},
|
|
755
828
|
{
|
|
@@ -776,79 +849,6 @@
|
|
|
776
849
|
}
|
|
777
850
|
]
|
|
778
851
|
},
|
|
779
|
-
{
|
|
780
|
-
"name": "bm-alert",
|
|
781
|
-
"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",
|
|
782
|
-
"attributes": [
|
|
783
|
-
{
|
|
784
|
-
"name": "heading",
|
|
785
|
-
"description": "Specify the heading text for Alert",
|
|
786
|
-
"values": []
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
"name": "body",
|
|
790
|
-
"description": "Specify the body text for Alert",
|
|
791
|
-
"values": []
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
"name": "size",
|
|
795
|
-
"description": "Specify the size of the Alert",
|
|
796
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
"name": "fullWidth",
|
|
800
|
-
"description": "Specify if the Alert has no border radius",
|
|
801
|
-
"values": []
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
"name": "theme",
|
|
805
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
806
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
"name": "appearance",
|
|
810
|
-
"description": "Specify the appearance of the Alert",
|
|
811
|
-
"values": [
|
|
812
|
-
{ "name": "infoPrimary" },
|
|
813
|
-
{ "name": "infoSecondary" },
|
|
814
|
-
{ "name": "positive" },
|
|
815
|
-
{ "name": "warning" },
|
|
816
|
-
{ "name": "negative" }
|
|
817
|
-
]
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "hidden",
|
|
821
|
-
"description": "Specify if the Alert is hidden",
|
|
822
|
-
"values": []
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"name": "hideIcon",
|
|
826
|
-
"description": "Specify if the icon displays on the Alert",
|
|
827
|
-
"values": []
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"name": "dismissible",
|
|
831
|
-
"description": "Specify if the Alert can be dismissed",
|
|
832
|
-
"values": []
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"name": "disableAutoFocus",
|
|
836
|
-
"description": "Prevent autofocus on show",
|
|
837
|
-
"values": []
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"name": "disableCloseOnEscape",
|
|
841
|
-
"description": "Prevent Escape from closing",
|
|
842
|
-
"values": []
|
|
843
|
-
}
|
|
844
|
-
],
|
|
845
|
-
"references": [
|
|
846
|
-
{
|
|
847
|
-
"name": "Storybook",
|
|
848
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
849
|
-
}
|
|
850
|
-
]
|
|
851
|
-
},
|
|
852
852
|
{
|
|
853
853
|
"name": "bm-close-button",
|
|
854
854
|
"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",
|
|
@@ -2071,6 +2071,51 @@
|
|
|
2071
2071
|
}
|
|
2072
2072
|
]
|
|
2073
2073
|
},
|
|
2074
|
+
{
|
|
2075
|
+
"name": "bm-form",
|
|
2076
|
+
"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",
|
|
2077
|
+
"attributes": [
|
|
2078
|
+
{
|
|
2079
|
+
"name": "validationMode",
|
|
2080
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
2081
|
+
"values": [
|
|
2082
|
+
{ "name": "onChange" },
|
|
2083
|
+
{ "name": "onBlur" },
|
|
2084
|
+
{ "name": "onSubmit" }
|
|
2085
|
+
]
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "initialValues",
|
|
2089
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
2090
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"name": "required",
|
|
2094
|
+
"description": "Specify if input is a required",
|
|
2095
|
+
"values": []
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"name": "disabled",
|
|
2099
|
+
"description": "Specify if input is a disabled",
|
|
2100
|
+
"values": []
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "readOnly",
|
|
2104
|
+
"description": "Specify if input is a read only",
|
|
2105
|
+
"values": []
|
|
2106
|
+
},
|
|
2107
|
+
{ "name": "action", "values": [{ "name": "Optional<string>" }] },
|
|
2108
|
+
{ "name": "method", "values": [{ "name": "Optional<string>" }] },
|
|
2109
|
+
{ "name": "target", "values": [{ "name": "Optional<string>" }] },
|
|
2110
|
+
{ "name": "enctype", "values": [{ "name": "Optional<string>" }] }
|
|
2111
|
+
],
|
|
2112
|
+
"references": [
|
|
2113
|
+
{
|
|
2114
|
+
"name": "Storybook",
|
|
2115
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2116
|
+
}
|
|
2117
|
+
]
|
|
2118
|
+
},
|
|
2074
2119
|
{
|
|
2075
2120
|
"name": "bm-label",
|
|
2076
2121
|
"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",
|
|
@@ -2228,51 +2273,6 @@
|
|
|
2228
2273
|
}
|
|
2229
2274
|
]
|
|
2230
2275
|
},
|
|
2231
|
-
{
|
|
2232
|
-
"name": "bm-form",
|
|
2233
|
-
"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",
|
|
2234
|
-
"attributes": [
|
|
2235
|
-
{
|
|
2236
|
-
"name": "validationMode",
|
|
2237
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
2238
|
-
"values": [
|
|
2239
|
-
{ "name": "onChange" },
|
|
2240
|
-
{ "name": "onBlur" },
|
|
2241
|
-
{ "name": "onSubmit" }
|
|
2242
|
-
]
|
|
2243
|
-
},
|
|
2244
|
-
{
|
|
2245
|
-
"name": "initialValues",
|
|
2246
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
2247
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2248
|
-
},
|
|
2249
|
-
{
|
|
2250
|
-
"name": "required",
|
|
2251
|
-
"description": "Specify if input is a required",
|
|
2252
|
-
"values": []
|
|
2253
|
-
},
|
|
2254
|
-
{
|
|
2255
|
-
"name": "disabled",
|
|
2256
|
-
"description": "Specify if input is a disabled",
|
|
2257
|
-
"values": []
|
|
2258
|
-
},
|
|
2259
|
-
{
|
|
2260
|
-
"name": "readOnly",
|
|
2261
|
-
"description": "Specify if input is a read only",
|
|
2262
|
-
"values": []
|
|
2263
|
-
},
|
|
2264
|
-
{ "name": "action", "values": [{ "name": "Optional<string>" }] },
|
|
2265
|
-
{ "name": "method", "values": [{ "name": "Optional<string>" }] },
|
|
2266
|
-
{ "name": "target", "values": [{ "name": "Optional<string>" }] },
|
|
2267
|
-
{ "name": "enctype", "values": [{ "name": "Optional<string>" }] }
|
|
2268
|
-
],
|
|
2269
|
-
"references": [
|
|
2270
|
-
{
|
|
2271
|
-
"name": "Storybook",
|
|
2272
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2273
|
-
}
|
|
2274
|
-
]
|
|
2275
|
-
},
|
|
2276
2276
|
{
|
|
2277
2277
|
"name": "bm-switch",
|
|
2278
2278
|
"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.",
|
|
@@ -2316,99 +2316,6 @@
|
|
|
2316
2316
|
}
|
|
2317
2317
|
]
|
|
2318
2318
|
},
|
|
2319
|
-
{
|
|
2320
|
-
"name": "bm-text-area",
|
|
2321
|
-
"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",
|
|
2322
|
-
"attributes": [
|
|
2323
|
-
{
|
|
2324
|
-
"name": "rows",
|
|
2325
|
-
"description": "Specify the height of TextArea",
|
|
2326
|
-
"values": [{ "name": "Optional<number>" }]
|
|
2327
|
-
},
|
|
2328
|
-
{
|
|
2329
|
-
"name": "cols",
|
|
2330
|
-
"description": "Specify the width of TextArea",
|
|
2331
|
-
"values": [{ "name": "Optional<number>" }]
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"name": "placeholder",
|
|
2335
|
-
"description": "Specify placeholder text for TextArea",
|
|
2336
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2337
|
-
},
|
|
2338
|
-
{
|
|
2339
|
-
"name": "required",
|
|
2340
|
-
"description": "Specify if TextArea is a required input",
|
|
2341
|
-
"values": []
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"name": "hideRequiredMarker",
|
|
2345
|
-
"description": "Specify if the TextArea displays with an asterisk",
|
|
2346
|
-
"values": []
|
|
2347
|
-
},
|
|
2348
|
-
{
|
|
2349
|
-
"name": "error",
|
|
2350
|
-
"description": "Specify error text and display error state of a TextArea",
|
|
2351
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2352
|
-
},
|
|
2353
|
-
{
|
|
2354
|
-
"name": "readOnly",
|
|
2355
|
-
"description": "Specify if TextArea displays in a read-only state",
|
|
2356
|
-
"values": []
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
"name": "disabled",
|
|
2360
|
-
"description": "Specify if TextArea displays in a disabled state",
|
|
2361
|
-
"values": []
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
"name": "fluid",
|
|
2365
|
-
"description": "Specify if TextArea is fluid",
|
|
2366
|
-
"values": []
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
"name": "width",
|
|
2370
|
-
"description": "Specify the width of TextArea",
|
|
2371
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2372
|
-
},
|
|
2373
|
-
{
|
|
2374
|
-
"name": "hideResize",
|
|
2375
|
-
"description": "Specify if TextArea can be manually resized",
|
|
2376
|
-
"values": []
|
|
2377
|
-
},
|
|
2378
|
-
{
|
|
2379
|
-
"name": "maxCount",
|
|
2380
|
-
"description": "Specify the maximum character count for the TextArea",
|
|
2381
|
-
"values": [{ "name": "Optional<number>" }]
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"name": "autoResize",
|
|
2385
|
-
"description": "Specify if the TextArea automatically resizes to fit the text",
|
|
2386
|
-
"values": []
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"name": "theme",
|
|
2390
|
-
"description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
|
|
2391
|
-
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2392
|
-
},
|
|
2393
|
-
{ "name": "id", "values": [] },
|
|
2394
|
-
{ "name": "name", "values": [] },
|
|
2395
|
-
{ "name": "value", "values": [] },
|
|
2396
|
-
{
|
|
2397
|
-
"name": "validationRules",
|
|
2398
|
-
"values": [{ "name": "Array<FormValidator>" }]
|
|
2399
|
-
},
|
|
2400
|
-
{
|
|
2401
|
-
"name": "input-aria-label",
|
|
2402
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2403
|
-
}
|
|
2404
|
-
],
|
|
2405
|
-
"references": [
|
|
2406
|
-
{
|
|
2407
|
-
"name": "Storybook",
|
|
2408
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
|
|
2409
|
-
}
|
|
2410
|
-
]
|
|
2411
|
-
},
|
|
2412
2319
|
{
|
|
2413
2320
|
"name": "bm-text-field",
|
|
2414
2321
|
"description": "`bm-text-field`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextField\n- **helper-text** - Specify the helper text for TextField\n- **content-after** - Specify content to display after input\n- **content-before** - Specify content to display before input",
|
|
@@ -2699,6 +2606,99 @@
|
|
|
2699
2606
|
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2700
2607
|
}
|
|
2701
2608
|
]
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"name": "bm-text-area",
|
|
2612
|
+
"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",
|
|
2613
|
+
"attributes": [
|
|
2614
|
+
{
|
|
2615
|
+
"name": "rows",
|
|
2616
|
+
"description": "Specify the height of TextArea",
|
|
2617
|
+
"values": [{ "name": "Optional<number>" }]
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"name": "cols",
|
|
2621
|
+
"description": "Specify the width of TextArea",
|
|
2622
|
+
"values": [{ "name": "Optional<number>" }]
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"name": "placeholder",
|
|
2626
|
+
"description": "Specify placeholder text for TextArea",
|
|
2627
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
"name": "required",
|
|
2631
|
+
"description": "Specify if TextArea is a required input",
|
|
2632
|
+
"values": []
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"name": "hideRequiredMarker",
|
|
2636
|
+
"description": "Specify if the TextArea displays with an asterisk",
|
|
2637
|
+
"values": []
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"name": "error",
|
|
2641
|
+
"description": "Specify error text and display error state of a TextArea",
|
|
2642
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"name": "readOnly",
|
|
2646
|
+
"description": "Specify if TextArea displays in a read-only state",
|
|
2647
|
+
"values": []
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
"name": "disabled",
|
|
2651
|
+
"description": "Specify if TextArea displays in a disabled state",
|
|
2652
|
+
"values": []
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"name": "fluid",
|
|
2656
|
+
"description": "Specify if TextArea is fluid",
|
|
2657
|
+
"values": []
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
"name": "width",
|
|
2661
|
+
"description": "Specify the width of TextArea",
|
|
2662
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"name": "hideResize",
|
|
2666
|
+
"description": "Specify if TextArea can be manually resized",
|
|
2667
|
+
"values": []
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
"name": "maxCount",
|
|
2671
|
+
"description": "Specify the maximum character count for the TextArea",
|
|
2672
|
+
"values": [{ "name": "Optional<number>" }]
|
|
2673
|
+
},
|
|
2674
|
+
{
|
|
2675
|
+
"name": "autoResize",
|
|
2676
|
+
"description": "Specify if the TextArea automatically resizes to fit the text",
|
|
2677
|
+
"values": []
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"name": "theme",
|
|
2681
|
+
"description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
|
|
2682
|
+
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2683
|
+
},
|
|
2684
|
+
{ "name": "id", "values": [] },
|
|
2685
|
+
{ "name": "name", "values": [] },
|
|
2686
|
+
{ "name": "value", "values": [] },
|
|
2687
|
+
{
|
|
2688
|
+
"name": "validationRules",
|
|
2689
|
+
"values": [{ "name": "Array<FormValidator>" }]
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
"name": "input-aria-label",
|
|
2693
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2694
|
+
}
|
|
2695
|
+
],
|
|
2696
|
+
"references": [
|
|
2697
|
+
{
|
|
2698
|
+
"name": "Storybook",
|
|
2699
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
|
|
2700
|
+
}
|
|
2701
|
+
]
|
|
2702
2702
|
}
|
|
2703
2703
|
]
|
|
2704
2704
|
}
|