@viasat/beam-web-components 2.26.1 → 2.28.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 +1909 -1909
- package/package.json +6 -6
- package/vscode.html-custom-data.json +216 -216
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.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.28.0",
|
|
68
|
+
"@viasat/beam-shared": "2.28.0",
|
|
69
|
+
"@viasat/beam-styles": "2.28.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.28.0",
|
|
71
|
+
"@viasat/beam-icons": "2.28.0",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -61,6 +61,177 @@
|
|
|
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-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
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "theme",
|
|
188
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
189
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "appearance",
|
|
193
|
+
"description": "Specify the appearance of the Alert",
|
|
194
|
+
"values": [
|
|
195
|
+
{ "name": "infoPrimary" },
|
|
196
|
+
{ "name": "infoSecondary" },
|
|
197
|
+
{ "name": "positive" },
|
|
198
|
+
{ "name": "warning" },
|
|
199
|
+
{ "name": "negative" }
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "hidden",
|
|
204
|
+
"description": "Specify if the Alert is hidden",
|
|
205
|
+
"values": []
|
|
206
|
+
},
|
|
207
|
+
{
|
|
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",
|
|
225
|
+
"values": []
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"references": [
|
|
229
|
+
{
|
|
230
|
+
"name": "Storybook",
|
|
231
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
64
235
|
{
|
|
65
236
|
"name": "bm-badge",
|
|
66
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",
|
|
@@ -545,177 +716,6 @@
|
|
|
545
716
|
}
|
|
546
717
|
]
|
|
547
718
|
},
|
|
548
|
-
{
|
|
549
|
-
"name": "bm-alert",
|
|
550
|
-
"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",
|
|
551
|
-
"attributes": [
|
|
552
|
-
{
|
|
553
|
-
"name": "heading",
|
|
554
|
-
"description": "Specify the heading text for Alert",
|
|
555
|
-
"values": []
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"name": "body",
|
|
559
|
-
"description": "Specify the body text for Alert",
|
|
560
|
-
"values": []
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"name": "size",
|
|
564
|
-
"description": "Specify the size of the Alert",
|
|
565
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "fullWidth",
|
|
569
|
-
"description": "Specify if the Alert has no border radius",
|
|
570
|
-
"values": []
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"name": "theme",
|
|
574
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
575
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"name": "appearance",
|
|
579
|
-
"description": "Specify the appearance of the Alert",
|
|
580
|
-
"values": [
|
|
581
|
-
{ "name": "infoPrimary" },
|
|
582
|
-
{ "name": "infoSecondary" },
|
|
583
|
-
{ "name": "positive" },
|
|
584
|
-
{ "name": "warning" },
|
|
585
|
-
{ "name": "negative" }
|
|
586
|
-
]
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
"name": "hidden",
|
|
590
|
-
"description": "Specify if the Alert is hidden",
|
|
591
|
-
"values": []
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"name": "hideIcon",
|
|
595
|
-
"description": "Specify if the icon displays on the Alert",
|
|
596
|
-
"values": []
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"name": "dismissible",
|
|
600
|
-
"description": "Specify if the Alert can be dismissed",
|
|
601
|
-
"values": []
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"name": "disableAutoFocus",
|
|
605
|
-
"description": "Prevent autofocus on show",
|
|
606
|
-
"values": []
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"name": "disableCloseOnEscape",
|
|
610
|
-
"description": "Prevent Escape from closing",
|
|
611
|
-
"values": []
|
|
612
|
-
}
|
|
613
|
-
],
|
|
614
|
-
"references": [
|
|
615
|
-
{
|
|
616
|
-
"name": "Storybook",
|
|
617
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
618
|
-
}
|
|
619
|
-
]
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"name": "bm-avatar",
|
|
623
|
-
"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",
|
|
624
|
-
"attributes": [
|
|
625
|
-
{
|
|
626
|
-
"name": "appearance",
|
|
627
|
-
"description": "Specify the appearance of the Avatar",
|
|
628
|
-
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
"name": "name",
|
|
632
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
633
|
-
"values": []
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"name": "src",
|
|
637
|
-
"description": "Pass an image to the Avatar",
|
|
638
|
-
"values": []
|
|
639
|
-
},
|
|
640
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
641
|
-
{
|
|
642
|
-
"name": "size",
|
|
643
|
-
"description": "Specify the size of the Avatar",
|
|
644
|
-
"values": [
|
|
645
|
-
{ "name": "xs" },
|
|
646
|
-
{ "name": "sm" },
|
|
647
|
-
{ "name": "md" },
|
|
648
|
-
{ "name": "lg" },
|
|
649
|
-
{ "name": "xl" }
|
|
650
|
-
]
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
"name": "disabled",
|
|
654
|
-
"description": "Specify if the Avatar is disabled",
|
|
655
|
-
"values": []
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
"name": "shape",
|
|
659
|
-
"description": "Specify the shape of the Avatar",
|
|
660
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
"name": "isInteractive",
|
|
664
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
665
|
-
"values": []
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
"name": "isFocusable",
|
|
669
|
-
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
670
|
-
"values": []
|
|
671
|
-
},
|
|
672
|
-
{ "name": "withBorder", "values": [] }
|
|
673
|
-
],
|
|
674
|
-
"references": [
|
|
675
|
-
{
|
|
676
|
-
"name": "Storybook",
|
|
677
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
678
|
-
}
|
|
679
|
-
]
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "bm-avatar-group",
|
|
683
|
-
"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",
|
|
684
|
-
"attributes": [
|
|
685
|
-
{
|
|
686
|
-
"name": "wrapping",
|
|
687
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
688
|
-
"values": []
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
"name": "maxCount",
|
|
692
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
693
|
-
"values": []
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"name": "size",
|
|
697
|
-
"description": "Specify the size of all Avatars",
|
|
698
|
-
"values": [
|
|
699
|
-
{ "name": "xs" },
|
|
700
|
-
{ "name": "sm" },
|
|
701
|
-
{ "name": "md" },
|
|
702
|
-
{ "name": "lg" },
|
|
703
|
-
{ "name": "xl" }
|
|
704
|
-
]
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"name": "layout",
|
|
708
|
-
"description": "Specify the kind of the group.",
|
|
709
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
710
|
-
}
|
|
711
|
-
],
|
|
712
|
-
"references": [
|
|
713
|
-
{
|
|
714
|
-
"name": "Storybook",
|
|
715
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
716
|
-
}
|
|
717
|
-
]
|
|
718
|
-
},
|
|
719
719
|
{
|
|
720
720
|
"name": "bm-breadcrumb",
|
|
721
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",
|
|
@@ -1904,51 +1904,6 @@
|
|
|
1904
1904
|
}
|
|
1905
1905
|
]
|
|
1906
1906
|
},
|
|
1907
|
-
{
|
|
1908
|
-
"name": "bm-form",
|
|
1909
|
-
"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",
|
|
1910
|
-
"attributes": [
|
|
1911
|
-
{
|
|
1912
|
-
"name": "validationMode",
|
|
1913
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
1914
|
-
"values": [
|
|
1915
|
-
{ "name": "onChange" },
|
|
1916
|
-
{ "name": "onBlur" },
|
|
1917
|
-
{ "name": "onSubmit" }
|
|
1918
|
-
]
|
|
1919
|
-
},
|
|
1920
|
-
{
|
|
1921
|
-
"name": "initialValues",
|
|
1922
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
1923
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
"name": "required",
|
|
1927
|
-
"description": "Specify if input is a required",
|
|
1928
|
-
"values": []
|
|
1929
|
-
},
|
|
1930
|
-
{
|
|
1931
|
-
"name": "disabled",
|
|
1932
|
-
"description": "Specify if input is a disabled",
|
|
1933
|
-
"values": []
|
|
1934
|
-
},
|
|
1935
|
-
{
|
|
1936
|
-
"name": "readOnly",
|
|
1937
|
-
"description": "Specify if input is a read only",
|
|
1938
|
-
"values": []
|
|
1939
|
-
},
|
|
1940
|
-
{ "name": "action", "values": [] },
|
|
1941
|
-
{ "name": "method", "values": [] },
|
|
1942
|
-
{ "name": "target", "values": [] },
|
|
1943
|
-
{ "name": "enctype", "values": [] }
|
|
1944
|
-
],
|
|
1945
|
-
"references": [
|
|
1946
|
-
{
|
|
1947
|
-
"name": "Storybook",
|
|
1948
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
1949
|
-
}
|
|
1950
|
-
]
|
|
1951
|
-
},
|
|
1952
1907
|
{
|
|
1953
1908
|
"name": "bm-file-upload-button",
|
|
1954
1909
|
"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",
|
|
@@ -2256,6 +2211,51 @@
|
|
|
2256
2211
|
}
|
|
2257
2212
|
]
|
|
2258
2213
|
},
|
|
2214
|
+
{
|
|
2215
|
+
"name": "bm-form",
|
|
2216
|
+
"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",
|
|
2217
|
+
"attributes": [
|
|
2218
|
+
{
|
|
2219
|
+
"name": "validationMode",
|
|
2220
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
2221
|
+
"values": [
|
|
2222
|
+
{ "name": "onChange" },
|
|
2223
|
+
{ "name": "onBlur" },
|
|
2224
|
+
{ "name": "onSubmit" }
|
|
2225
|
+
]
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "initialValues",
|
|
2229
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
2230
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"name": "required",
|
|
2234
|
+
"description": "Specify if input is a required",
|
|
2235
|
+
"values": []
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"name": "disabled",
|
|
2239
|
+
"description": "Specify if input is a disabled",
|
|
2240
|
+
"values": []
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "readOnly",
|
|
2244
|
+
"description": "Specify if input is a read only",
|
|
2245
|
+
"values": []
|
|
2246
|
+
},
|
|
2247
|
+
{ "name": "action", "values": [] },
|
|
2248
|
+
{ "name": "method", "values": [] },
|
|
2249
|
+
{ "name": "target", "values": [] },
|
|
2250
|
+
{ "name": "enctype", "values": [] }
|
|
2251
|
+
],
|
|
2252
|
+
"references": [
|
|
2253
|
+
{
|
|
2254
|
+
"name": "Storybook",
|
|
2255
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2256
|
+
}
|
|
2257
|
+
]
|
|
2258
|
+
},
|
|
2259
2259
|
{
|
|
2260
2260
|
"name": "bm-native-select",
|
|
2261
2261
|
"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",
|