@viasat/beam-web-components 2.24.0 → 2.26.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/{wip/TextField → TextField}/TextField.d.ts +8 -2
- package/{wip/TextField → TextField}/TextField.js +81 -91
- package/custom-elements.json +2755 -2751
- package/local/{wip/TextField → TextField}/TextField.js +81 -91
- package/local/wip/Form/Form.decorator.js +23 -19
- package/package.json +6 -6
- package/vscode.html-custom-data.json +266 -258
- package/wip/Form/Form.decorator.js +23 -19
- /package/{wip/TextField → TextField}/index.d.ts +0 -0
- /package/{local/wip/TextField → TextField}/index.js +0 -0
- /package/{wip → local}/TextField/index.js +0 -0
|
@@ -62,17 +62,37 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": "bm-
|
|
66
|
-
"description": "`bm-
|
|
65
|
+
"name": "bm-alert",
|
|
66
|
+
"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",
|
|
67
67
|
"attributes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "heading",
|
|
70
|
+
"description": "Specify the heading text for Alert",
|
|
71
|
+
"values": []
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "body",
|
|
75
|
+
"description": "Specify the body text for Alert",
|
|
76
|
+
"values": []
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "size",
|
|
80
|
+
"description": "Specify the size of the Alert",
|
|
81
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "fullWidth",
|
|
85
|
+
"description": "Specify if the Alert has no border radius",
|
|
86
|
+
"values": []
|
|
87
|
+
},
|
|
68
88
|
{
|
|
69
89
|
"name": "theme",
|
|
70
|
-
"description": "Specify the theme of the
|
|
90
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
71
91
|
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
72
92
|
},
|
|
73
93
|
{
|
|
74
94
|
"name": "appearance",
|
|
75
|
-
"description": "Specify the appearance of the
|
|
95
|
+
"description": "Specify the appearance of the Alert",
|
|
76
96
|
"values": [
|
|
77
97
|
{ "name": "infoPrimary" },
|
|
78
98
|
{ "name": "infoSecondary" },
|
|
@@ -82,20 +102,35 @@
|
|
|
82
102
|
]
|
|
83
103
|
},
|
|
84
104
|
{
|
|
85
|
-
"name": "
|
|
86
|
-
"description": "Specify the
|
|
87
|
-
"values": [
|
|
105
|
+
"name": "hidden",
|
|
106
|
+
"description": "Specify if the Alert is hidden",
|
|
107
|
+
"values": []
|
|
88
108
|
},
|
|
89
109
|
{
|
|
90
|
-
"name": "
|
|
91
|
-
"description": "
|
|
110
|
+
"name": "hideIcon",
|
|
111
|
+
"description": "Specify if the icon displays on the Alert",
|
|
112
|
+
"values": []
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "dismissible",
|
|
116
|
+
"description": "Specify if the Alert can be dismissed",
|
|
117
|
+
"values": []
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "disableAutoFocus",
|
|
121
|
+
"description": "Prevent autofocus on show",
|
|
122
|
+
"values": []
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "disableCloseOnEscape",
|
|
126
|
+
"description": "Prevent Escape from closing",
|
|
92
127
|
"values": []
|
|
93
128
|
}
|
|
94
129
|
],
|
|
95
130
|
"references": [
|
|
96
131
|
{
|
|
97
132
|
"name": "Storybook",
|
|
98
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
133
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
99
134
|
}
|
|
100
135
|
]
|
|
101
136
|
},
|
|
@@ -607,241 +642,206 @@
|
|
|
607
642
|
]
|
|
608
643
|
},
|
|
609
644
|
{
|
|
610
|
-
"name": "bm-
|
|
611
|
-
"description": "`bm-
|
|
645
|
+
"name": "bm-avatar",
|
|
646
|
+
"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
647
|
"attributes": [
|
|
613
648
|
{
|
|
614
649
|
"name": "appearance",
|
|
615
|
-
"description": "Specify the appearance of
|
|
616
|
-
"values": [
|
|
617
|
-
{ "name": "accent" },
|
|
618
|
-
{ "name": "neutral" },
|
|
619
|
-
{ "name": "neutral-subtle" },
|
|
620
|
-
{ "name": "destructive" }
|
|
621
|
-
]
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"name": "kind",
|
|
625
|
-
"description": "Specify the kind of Button",
|
|
626
|
-
"values": [
|
|
627
|
-
{ "name": "filled" },
|
|
628
|
-
{ "name": "outline" },
|
|
629
|
-
{ "name": "ghost" },
|
|
630
|
-
{ "name": "bare" }
|
|
631
|
-
]
|
|
650
|
+
"description": "Specify the appearance of the Avatar",
|
|
651
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
632
652
|
},
|
|
633
653
|
{
|
|
634
|
-
"name": "
|
|
635
|
-
"description": "Specify
|
|
636
|
-
"values": [
|
|
654
|
+
"name": "name",
|
|
655
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
656
|
+
"values": []
|
|
637
657
|
},
|
|
638
658
|
{
|
|
639
|
-
"name": "
|
|
640
|
-
"description": "
|
|
659
|
+
"name": "src",
|
|
660
|
+
"description": "Pass an image to the Avatar",
|
|
641
661
|
"values": []
|
|
642
662
|
},
|
|
663
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
643
664
|
{
|
|
644
|
-
"name": "
|
|
645
|
-
"description": "Specify
|
|
646
|
-
"values": [
|
|
665
|
+
"name": "size",
|
|
666
|
+
"description": "Specify the size of the Avatar",
|
|
667
|
+
"values": [
|
|
668
|
+
{ "name": "xs" },
|
|
669
|
+
{ "name": "sm" },
|
|
670
|
+
{ "name": "md" },
|
|
671
|
+
{ "name": "lg" },
|
|
672
|
+
{ "name": "xl" }
|
|
673
|
+
]
|
|
647
674
|
},
|
|
648
675
|
{
|
|
649
|
-
"name": "
|
|
650
|
-
"description": "Specify the
|
|
676
|
+
"name": "disabled",
|
|
677
|
+
"description": "Specify if the Avatar is disabled",
|
|
651
678
|
"values": []
|
|
652
679
|
},
|
|
653
680
|
{
|
|
654
|
-
"name": "
|
|
655
|
-
"description": "Specify the
|
|
656
|
-
"values": []
|
|
681
|
+
"name": "shape",
|
|
682
|
+
"description": "Specify the shape of the Avatar",
|
|
683
|
+
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
657
684
|
},
|
|
658
685
|
{
|
|
659
|
-
"name": "
|
|
660
|
-
"description": "
|
|
661
|
-
"values": [
|
|
686
|
+
"name": "isInteractive",
|
|
687
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
688
|
+
"values": []
|
|
662
689
|
},
|
|
663
690
|
{
|
|
664
|
-
"name": "
|
|
665
|
-
"description": "
|
|
691
|
+
"name": "isFocusable",
|
|
692
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
666
693
|
"values": []
|
|
667
694
|
},
|
|
668
|
-
{ "name": "
|
|
695
|
+
{ "name": "withBorder", "values": [] }
|
|
669
696
|
],
|
|
670
697
|
"references": [
|
|
671
698
|
{
|
|
672
699
|
"name": "Storybook",
|
|
673
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
700
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
674
701
|
}
|
|
675
702
|
]
|
|
676
703
|
},
|
|
677
704
|
{
|
|
678
|
-
"name": "bm-
|
|
679
|
-
"description": "`bm-
|
|
705
|
+
"name": "bm-avatar-group",
|
|
706
|
+
"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",
|
|
680
707
|
"attributes": [
|
|
681
708
|
{
|
|
682
|
-
"name": "
|
|
683
|
-
"description": "Specify the
|
|
709
|
+
"name": "wrapping",
|
|
710
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
684
711
|
"values": []
|
|
685
712
|
},
|
|
686
713
|
{
|
|
687
|
-
"name": "
|
|
688
|
-
"description": "Specify the
|
|
714
|
+
"name": "maxCount",
|
|
715
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
689
716
|
"values": []
|
|
690
717
|
},
|
|
691
718
|
{
|
|
692
719
|
"name": "size",
|
|
693
|
-
"description": "Specify the size of
|
|
694
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
"name": "fullWidth",
|
|
698
|
-
"description": "Specify if the Alert has no border radius",
|
|
699
|
-
"values": []
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"name": "theme",
|
|
703
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
704
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"name": "appearance",
|
|
708
|
-
"description": "Specify the appearance of the Alert",
|
|
720
|
+
"description": "Specify the size of all Avatars",
|
|
709
721
|
"values": [
|
|
710
|
-
{ "name": "
|
|
711
|
-
{ "name": "
|
|
712
|
-
{ "name": "
|
|
713
|
-
{ "name": "
|
|
714
|
-
{ "name": "
|
|
722
|
+
{ "name": "xs" },
|
|
723
|
+
{ "name": "sm" },
|
|
724
|
+
{ "name": "md" },
|
|
725
|
+
{ "name": "lg" },
|
|
726
|
+
{ "name": "xl" }
|
|
715
727
|
]
|
|
716
728
|
},
|
|
717
729
|
{
|
|
718
|
-
"name": "
|
|
719
|
-
"description": "Specify
|
|
720
|
-
"values": []
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"name": "hideIcon",
|
|
724
|
-
"description": "Specify if the icon displays on the Alert",
|
|
725
|
-
"values": []
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
"name": "dismissible",
|
|
729
|
-
"description": "Specify if the Alert can be dismissed",
|
|
730
|
-
"values": []
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
"name": "disableAutoFocus",
|
|
734
|
-
"description": "Prevent autofocus on show",
|
|
735
|
-
"values": []
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"name": "disableCloseOnEscape",
|
|
739
|
-
"description": "Prevent Escape from closing",
|
|
740
|
-
"values": []
|
|
730
|
+
"name": "layout",
|
|
731
|
+
"description": "Specify the kind of the group.",
|
|
732
|
+
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
741
733
|
}
|
|
742
734
|
],
|
|
743
735
|
"references": [
|
|
744
736
|
{
|
|
745
737
|
"name": "Storybook",
|
|
746
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
738
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
747
739
|
}
|
|
748
740
|
]
|
|
749
741
|
},
|
|
750
742
|
{
|
|
751
|
-
"name": "bm-
|
|
752
|
-
"description": "`bm-
|
|
743
|
+
"name": "bm-button",
|
|
744
|
+
"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",
|
|
753
745
|
"attributes": [
|
|
754
746
|
{
|
|
755
747
|
"name": "appearance",
|
|
756
|
-
"description": "Specify the appearance of
|
|
757
|
-
"values": [
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
748
|
+
"description": "Specify the appearance of a Button",
|
|
749
|
+
"values": [
|
|
750
|
+
{ "name": "accent" },
|
|
751
|
+
{ "name": "neutral" },
|
|
752
|
+
{ "name": "neutral-subtle" },
|
|
753
|
+
{ "name": "destructive" }
|
|
754
|
+
]
|
|
763
755
|
},
|
|
764
756
|
{
|
|
765
|
-
"name": "
|
|
766
|
-
"description": "
|
|
767
|
-
"values": [
|
|
757
|
+
"name": "kind",
|
|
758
|
+
"description": "Specify the kind of Button",
|
|
759
|
+
"values": [
|
|
760
|
+
{ "name": "filled" },
|
|
761
|
+
{ "name": "outline" },
|
|
762
|
+
{ "name": "ghost" },
|
|
763
|
+
{ "name": "bare" }
|
|
764
|
+
]
|
|
768
765
|
},
|
|
769
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
770
766
|
{
|
|
771
767
|
"name": "size",
|
|
772
|
-
"description": "Specify the size of
|
|
773
|
-
"values": [
|
|
774
|
-
{ "name": "xs" },
|
|
775
|
-
{ "name": "sm" },
|
|
776
|
-
{ "name": "md" },
|
|
777
|
-
{ "name": "lg" },
|
|
778
|
-
{ "name": "xl" }
|
|
779
|
-
]
|
|
768
|
+
"description": "Specify the size of a Button",
|
|
769
|
+
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
780
770
|
},
|
|
781
771
|
{
|
|
782
772
|
"name": "disabled",
|
|
783
|
-
"description": "Specify if the
|
|
773
|
+
"description": "Specify if the Button is disabled",
|
|
784
774
|
"values": []
|
|
785
775
|
},
|
|
786
776
|
{
|
|
787
|
-
"name": "
|
|
788
|
-
"description": "Specify
|
|
789
|
-
"values": [
|
|
777
|
+
"name": "fluid",
|
|
778
|
+
"description": "Specify if Button is fluid",
|
|
779
|
+
"values": []
|
|
790
780
|
},
|
|
791
781
|
{
|
|
792
|
-
"name": "
|
|
793
|
-
"description": "
|
|
782
|
+
"name": "width",
|
|
783
|
+
"description": "Specify the width of a Button",
|
|
794
784
|
"values": []
|
|
795
785
|
},
|
|
796
786
|
{
|
|
797
|
-
"name": "
|
|
798
|
-
"description": "
|
|
787
|
+
"name": "height",
|
|
788
|
+
"description": "Specify the height of a Button",
|
|
799
789
|
"values": []
|
|
800
790
|
},
|
|
801
|
-
{
|
|
791
|
+
{
|
|
792
|
+
"name": "theme",
|
|
793
|
+
"description": "Specify the theme of the Button",
|
|
794
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "iconOnly",
|
|
798
|
+
"description": "Specify if the icon displays without text",
|
|
799
|
+
"values": []
|
|
800
|
+
},
|
|
801
|
+
{ "name": "type", "values": [] }
|
|
802
802
|
],
|
|
803
803
|
"references": [
|
|
804
804
|
{
|
|
805
805
|
"name": "Storybook",
|
|
806
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
806
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
|
|
807
807
|
}
|
|
808
808
|
]
|
|
809
809
|
},
|
|
810
810
|
{
|
|
811
|
-
"name": "bm-
|
|
812
|
-
"description": "`bm-
|
|
811
|
+
"name": "bm-badge-dot",
|
|
812
|
+
"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",
|
|
813
813
|
"attributes": [
|
|
814
814
|
{
|
|
815
|
-
"name": "
|
|
816
|
-
"description": "Specify
|
|
817
|
-
"values": []
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "maxCount",
|
|
821
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
822
|
-
"values": []
|
|
815
|
+
"name": "theme",
|
|
816
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
817
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
823
818
|
},
|
|
824
819
|
{
|
|
825
|
-
"name": "
|
|
826
|
-
"description": "Specify the
|
|
820
|
+
"name": "appearance",
|
|
821
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
827
822
|
"values": [
|
|
828
|
-
{ "name": "
|
|
829
|
-
{ "name": "
|
|
830
|
-
{ "name": "
|
|
831
|
-
{ "name": "
|
|
832
|
-
{ "name": "
|
|
823
|
+
{ "name": "infoPrimary" },
|
|
824
|
+
{ "name": "infoSecondary" },
|
|
825
|
+
{ "name": "positive" },
|
|
826
|
+
{ "name": "warning" },
|
|
827
|
+
{ "name": "negative" }
|
|
833
828
|
]
|
|
834
829
|
},
|
|
835
830
|
{
|
|
836
|
-
"name": "
|
|
837
|
-
"description": "Specify the
|
|
838
|
-
"values": [{ "name": "
|
|
831
|
+
"name": "emphasis",
|
|
832
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
833
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"name": "overrideDotColor",
|
|
837
|
+
"description": "Overrides default dot color",
|
|
838
|
+
"values": []
|
|
839
839
|
}
|
|
840
840
|
],
|
|
841
841
|
"references": [
|
|
842
842
|
{
|
|
843
843
|
"name": "Storybook",
|
|
844
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
844
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
845
845
|
}
|
|
846
846
|
]
|
|
847
847
|
},
|
|
@@ -1626,6 +1626,86 @@
|
|
|
1626
1626
|
}
|
|
1627
1627
|
]
|
|
1628
1628
|
},
|
|
1629
|
+
{
|
|
1630
|
+
"name": "bm-text-field",
|
|
1631
|
+
"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",
|
|
1632
|
+
"attributes": [
|
|
1633
|
+
{
|
|
1634
|
+
"name": "placeholder",
|
|
1635
|
+
"description": "Specify placeholder text for TextField",
|
|
1636
|
+
"values": []
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"name": "required",
|
|
1640
|
+
"description": "Specify if TextField is a required input",
|
|
1641
|
+
"values": []
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "hideRequiredMarker",
|
|
1645
|
+
"description": "Specify if the TextField displays with an asterisk",
|
|
1646
|
+
"values": []
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"name": "error",
|
|
1650
|
+
"description": "Specify error text and display error state of a TextField",
|
|
1651
|
+
"values": []
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"name": "readOnly",
|
|
1655
|
+
"description": "Specify if TextField displays in a read-only state",
|
|
1656
|
+
"values": []
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"name": "disabled",
|
|
1660
|
+
"description": "Specify if TextField displays in a disabled state",
|
|
1661
|
+
"values": []
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"name": "fluid",
|
|
1665
|
+
"description": "Specify if TextField is fluid",
|
|
1666
|
+
"values": []
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"name": "width",
|
|
1670
|
+
"description": "Specify the width of TextField",
|
|
1671
|
+
"values": []
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"name": "ellipse",
|
|
1675
|
+
"description": "Specify if overflow displays ellipsis",
|
|
1676
|
+
"values": []
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "theme",
|
|
1680
|
+
"description": "Specify the theme of the TextField. By default it inherits the theme from the parent",
|
|
1681
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"name": "type",
|
|
1685
|
+
"description": "Specify the input type (e.g. text, email, password, number, tel, url)",
|
|
1686
|
+
"values": []
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"name": "inputMode",
|
|
1690
|
+
"description": "Specify the virtual keyboard type for mobile browsers (e.g. numeric, tel, url)",
|
|
1691
|
+
"values": []
|
|
1692
|
+
},
|
|
1693
|
+
{ "name": "id", "values": [] },
|
|
1694
|
+
{ "name": "name", "values": [] },
|
|
1695
|
+
{ "name": "value", "values": [] },
|
|
1696
|
+
{
|
|
1697
|
+
"name": "validationRules",
|
|
1698
|
+
"values": [{ "name": "Array<FormValidator>" }]
|
|
1699
|
+
},
|
|
1700
|
+
{ "name": "input-aria-label", "values": [] }
|
|
1701
|
+
],
|
|
1702
|
+
"references": [
|
|
1703
|
+
{
|
|
1704
|
+
"name": "Storybook",
|
|
1705
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-textfield"
|
|
1706
|
+
}
|
|
1707
|
+
]
|
|
1708
|
+
},
|
|
1629
1709
|
{
|
|
1630
1710
|
"name": "bm-tooltip",
|
|
1631
1711
|
"description": "`bm-tooltip`\n\n### Attributes:\n- **theme** - Specify the theme of Tooltip. By default it inherits the theme from the parent\n- **open** - Control the visibility of Tooltip\n- **hideArrow** - Whether the arrow is visible\n- **placement** - Specify the placement of Tooltip relative to the anchor\n- **autoPlacement** - Specify if Tooltip should automatically choose the placement that has the most space.\n<a href=\"https://floating-ui.com/docs/autoplacement#options\" target=\"_blank\" rel=\"noopener noreferrer\">AutoPlacementOptions</a>\n- **flip** - Specify if Tooltip should flip to the opposite side if there is not enough space.\nCannot be used with `autoPlacement`.\n<a href=\"https://floating-ui.com/docs/flip#options\" target=\"_blank\" rel=\"noopener noreferrer\">FlipOptions</a>\n- **shift** - Specify if Tooltip should shift to keep itself in view.\n<a href=\"https://floating-ui.com/docs/shift#options\" target=\"_blank\" rel=\"noopener noreferrer\">ShiftOptions</a>\n- **autoHiding** - Specify if Tooltip should hide when the anchor is not in view.\n<a href=\"https://floating-ui.com/docs/hide#options\" target=\"_blank\" rel=\"noopener noreferrer\">HideOptions</a>\n- **middleware** - Pass an array to override the floating-ui middleware\nor a function to modify the Beam-default middleware array.\n<a href=\"https://floating-ui.com/docs/middleware\" target=\"_blank\" rel=\"noopener noreferrer\">Middleware</a>\n- **defaultOpen** - Control the default visibility of Tooltip\n- **showDelay** - Specify the delay in milliseconds before Tooltip appears\nwhen the anchor is hovered\n- **popoverAPI** - Enable the Popover API internally on supported browsers\n- **disableAutoAria** - Disable aria-describedby and id attributes on the floating and anchor content\n- **autoDescribedById** - Override the auto-generated id attached to the trigger for aria-describedby\n- **disabled** - Prevent Tooltip from appearing\n- **triggerSize** - Specify the size of the Tooltip trigger. `none` to leave uncontrolled.\n---\n\n\n### **Events:**\n - **bm-toggle** - Dispatched when the Tooltip is toggled\n\n### **Slots:**\n - **text** - The content of Tooltip\n- **trigger** - The element that triggers Tooltip",
|
|
@@ -2293,96 +2373,6 @@
|
|
|
2293
2373
|
}
|
|
2294
2374
|
]
|
|
2295
2375
|
},
|
|
2296
|
-
{
|
|
2297
|
-
"name": "bm-text-area",
|
|
2298
|
-
"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",
|
|
2299
|
-
"attributes": [
|
|
2300
|
-
{
|
|
2301
|
-
"name": "rows",
|
|
2302
|
-
"description": "Specify the height of TextArea",
|
|
2303
|
-
"values": []
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
"name": "cols",
|
|
2307
|
-
"description": "Specify the width of TextArea",
|
|
2308
|
-
"values": []
|
|
2309
|
-
},
|
|
2310
|
-
{
|
|
2311
|
-
"name": "placeholder",
|
|
2312
|
-
"description": "Specify placeholder text for TextArea",
|
|
2313
|
-
"values": []
|
|
2314
|
-
},
|
|
2315
|
-
{
|
|
2316
|
-
"name": "required",
|
|
2317
|
-
"description": "Specify if TextArea is a required input",
|
|
2318
|
-
"values": []
|
|
2319
|
-
},
|
|
2320
|
-
{
|
|
2321
|
-
"name": "hideRequiredMarker",
|
|
2322
|
-
"description": "Specify if the TextArea displays with an asterisk",
|
|
2323
|
-
"values": []
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"name": "error",
|
|
2327
|
-
"description": "Specify error text and display error state of a TextArea",
|
|
2328
|
-
"values": []
|
|
2329
|
-
},
|
|
2330
|
-
{
|
|
2331
|
-
"name": "readOnly",
|
|
2332
|
-
"description": "Specify if TextArea displays in a read-only state",
|
|
2333
|
-
"values": []
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
"name": "disabled",
|
|
2337
|
-
"description": "Specify if TextArea displays in a disabled state",
|
|
2338
|
-
"values": []
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"name": "fluid",
|
|
2342
|
-
"description": "Specify if TextArea is fluid",
|
|
2343
|
-
"values": []
|
|
2344
|
-
},
|
|
2345
|
-
{
|
|
2346
|
-
"name": "width",
|
|
2347
|
-
"description": "Specify the width of TextArea",
|
|
2348
|
-
"values": []
|
|
2349
|
-
},
|
|
2350
|
-
{
|
|
2351
|
-
"name": "hideResize",
|
|
2352
|
-
"description": "Specify if TextArea can be manually resized",
|
|
2353
|
-
"values": []
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
"name": "maxCount",
|
|
2357
|
-
"description": "Specify the maximum character count for the TextArea",
|
|
2358
|
-
"values": []
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"name": "autoResize",
|
|
2362
|
-
"description": "Specify if the TextArea automatically resizes to fit the text",
|
|
2363
|
-
"values": []
|
|
2364
|
-
},
|
|
2365
|
-
{
|
|
2366
|
-
"name": "theme",
|
|
2367
|
-
"description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
|
|
2368
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2369
|
-
},
|
|
2370
|
-
{ "name": "id", "values": [] },
|
|
2371
|
-
{ "name": "name", "values": [] },
|
|
2372
|
-
{ "name": "value", "values": [] },
|
|
2373
|
-
{
|
|
2374
|
-
"name": "validationRules",
|
|
2375
|
-
"values": [{ "name": "Array<FormValidator>" }]
|
|
2376
|
-
},
|
|
2377
|
-
{ "name": "input-aria-label", "values": [] }
|
|
2378
|
-
],
|
|
2379
|
-
"references": [
|
|
2380
|
-
{
|
|
2381
|
-
"name": "Storybook",
|
|
2382
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
|
|
2383
|
-
}
|
|
2384
|
-
]
|
|
2385
|
-
},
|
|
2386
2376
|
{
|
|
2387
2377
|
"name": "bm-switch",
|
|
2388
2378
|
"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.",
|
|
@@ -2427,61 +2417,79 @@
|
|
|
2427
2417
|
]
|
|
2428
2418
|
},
|
|
2429
2419
|
{
|
|
2430
|
-
"name": "bm-text-
|
|
2431
|
-
"description": "`bm-text-
|
|
2420
|
+
"name": "bm-text-area",
|
|
2421
|
+
"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",
|
|
2432
2422
|
"attributes": [
|
|
2423
|
+
{
|
|
2424
|
+
"name": "rows",
|
|
2425
|
+
"description": "Specify the height of TextArea",
|
|
2426
|
+
"values": []
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
"name": "cols",
|
|
2430
|
+
"description": "Specify the width of TextArea",
|
|
2431
|
+
"values": []
|
|
2432
|
+
},
|
|
2433
2433
|
{
|
|
2434
2434
|
"name": "placeholder",
|
|
2435
|
-
"description": "Specify placeholder text for
|
|
2435
|
+
"description": "Specify placeholder text for TextArea",
|
|
2436
2436
|
"values": []
|
|
2437
2437
|
},
|
|
2438
2438
|
{
|
|
2439
2439
|
"name": "required",
|
|
2440
|
-
"description": "Specify if
|
|
2440
|
+
"description": "Specify if TextArea is a required input",
|
|
2441
2441
|
"values": []
|
|
2442
2442
|
},
|
|
2443
2443
|
{
|
|
2444
2444
|
"name": "hideRequiredMarker",
|
|
2445
|
-
"description": "Specify if the
|
|
2445
|
+
"description": "Specify if the TextArea displays with an asterisk",
|
|
2446
2446
|
"values": []
|
|
2447
2447
|
},
|
|
2448
2448
|
{
|
|
2449
2449
|
"name": "error",
|
|
2450
|
-
"description": "Specify error text and display error state of a
|
|
2450
|
+
"description": "Specify error text and display error state of a TextArea",
|
|
2451
2451
|
"values": []
|
|
2452
2452
|
},
|
|
2453
2453
|
{
|
|
2454
2454
|
"name": "readOnly",
|
|
2455
|
-
"description": "Specify if
|
|
2455
|
+
"description": "Specify if TextArea displays in a read-only state",
|
|
2456
2456
|
"values": []
|
|
2457
2457
|
},
|
|
2458
2458
|
{
|
|
2459
2459
|
"name": "disabled",
|
|
2460
|
-
"description": "Specify if
|
|
2460
|
+
"description": "Specify if TextArea displays in a disabled state",
|
|
2461
2461
|
"values": []
|
|
2462
2462
|
},
|
|
2463
2463
|
{
|
|
2464
2464
|
"name": "fluid",
|
|
2465
|
-
"description": "Specify if
|
|
2465
|
+
"description": "Specify if TextArea is fluid",
|
|
2466
2466
|
"values": []
|
|
2467
2467
|
},
|
|
2468
2468
|
{
|
|
2469
2469
|
"name": "width",
|
|
2470
|
-
"description": "Specify the width of
|
|
2470
|
+
"description": "Specify the width of TextArea",
|
|
2471
2471
|
"values": []
|
|
2472
2472
|
},
|
|
2473
2473
|
{
|
|
2474
|
-
"name": "
|
|
2475
|
-
"description": "Specify if
|
|
2474
|
+
"name": "hideResize",
|
|
2475
|
+
"description": "Specify if TextArea can be manually resized",
|
|
2476
|
+
"values": []
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"name": "maxCount",
|
|
2480
|
+
"description": "Specify the maximum character count for the TextArea",
|
|
2481
|
+
"values": []
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"name": "autoResize",
|
|
2485
|
+
"description": "Specify if the TextArea automatically resizes to fit the text",
|
|
2476
2486
|
"values": []
|
|
2477
2487
|
},
|
|
2478
2488
|
{
|
|
2479
2489
|
"name": "theme",
|
|
2480
|
-
"description": "Specify the theme of the
|
|
2490
|
+
"description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
|
|
2481
2491
|
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2482
2492
|
},
|
|
2483
|
-
{ "name": "type", "values": [] },
|
|
2484
|
-
{ "name": "inputMode", "values": [] },
|
|
2485
2493
|
{ "name": "id", "values": [] },
|
|
2486
2494
|
{ "name": "name", "values": [] },
|
|
2487
2495
|
{ "name": "value", "values": [] },
|
|
@@ -2494,7 +2502,7 @@
|
|
|
2494
2502
|
"references": [
|
|
2495
2503
|
{
|
|
2496
2504
|
"name": "Storybook",
|
|
2497
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2505
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
|
|
2498
2506
|
}
|
|
2499
2507
|
]
|
|
2500
2508
|
},
|