@viasat/beam-web-components 2.28.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 +1402 -1402
- package/package.json +6 -6
- package/vscode.html-custom-data.json +123 -123
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",
|
|
@@ -159,6 +159,49 @@
|
|
|
159
159
|
}
|
|
160
160
|
]
|
|
161
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": [
|
|
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
|
+
},
|
|
162
205
|
{
|
|
163
206
|
"name": "bm-alert",
|
|
164
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",
|
|
@@ -232,49 +275,6 @@
|
|
|
232
275
|
}
|
|
233
276
|
]
|
|
234
277
|
},
|
|
235
|
-
{
|
|
236
|
-
"name": "bm-badge",
|
|
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",
|
|
238
|
-
"attributes": [
|
|
239
|
-
{
|
|
240
|
-
"name": "appearance",
|
|
241
|
-
"description": "Specify the appearance of the Badge",
|
|
242
|
-
"values": [
|
|
243
|
-
{ "name": "infoPrimary" },
|
|
244
|
-
{ "name": "infoSecondary" },
|
|
245
|
-
{ "name": "positive" },
|
|
246
|
-
{ "name": "warning" },
|
|
247
|
-
{ "name": "negative" }
|
|
248
|
-
]
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"name": "theme",
|
|
252
|
-
"description": "Theme of the Badge",
|
|
253
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "size",
|
|
257
|
-
"description": "Specify the size of the Badge",
|
|
258
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"name": "emphasis",
|
|
262
|
-
"description": "Specify the emphasis of the Badge",
|
|
263
|
-
"values": [
|
|
264
|
-
{ "name": "strong" },
|
|
265
|
-
{ "name": "medium" },
|
|
266
|
-
{ "name": "subtle" }
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
270
|
-
],
|
|
271
|
-
"references": [
|
|
272
|
-
{
|
|
273
|
-
"name": "Storybook",
|
|
274
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
275
|
-
}
|
|
276
|
-
]
|
|
277
|
-
},
|
|
278
278
|
{
|
|
279
279
|
"name": "bm-badge-dot",
|
|
280
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",
|
|
@@ -2211,51 +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
2214
|
{
|
|
2260
2215
|
"name": "bm-native-select",
|
|
2261
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",
|
|
@@ -2322,54 +2277,47 @@
|
|
|
2322
2277
|
]
|
|
2323
2278
|
},
|
|
2324
2279
|
{
|
|
2325
|
-
"name": "bm-
|
|
2326
|
-
"description": "`bm-
|
|
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",
|
|
2327
2282
|
"attributes": [
|
|
2328
2283
|
{
|
|
2329
|
-
"name": "
|
|
2330
|
-
"description": "Specify
|
|
2331
|
-
"values": [
|
|
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
|
+
]
|
|
2332
2291
|
},
|
|
2333
2292
|
{
|
|
2334
|
-
"name": "
|
|
2335
|
-
"description": "Specify
|
|
2336
|
-
"values": []
|
|
2293
|
+
"name": "initialValues",
|
|
2294
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
2295
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2337
2296
|
},
|
|
2338
2297
|
{
|
|
2339
|
-
"name": "
|
|
2340
|
-
"description": "Specify if
|
|
2298
|
+
"name": "required",
|
|
2299
|
+
"description": "Specify if input is a required",
|
|
2341
2300
|
"values": []
|
|
2342
2301
|
},
|
|
2343
2302
|
{
|
|
2344
2303
|
"name": "disabled",
|
|
2345
|
-
"description": "Specify if
|
|
2346
|
-
"values": []
|
|
2347
|
-
},
|
|
2348
|
-
{
|
|
2349
|
-
"name": "theme",
|
|
2350
|
-
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2351
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2352
|
-
},
|
|
2353
|
-
{
|
|
2354
|
-
"name": "value",
|
|
2355
|
-
"description": "The value attribute for the input element",
|
|
2304
|
+
"description": "Specify if input is a disabled",
|
|
2356
2305
|
"values": []
|
|
2357
2306
|
},
|
|
2358
2307
|
{
|
|
2359
|
-
"name": "
|
|
2360
|
-
"description": "
|
|
2308
|
+
"name": "readOnly",
|
|
2309
|
+
"description": "Specify if input is a read only",
|
|
2361
2310
|
"values": []
|
|
2362
2311
|
},
|
|
2363
|
-
{
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
}
|
|
2312
|
+
{ "name": "action", "values": [] },
|
|
2313
|
+
{ "name": "method", "values": [] },
|
|
2314
|
+
{ "name": "target", "values": [] },
|
|
2315
|
+
{ "name": "enctype", "values": [] }
|
|
2368
2316
|
],
|
|
2369
2317
|
"references": [
|
|
2370
2318
|
{
|
|
2371
2319
|
"name": "Storybook",
|
|
2372
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2320
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2373
2321
|
}
|
|
2374
2322
|
]
|
|
2375
2323
|
},
|
|
@@ -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
|
}
|