@auth0/quantum-product 1.10.1 → 1.10.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.
@@ -52,8 +52,8 @@ var StyledIconButton = styled(MuiIconButton, {
52
52
  });
53
53
  export var IconButton = React.forwardRef(function (props, ref) {
54
54
  var iconButtonContext = useIconButtonContext();
55
- var children = props.children, _a = props.color, color = _a === void 0 ? 'default' : _a, _b = props.variant, variant = _b === void 0 ? 'link' : _b, _c = props.size, size = _c === void 0 ? 'medium' : _c, disabled = props.disabled, edgeProp = props.edge, _d = props.shape, shape = _d === void 0 ? 'default' : _d, _e = props.label, label = _e === void 0 ? 'icon button' : _e, tooltipPlacement = props.tooltipPlacement, onTooltipClose = props.onTooltipClose, iconButtonProps = __rest(props, ["children", "color", "variant", "size", "disabled", "edge", "shape", "label", "tooltipPlacement", "onTooltipClose"]);
55
+ var children = props.children, label = props.label, _a = props.color, color = _a === void 0 ? 'default' : _a, _b = props.variant, variant = _b === void 0 ? 'link' : _b, _c = props.size, size = _c === void 0 ? 'medium' : _c, disabled = props.disabled, edgeProp = props.edge, _d = props.shape, shape = _d === void 0 ? 'default' : _d, tooltipPlacement = props.tooltipPlacement, onTooltipClose = props.onTooltipClose, iconButtonProps = __rest(props, ["children", "label", "color", "variant", "size", "disabled", "edge", "shape", "tooltipPlacement", "onTooltipClose"]);
56
56
  var edge = edgeProp != null ? edgeProp : iconButtonContext.edge;
57
57
  return (React.createElement(Root, { title: label, placement: tooltipPlacement, onClose: onTooltipClose },
58
- React.createElement(StyledIconButton, __assign({ color: color, ref: ref, edge: edge, disabled: disabled, size: size, variant: variant, ownerState: { shape: shape }, ariaLabel: label }, iconButtonProps), children)));
58
+ React.createElement(StyledIconButton, __assign({ color: color, ref: ref, edge: edge, disabled: disabled, size: size, variant: variant, ownerState: { shape: shape } }, iconButtonProps), children)));
59
59
  });
@@ -78,8 +78,8 @@ var StyledIconButton = (0, styled_1.styled)(IconButton_1.default, {
78
78
  });
79
79
  exports.IconButton = React.forwardRef(function (props, ref) {
80
80
  var iconButtonContext = (0, icon_button_context_1.useIconButtonContext)();
81
- var children = props.children, _a = props.color, color = _a === void 0 ? 'default' : _a, _b = props.variant, variant = _b === void 0 ? 'link' : _b, _c = props.size, size = _c === void 0 ? 'medium' : _c, disabled = props.disabled, edgeProp = props.edge, _d = props.shape, shape = _d === void 0 ? 'default' : _d, _e = props.label, label = _e === void 0 ? 'icon button' : _e, tooltipPlacement = props.tooltipPlacement, onTooltipClose = props.onTooltipClose, iconButtonProps = __rest(props, ["children", "color", "variant", "size", "disabled", "edge", "shape", "label", "tooltipPlacement", "onTooltipClose"]);
81
+ var children = props.children, label = props.label, _a = props.color, color = _a === void 0 ? 'default' : _a, _b = props.variant, variant = _b === void 0 ? 'link' : _b, _c = props.size, size = _c === void 0 ? 'medium' : _c, disabled = props.disabled, edgeProp = props.edge, _d = props.shape, shape = _d === void 0 ? 'default' : _d, tooltipPlacement = props.tooltipPlacement, onTooltipClose = props.onTooltipClose, iconButtonProps = __rest(props, ["children", "label", "color", "variant", "size", "disabled", "edge", "shape", "tooltipPlacement", "onTooltipClose"]);
82
82
  var edge = edgeProp != null ? edgeProp : iconButtonContext.edge;
83
83
  return (React.createElement(Root, { title: label, placement: tooltipPlacement, onClose: onTooltipClose },
84
- React.createElement(StyledIconButton, __assign({ color: color, ref: ref, edge: edge, disabled: disabled, size: size, variant: variant, ownerState: { shape: shape }, ariaLabel: label }, iconButtonProps), children)));
84
+ React.createElement(StyledIconButton, __assign({ color: color, ref: ref, edge: edge, disabled: disabled, size: size, variant: variant, ownerState: { shape: shape } }, iconButtonProps), children)));
85
85
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auth0/quantum-product",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "sideEffects": false,
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {