@viasat/beam-web-components 2.9.0 → 2.10.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/Box/Box.js +3 -3
- package/Divider/Divider.js +3 -3
- package/Tooltip/Tooltip.js +1 -1
- package/custom-elements.json +2422 -2422
- package/local/Accordion/Accordion.js +1 -1
- package/local/Accordion/AccordionGroup.js +1 -1
- package/local/Accordion/index.js +1 -1
- package/local/BadgeDot/BadgeDot.js +3 -3
- package/local/Divider/Divider.js +4 -4
- package/local/InputChoiceGroup/InputChoiceGroup.js +1 -1
- package/local/Tooltip/Tooltip.js +1 -1
- package/local/chunks/{Accordion.PGU7OILE.js → Accordion.BP1XR2Gd.js} +1 -1
- package/local/wip/FileUpload/FileUpload.js +1 -1
- package/local/wip/NativeSelect/NativeSelect.js +4 -4
- package/local/wip/TextArea/TextArea.js +4 -4
- package/local/wip/TextField/TextField.js +4 -4
- package/package.json +6 -6
- package/vscode.html-custom-data.json +253 -253
|
@@ -104,177 +104,6 @@
|
|
|
104
104
|
}
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
|
-
{
|
|
108
|
-
"name": "bm-avatar",
|
|
109
|
-
"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",
|
|
110
|
-
"attributes": [
|
|
111
|
-
{
|
|
112
|
-
"name": "appearance",
|
|
113
|
-
"description": "Specify the appearance of the Avatar",
|
|
114
|
-
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"name": "name",
|
|
118
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
119
|
-
"values": []
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"name": "src",
|
|
123
|
-
"description": "Pass an image to the Avatar",
|
|
124
|
-
"values": []
|
|
125
|
-
},
|
|
126
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
127
|
-
{
|
|
128
|
-
"name": "size",
|
|
129
|
-
"description": "Specify the size of the Avatar",
|
|
130
|
-
"values": [
|
|
131
|
-
{ "name": "xs" },
|
|
132
|
-
{ "name": "sm" },
|
|
133
|
-
{ "name": "md" },
|
|
134
|
-
{ "name": "lg" },
|
|
135
|
-
{ "name": "xl" }
|
|
136
|
-
]
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"name": "disabled",
|
|
140
|
-
"description": "Specify if the Avatar is disabled",
|
|
141
|
-
"values": []
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"name": "shape",
|
|
145
|
-
"description": "Specify the shape of the Avatar",
|
|
146
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"name": "isInteractive",
|
|
150
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
151
|
-
"values": []
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"name": "isFocusable",
|
|
155
|
-
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
156
|
-
"values": []
|
|
157
|
-
},
|
|
158
|
-
{ "name": "withBorder", "values": [] }
|
|
159
|
-
],
|
|
160
|
-
"references": [
|
|
161
|
-
{
|
|
162
|
-
"name": "Storybook",
|
|
163
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
164
|
-
}
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "bm-avatar-group",
|
|
169
|
-
"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",
|
|
170
|
-
"attributes": [
|
|
171
|
-
{
|
|
172
|
-
"name": "wrapping",
|
|
173
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
174
|
-
"values": []
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"name": "maxCount",
|
|
178
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
179
|
-
"values": []
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "size",
|
|
183
|
-
"description": "Specify the size of all Avatars",
|
|
184
|
-
"values": [
|
|
185
|
-
{ "name": "xs" },
|
|
186
|
-
{ "name": "sm" },
|
|
187
|
-
{ "name": "md" },
|
|
188
|
-
{ "name": "lg" },
|
|
189
|
-
{ "name": "xl" }
|
|
190
|
-
]
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"name": "layout",
|
|
194
|
-
"description": "Specify the kind of the group.",
|
|
195
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
196
|
-
}
|
|
197
|
-
],
|
|
198
|
-
"references": [
|
|
199
|
-
{
|
|
200
|
-
"name": "Storybook",
|
|
201
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
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
107
|
{
|
|
279
108
|
"name": "bm-badge-dot",
|
|
280
109
|
"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",
|
|
@@ -781,6 +610,104 @@
|
|
|
781
610
|
}
|
|
782
611
|
]
|
|
783
612
|
},
|
|
613
|
+
{
|
|
614
|
+
"name": "bm-avatar",
|
|
615
|
+
"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",
|
|
616
|
+
"attributes": [
|
|
617
|
+
{
|
|
618
|
+
"name": "appearance",
|
|
619
|
+
"description": "Specify the appearance of the Avatar",
|
|
620
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "name",
|
|
624
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
625
|
+
"values": []
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "src",
|
|
629
|
+
"description": "Pass an image to the Avatar",
|
|
630
|
+
"values": []
|
|
631
|
+
},
|
|
632
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
633
|
+
{
|
|
634
|
+
"name": "size",
|
|
635
|
+
"description": "Specify the size of the Avatar",
|
|
636
|
+
"values": [
|
|
637
|
+
{ "name": "xs" },
|
|
638
|
+
{ "name": "sm" },
|
|
639
|
+
{ "name": "md" },
|
|
640
|
+
{ "name": "lg" },
|
|
641
|
+
{ "name": "xl" }
|
|
642
|
+
]
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "disabled",
|
|
646
|
+
"description": "Specify if the Avatar is disabled",
|
|
647
|
+
"values": []
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "shape",
|
|
651
|
+
"description": "Specify the shape of the Avatar",
|
|
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",
|
|
657
|
+
"values": []
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "isFocusable",
|
|
661
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
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
|
+
},
|
|
784
711
|
{
|
|
785
712
|
"name": "bm-button",
|
|
786
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",
|
|
@@ -849,6 +776,79 @@
|
|
|
849
776
|
}
|
|
850
777
|
]
|
|
851
778
|
},
|
|
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",
|
|
@@ -1761,51 +1761,6 @@
|
|
|
1761
1761
|
}
|
|
1762
1762
|
]
|
|
1763
1763
|
},
|
|
1764
|
-
{
|
|
1765
|
-
"name": "bm-form",
|
|
1766
|
-
"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",
|
|
1767
|
-
"attributes": [
|
|
1768
|
-
{
|
|
1769
|
-
"name": "validationMode",
|
|
1770
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
1771
|
-
"values": [
|
|
1772
|
-
{ "name": "onChange" },
|
|
1773
|
-
{ "name": "onBlur" },
|
|
1774
|
-
{ "name": "onSubmit" }
|
|
1775
|
-
]
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"name": "initialValues",
|
|
1779
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
1780
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
1781
|
-
},
|
|
1782
|
-
{
|
|
1783
|
-
"name": "required",
|
|
1784
|
-
"description": "Specify if input is a required",
|
|
1785
|
-
"values": []
|
|
1786
|
-
},
|
|
1787
|
-
{
|
|
1788
|
-
"name": "disabled",
|
|
1789
|
-
"description": "Specify if input is a disabled",
|
|
1790
|
-
"values": []
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"name": "readOnly",
|
|
1794
|
-
"description": "Specify if input is a read only",
|
|
1795
|
-
"values": []
|
|
1796
|
-
},
|
|
1797
|
-
{ "name": "action", "values": [{ "name": "Optional<string>" }] },
|
|
1798
|
-
{ "name": "method", "values": [{ "name": "Optional<string>" }] },
|
|
1799
|
-
{ "name": "target", "values": [{ "name": "Optional<string>" }] },
|
|
1800
|
-
{ "name": "enctype", "values": [{ "name": "Optional<string>" }] }
|
|
1801
|
-
],
|
|
1802
|
-
"references": [
|
|
1803
|
-
{
|
|
1804
|
-
"name": "Storybook",
|
|
1805
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
1806
|
-
}
|
|
1807
|
-
]
|
|
1808
|
-
},
|
|
1809
1764
|
{
|
|
1810
1765
|
"name": "bm-file-upload-button",
|
|
1811
1766
|
"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",
|
|
@@ -2116,6 +2071,43 @@
|
|
|
2116
2071
|
}
|
|
2117
2072
|
]
|
|
2118
2073
|
},
|
|
2074
|
+
{
|
|
2075
|
+
"name": "bm-label",
|
|
2076
|
+
"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",
|
|
2077
|
+
"attributes": [
|
|
2078
|
+
{
|
|
2079
|
+
"name": "disabled",
|
|
2080
|
+
"description": "Specify if the Label displays disabled",
|
|
2081
|
+
"values": []
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
"name": "required",
|
|
2085
|
+
"description": "Specify if the Label displays as required",
|
|
2086
|
+
"values": []
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"name": "text",
|
|
2090
|
+
"description": "Specify the text for Label",
|
|
2091
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"name": "optional",
|
|
2095
|
+
"description": "Specify the text for Label",
|
|
2096
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"name": "theme",
|
|
2100
|
+
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
2101
|
+
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2102
|
+
}
|
|
2103
|
+
],
|
|
2104
|
+
"references": [
|
|
2105
|
+
{
|
|
2106
|
+
"name": "Storybook",
|
|
2107
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
2108
|
+
}
|
|
2109
|
+
]
|
|
2110
|
+
},
|
|
2119
2111
|
{
|
|
2120
2112
|
"name": "bm-native-select",
|
|
2121
2113
|
"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",
|
|
@@ -2184,43 +2176,6 @@
|
|
|
2184
2176
|
}
|
|
2185
2177
|
]
|
|
2186
2178
|
},
|
|
2187
|
-
{
|
|
2188
|
-
"name": "bm-label",
|
|
2189
|
-
"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",
|
|
2190
|
-
"attributes": [
|
|
2191
|
-
{
|
|
2192
|
-
"name": "disabled",
|
|
2193
|
-
"description": "Specify if the Label displays disabled",
|
|
2194
|
-
"values": []
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
"name": "required",
|
|
2198
|
-
"description": "Specify if the Label displays as required",
|
|
2199
|
-
"values": []
|
|
2200
|
-
},
|
|
2201
|
-
{
|
|
2202
|
-
"name": "text",
|
|
2203
|
-
"description": "Specify the text for Label",
|
|
2204
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2205
|
-
},
|
|
2206
|
-
{
|
|
2207
|
-
"name": "optional",
|
|
2208
|
-
"description": "Specify the text for Label",
|
|
2209
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2210
|
-
},
|
|
2211
|
-
{
|
|
2212
|
-
"name": "theme",
|
|
2213
|
-
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
2214
|
-
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2215
|
-
}
|
|
2216
|
-
],
|
|
2217
|
-
"references": [
|
|
2218
|
-
{
|
|
2219
|
-
"name": "Storybook",
|
|
2220
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
2221
|
-
}
|
|
2222
|
-
]
|
|
2223
|
-
},
|
|
2224
2179
|
{
|
|
2225
2180
|
"name": "bm-radio-button",
|
|
2226
2181
|
"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",
|
|
@@ -2273,6 +2228,51 @@
|
|
|
2273
2228
|
}
|
|
2274
2229
|
]
|
|
2275
2230
|
},
|
|
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.",
|