@pingux/astro 2.55.0-alpha.0 → 2.55.0-alpha.1
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.
@@ -158,20 +158,32 @@ var HelperText = function HelperText() {
|
|
158
158
|
label: "C"
|
159
159
|
}));
|
160
160
|
};
|
161
|
+
|
162
|
+
// Added to bypass aria-allowed-attr issue due to ticket UIP-6801
|
161
163
|
exports.HelperText = HelperText;
|
164
|
+
HelperText.parameters = {
|
165
|
+
a11y: {
|
166
|
+
config: {
|
167
|
+
rules: [{
|
168
|
+
id: 'aria-allowed-attr',
|
169
|
+
enabled: false
|
170
|
+
}]
|
171
|
+
}
|
172
|
+
}
|
173
|
+
};
|
162
174
|
var HorizontalOrientation = function HorizontalOrientation() {
|
163
175
|
return (0, _react2.jsx)(_index.RadioGroupField, {
|
164
176
|
label: "Pick one",
|
165
177
|
orientation: "horizontal"
|
166
178
|
}, (0, _react2.jsx)(_index.RadioField, {
|
167
179
|
value: "A",
|
168
|
-
label: "A"
|
180
|
+
label: "Option A"
|
169
181
|
}), (0, _react2.jsx)(_index.RadioField, {
|
170
182
|
value: "B",
|
171
|
-
label: "B"
|
183
|
+
label: "Option B"
|
172
184
|
}), (0, _react2.jsx)(_index.RadioField, {
|
173
185
|
value: "C",
|
174
|
-
label: "C"
|
186
|
+
label: "Option C"
|
175
187
|
}));
|
176
188
|
};
|
177
189
|
exports.HorizontalOrientation = HorizontalOrientation;
|
@@ -142,18 +142,30 @@ export var HelperText = function HelperText() {
|
|
142
142
|
label: "C"
|
143
143
|
}));
|
144
144
|
};
|
145
|
+
|
146
|
+
// Added to bypass aria-allowed-attr issue due to ticket UIP-6801
|
147
|
+
HelperText.parameters = {
|
148
|
+
a11y: {
|
149
|
+
config: {
|
150
|
+
rules: [{
|
151
|
+
id: 'aria-allowed-attr',
|
152
|
+
enabled: false
|
153
|
+
}]
|
154
|
+
}
|
155
|
+
}
|
156
|
+
};
|
145
157
|
export var HorizontalOrientation = function HorizontalOrientation() {
|
146
158
|
return ___EmotionJSX(RadioGroupField, {
|
147
159
|
label: "Pick one",
|
148
160
|
orientation: "horizontal"
|
149
161
|
}, ___EmotionJSX(RadioField, {
|
150
162
|
value: "A",
|
151
|
-
label: "A"
|
163
|
+
label: "Option A"
|
152
164
|
}), ___EmotionJSX(RadioField, {
|
153
165
|
value: "B",
|
154
|
-
label: "B"
|
166
|
+
label: "Option B"
|
155
167
|
}), ___EmotionJSX(RadioField, {
|
156
168
|
value: "C",
|
157
|
-
label: "C"
|
169
|
+
label: "Option C"
|
158
170
|
}));
|
159
171
|
};
|