@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.js CHANGED
@@ -666,6 +666,9 @@ var classNames$1 = classnames$1.exports;
666
666
  var iconStaticClassName = 'pop-icon';
667
667
  var Icon = function (props) {
668
668
  var icon = props.icon, className = props.className, restProps = __rest(props, ["icon", "className"]);
669
+ if (!restProps['aria-label'] && restProps['aria-hidden'] === undefined) {
670
+ restProps['aria-hidden'] = true;
671
+ }
669
672
  var classes = useIconStyles(props);
670
673
  var isValid = true;
671
674
  if (!icon || (typeof icon === 'function' && icon({}) === undefined)) {