@viasat/beam-web-components 2.12.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +2737 -2737
- package/package.json +6 -6
- package/vscode.html-custom-data.json +269 -269
|
@@ -134,6 +134,49 @@
|
|
|
134
134
|
}
|
|
135
135
|
]
|
|
136
136
|
},
|
|
137
|
+
{
|
|
138
|
+
"name": "bm-badge",
|
|
139
|
+
"description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon\n---\n\n\n### **Slots:**\n - **default** - Provide text for the Badge\n- **icon** - Specify a different icon for the Badge",
|
|
140
|
+
"attributes": [
|
|
141
|
+
{
|
|
142
|
+
"name": "appearance",
|
|
143
|
+
"description": "Specify the appearance of the Badge",
|
|
144
|
+
"values": [
|
|
145
|
+
{ "name": "infoPrimary" },
|
|
146
|
+
{ "name": "infoSecondary" },
|
|
147
|
+
{ "name": "positive" },
|
|
148
|
+
{ "name": "warning" },
|
|
149
|
+
{ "name": "negative" }
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "theme",
|
|
154
|
+
"description": "Theme of the Badge",
|
|
155
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "size",
|
|
159
|
+
"description": "Specify the size of the Badge",
|
|
160
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "emphasis",
|
|
164
|
+
"description": "Specify the emphasis of the Badge",
|
|
165
|
+
"values": [
|
|
166
|
+
{ "name": "strong" },
|
|
167
|
+
{ "name": "medium" },
|
|
168
|
+
{ "name": "subtle" }
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
172
|
+
],
|
|
173
|
+
"references": [
|
|
174
|
+
{
|
|
175
|
+
"name": "Storybook",
|
|
176
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
137
180
|
{
|
|
138
181
|
"name": "bm-badge-dot",
|
|
139
182
|
"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",
|
|
@@ -579,6 +622,104 @@
|
|
|
579
622
|
}
|
|
580
623
|
]
|
|
581
624
|
},
|
|
625
|
+
{
|
|
626
|
+
"name": "bm-avatar",
|
|
627
|
+
"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",
|
|
628
|
+
"attributes": [
|
|
629
|
+
{
|
|
630
|
+
"name": "appearance",
|
|
631
|
+
"description": "Specify the appearance of the Avatar",
|
|
632
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "name",
|
|
636
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
637
|
+
"values": []
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"name": "src",
|
|
641
|
+
"description": "Pass an image to the Avatar",
|
|
642
|
+
"values": []
|
|
643
|
+
},
|
|
644
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
645
|
+
{
|
|
646
|
+
"name": "size",
|
|
647
|
+
"description": "Specify the size of the Avatar",
|
|
648
|
+
"values": [
|
|
649
|
+
{ "name": "xs" },
|
|
650
|
+
{ "name": "sm" },
|
|
651
|
+
{ "name": "md" },
|
|
652
|
+
{ "name": "lg" },
|
|
653
|
+
{ "name": "xl" }
|
|
654
|
+
]
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "disabled",
|
|
658
|
+
"description": "Specify if the Avatar is disabled",
|
|
659
|
+
"values": []
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "shape",
|
|
663
|
+
"description": "Specify the shape of the Avatar",
|
|
664
|
+
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "isInteractive",
|
|
668
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
669
|
+
"values": []
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "isFocusable",
|
|
673
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
674
|
+
"values": []
|
|
675
|
+
},
|
|
676
|
+
{ "name": "withBorder", "values": [] }
|
|
677
|
+
],
|
|
678
|
+
"references": [
|
|
679
|
+
{
|
|
680
|
+
"name": "Storybook",
|
|
681
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
682
|
+
}
|
|
683
|
+
]
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "bm-avatar-group",
|
|
687
|
+
"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",
|
|
688
|
+
"attributes": [
|
|
689
|
+
{
|
|
690
|
+
"name": "wrapping",
|
|
691
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
692
|
+
"values": []
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"name": "maxCount",
|
|
696
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
697
|
+
"values": []
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "size",
|
|
701
|
+
"description": "Specify the size of all Avatars",
|
|
702
|
+
"values": [
|
|
703
|
+
{ "name": "xs" },
|
|
704
|
+
{ "name": "sm" },
|
|
705
|
+
{ "name": "md" },
|
|
706
|
+
{ "name": "lg" },
|
|
707
|
+
{ "name": "xl" }
|
|
708
|
+
]
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "layout",
|
|
712
|
+
"description": "Specify the kind of the group.",
|
|
713
|
+
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
714
|
+
}
|
|
715
|
+
],
|
|
716
|
+
"references": [
|
|
717
|
+
{
|
|
718
|
+
"name": "Storybook",
|
|
719
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
720
|
+
}
|
|
721
|
+
]
|
|
722
|
+
},
|
|
582
723
|
{
|
|
583
724
|
"name": "bm-breadcrumb",
|
|
584
725
|
"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",
|
|
@@ -640,49 +781,6 @@
|
|
|
640
781
|
}
|
|
641
782
|
]
|
|
642
783
|
},
|
|
643
|
-
{
|
|
644
|
-
"name": "bm-badge",
|
|
645
|
-
"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",
|
|
646
|
-
"attributes": [
|
|
647
|
-
{
|
|
648
|
-
"name": "appearance",
|
|
649
|
-
"description": "Specify the appearance of the Badge",
|
|
650
|
-
"values": [
|
|
651
|
-
{ "name": "infoPrimary" },
|
|
652
|
-
{ "name": "infoSecondary" },
|
|
653
|
-
{ "name": "positive" },
|
|
654
|
-
{ "name": "warning" },
|
|
655
|
-
{ "name": "negative" }
|
|
656
|
-
]
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
"name": "theme",
|
|
660
|
-
"description": "Theme of the Badge",
|
|
661
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"name": "size",
|
|
665
|
-
"description": "Specify the size of the Badge",
|
|
666
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
"name": "emphasis",
|
|
670
|
-
"description": "Specify the emphasis of the Badge",
|
|
671
|
-
"values": [
|
|
672
|
-
{ "name": "strong" },
|
|
673
|
-
{ "name": "medium" },
|
|
674
|
-
{ "name": "subtle" }
|
|
675
|
-
]
|
|
676
|
-
},
|
|
677
|
-
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
678
|
-
],
|
|
679
|
-
"references": [
|
|
680
|
-
{
|
|
681
|
-
"name": "Storybook",
|
|
682
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
683
|
-
}
|
|
684
|
-
]
|
|
685
|
-
},
|
|
686
784
|
{
|
|
687
785
|
"name": "bm-button",
|
|
688
786
|
"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",
|
|
@@ -747,105 +845,7 @@
|
|
|
747
845
|
"references": [
|
|
748
846
|
{
|
|
749
847
|
"name": "Storybook",
|
|
750
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
|
|
751
|
-
}
|
|
752
|
-
]
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"name": "bm-avatar",
|
|
756
|
-
"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",
|
|
757
|
-
"attributes": [
|
|
758
|
-
{
|
|
759
|
-
"name": "appearance",
|
|
760
|
-
"description": "Specify the appearance of the Avatar",
|
|
761
|
-
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
"name": "name",
|
|
765
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
766
|
-
"values": []
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
"name": "src",
|
|
770
|
-
"description": "Pass an image to the Avatar",
|
|
771
|
-
"values": []
|
|
772
|
-
},
|
|
773
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
774
|
-
{
|
|
775
|
-
"name": "size",
|
|
776
|
-
"description": "Specify the size of the Avatar",
|
|
777
|
-
"values": [
|
|
778
|
-
{ "name": "xs" },
|
|
779
|
-
{ "name": "sm" },
|
|
780
|
-
{ "name": "md" },
|
|
781
|
-
{ "name": "lg" },
|
|
782
|
-
{ "name": "xl" }
|
|
783
|
-
]
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"name": "disabled",
|
|
787
|
-
"description": "Specify if the Avatar is disabled",
|
|
788
|
-
"values": []
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"name": "shape",
|
|
792
|
-
"description": "Specify the shape of the Avatar",
|
|
793
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
"name": "isInteractive",
|
|
797
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
798
|
-
"values": []
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
"name": "isFocusable",
|
|
802
|
-
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
803
|
-
"values": []
|
|
804
|
-
},
|
|
805
|
-
{ "name": "withBorder", "values": [] }
|
|
806
|
-
],
|
|
807
|
-
"references": [
|
|
808
|
-
{
|
|
809
|
-
"name": "Storybook",
|
|
810
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
811
|
-
}
|
|
812
|
-
]
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"name": "bm-avatar-group",
|
|
816
|
-
"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",
|
|
817
|
-
"attributes": [
|
|
818
|
-
{
|
|
819
|
-
"name": "wrapping",
|
|
820
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
821
|
-
"values": []
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
"name": "maxCount",
|
|
825
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
826
|
-
"values": []
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
"name": "size",
|
|
830
|
-
"description": "Specify the size of all Avatars",
|
|
831
|
-
"values": [
|
|
832
|
-
{ "name": "xs" },
|
|
833
|
-
{ "name": "sm" },
|
|
834
|
-
{ "name": "md" },
|
|
835
|
-
{ "name": "lg" },
|
|
836
|
-
{ "name": "xl" }
|
|
837
|
-
]
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"name": "layout",
|
|
841
|
-
"description": "Specify the kind of the group.",
|
|
842
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
843
|
-
}
|
|
844
|
-
],
|
|
845
|
-
"references": [
|
|
846
|
-
{
|
|
847
|
-
"name": "Storybook",
|
|
848
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
848
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
|
|
849
849
|
}
|
|
850
850
|
]
|
|
851
851
|
},
|
|
@@ -1761,88 +1761,6 @@
|
|
|
1761
1761
|
}
|
|
1762
1762
|
]
|
|
1763
1763
|
},
|
|
1764
|
-
{
|
|
1765
|
-
"name": "bm-form",
|
|
1766
|
-
"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",
|
|
1767
|
-
"attributes": [
|
|
1768
|
-
{
|
|
1769
|
-
"name": "validationMode",
|
|
1770
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
1771
|
-
"values": [
|
|
1772
|
-
{ "name": "onChange" },
|
|
1773
|
-
{ "name": "onBlur" },
|
|
1774
|
-
{ "name": "onSubmit" }
|
|
1775
|
-
]
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"name": "initialValues",
|
|
1779
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
1780
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
1781
|
-
},
|
|
1782
|
-
{
|
|
1783
|
-
"name": "required",
|
|
1784
|
-
"description": "Specify if input is a required",
|
|
1785
|
-
"values": []
|
|
1786
|
-
},
|
|
1787
|
-
{
|
|
1788
|
-
"name": "disabled",
|
|
1789
|
-
"description": "Specify if input is a disabled",
|
|
1790
|
-
"values": []
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"name": "readOnly",
|
|
1794
|
-
"description": "Specify if input is a read only",
|
|
1795
|
-
"values": []
|
|
1796
|
-
},
|
|
1797
|
-
{ "name": "action", "values": [{ "name": "Optional<string>" }] },
|
|
1798
|
-
{ "name": "method", "values": [{ "name": "Optional<string>" }] },
|
|
1799
|
-
{ "name": "target", "values": [{ "name": "Optional<string>" }] },
|
|
1800
|
-
{ "name": "enctype", "values": [{ "name": "Optional<string>" }] }
|
|
1801
|
-
],
|
|
1802
|
-
"references": [
|
|
1803
|
-
{
|
|
1804
|
-
"name": "Storybook",
|
|
1805
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
1806
|
-
}
|
|
1807
|
-
]
|
|
1808
|
-
},
|
|
1809
|
-
{
|
|
1810
|
-
"name": "bm-label",
|
|
1811
|
-
"description": "`bm-label`\n---\n\n\n### **Slots:**\n - **text** - Specify the text for Label\n- **optional** - Specify if the Label displays as optional\n- **tooltip** - Specify if the icon displays to add a Tooltip",
|
|
1812
|
-
"attributes": [
|
|
1813
|
-
{
|
|
1814
|
-
"name": "disabled",
|
|
1815
|
-
"description": "Specify if the Label displays disabled",
|
|
1816
|
-
"values": []
|
|
1817
|
-
},
|
|
1818
|
-
{
|
|
1819
|
-
"name": "required",
|
|
1820
|
-
"description": "Specify if the Label displays as required",
|
|
1821
|
-
"values": []
|
|
1822
|
-
},
|
|
1823
|
-
{
|
|
1824
|
-
"name": "text",
|
|
1825
|
-
"description": "Specify the text for Label",
|
|
1826
|
-
"values": [{ "name": "Optional<string>" }]
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
"name": "optional",
|
|
1830
|
-
"description": "Specify the text for Label",
|
|
1831
|
-
"values": [{ "name": "Optional<string>" }]
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"name": "theme",
|
|
1835
|
-
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
1836
|
-
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
1837
|
-
}
|
|
1838
|
-
],
|
|
1839
|
-
"references": [
|
|
1840
|
-
{
|
|
1841
|
-
"name": "Storybook",
|
|
1842
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
1843
|
-
}
|
|
1844
|
-
]
|
|
1845
|
-
},
|
|
1846
1764
|
{
|
|
1847
1765
|
"name": "bm-file-upload-button",
|
|
1848
1766
|
"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",
|
|
@@ -2153,6 +2071,88 @@
|
|
|
2153
2071
|
}
|
|
2154
2072
|
]
|
|
2155
2073
|
},
|
|
2074
|
+
{
|
|
2075
|
+
"name": "bm-form",
|
|
2076
|
+
"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",
|
|
2077
|
+
"attributes": [
|
|
2078
|
+
{
|
|
2079
|
+
"name": "validationMode",
|
|
2080
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
2081
|
+
"values": [
|
|
2082
|
+
{ "name": "onChange" },
|
|
2083
|
+
{ "name": "onBlur" },
|
|
2084
|
+
{ "name": "onSubmit" }
|
|
2085
|
+
]
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "initialValues",
|
|
2089
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
2090
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"name": "required",
|
|
2094
|
+
"description": "Specify if input is a required",
|
|
2095
|
+
"values": []
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"name": "disabled",
|
|
2099
|
+
"description": "Specify if input is a disabled",
|
|
2100
|
+
"values": []
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "readOnly",
|
|
2104
|
+
"description": "Specify if input is a read only",
|
|
2105
|
+
"values": []
|
|
2106
|
+
},
|
|
2107
|
+
{ "name": "action", "values": [{ "name": "Optional<string>" }] },
|
|
2108
|
+
{ "name": "method", "values": [{ "name": "Optional<string>" }] },
|
|
2109
|
+
{ "name": "target", "values": [{ "name": "Optional<string>" }] },
|
|
2110
|
+
{ "name": "enctype", "values": [{ "name": "Optional<string>" }] }
|
|
2111
|
+
],
|
|
2112
|
+
"references": [
|
|
2113
|
+
{
|
|
2114
|
+
"name": "Storybook",
|
|
2115
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2116
|
+
}
|
|
2117
|
+
]
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"name": "bm-label",
|
|
2121
|
+
"description": "`bm-label`\n---\n\n\n### **Slots:**\n - **text** - Specify the text for Label\n- **optional** - Specify if the Label displays as optional\n- **tooltip** - Specify if the icon displays to add a Tooltip",
|
|
2122
|
+
"attributes": [
|
|
2123
|
+
{
|
|
2124
|
+
"name": "disabled",
|
|
2125
|
+
"description": "Specify if the Label displays disabled",
|
|
2126
|
+
"values": []
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"name": "required",
|
|
2130
|
+
"description": "Specify if the Label displays as required",
|
|
2131
|
+
"values": []
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"name": "text",
|
|
2135
|
+
"description": "Specify the text for Label",
|
|
2136
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
"name": "optional",
|
|
2140
|
+
"description": "Specify the text for Label",
|
|
2141
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
"name": "theme",
|
|
2145
|
+
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
2146
|
+
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2147
|
+
}
|
|
2148
|
+
],
|
|
2149
|
+
"references": [
|
|
2150
|
+
{
|
|
2151
|
+
"name": "Storybook",
|
|
2152
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
2153
|
+
}
|
|
2154
|
+
]
|
|
2155
|
+
},
|
|
2156
2156
|
{
|
|
2157
2157
|
"name": "bm-native-select",
|
|
2158
2158
|
"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",
|
|
@@ -2222,97 +2222,97 @@
|
|
|
2222
2222
|
]
|
|
2223
2223
|
},
|
|
2224
2224
|
{
|
|
2225
|
-
"name": "bm-
|
|
2226
|
-
"description": "`bm-
|
|
2225
|
+
"name": "bm-radio-button",
|
|
2226
|
+
"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",
|
|
2227
2227
|
"attributes": [
|
|
2228
2228
|
{
|
|
2229
|
-
"name": "
|
|
2230
|
-
"description": "Specify
|
|
2229
|
+
"name": "label",
|
|
2230
|
+
"description": "Specify the text for the label",
|
|
2231
2231
|
"values": []
|
|
2232
2232
|
},
|
|
2233
2233
|
{
|
|
2234
|
-
"name": "
|
|
2235
|
-
"description": "Specify
|
|
2234
|
+
"name": "error",
|
|
2235
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2236
2236
|
"values": []
|
|
2237
2237
|
},
|
|
2238
|
-
{
|
|
2239
|
-
"name": "textPosition",
|
|
2240
|
-
"description": "Specify the position of the side label",
|
|
2241
|
-
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2242
|
-
},
|
|
2243
2238
|
{
|
|
2244
2239
|
"name": "readOnly",
|
|
2245
|
-
"description": "Specify if
|
|
2240
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2246
2241
|
"values": []
|
|
2247
2242
|
},
|
|
2248
2243
|
{
|
|
2249
2244
|
"name": "disabled",
|
|
2250
|
-
"description": "Specify if
|
|
2245
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2251
2246
|
"values": []
|
|
2252
2247
|
},
|
|
2253
|
-
{
|
|
2248
|
+
{
|
|
2249
|
+
"name": "theme",
|
|
2250
|
+
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2251
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2252
|
+
},
|
|
2254
2253
|
{
|
|
2255
2254
|
"name": "value",
|
|
2256
2255
|
"description": "The value attribute for the input element",
|
|
2257
2256
|
"values": []
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"name": "checked",
|
|
2260
|
+
"description": "The checked attribute for the input element",
|
|
2261
|
+
"values": []
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"name": "onKeyDown",
|
|
2265
|
+
"description": "A user-defined function to handle keydown events",
|
|
2266
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2258
2267
|
}
|
|
2259
2268
|
],
|
|
2260
2269
|
"references": [
|
|
2261
2270
|
{
|
|
2262
2271
|
"name": "Storybook",
|
|
2263
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2272
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2264
2273
|
}
|
|
2265
2274
|
]
|
|
2266
2275
|
},
|
|
2267
2276
|
{
|
|
2268
|
-
"name": "bm-
|
|
2269
|
-
"description": "`bm-
|
|
2277
|
+
"name": "bm-switch",
|
|
2278
|
+
"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.",
|
|
2270
2279
|
"attributes": [
|
|
2271
2280
|
{
|
|
2272
|
-
"name": "
|
|
2273
|
-
"description": "Specify
|
|
2281
|
+
"name": "onText",
|
|
2282
|
+
"description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
|
|
2274
2283
|
"values": []
|
|
2275
2284
|
},
|
|
2276
2285
|
{
|
|
2277
|
-
"name": "
|
|
2278
|
-
"description": "Specify
|
|
2286
|
+
"name": "offText",
|
|
2287
|
+
"description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
|
2279
2288
|
"values": []
|
|
2280
2289
|
},
|
|
2290
|
+
{
|
|
2291
|
+
"name": "textPosition",
|
|
2292
|
+
"description": "Specify the position of the side label",
|
|
2293
|
+
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2294
|
+
},
|
|
2281
2295
|
{
|
|
2282
2296
|
"name": "readOnly",
|
|
2283
|
-
"description": "Specify if
|
|
2297
|
+
"description": "Specify if Switch displays in a read-only state",
|
|
2284
2298
|
"values": []
|
|
2285
2299
|
},
|
|
2286
2300
|
{
|
|
2287
2301
|
"name": "disabled",
|
|
2288
|
-
"description": "Specify if
|
|
2302
|
+
"description": "Specify if Switch displays in a disabled state",
|
|
2289
2303
|
"values": []
|
|
2290
2304
|
},
|
|
2291
|
-
{
|
|
2292
|
-
"name": "theme",
|
|
2293
|
-
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2294
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2295
|
-
},
|
|
2305
|
+
{ "name": "checked", "values": [] },
|
|
2296
2306
|
{
|
|
2297
2307
|
"name": "value",
|
|
2298
2308
|
"description": "The value attribute for the input element",
|
|
2299
2309
|
"values": []
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "checked",
|
|
2303
|
-
"description": "The checked attribute for the input element",
|
|
2304
|
-
"values": []
|
|
2305
|
-
},
|
|
2306
|
-
{
|
|
2307
|
-
"name": "onKeyDown",
|
|
2308
|
-
"description": "A user-defined function to handle keydown events",
|
|
2309
|
-
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2310
2310
|
}
|
|
2311
2311
|
],
|
|
2312
2312
|
"references": [
|
|
2313
2313
|
{
|
|
2314
2314
|
"name": "Storybook",
|
|
2315
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2315
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2316
2316
|
}
|
|
2317
2317
|
]
|
|
2318
2318
|
},
|
|
@@ -2557,8 +2557,8 @@
|
|
|
2557
2557
|
]
|
|
2558
2558
|
},
|
|
2559
2559
|
{
|
|
2560
|
-
"name": "bm-
|
|
2561
|
-
"description": "
|
|
2560
|
+
"name": "bm-radio-button-group",
|
|
2561
|
+
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
2562
2562
|
"attributes": [
|
|
2563
2563
|
{
|
|
2564
2564
|
"name": "theme",
|
|
@@ -2624,13 +2624,13 @@
|
|
|
2624
2624
|
"references": [
|
|
2625
2625
|
{
|
|
2626
2626
|
"name": "Storybook",
|
|
2627
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2627
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2628
2628
|
}
|
|
2629
2629
|
]
|
|
2630
2630
|
},
|
|
2631
2631
|
{
|
|
2632
|
-
"name": "bm-
|
|
2633
|
-
"description": "
|
|
2632
|
+
"name": "bm-switch-group",
|
|
2633
|
+
"description": "`bm-switch-group`\n---\n\n\n### **Slots:**\n - **label** - Slot for the label of the SwitchGroup\n- **helperText** - Slot for the helper text of the SwitchGroup",
|
|
2634
2634
|
"attributes": [
|
|
2635
2635
|
{
|
|
2636
2636
|
"name": "theme",
|
|
@@ -2696,7 +2696,7 @@
|
|
|
2696
2696
|
"references": [
|
|
2697
2697
|
{
|
|
2698
2698
|
"name": "Storybook",
|
|
2699
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2699
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2700
2700
|
}
|
|
2701
2701
|
]
|
|
2702
2702
|
}
|