@xsolla/xui-button 0.188.2 → 0.188.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/package.json +4 -4
- package/web/index.js +4 -2
- package/web/index.js.map +1 -1
- package/web/index.mjs +4 -2
- package/web/index.mjs.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-button",
|
|
3
|
-
"version": "0.188.
|
|
3
|
+
"version": "0.188.4",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xsolla/xui-core": "0.188.
|
|
17
|
-
"@xsolla/xui-icons": "0.188.
|
|
18
|
-
"@xsolla/xui-primitives-core": "0.188.
|
|
16
|
+
"@xsolla/xui-core": "0.188.4",
|
|
17
|
+
"@xsolla/xui-icons": "0.188.4",
|
|
18
|
+
"@xsolla/xui-primitives-core": "0.188.4"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": ">=16.8.0",
|
package/web/index.js
CHANGED
|
@@ -386,11 +386,13 @@ var StyledIcon = (0, import_styled_components4.default)(FilteredDiv3)`
|
|
|
386
386
|
height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
|
|
387
387
|
color: ${(props) => props.color || "currentColor"};
|
|
388
388
|
|
|
389
|
+
/* Icons paint themselves — each icon's own SVG sets its fill/stroke
|
|
390
|
+
(icons-base via inline "fill: currentColor", Lucide via "fill"/"stroke"
|
|
391
|
+
attributes). Do not add fill/stroke here: it re-strokes fill-based icons
|
|
392
|
+
and thickens the glyph. See FEP-877. */
|
|
389
393
|
svg {
|
|
390
394
|
width: 100%;
|
|
391
395
|
height: 100%;
|
|
392
|
-
fill: none;
|
|
393
|
-
stroke: currentColor;
|
|
394
396
|
}
|
|
395
397
|
`;
|
|
396
398
|
var Icon = ({
|