@viasat/beam-web-components 2.26.0 → 2.27.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/custom-elements.json +582 -582
- package/package.json +6 -6
- package/vscode.html-custom-data.json +133 -133
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.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.
|
|
68
|
-
"@viasat/beam-shared": "2.
|
|
69
|
-
"@viasat/beam-styles": "2.
|
|
70
|
-
"@viasat/beam-tokens": "2.
|
|
71
|
-
"@viasat/beam-icons": "2.
|
|
67
|
+
"@viasat/beam-fonts": "2.27.0",
|
|
68
|
+
"@viasat/beam-shared": "2.27.0",
|
|
69
|
+
"@viasat/beam-styles": "2.27.0",
|
|
70
|
+
"@viasat/beam-tokens": "2.27.0",
|
|
71
|
+
"@viasat/beam-icons": "2.27.0",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -61,6 +61,87 @@
|
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
+
{
|
|
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
|
+
"attributes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "appearance",
|
|
70
|
+
"description": "Specify the appearance of the Badge",
|
|
71
|
+
"values": [
|
|
72
|
+
{ "name": "infoPrimary" },
|
|
73
|
+
{ "name": "infoSecondary" },
|
|
74
|
+
{ "name": "positive" },
|
|
75
|
+
{ "name": "warning" },
|
|
76
|
+
{ "name": "negative" }
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "theme",
|
|
81
|
+
"description": "Theme of the Badge",
|
|
82
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Badge",
|
|
87
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "emphasis",
|
|
91
|
+
"description": "Specify the emphasis of the Badge",
|
|
92
|
+
"values": [
|
|
93
|
+
{ "name": "strong" },
|
|
94
|
+
{ "name": "medium" },
|
|
95
|
+
{ "name": "subtle" }
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
99
|
+
],
|
|
100
|
+
"references": [
|
|
101
|
+
{
|
|
102
|
+
"name": "Storybook",
|
|
103
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
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",
|
|
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
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "appearance",
|
|
118
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
119
|
+
"values": [
|
|
120
|
+
{ "name": "infoPrimary" },
|
|
121
|
+
{ "name": "infoSecondary" },
|
|
122
|
+
{ "name": "positive" },
|
|
123
|
+
{ "name": "warning" },
|
|
124
|
+
{ "name": "negative" }
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "emphasis",
|
|
129
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
130
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "overrideDotColor",
|
|
134
|
+
"description": "Overrides default dot color",
|
|
135
|
+
"values": []
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"references": [
|
|
139
|
+
{
|
|
140
|
+
"name": "Storybook",
|
|
141
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
64
145
|
{
|
|
65
146
|
"name": "bm-alert",
|
|
66
147
|
"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",
|
|
@@ -134,49 +215,6 @@
|
|
|
134
215
|
}
|
|
135
216
|
]
|
|
136
217
|
},
|
|
137
|
-
{
|
|
138
|
-
"name": "bm-badge",
|
|
139
|
-
"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",
|
|
140
|
-
"attributes": [
|
|
141
|
-
{
|
|
142
|
-
"name": "appearance",
|
|
143
|
-
"description": "Specify the appearance of the Badge",
|
|
144
|
-
"values": [
|
|
145
|
-
{ "name": "infoPrimary" },
|
|
146
|
-
{ "name": "infoSecondary" },
|
|
147
|
-
{ "name": "positive" },
|
|
148
|
-
{ "name": "warning" },
|
|
149
|
-
{ "name": "negative" }
|
|
150
|
-
]
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "theme",
|
|
154
|
-
"description": "Theme of the Badge",
|
|
155
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "size",
|
|
159
|
-
"description": "Specify the size of the Badge",
|
|
160
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "emphasis",
|
|
164
|
-
"description": "Specify the emphasis of the Badge",
|
|
165
|
-
"values": [
|
|
166
|
-
{ "name": "strong" },
|
|
167
|
-
{ "name": "medium" },
|
|
168
|
-
{ "name": "subtle" }
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
172
|
-
],
|
|
173
|
-
"references": [
|
|
174
|
-
{
|
|
175
|
-
"name": "Storybook",
|
|
176
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
177
|
-
}
|
|
178
|
-
]
|
|
179
|
-
},
|
|
180
218
|
{
|
|
181
219
|
"name": "bm-box",
|
|
182
220
|
"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",
|
|
@@ -807,44 +845,6 @@
|
|
|
807
845
|
}
|
|
808
846
|
]
|
|
809
847
|
},
|
|
810
|
-
{
|
|
811
|
-
"name": "bm-badge-dot",
|
|
812
|
-
"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",
|
|
813
|
-
"attributes": [
|
|
814
|
-
{
|
|
815
|
-
"name": "theme",
|
|
816
|
-
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
817
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "appearance",
|
|
821
|
-
"description": "Specify the appearance of the BadgeDot",
|
|
822
|
-
"values": [
|
|
823
|
-
{ "name": "infoPrimary" },
|
|
824
|
-
{ "name": "infoSecondary" },
|
|
825
|
-
{ "name": "positive" },
|
|
826
|
-
{ "name": "warning" },
|
|
827
|
-
{ "name": "negative" }
|
|
828
|
-
]
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
"name": "emphasis",
|
|
832
|
-
"description": "Specify the emphasis of the BadgeDot",
|
|
833
|
-
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
"name": "overrideDotColor",
|
|
837
|
-
"description": "Overrides default dot color",
|
|
838
|
-
"values": []
|
|
839
|
-
}
|
|
840
|
-
],
|
|
841
|
-
"references": [
|
|
842
|
-
{
|
|
843
|
-
"name": "Storybook",
|
|
844
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
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",
|
|
@@ -2256,6 +2256,58 @@
|
|
|
2256
2256
|
}
|
|
2257
2257
|
]
|
|
2258
2258
|
},
|
|
2259
|
+
{
|
|
2260
|
+
"name": "bm-radio-button",
|
|
2261
|
+
"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",
|
|
2262
|
+
"attributes": [
|
|
2263
|
+
{
|
|
2264
|
+
"name": "label",
|
|
2265
|
+
"description": "Specify the text for the label",
|
|
2266
|
+
"values": []
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"name": "error",
|
|
2270
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2271
|
+
"values": []
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"name": "readOnly",
|
|
2275
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2276
|
+
"values": []
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"name": "disabled",
|
|
2280
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2281
|
+
"values": []
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
"name": "theme",
|
|
2285
|
+
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2286
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
"name": "value",
|
|
2290
|
+
"description": "The value attribute for the input element",
|
|
2291
|
+
"values": []
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"name": "checked",
|
|
2295
|
+
"description": "The checked attribute for the input element",
|
|
2296
|
+
"values": []
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"name": "onKeyDown",
|
|
2300
|
+
"description": "A user-defined function to handle keydown events",
|
|
2301
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2302
|
+
}
|
|
2303
|
+
],
|
|
2304
|
+
"references": [
|
|
2305
|
+
{
|
|
2306
|
+
"name": "Storybook",
|
|
2307
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2308
|
+
}
|
|
2309
|
+
]
|
|
2310
|
+
},
|
|
2259
2311
|
{
|
|
2260
2312
|
"name": "bm-native-select",
|
|
2261
2313
|
"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",
|
|
@@ -2321,58 +2373,6 @@
|
|
|
2321
2373
|
}
|
|
2322
2374
|
]
|
|
2323
2375
|
},
|
|
2324
|
-
{
|
|
2325
|
-
"name": "bm-radio-button",
|
|
2326
|
-
"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",
|
|
2327
|
-
"attributes": [
|
|
2328
|
-
{
|
|
2329
|
-
"name": "label",
|
|
2330
|
-
"description": "Specify the text for the label",
|
|
2331
|
-
"values": []
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"name": "error",
|
|
2335
|
-
"description": "Specify error text and display error state of a RadioButton",
|
|
2336
|
-
"values": []
|
|
2337
|
-
},
|
|
2338
|
-
{
|
|
2339
|
-
"name": "readOnly",
|
|
2340
|
-
"description": "Specify if RadioButton displays in a read-only state",
|
|
2341
|
-
"values": []
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"name": "disabled",
|
|
2345
|
-
"description": "Specify if RadioButton displays in a disabled state",
|
|
2346
|
-
"values": []
|
|
2347
|
-
},
|
|
2348
|
-
{
|
|
2349
|
-
"name": "theme",
|
|
2350
|
-
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2351
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2352
|
-
},
|
|
2353
|
-
{
|
|
2354
|
-
"name": "value",
|
|
2355
|
-
"description": "The value attribute for the input element",
|
|
2356
|
-
"values": []
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
"name": "checked",
|
|
2360
|
-
"description": "The checked attribute for the input element",
|
|
2361
|
-
"values": []
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
"name": "onKeyDown",
|
|
2365
|
-
"description": "A user-defined function to handle keydown events",
|
|
2366
|
-
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2367
|
-
}
|
|
2368
|
-
],
|
|
2369
|
-
"references": [
|
|
2370
|
-
{
|
|
2371
|
-
"name": "Storybook",
|
|
2372
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2373
|
-
}
|
|
2374
|
-
]
|
|
2375
|
-
},
|
|
2376
2376
|
{
|
|
2377
2377
|
"name": "bm-switch",
|
|
2378
2378
|
"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.",
|