@pingux/astro 2.15.0-alpha.0 → 2.15.0-alpha.2
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.
@@ -337,21 +337,20 @@ var MultivaluesField = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
|
|
337
337
|
return el.key === key;
|
338
338
|
});
|
339
339
|
if (item) {
|
340
|
-
return (0, _react2.jsx)(_.
|
341
|
-
as: "li",
|
342
|
-
key: "li ".concat(item.key)
|
343
|
-
}, (0, _react2.jsx)(_.Badge, {
|
340
|
+
return (0, _react2.jsx)(_.Badge, {
|
344
341
|
key: item.key,
|
345
|
-
role: "presentation",
|
346
342
|
label: item.name,
|
347
343
|
variant: "readOnlyBadge",
|
348
344
|
bg: "white",
|
349
345
|
textProps: {
|
350
346
|
sx: {
|
351
|
-
color: 'text.primary'
|
347
|
+
color: 'text.primary',
|
348
|
+
tabIndex: '-1'
|
352
349
|
}
|
353
|
-
}
|
354
|
-
|
350
|
+
},
|
351
|
+
as: "li",
|
352
|
+
tabIndex: 0
|
353
|
+
});
|
355
354
|
}
|
356
355
|
return null;
|
357
356
|
});
|
@@ -325,21 +325,20 @@ var MultivaluesField = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
325
325
|
return el.key === key;
|
326
326
|
});
|
327
327
|
if (item) {
|
328
|
-
return ___EmotionJSX(
|
329
|
-
as: "li",
|
330
|
-
key: "li ".concat(item.key)
|
331
|
-
}, ___EmotionJSX(Badge, {
|
328
|
+
return ___EmotionJSX(Badge, {
|
332
329
|
key: item.key,
|
333
|
-
role: "presentation",
|
334
330
|
label: item.name,
|
335
331
|
variant: "readOnlyBadge",
|
336
332
|
bg: "white",
|
337
333
|
textProps: {
|
338
334
|
sx: {
|
339
|
-
color: 'text.primary'
|
335
|
+
color: 'text.primary',
|
336
|
+
tabIndex: '-1'
|
340
337
|
}
|
341
|
-
}
|
342
|
-
|
338
|
+
},
|
339
|
+
as: "li",
|
340
|
+
tabIndex: 0
|
341
|
+
});
|
343
342
|
}
|
344
343
|
return null;
|
345
344
|
});
|