@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 +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/types/components/Input/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19803,6 +19803,7 @@ const Input = forwardRef(
|
|
|
19803
19803
|
endAdornment,
|
|
19804
19804
|
removeBorder,
|
|
19805
19805
|
error,
|
|
19806
|
+
fontSize,
|
|
19806
19807
|
...rest
|
|
19807
19808
|
}, ref) => {
|
|
19808
19809
|
const recipe = inputRecipe({
|
|
@@ -19853,7 +19854,16 @@ const Input = forwardRef(
|
|
|
19853
19854
|
startAdornment && /* @__PURE__ */ jsx(Box$1, { className: recipe.adornment, children: startAdornment }),
|
|
19854
19855
|
/* @__PURE__ */ jsxs(Stack2, { gap: 1, css: { width: "100%" }, children: [
|
|
19855
19856
|
/* @__PURE__ */ jsx(Label2, { visible: !!(label && labelPosition === "inside"), children: label }),
|
|
19856
|
-
/* @__PURE__ */ jsx(
|
|
19857
|
+
/* @__PURE__ */ jsx(
|
|
19858
|
+
styled.input,
|
|
19859
|
+
{
|
|
19860
|
+
ref: inputRef,
|
|
19861
|
+
disabled,
|
|
19862
|
+
onChange: handleInputChange,
|
|
19863
|
+
style: { ...rest == null ? void 0 : rest.style, fontSize: `${fontSize}px` },
|
|
19864
|
+
...rest
|
|
19865
|
+
}
|
|
19866
|
+
)
|
|
19857
19867
|
] }),
|
|
19858
19868
|
endAdornment && /* @__PURE__ */ jsx(Box$1, { className: recipe.adornment, children: endAdornment })
|
|
19859
19869
|
] }),
|