File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
@layer sl-components {
2
-
3
2
[data-sl-field ] {
4
3
display : grid;
5
4
grid-template-areas : var (--sl-element-template-areas );
30
29
& [data-variant = 'control' ] {
31
30
--sl-element-template-areas : 'input label' '- message' ;
32
31
--sl-element-label-color : var (--sl-fg );
33
- --sl-element-vertical-gap : var (--sl-space-0 );
34
32
--sl-element-vertical-gap : calc (var (--sl-space-05 ) / 2 );
33
+ --sl-element-horizontal-gap : var (--sl-space-2 );
35
34
}
36
35
}
37
36
}
Original file line number Diff line number Diff line change @@ -104,10 +104,23 @@ export function Help() {
104
104
< Radio value = "opt4" > Another pen</ Radio >
105
105
</ RadioGroup >
106
106
107
+ < RadioGroup
108
+ label = "Optional group"
109
+ errorText = "Something is wrong"
110
+ helpText = "Pen pinapple apple pen"
111
+ >
112
+ < Radio value = "opt1" > Pen</ Radio >
113
+ < Radio value = "opt2" > Pineapple</ Radio >
114
+ < Radio value = "opt3" > Apple</ Radio >
115
+ < Radio value = "opt4" > Another pen</ Radio >
116
+ </ RadioGroup >
117
+
118
+
107
119
< RadioGroup
108
120
label = "Optional group (optional)"
109
121
errorText = "Something is wrong"
110
122
helpText = "Pen pinapple apple pen"
123
+ error
111
124
>
112
125
< Radio value = "opt1" > Pen</ Radio >
113
126
< Radio value = "opt2" > Pineapple</ Radio >
You can’t perform that action at this time.
0 commit comments