@woosmap/ui 4.56.0 → 4.57.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.56.0",
3
+ "version": "4.57.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -47,7 +47,7 @@ export default class Button extends Component {
47
47
  );
48
48
  let iconComponent = icon ? <Icon isFill={isFillIcon} size={iconSize} icon={icon} /> : null;
49
49
  if (isLoading) {
50
- iconComponent = <Icon isFill isLoad icon="load" />;
50
+ iconComponent = <Icon isLoad icon="load" />;
51
51
  }
52
52
  return (
53
53
  <button
@@ -646,7 +646,7 @@ class Icon extends Component {
646
646
  render() {
647
647
  const { icon, size, className, isFill, isLoad, title, testId } = this.props;
648
648
  const IconComponent = Object.keys(Icons).includes(icon) ? Icons[icon] : Woosmap;
649
- const classes = cl('icon', { 'icon--fill': isFill }, { 'icon--load': isLoad }, className);
649
+ const classes = cl('icon', { 'icon--fill': isFill }, { 'icon--load icon--fill': isLoad }, className);
650
650
  return (
651
651
  <IconComponent
652
652
  className={classes}