@viasat/beam-web-components 2.72.0 → 2.72.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.72.0",
3
+ "version": "2.72.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.72.0",
68
- "@viasat/beam-shared": "2.72.0",
69
- "@viasat/beam-styles": "2.72.0",
70
- "@viasat/beam-tokens": "2.72.0",
71
- "@viasat/beam-icons": "2.72.0",
67
+ "@viasat/beam-fonts": "2.72.1",
68
+ "@viasat/beam-shared": "2.72.1",
69
+ "@viasat/beam-styles": "2.72.1",
70
+ "@viasat/beam-tokens": "2.72.1",
71
+ "@viasat/beam-icons": "2.72.1",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -160,80 +160,17 @@
160
160
  ]
161
161
  },
162
162
  {
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",
165
- "attributes": [
166
- {
167
- "name": "appearance",
168
- "description": "Specify the appearance of the Badge",
169
- "values": [
170
- { "name": "infoPrimary" },
171
- { "name": "infoSecondary" },
172
- { "name": "positive" },
173
- { "name": "warning" },
174
- { "name": "negative" }
175
- ]
176
- },
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
- {
188
- "name": "emphasis",
189
- "description": "Specify the emphasis of the Badge",
190
- "values": [
191
- { "name": "strong" },
192
- { "name": "medium" },
193
- { "name": "subtle" }
194
- ]
195
- },
196
- { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
197
- ],
198
- "references": [
199
- {
200
- "name": "Storybook",
201
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
202
- }
203
- ]
204
- },
205
- {
206
- "name": "bm-alert",
207
- "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",
163
+ "name": "bm-badge-dot",
164
+ "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",
208
165
  "attributes": [
209
- {
210
- "name": "heading",
211
- "description": "Specify the heading text for Alert",
212
- "values": []
213
- },
214
- {
215
- "name": "body",
216
- "description": "Specify the body text for Alert",
217
- "values": []
218
- },
219
- {
220
- "name": "size",
221
- "description": "Specify the size of the Alert",
222
- "values": [{ "name": "sm" }, { "name": "md" }]
223
- },
224
- {
225
- "name": "fullWidth",
226
- "description": "Specify if the Alert has no border radius",
227
- "values": []
228
- },
229
166
  {
230
167
  "name": "theme",
231
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
168
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
232
169
  "values": [{ "name": "light" }, { "name": "dark" }]
233
170
  },
234
171
  {
235
172
  "name": "appearance",
236
- "description": "Specify the appearance of the Alert",
173
+ "description": "Specify the appearance of the BadgeDot",
237
174
  "values": [
238
175
  { "name": "infoPrimary" },
239
176
  { "name": "infoSecondary" },
@@ -243,35 +180,20 @@
243
180
  ]
244
181
  },
245
182
  {
246
- "name": "hidden",
247
- "description": "Specify if the Alert is hidden",
248
- "values": []
249
- },
250
- {
251
- "name": "hideIcon",
252
- "description": "Specify if the icon displays on the Alert",
253
- "values": []
254
- },
255
- {
256
- "name": "dismissible",
257
- "description": "Specify if the Alert can be dismissed",
258
- "values": []
259
- },
260
- {
261
- "name": "disableAutoFocus",
262
- "description": "Prevent autofocus on show",
263
- "values": []
183
+ "name": "emphasis",
184
+ "description": "Specify the emphasis of the BadgeDot",
185
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
264
186
  },
265
187
  {
266
- "name": "disableCloseOnEscape",
267
- "description": "Prevent Escape from closing",
188
+ "name": "overrideDotColor",
189
+ "description": "Overrides default dot color",
268
190
  "values": []
269
191
  }
270
192
  ],
271
193
  "references": [
272
194
  {
273
195
  "name": "Storybook",
274
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
196
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
275
197
  }
276
198
  ]
277
199
  },
@@ -678,44 +600,6 @@
678
600
  }
679
601
  ]
680
602
  },
681
- {
682
- "name": "bm-badge-dot",
683
- "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",
684
- "attributes": [
685
- {
686
- "name": "theme",
687
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
688
- "values": [{ "name": "light" }, { "name": "dark" }]
689
- },
690
- {
691
- "name": "appearance",
692
- "description": "Specify the appearance of the BadgeDot",
693
- "values": [
694
- { "name": "infoPrimary" },
695
- { "name": "infoSecondary" },
696
- { "name": "positive" },
697
- { "name": "warning" },
698
- { "name": "negative" }
699
- ]
700
- },
701
- {
702
- "name": "emphasis",
703
- "description": "Specify the emphasis of the BadgeDot",
704
- "values": [{ "name": "strong" }, { "name": "subtle" }]
705
- },
706
- {
707
- "name": "overrideDotColor",
708
- "description": "Overrides default dot color",
709
- "values": []
710
- }
711
- ],
712
- "references": [
713
- {
714
- "name": "Storybook",
715
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
716
- }
717
- ]
718
- },
719
603
  {
720
604
  "name": "bm-breadcrumb",
721
605
  "description": "`bm-breadcrumb`\n\n### Attributes:\n- **wrap** - Specify if items wrap or collapse to an ellipsis\n- **itemsBeforeCollapse** - Specify how many items show before ellipsis\n- **itemsAfterCollapse** - Specify how many items show after ellipsis\n- **theme** - Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Pass items to the Breadcrumb",
@@ -845,6 +729,122 @@
845
729
  }
846
730
  ]
847
731
  },
732
+ {
733
+ "name": "bm-alert",
734
+ "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",
735
+ "attributes": [
736
+ {
737
+ "name": "heading",
738
+ "description": "Specify the heading text for Alert",
739
+ "values": []
740
+ },
741
+ {
742
+ "name": "body",
743
+ "description": "Specify the body text for Alert",
744
+ "values": []
745
+ },
746
+ {
747
+ "name": "size",
748
+ "description": "Specify the size of the Alert",
749
+ "values": [{ "name": "sm" }, { "name": "md" }]
750
+ },
751
+ {
752
+ "name": "fullWidth",
753
+ "description": "Specify if the Alert has no border radius",
754
+ "values": []
755
+ },
756
+ {
757
+ "name": "theme",
758
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
759
+ "values": [{ "name": "light" }, { "name": "dark" }]
760
+ },
761
+ {
762
+ "name": "appearance",
763
+ "description": "Specify the appearance of the Alert",
764
+ "values": [
765
+ { "name": "infoPrimary" },
766
+ { "name": "infoSecondary" },
767
+ { "name": "positive" },
768
+ { "name": "warning" },
769
+ { "name": "negative" }
770
+ ]
771
+ },
772
+ {
773
+ "name": "hidden",
774
+ "description": "Specify if the Alert is hidden",
775
+ "values": []
776
+ },
777
+ {
778
+ "name": "hideIcon",
779
+ "description": "Specify if the icon displays on the Alert",
780
+ "values": []
781
+ },
782
+ {
783
+ "name": "dismissible",
784
+ "description": "Specify if the Alert can be dismissed",
785
+ "values": []
786
+ },
787
+ {
788
+ "name": "disableAutoFocus",
789
+ "description": "Prevent autofocus on show",
790
+ "values": []
791
+ },
792
+ {
793
+ "name": "disableCloseOnEscape",
794
+ "description": "Prevent Escape from closing",
795
+ "values": []
796
+ }
797
+ ],
798
+ "references": [
799
+ {
800
+ "name": "Storybook",
801
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
802
+ }
803
+ ]
804
+ },
805
+ {
806
+ "name": "bm-badge",
807
+ "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",
808
+ "attributes": [
809
+ {
810
+ "name": "appearance",
811
+ "description": "Specify the appearance of the Badge",
812
+ "values": [
813
+ { "name": "infoPrimary" },
814
+ { "name": "infoSecondary" },
815
+ { "name": "positive" },
816
+ { "name": "warning" },
817
+ { "name": "negative" }
818
+ ]
819
+ },
820
+ {
821
+ "name": "theme",
822
+ "description": "Theme of the Badge",
823
+ "values": [{ "name": "light" }, { "name": "dark" }]
824
+ },
825
+ {
826
+ "name": "size",
827
+ "description": "Specify the size of the Badge",
828
+ "values": [{ "name": "sm" }, { "name": "md" }]
829
+ },
830
+ {
831
+ "name": "emphasis",
832
+ "description": "Specify the emphasis of the Badge",
833
+ "values": [
834
+ { "name": "strong" },
835
+ { "name": "medium" },
836
+ { "name": "subtle" }
837
+ ]
838
+ },
839
+ { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
840
+ ],
841
+ "references": [
842
+ {
843
+ "name": "Storybook",
844
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
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",
@@ -2045,8 +2045,175 @@
2045
2045
  ]
2046
2046
  },
2047
2047
  {
2048
- "name": "bm-file-upload-button",
2049
- "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",
2048
+ "name": "bm-native-select",
2049
+ "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",
2050
+ "attributes": [
2051
+ {
2052
+ "name": "required",
2053
+ "description": "Specify if NativeSelect is a required input",
2054
+ "values": []
2055
+ },
2056
+ {
2057
+ "name": "readOnly",
2058
+ "description": "Specify if NativeSelect displays in a read-only state",
2059
+ "values": []
2060
+ },
2061
+ {
2062
+ "name": "disabled",
2063
+ "description": "Specify if NativeSelect displays in a disabled state",
2064
+ "values": []
2065
+ },
2066
+ {
2067
+ "name": "fluid",
2068
+ "description": "Specify if NativeSelect is fluid",
2069
+ "values": []
2070
+ },
2071
+ {
2072
+ "name": "size",
2073
+ "description": "Specify the size of NativeSelect",
2074
+ "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
2075
+ },
2076
+ {
2077
+ "name": "width",
2078
+ "description": "Specify the width of NativeSelect",
2079
+ "values": []
2080
+ },
2081
+ {
2082
+ "name": "ellipse",
2083
+ "description": "Specify if overflow displays ellipsis",
2084
+ "values": []
2085
+ },
2086
+ {
2087
+ "name": "hideRequiredMarker",
2088
+ "description": "Specify if the NativeSelect displays with an asterisk",
2089
+ "values": []
2090
+ },
2091
+ {
2092
+ "name": "theme",
2093
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
2094
+ "values": [{ "name": "light" }, { "name": "dark" }]
2095
+ },
2096
+ { "name": "id", "values": [] },
2097
+ { "name": "name", "values": [] },
2098
+ { "name": "value", "values": [] },
2099
+ {
2100
+ "name": "validationRules",
2101
+ "values": [{ "name": "Array<FormValidator>" }]
2102
+ },
2103
+ { "name": "input-aria-label", "values": [] },
2104
+ {
2105
+ "name": "error",
2106
+ "description": "Specify error text and display error state.\nPass a string to show an error message, or `true` to show the error\nstate without a message.",
2107
+ "values": [{ "name": "Optional<boolean" }, { "name": "string>" }]
2108
+ }
2109
+ ],
2110
+ "references": [
2111
+ {
2112
+ "name": "Storybook",
2113
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
2114
+ }
2115
+ ]
2116
+ },
2117
+ {
2118
+ "name": "bm-form",
2119
+ "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",
2120
+ "attributes": [
2121
+ {
2122
+ "name": "validationMode",
2123
+ "description": "Specify if validation runs on change or when loosing focus",
2124
+ "values": [
2125
+ { "name": "onChange" },
2126
+ { "name": "onBlur" },
2127
+ { "name": "onSubmit" }
2128
+ ]
2129
+ },
2130
+ {
2131
+ "name": "initialValues",
2132
+ "description": "Specify initial values on Form controls based on their names",
2133
+ "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2134
+ },
2135
+ {
2136
+ "name": "required",
2137
+ "description": "Specify if input is a required",
2138
+ "values": []
2139
+ },
2140
+ {
2141
+ "name": "disabled",
2142
+ "description": "Specify if input is a disabled",
2143
+ "values": []
2144
+ },
2145
+ {
2146
+ "name": "readOnly",
2147
+ "description": "Specify if input is a read only",
2148
+ "values": []
2149
+ },
2150
+ { "name": "action", "values": [] },
2151
+ { "name": "method", "values": [] },
2152
+ { "name": "target", "values": [] },
2153
+ { "name": "enctype", "values": [] }
2154
+ ],
2155
+ "references": [
2156
+ {
2157
+ "name": "Storybook",
2158
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2159
+ }
2160
+ ]
2161
+ },
2162
+ {
2163
+ "name": "bm-radio-button",
2164
+ "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",
2165
+ "attributes": [
2166
+ {
2167
+ "name": "label",
2168
+ "description": "Specify the text for the label",
2169
+ "values": []
2170
+ },
2171
+ {
2172
+ "name": "error",
2173
+ "description": "Specify error text and display error state of a RadioButton",
2174
+ "values": []
2175
+ },
2176
+ {
2177
+ "name": "readOnly",
2178
+ "description": "Specify if RadioButton displays in a read-only state",
2179
+ "values": []
2180
+ },
2181
+ {
2182
+ "name": "disabled",
2183
+ "description": "Specify if RadioButton displays in a disabled state",
2184
+ "values": []
2185
+ },
2186
+ {
2187
+ "name": "theme",
2188
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2189
+ "values": [{ "name": "light" }, { "name": "dark" }]
2190
+ },
2191
+ {
2192
+ "name": "value",
2193
+ "description": "The value attribute for the input element",
2194
+ "values": []
2195
+ },
2196
+ {
2197
+ "name": "checked",
2198
+ "description": "The checked attribute for the input element",
2199
+ "values": []
2200
+ },
2201
+ {
2202
+ "name": "onKeyDown",
2203
+ "description": "A user-defined function to handle keydown events",
2204
+ "values": [{ "name": "(event: KeyboardEvent) => void" }]
2205
+ }
2206
+ ],
2207
+ "references": [
2208
+ {
2209
+ "name": "Storybook",
2210
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2211
+ }
2212
+ ]
2213
+ },
2214
+ {
2215
+ "name": "bm-file-upload-button",
2216
+ "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",
2050
2217
  "attributes": [
2051
2218
  {
2052
2219
  "name": "error",
@@ -2351,173 +2518,6 @@
2351
2518
  }
2352
2519
  ]
2353
2520
  },
2354
- {
2355
- "name": "bm-form",
2356
- "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",
2357
- "attributes": [
2358
- {
2359
- "name": "validationMode",
2360
- "description": "Specify if validation runs on change or when loosing focus",
2361
- "values": [
2362
- { "name": "onChange" },
2363
- { "name": "onBlur" },
2364
- { "name": "onSubmit" }
2365
- ]
2366
- },
2367
- {
2368
- "name": "initialValues",
2369
- "description": "Specify initial values on Form controls based on their names",
2370
- "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2371
- },
2372
- {
2373
- "name": "required",
2374
- "description": "Specify if input is a required",
2375
- "values": []
2376
- },
2377
- {
2378
- "name": "disabled",
2379
- "description": "Specify if input is a disabled",
2380
- "values": []
2381
- },
2382
- {
2383
- "name": "readOnly",
2384
- "description": "Specify if input is a read only",
2385
- "values": []
2386
- },
2387
- { "name": "action", "values": [] },
2388
- { "name": "method", "values": [] },
2389
- { "name": "target", "values": [] },
2390
- { "name": "enctype", "values": [] }
2391
- ],
2392
- "references": [
2393
- {
2394
- "name": "Storybook",
2395
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2396
- }
2397
- ]
2398
- },
2399
- {
2400
- "name": "bm-radio-button",
2401
- "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",
2402
- "attributes": [
2403
- {
2404
- "name": "label",
2405
- "description": "Specify the text for the label",
2406
- "values": []
2407
- },
2408
- {
2409
- "name": "error",
2410
- "description": "Specify error text and display error state of a RadioButton",
2411
- "values": []
2412
- },
2413
- {
2414
- "name": "readOnly",
2415
- "description": "Specify if RadioButton displays in a read-only state",
2416
- "values": []
2417
- },
2418
- {
2419
- "name": "disabled",
2420
- "description": "Specify if RadioButton displays in a disabled state",
2421
- "values": []
2422
- },
2423
- {
2424
- "name": "theme",
2425
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2426
- "values": [{ "name": "light" }, { "name": "dark" }]
2427
- },
2428
- {
2429
- "name": "value",
2430
- "description": "The value attribute for the input element",
2431
- "values": []
2432
- },
2433
- {
2434
- "name": "checked",
2435
- "description": "The checked attribute for the input element",
2436
- "values": []
2437
- },
2438
- {
2439
- "name": "onKeyDown",
2440
- "description": "A user-defined function to handle keydown events",
2441
- "values": [{ "name": "(event: KeyboardEvent) => void" }]
2442
- }
2443
- ],
2444
- "references": [
2445
- {
2446
- "name": "Storybook",
2447
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2448
- }
2449
- ]
2450
- },
2451
- {
2452
- "name": "bm-native-select",
2453
- "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",
2454
- "attributes": [
2455
- {
2456
- "name": "required",
2457
- "description": "Specify if NativeSelect is a required input",
2458
- "values": []
2459
- },
2460
- {
2461
- "name": "readOnly",
2462
- "description": "Specify if NativeSelect displays in a read-only state",
2463
- "values": []
2464
- },
2465
- {
2466
- "name": "disabled",
2467
- "description": "Specify if NativeSelect displays in a disabled state",
2468
- "values": []
2469
- },
2470
- {
2471
- "name": "fluid",
2472
- "description": "Specify if NativeSelect is fluid",
2473
- "values": []
2474
- },
2475
- {
2476
- "name": "size",
2477
- "description": "Specify the size of NativeSelect",
2478
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
2479
- },
2480
- {
2481
- "name": "width",
2482
- "description": "Specify the width of NativeSelect",
2483
- "values": []
2484
- },
2485
- {
2486
- "name": "ellipse",
2487
- "description": "Specify if overflow displays ellipsis",
2488
- "values": []
2489
- },
2490
- {
2491
- "name": "hideRequiredMarker",
2492
- "description": "Specify if the NativeSelect displays with an asterisk",
2493
- "values": []
2494
- },
2495
- {
2496
- "name": "theme",
2497
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
2498
- "values": [{ "name": "light" }, { "name": "dark" }]
2499
- },
2500
- { "name": "id", "values": [] },
2501
- { "name": "name", "values": [] },
2502
- { "name": "value", "values": [] },
2503
- {
2504
- "name": "validationRules",
2505
- "values": [{ "name": "Array<FormValidator>" }]
2506
- },
2507
- { "name": "input-aria-label", "values": [] },
2508
- {
2509
- "name": "error",
2510
- "description": "Specify error text and display error state.\nPass a string to show an error message, or `true` to show the error\nstate without a message.",
2511
- "values": [{ "name": "Optional<boolean" }, { "name": "string>" }]
2512
- }
2513
- ],
2514
- "references": [
2515
- {
2516
- "name": "Storybook",
2517
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
2518
- }
2519
- ]
2520
- },
2521
2521
  {
2522
2522
  "name": "bm-switch",
2523
2523
  "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.",