cr-ui-lib 1.1.5 → 1.1.6

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.d.mts CHANGED
@@ -264,6 +264,7 @@ interface CommonInputSingleProps {
264
264
  hasAll?: boolean;
265
265
  labelClass?: string;
266
266
  className?: string;
267
+ inputClass?: string;
267
268
  }
268
269
  declare const CommonInputSingle: React$1.FC<CommonInputSingleProps>;
269
270
 
package/dist/index.d.ts CHANGED
@@ -264,6 +264,7 @@ interface CommonInputSingleProps {
264
264
  hasAll?: boolean;
265
265
  labelClass?: string;
266
266
  className?: string;
267
+ inputClass?: string;
267
268
  }
268
269
  declare const CommonInputSingle: React$1.FC<CommonInputSingleProps>;
269
270
 
package/dist/index.js CHANGED
@@ -3491,7 +3491,8 @@ var CommonInputSingle = ({
3491
3491
  error,
3492
3492
  hasAll = false,
3493
3493
  labelClass = "",
3494
- className = ""
3494
+ className = "",
3495
+ inputClass = ""
3495
3496
  }) => {
3496
3497
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
3497
3498
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -3540,7 +3541,10 @@ var CommonInputSingle = ({
3540
3541
  value: inputValue,
3541
3542
  onChange,
3542
3543
  onKeyDown: keyDown,
3543
- className: "flex-grow px-0 py-1 bg-custom-gray text-xs border-none outline-none focus:ring-0"
3544
+ className: tailwindMerge.twMerge(
3545
+ "flex-grow px-0 py-1 bg-custom-gray text-xs border-none outline-none focus:ring-0",
3546
+ inputClass
3547
+ )
3544
3548
  }
3545
3549
  )
3546
3550
  ]