@viasat/beam-web-components 2.29.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viasat/beam-web-components",
3
- "version": "2.29.0",
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.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",
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,110 +62,60 @@
62
62
  ]
63
63
  },
64
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",
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 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",
70
+ "description": "Specify the appearance of the Badge",
87
71
  "values": [
88
- { "name": "xs" },
89
- { "name": "sm" },
90
- { "name": "md" },
91
- { "name": "lg" },
92
- { "name": "xl" }
72
+ { "name": "infoPrimary" },
73
+ { "name": "infoSecondary" },
74
+ { "name": "positive" },
75
+ { "name": "warning" },
76
+ { "name": "negative" }
93
77
  ]
94
78
  },
95
79
  {
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": []
80
+ "name": "theme",
81
+ "description": "Theme of the Badge",
82
+ "values": [{ "name": "light" }, { "name": "dark" }]
132
83
  },
133
84
  {
134
- "name": "maxCount",
135
- "description": "Specify the max number of avatars displayed in the group.",
136
- "values": []
85
+ "name": "size",
86
+ "description": "Specify the size of the Badge",
87
+ "values": [{ "name": "sm" }, { "name": "md" }]
137
88
  },
138
89
  {
139
- "name": "size",
140
- "description": "Specify the size of all Avatars",
90
+ "name": "emphasis",
91
+ "description": "Specify the emphasis of the Badge",
141
92
  "values": [
142
- { "name": "xs" },
143
- { "name": "sm" },
144
- { "name": "md" },
145
- { "name": "lg" },
146
- { "name": "xl" }
93
+ { "name": "strong" },
94
+ { "name": "medium" },
95
+ { "name": "subtle" }
147
96
  ]
148
97
  },
149
- {
150
- "name": "layout",
151
- "description": "Specify the kind of the group.",
152
- "values": [{ "name": "stacked" }, { "name": "spaced" }]
153
- }
98
+ { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
154
99
  ],
155
100
  "references": [
156
101
  {
157
102
  "name": "Storybook",
158
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
103
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
159
104
  }
160
105
  ]
161
106
  },
162
107
  {
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",
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",
165
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
+ },
166
116
  {
167
117
  "name": "appearance",
168
- "description": "Specify the appearance of the Badge",
118
+ "description": "Specify the appearance of the BadgeDot",
169
119
  "values": [
170
120
  { "name": "infoPrimary" },
171
121
  { "name": "infoSecondary" },
@@ -174,31 +124,21 @@
174
124
  { "name": "negative" }
175
125
  ]
176
126
  },
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
127
  {
188
128
  "name": "emphasis",
189
- "description": "Specify the emphasis of the Badge",
190
- "values": [
191
- { "name": "strong" },
192
- { "name": "medium" },
193
- { "name": "subtle" }
194
- ]
129
+ "description": "Specify the emphasis of the BadgeDot",
130
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
195
131
  },
196
- { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
132
+ {
133
+ "name": "overrideDotColor",
134
+ "description": "Overrides default dot color",
135
+ "values": []
136
+ }
197
137
  ],
198
138
  "references": [
199
139
  {
200
140
  "name": "Storybook",
201
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
141
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
202
142
  }
203
143
  ]
204
144
  },
@@ -276,40 +216,100 @@
276
216
  ]
277
217
  },
278
218
  {
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",
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",
281
221
  "attributes": [
282
222
  {
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" }]
223
+ "name": "appearance",
224
+ "description": "Specify the appearance of the Avatar",
225
+ "values": [{ "name": "accent" }, { "name": "neutral" }]
286
226
  },
287
227
  {
288
- "name": "appearance",
289
- "description": "Specify the appearance of the BadgeDot",
228
+ "name": "name",
229
+ "description": "Specify a name to display initials in the Avatar",
230
+ "values": []
231
+ },
232
+ {
233
+ "name": "src",
234
+ "description": "Pass an image to the Avatar",
235
+ "values": []
236
+ },
237
+ { "name": "alt", "description": "Specify alt for image", "values": [] },
238
+ {
239
+ "name": "size",
240
+ "description": "Specify the size of the Avatar",
290
241
  "values": [
291
- { "name": "infoPrimary" },
292
- { "name": "infoSecondary" },
293
- { "name": "positive" },
294
- { "name": "warning" },
295
- { "name": "negative" }
242
+ { "name": "xs" },
243
+ { "name": "sm" },
244
+ { "name": "md" },
245
+ { "name": "lg" },
246
+ { "name": "xl" }
296
247
  ]
297
248
  },
298
249
  {
299
- "name": "emphasis",
300
- "description": "Specify the emphasis of the BadgeDot",
301
- "values": [{ "name": "strong" }, { "name": "subtle" }]
250
+ "name": "disabled",
251
+ "description": "Specify if the Avatar is disabled",
252
+ "values": []
302
253
  },
303
254
  {
304
- "name": "overrideDotColor",
305
- "description": "Overrides default dot color",
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",
306
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
+ ],
271
+ "references": [
272
+ {
273
+ "name": "Storybook",
274
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
275
+ }
276
+ ]
277
+ },
278
+ {
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
+ "attributes": [
282
+ {
283
+ "name": "wrapping",
284
+ "description": "Specify if the AvatarGroup wraps",
285
+ "values": []
286
+ },
287
+ {
288
+ "name": "maxCount",
289
+ "description": "Specify the max number of avatars displayed in the group.",
290
+ "values": []
291
+ },
292
+ {
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
+ },
303
+ {
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-badgedot"
312
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
313
313
  }
314
314
  ]
315
315
  },
@@ -2321,6 +2321,58 @@
2321
2321
  }
2322
2322
  ]
2323
2323
  },
2324
+ {
2325
+ "name": "bm-radio-button",
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",
2327
+ "attributes": [
2328
+ {
2329
+ "name": "label",
2330
+ "description": "Specify the text for the label",
2331
+ "values": []
2332
+ },
2333
+ {
2334
+ "name": "error",
2335
+ "description": "Specify error text and display error state of a RadioButton",
2336
+ "values": []
2337
+ },
2338
+ {
2339
+ "name": "readOnly",
2340
+ "description": "Specify if RadioButton displays in a read-only state",
2341
+ "values": []
2342
+ },
2343
+ {
2344
+ "name": "disabled",
2345
+ "description": "Specify if RadioButton displays in a disabled state",
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",
2356
+ "values": []
2357
+ },
2358
+ {
2359
+ "name": "checked",
2360
+ "description": "The checked attribute for the input element",
2361
+ "values": []
2362
+ },
2363
+ {
2364
+ "name": "onKeyDown",
2365
+ "description": "A user-defined function to handle keydown events",
2366
+ "values": [{ "name": "(event: KeyboardEvent) => void" }]
2367
+ }
2368
+ ],
2369
+ "references": [
2370
+ {
2371
+ "name": "Storybook",
2372
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2373
+ }
2374
+ ]
2375
+ },
2324
2376
  {
2325
2377
  "name": "bm-switch",
2326
2378
  "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.",
@@ -2454,58 +2506,6 @@
2454
2506
  }
2455
2507
  ]
2456
2508
  },
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-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",
2579
+ "name": "bm-radio-button-group",
2580
+ "description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
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-switch"
2643
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2644
2644
  }
2645
2645
  ]
2646
2646
  },
2647
2647
  {
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",
2648
+ "name": "bm-switch-group",
2649
+ "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",
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-radiobutton"
2712
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2713
2713
  }
2714
2714
  ]
2715
2715
  }