@viasat/beam-web-components 2.53.0 → 2.54.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.53.0",
3
+ "version": "2.54.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.53.0",
68
- "@viasat/beam-shared": "2.53.0",
69
- "@viasat/beam-styles": "2.53.0",
70
- "@viasat/beam-tokens": "2.53.0",
71
- "@viasat/beam-icons": "2.53.0",
67
+ "@viasat/beam-fonts": "2.54.0",
68
+ "@viasat/beam-shared": "2.54.0",
69
+ "@viasat/beam-styles": "2.54.0",
70
+ "@viasat/beam-tokens": "2.54.0",
71
+ "@viasat/beam-icons": "2.54.0",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -61,104 +61,6 @@
61
61
  }
62
62
  ]
63
63
  },
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",
67
- "attributes": [
68
- {
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",
87
- "values": [
88
- { "name": "xs" },
89
- { "name": "sm" },
90
- { "name": "md" },
91
- { "name": "lg" },
92
- { "name": "xl" }
93
- ]
94
- },
95
- {
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": []
132
- },
133
- {
134
- "name": "maxCount",
135
- "description": "Specify the max number of avatars displayed in the group.",
136
- "values": []
137
- },
138
- {
139
- "name": "size",
140
- "description": "Specify the size of all Avatars",
141
- "values": [
142
- { "name": "xs" },
143
- { "name": "sm" },
144
- { "name": "md" },
145
- { "name": "lg" },
146
- { "name": "xl" }
147
- ]
148
- },
149
- {
150
- "name": "layout",
151
- "description": "Specify the kind of the group.",
152
- "values": [{ "name": "stacked" }, { "name": "spaced" }]
153
- }
154
- ],
155
- "references": [
156
- {
157
- "name": "Storybook",
158
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
159
- }
160
- ]
161
- },
162
64
  {
163
65
  "name": "bm-alert",
164
66
  "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",
@@ -233,83 +135,100 @@
233
135
  ]
234
136
  },
235
137
  {
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",
138
+ "name": "bm-avatar",
139
+ "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
140
  "attributes": [
239
141
  {
240
142
  "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
- ]
143
+ "description": "Specify the appearance of the Avatar",
144
+ "values": [{ "name": "accent" }, { "name": "neutral" }]
249
145
  },
250
146
  {
251
- "name": "theme",
252
- "description": "Theme of the Badge",
253
- "values": [{ "name": "light" }, { "name": "dark" }]
147
+ "name": "name",
148
+ "description": "Specify a name to display initials in the Avatar",
149
+ "values": []
254
150
  },
255
151
  {
256
- "name": "size",
257
- "description": "Specify the size of the Badge",
258
- "values": [{ "name": "sm" }, { "name": "md" }]
152
+ "name": "src",
153
+ "description": "Pass an image to the Avatar",
154
+ "values": []
259
155
  },
156
+ { "name": "alt", "description": "Specify alt for image", "values": [] },
260
157
  {
261
- "name": "emphasis",
262
- "description": "Specify the emphasis of the Badge",
158
+ "name": "size",
159
+ "description": "Specify the size of the Avatar",
263
160
  "values": [
264
- { "name": "strong" },
265
- { "name": "medium" },
266
- { "name": "subtle" }
161
+ { "name": "xs" },
162
+ { "name": "sm" },
163
+ { "name": "md" },
164
+ { "name": "lg" },
165
+ { "name": "xl" }
267
166
  ]
268
167
  },
269
- { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
168
+ {
169
+ "name": "disabled",
170
+ "description": "Specify if the Avatar is disabled",
171
+ "values": []
172
+ },
173
+ {
174
+ "name": "shape",
175
+ "description": "Specify the shape of the Avatar",
176
+ "values": [{ "name": "circle" }, { "name": "square" }]
177
+ },
178
+ {
179
+ "name": "isInteractive",
180
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
181
+ "values": []
182
+ },
183
+ {
184
+ "name": "isFocusable",
185
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
186
+ "values": []
187
+ },
188
+ { "name": "withBorder", "values": [] }
270
189
  ],
271
190
  "references": [
272
191
  {
273
192
  "name": "Storybook",
274
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
193
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
275
194
  }
276
195
  ]
277
196
  },
278
197
  {
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",
198
+ "name": "bm-avatar-group",
199
+ "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
200
  "attributes": [
282
201
  {
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" }]
202
+ "name": "wrapping",
203
+ "description": "Specify if the AvatarGroup wraps",
204
+ "values": []
286
205
  },
287
206
  {
288
- "name": "appearance",
289
- "description": "Specify the appearance of the BadgeDot",
290
- "values": [
291
- { "name": "infoPrimary" },
292
- { "name": "infoSecondary" },
293
- { "name": "positive" },
294
- { "name": "warning" },
295
- { "name": "negative" }
296
- ]
207
+ "name": "maxCount",
208
+ "description": "Specify the max number of avatars displayed in the group.",
209
+ "values": []
297
210
  },
298
211
  {
299
- "name": "emphasis",
300
- "description": "Specify the emphasis of the BadgeDot",
301
- "values": [{ "name": "strong" }, { "name": "subtle" }]
212
+ "name": "size",
213
+ "description": "Specify the size of all Avatars",
214
+ "values": [
215
+ { "name": "xs" },
216
+ { "name": "sm" },
217
+ { "name": "md" },
218
+ { "name": "lg" },
219
+ { "name": "xl" }
220
+ ]
302
221
  },
303
222
  {
304
- "name": "overrideDotColor",
305
- "description": "Overrides default dot color",
306
- "values": []
223
+ "name": "layout",
224
+ "description": "Specify the kind of the group.",
225
+ "values": [{ "name": "stacked" }, { "name": "spaced" }]
307
226
  }
308
227
  ],
309
228
  "references": [
310
229
  {
311
230
  "name": "Storybook",
312
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
231
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
313
232
  }
314
233
  ]
315
234
  },
@@ -777,6 +696,87 @@
777
696
  }
778
697
  ]
779
698
  },
699
+ {
700
+ "name": "bm-badge",
701
+ "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",
702
+ "attributes": [
703
+ {
704
+ "name": "appearance",
705
+ "description": "Specify the appearance of the Badge",
706
+ "values": [
707
+ { "name": "infoPrimary" },
708
+ { "name": "infoSecondary" },
709
+ { "name": "positive" },
710
+ { "name": "warning" },
711
+ { "name": "negative" }
712
+ ]
713
+ },
714
+ {
715
+ "name": "theme",
716
+ "description": "Theme of the Badge",
717
+ "values": [{ "name": "light" }, { "name": "dark" }]
718
+ },
719
+ {
720
+ "name": "size",
721
+ "description": "Specify the size of the Badge",
722
+ "values": [{ "name": "sm" }, { "name": "md" }]
723
+ },
724
+ {
725
+ "name": "emphasis",
726
+ "description": "Specify the emphasis of the Badge",
727
+ "values": [
728
+ { "name": "strong" },
729
+ { "name": "medium" },
730
+ { "name": "subtle" }
731
+ ]
732
+ },
733
+ { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
734
+ ],
735
+ "references": [
736
+ {
737
+ "name": "Storybook",
738
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "name": "bm-badge-dot",
744
+ "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",
745
+ "attributes": [
746
+ {
747
+ "name": "theme",
748
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
749
+ "values": [{ "name": "light" }, { "name": "dark" }]
750
+ },
751
+ {
752
+ "name": "appearance",
753
+ "description": "Specify the appearance of the BadgeDot",
754
+ "values": [
755
+ { "name": "infoPrimary" },
756
+ { "name": "infoSecondary" },
757
+ { "name": "positive" },
758
+ { "name": "warning" },
759
+ { "name": "negative" }
760
+ ]
761
+ },
762
+ {
763
+ "name": "emphasis",
764
+ "description": "Specify the emphasis of the BadgeDot",
765
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
766
+ },
767
+ {
768
+ "name": "overrideDotColor",
769
+ "description": "Overrides default dot color",
770
+ "values": []
771
+ }
772
+ ],
773
+ "references": [
774
+ {
775
+ "name": "Storybook",
776
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
777
+ }
778
+ ]
779
+ },
780
780
  {
781
781
  "name": "bm-button",
782
782
  "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** \n---\n\n\n### **Slots:**\n - **default** - Provide content 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",
@@ -1909,51 +1909,6 @@
1909
1909
  }
1910
1910
  ]
1911
1911
  },
1912
- {
1913
- "name": "bm-form",
1914
- "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",
1915
- "attributes": [
1916
- {
1917
- "name": "validationMode",
1918
- "description": "Specify if validation runs on change or when loosing focus",
1919
- "values": [
1920
- { "name": "onChange" },
1921
- { "name": "onBlur" },
1922
- { "name": "onSubmit" }
1923
- ]
1924
- },
1925
- {
1926
- "name": "initialValues",
1927
- "description": "Specify initial values on Form controls based on their names",
1928
- "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
1929
- },
1930
- {
1931
- "name": "required",
1932
- "description": "Specify if input is a required",
1933
- "values": []
1934
- },
1935
- {
1936
- "name": "disabled",
1937
- "description": "Specify if input is a disabled",
1938
- "values": []
1939
- },
1940
- {
1941
- "name": "readOnly",
1942
- "description": "Specify if input is a read only",
1943
- "values": []
1944
- },
1945
- { "name": "action", "values": [] },
1946
- { "name": "method", "values": [] },
1947
- { "name": "target", "values": [] },
1948
- { "name": "enctype", "values": [] }
1949
- ],
1950
- "references": [
1951
- {
1952
- "name": "Storybook",
1953
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
1954
- }
1955
- ]
1956
- },
1957
1912
  {
1958
1913
  "name": "bm-file-upload-button",
1959
1914
  "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",
@@ -2261,6 +2216,51 @@
2261
2216
  }
2262
2217
  ]
2263
2218
  },
2219
+ {
2220
+ "name": "bm-form",
2221
+ "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",
2222
+ "attributes": [
2223
+ {
2224
+ "name": "validationMode",
2225
+ "description": "Specify if validation runs on change or when loosing focus",
2226
+ "values": [
2227
+ { "name": "onChange" },
2228
+ { "name": "onBlur" },
2229
+ { "name": "onSubmit" }
2230
+ ]
2231
+ },
2232
+ {
2233
+ "name": "initialValues",
2234
+ "description": "Specify initial values on Form controls based on their names",
2235
+ "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2236
+ },
2237
+ {
2238
+ "name": "required",
2239
+ "description": "Specify if input is a required",
2240
+ "values": []
2241
+ },
2242
+ {
2243
+ "name": "disabled",
2244
+ "description": "Specify if input is a disabled",
2245
+ "values": []
2246
+ },
2247
+ {
2248
+ "name": "readOnly",
2249
+ "description": "Specify if input is a read only",
2250
+ "values": []
2251
+ },
2252
+ { "name": "action", "values": [] },
2253
+ { "name": "method", "values": [] },
2254
+ { "name": "target", "values": [] },
2255
+ { "name": "enctype", "values": [] }
2256
+ ],
2257
+ "references": [
2258
+ {
2259
+ "name": "Storybook",
2260
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2261
+ }
2262
+ ]
2263
+ },
2264
2264
  {
2265
2265
  "name": "bm-native-select",
2266
2266
  "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",