@nation-a/ui 0.16.0 → 0.16.1

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.cjs CHANGED
@@ -19821,6 +19821,7 @@ const Input = React.forwardRef(
19821
19821
  endAdornment,
19822
19822
  removeBorder,
19823
19823
  error,
19824
+ fontSize,
19824
19825
  ...rest
19825
19826
  }, ref) => {
19826
19827
  const recipe = inputRecipe({
@@ -19871,7 +19872,16 @@ const Input = React.forwardRef(
19871
19872
  startAdornment && /* @__PURE__ */ jsxRuntime.jsx(Box$1, { className: recipe.adornment, children: startAdornment }),
19872
19873
  /* @__PURE__ */ jsxRuntime.jsxs(Stack2, { gap: 1, css: { width: "100%" }, children: [
19873
19874
  /* @__PURE__ */ jsxRuntime.jsx(Label2, { visible: !!(label && labelPosition === "inside"), children: label }),
19874
- /* @__PURE__ */ jsxRuntime.jsx(styled.input, { ref: inputRef, disabled, onChange: handleInputChange, ...rest })
19875
+ /* @__PURE__ */ jsxRuntime.jsx(
19876
+ styled.input,
19877
+ {
19878
+ ref: inputRef,
19879
+ disabled,
19880
+ onChange: handleInputChange,
19881
+ style: { ...rest == null ? void 0 : rest.style, fontSize: `${fontSize}px` },
19882
+ ...rest
19883
+ }
19884
+ )
19875
19885
  ] }),
19876
19886
  endAdornment && /* @__PURE__ */ jsxRuntime.jsx(Box$1, { className: recipe.adornment, children: endAdornment })
19877
19887
  ] }),