@viasat/beam-web-components 2.22.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.22.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.22.0",
68
- "@viasat/beam-shared": "2.22.0",
69
- "@viasat/beam-styles": "2.22.0",
70
- "@viasat/beam-tokens": "2.22.0",
71
- "@viasat/beam-icons": "2.22.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",
@@ -62,37 +62,17 @@
62
62
  ]
63
63
  },
64
64
  {
65
- "name": "bm-alert",
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",
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
67
  "attributes": [
68
- {
69
- "name": "heading",
70
- "description": "Specify the heading text for Alert",
71
- "values": []
72
- },
73
- {
74
- "name": "body",
75
- "description": "Specify the body text for Alert",
76
- "values": []
77
- },
78
- {
79
- "name": "size",
80
- "description": "Specify the size of the Alert",
81
- "values": [{ "name": "sm" }, { "name": "md" }]
82
- },
83
- {
84
- "name": "fullWidth",
85
- "description": "Specify if the Alert has no border radius",
86
- "values": []
87
- },
88
68
  {
89
69
  "name": "theme",
90
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
70
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
91
71
  "values": [{ "name": "light" }, { "name": "dark" }]
92
72
  },
93
73
  {
94
74
  "name": "appearance",
95
- "description": "Specify the appearance of the Alert",
75
+ "description": "Specify the appearance of the BadgeDot",
96
76
  "values": [
97
77
  { "name": "infoPrimary" },
98
78
  { "name": "infoSecondary" },
@@ -102,35 +82,20 @@
102
82
  ]
103
83
  },
104
84
  {
105
- "name": "hidden",
106
- "description": "Specify if the Alert is hidden",
107
- "values": []
108
- },
109
- {
110
- "name": "hideIcon",
111
- "description": "Specify if the icon displays on the Alert",
112
- "values": []
113
- },
114
- {
115
- "name": "dismissible",
116
- "description": "Specify if the Alert can be dismissed",
117
- "values": []
118
- },
119
- {
120
- "name": "disableAutoFocus",
121
- "description": "Prevent autofocus on show",
122
- "values": []
85
+ "name": "emphasis",
86
+ "description": "Specify the emphasis of the BadgeDot",
87
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
123
88
  },
124
89
  {
125
- "name": "disableCloseOnEscape",
126
- "description": "Prevent Escape from closing",
90
+ "name": "overrideDotColor",
91
+ "description": "Overrides default dot color",
127
92
  "values": []
128
93
  }
129
94
  ],
130
95
  "references": [
131
96
  {
132
97
  "name": "Storybook",
133
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
98
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
134
99
  }
135
100
  ]
136
101
  },
@@ -177,142 +142,6 @@
177
142
  }
178
143
  ]
179
144
  },
180
- {
181
- "name": "bm-avatar",
182
- "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",
183
- "attributes": [
184
- {
185
- "name": "appearance",
186
- "description": "Specify the appearance of the Avatar",
187
- "values": [{ "name": "accent" }, { "name": "neutral" }]
188
- },
189
- {
190
- "name": "name",
191
- "description": "Specify a name to display initials in the Avatar",
192
- "values": []
193
- },
194
- {
195
- "name": "src",
196
- "description": "Pass an image to the Avatar",
197
- "values": []
198
- },
199
- { "name": "alt", "description": "Specify alt for image", "values": [] },
200
- {
201
- "name": "size",
202
- "description": "Specify the size of the Avatar",
203
- "values": [
204
- { "name": "xs" },
205
- { "name": "sm" },
206
- { "name": "md" },
207
- { "name": "lg" },
208
- { "name": "xl" }
209
- ]
210
- },
211
- {
212
- "name": "disabled",
213
- "description": "Specify if the Avatar is disabled",
214
- "values": []
215
- },
216
- {
217
- "name": "shape",
218
- "description": "Specify the shape of the Avatar",
219
- "values": [{ "name": "circle" }, { "name": "square" }]
220
- },
221
- {
222
- "name": "isInteractive",
223
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
224
- "values": []
225
- },
226
- {
227
- "name": "isFocusable",
228
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
229
- "values": []
230
- },
231
- { "name": "withBorder", "values": [] }
232
- ],
233
- "references": [
234
- {
235
- "name": "Storybook",
236
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
237
- }
238
- ]
239
- },
240
- {
241
- "name": "bm-avatar-group",
242
- "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",
243
- "attributes": [
244
- {
245
- "name": "wrapping",
246
- "description": "Specify if the AvatarGroup wraps",
247
- "values": []
248
- },
249
- {
250
- "name": "maxCount",
251
- "description": "Specify the max number of avatars displayed in the group.",
252
- "values": []
253
- },
254
- {
255
- "name": "size",
256
- "description": "Specify the size of all Avatars",
257
- "values": [
258
- { "name": "xs" },
259
- { "name": "sm" },
260
- { "name": "md" },
261
- { "name": "lg" },
262
- { "name": "xl" }
263
- ]
264
- },
265
- {
266
- "name": "layout",
267
- "description": "Specify the kind of the group.",
268
- "values": [{ "name": "stacked" }, { "name": "spaced" }]
269
- }
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-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",
281
- "attributes": [
282
- {
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" }]
286
- },
287
- {
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
- ]
297
- },
298
- {
299
- "name": "emphasis",
300
- "description": "Specify the emphasis of the BadgeDot",
301
- "values": [{ "name": "strong" }, { "name": "subtle" }]
302
- },
303
- {
304
- "name": "overrideDotColor",
305
- "description": "Overrides default dot color",
306
- "values": []
307
- }
308
- ],
309
- "references": [
310
- {
311
- "name": "Storybook",
312
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
313
- }
314
- ]
315
- },
316
145
  {
317
146
  "name": "bm-box",
318
147
  "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow\n---\n\n\n### **Slots:**\n - **default** - Provide content for the Box",
@@ -845,6 +674,177 @@
845
674
  }
846
675
  ]
847
676
  },
677
+ {
678
+ "name": "bm-alert",
679
+ "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",
680
+ "attributes": [
681
+ {
682
+ "name": "heading",
683
+ "description": "Specify the heading text for Alert",
684
+ "values": []
685
+ },
686
+ {
687
+ "name": "body",
688
+ "description": "Specify the body text for Alert",
689
+ "values": []
690
+ },
691
+ {
692
+ "name": "size",
693
+ "description": "Specify the size of the Alert",
694
+ "values": [{ "name": "sm" }, { "name": "md" }]
695
+ },
696
+ {
697
+ "name": "fullWidth",
698
+ "description": "Specify if the Alert has no border radius",
699
+ "values": []
700
+ },
701
+ {
702
+ "name": "theme",
703
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
704
+ "values": [{ "name": "light" }, { "name": "dark" }]
705
+ },
706
+ {
707
+ "name": "appearance",
708
+ "description": "Specify the appearance of the Alert",
709
+ "values": [
710
+ { "name": "infoPrimary" },
711
+ { "name": "infoSecondary" },
712
+ { "name": "positive" },
713
+ { "name": "warning" },
714
+ { "name": "negative" }
715
+ ]
716
+ },
717
+ {
718
+ "name": "hidden",
719
+ "description": "Specify if the Alert is hidden",
720
+ "values": []
721
+ },
722
+ {
723
+ "name": "hideIcon",
724
+ "description": "Specify if the icon displays on the Alert",
725
+ "values": []
726
+ },
727
+ {
728
+ "name": "dismissible",
729
+ "description": "Specify if the Alert can be dismissed",
730
+ "values": []
731
+ },
732
+ {
733
+ "name": "disableAutoFocus",
734
+ "description": "Prevent autofocus on show",
735
+ "values": []
736
+ },
737
+ {
738
+ "name": "disableCloseOnEscape",
739
+ "description": "Prevent Escape from closing",
740
+ "values": []
741
+ }
742
+ ],
743
+ "references": [
744
+ {
745
+ "name": "Storybook",
746
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
747
+ }
748
+ ]
749
+ },
750
+ {
751
+ "name": "bm-avatar",
752
+ "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",
753
+ "attributes": [
754
+ {
755
+ "name": "appearance",
756
+ "description": "Specify the appearance of the Avatar",
757
+ "values": [{ "name": "accent" }, { "name": "neutral" }]
758
+ },
759
+ {
760
+ "name": "name",
761
+ "description": "Specify a name to display initials in the Avatar",
762
+ "values": []
763
+ },
764
+ {
765
+ "name": "src",
766
+ "description": "Pass an image to the Avatar",
767
+ "values": []
768
+ },
769
+ { "name": "alt", "description": "Specify alt for image", "values": [] },
770
+ {
771
+ "name": "size",
772
+ "description": "Specify the size of the Avatar",
773
+ "values": [
774
+ { "name": "xs" },
775
+ { "name": "sm" },
776
+ { "name": "md" },
777
+ { "name": "lg" },
778
+ { "name": "xl" }
779
+ ]
780
+ },
781
+ {
782
+ "name": "disabled",
783
+ "description": "Specify if the Avatar is disabled",
784
+ "values": []
785
+ },
786
+ {
787
+ "name": "shape",
788
+ "description": "Specify the shape of the Avatar",
789
+ "values": [{ "name": "circle" }, { "name": "square" }]
790
+ },
791
+ {
792
+ "name": "isInteractive",
793
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
794
+ "values": []
795
+ },
796
+ {
797
+ "name": "isFocusable",
798
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
799
+ "values": []
800
+ },
801
+ { "name": "withBorder", "values": [] }
802
+ ],
803
+ "references": [
804
+ {
805
+ "name": "Storybook",
806
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
807
+ }
808
+ ]
809
+ },
810
+ {
811
+ "name": "bm-avatar-group",
812
+ "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",
813
+ "attributes": [
814
+ {
815
+ "name": "wrapping",
816
+ "description": "Specify if the AvatarGroup wraps",
817
+ "values": []
818
+ },
819
+ {
820
+ "name": "maxCount",
821
+ "description": "Specify the max number of avatars displayed in the group.",
822
+ "values": []
823
+ },
824
+ {
825
+ "name": "size",
826
+ "description": "Specify the size of all Avatars",
827
+ "values": [
828
+ { "name": "xs" },
829
+ { "name": "sm" },
830
+ { "name": "md" },
831
+ { "name": "lg" },
832
+ { "name": "xl" }
833
+ ]
834
+ },
835
+ {
836
+ "name": "layout",
837
+ "description": "Specify the kind of the group.",
838
+ "values": [{ "name": "stacked" }, { "name": "spaced" }]
839
+ }
840
+ ],
841
+ "references": [
842
+ {
843
+ "name": "Storybook",
844
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
845
+ }
846
+ ]
847
+ },
848
848
  {
849
849
  "name": "bm-close-button",
850
850
  "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",