ingeniuscliq-core 0.2.26 → 0.2.28

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.
@@ -11,6 +11,7 @@ interface FormInputProps<T extends FieldValues = FieldValues> extends BaseStyleP
11
11
  readonly name: Path<T>;
12
12
  readonly placeholder?: string;
13
13
  readonly type?: keyof typeof SUPPORTED_INPUT_TYPES;
14
+ readonly inputProps?: T;
14
15
  }
15
- export declare function FormInput<T extends FieldValues = FieldValues>({ control, name, placeholder, type, className }: FormInputProps<T>): import("react/jsx-runtime").JSX.Element;
16
+ export declare function FormInput<T extends FieldValues = FieldValues>({ control, name, placeholder, type, className, inputProps }: FormInputProps<T>): import("react/jsx-runtime").JSX.Element;
16
17
  export {};
package/dist/index.js CHANGED
@@ -5695,15 +5695,15 @@ function mc({ className: e, type: t, withoutShadow: n = !1, outlined: r = !1, ..
5695
5695
  }
5696
5696
  );
5697
5697
  }
5698
- function It({ control: e, name: t, placeholder: n, type: r = "text", className: o = "" }) {
5699
- const { t: a } = kn(), s = () => n || (t ? a(`fields.${t}`) : "");
5698
+ function It({ control: e, name: t, placeholder: n, type: r = "text", className: o = "", inputProps: a = void 0 }) {
5699
+ const { t: s } = kn(), i = () => n || (t ? s(`fields.${t}`) : "");
5700
5700
  return /* @__PURE__ */ d(
5701
5701
  Nf,
5702
5702
  {
5703
5703
  control: e,
5704
5704
  className: o,
5705
5705
  name: t,
5706
- render: (i) => /* @__PURE__ */ d(mc, { placeholder: s(), type: r, ...i })
5706
+ render: (c) => /* @__PURE__ */ d(mc, { placeholder: i(), type: r, ...c, ...a })
5707
5707
  }
5708
5708
  );
5709
5709
  }
@@ -5767,7 +5767,14 @@ function E1({
5767
5767
  );
5768
5768
  }
5769
5769
  function Ln({ disabled: e = !1, className: t = "", ...n }) {
5770
- return /* @__PURE__ */ d("li", { "data-slot": "pagination-item", className: `${t} ${e ? "!opacity-50 !cursor-not-allowed" : ""}`, ...n });
5770
+ return /* @__PURE__ */ d(
5771
+ "li",
5772
+ {
5773
+ "data-slot": "pagination-item",
5774
+ className: D(`${e ? "!opacity-50 !cursor-not-allowed" : ""}`, t),
5775
+ ...n
5776
+ }
5777
+ );
5771
5778
  }
5772
5779
  function fr({
5773
5780
  className: e,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingeniuscliq-core",
3
- "version": "0.2.26",
3
+ "version": "0.2.28",
4
4
  "description": "IngeniusCliq Core UI y lógica compartida",
5
5
  "license": "MIT",
6
6
  "type": "module",