@prosistemas/sca-web-kit 3.3.5 → 3.3.7

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.
@@ -107,7 +107,6 @@
107
107
 
108
108
  z-index: 2;
109
109
  scale: 275%;
110
- transform-origin: left;
111
110
  }
112
111
 
113
112
  .hue {
@@ -1,14 +1,14 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import styles from './icon-with-background.module.scss';
3
3
  import Image from 'next/image';
4
- export default function IconWithBackground({ icon: Icon, className = '', iconClassName = '', iconSize, iconColor, alt = "Ícone sem descrição", weight = 'regular', round = false, dark = false, size = 32, }) {
4
+ export default function IconWithBackground({ icon: Icon, className = '', iconClassName = '', iconSize, iconColor, alt = '', weight = 'regular', round = false, dark = false, size = 32, }) {
5
5
  if (typeof Icon === 'string') {
6
6
  return (_jsx("div", { className: `
7
7
  ${styles['background']}
8
8
  ${className}
9
9
  ${round ? styles['round'] : ''}
10
10
  ${dark ? styles['dark'] : ''}
11
- `, children: _jsx(Image, { src: Icon, alt: alt, width: iconSize, height: iconSize, color: iconColor }) }));
11
+ `, children: _jsx(Image, { src: Icon, className: iconClassName, width: iconSize, height: iconSize, color: iconColor, alt: alt }) }));
12
12
  }
13
13
  return (_jsx("div", { className: `
14
14
  ${styles['background']}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosistemas/sca-web-kit",
3
- "version": "3.3.5",
3
+ "version": "3.3.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [