@viasat/beam-web-components 2.37.0 → 2.38.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.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 +2 -2
- 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 +92 -87
- 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 +2388 -2350
- 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 +2 -2
- 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 +91 -86
- 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 +2 -2
- 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 +93 -88
- package/local/wip/RadioButton/RadioButton.js +2 -2
- package/local/wip/Switch/Switch.js +2 -2
- package/local/wip/TextArea/TextArea.js +2 -2
- package/package.json +6 -6
- package/vscode.html-custom-data.json +247 -237
- package/wip/Checkbox/Checkbox.js +2 -2
- 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 +81 -76
- package/wip/RadioButton/RadioButton.js +2 -2
- package/wip/Switch/Switch.js +2 -2
- package/wip/TextArea/TextArea.js +2 -2
|
@@ -62,12 +62,17 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": "bm-badge",
|
|
66
|
-
"description": "`bm-badge`\n\n### Attributes:\n- **
|
|
65
|
+
"name": "bm-badge-dot",
|
|
66
|
+
"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",
|
|
67
67
|
"attributes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "theme",
|
|
70
|
+
"description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
|
|
71
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
72
|
+
},
|
|
68
73
|
{
|
|
69
74
|
"name": "appearance",
|
|
70
|
-
"description": "Specify the appearance of the
|
|
75
|
+
"description": "Specify the appearance of the BadgeDot",
|
|
71
76
|
"values": [
|
|
72
77
|
{ "name": "infoPrimary" },
|
|
73
78
|
{ "name": "infoSecondary" },
|
|
@@ -76,46 +81,31 @@
|
|
|
76
81
|
{ "name": "negative" }
|
|
77
82
|
]
|
|
78
83
|
},
|
|
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
84
|
{
|
|
90
85
|
"name": "emphasis",
|
|
91
|
-
"description": "Specify the emphasis of the
|
|
92
|
-
"values": [
|
|
93
|
-
{ "name": "strong" },
|
|
94
|
-
{ "name": "medium" },
|
|
95
|
-
{ "name": "subtle" }
|
|
96
|
-
]
|
|
86
|
+
"description": "Specify the emphasis of the BadgeDot",
|
|
87
|
+
"values": [{ "name": "strong" }, { "name": "subtle" }]
|
|
97
88
|
},
|
|
98
|
-
{
|
|
89
|
+
{
|
|
90
|
+
"name": "overrideDotColor",
|
|
91
|
+
"description": "Overrides default dot color",
|
|
92
|
+
"values": []
|
|
93
|
+
}
|
|
99
94
|
],
|
|
100
95
|
"references": [
|
|
101
96
|
{
|
|
102
97
|
"name": "Storybook",
|
|
103
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
98
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
|
|
104
99
|
}
|
|
105
100
|
]
|
|
106
101
|
},
|
|
107
102
|
{
|
|
108
|
-
"name": "bm-badge
|
|
109
|
-
"description": "`bm-badge
|
|
103
|
+
"name": "bm-badge",
|
|
104
|
+
"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",
|
|
110
105
|
"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
106
|
{
|
|
117
107
|
"name": "appearance",
|
|
118
|
-
"description": "Specify the appearance of the
|
|
108
|
+
"description": "Specify the appearance of the Badge",
|
|
119
109
|
"values": [
|
|
120
110
|
{ "name": "infoPrimary" },
|
|
121
111
|
{ "name": "infoSecondary" },
|
|
@@ -125,20 +115,30 @@
|
|
|
125
115
|
]
|
|
126
116
|
},
|
|
127
117
|
{
|
|
128
|
-
"name": "
|
|
129
|
-
"description": "
|
|
130
|
-
"values": [{ "name": "
|
|
118
|
+
"name": "theme",
|
|
119
|
+
"description": "Theme of the Badge",
|
|
120
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
131
121
|
},
|
|
132
122
|
{
|
|
133
|
-
"name": "
|
|
134
|
-
"description": "
|
|
135
|
-
"values": []
|
|
136
|
-
}
|
|
123
|
+
"name": "size",
|
|
124
|
+
"description": "Specify the size of the Badge",
|
|
125
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "emphasis",
|
|
129
|
+
"description": "Specify the emphasis of the Badge",
|
|
130
|
+
"values": [
|
|
131
|
+
{ "name": "strong" },
|
|
132
|
+
{ "name": "medium" },
|
|
133
|
+
{ "name": "subtle" }
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
137
137
|
],
|
|
138
138
|
"references": [
|
|
139
139
|
{
|
|
140
140
|
"name": "Storybook",
|
|
141
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
141
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
},
|
|
@@ -704,6 +704,74 @@
|
|
|
704
704
|
}
|
|
705
705
|
]
|
|
706
706
|
},
|
|
707
|
+
{
|
|
708
|
+
"name": "bm-button",
|
|
709
|
+
"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",
|
|
710
|
+
"attributes": [
|
|
711
|
+
{
|
|
712
|
+
"name": "appearance",
|
|
713
|
+
"description": "Specify the appearance of a Button",
|
|
714
|
+
"values": [
|
|
715
|
+
{ "name": "accent" },
|
|
716
|
+
{ "name": "neutral" },
|
|
717
|
+
{ "name": "neutral-subtle" },
|
|
718
|
+
{ "name": "destructive" }
|
|
719
|
+
]
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "kind",
|
|
723
|
+
"description": "Specify the kind of Button",
|
|
724
|
+
"values": [
|
|
725
|
+
{ "name": "filled" },
|
|
726
|
+
{ "name": "outline" },
|
|
727
|
+
{ "name": "ghost" },
|
|
728
|
+
{ "name": "bare" }
|
|
729
|
+
]
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "size",
|
|
733
|
+
"description": "Specify the size of a Button",
|
|
734
|
+
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "disabled",
|
|
738
|
+
"description": "Specify if the Button is disabled",
|
|
739
|
+
"values": []
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "fluid",
|
|
743
|
+
"description": "Specify if Button is fluid",
|
|
744
|
+
"values": []
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"name": "width",
|
|
748
|
+
"description": "Specify the width of a Button",
|
|
749
|
+
"values": []
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"name": "height",
|
|
753
|
+
"description": "Specify the height of a Button",
|
|
754
|
+
"values": []
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"name": "theme",
|
|
758
|
+
"description": "Specify the theme of the Button",
|
|
759
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "iconOnly",
|
|
763
|
+
"description": "Specify if the icon displays without text",
|
|
764
|
+
"values": []
|
|
765
|
+
},
|
|
766
|
+
{ "name": "type", "values": [] }
|
|
767
|
+
],
|
|
768
|
+
"references": [
|
|
769
|
+
{
|
|
770
|
+
"name": "Storybook",
|
|
771
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
},
|
|
707
775
|
{
|
|
708
776
|
"name": "bm-alert",
|
|
709
777
|
"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",
|
|
@@ -777,74 +845,6 @@
|
|
|
777
845
|
}
|
|
778
846
|
]
|
|
779
847
|
},
|
|
780
|
-
{
|
|
781
|
-
"name": "bm-button",
|
|
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",
|
|
783
|
-
"attributes": [
|
|
784
|
-
{
|
|
785
|
-
"name": "appearance",
|
|
786
|
-
"description": "Specify the appearance of a Button",
|
|
787
|
-
"values": [
|
|
788
|
-
{ "name": "accent" },
|
|
789
|
-
{ "name": "neutral" },
|
|
790
|
-
{ "name": "neutral-subtle" },
|
|
791
|
-
{ "name": "destructive" }
|
|
792
|
-
]
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
"name": "kind",
|
|
796
|
-
"description": "Specify the kind of Button",
|
|
797
|
-
"values": [
|
|
798
|
-
{ "name": "filled" },
|
|
799
|
-
{ "name": "outline" },
|
|
800
|
-
{ "name": "ghost" },
|
|
801
|
-
{ "name": "bare" }
|
|
802
|
-
]
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
"name": "size",
|
|
806
|
-
"description": "Specify the size of a Button",
|
|
807
|
-
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
"name": "disabled",
|
|
811
|
-
"description": "Specify if the Button is disabled",
|
|
812
|
-
"values": []
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"name": "fluid",
|
|
816
|
-
"description": "Specify if Button is fluid",
|
|
817
|
-
"values": []
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "width",
|
|
821
|
-
"description": "Specify the width of a Button",
|
|
822
|
-
"values": []
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"name": "height",
|
|
826
|
-
"description": "Specify the height of a Button",
|
|
827
|
-
"values": []
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"name": "theme",
|
|
831
|
-
"description": "Specify the theme of the Button",
|
|
832
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"name": "iconOnly",
|
|
836
|
-
"description": "Specify if the icon displays without text",
|
|
837
|
-
"values": []
|
|
838
|
-
},
|
|
839
|
-
{ "name": "type", "values": [] }
|
|
840
|
-
],
|
|
841
|
-
"references": [
|
|
842
|
-
{
|
|
843
|
-
"name": "Storybook",
|
|
844
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-button"
|
|
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",
|
|
@@ -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
|
}
|
package/wip/Checkbox/Checkbox.js
CHANGED
|
@@ -2,8 +2,8 @@ import { consume as k } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as y, LitElement as _, nothing as h, html as u } from "lit";
|
|
3
3
|
import { property as i } from "lit/decorators.js";
|
|
4
4
|
import w from "clsx";
|
|
5
|
-
import { g as z } from "../../chunks/classNames.
|
|
6
|
-
import { t as C } from "../../chunks/constants.
|
|
5
|
+
import { g as z } from "../../chunks/classNames.BQclmCHG.js";
|
|
6
|
+
import { t as C } from "../../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { r as S } from "../../chunks/delegate.baxDQosr.js";
|
|
8
8
|
import { c as $ } from "../../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
import { inputChoiceGroupContext as P } from "../../InputChoiceGroup/InputChoiceGroup.context.js";
|
|
@@ -5,8 +5,8 @@ import { createRef as u, ref as C } from "lit/directives/ref.js";
|
|
|
5
5
|
import { unsafeSVG as b } from "lit/directives/unsafe-svg.js";
|
|
6
6
|
import f from "clsx";
|
|
7
7
|
import { U as g } from "../../chunks/Upload.B9YEyp7b.js";
|
|
8
|
-
import { g as x } from "../../chunks/classNames.
|
|
9
|
-
import { t as y } from "../../chunks/constants.
|
|
8
|
+
import { g as x } from "../../chunks/classNames.BQclmCHG.js";
|
|
9
|
+
import { t as y } from "../../chunks/constants.ZIKMMCJH.js";
|
|
10
10
|
import { f as B } from "../../chunks/fileUpload.module.WyOEuxoP.js";
|
|
11
11
|
import { c as _ } from "../../chunks/register-custom-element.DHGKOhmA.js";
|
|
12
12
|
import { BmButton as U } from "../../Button/Button.js";
|
|
@@ -5,8 +5,8 @@ import { createRef as u, ref as g } from "lit/directives/ref.js";
|
|
|
5
5
|
import { unsafeSVG as b } from "lit/directives/unsafe-svg.js";
|
|
6
6
|
import E from "clsx";
|
|
7
7
|
import { U as _ } from "../../chunks/Upload.B9YEyp7b.js";
|
|
8
|
-
import { g as R } from "../../chunks/classNames.
|
|
9
|
-
import { t as S } from "../../chunks/constants.
|
|
8
|
+
import { g as R } from "../../chunks/classNames.BQclmCHG.js";
|
|
9
|
+
import { t as S } from "../../chunks/constants.ZIKMMCJH.js";
|
|
10
10
|
import { f as I } from "../../chunks/fileUpload.module.WyOEuxoP.js";
|
|
11
11
|
import { c as U } from "../../chunks/register-custom-element.DHGKOhmA.js";
|
|
12
12
|
import { stateLayerStyles as w, stateLayerClassName as P } from "../../StateLayer/StateLayer.js";
|