@pingux/astro 2.46.0-alpha.3 → 2.46.0-alpha.4
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.
@@ -46,6 +46,20 @@ var _default = {
|
|
46
46
|
source: {
|
47
47
|
type: 'code'
|
48
48
|
}
|
49
|
+
},
|
50
|
+
a11y: {
|
51
|
+
config: {
|
52
|
+
rules: [
|
53
|
+
/* Turned off since dynamic parent and children getting added on treegrid role
|
54
|
+
* and design specs */
|
55
|
+
{
|
56
|
+
id: 'aria-required-parent',
|
57
|
+
enabled: false
|
58
|
+
}, {
|
59
|
+
id: 'aria-required-children',
|
60
|
+
enabled: false
|
61
|
+
}]
|
62
|
+
}
|
49
63
|
}
|
50
64
|
}
|
51
65
|
};
|
@@ -200,7 +200,9 @@ var TreeViewRow = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
200
200
|
toggledIcon: _MenuDownIcon["default"],
|
201
201
|
iconProps: {
|
202
202
|
size: 25,
|
203
|
-
title:
|
203
|
+
title: {
|
204
|
+
name: "".concat(title, " expand or collapse button")
|
205
|
+
}
|
204
206
|
},
|
205
207
|
buttonProps: _objectSpread({
|
206
208
|
'aria-label': "".concat(title, " expand or collapse button"),
|
@@ -222,7 +224,9 @@ var TreeViewRow = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
222
224
|
color: "focus",
|
223
225
|
icon: mainIcon,
|
224
226
|
size: 25,
|
225
|
-
title:
|
227
|
+
title: {
|
228
|
+
name: 'folder icon'
|
229
|
+
},
|
226
230
|
alt: "folder icon"
|
227
231
|
}), (0, _react2.jsx)(_index.Text, {
|
228
232
|
className: classNames
|
@@ -230,7 +234,9 @@ var TreeViewRow = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
230
234
|
icon: lastIcon,
|
231
235
|
size: 15,
|
232
236
|
color: "accent.80",
|
233
|
-
title:
|
237
|
+
title: {
|
238
|
+
name: 'lock icon'
|
239
|
+
},
|
234
240
|
alt: "lock icon"
|
235
241
|
})));
|
236
242
|
});
|
@@ -33,6 +33,20 @@ export default {
|
|
33
33
|
source: {
|
34
34
|
type: 'code'
|
35
35
|
}
|
36
|
+
},
|
37
|
+
a11y: {
|
38
|
+
config: {
|
39
|
+
rules: [
|
40
|
+
/* Turned off since dynamic parent and children getting added on treegrid role
|
41
|
+
* and design specs */
|
42
|
+
{
|
43
|
+
id: 'aria-required-parent',
|
44
|
+
enabled: false
|
45
|
+
}, {
|
46
|
+
id: 'aria-required-children',
|
47
|
+
enabled: false
|
48
|
+
}]
|
49
|
+
}
|
36
50
|
}
|
37
51
|
}
|
38
52
|
};
|
@@ -189,7 +189,9 @@ var TreeViewRow = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
189
189
|
toggledIcon: MenuDownIcon,
|
190
190
|
iconProps: {
|
191
191
|
size: 25,
|
192
|
-
title:
|
192
|
+
title: {
|
193
|
+
name: "".concat(title, " expand or collapse button")
|
194
|
+
}
|
193
195
|
},
|
194
196
|
buttonProps: _objectSpread({
|
195
197
|
'aria-label': "".concat(title, " expand or collapse button"),
|
@@ -211,7 +213,9 @@ var TreeViewRow = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
211
213
|
color: "focus",
|
212
214
|
icon: mainIcon,
|
213
215
|
size: 25,
|
214
|
-
title:
|
216
|
+
title: {
|
217
|
+
name: 'folder icon'
|
218
|
+
},
|
215
219
|
alt: "folder icon"
|
216
220
|
}), ___EmotionJSX(Text, {
|
217
221
|
className: classNames
|
@@ -219,7 +223,9 @@ var TreeViewRow = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
219
223
|
icon: lastIcon,
|
220
224
|
size: 15,
|
221
225
|
color: "accent.80",
|
222
|
-
title:
|
226
|
+
title: {
|
227
|
+
name: 'lock icon'
|
228
|
+
},
|
223
229
|
alt: "lock icon"
|
224
230
|
})));
|
225
231
|
});
|