@viasat/beam-web-components 2.27.0 → 2.29.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 +2123 -2123
- package/package.json +6 -6
- package/vscode.html-custom-data.json +238 -238
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.29.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.29.0",
|
|
68
|
+
"@viasat/beam-shared": "2.29.0",
|
|
69
|
+
"@viasat/beam-styles": "2.29.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.29.0",
|
|
71
|
+
"@viasat/beam-icons": "2.29.0",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -62,60 +62,110 @@
|
|
|
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
68
|
{
|
|
69
69
|
"name": "appearance",
|
|
70
|
-
"description": "Specify the appearance of the
|
|
71
|
-
"values": [
|
|
72
|
-
{ "name": "infoPrimary" },
|
|
73
|
-
{ "name": "infoSecondary" },
|
|
74
|
-
{ "name": "positive" },
|
|
75
|
-
{ "name": "warning" },
|
|
76
|
-
{ "name": "negative" }
|
|
77
|
-
]
|
|
70
|
+
"description": "Specify the appearance of the Avatar",
|
|
71
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
78
72
|
},
|
|
79
73
|
{
|
|
80
|
-
"name": "
|
|
81
|
-
"description": "
|
|
82
|
-
"values": [
|
|
74
|
+
"name": "name",
|
|
75
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
76
|
+
"values": []
|
|
83
77
|
},
|
|
84
78
|
{
|
|
85
|
-
"name": "
|
|
86
|
-
"description": "
|
|
87
|
-
"values": [
|
|
79
|
+
"name": "src",
|
|
80
|
+
"description": "Pass an image to the Avatar",
|
|
81
|
+
"values": []
|
|
88
82
|
},
|
|
83
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
89
84
|
{
|
|
90
|
-
"name": "
|
|
91
|
-
"description": "Specify the
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Avatar",
|
|
92
87
|
"values": [
|
|
93
|
-
{ "name": "
|
|
94
|
-
{ "name": "
|
|
95
|
-
{ "name": "
|
|
88
|
+
{ "name": "xs" },
|
|
89
|
+
{ "name": "sm" },
|
|
90
|
+
{ "name": "md" },
|
|
91
|
+
{ "name": "lg" },
|
|
92
|
+
{ "name": "xl" }
|
|
96
93
|
]
|
|
97
94
|
},
|
|
98
|
-
{
|
|
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": [] }
|
|
99
116
|
],
|
|
100
117
|
"references": [
|
|
101
118
|
{
|
|
102
119
|
"name": "Storybook",
|
|
103
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
120
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
104
121
|
}
|
|
105
122
|
]
|
|
106
123
|
},
|
|
107
124
|
{
|
|
108
|
-
"name": "bm-
|
|
109
|
-
"description": "`bm-
|
|
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",
|
|
110
127
|
"attributes": [
|
|
111
128
|
{
|
|
112
|
-
"name": "
|
|
113
|
-
"description": "Specify
|
|
114
|
-
"values": [
|
|
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": []
|
|
115
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",
|
|
164
|
+
"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",
|
|
165
|
+
"attributes": [
|
|
116
166
|
{
|
|
117
167
|
"name": "appearance",
|
|
118
|
-
"description": "Specify the appearance of the
|
|
168
|
+
"description": "Specify the appearance of the Badge",
|
|
119
169
|
"values": [
|
|
120
170
|
{ "name": "infoPrimary" },
|
|
121
171
|
{ "name": "infoSecondary" },
|
|
@@ -125,20 +175,30 @@
|
|
|
125
175
|
]
|
|
126
176
|
},
|
|
127
177
|
{
|
|
128
|
-
"name": "
|
|
129
|
-
"description": "
|
|
130
|
-
"values": [{ "name": "
|
|
178
|
+
"name": "theme",
|
|
179
|
+
"description": "Theme of the Badge",
|
|
180
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
131
181
|
},
|
|
132
182
|
{
|
|
133
|
-
"name": "
|
|
134
|
-
"description": "
|
|
135
|
-
"values": []
|
|
136
|
-
}
|
|
183
|
+
"name": "size",
|
|
184
|
+
"description": "Specify the size of the Badge",
|
|
185
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "emphasis",
|
|
189
|
+
"description": "Specify the emphasis of the Badge",
|
|
190
|
+
"values": [
|
|
191
|
+
{ "name": "strong" },
|
|
192
|
+
{ "name": "medium" },
|
|
193
|
+
{ "name": "subtle" }
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
137
197
|
],
|
|
138
198
|
"references": [
|
|
139
199
|
{
|
|
140
200
|
"name": "Storybook",
|
|
141
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
201
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
142
202
|
}
|
|
143
203
|
]
|
|
144
204
|
},
|
|
@@ -215,6 +275,44 @@
|
|
|
215
275
|
}
|
|
216
276
|
]
|
|
217
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
|
+
},
|
|
218
316
|
{
|
|
219
317
|
"name": "bm-box",
|
|
220
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",
|
|
@@ -679,104 +777,6 @@
|
|
|
679
777
|
}
|
|
680
778
|
]
|
|
681
779
|
},
|
|
682
|
-
{
|
|
683
|
-
"name": "bm-avatar",
|
|
684
|
-
"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",
|
|
685
|
-
"attributes": [
|
|
686
|
-
{
|
|
687
|
-
"name": "appearance",
|
|
688
|
-
"description": "Specify the appearance of the Avatar",
|
|
689
|
-
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"name": "name",
|
|
693
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
694
|
-
"values": []
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
"name": "src",
|
|
698
|
-
"description": "Pass an image to the Avatar",
|
|
699
|
-
"values": []
|
|
700
|
-
},
|
|
701
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
702
|
-
{
|
|
703
|
-
"name": "size",
|
|
704
|
-
"description": "Specify the size of the Avatar",
|
|
705
|
-
"values": [
|
|
706
|
-
{ "name": "xs" },
|
|
707
|
-
{ "name": "sm" },
|
|
708
|
-
{ "name": "md" },
|
|
709
|
-
{ "name": "lg" },
|
|
710
|
-
{ "name": "xl" }
|
|
711
|
-
]
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
"name": "disabled",
|
|
715
|
-
"description": "Specify if the Avatar is disabled",
|
|
716
|
-
"values": []
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"name": "shape",
|
|
720
|
-
"description": "Specify the shape of the Avatar",
|
|
721
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
722
|
-
},
|
|
723
|
-
{
|
|
724
|
-
"name": "isInteractive",
|
|
725
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
726
|
-
"values": []
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
"name": "isFocusable",
|
|
730
|
-
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
731
|
-
"values": []
|
|
732
|
-
},
|
|
733
|
-
{ "name": "withBorder", "values": [] }
|
|
734
|
-
],
|
|
735
|
-
"references": [
|
|
736
|
-
{
|
|
737
|
-
"name": "Storybook",
|
|
738
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
739
|
-
}
|
|
740
|
-
]
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
"name": "bm-avatar-group",
|
|
744
|
-
"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",
|
|
745
|
-
"attributes": [
|
|
746
|
-
{
|
|
747
|
-
"name": "wrapping",
|
|
748
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
749
|
-
"values": []
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
"name": "maxCount",
|
|
753
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
754
|
-
"values": []
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"name": "size",
|
|
758
|
-
"description": "Specify the size of all Avatars",
|
|
759
|
-
"values": [
|
|
760
|
-
{ "name": "xs" },
|
|
761
|
-
{ "name": "sm" },
|
|
762
|
-
{ "name": "md" },
|
|
763
|
-
{ "name": "lg" },
|
|
764
|
-
{ "name": "xl" }
|
|
765
|
-
]
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"name": "layout",
|
|
769
|
-
"description": "Specify the kind of the group.",
|
|
770
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
"references": [
|
|
774
|
-
{
|
|
775
|
-
"name": "Storybook",
|
|
776
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
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",
|
|
@@ -2211,103 +2211,6 @@
|
|
|
2211
2211
|
}
|
|
2212
2212
|
]
|
|
2213
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
|
-
{
|
|
2260
|
-
"name": "bm-radio-button",
|
|
2261
|
-
"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",
|
|
2262
|
-
"attributes": [
|
|
2263
|
-
{
|
|
2264
|
-
"name": "label",
|
|
2265
|
-
"description": "Specify the text for the label",
|
|
2266
|
-
"values": []
|
|
2267
|
-
},
|
|
2268
|
-
{
|
|
2269
|
-
"name": "error",
|
|
2270
|
-
"description": "Specify error text and display error state of a RadioButton",
|
|
2271
|
-
"values": []
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "readOnly",
|
|
2275
|
-
"description": "Specify if RadioButton displays in a read-only state",
|
|
2276
|
-
"values": []
|
|
2277
|
-
},
|
|
2278
|
-
{
|
|
2279
|
-
"name": "disabled",
|
|
2280
|
-
"description": "Specify if RadioButton displays in a disabled state",
|
|
2281
|
-
"values": []
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
"name": "theme",
|
|
2285
|
-
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2286
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2287
|
-
},
|
|
2288
|
-
{
|
|
2289
|
-
"name": "value",
|
|
2290
|
-
"description": "The value attribute for the input element",
|
|
2291
|
-
"values": []
|
|
2292
|
-
},
|
|
2293
|
-
{
|
|
2294
|
-
"name": "checked",
|
|
2295
|
-
"description": "The checked attribute for the input element",
|
|
2296
|
-
"values": []
|
|
2297
|
-
},
|
|
2298
|
-
{
|
|
2299
|
-
"name": "onKeyDown",
|
|
2300
|
-
"description": "A user-defined function to handle keydown events",
|
|
2301
|
-
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2302
|
-
}
|
|
2303
|
-
],
|
|
2304
|
-
"references": [
|
|
2305
|
-
{
|
|
2306
|
-
"name": "Storybook",
|
|
2307
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2308
|
-
}
|
|
2309
|
-
]
|
|
2310
|
-
},
|
|
2311
2214
|
{
|
|
2312
2215
|
"name": "bm-native-select",
|
|
2313
2216
|
"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",
|
|
@@ -2373,6 +2276,51 @@
|
|
|
2373
2276
|
}
|
|
2374
2277
|
]
|
|
2375
2278
|
},
|
|
2279
|
+
{
|
|
2280
|
+
"name": "bm-form",
|
|
2281
|
+
"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",
|
|
2282
|
+
"attributes": [
|
|
2283
|
+
{
|
|
2284
|
+
"name": "validationMode",
|
|
2285
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
2286
|
+
"values": [
|
|
2287
|
+
{ "name": "onChange" },
|
|
2288
|
+
{ "name": "onBlur" },
|
|
2289
|
+
{ "name": "onSubmit" }
|
|
2290
|
+
]
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"name": "initialValues",
|
|
2294
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
2295
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"name": "required",
|
|
2299
|
+
"description": "Specify if input is a required",
|
|
2300
|
+
"values": []
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"name": "disabled",
|
|
2304
|
+
"description": "Specify if input is a disabled",
|
|
2305
|
+
"values": []
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"name": "readOnly",
|
|
2309
|
+
"description": "Specify if input is a read only",
|
|
2310
|
+
"values": []
|
|
2311
|
+
},
|
|
2312
|
+
{ "name": "action", "values": [] },
|
|
2313
|
+
{ "name": "method", "values": [] },
|
|
2314
|
+
{ "name": "target", "values": [] },
|
|
2315
|
+
{ "name": "enctype", "values": [] }
|
|
2316
|
+
],
|
|
2317
|
+
"references": [
|
|
2318
|
+
{
|
|
2319
|
+
"name": "Storybook",
|
|
2320
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2321
|
+
}
|
|
2322
|
+
]
|
|
2323
|
+
},
|
|
2376
2324
|
{
|
|
2377
2325
|
"name": "bm-switch",
|
|
2378
2326
|
"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.",
|
|
@@ -2506,6 +2454,58 @@
|
|
|
2506
2454
|
}
|
|
2507
2455
|
]
|
|
2508
2456
|
},
|
|
2457
|
+
{
|
|
2458
|
+
"name": "bm-radio-button",
|
|
2459
|
+
"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",
|
|
2460
|
+
"attributes": [
|
|
2461
|
+
{
|
|
2462
|
+
"name": "label",
|
|
2463
|
+
"description": "Specify the text for the label",
|
|
2464
|
+
"values": []
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
"name": "error",
|
|
2468
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2469
|
+
"values": []
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
"name": "readOnly",
|
|
2473
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2474
|
+
"values": []
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"name": "disabled",
|
|
2478
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2479
|
+
"values": []
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"name": "theme",
|
|
2483
|
+
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2484
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"name": "value",
|
|
2488
|
+
"description": "The value attribute for the input element",
|
|
2489
|
+
"values": []
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"name": "checked",
|
|
2493
|
+
"description": "The checked attribute for the input element",
|
|
2494
|
+
"values": []
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"name": "onKeyDown",
|
|
2498
|
+
"description": "A user-defined function to handle keydown events",
|
|
2499
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2500
|
+
}
|
|
2501
|
+
],
|
|
2502
|
+
"references": [
|
|
2503
|
+
{
|
|
2504
|
+
"name": "Storybook",
|
|
2505
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2506
|
+
}
|
|
2507
|
+
]
|
|
2508
|
+
},
|
|
2509
2509
|
{
|
|
2510
2510
|
"name": "bm-checkbox-group",
|
|
2511
2511
|
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
@@ -2576,8 +2576,8 @@
|
|
|
2576
2576
|
]
|
|
2577
2577
|
},
|
|
2578
2578
|
{
|
|
2579
|
-
"name": "bm-
|
|
2580
|
-
"description": "
|
|
2579
|
+
"name": "bm-switch-group",
|
|
2580
|
+
"description": "`bm-switch-group`\n---\n\n\n### **Slots:**\n - **label** - Slot for the label of the SwitchGroup\n- **helperText** - Slot for the helper text of the SwitchGroup",
|
|
2581
2581
|
"attributes": [
|
|
2582
2582
|
{
|
|
2583
2583
|
"name": "theme",
|
|
@@ -2640,13 +2640,13 @@
|
|
|
2640
2640
|
"references": [
|
|
2641
2641
|
{
|
|
2642
2642
|
"name": "Storybook",
|
|
2643
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2643
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2644
2644
|
}
|
|
2645
2645
|
]
|
|
2646
2646
|
},
|
|
2647
2647
|
{
|
|
2648
|
-
"name": "bm-
|
|
2649
|
-
"description": "
|
|
2648
|
+
"name": "bm-radio-button-group",
|
|
2649
|
+
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
2650
2650
|
"attributes": [
|
|
2651
2651
|
{
|
|
2652
2652
|
"name": "theme",
|
|
@@ -2709,7 +2709,7 @@
|
|
|
2709
2709
|
"references": [
|
|
2710
2710
|
{
|
|
2711
2711
|
"name": "Storybook",
|
|
2712
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2712
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2713
2713
|
}
|
|
2714
2714
|
]
|
|
2715
2715
|
}
|