@viasat/beam-web-components 2.29.1 → 2.36.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.
Files changed (69) hide show
  1. package/Avatar/Avatar.js +1 -1
  2. package/Avatar/AvatarGroup.js +1 -1
  3. package/Avatar/index.js +1 -1
  4. package/Badge/Badge.js +1 -1
  5. package/Button/Button.js +43 -43
  6. package/CloseButton/CloseButton.js +12 -12
  7. package/EmptyState/EmptyState.js +3 -3
  8. package/InputChoiceGroup/InputChoiceGroup.js +20 -20
  9. package/Link/Link.js +25 -25
  10. package/ProgressBar/ProgressBar.js +22 -22
  11. package/SegmentedControl/SegmentedControl.js +1 -1
  12. package/SegmentedControl/SegmentedControlItem.js +1 -1
  13. package/SegmentedControl/SegmentedControlList.js +1 -1
  14. package/SegmentedControl/SegmentedControlPanel.js +1 -1
  15. package/Spinner/Spinner.js +35 -35
  16. package/TextField/TextField.js +40 -40
  17. package/Tooltip/Tooltip.js +25 -25
  18. package/chunks/Avatar.BKgI1H4m.js +174 -0
  19. package/chunks/fileUpload.module.WyOEuxoP.js +4 -0
  20. package/chunks/segmentedControl.module.DUw6nBfH.js +4 -0
  21. package/custom-elements.json +1554 -1554
  22. package/local/Avatar/Avatar.js +1 -1
  23. package/local/Avatar/AvatarGroup.js +1 -1
  24. package/local/Avatar/index.js +1 -1
  25. package/local/Badge/Badge.js +7 -7
  26. package/local/Button/Button.js +19 -19
  27. package/local/CloseButton/CloseButton.js +10 -10
  28. package/local/EmptyState/EmptyState.js +1 -1
  29. package/local/InputChoiceGroup/InputChoiceGroup.js +20 -20
  30. package/local/Link/Link.js +36 -36
  31. package/local/ProgressBar/ProgressBar.js +22 -22
  32. package/local/SegmentedControl/SegmentedControl.js +1 -1
  33. package/local/SegmentedControl/SegmentedControlItem.js +1 -1
  34. package/local/SegmentedControl/SegmentedControlList.js +1 -1
  35. package/local/SegmentedControl/SegmentedControlPanel.js +1 -1
  36. package/local/Spinner/Spinner.js +28 -28
  37. package/local/TextField/TextField.js +40 -40
  38. package/local/Tooltip/Tooltip.js +39 -39
  39. package/local/chunks/Avatar.GyYNA9m6.js +172 -0
  40. package/local/chunks/fileUpload.module.WyOEuxoP.js +4 -0
  41. package/local/chunks/segmentedControl.module.DUw6nBfH.js +4 -0
  42. package/local/wip/Checkbox/Checkbox.js +52 -52
  43. package/local/wip/FileUpload/FileUpload.Button.js +1 -1
  44. package/local/wip/FileUpload/FileUpload.Dropzone.js +1 -1
  45. package/local/wip/FileUpload/FileUpload.List.Item.js +1 -1
  46. package/local/wip/FileUpload/FileUpload.List.js +1 -1
  47. package/local/wip/FileUpload/FileUpload.js +1 -1
  48. package/local/wip/NativeSelect/NativeSelect.js +25 -25
  49. package/local/wip/RadioButton/RadioButton.js +17 -17
  50. package/local/wip/Switch/Switch.js +37 -37
  51. package/local/wip/TextArea/TextArea.js +18 -18
  52. package/package.json +6 -6
  53. package/vscode.html-custom-data.json +232 -232
  54. package/wip/Checkbox/Checkbox.js +15 -15
  55. package/wip/FileUpload/FileUpload.Button.js +1 -1
  56. package/wip/FileUpload/FileUpload.Dropzone.js +1 -1
  57. package/wip/FileUpload/FileUpload.List.Item.js +1 -1
  58. package/wip/FileUpload/FileUpload.List.js +1 -1
  59. package/wip/FileUpload/FileUpload.js +1 -1
  60. package/wip/NativeSelect/NativeSelect.js +47 -47
  61. package/wip/RadioButton/RadioButton.js +21 -21
  62. package/wip/Switch/Switch.js +37 -37
  63. package/wip/TextArea/TextArea.js +18 -18
  64. package/chunks/Avatar.BgufO4-1.js +0 -174
  65. package/chunks/fileUpload.module.CNe9mg2f.js +0 -4
  66. package/chunks/segmentedControl.module.5EsIjpJa.js +0 -4
  67. package/local/chunks/Avatar.CEb3Se7H.js +0 -172
  68. package/local/chunks/fileUpload.module.CNe9mg2f.js +0 -4
  69. package/local/chunks/segmentedControl.module.5EsIjpJa.js +0 -4
@@ -61,87 +61,6 @@
61
61
  }
62
62
  ]
63
63
  },
64
- {
65
- "name": "bm-badge",
66
- "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon\n---\n\n\n### **Slots:**\n - **default** - Provide text for the Badge\n- **icon** - Specify a different icon for the Badge",
67
- "attributes": [
68
- {
69
- "name": "appearance",
70
- "description": "Specify the appearance of the Badge",
71
- "values": [
72
- { "name": "infoPrimary" },
73
- { "name": "infoSecondary" },
74
- { "name": "positive" },
75
- { "name": "warning" },
76
- { "name": "negative" }
77
- ]
78
- },
79
- {
80
- "name": "theme",
81
- "description": "Theme of the Badge",
82
- "values": [{ "name": "light" }, { "name": "dark" }]
83
- },
84
- {
85
- "name": "size",
86
- "description": "Specify the size of the Badge",
87
- "values": [{ "name": "sm" }, { "name": "md" }]
88
- },
89
- {
90
- "name": "emphasis",
91
- "description": "Specify the emphasis of the Badge",
92
- "values": [
93
- { "name": "strong" },
94
- { "name": "medium" },
95
- { "name": "subtle" }
96
- ]
97
- },
98
- { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
99
- ],
100
- "references": [
101
- {
102
- "name": "Storybook",
103
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
104
- }
105
- ]
106
- },
107
- {
108
- "name": "bm-badge-dot",
109
- "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color\n---\n\n\n### **Slots:**\n - **default** - Provide text for the BadgeDot",
110
- "attributes": [
111
- {
112
- "name": "theme",
113
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
114
- "values": [{ "name": "light" }, { "name": "dark" }]
115
- },
116
- {
117
- "name": "appearance",
118
- "description": "Specify the appearance of the BadgeDot",
119
- "values": [
120
- { "name": "infoPrimary" },
121
- { "name": "infoSecondary" },
122
- { "name": "positive" },
123
- { "name": "warning" },
124
- { "name": "negative" }
125
- ]
126
- },
127
- {
128
- "name": "emphasis",
129
- "description": "Specify the emphasis of the BadgeDot",
130
- "values": [{ "name": "strong" }, { "name": "subtle" }]
131
- },
132
- {
133
- "name": "overrideDotColor",
134
- "description": "Overrides default dot color",
135
- "values": []
136
- }
137
- ],
138
- "references": [
139
- {
140
- "name": "Storybook",
141
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
142
- }
143
- ]
144
- },
145
64
  {
146
65
  "name": "bm-alert",
147
66
  "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",
@@ -313,6 +232,49 @@
313
232
  }
314
233
  ]
315
234
  },
235
+ {
236
+ "name": "bm-badge",
237
+ "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",
238
+ "attributes": [
239
+ {
240
+ "name": "appearance",
241
+ "description": "Specify the appearance of the Badge",
242
+ "values": [
243
+ { "name": "infoPrimary" },
244
+ { "name": "infoSecondary" },
245
+ { "name": "positive" },
246
+ { "name": "warning" },
247
+ { "name": "negative" }
248
+ ]
249
+ },
250
+ {
251
+ "name": "theme",
252
+ "description": "Theme of the Badge",
253
+ "values": [{ "name": "light" }, { "name": "dark" }]
254
+ },
255
+ {
256
+ "name": "size",
257
+ "description": "Specify the size of the Badge",
258
+ "values": [{ "name": "sm" }, { "name": "md" }]
259
+ },
260
+ {
261
+ "name": "emphasis",
262
+ "description": "Specify the emphasis of the Badge",
263
+ "values": [
264
+ { "name": "strong" },
265
+ { "name": "medium" },
266
+ { "name": "subtle" }
267
+ ]
268
+ },
269
+ { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
270
+ ],
271
+ "references": [
272
+ {
273
+ "name": "Storybook",
274
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
275
+ }
276
+ ]
277
+ },
316
278
  {
317
279
  "name": "bm-box",
318
280
  "description": "`bm-box`\n\n### Attributes:\n- **backgroundColor** - Specify the background color of a Box\n- **borderColor** - Specify the border color of a Box\n- **borderWidth** - Specify the border width of a Box\n- **borderRadius** - Specify the border radius of a Box\n- **px** - Specify before and after padding of a Box\n- **py** - Specify top and bottom padding of a Box\n- **pTop** - Specify top padding of a Box\n- **pBottom** - Specify bottom padding of a Box\n- **pBefore** - Specify before padding of a Box\n- **pAfter** - Specify after padding of a Box\n- **mx** - Specify before and after margin of a Box\n- **my** - Specify top and bottom margin of a Box\n- **mTop** - Specify top margin of a Box\n- **mBottom** - Specify bottom margin of a Box\n- **mBefore** - Specify before margin of a Box\n- **mAfter** - Specify after margin of a Box\n- **m** - Specify all margin\n- **p** - Specify all padding\n- **gap** - Specify gap between child elements\n- **shadow** - Specify if a Box has a shadow\n---\n\n\n### **Slots:**\n - **default** - Provide content for the Box",
@@ -716,6 +678,44 @@
716
678
  }
717
679
  ]
718
680
  },
681
+ {
682
+ "name": "bm-badge-dot",
683
+ "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",
684
+ "attributes": [
685
+ {
686
+ "name": "theme",
687
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
688
+ "values": [{ "name": "light" }, { "name": "dark" }]
689
+ },
690
+ {
691
+ "name": "appearance",
692
+ "description": "Specify the appearance of the BadgeDot",
693
+ "values": [
694
+ { "name": "infoPrimary" },
695
+ { "name": "infoSecondary" },
696
+ { "name": "positive" },
697
+ { "name": "warning" },
698
+ { "name": "negative" }
699
+ ]
700
+ },
701
+ {
702
+ "name": "emphasis",
703
+ "description": "Specify the emphasis of the BadgeDot",
704
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
705
+ },
706
+ {
707
+ "name": "overrideDotColor",
708
+ "description": "Overrides default dot color",
709
+ "values": []
710
+ }
711
+ ],
712
+ "references": [
713
+ {
714
+ "name": "Storybook",
715
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
716
+ }
717
+ ]
718
+ },
719
719
  {
720
720
  "name": "bm-breadcrumb",
721
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",
@@ -1036,59 +1036,6 @@
1036
1036
  }
1037
1037
  ]
1038
1038
  },
1039
- {
1040
- "name": "bm-icon",
1041
- "description": "`bm-icon`\n\n### Attributes:\n- **color** - Specify the color of Icon\n- **size** - Specify the size of Icon\n- **customIconSize** - Specify a custom size for the Icon\n- **customIconColor** - Specify a custom color for the Icon\n---\n\n\n### **Slots:**\n - **default** - Specify which Icon to display",
1042
- "attributes": [
1043
- {
1044
- "name": "color",
1045
- "description": "Specify the color of Icon",
1046
- "values": [
1047
- { "name": "primary" },
1048
- { "name": "secondary" },
1049
- { "name": "infoPrimary" },
1050
- { "name": "infoSecondary" },
1051
- { "name": "positive" },
1052
- { "name": "warning" },
1053
- { "name": "negative" },
1054
- { "name": "secondaryInverse" },
1055
- { "name": "positiveStrong" },
1056
- { "name": "warningStrong" },
1057
- { "name": "negativeStrong" },
1058
- { "name": "infoPrimaryStrong" },
1059
- { "name": "infoSecondaryStrong" },
1060
- { "name": "primaryInverse" }
1061
- ]
1062
- },
1063
- {
1064
- "name": "size",
1065
- "description": "Specify the size of Icon",
1066
- "values": [
1067
- { "name": "xs" },
1068
- { "name": "sm" },
1069
- { "name": "md" },
1070
- { "name": "lg" },
1071
- { "name": "xl" }
1072
- ]
1073
- },
1074
- {
1075
- "name": "customIconSize",
1076
- "description": "Specify a custom size for the Icon",
1077
- "values": []
1078
- },
1079
- {
1080
- "name": "customIconColor",
1081
- "description": "Specify a custom color for the Icon",
1082
- "values": []
1083
- }
1084
- ],
1085
- "references": [
1086
- {
1087
- "name": "Storybook",
1088
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-icon"
1089
- }
1090
- ]
1091
- },
1092
1039
  {
1093
1040
  "name": "bm-input-choice-group",
1094
1041
  "description": "`bm-input-choice-group`\n\n### Attributes:\n- **theme** - Specify the theme of the InputChoiceGroup. By default it inherits the theme from the parent\n- **layout** - Specify InputChoiceGroup orientation\n\n**Deprecated**: use `orientation` and `fluid` instead\n- **orientation** - Specify InputChoiceGroup orientation\n- **fluid** - Specify if InputChoiceGroup should take the full width of its container\n- **required** - Specify if InputChoiceGroup is a required input\n- **hideRequiredMarker** - Specify if the InputChoiceGroup displays with an asterisk\n- **error** - Specify error text and display error state of a InputChoiceGroup\n- **readOnly** - Specify if InputChoiceGroup displays in a read-only state\n- **disabled** - Specify if InputChoiceGroup displays in a disabled state\n---\n\n\n### **Slots:**\n - **label** - Add label text to the InputChoiceGroup\n- **helperText** - Add helper text to the InputChoiceGroup",
@@ -1158,6 +1105,59 @@
1158
1105
  }
1159
1106
  ]
1160
1107
  },
1108
+ {
1109
+ "name": "bm-icon",
1110
+ "description": "`bm-icon`\n\n### Attributes:\n- **color** - Specify the color of Icon\n- **size** - Specify the size of Icon\n- **customIconSize** - Specify a custom size for the Icon\n- **customIconColor** - Specify a custom color for the Icon\n---\n\n\n### **Slots:**\n - **default** - Specify which Icon to display",
1111
+ "attributes": [
1112
+ {
1113
+ "name": "color",
1114
+ "description": "Specify the color of Icon",
1115
+ "values": [
1116
+ { "name": "primary" },
1117
+ { "name": "secondary" },
1118
+ { "name": "infoPrimary" },
1119
+ { "name": "infoSecondary" },
1120
+ { "name": "positive" },
1121
+ { "name": "warning" },
1122
+ { "name": "negative" },
1123
+ { "name": "secondaryInverse" },
1124
+ { "name": "positiveStrong" },
1125
+ { "name": "warningStrong" },
1126
+ { "name": "negativeStrong" },
1127
+ { "name": "infoPrimaryStrong" },
1128
+ { "name": "infoSecondaryStrong" },
1129
+ { "name": "primaryInverse" }
1130
+ ]
1131
+ },
1132
+ {
1133
+ "name": "size",
1134
+ "description": "Specify the size of Icon",
1135
+ "values": [
1136
+ { "name": "xs" },
1137
+ { "name": "sm" },
1138
+ { "name": "md" },
1139
+ { "name": "lg" },
1140
+ { "name": "xl" }
1141
+ ]
1142
+ },
1143
+ {
1144
+ "name": "customIconSize",
1145
+ "description": "Specify a custom size for the Icon",
1146
+ "values": []
1147
+ },
1148
+ {
1149
+ "name": "customIconColor",
1150
+ "description": "Specify a custom color for the Icon",
1151
+ "values": []
1152
+ }
1153
+ ],
1154
+ "references": [
1155
+ {
1156
+ "name": "Storybook",
1157
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-icon"
1158
+ }
1159
+ ]
1160
+ },
1161
1161
  {
1162
1162
  "name": "bm-label",
1163
1163
  "description": "`bm-label`\n---\n\n\n### **Slots:**\n - **text** - Specify the text for Label\n- **optional** - Specify if the Label displays as optional\n- **tooltip** - Specify if the icon displays to add a Tooltip",
@@ -1252,59 +1252,6 @@
1252
1252
  }
1253
1253
  ]
1254
1254
  },
1255
- {
1256
- "name": "bm-list",
1257
- "description": "### Attributes:\n- **kind** - Specify the kind of List\n- **size** - Specify the size of List\n- **density** - Specify the density of the List\n- **indent** - Specify if the List has an indentation.\nValid only for `unstyled` and `withIcons` List kinds.\n---\n\n\n### **Slots:**\n - **default** - Add list items to create a List",
1258
- "attributes": [
1259
- {
1260
- "name": "kind",
1261
- "description": "Specify the kind of List",
1262
- "values": [
1263
- { "name": "ordered" },
1264
- { "name": "unordered" },
1265
- { "name": "unstyled" },
1266
- { "name": "withIcons" }
1267
- ]
1268
- },
1269
- {
1270
- "name": "size",
1271
- "description": "Specify the size of List",
1272
- "values": [
1273
- { "name": "sm" },
1274
- { "name": "md" },
1275
- { "name": "lg" },
1276
- { "name": "xl" }
1277
- ]
1278
- },
1279
- {
1280
- "name": "density",
1281
- "description": "Specify the density of the List",
1282
- "values": [{ "name": "md" }, { "name": "lg" }]
1283
- },
1284
- {
1285
- "name": "indent",
1286
- "description": "Specify if the List has an indentation.\nValid only for `unstyled` and `withIcons` List kinds.",
1287
- "values": []
1288
- }
1289
- ],
1290
- "references": [
1291
- {
1292
- "name": "Storybook",
1293
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-list"
1294
- }
1295
- ]
1296
- },
1297
- {
1298
- "name": "bm-list-item",
1299
- "description": "\n---\n\n\n### **Slots:**\n - **icon** - Specify an Icon for the List.Item\n- **default** - Specify the text for List.Item",
1300
- "attributes": [],
1301
- "references": [
1302
- {
1303
- "name": "Storybook",
1304
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-list"
1305
- }
1306
- ]
1307
- },
1308
1255
  {
1309
1256
  "name": "bm-progress-bar",
1310
1257
  "description": "`bm-progress-bar`\n\n### Attributes:\n- **state** - Specify the ProgressBar state\n- **size** - Specify the size of the ProgressBar\n- **label** - Provide text for the ProgressBar label\n- **helperText** - Specify helperText for ProgressBar. helperText is required for the Error state.\n- **fullWidth** - Specify if the ProgressBar has no corner radius\n- **theme** - Specify the theme of the ProgressBar. By default it inherits the theme from the parent\n- **value** - Specify if a ProgressBar is determinate by setting a value between 0 and 100.\n- **progressbarAriaLabel** - Specify the aria-label for the ProgressBar\n---\n",
@@ -1361,6 +1308,59 @@
1361
1308
  }
1362
1309
  ]
1363
1310
  },
1311
+ {
1312
+ "name": "bm-list",
1313
+ "description": "### Attributes:\n- **kind** - Specify the kind of List\n- **size** - Specify the size of List\n- **density** - Specify the density of the List\n- **indent** - Specify if the List has an indentation.\nValid only for `unstyled` and `withIcons` List kinds.\n---\n\n\n### **Slots:**\n - **default** - Add list items to create a List",
1314
+ "attributes": [
1315
+ {
1316
+ "name": "kind",
1317
+ "description": "Specify the kind of List",
1318
+ "values": [
1319
+ { "name": "ordered" },
1320
+ { "name": "unordered" },
1321
+ { "name": "unstyled" },
1322
+ { "name": "withIcons" }
1323
+ ]
1324
+ },
1325
+ {
1326
+ "name": "size",
1327
+ "description": "Specify the size of List",
1328
+ "values": [
1329
+ { "name": "sm" },
1330
+ { "name": "md" },
1331
+ { "name": "lg" },
1332
+ { "name": "xl" }
1333
+ ]
1334
+ },
1335
+ {
1336
+ "name": "density",
1337
+ "description": "Specify the density of the List",
1338
+ "values": [{ "name": "md" }, { "name": "lg" }]
1339
+ },
1340
+ {
1341
+ "name": "indent",
1342
+ "description": "Specify if the List has an indentation.\nValid only for `unstyled` and `withIcons` List kinds.",
1343
+ "values": []
1344
+ }
1345
+ ],
1346
+ "references": [
1347
+ {
1348
+ "name": "Storybook",
1349
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-list"
1350
+ }
1351
+ ]
1352
+ },
1353
+ {
1354
+ "name": "bm-list-item",
1355
+ "description": "\n---\n\n\n### **Slots:**\n - **icon** - Specify an Icon for the List.Item\n- **default** - Specify the text for List.Item",
1356
+ "attributes": [],
1357
+ "references": [
1358
+ {
1359
+ "name": "Storybook",
1360
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-list"
1361
+ }
1362
+ ]
1363
+ },
1364
1364
  {
1365
1365
  "name": "bm-segmented-control",
1366
1366
  "description": "`bm-segmented-control`\n\n### Attributes:\n- **disabled** - Specify if all SegmentedControl items are disabled\n- **size** - Specify the size of a SegmentedControl\n- **initialSelection** - Specify the value of the initially selected item\n- **fluid** - Specify if the SegmentedControl is fluid with its parent container\n---\n\n\n### **Events:**\n - **bm-change** - Dispatched when a `SegmentedControlItem` is selected, with the selected value in the `detail` property",
@@ -2211,6 +2211,51 @@
2211
2211
  }
2212
2212
  ]
2213
2213
  },
2214
+ {
2215
+ "name": "bm-form",
2216
+ "description": "`bm-form`\n---\n\n\n### **Events:**\n - **submit** - Validates the inputs and submits the form\n\n### **Slots:**\n - **slot** - Add controls to the Form",
2217
+ "attributes": [
2218
+ {
2219
+ "name": "validationMode",
2220
+ "description": "Specify if validation runs on change or when loosing focus",
2221
+ "values": [
2222
+ { "name": "onChange" },
2223
+ { "name": "onBlur" },
2224
+ { "name": "onSubmit" }
2225
+ ]
2226
+ },
2227
+ {
2228
+ "name": "initialValues",
2229
+ "description": "Specify initial values on Form controls based on their names",
2230
+ "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2231
+ },
2232
+ {
2233
+ "name": "required",
2234
+ "description": "Specify if input is a required",
2235
+ "values": []
2236
+ },
2237
+ {
2238
+ "name": "disabled",
2239
+ "description": "Specify if input is a disabled",
2240
+ "values": []
2241
+ },
2242
+ {
2243
+ "name": "readOnly",
2244
+ "description": "Specify if input is a read only",
2245
+ "values": []
2246
+ },
2247
+ { "name": "action", "values": [] },
2248
+ { "name": "method", "values": [] },
2249
+ { "name": "target", "values": [] },
2250
+ { "name": "enctype", "values": [] }
2251
+ ],
2252
+ "references": [
2253
+ {
2254
+ "name": "Storybook",
2255
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2256
+ }
2257
+ ]
2258
+ },
2214
2259
  {
2215
2260
  "name": "bm-native-select",
2216
2261
  "description": "`bm-native-select`\n---\n\n\n### **Slots:**\n - **slot** - Specify Options for NativeSelect\n- **label** - Specify Label for NativeSelect\n- **helper-text** - Specify HelperText for NativeSelect",
@@ -2276,51 +2321,6 @@
2276
2321
  }
2277
2322
  ]
2278
2323
  },
2279
- {
2280
- "name": "bm-form",
2281
- "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",
2282
- "attributes": [
2283
- {
2284
- "name": "validationMode",
2285
- "description": "Specify if validation runs on change or when loosing focus",
2286
- "values": [
2287
- { "name": "onChange" },
2288
- { "name": "onBlur" },
2289
- { "name": "onSubmit" }
2290
- ]
2291
- },
2292
- {
2293
- "name": "initialValues",
2294
- "description": "Specify initial values on Form controls based on their names",
2295
- "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2296
- },
2297
- {
2298
- "name": "required",
2299
- "description": "Specify if input is a required",
2300
- "values": []
2301
- },
2302
- {
2303
- "name": "disabled",
2304
- "description": "Specify if input is a disabled",
2305
- "values": []
2306
- },
2307
- {
2308
- "name": "readOnly",
2309
- "description": "Specify if input is a read only",
2310
- "values": []
2311
- },
2312
- { "name": "action", "values": [] },
2313
- { "name": "method", "values": [] },
2314
- { "name": "target", "values": [] },
2315
- { "name": "enctype", "values": [] }
2316
- ],
2317
- "references": [
2318
- {
2319
- "name": "Storybook",
2320
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2321
- }
2322
- ]
2323
- },
2324
2324
  {
2325
2325
  "name": "bm-radio-button",
2326
2326
  "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",
@@ -1,5 +1,5 @@
1
1
  import { consume as k } from "@lit/context";
2
- import { unsafeCSS as y, LitElement as _, nothing as u, html as h } from "lit";
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
5
  import { g as z } from "../../chunks/classNames.Cq_tbDRp.js";
@@ -7,39 +7,39 @@ import { t as C } from "../../chunks/constants.jOWREYQE.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";
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-utility-color-accent-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-utility-color-accent-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-utility-color-accent-default, #00768f );--bm-comp-input-color-choice-radio-selected-inner-circle: var( --bm-utility-color-accent-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-default: 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: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-y: var(--bm-sem-space-50, .5rem);--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-md-height: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon: 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-utility-color-accent-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-utility-color-accent-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-utility-color-accent-default, #43bfd6 );--bm-comp-input-color-choice-radio-selected-inner-circle: var( --bm-utility-color-accent-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-default: 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: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-y: var(--bm-sem-space-50, .5rem);--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-md-height: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon: 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-default);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}`;
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-default: 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: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-y: var(--bm-sem-space-50, .5rem);--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-md-height: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon: 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-default: 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: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-y: var(--bm-sem-space-50, .5rem);--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-md-height: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon: 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-default);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) => {
12
12
  throw TypeError(e);
13
- }, m = (e, o, c, b) => {
14
- for (var t = b > 1 ? void 0 : b ? B(o, c) : o, a = e.length - 1, s; a >= 0; a--)
15
- (s = e[a]) && (t = (b ? s(o, c, t) : s(t)) || t);
16
- return b && t && E(o, c, t), t;
13
+ }, m = (e, o, c, t) => {
14
+ for (var a = t > 1 ? void 0 : t ? B(o, c) : o, b = e.length - 1, s; b >= 0; b--)
15
+ (s = e[b]) && (a = (t ? s(o, c, a) : s(a)) || a);
16
+ return t && a && E(o, c, a), a;
17
17
  }, L = (e, o, c) => o.has(e) || f("Cannot " + c), M = (e, o, c) => (L(e, o, "read from private field"), c ? c.call(e) : o.get(e)), D = (e, o, c) => o.has(e) ? f("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(e) : o.set(e, c), n;
18
18
  const { baseClassNamePrefix: G, subElementClassPrefix: v, classModifierPrefix: p } = z("checkbox");
19
19
  let r = class extends _ {
20
20
  constructor() {
21
- super(...arguments), this.readOnly = !1, this.indeterminate = !1, this.disabled = !1, this.checked = !1, D(this, n, () => this.label ? h`<span>${this.label}</span>` : u);
21
+ super(...arguments), this.readOnly = !1, this.indeterminate = !1, this.disabled = !1, this.checked = !1, D(this, n, () => this.label ? u`<span>${this.label}</span>` : h);
22
22
  }
23
23
  clickHandler(e) {
24
24
  this.readOnly && (e.preventDefault(), e.stopPropagation());
25
25
  }
26
26
  render() {
27
27
  const { ariaInvalid: e, ariaLabel: o } = this, c = !!e || !!this.error, {
28
- required: b,
29
- error: t,
30
- readOnly: a,
28
+ required: t,
29
+ error: a,
30
+ readOnly: b,
31
31
  disabled: s,
32
32
  name: g
33
- } = this.inputChoiceGroupContext || {}, l = this.disabled || s, d = this.readOnly || a, x = w(
33
+ } = this.inputChoiceGroupContext || {}, l = this.disabled || s, d = this.readOnly || b, x = w(
34
34
  G,
35
35
  this.theme && C(this.theme),
36
- (this.error || t) && `${p}error`,
36
+ (this.error || a) && `${p}error`,
37
37
  this.label && `${p}with-label`,
38
38
  l && `${p}disabled`,
39
39
  d && `${p}read-only`,
40
40
  this.indeterminate && `${p}indeterminate`
41
41
  );
42
- return h`
42
+ return u`
43
43
  <div class="${x}">
44
44
  <label tabindex="{-1}" class="${v}label">
45
45
  <input
@@ -48,13 +48,13 @@ let r = class extends _ {
48
48
  value=${this.value}
49
49
  id=${this.id}
50
50
  ?checked=${this.checked}
51
- ?required=${b}
51
+ ?required=${t}
52
52
  ?disabled=${l}
53
53
  ?readOnly=${d}
54
54
  class="${v}input"
55
55
  @click=${this.clickHandler}
56
56
  aria-label=${o}
57
- aria-invalid=${c || u}
57
+ aria-invalid=${c || h}
58
58
  />
59
59
  ${M(this, n).call(this)}
60
60
  </label>