@viasat/beam-web-components 2.23.0 → 2.24.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viasat/beam-web-components",
3
- "version": "2.23.0",
3
+ "version": "2.24.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.23.0",
68
- "@viasat/beam-shared": "2.23.0",
69
- "@viasat/beam-styles": "2.23.0",
70
- "@viasat/beam-tokens": "2.23.0",
71
- "@viasat/beam-icons": "2.23.0",
67
+ "@viasat/beam-fonts": "2.24.0",
68
+ "@viasat/beam-shared": "2.24.0",
69
+ "@viasat/beam-styles": "2.24.0",
70
+ "@viasat/beam-tokens": "2.24.0",
71
+ "@viasat/beam-icons": "2.24.0",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -61,6 +61,44 @@
61
61
  }
62
62
  ]
63
63
  },
64
+ {
65
+ "name": "bm-badge-dot",
66
+ "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",
67
+ "attributes": [
68
+ {
69
+ "name": "theme",
70
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
71
+ "values": [{ "name": "light" }, { "name": "dark" }]
72
+ },
73
+ {
74
+ "name": "appearance",
75
+ "description": "Specify the appearance of the BadgeDot",
76
+ "values": [
77
+ { "name": "infoPrimary" },
78
+ { "name": "infoSecondary" },
79
+ { "name": "positive" },
80
+ { "name": "warning" },
81
+ { "name": "negative" }
82
+ ]
83
+ },
84
+ {
85
+ "name": "emphasis",
86
+ "description": "Specify the emphasis of the BadgeDot",
87
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
88
+ },
89
+ {
90
+ "name": "overrideDotColor",
91
+ "description": "Overrides default dot color",
92
+ "values": []
93
+ }
94
+ ],
95
+ "references": [
96
+ {
97
+ "name": "Storybook",
98
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
99
+ }
100
+ ]
101
+ },
64
102
  {
65
103
  "name": "bm-badge",
66
104
  "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",
@@ -507,44 +545,6 @@
507
545
  }
508
546
  ]
509
547
  },
510
- {
511
- "name": "bm-badge-dot",
512
- "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",
513
- "attributes": [
514
- {
515
- "name": "theme",
516
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
517
- "values": [{ "name": "light" }, { "name": "dark" }]
518
- },
519
- {
520
- "name": "appearance",
521
- "description": "Specify the appearance of the BadgeDot",
522
- "values": [
523
- { "name": "infoPrimary" },
524
- { "name": "infoSecondary" },
525
- { "name": "positive" },
526
- { "name": "warning" },
527
- { "name": "negative" }
528
- ]
529
- },
530
- {
531
- "name": "emphasis",
532
- "description": "Specify the emphasis of the BadgeDot",
533
- "values": [{ "name": "strong" }, { "name": "subtle" }]
534
- },
535
- {
536
- "name": "overrideDotColor",
537
- "description": "Overrides default dot color",
538
- "values": []
539
- }
540
- ],
541
- "references": [
542
- {
543
- "name": "Storybook",
544
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
545
- }
546
- ]
547
- },
548
548
  {
549
549
  "name": "bm-breadcrumb",
550
550
  "description": "`bm-breadcrumb`\n\n### Attributes:\n- **wrap** - Specify if items wrap or collapse to an ellipsis\n- **itemsBeforeCollapse** - Specify how many items show before ellipsis\n- **itemsAfterCollapse** - Specify how many items show after ellipsis\n- **theme** - Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Pass items to the Breadcrumb",
@@ -2176,58 +2176,6 @@
2176
2176
  }
2177
2177
  ]
2178
2178
  },
2179
- {
2180
- "name": "bm-radio-button",
2181
- "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",
2182
- "attributes": [
2183
- {
2184
- "name": "label",
2185
- "description": "Specify the text for the label",
2186
- "values": []
2187
- },
2188
- {
2189
- "name": "error",
2190
- "description": "Specify error text and display error state of a RadioButton",
2191
- "values": []
2192
- },
2193
- {
2194
- "name": "readOnly",
2195
- "description": "Specify if RadioButton displays in a read-only state",
2196
- "values": []
2197
- },
2198
- {
2199
- "name": "disabled",
2200
- "description": "Specify if RadioButton displays in a disabled state",
2201
- "values": []
2202
- },
2203
- {
2204
- "name": "theme",
2205
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2206
- "values": [{ "name": "light" }, { "name": "dark" }]
2207
- },
2208
- {
2209
- "name": "value",
2210
- "description": "The value attribute for the input element",
2211
- "values": []
2212
- },
2213
- {
2214
- "name": "checked",
2215
- "description": "The checked attribute for the input element",
2216
- "values": []
2217
- },
2218
- {
2219
- "name": "onKeyDown",
2220
- "description": "A user-defined function to handle keydown events",
2221
- "values": [{ "name": "(event: KeyboardEvent) => void" }]
2222
- }
2223
- ],
2224
- "references": [
2225
- {
2226
- "name": "Storybook",
2227
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2228
- }
2229
- ]
2230
- },
2231
2179
  {
2232
2180
  "name": "bm-native-select",
2233
2181
  "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",
@@ -2294,45 +2242,54 @@
2294
2242
  ]
2295
2243
  },
2296
2244
  {
2297
- "name": "bm-switch",
2298
- "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.",
2245
+ "name": "bm-radio-button",
2246
+ "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",
2299
2247
  "attributes": [
2300
2248
  {
2301
- "name": "onText",
2302
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2249
+ "name": "label",
2250
+ "description": "Specify the text for the label",
2303
2251
  "values": []
2304
2252
  },
2305
2253
  {
2306
- "name": "offText",
2307
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2254
+ "name": "error",
2255
+ "description": "Specify error text and display error state of a RadioButton",
2308
2256
  "values": []
2309
2257
  },
2310
- {
2311
- "name": "textPosition",
2312
- "description": "Specify the position of the side label",
2313
- "values": [{ "name": "before" }, { "name": "after" }]
2314
- },
2315
2258
  {
2316
2259
  "name": "readOnly",
2317
- "description": "Specify if Switch displays in a read-only state",
2260
+ "description": "Specify if RadioButton displays in a read-only state",
2318
2261
  "values": []
2319
2262
  },
2320
2263
  {
2321
2264
  "name": "disabled",
2322
- "description": "Specify if Switch displays in a disabled state",
2265
+ "description": "Specify if RadioButton displays in a disabled state",
2323
2266
  "values": []
2324
2267
  },
2325
- { "name": "checked", "values": [] },
2268
+ {
2269
+ "name": "theme",
2270
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2271
+ "values": [{ "name": "light" }, { "name": "dark" }]
2272
+ },
2326
2273
  {
2327
2274
  "name": "value",
2328
2275
  "description": "The value attribute for the input element",
2329
2276
  "values": []
2277
+ },
2278
+ {
2279
+ "name": "checked",
2280
+ "description": "The checked attribute for the input element",
2281
+ "values": []
2282
+ },
2283
+ {
2284
+ "name": "onKeyDown",
2285
+ "description": "A user-defined function to handle keydown events",
2286
+ "values": [{ "name": "(event: KeyboardEvent) => void" }]
2330
2287
  }
2331
2288
  ],
2332
2289
  "references": [
2333
2290
  {
2334
2291
  "name": "Storybook",
2335
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2292
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2336
2293
  }
2337
2294
  ]
2338
2295
  },
@@ -2426,6 +2383,49 @@
2426
2383
  }
2427
2384
  ]
2428
2385
  },
2386
+ {
2387
+ "name": "bm-switch",
2388
+ "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.",
2389
+ "attributes": [
2390
+ {
2391
+ "name": "onText",
2392
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2393
+ "values": []
2394
+ },
2395
+ {
2396
+ "name": "offText",
2397
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2398
+ "values": []
2399
+ },
2400
+ {
2401
+ "name": "textPosition",
2402
+ "description": "Specify the position of the side label",
2403
+ "values": [{ "name": "before" }, { "name": "after" }]
2404
+ },
2405
+ {
2406
+ "name": "readOnly",
2407
+ "description": "Specify if Switch displays in a read-only state",
2408
+ "values": []
2409
+ },
2410
+ {
2411
+ "name": "disabled",
2412
+ "description": "Specify if Switch displays in a disabled state",
2413
+ "values": []
2414
+ },
2415
+ { "name": "checked", "values": [] },
2416
+ {
2417
+ "name": "value",
2418
+ "description": "The value attribute for the input element",
2419
+ "values": []
2420
+ }
2421
+ ],
2422
+ "references": [
2423
+ {
2424
+ "name": "Storybook",
2425
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2426
+ }
2427
+ ]
2428
+ },
2429
2429
  {
2430
2430
  "name": "bm-text-field",
2431
2431
  "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",