@viasat/beam-web-components 2.72.1 → 2.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.js +3 -3
- package/Accordion/AccordionGroup.js +3 -3
- package/Accordion/index.js +1 -1
- package/Alert/Alert.js +5 -5
- package/Avatar/Avatar.js +2 -2
- package/Avatar/AvatarGroup.js +2 -2
- package/Avatar/index.js +1 -1
- package/Badge/Badge.js +2 -2
- package/BadgeDot/BadgeDot.js +2 -2
- package/Box/Box.js +2 -2
- package/Breadcrumbs/Breadcrumbs.js +3 -3
- package/Breadcrumbs/BreadcrumbsItem.js +3 -3
- package/Breadcrumbs/index.js +1 -1
- package/Button/Button.js +2 -2
- package/CloseButton/CloseButton.js +2 -2
- package/Divider/Divider.js +2 -2
- package/EmptyState/EmptyState.js +2 -2
- package/HelperText/HelperText.js +3 -3
- package/HelperText/index.js +1 -1
- package/Icon/Icon.js +2 -2
- package/InputChoiceGroup/InputChoiceGroup.js +2 -2
- package/Label/Label.js +2 -2
- package/Link/Link.js +2 -2
- package/List/List.js +2 -2
- package/List/ListItem.js +2 -2
- package/ProgressBar/ProgressBar.js +2 -2
- package/SegmentedControl/SegmentedControl.js +2 -2
- package/SegmentedControl/SegmentedControlItem.js +10 -10
- package/SegmentedControl/SegmentedControlList.js +2 -2
- package/SegmentedControl/SegmentedControlPanel.js +2 -2
- package/Spinner/Spinner.js +2 -2
- package/Text/Text.js +2 -2
- package/TextArea/TextArea.js +5 -5
- package/TextField/TextField.js +6 -6
- package/Tooltip/Tooltip.js +9 -9
- package/chunks/{Accordion.fbo-T2zU.js → Accordion.BF2pHMSP.js} +4 -4
- package/chunks/{Avatar.DkegKDfD.js → Avatar.kVWwOxWe.js} +2 -2
- package/chunks/{BreadcrumbsItem.kovG2GHz.js → BreadcrumbsItem.BmqxxC44.js} +2 -2
- package/chunks/{HelperText.Cc_6DlKP.js → HelperText.3YJvB8x0.js} +5 -5
- package/chunks/{register-custom-element.D_kw6JXe.js → classNames.BQclmCHG.js} +29 -34
- package/chunks/register-custom-element.DHGKOhmA.js +17 -0
- package/custom-elements.json +2906 -2906
- package/local/Accordion/Accordion.js +4 -4
- package/local/Accordion/AccordionGroup.js +4 -4
- package/local/Accordion/index.js +1 -1
- package/local/Alert/Alert.js +11 -11
- package/local/Avatar/Avatar.js +3 -3
- package/local/Avatar/AvatarGroup.js +3 -3
- package/local/Avatar/index.js +1 -1
- package/local/Badge/Badge.js +2 -2
- package/local/BadgeDot/BadgeDot.js +2 -2
- package/local/Box/Box.js +2 -2
- package/local/Breadcrumbs/Breadcrumbs.js +3 -3
- package/local/Breadcrumbs/BreadcrumbsItem.js +3 -3
- package/local/Breadcrumbs/index.js +1 -1
- package/local/Button/Button.js +3 -3
- package/local/CloseButton/CloseButton.js +2 -2
- package/local/Divider/Divider.js +7 -7
- package/local/EmptyState/EmptyState.js +2 -2
- package/local/HelperText/HelperText.js +3 -3
- package/local/HelperText/index.js +1 -1
- package/local/Icon/Icon.js +2 -2
- package/local/InputChoiceGroup/InputChoiceGroup.js +3 -3
- package/local/Label/Label.js +2 -2
- package/local/Link/Link.js +2 -2
- package/local/List/List.js +3 -3
- package/local/List/ListItem.js +3 -3
- package/local/ProgressBar/ProgressBar.js +2 -2
- package/local/SegmentedControl/SegmentedControl.js +3 -3
- package/local/SegmentedControl/SegmentedControlItem.js +7 -7
- package/local/SegmentedControl/SegmentedControlList.js +2 -2
- package/local/SegmentedControl/SegmentedControlPanel.js +2 -2
- package/local/Spinner/Spinner.js +2 -2
- package/local/Text/Text.js +2 -2
- package/local/TextArea/TextArea.js +9 -9
- package/local/TextField/TextField.js +7 -7
- package/local/Tooltip/Tooltip.js +8 -8
- package/local/chunks/{Accordion.QupR4x7N.js → Accordion.DM6Nkgnh.js} +9 -9
- package/local/chunks/{Avatar.D0_A6fGG.js → Avatar.BT61pkbV.js} +2 -2
- package/local/chunks/{BreadcrumbsItem.Ds7TtgQn.js → BreadcrumbsItem.CsPbcOZ5.js} +2 -2
- package/local/chunks/classNames.CARKFDmR.js +106 -0
- package/local/chunks/{index.BoeGm2HZ.js → index.CUGawMXL.js} +8 -8
- package/local/chunks/register-custom-element.vod7zfGv.js +51 -0
- package/local/chunks/{state.Dr3yBpId.js → state.CqiuSzAl.js} +1 -1
- package/local/wip/Checkbox/Checkbox.js +2 -2
- package/local/wip/Checkbox/CheckboxGroup/CheckboxGroup.js +1 -1
- package/local/wip/FileUpload/FileUpload.Button.js +2 -2
- package/local/wip/FileUpload/FileUpload.Dropzone.js +3 -3
- package/local/wip/FileUpload/FileUpload.List.Item.js +3 -3
- package/local/wip/FileUpload/FileUpload.List.js +2 -2
- package/local/wip/FileUpload/FileUpload.js +8 -8
- package/local/wip/Form/Form.decorator.js +3 -3
- package/local/wip/Form/Form.js +183 -161
- package/local/wip/NativeSelect/NativeSelect.js +10 -10
- package/local/wip/RadioButton/RadioButton.js +2 -2
- package/local/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/local/wip/Switch/Switch.js +2 -2
- package/local/wip/Switch/SwitchGroup/SwitchGroup.js +1 -1
- package/package.json +6 -6
- package/vscode.html-custom-data.json +262 -262
- package/wip/Checkbox/Checkbox.js +2 -2
- package/wip/Checkbox/CheckboxGroup/CheckboxGroup.js +1 -1
- package/wip/FileUpload/FileUpload.Button.js +2 -2
- package/wip/FileUpload/FileUpload.Dropzone.js +2 -2
- package/wip/FileUpload/FileUpload.List.Item.js +3 -3
- package/wip/FileUpload/FileUpload.List.js +2 -2
- package/wip/FileUpload/FileUpload.js +12 -12
- package/wip/Form/Form.decorator.js +1 -1
- package/wip/Form/Form.js +184 -162
- package/wip/NativeSelect/NativeSelect.js +9 -9
- package/wip/RadioButton/RadioButton.js +2 -2
- package/wip/RadioButton/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/wip/Switch/Switch.js +5 -5
- package/wip/Switch/SwitchGroup/SwitchGroup.js +1 -1
- package/chunks/classNames.m6VYRyOu.js +0 -18
- package/local/chunks/classNames.Ciobzb4w.js +0 -30
- package/local/chunks/register-custom-element.AOEv8hcs.js +0 -133
|
@@ -62,100 +62,45 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
"name": "bm-
|
|
66
|
-
"description": "`bm-
|
|
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
67
|
"attributes": [
|
|
68
68
|
{
|
|
69
69
|
"name": "appearance",
|
|
70
|
-
"description": "Specify the appearance of the
|
|
71
|
-
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "name",
|
|
75
|
-
"description": "Specify a name to display initials in the Avatar",
|
|
76
|
-
"values": []
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "src",
|
|
80
|
-
"description": "Pass an image to the Avatar",
|
|
81
|
-
"values": []
|
|
82
|
-
},
|
|
83
|
-
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
84
|
-
{
|
|
85
|
-
"name": "size",
|
|
86
|
-
"description": "Specify the size of the Avatar",
|
|
70
|
+
"description": "Specify the appearance of the Badge",
|
|
87
71
|
"values": [
|
|
88
|
-
{ "name": "
|
|
89
|
-
{ "name": "
|
|
90
|
-
{ "name": "
|
|
91
|
-
{ "name": "
|
|
92
|
-
{ "name": "
|
|
72
|
+
{ "name": "infoPrimary" },
|
|
73
|
+
{ "name": "infoSecondary" },
|
|
74
|
+
{ "name": "positive" },
|
|
75
|
+
{ "name": "warning" },
|
|
76
|
+
{ "name": "negative" }
|
|
93
77
|
]
|
|
94
78
|
},
|
|
95
79
|
{
|
|
96
|
-
"name": "
|
|
97
|
-
"description": "
|
|
98
|
-
"values": []
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "shape",
|
|
102
|
-
"description": "Specify the shape of the Avatar",
|
|
103
|
-
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"name": "isInteractive",
|
|
107
|
-
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
108
|
-
"values": []
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"name": "isFocusable",
|
|
112
|
-
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
113
|
-
"values": []
|
|
114
|
-
},
|
|
115
|
-
{ "name": "withBorder", "values": [] }
|
|
116
|
-
],
|
|
117
|
-
"references": [
|
|
118
|
-
{
|
|
119
|
-
"name": "Storybook",
|
|
120
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"name": "bm-avatar-group",
|
|
126
|
-
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.\n---\n\n\n### **Slots:**\n - **default** - Add Avatars to create a group",
|
|
127
|
-
"attributes": [
|
|
128
|
-
{
|
|
129
|
-
"name": "wrapping",
|
|
130
|
-
"description": "Specify if the AvatarGroup wraps",
|
|
131
|
-
"values": []
|
|
80
|
+
"name": "theme",
|
|
81
|
+
"description": "Theme of the Badge",
|
|
82
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
132
83
|
},
|
|
133
84
|
{
|
|
134
|
-
"name": "
|
|
135
|
-
"description": "Specify the
|
|
136
|
-
"values": []
|
|
85
|
+
"name": "size",
|
|
86
|
+
"description": "Specify the size of the Badge",
|
|
87
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
137
88
|
},
|
|
138
89
|
{
|
|
139
|
-
"name": "
|
|
140
|
-
"description": "Specify the
|
|
90
|
+
"name": "emphasis",
|
|
91
|
+
"description": "Specify the emphasis of the Badge",
|
|
141
92
|
"values": [
|
|
142
|
-
{ "name": "
|
|
143
|
-
{ "name": "
|
|
144
|
-
{ "name": "
|
|
145
|
-
{ "name": "lg" },
|
|
146
|
-
{ "name": "xl" }
|
|
93
|
+
{ "name": "strong" },
|
|
94
|
+
{ "name": "medium" },
|
|
95
|
+
{ "name": "subtle" }
|
|
147
96
|
]
|
|
148
97
|
},
|
|
149
|
-
{
|
|
150
|
-
"name": "layout",
|
|
151
|
-
"description": "Specify the kind of the group.",
|
|
152
|
-
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
153
|
-
}
|
|
98
|
+
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
154
99
|
],
|
|
155
100
|
"references": [
|
|
156
101
|
{
|
|
157
102
|
"name": "Storybook",
|
|
158
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-
|
|
103
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
159
104
|
}
|
|
160
105
|
]
|
|
161
106
|
},
|
|
@@ -600,6 +545,177 @@
|
|
|
600
545
|
}
|
|
601
546
|
]
|
|
602
547
|
},
|
|
548
|
+
{
|
|
549
|
+
"name": "bm-alert",
|
|
550
|
+
"description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing\n---\n\n\n### **Events:**\n - **bm-dismiss** - Dispatched when the Alert has been dismissed\n\n### **Slots:**\n - **icon** - Specify a different icon for the Alert\n- **heading** - Specify the heading text for Alert or pass the `heading` attribute to set the heading\n- **body** - Specify the body text for Alert or pass the `body` attribute to set the body\n- **actions** - Specify if actions display on the Alert",
|
|
551
|
+
"attributes": [
|
|
552
|
+
{
|
|
553
|
+
"name": "heading",
|
|
554
|
+
"description": "Specify the heading text for Alert",
|
|
555
|
+
"values": []
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "body",
|
|
559
|
+
"description": "Specify the body text for Alert",
|
|
560
|
+
"values": []
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "size",
|
|
564
|
+
"description": "Specify the size of the Alert",
|
|
565
|
+
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "fullWidth",
|
|
569
|
+
"description": "Specify if the Alert has no border radius",
|
|
570
|
+
"values": []
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "theme",
|
|
574
|
+
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
575
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "appearance",
|
|
579
|
+
"description": "Specify the appearance of the Alert",
|
|
580
|
+
"values": [
|
|
581
|
+
{ "name": "infoPrimary" },
|
|
582
|
+
{ "name": "infoSecondary" },
|
|
583
|
+
{ "name": "positive" },
|
|
584
|
+
{ "name": "warning" },
|
|
585
|
+
{ "name": "negative" }
|
|
586
|
+
]
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "hidden",
|
|
590
|
+
"description": "Specify if the Alert is hidden",
|
|
591
|
+
"values": []
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "hideIcon",
|
|
595
|
+
"description": "Specify if the icon displays on the Alert",
|
|
596
|
+
"values": []
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "dismissible",
|
|
600
|
+
"description": "Specify if the Alert can be dismissed",
|
|
601
|
+
"values": []
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "disableAutoFocus",
|
|
605
|
+
"description": "Prevent autofocus on show",
|
|
606
|
+
"values": []
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "disableCloseOnEscape",
|
|
610
|
+
"description": "Prevent Escape from closing",
|
|
611
|
+
"values": []
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"references": [
|
|
615
|
+
{
|
|
616
|
+
"name": "Storybook",
|
|
617
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
618
|
+
}
|
|
619
|
+
]
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "bm-avatar",
|
|
623
|
+
"description": "`bm-avatar`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Avatar\n- **name** - Specify a name to display initials in the Avatar\n- **src** - Pass an image to the Avatar\n- **alt** - Specify alt for image\n- **size** - Specify the size of the Avatar\n- **disabled** - Specify if the Avatar is disabled\n- **shape** - Specify the shape of the Avatar\n- **isInteractive** - If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n- **isFocusable** - If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n- **withBorder** \n---\n\n\n### **Slots:**\n - **icon** - Customize the default icon",
|
|
624
|
+
"attributes": [
|
|
625
|
+
{
|
|
626
|
+
"name": "appearance",
|
|
627
|
+
"description": "Specify the appearance of the Avatar",
|
|
628
|
+
"values": [{ "name": "accent" }, { "name": "neutral" }]
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "name",
|
|
632
|
+
"description": "Specify a name to display initials in the Avatar",
|
|
633
|
+
"values": []
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "src",
|
|
637
|
+
"description": "Pass an image to the Avatar",
|
|
638
|
+
"values": []
|
|
639
|
+
},
|
|
640
|
+
{ "name": "alt", "description": "Specify alt for image", "values": [] },
|
|
641
|
+
{
|
|
642
|
+
"name": "size",
|
|
643
|
+
"description": "Specify the size of the Avatar",
|
|
644
|
+
"values": [
|
|
645
|
+
{ "name": "xs" },
|
|
646
|
+
{ "name": "sm" },
|
|
647
|
+
{ "name": "md" },
|
|
648
|
+
{ "name": "lg" },
|
|
649
|
+
{ "name": "xl" }
|
|
650
|
+
]
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "disabled",
|
|
654
|
+
"description": "Specify if the Avatar is disabled",
|
|
655
|
+
"values": []
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"name": "shape",
|
|
659
|
+
"description": "Specify the shape of the Avatar",
|
|
660
|
+
"values": [{ "name": "circle" }, { "name": "square" }]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "isInteractive",
|
|
664
|
+
"description": "If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer",
|
|
665
|
+
"values": []
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "isFocusable",
|
|
669
|
+
"description": "If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable",
|
|
670
|
+
"values": []
|
|
671
|
+
},
|
|
672
|
+
{ "name": "withBorder", "values": [] }
|
|
673
|
+
],
|
|
674
|
+
"references": [
|
|
675
|
+
{
|
|
676
|
+
"name": "Storybook",
|
|
677
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
678
|
+
}
|
|
679
|
+
]
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "bm-avatar-group",
|
|
683
|
+
"description": "`bm-avatar-group`\n\n### Attributes:\n- **wrapping** - Specify if the AvatarGroup wraps\n- **maxCount** - Specify the max number of avatars displayed in the group.\n- **size** - Specify the size of all Avatars\n- **layout** - Specify the kind of the group.\n---\n\n\n### **Slots:**\n - **default** - Add Avatars to create a group",
|
|
684
|
+
"attributes": [
|
|
685
|
+
{
|
|
686
|
+
"name": "wrapping",
|
|
687
|
+
"description": "Specify if the AvatarGroup wraps",
|
|
688
|
+
"values": []
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "maxCount",
|
|
692
|
+
"description": "Specify the max number of avatars displayed in the group.",
|
|
693
|
+
"values": []
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "size",
|
|
697
|
+
"description": "Specify the size of all Avatars",
|
|
698
|
+
"values": [
|
|
699
|
+
{ "name": "xs" },
|
|
700
|
+
{ "name": "sm" },
|
|
701
|
+
{ "name": "md" },
|
|
702
|
+
{ "name": "lg" },
|
|
703
|
+
{ "name": "xl" }
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "layout",
|
|
708
|
+
"description": "Specify the kind of the group.",
|
|
709
|
+
"values": [{ "name": "stacked" }, { "name": "spaced" }]
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
"references": [
|
|
713
|
+
{
|
|
714
|
+
"name": "Storybook",
|
|
715
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/components-avatar"
|
|
716
|
+
}
|
|
717
|
+
]
|
|
718
|
+
},
|
|
603
719
|
{
|
|
604
720
|
"name": "bm-breadcrumb",
|
|
605
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",
|
|
@@ -729,122 +845,6 @@
|
|
|
729
845
|
}
|
|
730
846
|
]
|
|
731
847
|
},
|
|
732
|
-
{
|
|
733
|
-
"name": "bm-alert",
|
|
734
|
-
"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",
|
|
735
|
-
"attributes": [
|
|
736
|
-
{
|
|
737
|
-
"name": "heading",
|
|
738
|
-
"description": "Specify the heading text for Alert",
|
|
739
|
-
"values": []
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"name": "body",
|
|
743
|
-
"description": "Specify the body text for Alert",
|
|
744
|
-
"values": []
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"name": "size",
|
|
748
|
-
"description": "Specify the size of the Alert",
|
|
749
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
"name": "fullWidth",
|
|
753
|
-
"description": "Specify if the Alert has no border radius",
|
|
754
|
-
"values": []
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"name": "theme",
|
|
758
|
-
"description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
|
|
759
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
"name": "appearance",
|
|
763
|
-
"description": "Specify the appearance of the Alert",
|
|
764
|
-
"values": [
|
|
765
|
-
{ "name": "infoPrimary" },
|
|
766
|
-
{ "name": "infoSecondary" },
|
|
767
|
-
{ "name": "positive" },
|
|
768
|
-
{ "name": "warning" },
|
|
769
|
-
{ "name": "negative" }
|
|
770
|
-
]
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"name": "hidden",
|
|
774
|
-
"description": "Specify if the Alert is hidden",
|
|
775
|
-
"values": []
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
"name": "hideIcon",
|
|
779
|
-
"description": "Specify if the icon displays on the Alert",
|
|
780
|
-
"values": []
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"name": "dismissible",
|
|
784
|
-
"description": "Specify if the Alert can be dismissed",
|
|
785
|
-
"values": []
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
"name": "disableAutoFocus",
|
|
789
|
-
"description": "Prevent autofocus on show",
|
|
790
|
-
"values": []
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"name": "disableCloseOnEscape",
|
|
794
|
-
"description": "Prevent Escape from closing",
|
|
795
|
-
"values": []
|
|
796
|
-
}
|
|
797
|
-
],
|
|
798
|
-
"references": [
|
|
799
|
-
{
|
|
800
|
-
"name": "Storybook",
|
|
801
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
|
|
802
|
-
}
|
|
803
|
-
]
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
"name": "bm-badge",
|
|
807
|
-
"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",
|
|
808
|
-
"attributes": [
|
|
809
|
-
{
|
|
810
|
-
"name": "appearance",
|
|
811
|
-
"description": "Specify the appearance of the Badge",
|
|
812
|
-
"values": [
|
|
813
|
-
{ "name": "infoPrimary" },
|
|
814
|
-
{ "name": "infoSecondary" },
|
|
815
|
-
{ "name": "positive" },
|
|
816
|
-
{ "name": "warning" },
|
|
817
|
-
{ "name": "negative" }
|
|
818
|
-
]
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"name": "theme",
|
|
822
|
-
"description": "Theme of the Badge",
|
|
823
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"name": "size",
|
|
827
|
-
"description": "Specify the size of the Badge",
|
|
828
|
-
"values": [{ "name": "sm" }, { "name": "md" }]
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
"name": "emphasis",
|
|
832
|
-
"description": "Specify the emphasis of the Badge",
|
|
833
|
-
"values": [
|
|
834
|
-
{ "name": "strong" },
|
|
835
|
-
{ "name": "medium" },
|
|
836
|
-
{ "name": "subtle" }
|
|
837
|
-
]
|
|
838
|
-
},
|
|
839
|
-
{ "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
|
|
840
|
-
],
|
|
841
|
-
"references": [
|
|
842
|
-
{
|
|
843
|
-
"name": "Storybook",
|
|
844
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
|
|
845
|
-
}
|
|
846
|
-
]
|
|
847
|
-
},
|
|
848
848
|
{
|
|
849
849
|
"name": "bm-close-button",
|
|
850
850
|
"description": "`bm-close-button`\n\n### Attributes:\n- **size** - Specify the size of the CloseButton\n- **disabled** - Specify if the CloseButton is disabled\n---\n",
|
|
@@ -2044,76 +2044,6 @@
|
|
|
2044
2044
|
}
|
|
2045
2045
|
]
|
|
2046
2046
|
},
|
|
2047
|
-
{
|
|
2048
|
-
"name": "bm-native-select",
|
|
2049
|
-
"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",
|
|
2050
|
-
"attributes": [
|
|
2051
|
-
{
|
|
2052
|
-
"name": "required",
|
|
2053
|
-
"description": "Specify if NativeSelect is a required input",
|
|
2054
|
-
"values": []
|
|
2055
|
-
},
|
|
2056
|
-
{
|
|
2057
|
-
"name": "readOnly",
|
|
2058
|
-
"description": "Specify if NativeSelect displays in a read-only state",
|
|
2059
|
-
"values": []
|
|
2060
|
-
},
|
|
2061
|
-
{
|
|
2062
|
-
"name": "disabled",
|
|
2063
|
-
"description": "Specify if NativeSelect displays in a disabled state",
|
|
2064
|
-
"values": []
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
"name": "fluid",
|
|
2068
|
-
"description": "Specify if NativeSelect is fluid",
|
|
2069
|
-
"values": []
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"name": "size",
|
|
2073
|
-
"description": "Specify the size of NativeSelect",
|
|
2074
|
-
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
2075
|
-
},
|
|
2076
|
-
{
|
|
2077
|
-
"name": "width",
|
|
2078
|
-
"description": "Specify the width of NativeSelect",
|
|
2079
|
-
"values": []
|
|
2080
|
-
},
|
|
2081
|
-
{
|
|
2082
|
-
"name": "ellipse",
|
|
2083
|
-
"description": "Specify if overflow displays ellipsis",
|
|
2084
|
-
"values": []
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"name": "hideRequiredMarker",
|
|
2088
|
-
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
2089
|
-
"values": []
|
|
2090
|
-
},
|
|
2091
|
-
{
|
|
2092
|
-
"name": "theme",
|
|
2093
|
-
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
2094
|
-
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2095
|
-
},
|
|
2096
|
-
{ "name": "id", "values": [] },
|
|
2097
|
-
{ "name": "name", "values": [] },
|
|
2098
|
-
{ "name": "value", "values": [] },
|
|
2099
|
-
{
|
|
2100
|
-
"name": "validationRules",
|
|
2101
|
-
"values": [{ "name": "Array<FormValidator>" }]
|
|
2102
|
-
},
|
|
2103
|
-
{ "name": "input-aria-label", "values": [] },
|
|
2104
|
-
{
|
|
2105
|
-
"name": "error",
|
|
2106
|
-
"description": "Specify error text and display error state.\nPass a string to show an error message, or `true` to show the error\nstate without a message.",
|
|
2107
|
-
"values": [{ "name": "Optional<boolean" }, { "name": "string>" }]
|
|
2108
|
-
}
|
|
2109
|
-
],
|
|
2110
|
-
"references": [
|
|
2111
|
-
{
|
|
2112
|
-
"name": "Storybook",
|
|
2113
|
-
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
2114
|
-
}
|
|
2115
|
-
]
|
|
2116
|
-
},
|
|
2117
2047
|
{
|
|
2118
2048
|
"name": "bm-form",
|
|
2119
2049
|
"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",
|
|
@@ -2518,6 +2448,76 @@
|
|
|
2518
2448
|
}
|
|
2519
2449
|
]
|
|
2520
2450
|
},
|
|
2451
|
+
{
|
|
2452
|
+
"name": "bm-native-select",
|
|
2453
|
+
"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",
|
|
2454
|
+
"attributes": [
|
|
2455
|
+
{
|
|
2456
|
+
"name": "required",
|
|
2457
|
+
"description": "Specify if NativeSelect is a required input",
|
|
2458
|
+
"values": []
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
"name": "readOnly",
|
|
2462
|
+
"description": "Specify if NativeSelect displays in a read-only state",
|
|
2463
|
+
"values": []
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"name": "disabled",
|
|
2467
|
+
"description": "Specify if NativeSelect displays in a disabled state",
|
|
2468
|
+
"values": []
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
"name": "fluid",
|
|
2472
|
+
"description": "Specify if NativeSelect is fluid",
|
|
2473
|
+
"values": []
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"name": "size",
|
|
2477
|
+
"description": "Specify the size of NativeSelect",
|
|
2478
|
+
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"name": "width",
|
|
2482
|
+
"description": "Specify the width of NativeSelect",
|
|
2483
|
+
"values": []
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
"name": "ellipse",
|
|
2487
|
+
"description": "Specify if overflow displays ellipsis",
|
|
2488
|
+
"values": []
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
"name": "hideRequiredMarker",
|
|
2492
|
+
"description": "Specify if the NativeSelect displays with an asterisk",
|
|
2493
|
+
"values": []
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"name": "theme",
|
|
2497
|
+
"description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
|
|
2498
|
+
"values": [{ "name": "light" }, { "name": "dark" }]
|
|
2499
|
+
},
|
|
2500
|
+
{ "name": "id", "values": [] },
|
|
2501
|
+
{ "name": "name", "values": [] },
|
|
2502
|
+
{ "name": "value", "values": [] },
|
|
2503
|
+
{
|
|
2504
|
+
"name": "validationRules",
|
|
2505
|
+
"values": [{ "name": "Array<FormValidator>" }]
|
|
2506
|
+
},
|
|
2507
|
+
{ "name": "input-aria-label", "values": [] },
|
|
2508
|
+
{
|
|
2509
|
+
"name": "error",
|
|
2510
|
+
"description": "Specify error text and display error state.\nPass a string to show an error message, or `true` to show the error\nstate without a message.",
|
|
2511
|
+
"values": [{ "name": "Optional<boolean" }, { "name": "string>" }]
|
|
2512
|
+
}
|
|
2513
|
+
],
|
|
2514
|
+
"references": [
|
|
2515
|
+
{
|
|
2516
|
+
"name": "Storybook",
|
|
2517
|
+
"url": "https://web-components.beam.viasat.com/?path=/docs/forms-nativeselect"
|
|
2518
|
+
}
|
|
2519
|
+
]
|
|
2520
|
+
},
|
|
2521
2521
|
{
|
|
2522
2522
|
"name": "bm-switch",
|
|
2523
2523
|
"description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element\n---\n\n\n### **Slots:**\n - **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",
|
package/wip/Checkbox/Checkbox.js
CHANGED
|
@@ -2,10 +2,10 @@ import { consume as k } from "@lit/context";
|
|
|
2
2
|
import { unsafeCSS as y, LitElement as _, nothing as u, html as h } from "lit";
|
|
3
3
|
import { property as i } from "lit/decorators.js";
|
|
4
4
|
import w from "clsx";
|
|
5
|
-
import { g as z } from "../../chunks/classNames.
|
|
5
|
+
import { g as z } from "../../chunks/classNames.BQclmCHG.js";
|
|
6
6
|
import { t as S } from "../../chunks/constants.ZIKMMCJH.js";
|
|
7
7
|
import { r as C } from "../../chunks/delegate.baxDQosr.js";
|
|
8
|
-
import { c as $ } from "../../chunks/register-custom-element.
|
|
8
|
+
import { c as $ } from "../../chunks/register-custom-element.DHGKOhmA.js";
|
|
9
9
|
import { inputChoiceGroupContext as P } from "../../InputChoiceGroup/InputChoiceGroup.context.js";
|
|
10
10
|
const O = `:root,:host,.bm-light,.bm-dark .bm-inverse,.bm-dark.bm-inverse,[data-bm-theme~=bm-dark] .bm-inverse,[data-bm-theme~=bm-dark].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-light]{--bm-comp-input-color-bg: var(--bm-sem-color-surface-01, #ffffff);--bm-comp-input-color-bg-disabled: var( --bm-sem-color-surface-highlight, rgba(159, 175, 188, .16) );--bm-comp-input-color-border: var(--bm-sem-color-border-strong, #8697a5);--bm-comp-input-color-border-error: var( --bm-sem-color-border-negative-strong, #cc2429 );--bm-comp-input-color-border-disabled: rgba(134, 151, 165, .4);--bm-comp-input-color-text: var(--bm-sem-color-text-primary, #141d24);--bm-comp-input-color-text-placeholder: var( --bm-sem-color-text-secondary, #576775 );--bm-comp-input-color-text-disabled: var( --bm-sem-color-text-disabled, rgba(87, 103, 117, .4) );--bm-comp-input-color-icon-disabled: var( --bm-sem-color-text-disabled, rgba(87, 103, 117, .4) );--bm-comp-input-color-icon: var(--bm-sem-color-icon-secondary, #576775);--bm-comp-input-color-icon-error: var( --bm-sem-color-icon-negative-strong, #cc2429 );--bm-comp-input-color-divider: var(--bm-sem-color-border-02, #d1dae0);--bm-comp-input-color-choice-checkbox-selected-bg: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-checkbox-selected-icon: var( --bm-sem-color-icon-primary-inverse, #ffffff );--bm-comp-input-color-choice-checkbox-selected-bg-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-color-choice-checkbox-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-switch-selected-bg: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-switch-selected-icon: var( --bm-sem-color-icon-primary-inverse, #ffffff );--bm-comp-input-color-choice-switch-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-radio-selected-bg: var( --bm-sem-color-surface-01, #ffffff );--bm-comp-input-color-choice-radio-selected-border: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-radio-selected-inner-circle: var( --bm-alias-color-brand-primary-default, #00768f );--bm-comp-input-color-choice-radio-selected-bg-error: var( --bm-sem-color-surface-01, #ffffff );--bm-comp-input-color-choice-radio-selected-border-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-color-choice-radio-selected-inner-circle-error: var( --bm-sem-color-surface-negative-strong, #cc2429 );--bm-comp-input-typo-sm: var( --bm-sem-typo-compact-body-sm, 400 .875rem/1rem "Source Sans Pro" );--bm-comp-input-typo-md: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-lg: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-character-count: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-label-choice: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" );--bm-comp-input-space-field-x-sm: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-x-md: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-x-lg: var(--bm-sem-space-125, 1.25rem);--bm-comp-input-space-field-y-sm: var(--bm-sem-space-25, .25rem);--bm-comp-input-space-field-y-md: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-field-y-lg: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-gap: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-inside: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-y: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-x: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-choice-nudge: var( --bm-primitive-dimension-12, .125rem );--bm-comp-input-size-field-height-sm: var(--bm-sem-size-height-sm, 2rem);--bm-comp-input-size-field-height-md: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-height-lg: var(--bm-sem-size-height-lg, 3rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon-sm: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-field-icon-md: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-icon-lg: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-text-area-height: var( --bm-primitive-dimension-475, 4.75rem );--bm-comp-input-size-choice-checkbox: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio-inside: var( --bm-primitive-dimension-50, .5rem );--bm-comp-input-size-choice-switch-height: var( --bm-sem-size-icon-md, 1.25rem );--bm-comp-input-size-choice-switch-width: var( --bm-primitive-dimension-250, 2.5rem );--bm-comp-input-size-choice-switch-knob: var( --bm-primitive-dimension-87, .875rem );--bm-comp-input-radius-field: var(--bm-sem-radius-input-md, .25rem);--bm-comp-input-radius-choice-checkbox: var( --bm-sem-radius-input-sm, .125rem );--bm-comp-input-radius-choice-radio: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-radius-choice-switch: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-border-width-field-default: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-border-width-field-error: var( --bm-sem-border-width-lg, .125rem );--bm-comp-input-border-width-choice: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-shadow-field: var( --bm-sem-shadow-none, 0 0 0 0 rgb(0, 0, 0, 0) )}:host,.bm-dark,.bm-light .bm-inverse,.bm-light.bm-inverse,[data-bm-theme~=bm-light] .bm-inverse,[data-bm-theme~=bm-light].bm-inverse,.bm-enterprise,.bm-consumer,[data-bm-theme~=bm-dark]{--bm-comp-input-color-bg: var(--bm-sem-color-surface-01, #202e39);--bm-comp-input-color-bg-disabled: var( --bm-sem-color-surface-highlight, rgba(134, 151, 165, .16) );--bm-comp-input-color-border: var(--bm-sem-color-border-strong, #9fafbc);--bm-comp-input-color-border-error: var( --bm-sem-color-border-negative-strong, #f67378 );--bm-comp-input-color-border-disabled: rgba(159, 175, 188, .4);--bm-comp-input-color-text: var(--bm-sem-color-text-primary, #ffffff);--bm-comp-input-color-text-placeholder: var( --bm-sem-color-text-secondary, #c3cdd5 );--bm-comp-input-color-text-disabled: var( --bm-sem-color-text-disabled, rgba(195, 205, 213, .4) );--bm-comp-input-color-icon-disabled: var( --bm-sem-color-text-disabled, rgba(195, 205, 213, .4) );--bm-comp-input-color-icon: var(--bm-sem-color-icon-secondary, #c3cdd5);--bm-comp-input-color-icon-error: var( --bm-sem-color-icon-negative-strong, #f67378 );--bm-comp-input-color-divider: var(--bm-sem-color-border-02, #465967);--bm-comp-input-color-choice-checkbox-selected-bg: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-checkbox-selected-icon: var( --bm-sem-color-icon-primary-inverse, #141d24 );--bm-comp-input-color-choice-checkbox-selected-bg-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-color-choice-checkbox-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-switch-selected-bg: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-switch-selected-icon: var( --bm-sem-color-icon-primary-inverse, #141d24 );--bm-comp-input-color-choice-switch-selected-border: var( --bm-sem-color-none, #ffffff00 );--bm-comp-input-color-choice-radio-selected-bg: var( --bm-sem-color-surface-01, #202e39 );--bm-comp-input-color-choice-radio-selected-border: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-radio-selected-inner-circle: var( --bm-alias-color-brand-primary-default, #43bfd6 );--bm-comp-input-color-choice-radio-selected-bg-error: var( --bm-sem-color-surface-01, #202e39 );--bm-comp-input-color-choice-radio-selected-border-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-color-choice-radio-selected-inner-circle-error: var( --bm-sem-color-surface-negative-strong, #f67378 );--bm-comp-input-typo-sm: var( --bm-sem-typo-compact-body-sm, 400 .875rem/1rem "Source Sans Pro" );--bm-comp-input-typo-md: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-lg: var( --bm-sem-typo-compact-body-md, 400 1rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-character-count: var( --bm-sem-typo-body-sm, 400 .875rem/1.25rem "Source Sans Pro" );--bm-comp-input-typo-label-choice: var( --bm-sem-typo-body-md, 400 1rem/1.5rem "Source Sans Pro" );--bm-comp-input-space-field-x-sm: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-x-md: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-field-x-lg: var(--bm-sem-space-125, 1.25rem);--bm-comp-input-space-field-y-sm: var(--bm-sem-space-25, .25rem);--bm-comp-input-space-field-y-md: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-field-y-lg: var(--bm-sem-space-75, .75rem);--bm-comp-input-space-field-gap: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-inside: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-y: var(--bm-sem-space-50, .5rem);--bm-comp-input-space-choice-gap-items-x: var(--bm-sem-space-100, 1rem);--bm-comp-input-space-choice-nudge: var( --bm-primitive-dimension-12, .125rem );--bm-comp-input-size-field-height-sm: var(--bm-sem-size-height-sm, 2rem);--bm-comp-input-size-field-height-md: var(--bm-sem-size-height-md, 2.5rem);--bm-comp-input-size-field-height-lg: var(--bm-sem-size-height-lg, 3rem);--bm-comp-input-size-field-width: var(--bm-primitive-dimension-1800, 18rem);--bm-comp-input-size-field-icon-sm: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-field-icon-md: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-icon-lg: var(--bm-sem-size-icon-md, 1.25rem);--bm-comp-input-size-field-text-area-height: var( --bm-primitive-dimension-475, 4.75rem );--bm-comp-input-size-choice-checkbox: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio: var(--bm-sem-size-icon-sm, 1rem);--bm-comp-input-size-choice-radio-inside: var( --bm-primitive-dimension-50, .5rem );--bm-comp-input-size-choice-switch-height: var( --bm-sem-size-icon-md, 1.25rem );--bm-comp-input-size-choice-switch-width: var( --bm-primitive-dimension-250, 2.5rem );--bm-comp-input-size-choice-switch-knob: var( --bm-primitive-dimension-87, .875rem );--bm-comp-input-radius-field: var(--bm-sem-radius-input-md, .25rem);--bm-comp-input-radius-choice-checkbox: var( --bm-sem-radius-input-sm, .125rem );--bm-comp-input-radius-choice-radio: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-radius-choice-switch: var( --bm-sem-radius-input-lg, 624.938rem );--bm-comp-input-border-width-field-default: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-border-width-field-error: var( --bm-sem-border-width-lg, .125rem );--bm-comp-input-border-width-choice: var( --bm-sem-border-width-input, .063rem );--bm-comp-input-shadow-field: var( --bm-sem-shadow-none, 0 0 0 0 rgb(0, 0, 0, 0) )}.bm-checkbox{display:inline-flex}.bm-checkbox--read-only{--bm-input-choice-cursor: default;--bm-input-choice-label-cursor: default;--bm-input-choice-label-pointer-events: none}.bm-checkbox--disabled{--bm-input-choice-cursor: not-allowed;--bm-input-choice-label-cursor: not-allowed}.bm-checkbox__label{display:inherit;word-break:break-word;color:var(--bm-comp-input-color-text);font:var(--bm-comp-input-typo-md);gap:var(--bm-comp-input-space-choice-gap-inside);cursor:var(--bm-input-choice-label-cursor, pointer)}.bm-checkbox--with-label .bm-checkbox__label .bm-checkbox__input{margin:var(--bm-comp-input-space-choice-nudge) var(--bm-sem-space-0)}.bm-checkbox--error .bm-checkbox__label{color:var(--bm-comp-input-color-text)}.bm-checkbox--error .bm-checkbox__label .bm-checkbox__input{border-color:var(--bm-comp-input-color-border-error);background-color:var(--bm-comp-input-color-bg)}.bm-checkbox--error .bm-checkbox__label .bm-checkbox__input:checked{background-color:var(--bm-comp-input-color-choice-checkbox-selected-bg-error)}.bm-checkbox--read-only .bm-checkbox__label{color:var(--bm-comp-input-color-text)}.bm-checkbox--read-only .bm-checkbox__label .bm-checkbox__input{border-color:var(--bm-comp-input-color-border-disabled);background-color:var(--bm-comp-input-color-bg-disabled)}.bm-checkbox--read-only .bm-checkbox__label .bm-checkbox__input:checked{background-color:var(--bm-comp-input-color-icon)}.bm-checkbox--disabled .bm-checkbox__label{color:var(--bm-comp-input-color-text-disabled)}.bm-checkbox--disabled .bm-checkbox__label .bm-checkbox__input{border-color:var(--bm-comp-input-color-border-disabled);background-color:var(--bm-comp-input-color-bg-disabled)}.bm-checkbox--disabled .bm-checkbox__label .bm-checkbox__input:checked{background-color:var(--bm-comp-input-color-icon-disabled)}.bm-checkbox__label .bm-checkbox__input{appearance:none;-moz-appearance:none;-webkit-appearance:none;position:relative;margin:var(--bm-sem-space-0);flex-shrink:var(--bm-sem-space-0);cursor:var(--bm-input-choice-cursor, pointer);box-sizing:border-box;width:var(--bm-comp-input-size-choice-checkbox);height:var(--bm-comp-input-size-choice-checkbox);border-style:solid;border-width:var(--bm-comp-input-border-width-field-default);border-color:var(--bm-comp-input-color-border);border-radius:var(--bm-comp-input-radius-choice-checkbox);background-color:var(--bm-comp-input-color-bg)}.bm-checkbox__label .bm-checkbox__input:focus-visible{outline-offset:var(--bm-sem-size-focus-offset);outline:var(--bm-sem-border-width-focus) solid var(--bm-sem-color-border-focus)}.bm-checkbox__label .bm-checkbox__input:checked{border-color:var(--bm-comp-input-color-choice-checkbox-selected-border);background-color:var(--bm-comp-input-color-choice-checkbox-selected-bg)}.bm-checkbox__label .bm-checkbox__input:checked:after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.178 7.363.808 4.697 0 5.598l3.178 3.573L10 1.501 9.198.6l-6.02 6.763Z' fill='%23fff'/%3E%3C/svg%3E");-webkit-mask-size:cover;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.178 7.363.808 4.697 0 5.598l3.178 3.573L10 1.501 9.198.6l-6.02 6.763Z' fill='%23fff'/%3E%3C/svg%3E");mask-size:cover;mask-position:center;mask-repeat:no-repeat;content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:calc(var(--bm-comp-input-size-choice-checkbox) * 5 / 8);height:calc(var(--bm-comp-input-size-choice-checkbox) * 5 / 8);background-color:var(--bm-comp-input-color-choice-checkbox-selected-icon)}.bm-checkbox--indeterminate .bm-checkbox__input:checked:after{height:2px;width:50%;border-radius:var(--bm-comp-input-size-choice-checkbox);-webkit-mask-image:none;mask-image:none}`;
|
|
11
11
|
var E = Object.defineProperty, B = Object.getOwnPropertyDescriptor, f = (e) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as i } from "../../../chunks/delegate.baxDQosr.js";
|
|
2
|
-
import { c as p } from "../../../chunks/register-custom-element.
|
|
2
|
+
import { c as p } from "../../../chunks/register-custom-element.DHGKOhmA.js";
|
|
3
3
|
import { InputChoiceGroup as h } from "../../../InputChoiceGroup/InputChoiceGroup.js";
|
|
4
4
|
var u = Object.getOwnPropertyDescriptor, c = (e, a, l, n) => {
|
|
5
5
|
for (var r = n > 1 ? void 0 : n ? u(a, l) : a, t = e.length - 1, o; t >= 0; t--)
|
|
@@ -5,10 +5,10 @@ import { createRef as u, ref as C } from "lit/directives/ref.js";
|
|
|
5
5
|
import { unsafeSVG as b } from "lit/directives/unsafe-svg.js";
|
|
6
6
|
import f from "clsx";
|
|
7
7
|
import { U as g } from "../../chunks/Upload.B9YEyp7b.js";
|
|
8
|
-
import { g as x } from "../../chunks/classNames.
|
|
8
|
+
import { g as x } from "../../chunks/classNames.BQclmCHG.js";
|
|
9
9
|
import { t as y } from "../../chunks/constants.ZIKMMCJH.js";
|
|
10
10
|
import { f as B } from "../../chunks/fileUpload.module.WyOEuxoP.js";
|
|
11
|
-
import { c as _ } from "../../chunks/register-custom-element.
|
|
11
|
+
import { c as _ } from "../../chunks/register-custom-element.DHGKOhmA.js";
|
|
12
12
|
import { BmButton as U } from "../../Button/Button.js";
|
|
13
13
|
import { fileUploadContext as v } from "./FileUploadContext.js";
|
|
14
14
|
var N = Object.defineProperty, O = Object.getOwnPropertyDescriptor, P = Object.getPrototypeOf, $ = Reflect.get, a = (e, t, s, l) => {
|
|
@@ -5,10 +5,10 @@ import { createRef as u, ref as g } from "lit/directives/ref.js";
|
|
|
5
5
|
import { unsafeSVG as b } from "lit/directives/unsafe-svg.js";
|
|
6
6
|
import E from "clsx";
|
|
7
7
|
import { U as _ } from "../../chunks/Upload.B9YEyp7b.js";
|
|
8
|
-
import { g as R } from "../../chunks/classNames.
|
|
8
|
+
import { g as R } from "../../chunks/classNames.BQclmCHG.js";
|
|
9
9
|
import { t as S } from "../../chunks/constants.ZIKMMCJH.js";
|
|
10
10
|
import { f as I } from "../../chunks/fileUpload.module.WyOEuxoP.js";
|
|
11
|
-
import { c as U } from "../../chunks/register-custom-element.
|
|
11
|
+
import { c as U } from "../../chunks/register-custom-element.DHGKOhmA.js";
|
|
12
12
|
import { stateLayerStyles as w, stateLayerClassName as P } from "../../StateLayer/StateLayer.js";
|
|
13
13
|
import { fileUploadContext as k } from "./FileUploadContext.js";
|
|
14
14
|
import "../../Icon/Icon.js";
|