@viasat/beam-web-components 2.20.0 → 2.21.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.
Files changed (115) hide show
  1. package/Accordion/Accordion.js +1 -1
  2. package/Accordion/AccordionGroup.js +1 -1
  3. package/Accordion/index.js +1 -1
  4. package/Alert/Alert.js +43 -43
  5. package/Avatar/Avatar.js +1 -1
  6. package/Avatar/AvatarGroup.js +1 -1
  7. package/Avatar/index.js +1 -1
  8. package/Badge/Badge.js +1 -1
  9. package/BadgeDot/BadgeDot.js +18 -18
  10. package/Breadcrumbs/Breadcrumbs.js +1 -1
  11. package/Breadcrumbs/BreadcrumbsItem.js +1 -1
  12. package/Breadcrumbs/index.js +1 -1
  13. package/Button/Button.js +10 -10
  14. package/CloseButton/CloseButton.js +16 -16
  15. package/Divider/Divider.js +17 -17
  16. package/EmptyState/EmptyState.js +20 -20
  17. package/HelperText/HelperText.js +1 -1
  18. package/HelperText/index.js +1 -1
  19. package/InputChoiceGroup/InputChoiceGroup.js +54 -54
  20. package/Link/Link.js +51 -51
  21. package/List/List.js +1 -1
  22. package/List/ListItem.js +1 -1
  23. package/ProgressBar/ProgressBar.js +19 -19
  24. package/SegmentedControl/SegmentedControl.js +1 -1
  25. package/SegmentedControl/SegmentedControlItem.js +1 -1
  26. package/SegmentedControl/SegmentedControlList.js +1 -1
  27. package/SegmentedControl/SegmentedControlPanel.js +1 -1
  28. package/Spinner/Spinner.js +28 -28
  29. package/Tooltip/Tooltip.js +85 -85
  30. package/chunks/Accordion.Bwk3EG3j.js +161 -0
  31. package/chunks/Avatar.BgufO4-1.js +174 -0
  32. package/chunks/BreadcrumbsItem.DmudL_IG.js +121 -0
  33. package/chunks/HelperText.SJGM6Q5H.js +108 -0
  34. package/chunks/fileUpload.module.CNe9mg2f.js +4 -0
  35. package/chunks/list.module.BSL1AIzv.js +4 -0
  36. package/chunks/segmentedControl.module.5EsIjpJa.js +4 -0
  37. package/custom-elements.json +5017 -5017
  38. package/local/Accordion/Accordion.js +1 -1
  39. package/local/Accordion/AccordionGroup.js +1 -1
  40. package/local/Accordion/index.js +1 -1
  41. package/local/Alert/Alert.js +20 -20
  42. package/local/Avatar/Avatar.js +1 -1
  43. package/local/Avatar/AvatarGroup.js +1 -1
  44. package/local/Avatar/index.js +1 -1
  45. package/local/Badge/Badge.js +1 -1
  46. package/local/BadgeDot/BadgeDot.js +4 -4
  47. package/local/Breadcrumbs/Breadcrumbs.js +1 -1
  48. package/local/Breadcrumbs/BreadcrumbsItem.js +1 -1
  49. package/local/Breadcrumbs/index.js +1 -1
  50. package/local/Button/Button.js +10 -10
  51. package/local/CloseButton/CloseButton.js +24 -24
  52. package/local/Divider/Divider.js +22 -22
  53. package/local/EmptyState/EmptyState.js +18 -18
  54. package/local/HelperText/HelperText.js +1 -1
  55. package/local/HelperText/index.js +1 -1
  56. package/local/InputChoiceGroup/InputChoiceGroup.js +39 -39
  57. package/local/Link/Link.js +25 -25
  58. package/local/List/List.js +1 -1
  59. package/local/List/ListItem.js +1 -1
  60. package/local/ProgressBar/ProgressBar.js +19 -19
  61. package/local/SegmentedControl/SegmentedControl.js +1 -1
  62. package/local/SegmentedControl/SegmentedControlItem.js +1 -1
  63. package/local/SegmentedControl/SegmentedControlList.js +1 -1
  64. package/local/SegmentedControl/SegmentedControlPanel.js +1 -1
  65. package/local/Spinner/Spinner.js +34 -34
  66. package/local/Tooltip/Tooltip.js +85 -85
  67. package/local/chunks/Accordion.UOcVt0ft.js +161 -0
  68. package/local/chunks/Avatar.CEb3Se7H.js +172 -0
  69. package/local/chunks/BreadcrumbsItem.Dp9fzlcw.js +121 -0
  70. package/local/chunks/fileUpload.module.CNe9mg2f.js +4 -0
  71. package/local/chunks/index.DNafYKj-.js +106 -0
  72. package/local/chunks/list.module.BSL1AIzv.js +4 -0
  73. package/local/chunks/segmentedControl.module.5EsIjpJa.js +4 -0
  74. package/local/wip/Checkbox/Checkbox.js +1 -1
  75. package/local/wip/FileUpload/FileUpload.Button.js +1 -1
  76. package/local/wip/FileUpload/FileUpload.Dropzone.js +1 -1
  77. package/local/wip/FileUpload/FileUpload.List.Item.js +2 -2
  78. package/local/wip/FileUpload/FileUpload.List.js +1 -1
  79. package/local/wip/FileUpload/FileUpload.js +2 -2
  80. package/local/wip/Form/Form.decorator.js +1 -1
  81. package/local/wip/Label/Label.js +40 -40
  82. package/local/wip/NativeSelect/NativeSelect.js +18 -18
  83. package/local/wip/RadioButton/RadioButton.js +9 -9
  84. package/local/wip/Switch/Switch.js +9 -9
  85. package/local/wip/TextArea/TextArea.js +21 -21
  86. package/local/wip/TextField/TextField.js +26 -26
  87. package/package.json +6 -6
  88. package/vscode.html-custom-data.json +325 -325
  89. package/wip/Checkbox/Checkbox.js +53 -53
  90. package/wip/FileUpload/FileUpload.Button.js +1 -1
  91. package/wip/FileUpload/FileUpload.Dropzone.js +1 -1
  92. package/wip/FileUpload/FileUpload.List.Item.js +2 -2
  93. package/wip/FileUpload/FileUpload.List.js +1 -1
  94. package/wip/FileUpload/FileUpload.js +2 -2
  95. package/wip/Form/Form.decorator.js +1 -1
  96. package/wip/Label/Label.js +33 -33
  97. package/wip/NativeSelect/NativeSelect.js +25 -25
  98. package/wip/RadioButton/RadioButton.js +7 -7
  99. package/wip/Switch/Switch.js +9 -9
  100. package/wip/TextArea/TextArea.js +13 -13
  101. package/wip/TextField/TextField.js +26 -26
  102. package/chunks/Accordion.DYD3XcAx.js +0 -161
  103. package/chunks/Avatar.C2rfzUGP.js +0 -174
  104. package/chunks/BreadcrumbsItem.4ZR6wbMz.js +0 -121
  105. package/chunks/HelperText.CcVVOtA3.js +0 -108
  106. package/chunks/fileUpload.module.kN6o64aL.js +0 -4
  107. package/chunks/list.module.CZRPBLzy.js +0 -4
  108. package/chunks/segmentedControl.module.BPXEWodj.js +0 -4
  109. package/local/chunks/Accordion.BP1XR2Gd.js +0 -161
  110. package/local/chunks/Avatar.CvTOzaRT.js +0 -172
  111. package/local/chunks/BreadcrumbsItem.GM6sBp_o.js +0 -121
  112. package/local/chunks/fileUpload.module.kN6o64aL.js +0 -4
  113. package/local/chunks/index.Bz1Jq4c2.js +0 -106
  114. package/local/chunks/list.module.CZRPBLzy.js +0 -4
  115. package/local/chunks/segmentedControl.module.BPXEWodj.js +0 -4
@@ -2,65 +2,6 @@
2
2
  "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
3
  "version": 1.1,
4
4
  "tags": [
5
- {
6
- "name": "bm-accordion",
7
- "description": "`bm-accordion`\n\n### Attributes:\n- **size** - Specify size of an Accordion\n- **heading** - Specify heading content for the Accordion\n- **open** - Specify if an Accordion is open.\nIf this is specified, the component becomes controlled\n- **defaultOpen** - Specify if an Accordion is open by default\n- **id** - Unique identifier of Accordion\n---\n\n\n### **Events:**\n - **bm-toggle** - Dispatched when the Accordion is toggled\n\n### **Slots:**\n - **default** - Specify body content for the Accordion\n- **icon** - Display an icon before the Accordion heading\n- **heading** - Specify heading content for the Accordion",
8
- "attributes": [
9
- {
10
- "name": "size",
11
- "description": "Specify size of an Accordion",
12
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
13
- },
14
- {
15
- "name": "heading",
16
- "description": "Specify heading content for the Accordion",
17
- "values": []
18
- },
19
- {
20
- "name": "open",
21
- "description": "Specify if an Accordion is open.\nIf this is specified, the component becomes controlled",
22
- "values": []
23
- },
24
- {
25
- "name": "defaultOpen",
26
- "description": "Specify if an Accordion is open by default",
27
- "values": []
28
- },
29
- {
30
- "name": "id",
31
- "description": "Unique identifier of Accordion",
32
- "values": []
33
- }
34
- ],
35
- "references": [
36
- {
37
- "name": "Storybook",
38
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-accordion"
39
- }
40
- ]
41
- },
42
- {
43
- "name": "bm-accordion-group",
44
- "description": "`bm-accordion-group`\n\n### Attributes:\n- **size** - Specify the size of the AccordionGroup\n- **singleExpand** - Specify if only one row item can be expanded at a time\n---\n\n\n### **Slots:**\n - **default** - Specify which Accordions are in the AccordionGroup",
45
- "attributes": [
46
- {
47
- "name": "size",
48
- "description": "Specify the size of the AccordionGroup",
49
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
50
- },
51
- {
52
- "name": "singleExpand",
53
- "description": "Specify if only one row item can be expanded at a time",
54
- "values": []
55
- }
56
- ],
57
- "references": [
58
- {
59
- "name": "Storybook",
60
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-accordion"
61
- }
62
- ]
63
- },
64
5
  {
65
6
  "name": "bm-badge",
66
7
  "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",
@@ -606,177 +547,6 @@
606
547
  }
607
548
  ]
608
549
  },
609
- {
610
- "name": "bm-avatar",
611
- "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",
612
- "attributes": [
613
- {
614
- "name": "appearance",
615
- "description": "Specify the appearance of the Avatar",
616
- "values": [{ "name": "accent" }, { "name": "neutral" }]
617
- },
618
- {
619
- "name": "name",
620
- "description": "Specify a name to display initials in the Avatar",
621
- "values": []
622
- },
623
- {
624
- "name": "src",
625
- "description": "Pass an image to the Avatar",
626
- "values": []
627
- },
628
- { "name": "alt", "description": "Specify alt for image", "values": [] },
629
- {
630
- "name": "size",
631
- "description": "Specify the size of the Avatar",
632
- "values": [
633
- { "name": "xs" },
634
- { "name": "sm" },
635
- { "name": "md" },
636
- { "name": "lg" },
637
- { "name": "xl" }
638
- ]
639
- },
640
- {
641
- "name": "disabled",
642
- "description": "Specify if the Avatar is disabled",
643
- "values": []
644
- },
645
- {
646
- "name": "shape",
647
- "description": "Specify the shape of the Avatar",
648
- "values": [{ "name": "circle" }, { "name": "square" }]
649
- },
650
- {
651
- "name": "isInteractive",
652
- "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
653
- "values": []
654
- },
655
- {
656
- "name": "isFocusable",
657
- "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
658
- "values": []
659
- },
660
- { "name": "withBorder", "values": [] }
661
- ],
662
- "references": [
663
- {
664
- "name": "Storybook",
665
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
666
- }
667
- ]
668
- },
669
- {
670
- "name": "bm-avatar-group",
671
- "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",
672
- "attributes": [
673
- {
674
- "name": "wrapping",
675
- "description": "Specify if the AvatarGroup wraps",
676
- "values": []
677
- },
678
- {
679
- "name": "maxCount",
680
- "description": "Specify the max number of avatars displayed in the group.",
681
- "values": []
682
- },
683
- {
684
- "name": "size",
685
- "description": "Specify the size of all Avatars",
686
- "values": [
687
- { "name": "xs" },
688
- { "name": "sm" },
689
- { "name": "md" },
690
- { "name": "lg" },
691
- { "name": "xl" }
692
- ]
693
- },
694
- {
695
- "name": "layout",
696
- "description": "Specify the kind of the group.",
697
- "values": [{ "name": "stacked" }, { "name": "spaced" }]
698
- }
699
- ],
700
- "references": [
701
- {
702
- "name": "Storybook",
703
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
704
- }
705
- ]
706
- },
707
- {
708
- "name": "bm-alert",
709
- "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",
710
- "attributes": [
711
- {
712
- "name": "heading",
713
- "description": "Specify the heading text for Alert",
714
- "values": []
715
- },
716
- {
717
- "name": "body",
718
- "description": "Specify the body text for Alert",
719
- "values": []
720
- },
721
- {
722
- "name": "size",
723
- "description": "Specify the size of the Alert",
724
- "values": [{ "name": "sm" }, { "name": "md" }]
725
- },
726
- {
727
- "name": "fullWidth",
728
- "description": "Specify if the Alert has no border radius",
729
- "values": []
730
- },
731
- {
732
- "name": "theme",
733
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
734
- "values": [{ "name": "light" }, { "name": "dark" }]
735
- },
736
- {
737
- "name": "appearance",
738
- "description": "Specify the appearance of the Alert",
739
- "values": [
740
- { "name": "infoPrimary" },
741
- { "name": "infoSecondary" },
742
- { "name": "positive" },
743
- { "name": "warning" },
744
- { "name": "negative" }
745
- ]
746
- },
747
- {
748
- "name": "hidden",
749
- "description": "Specify if the Alert is hidden",
750
- "values": []
751
- },
752
- {
753
- "name": "hideIcon",
754
- "description": "Specify if the icon displays on the Alert",
755
- "values": []
756
- },
757
- {
758
- "name": "dismissible",
759
- "description": "Specify if the Alert can be dismissed",
760
- "values": []
761
- },
762
- {
763
- "name": "disableAutoFocus",
764
- "description": "Prevent autofocus on show",
765
- "values": []
766
- },
767
- {
768
- "name": "disableCloseOnEscape",
769
- "description": "Prevent Escape from closing",
770
- "values": []
771
- }
772
- ],
773
- "references": [
774
- {
775
- "name": "Storybook",
776
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
777
- }
778
- ]
779
- },
780
550
  {
781
551
  "name": "bm-button",
782
552
  "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",
@@ -2237,187 +2007,187 @@
2237
2007
  ]
2238
2008
  },
2239
2009
  {
2240
- "name": "bm-text-area",
2241
- "description": "`bm-text-area`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextArea\n- **helper-text** - Specify the helper text for TextArea",
2010
+ "name": "bm-radio-button",
2011
+ "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",
2242
2012
  "attributes": [
2243
2013
  {
2244
- "name": "rows",
2245
- "description": "Specify the height of TextArea",
2014
+ "name": "label",
2015
+ "description": "Specify the text for the label",
2246
2016
  "values": []
2247
2017
  },
2248
2018
  {
2249
- "name": "cols",
2250
- "description": "Specify the width of TextArea",
2019
+ "name": "error",
2020
+ "description": "Specify error text and display error state of a RadioButton",
2251
2021
  "values": []
2252
2022
  },
2253
2023
  {
2254
- "name": "placeholder",
2255
- "description": "Specify placeholder text for TextArea",
2024
+ "name": "readOnly",
2025
+ "description": "Specify if RadioButton displays in a read-only state",
2256
2026
  "values": []
2257
2027
  },
2258
2028
  {
2259
- "name": "required",
2260
- "description": "Specify if TextArea is a required input",
2029
+ "name": "disabled",
2030
+ "description": "Specify if RadioButton displays in a disabled state",
2261
2031
  "values": []
2262
2032
  },
2263
2033
  {
2264
- "name": "hideRequiredMarker",
2265
- "description": "Specify if the TextArea displays with an asterisk",
2266
- "values": []
2034
+ "name": "theme",
2035
+ "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2036
+ "values": [{ "name": "light" }, { "name": "dark" }]
2267
2037
  },
2268
2038
  {
2269
- "name": "error",
2270
- "description": "Specify error text and display error state of a TextArea",
2039
+ "name": "value",
2040
+ "description": "The value attribute for the input element",
2271
2041
  "values": []
2272
2042
  },
2273
2043
  {
2274
- "name": "readOnly",
2275
- "description": "Specify if TextArea displays in a read-only state",
2044
+ "name": "checked",
2045
+ "description": "The checked attribute for the input element",
2276
2046
  "values": []
2277
2047
  },
2278
2048
  {
2279
- "name": "disabled",
2280
- "description": "Specify if TextArea displays in a disabled state",
2281
- "values": []
2282
- },
2049
+ "name": "onKeyDown",
2050
+ "description": "A user-defined function to handle keydown events",
2051
+ "values": [{ "name": "(event: KeyboardEvent) => void" }]
2052
+ }
2053
+ ],
2054
+ "references": [
2283
2055
  {
2284
- "name": "fluid",
2285
- "description": "Specify if TextArea is fluid",
2286
- "values": []
2287
- },
2056
+ "name": "Storybook",
2057
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2058
+ }
2059
+ ]
2060
+ },
2061
+ {
2062
+ "name": "bm-switch",
2063
+ "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.",
2064
+ "attributes": [
2288
2065
  {
2289
- "name": "width",
2290
- "description": "Specify the width of TextArea",
2066
+ "name": "onText",
2067
+ "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2291
2068
  "values": []
2292
2069
  },
2293
2070
  {
2294
- "name": "hideResize",
2295
- "description": "Specify if TextArea can be manually resized",
2071
+ "name": "offText",
2072
+ "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2296
2073
  "values": []
2297
2074
  },
2298
2075
  {
2299
- "name": "maxCount",
2300
- "description": "Specify the maximum character count for the TextArea",
2301
- "values": []
2076
+ "name": "textPosition",
2077
+ "description": "Specify the position of the side label",
2078
+ "values": [{ "name": "before" }, { "name": "after" }]
2302
2079
  },
2303
2080
  {
2304
- "name": "autoResize",
2305
- "description": "Specify if the TextArea automatically resizes to fit the text",
2081
+ "name": "readOnly",
2082
+ "description": "Specify if Switch displays in a read-only state",
2306
2083
  "values": []
2307
2084
  },
2308
2085
  {
2309
- "name": "theme",
2310
- "description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
2311
- "values": [{ "name": "light" }, { "name": "dark" }]
2086
+ "name": "disabled",
2087
+ "description": "Specify if Switch displays in a disabled state",
2088
+ "values": []
2312
2089
  },
2313
- { "name": "id", "values": [] },
2314
- { "name": "name", "values": [] },
2315
- { "name": "value", "values": [] },
2090
+ { "name": "checked", "values": [] },
2316
2091
  {
2317
- "name": "validationRules",
2318
- "values": [{ "name": "Array<FormValidator>" }]
2319
- },
2320
- { "name": "input-aria-label", "values": [] }
2092
+ "name": "value",
2093
+ "description": "The value attribute for the input element",
2094
+ "values": []
2095
+ }
2321
2096
  ],
2322
2097
  "references": [
2323
2098
  {
2324
2099
  "name": "Storybook",
2325
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
2100
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2326
2101
  }
2327
2102
  ]
2328
2103
  },
2329
2104
  {
2330
- "name": "bm-radio-button",
2331
- "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",
2105
+ "name": "bm-text-area",
2106
+ "description": "`bm-text-area`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextArea\n- **helper-text** - Specify the helper text for TextArea",
2332
2107
  "attributes": [
2333
2108
  {
2334
- "name": "label",
2335
- "description": "Specify the text for the label",
2109
+ "name": "rows",
2110
+ "description": "Specify the height of TextArea",
2336
2111
  "values": []
2337
2112
  },
2338
2113
  {
2339
- "name": "error",
2340
- "description": "Specify error text and display error state of a RadioButton",
2114
+ "name": "cols",
2115
+ "description": "Specify the width of TextArea",
2341
2116
  "values": []
2342
2117
  },
2343
2118
  {
2344
- "name": "readOnly",
2345
- "description": "Specify if RadioButton displays in a read-only state",
2119
+ "name": "placeholder",
2120
+ "description": "Specify placeholder text for TextArea",
2346
2121
  "values": []
2347
2122
  },
2348
2123
  {
2349
- "name": "disabled",
2350
- "description": "Specify if RadioButton displays in a disabled state",
2124
+ "name": "required",
2125
+ "description": "Specify if TextArea is a required input",
2351
2126
  "values": []
2352
2127
  },
2353
2128
  {
2354
- "name": "theme",
2355
- "description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
2356
- "values": [{ "name": "light" }, { "name": "dark" }]
2129
+ "name": "hideRequiredMarker",
2130
+ "description": "Specify if the TextArea displays with an asterisk",
2131
+ "values": []
2357
2132
  },
2358
2133
  {
2359
- "name": "value",
2360
- "description": "The value attribute for the input element",
2134
+ "name": "error",
2135
+ "description": "Specify error text and display error state of a TextArea",
2361
2136
  "values": []
2362
2137
  },
2363
2138
  {
2364
- "name": "checked",
2365
- "description": "The checked attribute for the input element",
2139
+ "name": "readOnly",
2140
+ "description": "Specify if TextArea displays in a read-only state",
2366
2141
  "values": []
2367
2142
  },
2368
2143
  {
2369
- "name": "onKeyDown",
2370
- "description": "A user-defined function to handle keydown events",
2371
- "values": [{ "name": "(event: KeyboardEvent) => void" }]
2372
- }
2373
- ],
2374
- "references": [
2375
- {
2376
- "name": "Storybook",
2377
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
2378
- }
2379
- ]
2380
- },
2381
- {
2382
- "name": "bm-switch",
2383
- "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.",
2384
- "attributes": [
2385
- {
2386
- "name": "onText",
2387
- "description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
2144
+ "name": "disabled",
2145
+ "description": "Specify if TextArea displays in a disabled state",
2388
2146
  "values": []
2389
2147
  },
2390
2148
  {
2391
- "name": "offText",
2392
- "description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
2149
+ "name": "fluid",
2150
+ "description": "Specify if TextArea is fluid",
2393
2151
  "values": []
2394
2152
  },
2395
2153
  {
2396
- "name": "textPosition",
2397
- "description": "Specify the position of the side label",
2398
- "values": [{ "name": "before" }, { "name": "after" }]
2154
+ "name": "width",
2155
+ "description": "Specify the width of TextArea",
2156
+ "values": []
2399
2157
  },
2400
2158
  {
2401
- "name": "readOnly",
2402
- "description": "Specify if Switch displays in a read-only state",
2159
+ "name": "hideResize",
2160
+ "description": "Specify if TextArea can be manually resized",
2403
2161
  "values": []
2404
2162
  },
2405
2163
  {
2406
- "name": "disabled",
2407
- "description": "Specify if Switch displays in a disabled state",
2164
+ "name": "maxCount",
2165
+ "description": "Specify the maximum character count for the TextArea",
2408
2166
  "values": []
2409
2167
  },
2410
- { "name": "checked", "values": [] },
2411
2168
  {
2412
- "name": "value",
2413
- "description": "The value attribute for the input element",
2169
+ "name": "autoResize",
2170
+ "description": "Specify if the TextArea automatically resizes to fit the text",
2414
2171
  "values": []
2415
- }
2172
+ },
2173
+ {
2174
+ "name": "theme",
2175
+ "description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
2176
+ "values": [{ "name": "light" }, { "name": "dark" }]
2177
+ },
2178
+ { "name": "id", "values": [] },
2179
+ { "name": "name", "values": [] },
2180
+ { "name": "value", "values": [] },
2181
+ {
2182
+ "name": "validationRules",
2183
+ "values": [{ "name": "Array<FormValidator>" }]
2184
+ },
2185
+ { "name": "input-aria-label", "values": [] }
2416
2186
  ],
2417
2187
  "references": [
2418
2188
  {
2419
2189
  "name": "Storybook",
2420
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2190
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
2421
2191
  }
2422
2192
  ]
2423
2193
  },
@@ -2699,6 +2469,236 @@
2699
2469
  "url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
2700
2470
  }
2701
2471
  ]
2472
+ },
2473
+ {
2474
+ "name": "bm-accordion",
2475
+ "description": "`bm-accordion`\n\n### Attributes:\n- **size** - Specify size of an Accordion\n- **heading** - Specify heading content for the Accordion\n- **open** - Specify if an Accordion is open.\nIf this is specified, the component becomes controlled\n- **defaultOpen** - Specify if an Accordion is open by default\n- **id** - Unique identifier of Accordion\n---\n\n\n### **Events:**\n - **bm-toggle** - Dispatched when the Accordion is toggled\n\n### **Slots:**\n - **default** - Specify body content for the Accordion\n- **icon** - Display an icon before the Accordion heading\n- **heading** - Specify heading content for the Accordion",
2476
+ "attributes": [
2477
+ {
2478
+ "name": "size",
2479
+ "description": "Specify size of an Accordion",
2480
+ "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
2481
+ },
2482
+ {
2483
+ "name": "heading",
2484
+ "description": "Specify heading content for the Accordion",
2485
+ "values": []
2486
+ },
2487
+ {
2488
+ "name": "open",
2489
+ "description": "Specify if an Accordion is open.\nIf this is specified, the component becomes controlled",
2490
+ "values": []
2491
+ },
2492
+ {
2493
+ "name": "defaultOpen",
2494
+ "description": "Specify if an Accordion is open by default",
2495
+ "values": []
2496
+ },
2497
+ {
2498
+ "name": "id",
2499
+ "description": "Unique identifier of Accordion",
2500
+ "values": []
2501
+ }
2502
+ ],
2503
+ "references": [
2504
+ {
2505
+ "name": "Storybook",
2506
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-accordion"
2507
+ }
2508
+ ]
2509
+ },
2510
+ {
2511
+ "name": "bm-accordion-group",
2512
+ "description": "`bm-accordion-group`\n\n### Attributes:\n- **size** - Specify the size of the AccordionGroup\n- **singleExpand** - Specify if only one row item can be expanded at a time\n---\n\n\n### **Slots:**\n - **default** - Specify which Accordions are in the AccordionGroup",
2513
+ "attributes": [
2514
+ {
2515
+ "name": "size",
2516
+ "description": "Specify the size of the AccordionGroup",
2517
+ "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
2518
+ },
2519
+ {
2520
+ "name": "singleExpand",
2521
+ "description": "Specify if only one row item can be expanded at a time",
2522
+ "values": []
2523
+ }
2524
+ ],
2525
+ "references": [
2526
+ {
2527
+ "name": "Storybook",
2528
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-accordion"
2529
+ }
2530
+ ]
2531
+ },
2532
+ {
2533
+ "name": "bm-avatar",
2534
+ "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",
2535
+ "attributes": [
2536
+ {
2537
+ "name": "appearance",
2538
+ "description": "Specify the appearance of the Avatar",
2539
+ "values": [{ "name": "accent" }, { "name": "neutral" }]
2540
+ },
2541
+ {
2542
+ "name": "name",
2543
+ "description": "Specify a name to display initials in the Avatar",
2544
+ "values": []
2545
+ },
2546
+ {
2547
+ "name": "src",
2548
+ "description": "Pass an image to the Avatar",
2549
+ "values": []
2550
+ },
2551
+ { "name": "alt", "description": "Specify alt for image", "values": [] },
2552
+ {
2553
+ "name": "size",
2554
+ "description": "Specify the size of the Avatar",
2555
+ "values": [
2556
+ { "name": "xs" },
2557
+ { "name": "sm" },
2558
+ { "name": "md" },
2559
+ { "name": "lg" },
2560
+ { "name": "xl" }
2561
+ ]
2562
+ },
2563
+ {
2564
+ "name": "disabled",
2565
+ "description": "Specify if the Avatar is disabled",
2566
+ "values": []
2567
+ },
2568
+ {
2569
+ "name": "shape",
2570
+ "description": "Specify the shape of the Avatar",
2571
+ "values": [{ "name": "circle" }, { "name": "square" }]
2572
+ },
2573
+ {
2574
+ "name": "isInteractive",
2575
+ "description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
2576
+ "values": []
2577
+ },
2578
+ {
2579
+ "name": "isFocusable",
2580
+ "description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
2581
+ "values": []
2582
+ },
2583
+ { "name": "withBorder", "values": [] }
2584
+ ],
2585
+ "references": [
2586
+ {
2587
+ "name": "Storybook",
2588
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
2589
+ }
2590
+ ]
2591
+ },
2592
+ {
2593
+ "name": "bm-avatar-group",
2594
+ "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",
2595
+ "attributes": [
2596
+ {
2597
+ "name": "wrapping",
2598
+ "description": "Specify if the AvatarGroup wraps",
2599
+ "values": []
2600
+ },
2601
+ {
2602
+ "name": "maxCount",
2603
+ "description": "Specify the max number of avatars displayed in the group.",
2604
+ "values": []
2605
+ },
2606
+ {
2607
+ "name": "size",
2608
+ "description": "Specify the size of all Avatars",
2609
+ "values": [
2610
+ { "name": "xs" },
2611
+ { "name": "sm" },
2612
+ { "name": "md" },
2613
+ { "name": "lg" },
2614
+ { "name": "xl" }
2615
+ ]
2616
+ },
2617
+ {
2618
+ "name": "layout",
2619
+ "description": "Specify the kind of the group.",
2620
+ "values": [{ "name": "stacked" }, { "name": "spaced" }]
2621
+ }
2622
+ ],
2623
+ "references": [
2624
+ {
2625
+ "name": "Storybook",
2626
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
2627
+ }
2628
+ ]
2629
+ },
2630
+ {
2631
+ "name": "bm-alert",
2632
+ "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",
2633
+ "attributes": [
2634
+ {
2635
+ "name": "heading",
2636
+ "description": "Specify the heading text for Alert",
2637
+ "values": []
2638
+ },
2639
+ {
2640
+ "name": "body",
2641
+ "description": "Specify the body text for Alert",
2642
+ "values": []
2643
+ },
2644
+ {
2645
+ "name": "size",
2646
+ "description": "Specify the size of the Alert",
2647
+ "values": [{ "name": "sm" }, { "name": "md" }]
2648
+ },
2649
+ {
2650
+ "name": "fullWidth",
2651
+ "description": "Specify if the Alert has no border radius",
2652
+ "values": []
2653
+ },
2654
+ {
2655
+ "name": "theme",
2656
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
2657
+ "values": [{ "name": "light" }, { "name": "dark" }]
2658
+ },
2659
+ {
2660
+ "name": "appearance",
2661
+ "description": "Specify the appearance of the Alert",
2662
+ "values": [
2663
+ { "name": "infoPrimary" },
2664
+ { "name": "infoSecondary" },
2665
+ { "name": "positive" },
2666
+ { "name": "warning" },
2667
+ { "name": "negative" }
2668
+ ]
2669
+ },
2670
+ {
2671
+ "name": "hidden",
2672
+ "description": "Specify if the Alert is hidden",
2673
+ "values": []
2674
+ },
2675
+ {
2676
+ "name": "hideIcon",
2677
+ "description": "Specify if the icon displays on the Alert",
2678
+ "values": []
2679
+ },
2680
+ {
2681
+ "name": "dismissible",
2682
+ "description": "Specify if the Alert can be dismissed",
2683
+ "values": []
2684
+ },
2685
+ {
2686
+ "name": "disableAutoFocus",
2687
+ "description": "Prevent autofocus on show",
2688
+ "values": []
2689
+ },
2690
+ {
2691
+ "name": "disableCloseOnEscape",
2692
+ "description": "Prevent Escape from closing",
2693
+ "values": []
2694
+ }
2695
+ ],
2696
+ "references": [
2697
+ {
2698
+ "name": "Storybook",
2699
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
2700
+ }
2701
+ ]
2702
2702
  }
2703
2703
  ]
2704
2704
  }