@popmenu/ordering-ui 0.86.1 → 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 +3 -0
- package/build/index.es.js.map +1 -1
- package/build/index.js +3 -0
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.es.js
CHANGED
|
@@ -623,6 +623,9 @@ var classNames$1 = classnames$1.exports;
|
|
|
623
623
|
var iconStaticClassName = 'pop-icon';
|
|
624
624
|
var Icon = function (props) {
|
|
625
625
|
var icon = props.icon, className = props.className, restProps = __rest(props, ["icon", "className"]);
|
|
626
|
+
if (!restProps['aria-label'] && restProps['aria-hidden'] === undefined) {
|
|
627
|
+
restProps['aria-hidden'] = true;
|
|
628
|
+
}
|
|
626
629
|
var classes = useIconStyles(props);
|
|
627
630
|
var isValid = true;
|
|
628
631
|
if (!icon || (typeof icon === 'function' && icon({}) === undefined)) {
|