@ews-admin/global-design-system 1.9.0 → 1.11.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/dist/index.js CHANGED
@@ -10,7 +10,7 @@ const LOCAL_PORTS = {
10
10
  bff: 8082,
11
11
  loginBff: 8080,
12
12
  app: 3000,
13
- login: 4001,
13
+ login: 3001,
14
14
  dashboard: 3002,
15
15
  admin: 3008,
16
16
  };
@@ -32547,7 +32547,8 @@ const UserIcon = ({ size = 24, color = "currentColor", className = "", ...props
32547
32547
  };
32548
32548
 
32549
32549
  const Input = React.forwardRef(({ className, variant = "default", size = "md", label, helperText, error, leftIcon, rightIcon, fullWidth = false, showPasswordToggle = false, required = false, countryCodeSelect, leftAddon, rightAddon, id, type = "text", onChange, onBlur, ...props }, ref) => {
32550
- const inputId = id || `input-${Math.random().toString(36).substr(2, 9)}`;
32550
+ const generatedId = React.useId();
32551
+ const inputId = id || `input-${generatedId.replace(/:/g, "")}`;
32551
32552
  const hasError = Boolean(error);
32552
32553
  const actualVariant = hasError ? "error" : variant;
32553
32554
  // Password visibility state