@viasat/beam-web-components 2.26.0 → 2.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1519 -1519
- package/package.json +6 -6
- package/vscode.html-custom-data.json +182 -182
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viasat/beam-web-components",
|
|
3
|
-
"version": "2.26.
|
|
3
|
+
"version": "2.26.1",
|
|
4
4
|
"description": "Framework-agnostic web components for the Beam Design System built with Lit, compatible with Angular, Vue, Svelte, and vanilla JavaScript",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Viasat",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@viasat/beam-fonts": "2.26.
|
|
68
|
-
"@viasat/beam-shared": "2.26.
|
|
69
|
-
"@viasat/beam-styles": "2.26.
|
|
70
|
-
"@viasat/beam-tokens": "2.26.
|
|
71
|
-
"@viasat/beam-icons": "2.26.
|
|
67
|
+
"@viasat/beam-fonts": "2.26.1",
|
|
68
|
+
"@viasat/beam-shared": "2.26.1",
|
|
69
|
+
"@viasat/beam-styles": "2.26.1",
|
|
70
|
+
"@viasat/beam-tokens": "2.26.1",
|
|
71
|
+
"@viasat/beam-icons": "2.26.1",
|
|
72
72
|
"clsx": "^1.2.1",
|
|
73
73
|
"lit": "^3.1.0",
|
|
74
74
|
"@lit/context": "^1.1.1",
|
|
@@ -62,37 +62,12 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": "bm-
|
|
66
|
-
"description": "`bm-
|
|
65
|
+
"name": "bm-badge",
|
|
66
|
+
"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",
|
|
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
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "theme",
|
|
90
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
91
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
92
|
-
},
|
|
93
68
|
{
|
|
94
69
|
"name": "appearance",
|
|
95
|
-
"description": "Specify the appearance of the
|
|
70
|
+
"description": "Specify the appearance of the Badge",
|
|
96
71
|
"values": [
|
|
97
72
|
{ "name": "infoPrimary" },
|
|
98
73
|
{ "name": "infoSecondary" },
|
|
@@ -102,45 +77,45 @@
|
|
|
102
77
|
]
|
|
103
78
|
},
|
|
104
79
|
{
|
|
105
|
-
"name": "
|
|
106
|
-
"description": "
|
|
107
|
-
"values": []
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "hideIcon",
|
|
111
|
-
"description": "Specify if the icon displays on the Alert",
|
|
112
|
-
"values": []
|
|
80
|
+
"name": "theme",
|
|
81
|
+
"description": "Theme of the Badge",
|
|
82
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
113
83
|
},
|
|
114
84
|
{
|
|
115
|
-
"name": "
|
|
116
|
-
"description": "Specify
|
|
117
|
-
"values": []
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Badge",
|
|
87
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
118
88
|
},
|
|
119
89
|
{
|
|
120
|
-
"name": "
|
|
121
|
-
"description": "
|
|
122
|
-
"values": [
|
|
90
|
+
"name": "emphasis",
|
|
91
|
+
"description": "Specify the emphasis of the Badge",
|
|
92
|
+
"values": [
|
|
93
|
+
{ "name": "strong" },
|
|
94
|
+
{ "name": "medium" },
|
|
95
|
+
{ "name": "subtle" }
|
|
96
|
+
]
|
|
123
97
|
},
|
|
124
|
-
{
|
|
125
|
-
"name": "disableCloseOnEscape",
|
|
126
|
-
"description": "Prevent Escape from closing",
|
|
127
|
-
"values": []
|
|
128
|
-
}
|
|
98
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
129
99
|
],
|
|
130
100
|
"references": [
|
|
131
101
|
{
|
|
132
102
|
"name": "Storybook",
|
|
133
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
103
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
134
104
|
}
|
|
135
105
|
]
|
|
136
106
|
},
|
|
137
107
|
{
|
|
138
|
-
"name": "bm-badge",
|
|
139
|
-
"description": "`bm-badge`\n\n### Attributes:\n- **
|
|
108
|
+
"name": "bm-badge-dot",
|
|
109
|
+
"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",
|
|
140
110
|
"attributes": [
|
|
111
|
+
{
|
|
112
|
+
"name": "theme",
|
|
113
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
114
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
115
|
+
},
|
|
141
116
|
{
|
|
142
117
|
"name": "appearance",
|
|
143
|
-
"description": "Specify the appearance of the
|
|
118
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
144
119
|
"values": [
|
|
145
120
|
{ "name": "infoPrimary" },
|
|
146
121
|
{ "name": "infoSecondary" },
|
|
@@ -149,31 +124,21 @@
|
|
|
149
124
|
{ "name": "negative" }
|
|
150
125
|
]
|
|
151
126
|
},
|
|
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
127
|
{
|
|
163
128
|
"name": "emphasis",
|
|
164
|
-
"description": "Specify the emphasis of the
|
|
165
|
-
"values": [
|
|
166
|
-
{ "name": "strong" },
|
|
167
|
-
{ "name": "medium" },
|
|
168
|
-
{ "name": "subtle" }
|
|
169
|
-
]
|
|
129
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
130
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
170
131
|
},
|
|
171
|
-
{
|
|
132
|
+
{
|
|
133
|
+
"name": "overrideDotColor",
|
|
134
|
+
"description": "Overrides default dot color",
|
|
135
|
+
"values": []
|
|
136
|
+
}
|
|
172
137
|
],
|
|
173
138
|
"references": [
|
|
174
139
|
{
|
|
175
140
|
"name": "Storybook",
|
|
176
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
141
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
177
142
|
}
|
|
178
143
|
]
|
|
179
144
|
},
|
|
@@ -581,63 +546,75 @@
|
|
|
581
546
|
]
|
|
582
547
|
},
|
|
583
548
|
{
|
|
584
|
-
"name": "bm-
|
|
585
|
-
"description": "`bm-
|
|
549
|
+
"name": "bm-alert",
|
|
550
|
+
"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",
|
|
586
551
|
"attributes": [
|
|
587
552
|
{
|
|
588
|
-
"name": "
|
|
589
|
-
"description": "Specify
|
|
553
|
+
"name": "heading",
|
|
554
|
+
"description": "Specify the heading text for Alert",
|
|
590
555
|
"values": []
|
|
591
556
|
},
|
|
592
557
|
{
|
|
593
|
-
"name": "
|
|
594
|
-
"description": "Specify
|
|
558
|
+
"name": "body",
|
|
559
|
+
"description": "Specify the body text for Alert",
|
|
595
560
|
"values": []
|
|
596
561
|
},
|
|
597
562
|
{
|
|
598
|
-
"name": "
|
|
599
|
-
"description": "Specify
|
|
563
|
+
"name": "size",
|
|
564
|
+
"description": "Specify the size of the Alert",
|
|
565
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "fullWidth",
|
|
569
|
+
"description": "Specify if the Alert has no border radius",
|
|
600
570
|
"values": []
|
|
601
571
|
},
|
|
602
572
|
{
|
|
603
573
|
"name": "theme",
|
|
604
|
-
"description": "Specify the theme of the
|
|
574
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
605
575
|
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
606
|
-
}
|
|
607
|
-
],
|
|
608
|
-
"references": [
|
|
576
|
+
},
|
|
609
577
|
{
|
|
610
|
-
"name": "
|
|
611
|
-
"
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
578
|
+
"name": "appearance",
|
|
579
|
+
"description": "Specify the appearance of the Alert",
|
|
580
|
+
"values": [
|
|
581
|
+
{ "name": "infoPrimary" },
|
|
582
|
+
{ "name": "infoSecondary" },
|
|
583
|
+
{ "name": "positive" },
|
|
584
|
+
{ "name": "warning" },
|
|
585
|
+
{ "name": "negative" }
|
|
586
|
+
]
|
|
587
|
+
},
|
|
620
588
|
{
|
|
621
|
-
"name": "
|
|
622
|
-
"description": "Specify if the
|
|
589
|
+
"name": "hidden",
|
|
590
|
+
"description": "Specify if the Alert is hidden",
|
|
623
591
|
"values": []
|
|
624
592
|
},
|
|
625
593
|
{
|
|
626
|
-
"name": "
|
|
627
|
-
"description": "Specify
|
|
594
|
+
"name": "hideIcon",
|
|
595
|
+
"description": "Specify if the icon displays on the Alert",
|
|
628
596
|
"values": []
|
|
629
597
|
},
|
|
630
598
|
{
|
|
631
|
-
"name": "
|
|
632
|
-
"description": "Specify
|
|
599
|
+
"name": "dismissible",
|
|
600
|
+
"description": "Specify if the Alert can be dismissed",
|
|
633
601
|
"values": []
|
|
634
602
|
},
|
|
635
|
-
{
|
|
603
|
+
{
|
|
604
|
+
"name": "disableAutoFocus",
|
|
605
|
+
"description": "Prevent autofocus on show",
|
|
606
|
+
"values": []
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "disableCloseOnEscape",
|
|
610
|
+
"description": "Prevent Escape from closing",
|
|
611
|
+
"values": []
|
|
612
|
+
}
|
|
636
613
|
],
|
|
637
614
|
"references": [
|
|
638
615
|
{
|
|
639
616
|
"name": "Storybook",
|
|
640
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
617
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
641
618
|
}
|
|
642
619
|
]
|
|
643
620
|
},
|
|
@@ -739,6 +716,67 @@
|
|
|
739
716
|
}
|
|
740
717
|
]
|
|
741
718
|
},
|
|
719
|
+
{
|
|
720
|
+
"name": "bm-breadcrumb",
|
|
721
|
+
"description": "`bm-breadcrumb`\n\n### Attributes:\n- **wrap** - Specify if items wrap or collapse to an ellipsis\n- **itemsBeforeCollapse** - Specify how many items show before ellipsis\n- **itemsAfterCollapse** - Specify how many items show after ellipsis\n- **theme** - Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Pass items to the Breadcrumb",
|
|
722
|
+
"attributes": [
|
|
723
|
+
{
|
|
724
|
+
"name": "wrap",
|
|
725
|
+
"description": "Specify if items wrap or collapse to an ellipsis",
|
|
726
|
+
"values": []
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "itemsBeforeCollapse",
|
|
730
|
+
"description": "Specify how many items show before ellipsis",
|
|
731
|
+
"values": []
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "itemsAfterCollapse",
|
|
735
|
+
"description": "Specify how many items show after ellipsis",
|
|
736
|
+
"values": []
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "theme",
|
|
740
|
+
"description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
|
|
741
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
742
|
+
}
|
|
743
|
+
],
|
|
744
|
+
"references": [
|
|
745
|
+
{
|
|
746
|
+
"name": "Storybook",
|
|
747
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"name": "bm-breadcrumb-item",
|
|
753
|
+
"description": "`bm-breadcrumb-item`\n\n### Attributes:\n- **href** - Pass href to an item\n- **clickable** - Specify if the item is interactive without an href\n- **truncationWidth** - Specify truncation width of the items. Sets max-width for all items but the last.\n- **isCurrent** - Specify explicitly if the item is the last one\n- **isCollapsed** \n---\n\n\n### **Slots:**\n - **default** - Pass text to an item\n- **icon** - Pass icon to an item",
|
|
754
|
+
"attributes": [
|
|
755
|
+
{ "name": "href", "description": "Pass href to an item", "values": [] },
|
|
756
|
+
{
|
|
757
|
+
"name": "clickable",
|
|
758
|
+
"description": "Specify if the item is interactive without an href",
|
|
759
|
+
"values": []
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "truncationWidth",
|
|
763
|
+
"description": "Specify truncation width of the items. Sets max-width for all items but the last.",
|
|
764
|
+
"values": []
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "isCurrent",
|
|
768
|
+
"description": "Specify explicitly if the item is the last one",
|
|
769
|
+
"values": []
|
|
770
|
+
},
|
|
771
|
+
{ "name": "isCollapsed", "values": [] }
|
|
772
|
+
],
|
|
773
|
+
"references": [
|
|
774
|
+
{
|
|
775
|
+
"name": "Storybook",
|
|
776
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
|
+
},
|
|
742
780
|
{
|
|
743
781
|
"name": "bm-button",
|
|
744
782
|
"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",
|
|
@@ -807,44 +845,6 @@
|
|
|
807
845
|
}
|
|
808
846
|
]
|
|
809
847
|
},
|
|
810
|
-
{
|
|
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
|
-
"attributes": [
|
|
814
|
-
{
|
|
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" }]
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "appearance",
|
|
821
|
-
"description": "Specify the appearance of the BadgeDot",
|
|
822
|
-
"values": [
|
|
823
|
-
{ "name": "infoPrimary" },
|
|
824
|
-
{ "name": "infoSecondary" },
|
|
825
|
-
{ "name": "positive" },
|
|
826
|
-
{ "name": "warning" },
|
|
827
|
-
{ "name": "negative" }
|
|
828
|
-
]
|
|
829
|
-
},
|
|
830
|
-
{
|
|
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
|
-
}
|
|
840
|
-
],
|
|
841
|
-
"references": [
|
|
842
|
-
{
|
|
843
|
-
"name": "Storybook",
|
|
844
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
845
|
-
}
|
|
846
|
-
]
|
|
847
|
-
},
|
|
848
848
|
{
|
|
849
849
|
"name": "bm-close-button",
|
|
850
850
|
"description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled\n---\n",
|
|
@@ -1904,6 +1904,51 @@
|
|
|
1904
1904
|
}
|
|
1905
1905
|
]
|
|
1906
1906
|
},
|
|
1907
|
+
{
|
|
1908
|
+
"name": "bm-form",
|
|
1909
|
+
"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",
|
|
1910
|
+
"attributes": [
|
|
1911
|
+
{
|
|
1912
|
+
"name": "validationMode",
|
|
1913
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
1914
|
+
"values": [
|
|
1915
|
+
{ "name": "onChange" },
|
|
1916
|
+
{ "name": "onBlur" },
|
|
1917
|
+
{ "name": "onSubmit" }
|
|
1918
|
+
]
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "initialValues",
|
|
1922
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
1923
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "required",
|
|
1927
|
+
"description": "Specify if input is a required",
|
|
1928
|
+
"values": []
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "disabled",
|
|
1932
|
+
"description": "Specify if input is a disabled",
|
|
1933
|
+
"values": []
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
"name": "readOnly",
|
|
1937
|
+
"description": "Specify if input is a read only",
|
|
1938
|
+
"values": []
|
|
1939
|
+
},
|
|
1940
|
+
{ "name": "action", "values": [] },
|
|
1941
|
+
{ "name": "method", "values": [] },
|
|
1942
|
+
{ "name": "target", "values": [] },
|
|
1943
|
+
{ "name": "enctype", "values": [] }
|
|
1944
|
+
],
|
|
1945
|
+
"references": [
|
|
1946
|
+
{
|
|
1947
|
+
"name": "Storybook",
|
|
1948
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
1949
|
+
}
|
|
1950
|
+
]
|
|
1951
|
+
},
|
|
1907
1952
|
{
|
|
1908
1953
|
"name": "bm-file-upload-button",
|
|
1909
1954
|
"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",
|
|
@@ -2211,51 +2256,6 @@
|
|
|
2211
2256
|
}
|
|
2212
2257
|
]
|
|
2213
2258
|
},
|
|
2214
|
-
{
|
|
2215
|
-
"name": "bm-form",
|
|
2216
|
-
"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",
|
|
2217
|
-
"attributes": [
|
|
2218
|
-
{
|
|
2219
|
-
"name": "validationMode",
|
|
2220
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
2221
|
-
"values": [
|
|
2222
|
-
{ "name": "onChange" },
|
|
2223
|
-
{ "name": "onBlur" },
|
|
2224
|
-
{ "name": "onSubmit" }
|
|
2225
|
-
]
|
|
2226
|
-
},
|
|
2227
|
-
{
|
|
2228
|
-
"name": "initialValues",
|
|
2229
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
2230
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
"name": "required",
|
|
2234
|
-
"description": "Specify if input is a required",
|
|
2235
|
-
"values": []
|
|
2236
|
-
},
|
|
2237
|
-
{
|
|
2238
|
-
"name": "disabled",
|
|
2239
|
-
"description": "Specify if input is a disabled",
|
|
2240
|
-
"values": []
|
|
2241
|
-
},
|
|
2242
|
-
{
|
|
2243
|
-
"name": "readOnly",
|
|
2244
|
-
"description": "Specify if input is a read only",
|
|
2245
|
-
"values": []
|
|
2246
|
-
},
|
|
2247
|
-
{ "name": "action", "values": [] },
|
|
2248
|
-
{ "name": "method", "values": [] },
|
|
2249
|
-
{ "name": "target", "values": [] },
|
|
2250
|
-
{ "name": "enctype", "values": [] }
|
|
2251
|
-
],
|
|
2252
|
-
"references": [
|
|
2253
|
-
{
|
|
2254
|
-
"name": "Storybook",
|
|
2255
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2256
|
-
}
|
|
2257
|
-
]
|
|
2258
|
-
},
|
|
2259
2259
|
{
|
|
2260
2260
|
"name": "bm-native-select",
|
|
2261
2261
|
"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",
|