@viasat/beam-web-components 2.49.0 → 2.50.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 +3 -3
- package/Accordion/AccordionGroup.js +3 -3
- package/Accordion/index.js +1 -1
- package/Alert/Alert.js +5 -5
- package/Avatar/Avatar.js +2 -2
- package/Avatar/AvatarGroup.js +2 -2
- package/Avatar/index.js +1 -1
- package/Badge/Badge.js +2 -2
- package/BadgeDot/BadgeDot.js +2 -2
- package/Box/Box.js +2 -2
- 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 +2 -2
- 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.js +2 -2
- package/Label/Label.js +2 -2
- package/Link/Link.js +2 -2
- package/List/List.js +2 -2
- package/List/ListItem.js +2 -2
- package/ProgressBar/ProgressBar.js +2 -2
- package/SegmentedControl/SegmentedControl.js +2 -2
- package/SegmentedControl/SegmentedControlItem.js +10 -10
- 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.js +6 -6
- package/Tooltip/Tooltip.js +9 -9
- package/chunks/{Accordion.BF2pHMSP.js → Accordion.fbo-T2zU.js} +4 -4
- package/chunks/{Avatar.kVWwOxWe.js → Avatar.DkegKDfD.js} +2 -2
- package/chunks/{BreadcrumbsItem.BoIbfnh6.js → BreadcrumbsItem.xWwSJgcO.js} +2 -2
- package/chunks/{HelperText.3YJvB8x0.js → HelperText.Cc_6DlKP.js} +5 -5
- package/chunks/classNames.m6VYRyOu.js +18 -0
- package/chunks/{classNames.BQclmCHG.js → register-custom-element.D_kw6JXe.js} +34 -29
- package/custom-elements.json +1661 -1661
- package/local/Accordion/Accordion.js +4 -4
- package/local/Accordion/AccordionGroup.js +4 -4
- package/local/Accordion/index.js +1 -1
- package/local/Alert/Alert.js +11 -11
- package/local/Avatar/Avatar.js +3 -3
- package/local/Avatar/AvatarGroup.js +3 -3
- 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 +2 -2
- 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 +3 -3
- package/local/CloseButton/CloseButton.js +2 -2
- package/local/Divider/Divider.js +7 -7
- 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.js +3 -3
- package/local/Label/Label.js +2 -2
- package/local/Link/Link.js +2 -2
- package/local/List/List.js +3 -3
- package/local/List/ListItem.js +3 -3
- package/local/ProgressBar/ProgressBar.js +2 -2
- package/local/SegmentedControl/SegmentedControl.js +3 -3
- package/local/SegmentedControl/SegmentedControlItem.js +7 -7
- 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 +7 -7
- package/local/Tooltip/Tooltip.js +8 -8
- package/local/chunks/{Accordion.DM6Nkgnh.js → Accordion.QupR4x7N.js} +9 -9
- package/local/chunks/{Avatar.BT61pkbV.js → Avatar.D0_A6fGG.js} +2 -2
- package/local/chunks/{BreadcrumbsItem.CsPbcOZ5.js → BreadcrumbsItem.Ds7TtgQn.js} +2 -2
- package/local/chunks/classNames.Ciobzb4w.js +30 -0
- package/local/chunks/{index.CUGawMXL.js → index.BoeGm2HZ.js} +8 -8
- package/local/chunks/register-custom-element.AOEv8hcs.js +133 -0
- package/local/chunks/{state.CqiuSzAl.js → state.Dr3yBpId.js} +1 -1
- package/local/wip/Checkbox/Checkbox.js +2 -2
- package/local/wip/Checkbox/CheckboxGroup/CheckboxGroup.js +1 -1
- package/local/wip/FileUpload/FileUpload.Button.js +2 -2
- package/local/wip/FileUpload/FileUpload.Dropzone.js +3 -3
- 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 +8 -8
- package/local/wip/Form/Form.decorator.js +3 -3
- package/local/wip/Form/Form.js +122 -110
- package/local/wip/NativeSelect/NativeSelect.js +10 -10
- package/local/wip/RadioButton/RadioButton.js +2 -2
- package/local/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/local/wip/Switch/Switch.js +2 -2
- package/local/wip/Switch/SwitchGroup/SwitchGroup.js +1 -1
- package/local/wip/TextArea/TextArea.js +8 -8
- package/package.json +6 -6
- package/vscode.html-custom-data.json +229 -229
- package/wip/Checkbox/Checkbox.js +2 -2
- package/wip/Checkbox/CheckboxGroup/CheckboxGroup.js +1 -1
- 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 +12 -12
- package/wip/Form/Form.decorator.js +1 -1
- package/wip/Form/Form.js +124 -112
- package/wip/NativeSelect/NativeSelect.js +9 -9
- package/wip/RadioButton/RadioButton.js +2 -2
- package/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/wip/Switch/Switch.js +5 -5
- package/wip/Switch/SwitchGroup/SwitchGroup.js +1 -1
- package/wip/TextArea/TextArea.js +5 -5
- package/chunks/register-custom-element.DHGKOhmA.js +0 -17
- package/local/chunks/classNames.CARKFDmR.js +0 -106
- package/local/chunks/register-custom-element.vod7zfGv.js +0 -51
|
@@ -61,177 +61,6 @@
|
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
-
{
|
|
65
|
-
"name": "bm-avatar",
|
|
66
|
-
"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",
|
|
67
|
-
"attributes": [
|
|
68
|
-
{
|
|
69
|
-
"name": "appearance",
|
|
70
|
-
"description": "Specify the appearance of the Avatar",
|
|
71
|
-
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "name",
|
|
75
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
76
|
-
"values": []
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "src",
|
|
80
|
-
"description": "Pass an image to the Avatar",
|
|
81
|
-
"values": []
|
|
82
|
-
},
|
|
83
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
84
|
-
{
|
|
85
|
-
"name": "size",
|
|
86
|
-
"description": "Specify the size of the Avatar",
|
|
87
|
-
"values": [
|
|
88
|
-
{ "name": "xs" },
|
|
89
|
-
{ "name": "sm" },
|
|
90
|
-
{ "name": "md" },
|
|
91
|
-
{ "name": "lg" },
|
|
92
|
-
{ "name": "xl" }
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"name": "disabled",
|
|
97
|
-
"description": "Specify if the Avatar is disabled",
|
|
98
|
-
"values": []
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "shape",
|
|
102
|
-
"description": "Specify the shape of the Avatar",
|
|
103
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"name": "isInteractive",
|
|
107
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
108
|
-
"values": []
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"name": "isFocusable",
|
|
112
|
-
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
113
|
-
"values": []
|
|
114
|
-
},
|
|
115
|
-
{ "name": "withBorder", "values": [] }
|
|
116
|
-
],
|
|
117
|
-
"references": [
|
|
118
|
-
{
|
|
119
|
-
"name": "Storybook",
|
|
120
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"name": "bm-avatar-group",
|
|
126
|
-
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.\n---\n\n\n### **Slots:**\n - **default** - Add Avatars to create a group",
|
|
127
|
-
"attributes": [
|
|
128
|
-
{
|
|
129
|
-
"name": "wrapping",
|
|
130
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
131
|
-
"values": []
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "maxCount",
|
|
135
|
-
"description": "Specify the max number of avatars displayed in the group.",
|
|
136
|
-
"values": []
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"name": "size",
|
|
140
|
-
"description": "Specify the size of all Avatars",
|
|
141
|
-
"values": [
|
|
142
|
-
{ "name": "xs" },
|
|
143
|
-
{ "name": "sm" },
|
|
144
|
-
{ "name": "md" },
|
|
145
|
-
{ "name": "lg" },
|
|
146
|
-
{ "name": "xl" }
|
|
147
|
-
]
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "layout",
|
|
151
|
-
"description": "Specify the kind of the group.",
|
|
152
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
"references": [
|
|
156
|
-
{
|
|
157
|
-
"name": "Storybook",
|
|
158
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
159
|
-
}
|
|
160
|
-
]
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"name": "bm-alert",
|
|
164
|
-
"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
|
-
"attributes": [
|
|
166
|
-
{
|
|
167
|
-
"name": "heading",
|
|
168
|
-
"description": "Specify the heading text for Alert",
|
|
169
|
-
"values": []
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"name": "body",
|
|
173
|
-
"description": "Specify the body text for Alert",
|
|
174
|
-
"values": []
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"name": "size",
|
|
178
|
-
"description": "Specify the size of the Alert",
|
|
179
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "fullWidth",
|
|
183
|
-
"description": "Specify if the Alert has no border radius",
|
|
184
|
-
"values": []
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"name": "theme",
|
|
188
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
189
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "appearance",
|
|
193
|
-
"description": "Specify the appearance of the Alert",
|
|
194
|
-
"values": [
|
|
195
|
-
{ "name": "infoPrimary" },
|
|
196
|
-
{ "name": "infoSecondary" },
|
|
197
|
-
{ "name": "positive" },
|
|
198
|
-
{ "name": "warning" },
|
|
199
|
-
{ "name": "negative" }
|
|
200
|
-
]
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"name": "hidden",
|
|
204
|
-
"description": "Specify if the Alert is hidden",
|
|
205
|
-
"values": []
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"name": "hideIcon",
|
|
209
|
-
"description": "Specify if the icon displays on the Alert",
|
|
210
|
-
"values": []
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"name": "dismissible",
|
|
214
|
-
"description": "Specify if the Alert can be dismissed",
|
|
215
|
-
"values": []
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"name": "disableAutoFocus",
|
|
219
|
-
"description": "Prevent autofocus on show",
|
|
220
|
-
"values": []
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"name": "disableCloseOnEscape",
|
|
224
|
-
"description": "Prevent Escape from closing",
|
|
225
|
-
"values": []
|
|
226
|
-
}
|
|
227
|
-
],
|
|
228
|
-
"references": [
|
|
229
|
-
{
|
|
230
|
-
"name": "Storybook",
|
|
231
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
232
|
-
}
|
|
233
|
-
]
|
|
234
|
-
},
|
|
235
64
|
{
|
|
236
65
|
"name": "bm-badge",
|
|
237
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",
|
|
@@ -716,6 +545,79 @@
|
|
|
716
545
|
}
|
|
717
546
|
]
|
|
718
547
|
},
|
|
548
|
+
{
|
|
549
|
+
"name": "bm-alert",
|
|
550
|
+
"description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing\n---\n\n\n### **Events:**\n - **bm-dismiss** - Dispatched when the Alert has been dismissed\n\n### **Slots:**\n - **icon** - Specify a different icon for the Alert\n- **heading** - Specify the heading text for Alert or pass the `heading` attribute to set the heading\n- **body** - Specify the body text for Alert or pass the `body` attribute to set the body\n- **actions** - Specify if actions display on the Alert",
|
|
551
|
+
"attributes": [
|
|
552
|
+
{
|
|
553
|
+
"name": "heading",
|
|
554
|
+
"description": "Specify the heading text for Alert",
|
|
555
|
+
"values": []
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "body",
|
|
559
|
+
"description": "Specify the body text for Alert",
|
|
560
|
+
"values": []
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "size",
|
|
564
|
+
"description": "Specify the size of the Alert",
|
|
565
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "fullWidth",
|
|
569
|
+
"description": "Specify if the Alert has no border radius",
|
|
570
|
+
"values": []
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "theme",
|
|
574
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
575
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "appearance",
|
|
579
|
+
"description": "Specify the appearance of the Alert",
|
|
580
|
+
"values": [
|
|
581
|
+
{ "name": "infoPrimary" },
|
|
582
|
+
{ "name": "infoSecondary" },
|
|
583
|
+
{ "name": "positive" },
|
|
584
|
+
{ "name": "warning" },
|
|
585
|
+
{ "name": "negative" }
|
|
586
|
+
]
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "hidden",
|
|
590
|
+
"description": "Specify if the Alert is hidden",
|
|
591
|
+
"values": []
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "hideIcon",
|
|
595
|
+
"description": "Specify if the icon displays on the Alert",
|
|
596
|
+
"values": []
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "dismissible",
|
|
600
|
+
"description": "Specify if the Alert can be dismissed",
|
|
601
|
+
"values": []
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "disableAutoFocus",
|
|
605
|
+
"description": "Prevent autofocus on show",
|
|
606
|
+
"values": []
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "disableCloseOnEscape",
|
|
610
|
+
"description": "Prevent Escape from closing",
|
|
611
|
+
"values": []
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"references": [
|
|
615
|
+
{
|
|
616
|
+
"name": "Storybook",
|
|
617
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
618
|
+
}
|
|
619
|
+
]
|
|
620
|
+
},
|
|
719
621
|
{
|
|
720
622
|
"name": "bm-breadcrumb",
|
|
721
623
|
"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",
|
|
@@ -777,6 +679,104 @@
|
|
|
777
679
|
}
|
|
778
680
|
]
|
|
779
681
|
},
|
|
682
|
+
{
|
|
683
|
+
"name": "bm-avatar",
|
|
684
|
+
"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",
|
|
685
|
+
"attributes": [
|
|
686
|
+
{
|
|
687
|
+
"name": "appearance",
|
|
688
|
+
"description": "Specify the appearance of the Avatar",
|
|
689
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "name",
|
|
693
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
694
|
+
"values": []
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "src",
|
|
698
|
+
"description": "Pass an image to the Avatar",
|
|
699
|
+
"values": []
|
|
700
|
+
},
|
|
701
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
702
|
+
{
|
|
703
|
+
"name": "size",
|
|
704
|
+
"description": "Specify the size of the Avatar",
|
|
705
|
+
"values": [
|
|
706
|
+
{ "name": "xs" },
|
|
707
|
+
{ "name": "sm" },
|
|
708
|
+
{ "name": "md" },
|
|
709
|
+
{ "name": "lg" },
|
|
710
|
+
{ "name": "xl" }
|
|
711
|
+
]
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "disabled",
|
|
715
|
+
"description": "Specify if the Avatar is disabled",
|
|
716
|
+
"values": []
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"name": "shape",
|
|
720
|
+
"description": "Specify the shape of the Avatar",
|
|
721
|
+
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "isInteractive",
|
|
725
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
726
|
+
"values": []
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "isFocusable",
|
|
730
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
731
|
+
"values": []
|
|
732
|
+
},
|
|
733
|
+
{ "name": "withBorder", "values": [] }
|
|
734
|
+
],
|
|
735
|
+
"references": [
|
|
736
|
+
{
|
|
737
|
+
"name": "Storybook",
|
|
738
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
739
|
+
}
|
|
740
|
+
]
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "bm-avatar-group",
|
|
744
|
+
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.\n---\n\n\n### **Slots:**\n - **default** - Add Avatars to create a group",
|
|
745
|
+
"attributes": [
|
|
746
|
+
{
|
|
747
|
+
"name": "wrapping",
|
|
748
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
749
|
+
"values": []
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"name": "maxCount",
|
|
753
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
754
|
+
"values": []
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"name": "size",
|
|
758
|
+
"description": "Specify the size of all Avatars",
|
|
759
|
+
"values": [
|
|
760
|
+
{ "name": "xs" },
|
|
761
|
+
{ "name": "sm" },
|
|
762
|
+
{ "name": "md" },
|
|
763
|
+
{ "name": "lg" },
|
|
764
|
+
{ "name": "xl" }
|
|
765
|
+
]
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "layout",
|
|
769
|
+
"description": "Specify the kind of the group.",
|
|
770
|
+
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
771
|
+
}
|
|
772
|
+
],
|
|
773
|
+
"references": [
|
|
774
|
+
{
|
|
775
|
+
"name": "Storybook",
|
|
776
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
|
+
},
|
|
780
780
|
{
|
|
781
781
|
"name": "bm-button",
|
|
782
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",
|
|
@@ -2331,6 +2331,58 @@
|
|
|
2331
2331
|
}
|
|
2332
2332
|
]
|
|
2333
2333
|
},
|
|
2334
|
+
{
|
|
2335
|
+
"name": "bm-radio-button",
|
|
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",
|
|
2337
|
+
"attributes": [
|
|
2338
|
+
{
|
|
2339
|
+
"name": "label",
|
|
2340
|
+
"description": "Specify the text for the label",
|
|
2341
|
+
"values": []
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"name": "error",
|
|
2345
|
+
"description": "Specify error text and display error state of a RadioButton",
|
|
2346
|
+
"values": []
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"name": "readOnly",
|
|
2350
|
+
"description": "Specify if RadioButton displays in a read-only state",
|
|
2351
|
+
"values": []
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"name": "disabled",
|
|
2355
|
+
"description": "Specify if RadioButton displays in a disabled state",
|
|
2356
|
+
"values": []
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"name": "theme",
|
|
2360
|
+
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2361
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"name": "value",
|
|
2365
|
+
"description": "The value attribute for the input element",
|
|
2366
|
+
"values": []
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"name": "checked",
|
|
2370
|
+
"description": "The checked attribute for the input element",
|
|
2371
|
+
"values": []
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"name": "onKeyDown",
|
|
2375
|
+
"description": "A user-defined function to handle keydown events",
|
|
2376
|
+
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2377
|
+
}
|
|
2378
|
+
],
|
|
2379
|
+
"references": [
|
|
2380
|
+
{
|
|
2381
|
+
"name": "Storybook",
|
|
2382
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2383
|
+
}
|
|
2384
|
+
]
|
|
2385
|
+
},
|
|
2334
2386
|
{
|
|
2335
2387
|
"name": "bm-switch",
|
|
2336
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.",
|
|
@@ -2464,58 +2516,6 @@
|
|
|
2464
2516
|
}
|
|
2465
2517
|
]
|
|
2466
2518
|
},
|
|
2467
|
-
{
|
|
2468
|
-
"name": "bm-radio-button",
|
|
2469
|
-
"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",
|
|
2470
|
-
"attributes": [
|
|
2471
|
-
{
|
|
2472
|
-
"name": "label",
|
|
2473
|
-
"description": "Specify the text for the label",
|
|
2474
|
-
"values": []
|
|
2475
|
-
},
|
|
2476
|
-
{
|
|
2477
|
-
"name": "error",
|
|
2478
|
-
"description": "Specify error text and display error state of a RadioButton",
|
|
2479
|
-
"values": []
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"name": "readOnly",
|
|
2483
|
-
"description": "Specify if RadioButton displays in a read-only state",
|
|
2484
|
-
"values": []
|
|
2485
|
-
},
|
|
2486
|
-
{
|
|
2487
|
-
"name": "disabled",
|
|
2488
|
-
"description": "Specify if RadioButton displays in a disabled state",
|
|
2489
|
-
"values": []
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
"name": "theme",
|
|
2493
|
-
"description": "Specify the theme of the RadioButton. By default it inherits the theme from the parent",
|
|
2494
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
"name": "value",
|
|
2498
|
-
"description": "The value attribute for the input element",
|
|
2499
|
-
"values": []
|
|
2500
|
-
},
|
|
2501
|
-
{
|
|
2502
|
-
"name": "checked",
|
|
2503
|
-
"description": "The checked attribute for the input element",
|
|
2504
|
-
"values": []
|
|
2505
|
-
},
|
|
2506
|
-
{
|
|
2507
|
-
"name": "onKeyDown",
|
|
2508
|
-
"description": "A user-defined function to handle keydown events",
|
|
2509
|
-
"values": [{ "name": "(event: KeyboardEvent) => void" }]
|
|
2510
|
-
}
|
|
2511
|
-
],
|
|
2512
|
-
"references": [
|
|
2513
|
-
{
|
|
2514
|
-
"name": "Storybook",
|
|
2515
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
2518
|
-
},
|
|
2519
2519
|
{
|
|
2520
2520
|
"name": "bm-checkbox-group",
|
|
2521
2521
|
"description": "\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
|
|
@@ -2586,8 +2586,8 @@
|
|
|
2586
2586
|
]
|
|
2587
2587
|
},
|
|
2588
2588
|
{
|
|
2589
|
-
"name": "bm-
|
|
2590
|
-
"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",
|
|
2591
2591
|
"attributes": [
|
|
2592
2592
|
{
|
|
2593
2593
|
"name": "theme",
|
|
@@ -2650,13 +2650,13 @@
|
|
|
2650
2650
|
"references": [
|
|
2651
2651
|
{
|
|
2652
2652
|
"name": "Storybook",
|
|
2653
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2653
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-radiobutton"
|
|
2654
2654
|
}
|
|
2655
2655
|
]
|
|
2656
2656
|
},
|
|
2657
2657
|
{
|
|
2658
|
-
"name": "bm-
|
|
2659
|
-
"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",
|
|
2660
2660
|
"attributes": [
|
|
2661
2661
|
{
|
|
2662
2662
|
"name": "theme",
|
|
@@ -2719,7 +2719,7 @@
|
|
|
2719
2719
|
"references": [
|
|
2720
2720
|
{
|
|
2721
2721
|
"name": "Storybook",
|
|
2722
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2722
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-switch"
|
|
2723
2723
|
}
|
|
2724
2724
|
]
|
|
2725
2725
|
}
|
package/wip/Checkbox/Checkbox.js
CHANGED
|
@@ -2,10 +2,10 @@ import { consume as k } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as y, LitElement as _, nothing as u, html as h } 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.
|
|
5
|
+
import { g as z } from "../../chunks/classNames.m6VYRyOu.js";
|
|
6
6
|
import { t as S } from "../../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { r as C } from "../../chunks/delegate.baxDQosr.js";
|
|
8
|
-
import { c as $ } from "../../chunks/register-custom-element.
|
|
8
|
+
import { c as $ } from "../../chunks/register-custom-element.D_kw6JXe.js";
|
|
9
9
|
import { inputChoiceGroupContext as P } from "../../InputChoiceGroup/InputChoiceGroup.context.js";
|
|
10
10
|
const O = `:root,:host,.bm-light,.bm-dark .bm-inverse,.bm-dark.bm-inverse,[data-bm-theme~=bm-dark] .bm-inverse,[data-bm-theme~=bm-dark].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-light]{--bm-comp-input-color-bg: var(--bm-sem-color-surface-01, #ffffff);--bm-comp-input-color-bg-disabled: var( --bm-sem-color-surface-highlight, rgba(159, 175, 188, .16) );--bm-comp-input-color-border: var(--bm-sem-color-border-strong, #8697a5);--bm-comp-input-color-border-error: var( --bm-sem-color-border-negative-strong, #cc2429 );--bm-comp-input-color-border-disabled: rgba(134, 151, 165, .4);--bm-comp-input-color-text: var(--bm-sem-color-text-primary, #141d24);--bm-comp-input-color-text-placeholder: var( --bm-sem-color-text-secondary, #576775 );--bm-comp-input-color-text-disabled: var( --bm-sem-color-text-disabled, rgba(87, 103, 117, .4) );--bm-comp-input-color-icon-disabled: var( --bm-sem-color-text-disabled, rgba(87, 103, 117, .4) );--bm-comp-input-color-icon: var(--bm-sem-color-icon-secondary, #576775);--bm-comp-input-color-icon-error: var( --bm-sem-color-icon-negative-strong, #cc2429 );--bm-comp-input-color-divider: var(--bm-sem-color-border-02, #d1dae0);--bm-comp-input-color-choice-checkbox-selected-bg: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-checkbox-selected-icon: var( --bm-sem-color-icon-primary-inverse, #ffffff );--bm-comp-input-color-choice-checkbox-selected-bg-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-color-choice-checkbox-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-switch-selected-bg: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-switch-selected-icon: var( --bm-sem-color-icon-primary-inverse, #ffffff );--bm-comp-input-color-choice-switch-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-radio-selected-bg: var( --bm-sem-color-surface-01, #ffffff );--bm-comp-input-color-choice-radio-selected-border: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-radio-selected-inner-circle: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-radio-selected-bg-error: var( --bm-sem-color-surface-01, #ffffff );--bm-comp-input-color-choice-radio-selected-border-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-color-choice-radio-selected-inner-circle-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-typo-sm: var( --bm-sem-typo-compact-body-sm, 400 .875rem/1rem "Source Sans Pro" );--bm-comp-input-typo-md: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-lg: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-character-count: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-label-choice: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" );--bm-comp-input-space-field-x-sm: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-x-md: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-x-lg: var(--bm-sem-space-125, 1.25rem);--bm-comp-input-space-field-y-sm: var(--bm-sem-space-25, .25rem);--bm-comp-input-space-field-y-md: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-field-y-lg: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-gap: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-inside: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-y: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-x: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-choice-nudge: var( --bm-primitive-dimension-12, .125rem );--bm-comp-input-size-field-height-sm: var(--bm-sem-size-height-sm, 2rem);--bm-comp-input-size-field-height-md: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-height-lg: var(--bm-sem-size-height-lg, 3rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon-sm: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-field-icon-md: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-icon-lg: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-text-area-height: var( --bm-primitive-dimension-475, 4.75rem );--bm-comp-input-size-choice-checkbox: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio-inside: var( --bm-primitive-dimension-50, .5rem );--bm-comp-input-size-choice-switch-height: var( --bm-sem-size-icon-md, 1.25rem );--bm-comp-input-size-choice-switch-width: var( --bm-primitive-dimension-250, 2.5rem );--bm-comp-input-size-choice-switch-knob: var( --bm-primitive-dimension-87, .875rem );--bm-comp-input-radius-field: var(--bm-sem-radius-input-md, .25rem);--bm-comp-input-radius-choice-checkbox: var( --bm-sem-radius-input-sm, .125rem );--bm-comp-input-radius-choice-radio: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-radius-choice-switch: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-border-width-field-default: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-border-width-field-error: var( --bm-sem-border-width-lg, .125rem );--bm-comp-input-border-width-choice: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-shadow-field: var( --bm-sem-shadow-none, 0 0 0 0 rgb(0, 0, 0, 0) )}:host,.bm-dark,.bm-light .bm-inverse,.bm-light.bm-inverse,[data-bm-theme~=bm-light] .bm-inverse,[data-bm-theme~=bm-light].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-dark]{--bm-comp-input-color-bg: var(--bm-sem-color-surface-01, #202e39);--bm-comp-input-color-bg-disabled: var( --bm-sem-color-surface-highlight, rgba(134, 151, 165, .16) );--bm-comp-input-color-border: var(--bm-sem-color-border-strong, #9fafbc);--bm-comp-input-color-border-error: var( --bm-sem-color-border-negative-strong, #f67378 );--bm-comp-input-color-border-disabled: rgba(159, 175, 188, .4);--bm-comp-input-color-text: var(--bm-sem-color-text-primary, #ffffff);--bm-comp-input-color-text-placeholder: var( --bm-sem-color-text-secondary, #c3cdd5 );--bm-comp-input-color-text-disabled: var( --bm-sem-color-text-disabled, rgba(195, 205, 213, .4) );--bm-comp-input-color-icon-disabled: var( --bm-sem-color-text-disabled, rgba(195, 205, 213, .4) );--bm-comp-input-color-icon: var(--bm-sem-color-icon-secondary, #c3cdd5);--bm-comp-input-color-icon-error: var( --bm-sem-color-icon-negative-strong, #f67378 );--bm-comp-input-color-divider: var(--bm-sem-color-border-02, #465967);--bm-comp-input-color-choice-checkbox-selected-bg: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-checkbox-selected-icon: var( --bm-sem-color-icon-primary-inverse, #141d24 );--bm-comp-input-color-choice-checkbox-selected-bg-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-color-choice-checkbox-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-switch-selected-bg: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-switch-selected-icon: var( --bm-sem-color-icon-primary-inverse, #141d24 );--bm-comp-input-color-choice-switch-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-radio-selected-bg: var( --bm-sem-color-surface-01, #202e39 );--bm-comp-input-color-choice-radio-selected-border: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-radio-selected-inner-circle: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-radio-selected-bg-error: var( --bm-sem-color-surface-01, #202e39 );--bm-comp-input-color-choice-radio-selected-border-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-color-choice-radio-selected-inner-circle-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-typo-sm: var( --bm-sem-typo-compact-body-sm, 400 .875rem/1rem "Source Sans Pro" );--bm-comp-input-typo-md: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-lg: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-character-count: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-label-choice: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" );--bm-comp-input-space-field-x-sm: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-x-md: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-x-lg: var(--bm-sem-space-125, 1.25rem);--bm-comp-input-space-field-y-sm: var(--bm-sem-space-25, .25rem);--bm-comp-input-space-field-y-md: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-field-y-lg: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-gap: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-inside: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-y: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-x: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-choice-nudge: var( --bm-primitive-dimension-12, .125rem );--bm-comp-input-size-field-height-sm: var(--bm-sem-size-height-sm, 2rem);--bm-comp-input-size-field-height-md: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-height-lg: var(--bm-sem-size-height-lg, 3rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon-sm: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-field-icon-md: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-icon-lg: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-text-area-height: var( --bm-primitive-dimension-475, 4.75rem );--bm-comp-input-size-choice-checkbox: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio-inside: var( --bm-primitive-dimension-50, .5rem );--bm-comp-input-size-choice-switch-height: var( --bm-sem-size-icon-md, 1.25rem );--bm-comp-input-size-choice-switch-width: var( --bm-primitive-dimension-250, 2.5rem );--bm-comp-input-size-choice-switch-knob: var( --bm-primitive-dimension-87, .875rem );--bm-comp-input-radius-field: var(--bm-sem-radius-input-md, .25rem);--bm-comp-input-radius-choice-checkbox: var( --bm-sem-radius-input-sm, .125rem );--bm-comp-input-radius-choice-radio: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-radius-choice-switch: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-border-width-field-default: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-border-width-field-error: var( --bm-sem-border-width-lg, .125rem );--bm-comp-input-border-width-choice: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-shadow-field: var( --bm-sem-shadow-none, 0 0 0 0 rgb(0, 0, 0, 0) )}.bm-checkbox{display:inline-flex}.bm-checkbox--read-only{--bm-input-choice-cursor: default;--bm-input-choice-label-cursor: default;--bm-input-choice-label-pointer-events: none}.bm-checkbox--disabled{--bm-input-choice-cursor: not-allowed;--bm-input-choice-label-cursor: not-allowed}.bm-checkbox__label{display:inherit;word-break:break-word;color:var(--bm-comp-input-color-text);font:var(--bm-comp-input-typo-md);gap:var(--bm-comp-input-space-choice-gap-inside);cursor:var(--bm-input-choice-label-cursor, pointer)}.bm-checkbox--with-label .bm-checkbox__label .bm-checkbox__input{margin:var(--bm-comp-input-space-choice-nudge) var(--bm-sem-space-0)}.bm-checkbox--error .bm-checkbox__label{color:var(--bm-comp-input-color-text)}.bm-checkbox--error .bm-checkbox__label .bm-checkbox__input{border-color:var(--bm-comp-input-color-border-error);background-color:var(--bm-comp-input-color-bg)}.bm-checkbox--error .bm-checkbox__label .bm-checkbox__input:checked{background-color:var(--bm-comp-input-color-choice-checkbox-selected-bg-error)}.bm-checkbox--read-only .bm-checkbox__label{color:var(--bm-comp-input-color-text)}.bm-checkbox--read-only .bm-checkbox__label .bm-checkbox__input{border-color:var(--bm-comp-input-color-border-disabled);background-color:var(--bm-comp-input-color-bg-disabled)}.bm-checkbox--read-only .bm-checkbox__label .bm-checkbox__input:checked{background-color:var(--bm-comp-input-color-icon)}.bm-checkbox--disabled .bm-checkbox__label{color:var(--bm-comp-input-color-text-disabled)}.bm-checkbox--disabled .bm-checkbox__label .bm-checkbox__input{border-color:var(--bm-comp-input-color-border-disabled);background-color:var(--bm-comp-input-color-bg-disabled)}.bm-checkbox--disabled .bm-checkbox__label .bm-checkbox__input:checked{background-color:var(--bm-comp-input-color-icon-disabled)}.bm-checkbox__label .bm-checkbox__input{appearance:none;-moz-appearance:none;-webkit-appearance:none;position:relative;margin:var(--bm-sem-space-0);flex-shrink:var(--bm-sem-space-0);cursor:var(--bm-input-choice-cursor, pointer);box-sizing:border-box;width:var(--bm-comp-input-size-choice-checkbox);height:var(--bm-comp-input-size-choice-checkbox);border-style:solid;border-width:var(--bm-comp-input-border-width-field-default);border-color:var(--bm-comp-input-color-border);border-radius:var(--bm-comp-input-radius-choice-checkbox);background-color:var(--bm-comp-input-color-bg)}.bm-checkbox__label .bm-checkbox__input:focus-visible{outline-offset:var(--bm-sem-size-focus-offset);outline:var(--bm-sem-border-width-focus) solid var(--bm-sem-color-border-focus)}.bm-checkbox__label .bm-checkbox__input:checked{border-color:var(--bm-comp-input-color-choice-checkbox-selected-border);background-color:var(--bm-comp-input-color-choice-checkbox-selected-bg)}.bm-checkbox__label .bm-checkbox__input:checked:after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.178 7.363.808 4.697 0 5.598l3.178 3.573L10 1.501 9.198.6l-6.02 6.763Z' fill='%23fff'/%3E%3C/svg%3E");-webkit-mask-size:cover;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.178 7.363.808 4.697 0 5.598l3.178 3.573L10 1.501 9.198.6l-6.02 6.763Z' fill='%23fff'/%3E%3C/svg%3E");mask-size:cover;mask-position:center;mask-repeat:no-repeat;content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:calc(var(--bm-comp-input-size-choice-checkbox) * 5 / 8);height:calc(var(--bm-comp-input-size-choice-checkbox) * 5 / 8);background-color:var(--bm-comp-input-color-choice-checkbox-selected-icon)}.bm-checkbox--indeterminate .bm-checkbox__input:checked:after{height:2px;width:50%;border-radius:var(--bm-comp-input-size-choice-checkbox);-webkit-mask-image:none;mask-image:none}`;
|
|
11
11
|
var E = Object.defineProperty, B = Object.getOwnPropertyDescriptor, f = (e) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as i } from "../../../chunks/delegate.baxDQosr.js";
|
|
2
|
-
import { c as p } from "../../../chunks/register-custom-element.
|
|
2
|
+
import { c as p } from "../../../chunks/register-custom-element.D_kw6JXe.js";
|
|
3
3
|
import { InputChoiceGroup as h } from "../../../InputChoiceGroup/InputChoiceGroup.js";
|
|
4
4
|
var u = Object.getOwnPropertyDescriptor, c = (e, a, l, n) => {
|
|
5
5
|
for (var r = n > 1 ? void 0 : n ? u(a, l) : a, t = e.length - 1, o; t >= 0; t--)
|
|
@@ -5,10 +5,10 @@ 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.
|
|
8
|
+
import { g as x } from "../../chunks/classNames.m6VYRyOu.js";
|
|
9
9
|
import { t as y } from "../../chunks/constants.ZIKMMCJH.js";
|
|
10
10
|
import { f as B } from "../../chunks/fileUpload.module.WyOEuxoP.js";
|
|
11
|
-
import { c as _ } from "../../chunks/register-custom-element.
|
|
11
|
+
import { c as _ } from "../../chunks/register-custom-element.D_kw6JXe.js";
|
|
12
12
|
import { BmButton as U } from "../../Button/Button.js";
|
|
13
13
|
import { fileUploadContext as v } from "./FileUploadContext.js";
|
|
14
14
|
var N = Object.defineProperty, O = Object.getOwnPropertyDescriptor, P = Object.getPrototypeOf, $ = Reflect.get, a = (e, t, s, l) => {
|
|
@@ -5,10 +5,10 @@ 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.
|
|
8
|
+
import { g as R } from "../../chunks/classNames.m6VYRyOu.js";
|
|
9
9
|
import { t as S } from "../../chunks/constants.ZIKMMCJH.js";
|
|
10
10
|
import { f as I } from "../../chunks/fileUpload.module.WyOEuxoP.js";
|
|
11
|
-
import { c as U } from "../../chunks/register-custom-element.
|
|
11
|
+
import { c as U } from "../../chunks/register-custom-element.D_kw6JXe.js";
|
|
12
12
|
import { stateLayerStyles as w, stateLayerClassName as P } from "../../StateLayer/StateLayer.js";
|
|
13
13
|
import { fileUploadContext as k } from "./FileUploadContext.js";
|
|
14
14
|
import "../../Icon/Icon.js";
|
|
@@ -4,12 +4,12 @@ import { property as p } from "lit/decorators.js";
|
|
|
4
4
|
import { createRef as _, ref as C } from "lit/directives/ref.js";
|
|
5
5
|
import { unsafeSVG as y } from "lit/directives/unsafe-svg.js";
|
|
6
6
|
import M from "clsx";
|
|
7
|
-
import { C as R, E as W } from "../../chunks/HelperText.
|
|
8
|
-
import { g as D } from "../../chunks/classNames.
|
|
7
|
+
import { C as R, E as W } from "../../chunks/HelperText.Cc_6DlKP.js";
|
|
8
|
+
import { g as D } from "../../chunks/classNames.m6VYRyOu.js";
|
|
9
9
|
import { t as H, p as U } from "../../chunks/constants.ZIKMMCJH.js";
|
|
10
10
|
import { f as O } from "../../chunks/fileUpload.module.WyOEuxoP.js";
|
|
11
11
|
import { a as V, c as k } from "../../chunks/tokens.CTW8Tt94.js";
|
|
12
|
-
import { c as A } from "../../chunks/register-custom-element.
|
|
12
|
+
import { c as A } from "../../chunks/register-custom-element.D_kw6JXe.js";
|
|
13
13
|
import { fileUploadListContext as G } from "./FileUploadListContext.js";
|
|
14
14
|
import "../../Icon/Icon.js";
|
|
15
15
|
import "../../Tooltip/Tooltip.js";
|
|
@@ -2,10 +2,10 @@ import { provide as c, consume as u } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as x, LitElement as C, html as m } from "lit";
|
|
3
3
|
import { property as n } from "lit/decorators.js";
|
|
4
4
|
import v from "clsx";
|
|
5
|
-
import { g as b } from "../../chunks/classNames.
|
|
5
|
+
import { g as b } from "../../chunks/classNames.m6VYRyOu.js";
|
|
6
6
|
import { t as g } from "../../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { f as y } from "../../chunks/fileUpload.module.WyOEuxoP.js";
|
|
8
|
-
import { c as _ } from "../../chunks/register-custom-element.
|
|
8
|
+
import { c as _ } from "../../chunks/register-custom-element.D_kw6JXe.js";
|
|
9
9
|
import { fileUploadContext as S } from "./FileUploadContext.js";
|
|
10
10
|
import { fileUploadListContext as $ } from "./FileUploadListContext.js";
|
|
11
11
|
import "./FileUpload.List.Item.js";
|