@viasat/beam-web-components 2.18.1 → 2.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viasat/beam-web-components",
3
- "version": "2.18.1",
3
+ "version": "2.19.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.18.1",
68
- "@viasat/beam-shared": "2.18.1",
69
- "@viasat/beam-styles": "2.18.1",
70
- "@viasat/beam-tokens": "2.18.1",
71
- "@viasat/beam-icons": "2.18.1",
67
+ "@viasat/beam-fonts": "2.19.0",
68
+ "@viasat/beam-shared": "2.19.0",
69
+ "@viasat/beam-styles": "2.19.0",
70
+ "@viasat/beam-tokens": "2.19.0",
71
+ "@viasat/beam-icons": "2.19.0",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -159,6 +159,160 @@
159
159
  }
160
160
  ]
161
161
  },
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",
208
+ "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
+ {
230
+ "name": "theme",
231
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
232
+ "values": [{ "name": "light" }, { "name": "dark" }]
233
+ },
234
+ {
235
+ "name": "appearance",
236
+ "description": "Specify the appearance of the Alert",
237
+ "values": [
238
+ { "name": "infoPrimary" },
239
+ { "name": "infoSecondary" },
240
+ { "name": "positive" },
241
+ { "name": "warning" },
242
+ { "name": "negative" }
243
+ ]
244
+ },
245
+ {
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": []
264
+ },
265
+ {
266
+ "name": "disableCloseOnEscape",
267
+ "description": "Prevent Escape from closing",
268
+ "values": []
269
+ }
270
+ ],
271
+ "references": [
272
+ {
273
+ "name": "Storybook",
274
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
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
+ },
162
316
  {
163
317
  "name": "bm-box",
164
318
  "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",
@@ -562,160 +716,6 @@
562
716
  }
563
717
  ]
564
718
  },
565
- {
566
- "name": "bm-badge-dot",
567
- "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",
568
- "attributes": [
569
- {
570
- "name": "theme",
571
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
572
- "values": [{ "name": "light" }, { "name": "dark" }]
573
- },
574
- {
575
- "name": "appearance",
576
- "description": "Specify the appearance of the BadgeDot",
577
- "values": [
578
- { "name": "infoPrimary" },
579
- { "name": "infoSecondary" },
580
- { "name": "positive" },
581
- { "name": "warning" },
582
- { "name": "negative" }
583
- ]
584
- },
585
- {
586
- "name": "emphasis",
587
- "description": "Specify the emphasis of the BadgeDot",
588
- "values": [{ "name": "strong" }, { "name": "subtle" }]
589
- },
590
- {
591
- "name": "overrideDotColor",
592
- "description": "Overrides default dot color",
593
- "values": []
594
- }
595
- ],
596
- "references": [
597
- {
598
- "name": "Storybook",
599
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
600
- }
601
- ]
602
- },
603
- {
604
- "name": "bm-alert",
605
- "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",
606
- "attributes": [
607
- {
608
- "name": "heading",
609
- "description": "Specify the heading text for Alert",
610
- "values": []
611
- },
612
- {
613
- "name": "body",
614
- "description": "Specify the body text for Alert",
615
- "values": []
616
- },
617
- {
618
- "name": "size",
619
- "description": "Specify the size of the Alert",
620
- "values": [{ "name": "sm" }, { "name": "md" }]
621
- },
622
- {
623
- "name": "fullWidth",
624
- "description": "Specify if the Alert has no border radius",
625
- "values": []
626
- },
627
- {
628
- "name": "theme",
629
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
630
- "values": [{ "name": "light" }, { "name": "dark" }]
631
- },
632
- {
633
- "name": "appearance",
634
- "description": "Specify the appearance of the Alert",
635
- "values": [
636
- { "name": "infoPrimary" },
637
- { "name": "infoSecondary" },
638
- { "name": "positive" },
639
- { "name": "warning" },
640
- { "name": "negative" }
641
- ]
642
- },
643
- {
644
- "name": "hidden",
645
- "description": "Specify if the Alert is hidden",
646
- "values": []
647
- },
648
- {
649
- "name": "hideIcon",
650
- "description": "Specify if the icon displays on the Alert",
651
- "values": []
652
- },
653
- {
654
- "name": "dismissible",
655
- "description": "Specify if the Alert can be dismissed",
656
- "values": []
657
- },
658
- {
659
- "name": "disableAutoFocus",
660
- "description": "Prevent autofocus on show",
661
- "values": []
662
- },
663
- {
664
- "name": "disableCloseOnEscape",
665
- "description": "Prevent Escape from closing",
666
- "values": []
667
- }
668
- ],
669
- "references": [
670
- {
671
- "name": "Storybook",
672
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
673
- }
674
- ]
675
- },
676
- {
677
- "name": "bm-badge",
678
- "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",
679
- "attributes": [
680
- {
681
- "name": "appearance",
682
- "description": "Specify the appearance of the Badge",
683
- "values": [
684
- { "name": "infoPrimary" },
685
- { "name": "infoSecondary" },
686
- { "name": "positive" },
687
- { "name": "warning" },
688
- { "name": "negative" }
689
- ]
690
- },
691
- {
692
- "name": "theme",
693
- "description": "Theme of the Badge",
694
- "values": [{ "name": "light" }, { "name": "dark" }]
695
- },
696
- {
697
- "name": "size",
698
- "description": "Specify the size of the Badge",
699
- "values": [{ "name": "sm" }, { "name": "md" }]
700
- },
701
- {
702
- "name": "emphasis",
703
- "description": "Specify the emphasis of the Badge",
704
- "values": [
705
- { "name": "strong" },
706
- { "name": "medium" },
707
- { "name": "subtle" }
708
- ]
709
- },
710
- { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
711
- ],
712
- "references": [
713
- {
714
- "name": "Storybook",
715
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
716
- }
717
- ]
718
- },
719
719
  {
720
720
  "name": "bm-breadcrumb",
721
721
  "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",
@@ -873,6 +873,38 @@
873
873
  }
874
874
  ]
875
875
  },
876
+ {
877
+ "name": "bm-empty-state",
878
+ "description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **icon** - Specify an icon for EmptyState\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Add actions to EmptyState",
879
+ "attributes": [
880
+ {
881
+ "name": "heading",
882
+ "description": "Specify heading text for EmptyState",
883
+ "values": []
884
+ },
885
+ {
886
+ "name": "body",
887
+ "description": "Specify body text for EmptyState",
888
+ "values": []
889
+ },
890
+ {
891
+ "name": "actions",
892
+ "description": "Specify action for EmptyState",
893
+ "values": [{ "name": "HTMLSlotElement" }]
894
+ },
895
+ {
896
+ "name": "theme",
897
+ "description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
898
+ "values": [{ "name": "light" }, { "name": "dark" }]
899
+ }
900
+ ],
901
+ "references": [
902
+ {
903
+ "name": "Storybook",
904
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-emptystate"
905
+ }
906
+ ]
907
+ },
876
908
  {
877
909
  "name": "bm-divider",
878
910
  "description": "`bm-divider`\n\n### Attributes:\n- **orientation** - Specify the direction of the Divider\n- **borderColor** - Specify the border color of the divider line\n- **borderWidth** - Specify the width of the divider line\n- **borderStyle** - Specify the style of the divider line\n- **alignContent** - Align content to the divider line\n- **length** \n- **inset** - Add equal padding to each side of the Divider\n---\n\n\n### **Slots:**\n - **default** - Add text to the Divider\n- **icon** - Add an icon to the Divider",
@@ -957,38 +989,6 @@
957
989
  }
958
990
  ]
959
991
  },
960
- {
961
- "name": "bm-empty-state",
962
- "description": "`bm-empty-state`\n\n### Attributes:\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Specify action for EmptyState\n- **theme** - Specify the theme of EmptyState. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **icon** - Specify an icon for EmptyState\n- **heading** - Specify heading text for EmptyState\n- **body** - Specify body text for EmptyState\n- **actions** - Add actions to EmptyState",
963
- "attributes": [
964
- {
965
- "name": "heading",
966
- "description": "Specify heading text for EmptyState",
967
- "values": []
968
- },
969
- {
970
- "name": "body",
971
- "description": "Specify body text for EmptyState",
972
- "values": []
973
- },
974
- {
975
- "name": "actions",
976
- "description": "Specify action for EmptyState",
977
- "values": [{ "name": "HTMLSlotElement" }]
978
- },
979
- {
980
- "name": "theme",
981
- "description": "Specify the theme of EmptyState. By default it inherits the theme from the parent",
982
- "values": [{ "name": "light" }, { "name": "dark" }]
983
- }
984
- ],
985
- "references": [
986
- {
987
- "name": "Storybook",
988
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-emptystate"
989
- }
990
- ]
991
- },
992
992
  {
993
993
  "name": "bm-helper-text",
994
994
  "description": "### Attributes:\n- **appearance** - Specify the appearance of the HelperText\n- **size** - Specify the size of the HelperText\n- **disabled** - Specify if the message is disabled for HelpText\n- **hideIcon** - Specify if the icon displays on the HelperText\n- **text** - Add or customize content in the HelperText\n- **theme** - Specify the theme of the HelperText. By default it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Add or customize content in the HelperText\n- **icon** - Specify a different icon for the HelperText",
@@ -2289,74 +2289,45 @@
2289
2289
  ]
2290
2290
  },
2291
2291
  {
2292
- "name": "bm-text-field",
2293
- "description": "`bm-text-field`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextField\n- **helper-text** - Specify the helper text for TextField\n- **content-after** - Specify content to display after input\n- **content-before** - Specify content to display before input",
2292
+ "name": "bm-switch",
2293
+ "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.",
2294
2294
  "attributes": [
2295
2295
  {
2296
- "name": "placeholder",
2297
- "description": "Specify placeholder text for TextField",
2298
- "values": []
2299
- },
2300
- {
2301
- "name": "required",
2302
- "description": "Specify if TextField is a required input",
2296
+ "name": "onText",
2297
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2303
2298
  "values": []
2304
2299
  },
2305
2300
  {
2306
- "name": "hideRequiredMarker",
2307
- "description": "Specify if the TextField displays with an asterisk",
2301
+ "name": "offText",
2302
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2308
2303
  "values": []
2309
2304
  },
2310
2305
  {
2311
- "name": "error",
2312
- "description": "Specify error text and display error state of a TextField",
2313
- "values": []
2306
+ "name": "textPosition",
2307
+ "description": "Specify the position of the side label",
2308
+ "values": [{ "name": "before" }, { "name": "after" }]
2314
2309
  },
2315
2310
  {
2316
2311
  "name": "readOnly",
2317
- "description": "Specify if TextField displays in a read-only state",
2312
+ "description": "Specify if Switch displays in a read-only state",
2318
2313
  "values": []
2319
2314
  },
2320
2315
  {
2321
2316
  "name": "disabled",
2322
- "description": "Specify if TextField displays in a disabled state",
2323
- "values": []
2324
- },
2325
- {
2326
- "name": "fluid",
2327
- "description": "Specify if TextField is fluid",
2328
- "values": []
2329
- },
2330
- {
2331
- "name": "width",
2332
- "description": "Specify the width of TextField",
2317
+ "description": "Specify if Switch displays in a disabled state",
2333
2318
  "values": []
2334
2319
  },
2320
+ { "name": "checked", "values": [] },
2335
2321
  {
2336
- "name": "ellipse",
2337
- "description": "Specify if overflow displays ellipsis",
2322
+ "name": "value",
2323
+ "description": "The value attribute for the input element",
2338
2324
  "values": []
2339
- },
2340
- {
2341
- "name": "theme",
2342
- "description": "Specify the theme of the TextField. By default it inherits the theme from the parent",
2343
- "values": [{ "name": "light" }, { "name": "dark" }]
2344
- },
2345
- { "name": "type", "values": [] },
2346
- { "name": "inputMode", "values": [] },
2347
- { "name": "id", "values": [] },
2348
- { "name": "name", "values": [] },
2349
- { "name": "value", "values": [] },
2350
- {
2351
- "name": "validationRules",
2352
- "values": [{ "name": "Array<FormValidator>" }]
2353
- },
2354
- { "name": "input-aria-label", "values": [] }
2325
+ }
2355
2326
  ],
2356
2327
  "references": [
2357
2328
  {
2358
2329
  "name": "Storybook",
2359
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-textfield"
2330
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2360
2331
  }
2361
2332
  ]
2362
2333
  },
@@ -2451,45 +2422,74 @@
2451
2422
  ]
2452
2423
  },
2453
2424
  {
2454
- "name": "bm-switch",
2455
- "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.",
2425
+ "name": "bm-text-field",
2426
+ "description": "`bm-text-field`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextField\n- **helper-text** - Specify the helper text for TextField\n- **content-after** - Specify content to display after input\n- **content-before** - Specify content to display before input",
2456
2427
  "attributes": [
2457
2428
  {
2458
- "name": "onText",
2459
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2429
+ "name": "placeholder",
2430
+ "description": "Specify placeholder text for TextField",
2460
2431
  "values": []
2461
2432
  },
2462
2433
  {
2463
- "name": "offText",
2464
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2434
+ "name": "required",
2435
+ "description": "Specify if TextField is a required input",
2465
2436
  "values": []
2466
2437
  },
2467
2438
  {
2468
- "name": "textPosition",
2469
- "description": "Specify the position of the side label",
2470
- "values": [{ "name": "before" }, { "name": "after" }]
2439
+ "name": "hideRequiredMarker",
2440
+ "description": "Specify if the TextField displays with an asterisk",
2441
+ "values": []
2442
+ },
2443
+ {
2444
+ "name": "error",
2445
+ "description": "Specify error text and display error state of a TextField",
2446
+ "values": []
2471
2447
  },
2472
2448
  {
2473
2449
  "name": "readOnly",
2474
- "description": "Specify if Switch displays in a read-only state",
2450
+ "description": "Specify if TextField displays in a read-only state",
2475
2451
  "values": []
2476
2452
  },
2477
2453
  {
2478
2454
  "name": "disabled",
2479
- "description": "Specify if Switch displays in a disabled state",
2455
+ "description": "Specify if TextField displays in a disabled state",
2480
2456
  "values": []
2481
2457
  },
2482
- { "name": "checked", "values": [] },
2483
2458
  {
2484
- "name": "value",
2485
- "description": "The value attribute for the input element",
2459
+ "name": "fluid",
2460
+ "description": "Specify if TextField is fluid",
2486
2461
  "values": []
2487
- }
2462
+ },
2463
+ {
2464
+ "name": "width",
2465
+ "description": "Specify the width of TextField",
2466
+ "values": []
2467
+ },
2468
+ {
2469
+ "name": "ellipse",
2470
+ "description": "Specify if overflow displays ellipsis",
2471
+ "values": []
2472
+ },
2473
+ {
2474
+ "name": "theme",
2475
+ "description": "Specify the theme of the TextField. By default it inherits the theme from the parent",
2476
+ "values": [{ "name": "light" }, { "name": "dark" }]
2477
+ },
2478
+ { "name": "type", "values": [] },
2479
+ { "name": "inputMode", "values": [] },
2480
+ { "name": "id", "values": [] },
2481
+ { "name": "name", "values": [] },
2482
+ { "name": "value", "values": [] },
2483
+ {
2484
+ "name": "validationRules",
2485
+ "values": [{ "name": "Array<FormValidator>" }]
2486
+ },
2487
+ { "name": "input-aria-label", "values": [] }
2488
2488
  ],
2489
2489
  "references": [
2490
2490
  {
2491
2491
  "name": "Storybook",
2492
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2492
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-textfield"
2493
2493
  }
2494
2494
  ]
2495
2495
  },