@wecareu/icons 1.0.3 → 1.0.4

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/dist/index.js CHANGED
@@ -1242,8 +1242,9 @@ var Icon = ({ name, size, color, testID = "icon", ...rest }) => {
1242
1242
  extra.height = size;
1243
1243
  }
1244
1244
  const iconColor = color || theme.colors.text.primary || "#000000";
1245
- extra.fill = iconColor;
1246
1245
  extra.color = iconColor;
1246
+ extra.fill = iconColor;
1247
+ extra.stroke = iconColor;
1247
1248
  return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Cmp, { ...extra, testID, ...rest });
1248
1249
  };
1249
1250
 
package/dist/index.mjs CHANGED
@@ -1203,8 +1203,9 @@ var Icon = ({ name, size, color, testID = "icon", ...rest }) => {
1203
1203
  extra.height = size;
1204
1204
  }
1205
1205
  const iconColor = color || theme.colors.text.primary || "#000000";
1206
- extra.fill = iconColor;
1207
1206
  extra.color = iconColor;
1207
+ extra.fill = iconColor;
1208
+ extra.stroke = iconColor;
1208
1209
  return /* @__PURE__ */ jsx70(Cmp, { ...extra, testID, ...rest });
1209
1210
  };
1210
1211
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wecareu/icons",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Sistema de ícones SVG para WeCareU Design System",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -23,12 +23,7 @@
23
23
  "design-system",
24
24
  "wecareu"
25
25
  ],
26
- "repository": {
27
- "type": "git",
28
- "url": "https://github.com/wecareu/library-design-system.git",
29
- "directory": "packages/icons"
30
- },
31
- "license": "MIT",
26
+ "license": "UNLICENSED",
32
27
  "devDependencies": {
33
28
  "@svgr/core": "^8.1.0",
34
29
  "@svgr/plugin-jsx": "^8.1.0",
package/src/Icon.tsx CHANGED
@@ -20,8 +20,9 @@ export const Icon: React.FC<Props> = ({ name, size, color, testID = 'icon', ...r
20
20
  }
21
21
 
22
22
  const iconColor = color || theme.colors.text.primary || '#000000';
23
- extra.fill = iconColor;
24
23
  extra.color = iconColor;
24
+ extra.fill = iconColor;
25
+ extra.stroke = iconColor;
25
26
 
26
27
  return <Cmp {...extra} testID={testID} {...rest} />;
27
28
  };