react-asc 18.9.1 → 18.9.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.
package/index.js CHANGED
@@ -632,7 +632,7 @@ var styles$y = {"iconButton":"IconButton-module_iconButton__1xqrL","shadow":"Ico
632
632
  styleInject(css_248z$y);
633
633
 
634
634
  const IconButton = (props) => {
635
- const { children, icon, label, variant = exports.VARIANT.text, color = exports.COLOR.dark, size = exports.SIZE.md, isActive, disabled, className, shadow } = props, rest = __rest(props, ["children", "icon", "label", "variant", "color", "size", "isActive", "disabled", "className", "shadow"]);
635
+ const { children, icon, variant = exports.VARIANT.text, color = exports.COLOR.dark, size = exports.SIZE.md, isActive, disabled, className, shadow } = props, rest = __rest(props, ["children", "icon", "variant", "color", "size", "isActive", "disabled", "className", "shadow"]);
636
636
  const getCssClasses = () => {
637
637
  const cssClasses = [];
638
638
  cssClasses.push(styles$y[color]);
@@ -1550,11 +1550,10 @@ const Row = (props) => {
1550
1550
  };
1551
1551
 
1552
1552
  const Link = (props) => {
1553
- const { url, className, target, children } = props;
1553
+ const { href, className, target, children } = props;
1554
1554
  const [status, setStatus] = React.useState(STATUS.NORMAL);
1555
1555
  const getCssClasses = () => {
1556
1556
  const cssClasses = [];
1557
- // cssClasses.push(styles.badgeContainer);
1558
1557
  className && cssClasses.push(className);
1559
1558
  status !== STATUS.NORMAL && cssClasses.push(status);
1560
1559
  return cssClasses.filter(css => css).join(' ');
@@ -1565,7 +1564,7 @@ const Link = (props) => {
1565
1564
  const onMouseLeave = () => {
1566
1565
  setStatus(STATUS.NORMAL);
1567
1566
  };
1568
- return (React__default["default"].createElement("a", { className: getCssClasses(), href: url || '#', target: target, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave }, children));
1567
+ return (React__default["default"].createElement("a", { className: getCssClasses(), href: href || '#', target: target, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave }, children));
1569
1568
  };
1570
1569
 
1571
1570
  var css_248z$i = ".LoadingIndicator-module_loadingIndicatorContainer__3e1-3 {\n position: fixed;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%; }\n\n.LoadingIndicator-module_loadingIndicator__tvp5i {\n animation-name: LoadingIndicator-module_spinAnimation__PKRNn;\n animation-duration: 5000ms;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n width: 24px;\n height: 24px; }\n\n@keyframes LoadingIndicator-module_spinAnimation__PKRNn {\n from {\n transform: rotate(0deg); }\n to {\n transform: rotate(360deg); } }\n";