@viasat/beam-web-components 2.10.1 → 2.11.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.10.1",
3
+ "version": "2.11.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.10.1",
68
- "@viasat/beam-shared": "2.10.1",
69
- "@viasat/beam-styles": "2.10.1",
70
- "@viasat/beam-tokens": "2.10.1",
71
- "@viasat/beam-icons": "2.10.1",
67
+ "@viasat/beam-fonts": "2.11.0",
68
+ "@viasat/beam-shared": "2.11.0",
69
+ "@viasat/beam-styles": "2.11.0",
70
+ "@viasat/beam-tokens": "2.11.0",
71
+ "@viasat/beam-icons": "2.11.0",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -159,48 +159,6 @@
159
159
  }
160
160
  ]
161
161
  },
162
- {
163
- "name": "bm-badge-dot",
164
- "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
- "attributes": [
166
- {
167
- "name": "theme",
168
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
169
- "values": [{ "name": "light" }, { "name": "dark" }]
170
- },
171
- {
172
- "name": "appearance",
173
- "description": "Specify the appearance of the BadgeDot",
174
- "values": [
175
- { "name": "primary" },
176
- { "name": "secondary" },
177
- { "name": "infoPrimary" },
178
- { "name": "infoSecondary" },
179
- { "name": "positive" },
180
- { "name": "warning" },
181
- { "name": "negative" },
182
- { "name": "inverse" },
183
- { "name": "secondaryInverse" }
184
- ]
185
- },
186
- {
187
- "name": "emphasis",
188
- "description": "Specify the emphasis of the BadgeDot",
189
- "values": [{ "name": "Emphasis" }]
190
- },
191
- {
192
- "name": "overrideDotColor",
193
- "description": "Overrides default dot color",
194
- "values": []
195
- }
196
- ],
197
- "references": [
198
- {
199
- "name": "Storybook",
200
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
201
- }
202
- ]
203
- },
204
162
  {
205
163
  "name": "bm-badge",
206
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",
@@ -244,6 +202,48 @@
244
202
  }
245
203
  ]
246
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,34 +849,6 @@
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
- },
880
852
  {
881
853
  "name": "bm-divider",
882
854
  "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",
@@ -946,6 +918,34 @@
946
918
  }
947
919
  ]
948
920
  },
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",
@@ -1761,6 +1761,51 @@
1761
1761
  }
1762
1762
  ]
1763
1763
  },
1764
+ {
1765
+ "name": "bm-form",
1766
+ "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",
1767
+ "attributes": [
1768
+ {
1769
+ "name": "validationMode",
1770
+ "description": "Specify if validation runs on change or when loosing focus",
1771
+ "values": [
1772
+ { "name": "onChange" },
1773
+ { "name": "onBlur" },
1774
+ { "name": "onSubmit" }
1775
+ ]
1776
+ },
1777
+ {
1778
+ "name": "initialValues",
1779
+ "description": "Specify initial values on Form controls based on their names",
1780
+ "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
1781
+ },
1782
+ {
1783
+ "name": "required",
1784
+ "description": "Specify if input is a required",
1785
+ "values": []
1786
+ },
1787
+ {
1788
+ "name": "disabled",
1789
+ "description": "Specify if input is a disabled",
1790
+ "values": []
1791
+ },
1792
+ {
1793
+ "name": "readOnly",
1794
+ "description": "Specify if input is a read only",
1795
+ "values": []
1796
+ },
1797
+ { "name": "action", "values": [{ "name": "Optional<string>" }] },
1798
+ { "name": "method", "values": [{ "name": "Optional<string>" }] },
1799
+ { "name": "target", "values": [{ "name": "Optional<string>" }] },
1800
+ { "name": "enctype", "values": [{ "name": "Optional<string>" }] }
1801
+ ],
1802
+ "references": [
1803
+ {
1804
+ "name": "Storybook",
1805
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
1806
+ }
1807
+ ]
1808
+ },
1764
1809
  {
1765
1810
  "name": "bm-file-upload-button",
1766
1811
  "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",
@@ -2071,88 +2116,6 @@
2071
2116
  }
2072
2117
  ]
2073
2118
  },
2074
- {
2075
- "name": "bm-form",
2076
- "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",
2077
- "attributes": [
2078
- {
2079
- "name": "validationMode",
2080
- "description": "Specify if validation runs on change or when loosing focus",
2081
- "values": [
2082
- { "name": "onChange" },
2083
- { "name": "onBlur" },
2084
- { "name": "onSubmit" }
2085
- ]
2086
- },
2087
- {
2088
- "name": "initialValues",
2089
- "description": "Specify initial values on Form controls based on their names",
2090
- "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2091
- },
2092
- {
2093
- "name": "required",
2094
- "description": "Specify if input is a required",
2095
- "values": []
2096
- },
2097
- {
2098
- "name": "disabled",
2099
- "description": "Specify if input is a disabled",
2100
- "values": []
2101
- },
2102
- {
2103
- "name": "readOnly",
2104
- "description": "Specify if input is a read only",
2105
- "values": []
2106
- },
2107
- { "name": "action", "values": [{ "name": "Optional<string>" }] },
2108
- { "name": "method", "values": [{ "name": "Optional<string>" }] },
2109
- { "name": "target", "values": [{ "name": "Optional<string>" }] },
2110
- { "name": "enctype", "values": [{ "name": "Optional<string>" }] }
2111
- ],
2112
- "references": [
2113
- {
2114
- "name": "Storybook",
2115
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2116
- }
2117
- ]
2118
- },
2119
- {
2120
- "name": "bm-label",
2121
- "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",
2122
- "attributes": [
2123
- {
2124
- "name": "disabled",
2125
- "description": "Specify if the Label displays disabled",
2126
- "values": []
2127
- },
2128
- {
2129
- "name": "required",
2130
- "description": "Specify if the Label displays as required",
2131
- "values": []
2132
- },
2133
- {
2134
- "name": "text",
2135
- "description": "Specify the text for Label",
2136
- "values": [{ "name": "Optional<string>" }]
2137
- },
2138
- {
2139
- "name": "optional",
2140
- "description": "Specify the text for Label",
2141
- "values": [{ "name": "Optional<string>" }]
2142
- },
2143
- {
2144
- "name": "theme",
2145
- "description": "Specify the theme of the Label. By default it inherits the theme from the parent",
2146
- "values": [{ "name": "Optional<ThemeTypes>" }]
2147
- }
2148
- ],
2149
- "references": [
2150
- {
2151
- "name": "Storybook",
2152
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
2153
- }
2154
- ]
2155
- },
2156
2119
  {
2157
2120
  "name": "bm-native-select",
2158
2121
  "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",
@@ -2316,6 +2279,136 @@
2316
2279
  }
2317
2280
  ]
2318
2281
  },
2282
+ {
2283
+ "name": "bm-text-area",
2284
+ "description": "`bm-text-area`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextArea\n- **helper-text** - Specify the helper text for TextArea",
2285
+ "attributes": [
2286
+ {
2287
+ "name": "rows",
2288
+ "description": "Specify the height of TextArea",
2289
+ "values": [{ "name": "Optional<number>" }]
2290
+ },
2291
+ {
2292
+ "name": "cols",
2293
+ "description": "Specify the width of TextArea",
2294
+ "values": [{ "name": "Optional<number>" }]
2295
+ },
2296
+ {
2297
+ "name": "placeholder",
2298
+ "description": "Specify placeholder text for TextArea",
2299
+ "values": [{ "name": "Optional<string>" }]
2300
+ },
2301
+ {
2302
+ "name": "required",
2303
+ "description": "Specify if TextArea is a required input",
2304
+ "values": []
2305
+ },
2306
+ {
2307
+ "name": "hideRequiredMarker",
2308
+ "description": "Specify if the TextArea displays with an asterisk",
2309
+ "values": []
2310
+ },
2311
+ {
2312
+ "name": "error",
2313
+ "description": "Specify error text and display error state of a TextArea",
2314
+ "values": [{ "name": "Optional<string>" }]
2315
+ },
2316
+ {
2317
+ "name": "readOnly",
2318
+ "description": "Specify if TextArea displays in a read-only state",
2319
+ "values": []
2320
+ },
2321
+ {
2322
+ "name": "disabled",
2323
+ "description": "Specify if TextArea displays in a disabled state",
2324
+ "values": []
2325
+ },
2326
+ {
2327
+ "name": "fluid",
2328
+ "description": "Specify if TextArea is fluid",
2329
+ "values": []
2330
+ },
2331
+ {
2332
+ "name": "width",
2333
+ "description": "Specify the width of TextArea",
2334
+ "values": [{ "name": "Optional<string>" }]
2335
+ },
2336
+ {
2337
+ "name": "hideResize",
2338
+ "description": "Specify if TextArea can be manually resized",
2339
+ "values": []
2340
+ },
2341
+ {
2342
+ "name": "maxCount",
2343
+ "description": "Specify the maximum character count for the TextArea",
2344
+ "values": [{ "name": "Optional<number>" }]
2345
+ },
2346
+ {
2347
+ "name": "autoResize",
2348
+ "description": "Specify if the TextArea automatically resizes to fit the text",
2349
+ "values": []
2350
+ },
2351
+ {
2352
+ "name": "theme",
2353
+ "description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
2354
+ "values": [{ "name": "Optional<ThemeTypes>" }]
2355
+ },
2356
+ { "name": "id", "values": [] },
2357
+ { "name": "name", "values": [] },
2358
+ { "name": "value", "values": [] },
2359
+ {
2360
+ "name": "validationRules",
2361
+ "values": [{ "name": "Array<FormValidator>" }]
2362
+ },
2363
+ {
2364
+ "name": "input-aria-label",
2365
+ "values": [{ "name": "Optional<string>" }]
2366
+ }
2367
+ ],
2368
+ "references": [
2369
+ {
2370
+ "name": "Storybook",
2371
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
2372
+ }
2373
+ ]
2374
+ },
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
+ },
2319
2412
  {
2320
2413
  "name": "bm-text-field",
2321
2414
  "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",
@@ -2606,99 +2699,6 @@
2606
2699
  "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2607
2700
  }
2608
2701
  ]
2609
- },
2610
- {
2611
- "name": "bm-text-area",
2612
- "description": "`bm-text-area`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextArea\n- **helper-text** - Specify the helper text for TextArea",
2613
- "attributes": [
2614
- {
2615
- "name": "rows",
2616
- "description": "Specify the height of TextArea",
2617
- "values": [{ "name": "Optional<number>" }]
2618
- },
2619
- {
2620
- "name": "cols",
2621
- "description": "Specify the width of TextArea",
2622
- "values": [{ "name": "Optional<number>" }]
2623
- },
2624
- {
2625
- "name": "placeholder",
2626
- "description": "Specify placeholder text for TextArea",
2627
- "values": [{ "name": "Optional<string>" }]
2628
- },
2629
- {
2630
- "name": "required",
2631
- "description": "Specify if TextArea is a required input",
2632
- "values": []
2633
- },
2634
- {
2635
- "name": "hideRequiredMarker",
2636
- "description": "Specify if the TextArea displays with an asterisk",
2637
- "values": []
2638
- },
2639
- {
2640
- "name": "error",
2641
- "description": "Specify error text and display error state of a TextArea",
2642
- "values": [{ "name": "Optional<string>" }]
2643
- },
2644
- {
2645
- "name": "readOnly",
2646
- "description": "Specify if TextArea displays in a read-only state",
2647
- "values": []
2648
- },
2649
- {
2650
- "name": "disabled",
2651
- "description": "Specify if TextArea displays in a disabled state",
2652
- "values": []
2653
- },
2654
- {
2655
- "name": "fluid",
2656
- "description": "Specify if TextArea is fluid",
2657
- "values": []
2658
- },
2659
- {
2660
- "name": "width",
2661
- "description": "Specify the width of TextArea",
2662
- "values": [{ "name": "Optional<string>" }]
2663
- },
2664
- {
2665
- "name": "hideResize",
2666
- "description": "Specify if TextArea can be manually resized",
2667
- "values": []
2668
- },
2669
- {
2670
- "name": "maxCount",
2671
- "description": "Specify the maximum character count for the TextArea",
2672
- "values": [{ "name": "Optional<number>" }]
2673
- },
2674
- {
2675
- "name": "autoResize",
2676
- "description": "Specify if the TextArea automatically resizes to fit the text",
2677
- "values": []
2678
- },
2679
- {
2680
- "name": "theme",
2681
- "description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
2682
- "values": [{ "name": "Optional<ThemeTypes>" }]
2683
- },
2684
- { "name": "id", "values": [] },
2685
- { "name": "name", "values": [] },
2686
- { "name": "value", "values": [] },
2687
- {
2688
- "name": "validationRules",
2689
- "values": [{ "name": "Array<FormValidator>" }]
2690
- },
2691
- {
2692
- "name": "input-aria-label",
2693
- "values": [{ "name": "Optional<string>" }]
2694
- }
2695
- ],
2696
- "references": [
2697
- {
2698
- "name": "Storybook",
2699
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
2700
- }
2701
- ]
2702
2702
  }
2703
2703
  ]
2704
2704
  }