@viasat/beam-web-components 2.37.0 → 2.38.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/Accordion/Accordion.js +2 -2
- package/Accordion/AccordionGroup.context.js +1 -1
- package/Accordion/AccordionGroup.js +2 -2
- package/Accordion/index.js +1 -1
- package/Alert/Alert.js +3 -3
- package/Avatar/Avatar.js +1 -1
- package/Avatar/AvatarGroup.context.js +1 -1
- package/Avatar/AvatarGroup.js +3 -3
- package/Avatar/index.js +1 -1
- package/Badge/Badge.js +2 -2
- package/BadgeDot/BadgeDot.js +2 -2
- package/Box/Box.js +1 -1
- package/Breadcrumbs/Breadcrumbs.context.js +1 -1
- package/Breadcrumbs/Breadcrumbs.js +3 -3
- package/Breadcrumbs/BreadcrumbsItem.js +3 -3
- package/Breadcrumbs/index.js +1 -1
- package/Button/Button.js +2 -2
- package/CloseButton/CloseButton.js +2 -2
- package/Divider/Divider.js +1 -1
- package/EmptyState/EmptyState.js +2 -2
- package/HelperText/HelperText.js +3 -3
- package/HelperText/index.js +1 -1
- package/Icon/Icon.js +2 -2
- package/InputChoiceGroup/InputChoiceGroup.context.js +1 -1
- package/InputChoiceGroup/InputChoiceGroup.js +49 -49
- package/Label/Label.js +2 -2
- package/Link/Link.js +1 -1
- package/List/List.context.js +1 -1
- package/List/List.js +2 -2
- package/List/ListItem.js +2 -2
- package/ProgressBar/ProgressBar.js +2 -2
- package/SegmentedControl/SegmentedControl.context.js +1 -1
- package/SegmentedControl/SegmentedControl.js +2 -2
- package/SegmentedControl/SegmentedControlItem.js +3 -3
- package/SegmentedControl/SegmentedControlList.js +2 -2
- package/SegmentedControl/SegmentedControlPanel.js +2 -2
- package/Spinner/Spinner.js +2 -2
- package/Text/Text.js +2 -2
- package/TextField/TextField.d.ts +5 -0
- package/TextField/TextField.js +96 -91
- package/Tooltip/Tooltip.js +3 -3
- package/chunks/{Accordion.Bwk3EG3j.js → Accordion.BF2pHMSP.js} +2 -2
- package/chunks/{Avatar.BKgI1H4m.js → Avatar.kVWwOxWe.js} +3 -3
- package/chunks/{BreadcrumbsItem.DmudL_IG.js → BreadcrumbsItem.BoIbfnh6.js} +2 -2
- package/{local/chunks/CSSLookup.BdqZ5Li9.js → chunks/CSSLookup.CSKiKjPc.js} +1 -1
- package/chunks/{HelperText.SJGM6Q5H.js → HelperText.3YJvB8x0.js} +2 -2
- package/chunks/{classNames.Cq_tbDRp.js → classNames.BQclmCHG.js} +1 -1
- package/chunks/{constants.jOWREYQE.js → constants.ZIKMMCJH.js} +2 -2
- package/chunks/{helpers.AwJwaZvv.js → helpers.C43UgSdK.js} +2 -2
- package/chunks/input.D7RpzZmn.js +5 -0
- package/custom-elements.json +2694 -2656
- package/local/Accordion/Accordion.js +2 -2
- package/local/Accordion/AccordionGroup.context.js +1 -1
- package/local/Accordion/AccordionGroup.js +2 -2
- package/local/Accordion/index.js +1 -1
- package/local/Alert/Alert.js +3 -3
- package/local/Avatar/Avatar.js +2 -2
- package/local/Avatar/AvatarGroup.context.js +1 -1
- package/local/Avatar/AvatarGroup.js +4 -4
- package/local/Avatar/index.js +1 -1
- package/local/Badge/Badge.js +2 -2
- package/local/BadgeDot/BadgeDot.js +2 -2
- package/local/Box/Box.js +1 -1
- package/local/Breadcrumbs/Breadcrumbs.context.js +1 -1
- package/local/Breadcrumbs/Breadcrumbs.js +3 -3
- package/local/Breadcrumbs/BreadcrumbsItem.js +3 -3
- package/local/Breadcrumbs/index.js +1 -1
- package/local/Button/Button.js +2 -2
- package/local/CloseButton/CloseButton.js +2 -2
- package/local/Divider/Divider.js +1 -1
- package/local/EmptyState/EmptyState.js +2 -2
- package/local/HelperText/HelperText.js +3 -3
- package/local/HelperText/index.js +1 -1
- package/local/Icon/Icon.js +2 -2
- package/local/InputChoiceGroup/InputChoiceGroup.context.js +1 -1
- package/local/InputChoiceGroup/InputChoiceGroup.js +48 -48
- package/local/Label/Label.js +2 -2
- package/local/Link/Link.js +1 -1
- package/local/List/List.context.js +1 -1
- package/local/List/List.js +2 -2
- package/local/List/ListItem.js +2 -2
- package/local/ProgressBar/ProgressBar.js +2 -2
- package/local/SegmentedControl/SegmentedControl.context.js +1 -1
- package/local/SegmentedControl/SegmentedControl.js +2 -2
- package/local/SegmentedControl/SegmentedControlItem.js +3 -3
- package/local/SegmentedControl/SegmentedControlList.js +2 -2
- package/local/SegmentedControl/SegmentedControlPanel.js +2 -2
- package/local/Spinner/Spinner.js +2 -2
- package/local/Text/Text.js +2 -2
- package/local/TextField/TextField.js +95 -90
- package/local/Tooltip/Tooltip.js +3 -3
- package/local/chunks/{Accordion.UOcVt0ft.js → Accordion.DM6Nkgnh.js} +2 -2
- package/local/chunks/{Avatar.GyYNA9m6.js → Avatar.BT61pkbV.js} +3 -3
- package/local/chunks/{BreadcrumbsItem.Dp9fzlcw.js → BreadcrumbsItem.CsPbcOZ5.js} +2 -2
- package/{chunks/CSSLookup.BdqZ5Li9.js → local/chunks/CSSLookup.CSKiKjPc.js} +1 -1
- package/local/chunks/{classNames.C6fNrXWF.js → classNames.CARKFDmR.js} +1 -1
- package/local/chunks/{constants.jOWREYQE.js → constants.ZIKMMCJH.js} +2 -2
- package/local/chunks/{helpers.BWcXAteC.js → helpers.y-1K1Ev-.js} +2 -2
- package/local/chunks/{index.DNafYKj-.js → index.CUGawMXL.js} +2 -2
- package/local/chunks/input.D7RpzZmn.js +5 -0
- package/local/wip/Checkbox/Checkbox.js +11 -11
- package/local/wip/FileUpload/FileUpload.Button.js +2 -2
- package/local/wip/FileUpload/FileUpload.Dropzone.js +2 -2
- package/local/wip/FileUpload/FileUpload.List.Item.js +3 -3
- package/local/wip/FileUpload/FileUpload.List.js +2 -2
- package/local/wip/FileUpload/FileUpload.js +3 -3
- package/local/wip/FileUpload/FileUploadContext.js +1 -1
- package/local/wip/FileUpload/FileUploadListContext.js +1 -1
- package/local/wip/Form/Form.context.js +1 -1
- package/local/wip/Form/Form.decorator.js +1 -1
- package/local/wip/Form/Form.utils.js +1 -1
- package/local/wip/NativeSelect/NativeSelect.js +100 -95
- package/local/wip/RadioButton/RadioButton.js +41 -41
- package/local/wip/Switch/Switch.js +41 -41
- package/local/wip/TextArea/TextArea.js +100 -100
- package/package.json +6 -6
- package/vscode.html-custom-data.json +245 -235
- package/wip/Checkbox/Checkbox.js +33 -33
- package/wip/FileUpload/FileUpload.Button.js +2 -2
- package/wip/FileUpload/FileUpload.Dropzone.js +2 -2
- package/wip/FileUpload/FileUpload.List.Item.js +3 -3
- package/wip/FileUpload/FileUpload.List.js +2 -2
- package/wip/FileUpload/FileUpload.js +3 -3
- package/wip/FileUpload/FileUploadContext.js +1 -1
- package/wip/FileUpload/FileUploadListContext.js +1 -1
- package/wip/Form/Form.context.js +1 -1
- package/wip/Form/Form.decorator.js +1 -1
- package/wip/Form/Form.utils.js +1 -1
- package/wip/NativeSelect/NativeSelect.d.ts +6 -0
- package/wip/NativeSelect/NativeSelect.js +98 -93
- package/wip/RadioButton/RadioButton.js +26 -26
- package/wip/Switch/Switch.js +42 -42
- package/wip/TextArea/TextArea.js +102 -102
|
@@ -104,6 +104,79 @@
|
|
|
104
104
|
}
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
"name": "bm-alert",
|
|
109
|
+
"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",
|
|
110
|
+
"attributes": [
|
|
111
|
+
{
|
|
112
|
+
"name": "heading",
|
|
113
|
+
"description": "Specify the heading text for Alert",
|
|
114
|
+
"values": []
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "body",
|
|
118
|
+
"description": "Specify the body text for Alert",
|
|
119
|
+
"values": []
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "size",
|
|
123
|
+
"description": "Specify the size of the Alert",
|
|
124
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "fullWidth",
|
|
128
|
+
"description": "Specify if the Alert has no border radius",
|
|
129
|
+
"values": []
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "theme",
|
|
133
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
134
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "appearance",
|
|
138
|
+
"description": "Specify the appearance of the Alert",
|
|
139
|
+
"values": [
|
|
140
|
+
{ "name": "infoPrimary" },
|
|
141
|
+
{ "name": "infoSecondary" },
|
|
142
|
+
{ "name": "positive" },
|
|
143
|
+
{ "name": "warning" },
|
|
144
|
+
{ "name": "negative" }
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "hidden",
|
|
149
|
+
"description": "Specify if the Alert is hidden",
|
|
150
|
+
"values": []
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "hideIcon",
|
|
154
|
+
"description": "Specify if the icon displays on the Alert",
|
|
155
|
+
"values": []
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "dismissible",
|
|
159
|
+
"description": "Specify if the Alert can be dismissed",
|
|
160
|
+
"values": []
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "disableAutoFocus",
|
|
164
|
+
"description": "Prevent autofocus on show",
|
|
165
|
+
"values": []
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "disableCloseOnEscape",
|
|
169
|
+
"description": "Prevent Escape from closing",
|
|
170
|
+
"values": []
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"references": [
|
|
174
|
+
{
|
|
175
|
+
"name": "Storybook",
|
|
176
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
107
180
|
{
|
|
108
181
|
"name": "bm-badge-dot",
|
|
109
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",
|
|
@@ -545,67 +618,6 @@
|
|
|
545
618
|
}
|
|
546
619
|
]
|
|
547
620
|
},
|
|
548
|
-
{
|
|
549
|
-
"name": "bm-breadcrumb",
|
|
550
|
-
"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",
|
|
551
|
-
"attributes": [
|
|
552
|
-
{
|
|
553
|
-
"name": "wrap",
|
|
554
|
-
"description": "Specify if items wrap or collapse to an ellipsis",
|
|
555
|
-
"values": []
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"name": "itemsBeforeCollapse",
|
|
559
|
-
"description": "Specify how many items show before ellipsis",
|
|
560
|
-
"values": []
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
"name": "itemsAfterCollapse",
|
|
564
|
-
"description": "Specify how many items show after ellipsis",
|
|
565
|
-
"values": []
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"name": "theme",
|
|
569
|
-
"description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
|
|
570
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
571
|
-
}
|
|
572
|
-
],
|
|
573
|
-
"references": [
|
|
574
|
-
{
|
|
575
|
-
"name": "Storybook",
|
|
576
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
577
|
-
}
|
|
578
|
-
]
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"name": "bm-breadcrumb-item",
|
|
582
|
-
"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",
|
|
583
|
-
"attributes": [
|
|
584
|
-
{ "name": "href", "description": "Pass href to an item", "values": [] },
|
|
585
|
-
{
|
|
586
|
-
"name": "clickable",
|
|
587
|
-
"description": "Specify if the item is interactive without an href",
|
|
588
|
-
"values": []
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"name": "truncationWidth",
|
|
592
|
-
"description": "Specify truncation width of the items. Sets max-width for all items but the last.",
|
|
593
|
-
"values": []
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
"name": "isCurrent",
|
|
597
|
-
"description": "Specify explicitly if the item is the last one",
|
|
598
|
-
"values": []
|
|
599
|
-
},
|
|
600
|
-
{ "name": "isCollapsed", "values": [] }
|
|
601
|
-
],
|
|
602
|
-
"references": [
|
|
603
|
-
{
|
|
604
|
-
"name": "Storybook",
|
|
605
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
606
|
-
}
|
|
607
|
-
]
|
|
608
|
-
},
|
|
609
621
|
{
|
|
610
622
|
"name": "bm-avatar",
|
|
611
623
|
"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",
|
|
@@ -705,75 +717,63 @@
|
|
|
705
717
|
]
|
|
706
718
|
},
|
|
707
719
|
{
|
|
708
|
-
"name": "bm-
|
|
709
|
-
"description": "`bm-
|
|
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",
|
|
710
722
|
"attributes": [
|
|
711
723
|
{
|
|
712
|
-
"name": "
|
|
713
|
-
"description": "Specify
|
|
724
|
+
"name": "wrap",
|
|
725
|
+
"description": "Specify if items wrap or collapse to an ellipsis",
|
|
714
726
|
"values": []
|
|
715
727
|
},
|
|
716
728
|
{
|
|
717
|
-
"name": "
|
|
718
|
-
"description": "Specify
|
|
729
|
+
"name": "itemsBeforeCollapse",
|
|
730
|
+
"description": "Specify how many items show before ellipsis",
|
|
719
731
|
"values": []
|
|
720
732
|
},
|
|
721
733
|
{
|
|
722
|
-
"name": "
|
|
723
|
-
"description": "Specify
|
|
724
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"name": "fullWidth",
|
|
728
|
-
"description": "Specify if the Alert has no border radius",
|
|
734
|
+
"name": "itemsAfterCollapse",
|
|
735
|
+
"description": "Specify how many items show after ellipsis",
|
|
729
736
|
"values": []
|
|
730
737
|
},
|
|
731
738
|
{
|
|
732
739
|
"name": "theme",
|
|
733
|
-
"description": "Specify the theme of the
|
|
740
|
+
"description": "Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent",
|
|
734
741
|
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
"description": "Specify the appearance of the Alert",
|
|
739
|
-
"values": [
|
|
740
|
-
{ "name": "infoPrimary" },
|
|
741
|
-
{ "name": "infoSecondary" },
|
|
742
|
-
{ "name": "positive" },
|
|
743
|
-
{ "name": "warning" },
|
|
744
|
-
{ "name": "negative" }
|
|
745
|
-
]
|
|
746
|
-
},
|
|
742
|
+
}
|
|
743
|
+
],
|
|
744
|
+
"references": [
|
|
747
745
|
{
|
|
748
|
-
"name": "
|
|
749
|
-
"
|
|
750
|
-
|
|
751
|
-
|
|
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": [] },
|
|
752
756
|
{
|
|
753
|
-
"name": "
|
|
754
|
-
"description": "Specify if the
|
|
757
|
+
"name": "clickable",
|
|
758
|
+
"description": "Specify if the item is interactive without an href",
|
|
755
759
|
"values": []
|
|
756
760
|
},
|
|
757
761
|
{
|
|
758
|
-
"name": "
|
|
759
|
-
"description": "Specify
|
|
762
|
+
"name": "truncationWidth",
|
|
763
|
+
"description": "Specify truncation width of the items. Sets max-width for all items but the last.",
|
|
760
764
|
"values": []
|
|
761
765
|
},
|
|
762
766
|
{
|
|
763
|
-
"name": "
|
|
764
|
-
"description": "
|
|
767
|
+
"name": "isCurrent",
|
|
768
|
+
"description": "Specify explicitly if the item is the last one",
|
|
765
769
|
"values": []
|
|
766
770
|
},
|
|
767
|
-
{
|
|
768
|
-
"name": "disableCloseOnEscape",
|
|
769
|
-
"description": "Prevent Escape from closing",
|
|
770
|
-
"values": []
|
|
771
|
-
}
|
|
771
|
+
{ "name": "isCollapsed", "values": [] }
|
|
772
772
|
],
|
|
773
773
|
"references": [
|
|
774
774
|
{
|
|
775
775
|
"name": "Storybook",
|
|
776
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
776
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-breadcrumb"
|
|
777
777
|
}
|
|
778
778
|
]
|
|
779
779
|
},
|
|
@@ -1665,6 +1665,11 @@
|
|
|
1665
1665
|
"description": "Specify if TextField is fluid",
|
|
1666
1666
|
"values": []
|
|
1667
1667
|
},
|
|
1668
|
+
{
|
|
1669
|
+
"name": "size",
|
|
1670
|
+
"description": "Specify the size of TextField",
|
|
1671
|
+
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
1672
|
+
},
|
|
1668
1673
|
{
|
|
1669
1674
|
"name": "width",
|
|
1670
1675
|
"description": "Specify the width of TextField",
|
|
@@ -1904,116 +1909,6 @@
|
|
|
1904
1909
|
}
|
|
1905
1910
|
]
|
|
1906
1911
|
},
|
|
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
|
-
},
|
|
1952
|
-
{
|
|
1953
|
-
"name": "bm-native-select",
|
|
1954
|
-
"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",
|
|
1955
|
-
"attributes": [
|
|
1956
|
-
{
|
|
1957
|
-
"name": "required",
|
|
1958
|
-
"description": "Specify if NativeSelect is a required input",
|
|
1959
|
-
"values": []
|
|
1960
|
-
},
|
|
1961
|
-
{
|
|
1962
|
-
"name": "readOnly",
|
|
1963
|
-
"description": "Specify if NativeSelect displays in a read-only state",
|
|
1964
|
-
"values": []
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"name": "disabled",
|
|
1968
|
-
"description": "Specify if NativeSelect displays in a disabled state",
|
|
1969
|
-
"values": []
|
|
1970
|
-
},
|
|
1971
|
-
{
|
|
1972
|
-
"name": "error",
|
|
1973
|
-
"description": "Specify error text and display error state of a NativeSelect",
|
|
1974
|
-
"values": []
|
|
1975
|
-
},
|
|
1976
|
-
{
|
|
1977
|
-
"name": "fluid",
|
|
1978
|
-
"description": "Specify if NativeSelect is fluid",
|
|
1979
|
-
"values": []
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"name": "width",
|
|
1983
|
-
"description": "Specify the width of NativeSelect",
|
|
1984
|
-
"values": []
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
"name": "ellipse",
|
|
1988
|
-
"description": "Specify if overflow displays ellipsis",
|
|
1989
|
-
"values": []
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
"name": "hideRequiredMarker",
|
|
1993
|
-
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
1994
|
-
"values": []
|
|
1995
|
-
},
|
|
1996
|
-
{
|
|
1997
|
-
"name": "theme",
|
|
1998
|
-
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
1999
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2000
|
-
},
|
|
2001
|
-
{ "name": "id", "values": [] },
|
|
2002
|
-
{ "name": "name", "values": [] },
|
|
2003
|
-
{ "name": "value", "values": [] },
|
|
2004
|
-
{
|
|
2005
|
-
"name": "validationRules",
|
|
2006
|
-
"values": [{ "name": "Array<FormValidator>" }]
|
|
2007
|
-
},
|
|
2008
|
-
{ "name": "input-aria-label", "values": [] }
|
|
2009
|
-
],
|
|
2010
|
-
"references": [
|
|
2011
|
-
{
|
|
2012
|
-
"name": "Storybook",
|
|
2013
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
2014
|
-
}
|
|
2015
|
-
]
|
|
2016
|
-
},
|
|
2017
1912
|
{
|
|
2018
1913
|
"name": "bm-file-upload-button",
|
|
2019
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",
|
|
@@ -2322,45 +2217,117 @@
|
|
|
2322
2217
|
]
|
|
2323
2218
|
},
|
|
2324
2219
|
{
|
|
2325
|
-
"name": "bm-
|
|
2326
|
-
"description": "`bm-
|
|
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",
|
|
2327
2222
|
"attributes": [
|
|
2328
2223
|
{
|
|
2329
|
-
"name": "
|
|
2330
|
-
"description": "Specify
|
|
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",
|
|
2331
2240
|
"values": []
|
|
2332
2241
|
},
|
|
2333
2242
|
{
|
|
2334
|
-
"name": "
|
|
2335
|
-
"description": "Specify
|
|
2243
|
+
"name": "disabled",
|
|
2244
|
+
"description": "Specify if input is a disabled",
|
|
2336
2245
|
"values": []
|
|
2337
2246
|
},
|
|
2338
2247
|
{
|
|
2339
|
-
"name": "
|
|
2340
|
-
"description": "Specify
|
|
2341
|
-
"values": [
|
|
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": []
|
|
2342
2272
|
},
|
|
2343
2273
|
{
|
|
2344
2274
|
"name": "readOnly",
|
|
2345
|
-
"description": "Specify if
|
|
2275
|
+
"description": "Specify if NativeSelect displays in a read-only state",
|
|
2346
2276
|
"values": []
|
|
2347
2277
|
},
|
|
2348
2278
|
{
|
|
2349
2279
|
"name": "disabled",
|
|
2350
|
-
"description": "Specify if
|
|
2280
|
+
"description": "Specify if NativeSelect displays in a disabled state",
|
|
2351
2281
|
"values": []
|
|
2352
2282
|
},
|
|
2353
|
-
{ "name": "checked", "values": [] },
|
|
2354
2283
|
{
|
|
2355
|
-
"name": "
|
|
2356
|
-
"description": "
|
|
2284
|
+
"name": "error",
|
|
2285
|
+
"description": "Specify error text and display error state of a NativeSelect",
|
|
2357
2286
|
"values": []
|
|
2358
|
-
}
|
|
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": [] }
|
|
2359
2326
|
],
|
|
2360
2327
|
"references": [
|
|
2361
2328
|
{
|
|
2362
2329
|
"name": "Storybook",
|
|
2363
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2330
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
2364
2331
|
}
|
|
2365
2332
|
]
|
|
2366
2333
|
},
|
|
@@ -2416,6 +2383,49 @@
|
|
|
2416
2383
|
}
|
|
2417
2384
|
]
|
|
2418
2385
|
},
|
|
2386
|
+
{
|
|
2387
|
+
"name": "bm-switch",
|
|
2388
|
+
"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.",
|
|
2389
|
+
"attributes": [
|
|
2390
|
+
{
|
|
2391
|
+
"name": "onText",
|
|
2392
|
+
"description": "Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.",
|
|
2393
|
+
"values": []
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"name": "offText",
|
|
2397
|
+
"description": "Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
|
2398
|
+
"values": []
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "textPosition",
|
|
2402
|
+
"description": "Specify the position of the side label",
|
|
2403
|
+
"values": [{ "name": "before" }, { "name": "after" }]
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
"name": "readOnly",
|
|
2407
|
+
"description": "Specify if Switch displays in a read-only state",
|
|
2408
|
+
"values": []
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"name": "disabled",
|
|
2412
|
+
"description": "Specify if Switch displays in a disabled state",
|
|
2413
|
+
"values": []
|
|
2414
|
+
},
|
|
2415
|
+
{ "name": "checked", "values": [] },
|
|
2416
|
+
{
|
|
2417
|
+
"name": "value",
|
|
2418
|
+
"description": "The value attribute for the input element",
|
|
2419
|
+
"values": []
|
|
2420
|
+
}
|
|
2421
|
+
],
|
|
2422
|
+
"references": [
|
|
2423
|
+
{
|
|
2424
|
+
"name": "Storybook",
|
|
2425
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2426
|
+
}
|
|
2427
|
+
]
|
|
2428
|
+
},
|
|
2419
2429
|
{
|
|
2420
2430
|
"name": "bm-text-area",
|
|
2421
2431
|
"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",
|
|
@@ -2576,8 +2586,8 @@
|
|
|
2576
2586
|
]
|
|
2577
2587
|
},
|
|
2578
2588
|
{
|
|
2579
|
-
"name": "bm-
|
|
2580
|
-
"description": "
|
|
2589
|
+
"name": "bm-radio-button-group",
|
|
2590
|
+
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
2581
2591
|
"attributes": [
|
|
2582
2592
|
{
|
|
2583
2593
|
"name": "theme",
|
|
@@ -2640,13 +2650,13 @@
|
|
|
2640
2650
|
"references": [
|
|
2641
2651
|
{
|
|
2642
2652
|
"name": "Storybook",
|
|
2643
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2653
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2644
2654
|
}
|
|
2645
2655
|
]
|
|
2646
2656
|
},
|
|
2647
2657
|
{
|
|
2648
|
-
"name": "bm-
|
|
2649
|
-
"description": "
|
|
2658
|
+
"name": "bm-switch-group",
|
|
2659
|
+
"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",
|
|
2650
2660
|
"attributes": [
|
|
2651
2661
|
{
|
|
2652
2662
|
"name": "theme",
|
|
@@ -2709,7 +2719,7 @@
|
|
|
2709
2719
|
"references": [
|
|
2710
2720
|
{
|
|
2711
2721
|
"name": "Storybook",
|
|
2712
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2722
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2713
2723
|
}
|
|
2714
2724
|
]
|
|
2715
2725
|
}
|