@viasat/beam-web-components 2.49.0 → 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/custom-elements.json +3306 -3306
- package/package.json +6 -6
- package/vscode.html-custom-data.json +245 -245
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.49.
|
|
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.49.
|
|
68
|
-
"@viasat/beam-shared": "2.49.
|
|
69
|
-
"@viasat/beam-styles": "2.49.
|
|
70
|
-
"@viasat/beam-tokens": "2.49.
|
|
71
|
-
"@viasat/beam-icons": "2.49.
|
|
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,100 +62,83 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": "bm-
|
|
66
|
-
"description": "`bm-
|
|
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
|
|
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": "
|
|
89
|
-
{ "name": "
|
|
90
|
-
{ "name": "
|
|
91
|
-
{ "name": "
|
|
92
|
-
{ "name": "
|
|
72
|
+
{ "name": "infoPrimary" },
|
|
73
|
+
{ "name": "infoSecondary" },
|
|
74
|
+
{ "name": "positive" },
|
|
75
|
+
{ "name": "warning" },
|
|
76
|
+
{ "name": "negative" }
|
|
93
77
|
]
|
|
94
78
|
},
|
|
95
79
|
{
|
|
96
|
-
"name": "
|
|
97
|
-
"description": "
|
|
98
|
-
"values": []
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "shape",
|
|
102
|
-
"description": "Specify the shape of the Avatar",
|
|
103
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
80
|
+
"name": "theme",
|
|
81
|
+
"description": "Theme of the Badge",
|
|
82
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
104
83
|
},
|
|
105
84
|
{
|
|
106
|
-
"name": "
|
|
107
|
-
"description": "
|
|
108
|
-
"values": []
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Badge",
|
|
87
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
109
88
|
},
|
|
110
89
|
{
|
|
111
|
-
"name": "
|
|
112
|
-
"description": "
|
|
113
|
-
"values": [
|
|
90
|
+
"name": "emphasis",
|
|
91
|
+
"description": "Specify the emphasis of the Badge",
|
|
92
|
+
"values": [
|
|
93
|
+
{ "name": "strong" },
|
|
94
|
+
{ "name": "medium" },
|
|
95
|
+
{ "name": "subtle" }
|
|
96
|
+
]
|
|
114
97
|
},
|
|
115
|
-
{ "name": "
|
|
98
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
116
99
|
],
|
|
117
100
|
"references": [
|
|
118
101
|
{
|
|
119
102
|
"name": "Storybook",
|
|
120
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
103
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
121
104
|
}
|
|
122
105
|
]
|
|
123
106
|
},
|
|
124
107
|
{
|
|
125
|
-
"name": "bm-
|
|
126
|
-
"description": "`bm-
|
|
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",
|
|
127
110
|
"attributes": [
|
|
128
111
|
{
|
|
129
|
-
"name": "
|
|
130
|
-
"description": "Specify
|
|
131
|
-
"values": []
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "maxCount",
|
|
135
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
136
|
-
"values": []
|
|
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" }]
|
|
137
115
|
},
|
|
138
116
|
{
|
|
139
|
-
"name": "
|
|
140
|
-
"description": "Specify the
|
|
117
|
+
"name": "appearance",
|
|
118
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
141
119
|
"values": [
|
|
142
|
-
{ "name": "
|
|
143
|
-
{ "name": "
|
|
144
|
-
{ "name": "
|
|
145
|
-
{ "name": "
|
|
146
|
-
{ "name": "
|
|
120
|
+
{ "name": "infoPrimary" },
|
|
121
|
+
{ "name": "infoSecondary" },
|
|
122
|
+
{ "name": "positive" },
|
|
123
|
+
{ "name": "warning" },
|
|
124
|
+
{ "name": "negative" }
|
|
147
125
|
]
|
|
148
126
|
},
|
|
149
127
|
{
|
|
150
|
-
"name": "
|
|
151
|
-
"description": "Specify the
|
|
152
|
-
"values": [{ "name": "
|
|
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": []
|
|
153
136
|
}
|
|
154
137
|
],
|
|
155
138
|
"references": [
|
|
156
139
|
{
|
|
157
140
|
"name": "Storybook",
|
|
158
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
141
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
159
142
|
}
|
|
160
143
|
]
|
|
161
144
|
},
|
|
@@ -232,87 +215,6 @@
|
|
|
232
215
|
}
|
|
233
216
|
]
|
|
234
217
|
},
|
|
235
|
-
{
|
|
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",
|
|
238
|
-
"attributes": [
|
|
239
|
-
{
|
|
240
|
-
"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
|
-
]
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"name": "theme",
|
|
252
|
-
"description": "Theme of the Badge",
|
|
253
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"name": "size",
|
|
257
|
-
"description": "Specify the size of the Badge",
|
|
258
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"name": "emphasis",
|
|
262
|
-
"description": "Specify the emphasis of the Badge",
|
|
263
|
-
"values": [
|
|
264
|
-
{ "name": "strong" },
|
|
265
|
-
{ "name": "medium" },
|
|
266
|
-
{ "name": "subtle" }
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
270
|
-
],
|
|
271
|
-
"references": [
|
|
272
|
-
{
|
|
273
|
-
"name": "Storybook",
|
|
274
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
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
218
|
{
|
|
317
219
|
"name": "bm-box",
|
|
318
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",
|
|
@@ -777,6 +679,104 @@
|
|
|
777
679
|
}
|
|
778
680
|
]
|
|
779
681
|
},
|
|
682
|
+
{
|
|
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",
|
|
685
|
+
"attributes": [
|
|
686
|
+
{
|
|
687
|
+
"name": "appearance",
|
|
688
|
+
"description": "Specify the appearance of the Avatar",
|
|
689
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
690
|
+
},
|
|
691
|
+
{
|
|
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",
|
|
705
|
+
"values": [
|
|
706
|
+
{ "name": "xs" },
|
|
707
|
+
{ "name": "sm" },
|
|
708
|
+
{ "name": "md" },
|
|
709
|
+
{ "name": "lg" },
|
|
710
|
+
{ "name": "xl" }
|
|
711
|
+
]
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "disabled",
|
|
715
|
+
"description": "Specify if the Avatar is disabled",
|
|
716
|
+
"values": []
|
|
717
|
+
},
|
|
718
|
+
{
|
|
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",
|
|
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
|
+
}
|
|
772
|
+
],
|
|
773
|
+
"references": [
|
|
774
|
+
{
|
|
775
|
+
"name": "Storybook",
|
|
776
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
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,6 +1909,51 @@
|
|
|
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
|
+
},
|
|
1912
1957
|
{
|
|
1913
1958
|
"name": "bm-file-upload-button",
|
|
1914
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",
|
|
@@ -2216,51 +2261,6 @@
|
|
|
2216
2261
|
}
|
|
2217
2262
|
]
|
|
2218
2263
|
},
|
|
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",
|
|
@@ -2331,6 +2331,58 @@
|
|
|
2331
2331
|
}
|
|
2332
2332
|
]
|
|
2333
2333
|
},
|
|
2334
|
+
{
|
|
2335
|
+
"name": "bm-radio-button",
|
|
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",
|
|
2337
|
+
"attributes": [
|
|
2338
|
+
{
|
|
2339
|
+
"name": "label",
|
|
2340
|
+
"description": "Specify the text for the label",
|
|
2341
|
+
"values": []
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"name": "error",
|
|
2345
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2346
|
+
"values": []
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"name": "readOnly",
|
|
2350
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2351
|
+
"values": []
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"name": "disabled",
|
|
2355
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2356
|
+
"values": []
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"name": "theme",
|
|
2360
|
+
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2361
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"name": "value",
|
|
2365
|
+
"description": "The value attribute for the input element",
|
|
2366
|
+
"values": []
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"name": "checked",
|
|
2370
|
+
"description": "The checked attribute for the input element",
|
|
2371
|
+
"values": []
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"name": "onKeyDown",
|
|
2375
|
+
"description": "A user-defined function to handle keydown events",
|
|
2376
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2377
|
+
}
|
|
2378
|
+
],
|
|
2379
|
+
"references": [
|
|
2380
|
+
{
|
|
2381
|
+
"name": "Storybook",
|
|
2382
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2383
|
+
}
|
|
2384
|
+
]
|
|
2385
|
+
},
|
|
2334
2386
|
{
|
|
2335
2387
|
"name": "bm-switch",
|
|
2336
2388
|
"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.",
|
|
@@ -2464,58 +2516,6 @@
|
|
|
2464
2516
|
}
|
|
2465
2517
|
]
|
|
2466
2518
|
},
|
|
2467
|
-
{
|
|
2468
|
-
"name": "bm-radio-button",
|
|
2469
|
-
"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",
|
|
2470
|
-
"attributes": [
|
|
2471
|
-
{
|
|
2472
|
-
"name": "label",
|
|
2473
|
-
"description": "Specify the text for the label",
|
|
2474
|
-
"values": []
|
|
2475
|
-
},
|
|
2476
|
-
{
|
|
2477
|
-
"name": "error",
|
|
2478
|
-
"description": "Specify error text and display error state of a RadioButton",
|
|
2479
|
-
"values": []
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"name": "readOnly",
|
|
2483
|
-
"description": "Specify if RadioButton displays in a read-only state",
|
|
2484
|
-
"values": []
|
|
2485
|
-
},
|
|
2486
|
-
{
|
|
2487
|
-
"name": "disabled",
|
|
2488
|
-
"description": "Specify if RadioButton displays in a disabled state",
|
|
2489
|
-
"values": []
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
"name": "theme",
|
|
2493
|
-
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2494
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
"name": "value",
|
|
2498
|
-
"description": "The value attribute for the input element",
|
|
2499
|
-
"values": []
|
|
2500
|
-
},
|
|
2501
|
-
{
|
|
2502
|
-
"name": "checked",
|
|
2503
|
-
"description": "The checked attribute for the input element",
|
|
2504
|
-
"values": []
|
|
2505
|
-
},
|
|
2506
|
-
{
|
|
2507
|
-
"name": "onKeyDown",
|
|
2508
|
-
"description": "A user-defined function to handle keydown events",
|
|
2509
|
-
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2510
|
-
}
|
|
2511
|
-
],
|
|
2512
|
-
"references": [
|
|
2513
|
-
{
|
|
2514
|
-
"name": "Storybook",
|
|
2515
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
2518
|
-
},
|
|
2519
2519
|
{
|
|
2520
2520
|
"name": "bm-checkbox-group",
|
|
2521
2521
|
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
@@ -2586,8 +2586,8 @@
|
|
|
2586
2586
|
]
|
|
2587
2587
|
},
|
|
2588
2588
|
{
|
|
2589
|
-
"name": "bm-
|
|
2590
|
-
"description": "
|
|
2589
|
+
"name": "bm-radio-button-group",
|
|
2590
|
+
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
2591
2591
|
"attributes": [
|
|
2592
2592
|
{
|
|
2593
2593
|
"name": "theme",
|
|
@@ -2650,13 +2650,13 @@
|
|
|
2650
2650
|
"references": [
|
|
2651
2651
|
{
|
|
2652
2652
|
"name": "Storybook",
|
|
2653
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2653
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2654
2654
|
}
|
|
2655
2655
|
]
|
|
2656
2656
|
},
|
|
2657
2657
|
{
|
|
2658
|
-
"name": "bm-
|
|
2659
|
-
"description": "
|
|
2658
|
+
"name": "bm-switch-group",
|
|
2659
|
+
"description": "`bm-switch-group`\n---\n\n\n### **Slots:**\n - **label** - Slot for the label of the SwitchGroup\n- **helperText** - Slot for the helper text of the SwitchGroup",
|
|
2660
2660
|
"attributes": [
|
|
2661
2661
|
{
|
|
2662
2662
|
"name": "theme",
|
|
@@ -2719,7 +2719,7 @@
|
|
|
2719
2719
|
"references": [
|
|
2720
2720
|
{
|
|
2721
2721
|
"name": "Storybook",
|
|
2722
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2722
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2723
2723
|
}
|
|
2724
2724
|
]
|
|
2725
2725
|
}
|