@viasat/beam-web-components 2.28.0 → 2.29.1
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 +824 -824
- package/package.json +6 -6
- package/vscode.html-custom-data.json +150 -150
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.29.1",
|
|
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.1",
|
|
68
|
+
"@viasat/beam-shared": "2.29.1",
|
|
69
|
+
"@viasat/beam-styles": "2.29.1",
|
|
70
|
+
"@viasat/beam-tokens": "2.29.1",
|
|
71
|
+
"@viasat/beam-icons": "2.29.1",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -62,100 +62,83 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": "bm-
|
|
66
|
-
"description": "`bm-
|
|
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
67
|
"attributes": [
|
|
68
68
|
{
|
|
69
69
|
"name": "appearance",
|
|
70
|
-
"description": "Specify the appearance of the
|
|
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",
|
|
70
|
+
"description": "Specify the appearance of the Badge",
|
|
87
71
|
"values": [
|
|
88
|
-
{ "name": "
|
|
89
|
-
{ "name": "
|
|
90
|
-
{ "name": "
|
|
91
|
-
{ "name": "
|
|
92
|
-
{ "name": "
|
|
72
|
+
{ "name": "infoPrimary" },
|
|
73
|
+
{ "name": "infoSecondary" },
|
|
74
|
+
{ "name": "positive" },
|
|
75
|
+
{ "name": "warning" },
|
|
76
|
+
{ "name": "negative" }
|
|
93
77
|
]
|
|
94
78
|
},
|
|
95
79
|
{
|
|
96
|
-
"name": "
|
|
97
|
-
"description": "
|
|
98
|
-
"values": []
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "shape",
|
|
102
|
-
"description": "Specify the shape of the Avatar",
|
|
103
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
80
|
+
"name": "theme",
|
|
81
|
+
"description": "Theme of the Badge",
|
|
82
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
104
83
|
},
|
|
105
84
|
{
|
|
106
|
-
"name": "
|
|
107
|
-
"description": "
|
|
108
|
-
"values": []
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Badge",
|
|
87
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
109
88
|
},
|
|
110
89
|
{
|
|
111
|
-
"name": "
|
|
112
|
-
"description": "
|
|
113
|
-
"values": [
|
|
90
|
+
"name": "emphasis",
|
|
91
|
+
"description": "Specify the emphasis of the Badge",
|
|
92
|
+
"values": [
|
|
93
|
+
{ "name": "strong" },
|
|
94
|
+
{ "name": "medium" },
|
|
95
|
+
{ "name": "subtle" }
|
|
96
|
+
]
|
|
114
97
|
},
|
|
115
|
-
{ "name": "
|
|
98
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
116
99
|
],
|
|
117
100
|
"references": [
|
|
118
101
|
{
|
|
119
102
|
"name": "Storybook",
|
|
120
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
103
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
121
104
|
}
|
|
122
105
|
]
|
|
123
106
|
},
|
|
124
107
|
{
|
|
125
|
-
"name": "bm-
|
|
126
|
-
"description": "`bm-
|
|
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",
|
|
127
110
|
"attributes": [
|
|
128
111
|
{
|
|
129
|
-
"name": "
|
|
130
|
-
"description": "Specify
|
|
131
|
-
"values": []
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "maxCount",
|
|
135
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
136
|
-
"values": []
|
|
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" }]
|
|
137
115
|
},
|
|
138
116
|
{
|
|
139
|
-
"name": "
|
|
140
|
-
"description": "Specify the
|
|
117
|
+
"name": "appearance",
|
|
118
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
141
119
|
"values": [
|
|
142
|
-
{ "name": "
|
|
143
|
-
{ "name": "
|
|
144
|
-
{ "name": "
|
|
145
|
-
{ "name": "
|
|
146
|
-
{ "name": "
|
|
120
|
+
{ "name": "infoPrimary" },
|
|
121
|
+
{ "name": "infoSecondary" },
|
|
122
|
+
{ "name": "positive" },
|
|
123
|
+
{ "name": "warning" },
|
|
124
|
+
{ "name": "negative" }
|
|
147
125
|
]
|
|
148
126
|
},
|
|
149
127
|
{
|
|
150
|
-
"name": "
|
|
151
|
-
"description": "Specify the
|
|
152
|
-
"values": [{ "name": "
|
|
128
|
+
"name": "emphasis",
|
|
129
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
130
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "overrideDotColor",
|
|
134
|
+
"description": "Overrides default dot color",
|
|
135
|
+
"values": []
|
|
153
136
|
}
|
|
154
137
|
],
|
|
155
138
|
"references": [
|
|
156
139
|
{
|
|
157
140
|
"name": "Storybook",
|
|
158
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
141
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
159
142
|
}
|
|
160
143
|
]
|
|
161
144
|
},
|
|
@@ -233,83 +216,100 @@
|
|
|
233
216
|
]
|
|
234
217
|
},
|
|
235
218
|
{
|
|
236
|
-
"name": "bm-
|
|
237
|
-
"description": "`bm-
|
|
219
|
+
"name": "bm-avatar",
|
|
220
|
+
"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",
|
|
238
221
|
"attributes": [
|
|
239
222
|
{
|
|
240
223
|
"name": "appearance",
|
|
241
|
-
"description": "Specify the appearance of the
|
|
242
|
-
"values": [
|
|
243
|
-
{ "name": "infoPrimary" },
|
|
244
|
-
{ "name": "infoSecondary" },
|
|
245
|
-
{ "name": "positive" },
|
|
246
|
-
{ "name": "warning" },
|
|
247
|
-
{ "name": "negative" }
|
|
248
|
-
]
|
|
224
|
+
"description": "Specify the appearance of the Avatar",
|
|
225
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
249
226
|
},
|
|
250
227
|
{
|
|
251
|
-
"name": "
|
|
252
|
-
"description": "
|
|
253
|
-
"values": [
|
|
228
|
+
"name": "name",
|
|
229
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
230
|
+
"values": []
|
|
254
231
|
},
|
|
255
232
|
{
|
|
256
|
-
"name": "
|
|
257
|
-
"description": "
|
|
258
|
-
"values": [
|
|
233
|
+
"name": "src",
|
|
234
|
+
"description": "Pass an image to the Avatar",
|
|
235
|
+
"values": []
|
|
259
236
|
},
|
|
237
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
260
238
|
{
|
|
261
|
-
"name": "
|
|
262
|
-
"description": "Specify the
|
|
239
|
+
"name": "size",
|
|
240
|
+
"description": "Specify the size of the Avatar",
|
|
263
241
|
"values": [
|
|
264
|
-
{ "name": "
|
|
265
|
-
{ "name": "
|
|
266
|
-
{ "name": "
|
|
242
|
+
{ "name": "xs" },
|
|
243
|
+
{ "name": "sm" },
|
|
244
|
+
{ "name": "md" },
|
|
245
|
+
{ "name": "lg" },
|
|
246
|
+
{ "name": "xl" }
|
|
267
247
|
]
|
|
268
248
|
},
|
|
269
|
-
{
|
|
249
|
+
{
|
|
250
|
+
"name": "disabled",
|
|
251
|
+
"description": "Specify if the Avatar is disabled",
|
|
252
|
+
"values": []
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "shape",
|
|
256
|
+
"description": "Specify the shape of the Avatar",
|
|
257
|
+
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "isInteractive",
|
|
261
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
262
|
+
"values": []
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "isFocusable",
|
|
266
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
267
|
+
"values": []
|
|
268
|
+
},
|
|
269
|
+
{ "name": "withBorder", "values": [] }
|
|
270
270
|
],
|
|
271
271
|
"references": [
|
|
272
272
|
{
|
|
273
273
|
"name": "Storybook",
|
|
274
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
274
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
275
275
|
}
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
"name": "bm-
|
|
280
|
-
"description": "`bm-
|
|
279
|
+
"name": "bm-avatar-group",
|
|
280
|
+
"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",
|
|
281
281
|
"attributes": [
|
|
282
282
|
{
|
|
283
|
-
"name": "
|
|
284
|
-
"description": "Specify
|
|
285
|
-
"values": [
|
|
283
|
+
"name": "wrapping",
|
|
284
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
285
|
+
"values": []
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
|
-
"name": "
|
|
289
|
-
"description": "Specify the
|
|
290
|
-
"values": [
|
|
291
|
-
{ "name": "infoPrimary" },
|
|
292
|
-
{ "name": "infoSecondary" },
|
|
293
|
-
{ "name": "positive" },
|
|
294
|
-
{ "name": "warning" },
|
|
295
|
-
{ "name": "negative" }
|
|
296
|
-
]
|
|
288
|
+
"name": "maxCount",
|
|
289
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
290
|
+
"values": []
|
|
297
291
|
},
|
|
298
292
|
{
|
|
299
|
-
"name": "
|
|
300
|
-
"description": "Specify the
|
|
301
|
-
"values": [
|
|
293
|
+
"name": "size",
|
|
294
|
+
"description": "Specify the size of all Avatars",
|
|
295
|
+
"values": [
|
|
296
|
+
{ "name": "xs" },
|
|
297
|
+
{ "name": "sm" },
|
|
298
|
+
{ "name": "md" },
|
|
299
|
+
{ "name": "lg" },
|
|
300
|
+
{ "name": "xl" }
|
|
301
|
+
]
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
|
-
"name": "
|
|
305
|
-
"description": "
|
|
306
|
-
"values": []
|
|
304
|
+
"name": "layout",
|
|
305
|
+
"description": "Specify the kind of the group.",
|
|
306
|
+
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
307
307
|
}
|
|
308
308
|
],
|
|
309
309
|
"references": [
|
|
310
310
|
{
|
|
311
311
|
"name": "Storybook",
|
|
312
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
312
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
313
313
|
}
|
|
314
314
|
]
|
|
315
315
|
},
|
|
@@ -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",
|
|
@@ -2321,6 +2276,51 @@
|
|
|
2321
2276
|
}
|
|
2322
2277
|
]
|
|
2323
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
|
+
},
|
|
2324
2324
|
{
|
|
2325
2325
|
"name": "bm-radio-button",
|
|
2326
2326
|
"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",
|