@viasat/beam-web-components 2.2.0 → 2.8.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/Avatar/AvatarGroup.js +1 -1
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Link/Link.js +1 -1
- package/SegmentedControl/SegmentedControlItem.js +1 -1
- package/chunks/dom.CroF8n1N.js +29 -0
- package/custom-elements.json +1110 -1110
- package/local/Avatar/AvatarGroup.js +1 -1
- package/local/Breadcrumbs/Breadcrumbs.js +1 -1
- package/local/Link/Link.js +1 -1
- package/local/SegmentedControl/SegmentedControlItem.js +1 -1
- package/local/chunks/dom.CroF8n1N.js +29 -0
- package/local/wip/Checkbox/Checkbox.js +1 -1
- package/local/wip/RadioButton/RadioButton.js +1 -1
- package/package.json +6 -6
- package/vscode.html-custom-data.json +188 -188
- package/wip/Checkbox/Checkbox.js +1 -1
- package/wip/RadioButton/RadioButton.js +1 -1
- package/chunks/dom.Bbze9_v5.js +0 -29
- package/local/chunks/dom.Bbze9_v5.js +0 -29
|
@@ -610,6 +610,79 @@
|
|
|
610
610
|
}
|
|
611
611
|
]
|
|
612
612
|
},
|
|
613
|
+
{
|
|
614
|
+
"name": "bm-alert",
|
|
615
|
+
"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",
|
|
616
|
+
"attributes": [
|
|
617
|
+
{
|
|
618
|
+
"name": "heading",
|
|
619
|
+
"description": "Specify the heading text for Alert",
|
|
620
|
+
"values": []
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "body",
|
|
624
|
+
"description": "Specify the body text for Alert",
|
|
625
|
+
"values": []
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "size",
|
|
629
|
+
"description": "Specify the size of the Alert",
|
|
630
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"name": "fullWidth",
|
|
634
|
+
"description": "Specify if the Alert has no border radius",
|
|
635
|
+
"values": []
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"name": "theme",
|
|
639
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
640
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "appearance",
|
|
644
|
+
"description": "Specify the appearance of the Alert",
|
|
645
|
+
"values": [
|
|
646
|
+
{ "name": "infoPrimary" },
|
|
647
|
+
{ "name": "infoSecondary" },
|
|
648
|
+
{ "name": "positive" },
|
|
649
|
+
{ "name": "warning" },
|
|
650
|
+
{ "name": "negative" }
|
|
651
|
+
]
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"name": "hidden",
|
|
655
|
+
"description": "Specify if the Alert is hidden",
|
|
656
|
+
"values": []
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"name": "hideIcon",
|
|
660
|
+
"description": "Specify if the icon displays on the Alert",
|
|
661
|
+
"values": []
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "dismissible",
|
|
665
|
+
"description": "Specify if the Alert can be dismissed",
|
|
666
|
+
"values": []
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "disableAutoFocus",
|
|
670
|
+
"description": "Prevent autofocus on show",
|
|
671
|
+
"values": []
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "disableCloseOnEscape",
|
|
675
|
+
"description": "Prevent Escape from closing",
|
|
676
|
+
"values": []
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
"references": [
|
|
680
|
+
{
|
|
681
|
+
"name": "Storybook",
|
|
682
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
},
|
|
613
686
|
{
|
|
614
687
|
"name": "bm-button",
|
|
615
688
|
"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",
|
|
@@ -776,79 +849,6 @@
|
|
|
776
849
|
}
|
|
777
850
|
]
|
|
778
851
|
},
|
|
779
|
-
{
|
|
780
|
-
"name": "bm-alert",
|
|
781
|
-
"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",
|
|
782
|
-
"attributes": [
|
|
783
|
-
{
|
|
784
|
-
"name": "heading",
|
|
785
|
-
"description": "Specify the heading text for Alert",
|
|
786
|
-
"values": []
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
"name": "body",
|
|
790
|
-
"description": "Specify the body text for Alert",
|
|
791
|
-
"values": []
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
"name": "size",
|
|
795
|
-
"description": "Specify the size of the Alert",
|
|
796
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
"name": "fullWidth",
|
|
800
|
-
"description": "Specify if the Alert has no border radius",
|
|
801
|
-
"values": []
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
"name": "theme",
|
|
805
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
806
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
"name": "appearance",
|
|
810
|
-
"description": "Specify the appearance of the Alert",
|
|
811
|
-
"values": [
|
|
812
|
-
{ "name": "infoPrimary" },
|
|
813
|
-
{ "name": "infoSecondary" },
|
|
814
|
-
{ "name": "positive" },
|
|
815
|
-
{ "name": "warning" },
|
|
816
|
-
{ "name": "negative" }
|
|
817
|
-
]
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "hidden",
|
|
821
|
-
"description": "Specify if the Alert is hidden",
|
|
822
|
-
"values": []
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"name": "hideIcon",
|
|
826
|
-
"description": "Specify if the icon displays on the Alert",
|
|
827
|
-
"values": []
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"name": "dismissible",
|
|
831
|
-
"description": "Specify if the Alert can be dismissed",
|
|
832
|
-
"values": []
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"name": "disableAutoFocus",
|
|
836
|
-
"description": "Prevent autofocus on show",
|
|
837
|
-
"values": []
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"name": "disableCloseOnEscape",
|
|
841
|
-
"description": "Prevent Escape from closing",
|
|
842
|
-
"values": []
|
|
843
|
-
}
|
|
844
|
-
],
|
|
845
|
-
"references": [
|
|
846
|
-
{
|
|
847
|
-
"name": "Storybook",
|
|
848
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
849
|
-
}
|
|
850
|
-
]
|
|
851
|
-
},
|
|
852
852
|
{
|
|
853
853
|
"name": "bm-close-button",
|
|
854
854
|
"description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled\n---\n",
|
|
@@ -2071,43 +2071,6 @@
|
|
|
2071
2071
|
}
|
|
2072
2072
|
]
|
|
2073
2073
|
},
|
|
2074
|
-
{
|
|
2075
|
-
"name": "bm-label",
|
|
2076
|
-
"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",
|
|
2077
|
-
"attributes": [
|
|
2078
|
-
{
|
|
2079
|
-
"name": "disabled",
|
|
2080
|
-
"description": "Specify if the Label displays disabled",
|
|
2081
|
-
"values": []
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
"name": "required",
|
|
2085
|
-
"description": "Specify if the Label displays as required",
|
|
2086
|
-
"values": []
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
"name": "text",
|
|
2090
|
-
"description": "Specify the text for Label",
|
|
2091
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2092
|
-
},
|
|
2093
|
-
{
|
|
2094
|
-
"name": "optional",
|
|
2095
|
-
"description": "Specify the text for Label",
|
|
2096
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2097
|
-
},
|
|
2098
|
-
{
|
|
2099
|
-
"name": "theme",
|
|
2100
|
-
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
2101
|
-
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2102
|
-
}
|
|
2103
|
-
],
|
|
2104
|
-
"references": [
|
|
2105
|
-
{
|
|
2106
|
-
"name": "Storybook",
|
|
2107
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
2108
|
-
}
|
|
2109
|
-
]
|
|
2110
|
-
},
|
|
2111
2074
|
{
|
|
2112
2075
|
"name": "bm-form",
|
|
2113
2076
|
"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",
|
|
@@ -2154,77 +2117,52 @@
|
|
|
2154
2117
|
]
|
|
2155
2118
|
},
|
|
2156
2119
|
{
|
|
2157
|
-
"name": "bm-
|
|
2158
|
-
"description": "`bm-
|
|
2120
|
+
"name": "bm-native-select",
|
|
2121
|
+
"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",
|
|
2159
2122
|
"attributes": [
|
|
2160
|
-
{
|
|
2161
|
-
"name": "rows",
|
|
2162
|
-
"description": "Specify the height of TextArea",
|
|
2163
|
-
"values": [{ "name": "Optional<number>" }]
|
|
2164
|
-
},
|
|
2165
|
-
{
|
|
2166
|
-
"name": "cols",
|
|
2167
|
-
"description": "Specify the width of TextArea",
|
|
2168
|
-
"values": [{ "name": "Optional<number>" }]
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"name": "placeholder",
|
|
2172
|
-
"description": "Specify placeholder text for TextArea",
|
|
2173
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2174
|
-
},
|
|
2175
2123
|
{
|
|
2176
2124
|
"name": "required",
|
|
2177
|
-
"description": "Specify if
|
|
2178
|
-
"values": []
|
|
2179
|
-
},
|
|
2180
|
-
{
|
|
2181
|
-
"name": "hideRequiredMarker",
|
|
2182
|
-
"description": "Specify if the TextArea displays with an asterisk",
|
|
2125
|
+
"description": "Specify if NativeSelect is a required input",
|
|
2183
2126
|
"values": []
|
|
2184
2127
|
},
|
|
2185
|
-
{
|
|
2186
|
-
"name": "error",
|
|
2187
|
-
"description": "Specify error text and display error state of a TextArea",
|
|
2188
|
-
"values": [{ "name": "Optional<string>" }]
|
|
2189
|
-
},
|
|
2190
2128
|
{
|
|
2191
2129
|
"name": "readOnly",
|
|
2192
|
-
"description": "Specify if
|
|
2130
|
+
"description": "Specify if NativeSelect displays in a read-only state",
|
|
2193
2131
|
"values": []
|
|
2194
2132
|
},
|
|
2195
2133
|
{
|
|
2196
2134
|
"name": "disabled",
|
|
2197
|
-
"description": "Specify if
|
|
2135
|
+
"description": "Specify if NativeSelect displays in a disabled state",
|
|
2198
2136
|
"values": []
|
|
2199
2137
|
},
|
|
2138
|
+
{
|
|
2139
|
+
"name": "error",
|
|
2140
|
+
"description": "Specify error text and display error state of a NativeSelect",
|
|
2141
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2142
|
+
},
|
|
2200
2143
|
{
|
|
2201
2144
|
"name": "fluid",
|
|
2202
|
-
"description": "Specify if
|
|
2145
|
+
"description": "Specify if NativeSelect is fluid",
|
|
2203
2146
|
"values": []
|
|
2204
2147
|
},
|
|
2205
2148
|
{
|
|
2206
2149
|
"name": "width",
|
|
2207
|
-
"description": "Specify the width of
|
|
2150
|
+
"description": "Specify the width of NativeSelect",
|
|
2208
2151
|
"values": [{ "name": "Optional<string>" }]
|
|
2209
2152
|
},
|
|
2210
2153
|
{
|
|
2211
|
-
"name": "
|
|
2212
|
-
"description": "Specify if
|
|
2154
|
+
"name": "ellipse",
|
|
2155
|
+
"description": "Specify if overflow displays ellipsis",
|
|
2213
2156
|
"values": []
|
|
2214
2157
|
},
|
|
2215
2158
|
{
|
|
2216
|
-
"name": "
|
|
2217
|
-
"description": "Specify the
|
|
2218
|
-
"values": [{ "name": "Optional<number>" }]
|
|
2219
|
-
},
|
|
2220
|
-
{
|
|
2221
|
-
"name": "autoResize",
|
|
2222
|
-
"description": "Specify if the TextArea automatically resizes to fit the text",
|
|
2159
|
+
"name": "hideRequiredMarker",
|
|
2160
|
+
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
2223
2161
|
"values": []
|
|
2224
2162
|
},
|
|
2225
2163
|
{
|
|
2226
2164
|
"name": "theme",
|
|
2227
|
-
"description": "Specify the theme of the
|
|
2165
|
+
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
2228
2166
|
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2229
2167
|
},
|
|
2230
2168
|
{ "name": "id", "values": [] },
|
|
@@ -2242,7 +2180,7 @@
|
|
|
2242
2180
|
"references": [
|
|
2243
2181
|
{
|
|
2244
2182
|
"name": "Storybook",
|
|
2245
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2183
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
2246
2184
|
}
|
|
2247
2185
|
]
|
|
2248
2186
|
},
|
|
@@ -2342,61 +2280,116 @@
|
|
|
2342
2280
|
]
|
|
2343
2281
|
},
|
|
2344
2282
|
{
|
|
2345
|
-
"name": "bm-
|
|
2346
|
-
"description": "`bm-
|
|
2283
|
+
"name": "bm-label",
|
|
2284
|
+
"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",
|
|
2285
|
+
"attributes": [
|
|
2286
|
+
{
|
|
2287
|
+
"name": "disabled",
|
|
2288
|
+
"description": "Specify if the Label displays disabled",
|
|
2289
|
+
"values": []
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"name": "required",
|
|
2293
|
+
"description": "Specify if the Label displays as required",
|
|
2294
|
+
"values": []
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"name": "text",
|
|
2298
|
+
"description": "Specify the text for Label",
|
|
2299
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "optional",
|
|
2303
|
+
"description": "Specify the text for Label",
|
|
2304
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"name": "theme",
|
|
2308
|
+
"description": "Specify the theme of the Label. By default it inherits the theme from the parent",
|
|
2309
|
+
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2310
|
+
}
|
|
2311
|
+
],
|
|
2312
|
+
"references": [
|
|
2313
|
+
{
|
|
2314
|
+
"name": "Storybook",
|
|
2315
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-label"
|
|
2316
|
+
}
|
|
2317
|
+
]
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"name": "bm-text-area",
|
|
2321
|
+
"description": "`bm-text-area`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextArea\n- **helper-text** - Specify the helper text for TextArea",
|
|
2347
2322
|
"attributes": [
|
|
2323
|
+
{
|
|
2324
|
+
"name": "rows",
|
|
2325
|
+
"description": "Specify the height of TextArea",
|
|
2326
|
+
"values": [{ "name": "Optional<number>" }]
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"name": "cols",
|
|
2330
|
+
"description": "Specify the width of TextArea",
|
|
2331
|
+
"values": [{ "name": "Optional<number>" }]
|
|
2332
|
+
},
|
|
2348
2333
|
{
|
|
2349
2334
|
"name": "placeholder",
|
|
2350
|
-
"description": "Specify placeholder text for
|
|
2335
|
+
"description": "Specify placeholder text for TextArea",
|
|
2351
2336
|
"values": [{ "name": "Optional<string>" }]
|
|
2352
2337
|
},
|
|
2353
2338
|
{
|
|
2354
2339
|
"name": "required",
|
|
2355
|
-
"description": "Specify if
|
|
2340
|
+
"description": "Specify if TextArea is a required input",
|
|
2356
2341
|
"values": []
|
|
2357
2342
|
},
|
|
2358
2343
|
{
|
|
2359
2344
|
"name": "hideRequiredMarker",
|
|
2360
|
-
"description": "Specify if the
|
|
2345
|
+
"description": "Specify if the TextArea displays with an asterisk",
|
|
2361
2346
|
"values": []
|
|
2362
2347
|
},
|
|
2363
2348
|
{
|
|
2364
2349
|
"name": "error",
|
|
2365
|
-
"description": "Specify error text and display error state of a
|
|
2350
|
+
"description": "Specify error text and display error state of a TextArea",
|
|
2366
2351
|
"values": [{ "name": "Optional<string>" }]
|
|
2367
2352
|
},
|
|
2368
2353
|
{
|
|
2369
2354
|
"name": "readOnly",
|
|
2370
|
-
"description": "Specify if
|
|
2355
|
+
"description": "Specify if TextArea displays in a read-only state",
|
|
2371
2356
|
"values": []
|
|
2372
2357
|
},
|
|
2373
2358
|
{
|
|
2374
2359
|
"name": "disabled",
|
|
2375
|
-
"description": "Specify if
|
|
2360
|
+
"description": "Specify if TextArea displays in a disabled state",
|
|
2376
2361
|
"values": []
|
|
2377
2362
|
},
|
|
2378
2363
|
{
|
|
2379
2364
|
"name": "fluid",
|
|
2380
|
-
"description": "Specify if
|
|
2365
|
+
"description": "Specify if TextArea is fluid",
|
|
2381
2366
|
"values": []
|
|
2382
2367
|
},
|
|
2383
2368
|
{
|
|
2384
2369
|
"name": "width",
|
|
2385
|
-
"description": "Specify the width of
|
|
2370
|
+
"description": "Specify the width of TextArea",
|
|
2386
2371
|
"values": [{ "name": "Optional<string>" }]
|
|
2387
2372
|
},
|
|
2388
2373
|
{
|
|
2389
|
-
"name": "
|
|
2390
|
-
"description": "Specify if
|
|
2374
|
+
"name": "hideResize",
|
|
2375
|
+
"description": "Specify if TextArea can be manually resized",
|
|
2376
|
+
"values": []
|
|
2377
|
+
},
|
|
2378
|
+
{
|
|
2379
|
+
"name": "maxCount",
|
|
2380
|
+
"description": "Specify the maximum character count for the TextArea",
|
|
2381
|
+
"values": [{ "name": "Optional<number>" }]
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"name": "autoResize",
|
|
2385
|
+
"description": "Specify if the TextArea automatically resizes to fit the text",
|
|
2391
2386
|
"values": []
|
|
2392
2387
|
},
|
|
2393
2388
|
{
|
|
2394
2389
|
"name": "theme",
|
|
2395
|
-
"description": "Specify the theme of the
|
|
2390
|
+
"description": "Specify the theme of the TextArea. By default it inherits the theme from the parent",
|
|
2396
2391
|
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2397
2392
|
},
|
|
2398
|
-
{ "name": "type", "values": [] },
|
|
2399
|
-
{ "name": "inputMode", "values": [] },
|
|
2400
2393
|
{ "name": "id", "values": [] },
|
|
2401
2394
|
{ "name": "name", "values": [] },
|
|
2402
2395
|
{ "name": "value", "values": [] },
|
|
@@ -2412,42 +2405,52 @@
|
|
|
2412
2405
|
"references": [
|
|
2413
2406
|
{
|
|
2414
2407
|
"name": "Storybook",
|
|
2415
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2408
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-textarea"
|
|
2416
2409
|
}
|
|
2417
2410
|
]
|
|
2418
2411
|
},
|
|
2419
2412
|
{
|
|
2420
|
-
"name": "bm-
|
|
2421
|
-
"description": "`bm-
|
|
2413
|
+
"name": "bm-text-field",
|
|
2414
|
+
"description": "`bm-text-field`\n---\n\n\n### **Slots:**\n - **label** - Specify the label for TextField\n- **helper-text** - Specify the helper text for TextField\n- **content-after** - Specify content to display after input\n- **content-before** - Specify content to display before input",
|
|
2422
2415
|
"attributes": [
|
|
2423
2416
|
{
|
|
2424
|
-
"name": "
|
|
2425
|
-
"description": "Specify
|
|
2426
|
-
"values": []
|
|
2417
|
+
"name": "placeholder",
|
|
2418
|
+
"description": "Specify placeholder text for TextField",
|
|
2419
|
+
"values": [{ "name": "Optional<string>" }]
|
|
2427
2420
|
},
|
|
2428
2421
|
{
|
|
2429
|
-
"name": "
|
|
2430
|
-
"description": "Specify if
|
|
2422
|
+
"name": "required",
|
|
2423
|
+
"description": "Specify if TextField is a required input",
|
|
2431
2424
|
"values": []
|
|
2432
2425
|
},
|
|
2433
2426
|
{
|
|
2434
|
-
"name": "
|
|
2435
|
-
"description": "Specify if
|
|
2427
|
+
"name": "hideRequiredMarker",
|
|
2428
|
+
"description": "Specify if the TextField displays with an asterisk",
|
|
2436
2429
|
"values": []
|
|
2437
2430
|
},
|
|
2438
2431
|
{
|
|
2439
2432
|
"name": "error",
|
|
2440
|
-
"description": "Specify error text and display error state of a
|
|
2433
|
+
"description": "Specify error text and display error state of a TextField",
|
|
2441
2434
|
"values": [{ "name": "Optional<string>" }]
|
|
2442
2435
|
},
|
|
2436
|
+
{
|
|
2437
|
+
"name": "readOnly",
|
|
2438
|
+
"description": "Specify if TextField displays in a read-only state",
|
|
2439
|
+
"values": []
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "disabled",
|
|
2443
|
+
"description": "Specify if TextField displays in a disabled state",
|
|
2444
|
+
"values": []
|
|
2445
|
+
},
|
|
2443
2446
|
{
|
|
2444
2447
|
"name": "fluid",
|
|
2445
|
-
"description": "Specify if
|
|
2448
|
+
"description": "Specify if TextField is fluid",
|
|
2446
2449
|
"values": []
|
|
2447
2450
|
},
|
|
2448
2451
|
{
|
|
2449
2452
|
"name": "width",
|
|
2450
|
-
"description": "Specify the width of
|
|
2453
|
+
"description": "Specify the width of TextField",
|
|
2451
2454
|
"values": [{ "name": "Optional<string>" }]
|
|
2452
2455
|
},
|
|
2453
2456
|
{
|
|
@@ -2455,16 +2458,13 @@
|
|
|
2455
2458
|
"description": "Specify if overflow displays ellipsis",
|
|
2456
2459
|
"values": []
|
|
2457
2460
|
},
|
|
2458
|
-
{
|
|
2459
|
-
"name": "hideRequiredMarker",
|
|
2460
|
-
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
2461
|
-
"values": []
|
|
2462
|
-
},
|
|
2463
2461
|
{
|
|
2464
2462
|
"name": "theme",
|
|
2465
|
-
"description": "Specify the theme of the
|
|
2463
|
+
"description": "Specify the theme of the TextField. By default it inherits the theme from the parent",
|
|
2466
2464
|
"values": [{ "name": "Optional<ThemeTypes>" }]
|
|
2467
2465
|
},
|
|
2466
|
+
{ "name": "type", "values": [] },
|
|
2467
|
+
{ "name": "inputMode", "values": [] },
|
|
2468
2468
|
{ "name": "id", "values": [] },
|
|
2469
2469
|
{ "name": "name", "values": [] },
|
|
2470
2470
|
{ "name": "value", "values": [] },
|
|
@@ -2480,7 +2480,7 @@
|
|
|
2480
2480
|
"references": [
|
|
2481
2481
|
{
|
|
2482
2482
|
"name": "Storybook",
|
|
2483
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-
|
|
2483
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-textfield"
|
|
2484
2484
|
}
|
|
2485
2485
|
]
|
|
2486
2486
|
},
|
package/wip/Checkbox/Checkbox.js
CHANGED
|
@@ -7,7 +7,7 @@ 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,[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,[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);width:var(--bm-comp-input-size-choice-checkbox);height:var(--bm-comp-input-size-choice-checkbox);background-color:var(--bm-comp-input-color-bg);cursor:var(--bm-input-choice-cursor, pointer);box-sizing:border-box;border-style:solid;border-color:var(--bm-comp-input-color-border);border-radius:var(--bm-comp-input-radius-choice-checkbox);border-width:var(--bm-comp-input-border-width-field-default)}.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{background-color:var(--bm-comp-input-color-choice-checkbox-selected-bg);border-color:var(--bm-comp-input-color-choice-checkbox-selected-border)}.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:"";background-color:var(--bm-comp-input-color-choice-checkbox-selected-icon);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)}.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,[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,[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}`;
|
|
11
11
|
var E = Object.defineProperty, B = Object.getOwnPropertyDescriptor, f = (e) => {
|
|
12
12
|
throw TypeError(e);
|
|
13
13
|
}, i = (e, o, r, b) => {
|