@xsolla/xui-input-phone 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/web/index.mjs CHANGED
@@ -306,11 +306,13 @@ var StyledIcon = styled3(FilteredDiv2)`
306
306
  height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
307
307
  color: ${(props) => props.color || "currentColor"};
308
308
 
309
+ /* Icons paint themselves — each icon's own SVG sets its fill/stroke
310
+ (icons-base via inline "fill: currentColor", Lucide via "fill"/"stroke"
311
+ attributes). Do not add fill/stroke here: it re-strokes fill-based icons
312
+ and thickens the glyph. See FEP-877. */
309
313
  svg {
310
314
  width: 100%;
311
315
  height: 100%;
312
- fill: none;
313
- stroke: currentColor;
314
316
  }
315
317
  `;
316
318
  var Icon = ({
@@ -2620,7 +2622,7 @@ var InputPhone = forwardRef2(
2620
2622
  }
2621
2623
  const textColor = isDisable ? inputColors.textDisable : inputColors.text;
2622
2624
  const placeholderColor = inputColors.placeholder;
2623
- const iconColor = isDisable ? inputColors.placeholder : inputColors.text;
2625
+ const iconColor = inputColors.placeholder;
2624
2626
  const paddingConfig = {
2625
2627
  xl: { vertical: 12, horizontal: 12 },
2626
2628
  lg: { vertical: 14, horizontal: 12 },