@viasat/beam-web-components 2.63.0 → 2.64.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/Accordion/Accordion.d.ts +1 -1
- package/Accordion/AccordionGroup.d.ts +1 -1
- package/Alert/Alert.d.ts +1 -1
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/AvatarGroup.d.ts +1 -1
- package/Badge/Badge.d.ts +1 -1
- package/BadgeDot/BadgeDot.d.ts +1 -1
- package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/Breadcrumbs/BreadcrumbsItem.d.ts +1 -1
- package/Button/Button.d.ts +1 -1
- package/CloseButton/CloseButton.d.ts +1 -1
- package/EmptyState/EmptyState.d.ts +1 -1
- package/HelperText/HelperText.d.ts +1 -1
- package/Icon/Icon.d.ts +1 -1
- package/InputChoiceGroup/InputChoiceGroup.d.ts +1 -1
- package/Label/Label.d.ts +1 -1
- package/Link/Link.d.ts +1 -1
- package/List/List.d.ts +1 -1
- package/List/ListItem.d.ts +1 -1
- package/ProgressBar/ProgressBar.d.ts +1 -1
- package/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/SegmentedControl/SegmentedControlItem.d.ts +1 -1
- package/SegmentedControl/SegmentedControlList.d.ts +1 -1
- package/SegmentedControl/SegmentedControlPanel.d.ts +1 -1
- package/Spinner/Spinner.d.ts +1 -1
- package/Text/Text.d.ts +1 -1
- package/Tooltip/Tooltip.d.ts +2 -2
- package/custom-elements.json +2595 -2586
- package/local/wip/Form/Form.decorator.js +55 -54
- package/package.json +6 -6
- package/vscode.html-custom-data.json +244 -244
- package/wip/Checkbox/Checkbox.d.ts +1 -1
- package/wip/FileUpload/FileUpload.Button.d.ts +1 -1
- package/wip/FileUpload/FileUpload.Dropzone.d.ts +1 -1
- package/wip/FileUpload/FileUpload.List.Item.d.ts +1 -1
- package/wip/FileUpload/FileUpload.List.d.ts +1 -1
- package/wip/FileUpload/FileUpload.d.ts +2 -2
- package/wip/Form/Form.d.ts +2 -2
- package/wip/Form/Form.decorator.d.ts +2 -2
- package/wip/Form/Form.decorator.js +53 -52
- package/wip/RadioButton/RadioButton.d.ts +2 -2
- package/wip/Switch/Switch.d.ts +2 -2
- package/wip/TextArea/TextArea.d.ts +1 -1
|
@@ -61,6 +61,87 @@
|
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
+
{
|
|
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
|
+
"attributes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "appearance",
|
|
70
|
+
"description": "Specify the appearance of the Badge",
|
|
71
|
+
"values": [
|
|
72
|
+
{ "name": "infoPrimary" },
|
|
73
|
+
{ "name": "infoSecondary" },
|
|
74
|
+
{ "name": "positive" },
|
|
75
|
+
{ "name": "warning" },
|
|
76
|
+
{ "name": "negative" }
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "theme",
|
|
81
|
+
"description": "Theme of the Badge",
|
|
82
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Badge",
|
|
87
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "emphasis",
|
|
91
|
+
"description": "Specify the emphasis of the Badge",
|
|
92
|
+
"values": [
|
|
93
|
+
{ "name": "strong" },
|
|
94
|
+
{ "name": "medium" },
|
|
95
|
+
{ "name": "subtle" }
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
99
|
+
],
|
|
100
|
+
"references": [
|
|
101
|
+
{
|
|
102
|
+
"name": "Storybook",
|
|
103
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
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",
|
|
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
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "appearance",
|
|
118
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
119
|
+
"values": [
|
|
120
|
+
{ "name": "infoPrimary" },
|
|
121
|
+
{ "name": "infoSecondary" },
|
|
122
|
+
{ "name": "positive" },
|
|
123
|
+
{ "name": "warning" },
|
|
124
|
+
{ "name": "negative" }
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "emphasis",
|
|
129
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
130
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "overrideDotColor",
|
|
134
|
+
"description": "Overrides default dot color",
|
|
135
|
+
"values": []
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"references": [
|
|
139
|
+
{
|
|
140
|
+
"name": "Storybook",
|
|
141
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
64
145
|
{
|
|
65
146
|
"name": "bm-avatar",
|
|
66
147
|
"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",
|
|
@@ -160,12 +241,37 @@
|
|
|
160
241
|
]
|
|
161
242
|
},
|
|
162
243
|
{
|
|
163
|
-
"name": "bm-
|
|
164
|
-
"description": "`bm-
|
|
244
|
+
"name": "bm-alert",
|
|
245
|
+
"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",
|
|
165
246
|
"attributes": [
|
|
247
|
+
{
|
|
248
|
+
"name": "heading",
|
|
249
|
+
"description": "Specify the heading text for Alert",
|
|
250
|
+
"values": []
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "body",
|
|
254
|
+
"description": "Specify the body text for Alert",
|
|
255
|
+
"values": []
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "size",
|
|
259
|
+
"description": "Specify the size of the Alert",
|
|
260
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "fullWidth",
|
|
264
|
+
"description": "Specify if the Alert has no border radius",
|
|
265
|
+
"values": []
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "theme",
|
|
269
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
270
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
271
|
+
},
|
|
166
272
|
{
|
|
167
273
|
"name": "appearance",
|
|
168
|
-
"description": "Specify the appearance of the
|
|
274
|
+
"description": "Specify the appearance of the Alert",
|
|
169
275
|
"values": [
|
|
170
276
|
{ "name": "infoPrimary" },
|
|
171
277
|
{ "name": "infoSecondary" },
|
|
@@ -175,30 +281,35 @@
|
|
|
175
281
|
]
|
|
176
282
|
},
|
|
177
283
|
{
|
|
178
|
-
"name": "
|
|
179
|
-
"description": "
|
|
180
|
-
"values": [
|
|
284
|
+
"name": "hidden",
|
|
285
|
+
"description": "Specify if the Alert is hidden",
|
|
286
|
+
"values": []
|
|
181
287
|
},
|
|
182
288
|
{
|
|
183
|
-
"name": "
|
|
184
|
-
"description": "Specify the
|
|
185
|
-
"values": [
|
|
289
|
+
"name": "hideIcon",
|
|
290
|
+
"description": "Specify if the icon displays on the Alert",
|
|
291
|
+
"values": []
|
|
186
292
|
},
|
|
187
293
|
{
|
|
188
|
-
"name": "
|
|
189
|
-
"description": "Specify the
|
|
190
|
-
"values": [
|
|
191
|
-
{ "name": "strong" },
|
|
192
|
-
{ "name": "medium" },
|
|
193
|
-
{ "name": "subtle" }
|
|
194
|
-
]
|
|
294
|
+
"name": "dismissible",
|
|
295
|
+
"description": "Specify if the Alert can be dismissed",
|
|
296
|
+
"values": []
|
|
195
297
|
},
|
|
196
|
-
{
|
|
298
|
+
{
|
|
299
|
+
"name": "disableAutoFocus",
|
|
300
|
+
"description": "Prevent autofocus on show",
|
|
301
|
+
"values": []
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "disableCloseOnEscape",
|
|
305
|
+
"description": "Prevent Escape from closing",
|
|
306
|
+
"values": []
|
|
307
|
+
}
|
|
197
308
|
],
|
|
198
309
|
"references": [
|
|
199
310
|
{
|
|
200
311
|
"name": "Storybook",
|
|
201
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
312
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
202
313
|
}
|
|
203
314
|
]
|
|
204
315
|
},
|
|
@@ -734,117 +845,6 @@
|
|
|
734
845
|
}
|
|
735
846
|
]
|
|
736
847
|
},
|
|
737
|
-
{
|
|
738
|
-
"name": "bm-alert",
|
|
739
|
-
"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",
|
|
740
|
-
"attributes": [
|
|
741
|
-
{
|
|
742
|
-
"name": "heading",
|
|
743
|
-
"description": "Specify the heading text for Alert",
|
|
744
|
-
"values": []
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"name": "body",
|
|
748
|
-
"description": "Specify the body text for Alert",
|
|
749
|
-
"values": []
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
"name": "size",
|
|
753
|
-
"description": "Specify the size of the Alert",
|
|
754
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"name": "fullWidth",
|
|
758
|
-
"description": "Specify if the Alert has no border radius",
|
|
759
|
-
"values": []
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
"name": "theme",
|
|
763
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
764
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
"name": "appearance",
|
|
768
|
-
"description": "Specify the appearance of the Alert",
|
|
769
|
-
"values": [
|
|
770
|
-
{ "name": "infoPrimary" },
|
|
771
|
-
{ "name": "infoSecondary" },
|
|
772
|
-
{ "name": "positive" },
|
|
773
|
-
{ "name": "warning" },
|
|
774
|
-
{ "name": "negative" }
|
|
775
|
-
]
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
"name": "hidden",
|
|
779
|
-
"description": "Specify if the Alert is hidden",
|
|
780
|
-
"values": []
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"name": "hideIcon",
|
|
784
|
-
"description": "Specify if the icon displays on the Alert",
|
|
785
|
-
"values": []
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
"name": "dismissible",
|
|
789
|
-
"description": "Specify if the Alert can be dismissed",
|
|
790
|
-
"values": []
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"name": "disableAutoFocus",
|
|
794
|
-
"description": "Prevent autofocus on show",
|
|
795
|
-
"values": []
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
"name": "disableCloseOnEscape",
|
|
799
|
-
"description": "Prevent Escape from closing",
|
|
800
|
-
"values": []
|
|
801
|
-
}
|
|
802
|
-
],
|
|
803
|
-
"references": [
|
|
804
|
-
{
|
|
805
|
-
"name": "Storybook",
|
|
806
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
807
|
-
}
|
|
808
|
-
]
|
|
809
|
-
},
|
|
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",
|
|
@@ -1909,121 +1909,6 @@
|
|
|
1909
1909
|
}
|
|
1910
1910
|
]
|
|
1911
1911
|
},
|
|
1912
|
-
{
|
|
1913
|
-
"name": "bm-native-select",
|
|
1914
|
-
"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",
|
|
1915
|
-
"attributes": [
|
|
1916
|
-
{
|
|
1917
|
-
"name": "required",
|
|
1918
|
-
"description": "Specify if NativeSelect is a required input",
|
|
1919
|
-
"values": []
|
|
1920
|
-
},
|
|
1921
|
-
{
|
|
1922
|
-
"name": "readOnly",
|
|
1923
|
-
"description": "Specify if NativeSelect displays in a read-only state",
|
|
1924
|
-
"values": []
|
|
1925
|
-
},
|
|
1926
|
-
{
|
|
1927
|
-
"name": "disabled",
|
|
1928
|
-
"description": "Specify if NativeSelect displays in a disabled state",
|
|
1929
|
-
"values": []
|
|
1930
|
-
},
|
|
1931
|
-
{
|
|
1932
|
-
"name": "error",
|
|
1933
|
-
"description": "Specify error text and display error state of a NativeSelect",
|
|
1934
|
-
"values": []
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
"name": "fluid",
|
|
1938
|
-
"description": "Specify if NativeSelect is fluid",
|
|
1939
|
-
"values": []
|
|
1940
|
-
},
|
|
1941
|
-
{
|
|
1942
|
-
"name": "size",
|
|
1943
|
-
"description": "Specify the size of NativeSelect",
|
|
1944
|
-
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
1945
|
-
},
|
|
1946
|
-
{
|
|
1947
|
-
"name": "width",
|
|
1948
|
-
"description": "Specify the width of NativeSelect",
|
|
1949
|
-
"values": []
|
|
1950
|
-
},
|
|
1951
|
-
{
|
|
1952
|
-
"name": "ellipse",
|
|
1953
|
-
"description": "Specify if overflow displays ellipsis",
|
|
1954
|
-
"values": []
|
|
1955
|
-
},
|
|
1956
|
-
{
|
|
1957
|
-
"name": "hideRequiredMarker",
|
|
1958
|
-
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
1959
|
-
"values": []
|
|
1960
|
-
},
|
|
1961
|
-
{
|
|
1962
|
-
"name": "theme",
|
|
1963
|
-
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
1964
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
1965
|
-
},
|
|
1966
|
-
{ "name": "id", "values": [] },
|
|
1967
|
-
{ "name": "name", "values": [] },
|
|
1968
|
-
{ "name": "value", "values": [] },
|
|
1969
|
-
{
|
|
1970
|
-
"name": "validationRules",
|
|
1971
|
-
"values": [{ "name": "Array<FormValidator>" }]
|
|
1972
|
-
},
|
|
1973
|
-
{ "name": "input-aria-label", "values": [] }
|
|
1974
|
-
],
|
|
1975
|
-
"references": [
|
|
1976
|
-
{
|
|
1977
|
-
"name": "Storybook",
|
|
1978
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
1979
|
-
}
|
|
1980
|
-
]
|
|
1981
|
-
},
|
|
1982
|
-
{
|
|
1983
|
-
"name": "bm-form",
|
|
1984
|
-
"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",
|
|
1985
|
-
"attributes": [
|
|
1986
|
-
{
|
|
1987
|
-
"name": "validationMode",
|
|
1988
|
-
"description": "Specify if validation runs on change or when loosing focus",
|
|
1989
|
-
"values": [
|
|
1990
|
-
{ "name": "onChange" },
|
|
1991
|
-
{ "name": "onBlur" },
|
|
1992
|
-
{ "name": "onSubmit" }
|
|
1993
|
-
]
|
|
1994
|
-
},
|
|
1995
|
-
{
|
|
1996
|
-
"name": "initialValues",
|
|
1997
|
-
"description": "Specify initial values on Form controls based on their names",
|
|
1998
|
-
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
1999
|
-
},
|
|
2000
|
-
{
|
|
2001
|
-
"name": "required",
|
|
2002
|
-
"description": "Specify if input is a required",
|
|
2003
|
-
"values": []
|
|
2004
|
-
},
|
|
2005
|
-
{
|
|
2006
|
-
"name": "disabled",
|
|
2007
|
-
"description": "Specify if input is a disabled",
|
|
2008
|
-
"values": []
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
"name": "readOnly",
|
|
2012
|
-
"description": "Specify if input is a read only",
|
|
2013
|
-
"values": []
|
|
2014
|
-
},
|
|
2015
|
-
{ "name": "action", "values": [] },
|
|
2016
|
-
{ "name": "method", "values": [] },
|
|
2017
|
-
{ "name": "target", "values": [] },
|
|
2018
|
-
{ "name": "enctype", "values": [] }
|
|
2019
|
-
],
|
|
2020
|
-
"references": [
|
|
2021
|
-
{
|
|
2022
|
-
"name": "Storybook",
|
|
2023
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2024
|
-
}
|
|
2025
|
-
]
|
|
2026
|
-
},
|
|
2027
1912
|
{
|
|
2028
1913
|
"name": "bm-file-upload-button",
|
|
2029
1914
|
"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",
|
|
@@ -2331,6 +2216,121 @@
|
|
|
2331
2216
|
}
|
|
2332
2217
|
]
|
|
2333
2218
|
},
|
|
2219
|
+
{
|
|
2220
|
+
"name": "bm-form",
|
|
2221
|
+
"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",
|
|
2222
|
+
"attributes": [
|
|
2223
|
+
{
|
|
2224
|
+
"name": "validationMode",
|
|
2225
|
+
"description": "Specify if validation runs on change or when loosing focus",
|
|
2226
|
+
"values": [
|
|
2227
|
+
{ "name": "onChange" },
|
|
2228
|
+
{ "name": "onBlur" },
|
|
2229
|
+
{ "name": "onSubmit" }
|
|
2230
|
+
]
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"name": "initialValues",
|
|
2234
|
+
"description": "Specify initial values on Form controls based on their names",
|
|
2235
|
+
"values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"name": "required",
|
|
2239
|
+
"description": "Specify if input is a required",
|
|
2240
|
+
"values": []
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "disabled",
|
|
2244
|
+
"description": "Specify if input is a disabled",
|
|
2245
|
+
"values": []
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"name": "readOnly",
|
|
2249
|
+
"description": "Specify if input is a read only",
|
|
2250
|
+
"values": []
|
|
2251
|
+
},
|
|
2252
|
+
{ "name": "action", "values": [] },
|
|
2253
|
+
{ "name": "method", "values": [] },
|
|
2254
|
+
{ "name": "target", "values": [] },
|
|
2255
|
+
{ "name": "enctype", "values": [] }
|
|
2256
|
+
],
|
|
2257
|
+
"references": [
|
|
2258
|
+
{
|
|
2259
|
+
"name": "Storybook",
|
|
2260
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
|
|
2261
|
+
}
|
|
2262
|
+
]
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"name": "bm-native-select",
|
|
2266
|
+
"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",
|
|
2267
|
+
"attributes": [
|
|
2268
|
+
{
|
|
2269
|
+
"name": "required",
|
|
2270
|
+
"description": "Specify if NativeSelect is a required input",
|
|
2271
|
+
"values": []
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"name": "readOnly",
|
|
2275
|
+
"description": "Specify if NativeSelect displays in a read-only state",
|
|
2276
|
+
"values": []
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"name": "disabled",
|
|
2280
|
+
"description": "Specify if NativeSelect displays in a disabled state",
|
|
2281
|
+
"values": []
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
"name": "error",
|
|
2285
|
+
"description": "Specify error text and display error state of a NativeSelect",
|
|
2286
|
+
"values": []
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
"name": "fluid",
|
|
2290
|
+
"description": "Specify if NativeSelect is fluid",
|
|
2291
|
+
"values": []
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"name": "size",
|
|
2295
|
+
"description": "Specify the size of NativeSelect",
|
|
2296
|
+
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"name": "width",
|
|
2300
|
+
"description": "Specify the width of NativeSelect",
|
|
2301
|
+
"values": []
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
"name": "ellipse",
|
|
2305
|
+
"description": "Specify if overflow displays ellipsis",
|
|
2306
|
+
"values": []
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"name": "hideRequiredMarker",
|
|
2310
|
+
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
2311
|
+
"values": []
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"name": "theme",
|
|
2315
|
+
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
2316
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2317
|
+
},
|
|
2318
|
+
{ "name": "id", "values": [] },
|
|
2319
|
+
{ "name": "name", "values": [] },
|
|
2320
|
+
{ "name": "value", "values": [] },
|
|
2321
|
+
{
|
|
2322
|
+
"name": "validationRules",
|
|
2323
|
+
"values": [{ "name": "Array<FormValidator>" }]
|
|
2324
|
+
},
|
|
2325
|
+
{ "name": "input-aria-label", "values": [] }
|
|
2326
|
+
],
|
|
2327
|
+
"references": [
|
|
2328
|
+
{
|
|
2329
|
+
"name": "Storybook",
|
|
2330
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
2331
|
+
}
|
|
2332
|
+
]
|
|
2333
|
+
},
|
|
2334
2334
|
{
|
|
2335
2335
|
"name": "bm-radio-button",
|
|
2336
2336
|
"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",
|
|
@@ -45,7 +45,7 @@ export declare class BmCheckbox extends LitElement {
|
|
|
45
45
|
checked?: boolean;
|
|
46
46
|
inputChoiceGroupContext?: InputChoiceGroupContextProps;
|
|
47
47
|
clickHandler(event: Event): void;
|
|
48
|
-
render(): import('lit
|
|
48
|
+
render(): import('lit').TemplateResult<1>;
|
|
49
49
|
}
|
|
50
50
|
declare global {
|
|
51
51
|
interface HTMLElementTagNameMap {
|
|
@@ -26,7 +26,7 @@ export declare class BmFileUploadButton extends BmButton {
|
|
|
26
26
|
constructor();
|
|
27
27
|
protected willUpdate(changedProperties: PropertyValues): void;
|
|
28
28
|
private renderBmButtonWithAdditionalClassName;
|
|
29
|
-
render(): import('lit
|
|
29
|
+
render(): import('lit').TemplateResult<1>;
|
|
30
30
|
}
|
|
31
31
|
declare global {
|
|
32
32
|
interface HTMLElementTagNameMap {
|
|
@@ -45,7 +45,7 @@ export declare class BmFileUploadDropzone extends LitElement {
|
|
|
45
45
|
private handleDragEnter;
|
|
46
46
|
private handleDragLeave;
|
|
47
47
|
private handleDragOver;
|
|
48
|
-
render(): import('lit
|
|
48
|
+
render(): import('lit').TemplateResult<1>;
|
|
49
49
|
}
|
|
50
50
|
declare global {
|
|
51
51
|
interface HTMLElementTagNameMap {
|
|
@@ -52,7 +52,7 @@ export declare class BmFileUploadListItem extends LitElement {
|
|
|
52
52
|
private listContext?;
|
|
53
53
|
private tooltipRef;
|
|
54
54
|
private fileNameRef;
|
|
55
|
-
render(): import('lit
|
|
55
|
+
render(): import('lit').TemplateResult<1>;
|
|
56
56
|
}
|
|
57
57
|
declare global {
|
|
58
58
|
interface HTMLElementTagNameMap {
|
|
@@ -36,7 +36,7 @@ export declare class BmFileUploadList extends LitElement {
|
|
|
36
36
|
willUpdate(): void;
|
|
37
37
|
private internalRenderItem;
|
|
38
38
|
private handleSlotChange;
|
|
39
|
-
render(): import('lit
|
|
39
|
+
render(): import('lit').TemplateResult<1>;
|
|
40
40
|
}
|
|
41
41
|
declare global {
|
|
42
42
|
interface HTMLElementTagNameMap {
|
|
@@ -80,7 +80,7 @@ export declare class BmFileUpload extends FormField {
|
|
|
80
80
|
theme?: ThemeTypes;
|
|
81
81
|
formContext: BmFormContext;
|
|
82
82
|
private fileUploadContext;
|
|
83
|
-
pickerRef: import('lit
|
|
83
|
+
pickerRef: import('lit/directives/ref.js').Ref<BmFileUploadButton | BmFileUploadDropzone>;
|
|
84
84
|
private _textFieldLabel;
|
|
85
85
|
private _textFieldHelperText;
|
|
86
86
|
private filesState;
|
|
@@ -91,7 +91,7 @@ export declare class BmFileUpload extends FormField {
|
|
|
91
91
|
formResetCallback(): void;
|
|
92
92
|
private _hasPickerSlot;
|
|
93
93
|
private _hasFilesListSlot;
|
|
94
|
-
render(): import('lit
|
|
94
|
+
render(): import('lit').TemplateResult<1>;
|
|
95
95
|
}
|
|
96
96
|
declare global {
|
|
97
97
|
interface HTMLElementTagNameMap {
|
package/wip/Form/Form.d.ts
CHANGED
|
@@ -36,11 +36,11 @@ export declare class BmForm extends LitElement {
|
|
|
36
36
|
target: Optional<string>;
|
|
37
37
|
enctype: Optional<string>;
|
|
38
38
|
formMeta: Record<string, FieldMeta>;
|
|
39
|
-
formRef: import('lit
|
|
39
|
+
formRef: import('lit/directives/ref.js').Ref<HTMLFormElement>;
|
|
40
40
|
private _actionFired;
|
|
41
41
|
formContext: BmFormContext;
|
|
42
42
|
willUpdate(changedProperties: Map<string, unknown>): void;
|
|
43
|
-
render(): import('lit
|
|
43
|
+
render(): import('lit').TemplateResult<1>;
|
|
44
44
|
}
|
|
45
45
|
declare global {
|
|
46
46
|
interface HTMLElementTagNameMap {
|
|
@@ -41,7 +41,7 @@ export declare class FormField extends LitElement {
|
|
|
41
41
|
protected setContextValue: () => void;
|
|
42
42
|
protected setContextValidation: () => void;
|
|
43
43
|
protected contextInitialsChanged: () => boolean;
|
|
44
|
-
protected renderError: (error: Optional<string>, disabled: boolean) => typeof nothing | import('lit
|
|
45
|
-
protected renderValidationErrors: () => typeof nothing | import('lit
|
|
44
|
+
protected renderError: (error: Optional<string>, disabled: boolean) => typeof nothing | import('lit').TemplateResult<1>;
|
|
45
|
+
protected renderValidationErrors: () => typeof nothing | import('lit').TemplateResult<1>;
|
|
46
46
|
}
|
|
47
47
|
//# sourceMappingURL=Form.decorator.d.ts.map
|