@viasat/beam-web-components 2.48.2 → 2.49.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.48.2",
3
+ "version": "2.49.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.48.2",
68
- "@viasat/beam-shared": "2.48.2",
69
- "@viasat/beam-styles": "2.48.2",
70
- "@viasat/beam-tokens": "2.48.2",
71
- "@viasat/beam-icons": "2.48.2",
67
+ "@viasat/beam-fonts": "2.49.1",
68
+ "@viasat/beam-shared": "2.49.1",
69
+ "@viasat/beam-styles": "2.49.1",
70
+ "@viasat/beam-tokens": "2.49.1",
71
+ "@viasat/beam-icons": "2.49.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
  },
@@ -740,40 +680,100 @@
740
680
  ]
741
681
  },
742
682
  {
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",
683
+ "name": "bm-avatar",
684
+ "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",
745
685
  "attributes": [
746
686
  {
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" }]
687
+ "name": "appearance",
688
+ "description": "Specify the appearance of the Avatar",
689
+ "values": [{ "name": "accent" }, { "name": "neutral" }]
750
690
  },
751
691
  {
752
- "name": "appearance",
753
- "description": "Specify the appearance of the BadgeDot",
692
+ "name": "name",
693
+ "description": "Specify a name to display initials in the Avatar",
694
+ "values": []
695
+ },
696
+ {
697
+ "name": "src",
698
+ "description": "Pass an image to the Avatar",
699
+ "values": []
700
+ },
701
+ { "name": "alt", "description": "Specify alt for image", "values": [] },
702
+ {
703
+ "name": "size",
704
+ "description": "Specify the size of the Avatar",
754
705
  "values": [
755
- { "name": "infoPrimary" },
756
- { "name": "infoSecondary" },
757
- { "name": "positive" },
758
- { "name": "warning" },
759
- { "name": "negative" }
706
+ { "name": "xs" },
707
+ { "name": "sm" },
708
+ { "name": "md" },
709
+ { "name": "lg" },
710
+ { "name": "xl" }
760
711
  ]
761
712
  },
762
713
  {
763
- "name": "emphasis",
764
- "description": "Specify the emphasis of the BadgeDot",
765
- "values": [{ "name": "strong" }, { "name": "subtle" }]
714
+ "name": "disabled",
715
+ "description": "Specify if the Avatar is disabled",
716
+ "values": []
766
717
  },
767
718
  {
768
- "name": "overrideDotColor",
769
- "description": "Overrides default dot color",
719
+ "name": "shape",
720
+ "description": "Specify the shape of the Avatar",
721
+ "values": [{ "name": "circle" }, { "name": "square" }]
722
+ },
723
+ {
724
+ "name": "isInteractive",
725
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
726
+ "values": []
727
+ },
728
+ {
729
+ "name": "isFocusable",
730
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
770
731
  "values": []
732
+ },
733
+ { "name": "withBorder", "values": [] }
734
+ ],
735
+ "references": [
736
+ {
737
+ "name": "Storybook",
738
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "name": "bm-avatar-group",
744
+ "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",
745
+ "attributes": [
746
+ {
747
+ "name": "wrapping",
748
+ "description": "Specify if the AvatarGroup wraps",
749
+ "values": []
750
+ },
751
+ {
752
+ "name": "maxCount",
753
+ "description": "Specify the max number of avatars displayed in the group.",
754
+ "values": []
755
+ },
756
+ {
757
+ "name": "size",
758
+ "description": "Specify the size of all Avatars",
759
+ "values": [
760
+ { "name": "xs" },
761
+ { "name": "sm" },
762
+ { "name": "md" },
763
+ { "name": "lg" },
764
+ { "name": "xl" }
765
+ ]
766
+ },
767
+ {
768
+ "name": "layout",
769
+ "description": "Specify the kind of the group.",
770
+ "values": [{ "name": "stacked" }, { "name": "spaced" }]
771
771
  }
772
772
  ],
773
773
  "references": [
774
774
  {
775
775
  "name": "Storybook",
776
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
776
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
777
777
  }
778
778
  ]
779
779
  },
@@ -1954,76 +1954,6 @@
1954
1954
  }
1955
1955
  ]
1956
1956
  },
1957
- {
1958
- "name": "bm-native-select",
1959
- "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",
1960
- "attributes": [
1961
- {
1962
- "name": "required",
1963
- "description": "Specify if NativeSelect is a required input",
1964
- "values": []
1965
- },
1966
- {
1967
- "name": "readOnly",
1968
- "description": "Specify if NativeSelect displays in a read-only state",
1969
- "values": []
1970
- },
1971
- {
1972
- "name": "disabled",
1973
- "description": "Specify if NativeSelect displays in a disabled state",
1974
- "values": []
1975
- },
1976
- {
1977
- "name": "error",
1978
- "description": "Specify error text and display error state of a NativeSelect",
1979
- "values": []
1980
- },
1981
- {
1982
- "name": "fluid",
1983
- "description": "Specify if NativeSelect is fluid",
1984
- "values": []
1985
- },
1986
- {
1987
- "name": "size",
1988
- "description": "Specify the size of NativeSelect",
1989
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
1990
- },
1991
- {
1992
- "name": "width",
1993
- "description": "Specify the width of NativeSelect",
1994
- "values": []
1995
- },
1996
- {
1997
- "name": "ellipse",
1998
- "description": "Specify if overflow displays ellipsis",
1999
- "values": []
2000
- },
2001
- {
2002
- "name": "hideRequiredMarker",
2003
- "description": "Specify if the NativeSelect displays with an asterisk",
2004
- "values": []
2005
- },
2006
- {
2007
- "name": "theme",
2008
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
2009
- "values": [{ "name": "light" }, { "name": "dark" }]
2010
- },
2011
- { "name": "id", "values": [] },
2012
- { "name": "name", "values": [] },
2013
- { "name": "value", "values": [] },
2014
- {
2015
- "name": "validationRules",
2016
- "values": [{ "name": "Array<FormValidator>" }]
2017
- },
2018
- { "name": "input-aria-label", "values": [] }
2019
- ],
2020
- "references": [
2021
- {
2022
- "name": "Storybook",
2023
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
2024
- }
2025
- ]
2026
- },
2027
1957
  {
2028
1958
  "name": "bm-file-upload-button",
2029
1959
  "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",
@@ -2331,6 +2261,76 @@
2331
2261
  }
2332
2262
  ]
2333
2263
  },
2264
+ {
2265
+ "name": "bm-native-select",
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",
2267
+ "attributes": [
2268
+ {
2269
+ "name": "required",
2270
+ "description": "Specify if NativeSelect is a required input",
2271
+ "values": []
2272
+ },
2273
+ {
2274
+ "name": "readOnly",
2275
+ "description": "Specify if NativeSelect displays in a read-only state",
2276
+ "values": []
2277
+ },
2278
+ {
2279
+ "name": "disabled",
2280
+ "description": "Specify if NativeSelect displays in a disabled state",
2281
+ "values": []
2282
+ },
2283
+ {
2284
+ "name": "error",
2285
+ "description": "Specify error text and display error state of a NativeSelect",
2286
+ "values": []
2287
+ },
2288
+ {
2289
+ "name": "fluid",
2290
+ "description": "Specify if NativeSelect is fluid",
2291
+ "values": []
2292
+ },
2293
+ {
2294
+ "name": "size",
2295
+ "description": "Specify the size of NativeSelect",
2296
+ "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
2297
+ },
2298
+ {
2299
+ "name": "width",
2300
+ "description": "Specify the width of NativeSelect",
2301
+ "values": []
2302
+ },
2303
+ {
2304
+ "name": "ellipse",
2305
+ "description": "Specify if overflow displays ellipsis",
2306
+ "values": []
2307
+ },
2308
+ {
2309
+ "name": "hideRequiredMarker",
2310
+ "description": "Specify if the NativeSelect displays with an asterisk",
2311
+ "values": []
2312
+ },
2313
+ {
2314
+ "name": "theme",
2315
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
2316
+ "values": [{ "name": "light" }, { "name": "dark" }]
2317
+ },
2318
+ { "name": "id", "values": [] },
2319
+ { "name": "name", "values": [] },
2320
+ { "name": "value", "values": [] },
2321
+ {
2322
+ "name": "validationRules",
2323
+ "values": [{ "name": "Array<FormValidator>" }]
2324
+ },
2325
+ { "name": "input-aria-label", "values": [] }
2326
+ ],
2327
+ "references": [
2328
+ {
2329
+ "name": "Storybook",
2330
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
2331
+ }
2332
+ ]
2333
+ },
2334
2334
  {
2335
2335
  "name": "bm-radio-button",
2336
2336
  "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",