@viasat/beam-web-components 2.11.0 → 2.13.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 +1369 -1369
- package/package.json +6 -6
- package/vscode.html-custom-data.json +208 -208
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.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.13.0",
|
|
68
|
+
"@viasat/beam-shared": "2.13.0",
|
|
69
|
+
"@viasat/beam-styles": "2.13.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.13.0",
|
|
71
|
+
"@viasat/beam-icons": "2.13.0",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -61,6 +61,91 @@
|
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
+
{
|
|
65
|
+
"name": "bm-badge",
|
|
66
|
+
"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",
|
|
67
|
+
"attributes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "appearance",
|
|
70
|
+
"description": "Specify the appearance of the Badge",
|
|
71
|
+
"values": [
|
|
72
|
+
{ "name": "infoPrimary" },
|
|
73
|
+
{ "name": "infoSecondary" },
|
|
74
|
+
{ "name": "positive" },
|
|
75
|
+
{ "name": "warning" },
|
|
76
|
+
{ "name": "negative" }
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "theme",
|
|
81
|
+
"description": "Theme of the Badge",
|
|
82
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Badge",
|
|
87
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "emphasis",
|
|
91
|
+
"description": "Specify the emphasis of the Badge",
|
|
92
|
+
"values": [
|
|
93
|
+
{ "name": "strong" },
|
|
94
|
+
{ "name": "medium" },
|
|
95
|
+
{ "name": "subtle" }
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
99
|
+
],
|
|
100
|
+
"references": [
|
|
101
|
+
{
|
|
102
|
+
"name": "Storybook",
|
|
103
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "bm-badge-dot",
|
|
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",
|
|
110
|
+
"attributes": [
|
|
111
|
+
{
|
|
112
|
+
"name": "theme",
|
|
113
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
114
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "appearance",
|
|
118
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
119
|
+
"values": [
|
|
120
|
+
{ "name": "primary" },
|
|
121
|
+
{ "name": "secondary" },
|
|
122
|
+
{ "name": "infoPrimary" },
|
|
123
|
+
{ "name": "infoSecondary" },
|
|
124
|
+
{ "name": "positive" },
|
|
125
|
+
{ "name": "warning" },
|
|
126
|
+
{ "name": "negative" },
|
|
127
|
+
{ "name": "inverse" },
|
|
128
|
+
{ "name": "secondaryInverse" }
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "emphasis",
|
|
133
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
134
|
+
"values": [{ "name": "Emphasis" }]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "overrideDotColor",
|
|
138
|
+
"description": "Overrides default dot color",
|
|
139
|
+
"values": []
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"references": [
|
|
143
|
+
{
|
|
144
|
+
"name": "Storybook",
|
|
145
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
},
|
|
64
149
|
{
|
|
65
150
|
"name": "bm-avatar",
|
|
66
151
|
"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",
|
|
@@ -159,91 +244,6 @@
|
|
|
159
244
|
}
|
|
160
245
|
]
|
|
161
246
|
},
|
|
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": [
|
|
166
|
-
{
|
|
167
|
-
"name": "appearance",
|
|
168
|
-
"description": "Specify the appearance of the Badge",
|
|
169
|
-
"values": [
|
|
170
|
-
{ "name": "infoPrimary" },
|
|
171
|
-
{ "name": "infoSecondary" },
|
|
172
|
-
{ "name": "positive" },
|
|
173
|
-
{ "name": "warning" },
|
|
174
|
-
{ "name": "negative" }
|
|
175
|
-
]
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"name": "theme",
|
|
179
|
-
"description": "Theme of the Badge",
|
|
180
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
181
|
-
},
|
|
182
|
-
{
|
|
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": [] }
|
|
197
|
-
],
|
|
198
|
-
"references": [
|
|
199
|
-
{
|
|
200
|
-
"name": "Storybook",
|
|
201
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"name": "bm-badge-dot",
|
|
207
|
-
"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",
|
|
208
|
-
"attributes": [
|
|
209
|
-
{
|
|
210
|
-
"name": "theme",
|
|
211
|
-
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
212
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "appearance",
|
|
216
|
-
"description": "Specify the appearance of the BadgeDot",
|
|
217
|
-
"values": [
|
|
218
|
-
{ "name": "primary" },
|
|
219
|
-
{ "name": "secondary" },
|
|
220
|
-
{ "name": "infoPrimary" },
|
|
221
|
-
{ "name": "infoSecondary" },
|
|
222
|
-
{ "name": "positive" },
|
|
223
|
-
{ "name": "warning" },
|
|
224
|
-
{ "name": "negative" },
|
|
225
|
-
{ "name": "inverse" },
|
|
226
|
-
{ "name": "secondaryInverse" }
|
|
227
|
-
]
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"name": "emphasis",
|
|
231
|
-
"description": "Specify the emphasis of the BadgeDot",
|
|
232
|
-
"values": [{ "name": "Emphasis" }]
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "overrideDotColor",
|
|
236
|
-
"description": "Overrides default dot color",
|
|
237
|
-
"values": []
|
|
238
|
-
}
|
|
239
|
-
],
|
|
240
|
-
"references": [
|
|
241
|
-
{
|
|
242
|
-
"name": "Storybook",
|
|
243
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
244
|
-
}
|
|
245
|
-
]
|
|
246
|
-
},
|
|
247
247
|
{
|
|
248
248
|
"name": "bm-alert",
|
|
249
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",
|
|
@@ -849,6 +849,34 @@
|
|
|
849
849
|
}
|
|
850
850
|
]
|
|
851
851
|
},
|
|
852
|
+
{
|
|
853
|
+
"name": "bm-close-button",
|
|
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",
|
|
855
|
+
"attributes": [
|
|
856
|
+
{
|
|
857
|
+
"name": "size",
|
|
858
|
+
"description": "Specify the size of the CloseButton",
|
|
859
|
+
"values": [
|
|
860
|
+
{ "name": "xs" },
|
|
861
|
+
{ "name": "sm" },
|
|
862
|
+
{ "name": "md" },
|
|
863
|
+
{ "name": "lg" },
|
|
864
|
+
{ "name": "xl" }
|
|
865
|
+
]
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "disabled",
|
|
869
|
+
"description": "Specify if the CloseButton is disabled",
|
|
870
|
+
"values": []
|
|
871
|
+
}
|
|
872
|
+
],
|
|
873
|
+
"references": [
|
|
874
|
+
{
|
|
875
|
+
"name": "Storybook",
|
|
876
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-closebutton"
|
|
877
|
+
}
|
|
878
|
+
]
|
|
879
|
+
},
|
|
852
880
|
{
|
|
853
881
|
"name": "bm-divider",
|
|
854
882
|
"description": "`bm-divider`\n\n### Attributes:\n- **orientation** - Specify the direction of the Divider\n- **borderColor** - Specify the border color of the divider line\n- **borderWidth** - Specify the width of the divider line\n- **borderStyle** - Specify the style of the divider line\n- **alignContent** - Align content to the divider line\n- **length** \n- **inset** - Add equal padding to each side of the Divider\n---\n\n\n### **Slots:**\n - **default** - Add text to the Divider\n- **icon** - Add an icon to the Divider",
|
|
@@ -918,34 +946,6 @@
|
|
|
918
946
|
}
|
|
919
947
|
]
|
|
920
948
|
},
|
|
921
|
-
{
|
|
922
|
-
"name": "bm-close-button",
|
|
923
|
-
"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",
|
|
924
|
-
"attributes": [
|
|
925
|
-
{
|
|
926
|
-
"name": "size",
|
|
927
|
-
"description": "Specify the size of the CloseButton",
|
|
928
|
-
"values": [
|
|
929
|
-
{ "name": "xs" },
|
|
930
|
-
{ "name": "sm" },
|
|
931
|
-
{ "name": "md" },
|
|
932
|
-
{ "name": "lg" },
|
|
933
|
-
{ "name": "xl" }
|
|
934
|
-
]
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
"name": "disabled",
|
|
938
|
-
"description": "Specify if the CloseButton is disabled",
|
|
939
|
-
"values": []
|
|
940
|
-
}
|
|
941
|
-
],
|
|
942
|
-
"references": [
|
|
943
|
-
{
|
|
944
|
-
"name": "Storybook",
|
|
945
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-closebutton"
|
|
946
|
-
}
|
|
947
|
-
]
|
|
948
|
-
},
|
|
949
949
|
{
|
|
950
950
|
"name": "bm-empty-state",
|
|
951
951
|
"description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **icon** - Specify an icon for EmptyState\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Add actions to EmptyState",
|
|
@@ -1806,6 +1806,43 @@
|
|
|
1806
1806
|
}
|
|
1807
1807
|
]
|
|
1808
1808
|
},
|
|
1809
|
+
{
|
|
1810
|
+
"name": "bm-label",
|
|
1811
|
+
"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",
|
|
1812
|
+
"attributes": [
|
|
1813
|
+
{
|
|
1814
|
+
"name": "disabled",
|
|
1815
|
+
"description": "Specify if the Label displays disabled",
|
|
1816
|
+
"values": []
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"name": "required",
|
|
1820
|
+
"description": "Specify if the Label displays as required",
|
|
1821
|
+
"values": []
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"name": "text",
|
|
1825
|
+
"description": "Specify the text for Label",
|
|
1826
|
+
"values": [{ "name": "Optional<string>" }]
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"name": "optional",
|
|
1830
|
+
"description": "Specify the text for Label",
|
|
1831
|
+
"values": [{ "name": "Optional<string>" }]
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"name": "theme",
|
|
1835
|
+
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
1836
|
+
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
1837
|
+
}
|
|
1838
|
+
],
|
|
1839
|
+
"references": [
|
|
1840
|
+
{
|
|
1841
|
+
"name": "Storybook",
|
|
1842
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
1843
|
+
}
|
|
1844
|
+
]
|
|
1845
|
+
},
|
|
1809
1846
|
{
|
|
1810
1847
|
"name": "bm-file-upload-button",
|
|
1811
1848
|
"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",
|
|
@@ -2184,58 +2221,6 @@
|
|
|
2184
2221
|
}
|
|
2185
2222
|
]
|
|
2186
2223
|
},
|
|
2187
|
-
{
|
|
2188
|
-
"name": "bm-radio-button",
|
|
2189
|
-
"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",
|
|
2190
|
-
"attributes": [
|
|
2191
|
-
{
|
|
2192
|
-
"name": "label",
|
|
2193
|
-
"description": "Specify the text for the label",
|
|
2194
|
-
"values": []
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
"name": "error",
|
|
2198
|
-
"description": "Specify error text and display error state of a RadioButton",
|
|
2199
|
-
"values": []
|
|
2200
|
-
},
|
|
2201
|
-
{
|
|
2202
|
-
"name": "readOnly",
|
|
2203
|
-
"description": "Specify if RadioButton displays in a read-only state",
|
|
2204
|
-
"values": []
|
|
2205
|
-
},
|
|
2206
|
-
{
|
|
2207
|
-
"name": "disabled",
|
|
2208
|
-
"description": "Specify if RadioButton displays in a disabled state",
|
|
2209
|
-
"values": []
|
|
2210
|
-
},
|
|
2211
|
-
{
|
|
2212
|
-
"name": "theme",
|
|
2213
|
-
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2214
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2215
|
-
},
|
|
2216
|
-
{
|
|
2217
|
-
"name": "value",
|
|
2218
|
-
"description": "The value attribute for the input element",
|
|
2219
|
-
"values": []
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"name": "checked",
|
|
2223
|
-
"description": "The checked attribute for the input element",
|
|
2224
|
-
"values": []
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
"name": "onKeyDown",
|
|
2228
|
-
"description": "A user-defined function to handle keydown events",
|
|
2229
|
-
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2230
|
-
}
|
|
2231
|
-
],
|
|
2232
|
-
"references": [
|
|
2233
|
-
{
|
|
2234
|
-
"name": "Storybook",
|
|
2235
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2236
|
-
}
|
|
2237
|
-
]
|
|
2238
|
-
},
|
|
2239
2224
|
{
|
|
2240
2225
|
"name": "bm-switch",
|
|
2241
2226
|
"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.",
|
|
@@ -2372,43 +2357,6 @@
|
|
|
2372
2357
|
}
|
|
2373
2358
|
]
|
|
2374
2359
|
},
|
|
2375
|
-
{
|
|
2376
|
-
"name": "bm-label",
|
|
2377
|
-
"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",
|
|
2378
|
-
"attributes": [
|
|
2379
|
-
{
|
|
2380
|
-
"name": "disabled",
|
|
2381
|
-
"description": "Specify if the Label displays disabled",
|
|
2382
|
-
"values": []
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"name": "required",
|
|
2386
|
-
"description": "Specify if the Label displays as required",
|
|
2387
|
-
"values": []
|
|
2388
|
-
},
|
|
2389
|
-
{
|
|
2390
|
-
"name": "text",
|
|
2391
|
-
"description": "Specify the text for Label",
|
|
2392
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2393
|
-
},
|
|
2394
|
-
{
|
|
2395
|
-
"name": "optional",
|
|
2396
|
-
"description": "Specify the text for Label",
|
|
2397
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2398
|
-
},
|
|
2399
|
-
{
|
|
2400
|
-
"name": "theme",
|
|
2401
|
-
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
2402
|
-
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2403
|
-
}
|
|
2404
|
-
],
|
|
2405
|
-
"references": [
|
|
2406
|
-
{
|
|
2407
|
-
"name": "Storybook",
|
|
2408
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
2409
|
-
}
|
|
2410
|
-
]
|
|
2411
|
-
},
|
|
2412
2360
|
{
|
|
2413
2361
|
"name": "bm-text-field",
|
|
2414
2362
|
"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",
|
|
@@ -2484,6 +2432,58 @@
|
|
|
2484
2432
|
}
|
|
2485
2433
|
]
|
|
2486
2434
|
},
|
|
2435
|
+
{
|
|
2436
|
+
"name": "bm-radio-button",
|
|
2437
|
+
"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",
|
|
2438
|
+
"attributes": [
|
|
2439
|
+
{
|
|
2440
|
+
"name": "label",
|
|
2441
|
+
"description": "Specify the text for the label",
|
|
2442
|
+
"values": []
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
"name": "error",
|
|
2446
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2447
|
+
"values": []
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"name": "readOnly",
|
|
2451
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2452
|
+
"values": []
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"name": "disabled",
|
|
2456
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2457
|
+
"values": []
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"name": "theme",
|
|
2461
|
+
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2462
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"name": "value",
|
|
2466
|
+
"description": "The value attribute for the input element",
|
|
2467
|
+
"values": []
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"name": "checked",
|
|
2471
|
+
"description": "The checked attribute for the input element",
|
|
2472
|
+
"values": []
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"name": "onKeyDown",
|
|
2476
|
+
"description": "A user-defined function to handle keydown events",
|
|
2477
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2478
|
+
}
|
|
2479
|
+
],
|
|
2480
|
+
"references": [
|
|
2481
|
+
{
|
|
2482
|
+
"name": "Storybook",
|
|
2483
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2484
|
+
}
|
|
2485
|
+
]
|
|
2486
|
+
},
|
|
2487
2487
|
{
|
|
2488
2488
|
"name": "bm-checkbox-group",
|
|
2489
2489
|
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
@@ -2557,8 +2557,8 @@
|
|
|
2557
2557
|
]
|
|
2558
2558
|
},
|
|
2559
2559
|
{
|
|
2560
|
-
"name": "bm-
|
|
2561
|
-
"description": "
|
|
2560
|
+
"name": "bm-switch-group",
|
|
2561
|
+
"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",
|
|
2562
2562
|
"attributes": [
|
|
2563
2563
|
{
|
|
2564
2564
|
"name": "theme",
|
|
@@ -2624,13 +2624,13 @@
|
|
|
2624
2624
|
"references": [
|
|
2625
2625
|
{
|
|
2626
2626
|
"name": "Storybook",
|
|
2627
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2627
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2628
2628
|
}
|
|
2629
2629
|
]
|
|
2630
2630
|
},
|
|
2631
2631
|
{
|
|
2632
|
-
"name": "bm-
|
|
2633
|
-
"description": "
|
|
2632
|
+
"name": "bm-radio-button-group",
|
|
2633
|
+
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
2634
2634
|
"attributes": [
|
|
2635
2635
|
{
|
|
2636
2636
|
"name": "theme",
|
|
@@ -2696,7 +2696,7 @@
|
|
|
2696
2696
|
"references": [
|
|
2697
2697
|
{
|
|
2698
2698
|
"name": "Storybook",
|
|
2699
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2699
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2700
2700
|
}
|
|
2701
2701
|
]
|
|
2702
2702
|
}
|