@popmenu/table 0.86.0 → 0.87.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/build/index.es.js +6 -0
- package/build/index.es.js.map +1 -1
- package/build/index.js +6 -0
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.es.js
CHANGED
|
@@ -370,6 +370,9 @@ var classNames = classnames$2.exports;
|
|
|
370
370
|
var iconStaticClassName$1 = 'pop-icon';
|
|
371
371
|
var Icon$1 = function (props) {
|
|
372
372
|
var icon = props.icon, className = props.className, restProps = __rest$2(props, ["icon", "className"]);
|
|
373
|
+
if (!restProps['aria-label'] && restProps['aria-hidden'] === undefined) {
|
|
374
|
+
restProps['aria-hidden'] = true;
|
|
375
|
+
}
|
|
373
376
|
var classes = useIconStyles$1(props);
|
|
374
377
|
var isValid = true;
|
|
375
378
|
if (!icon || (typeof icon === 'function' && icon({}) === undefined)) {
|
|
@@ -1628,6 +1631,9 @@ var classNames$1 = classnames$1.exports;
|
|
|
1628
1631
|
var iconStaticClassName = 'pop-icon';
|
|
1629
1632
|
var Icon = function (props) {
|
|
1630
1633
|
var icon = props.icon, className = props.className, restProps = __rest(props, ["icon", "className"]);
|
|
1634
|
+
if (!restProps['aria-label'] && restProps['aria-hidden'] === undefined) {
|
|
1635
|
+
restProps['aria-hidden'] = true;
|
|
1636
|
+
}
|
|
1631
1637
|
var classes = useIconStyles(props);
|
|
1632
1638
|
var isValid = true;
|
|
1633
1639
|
if (!icon || (typeof icon === 'function' && icon({}) === undefined)) {
|