azeriand-library 1.14.0 → 1.14.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.
|
Binary file
|
|
@@ -13,4 +13,4 @@ export type InputProps = CardProps & {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
style?: React.CSSProperties;
|
|
15
15
|
};
|
|
16
|
-
export declare function Input({ type, value, disabled, placeholder,
|
|
16
|
+
export declare function Input({ type, value, disabled, placeholder, maxLength, onChange, iconPosition, centerText, icon, className, ...cardProps }: InputProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.esm.js
CHANGED
|
@@ -15980,7 +15980,7 @@ function Checkbox({ label, checkedDefault = false, onChange }) {
|
|
|
15980
15980
|
function SectionName({ section, className }) {
|
|
15981
15981
|
return /* @__PURE__ */ jsx$1("div", { className: `uppercase font-bold tracking-[0.15rem] w-fit section-name ${className}`, children: section });
|
|
15982
15982
|
}
|
|
15983
|
-
function Input({ type, value, disabled, placeholder,
|
|
15983
|
+
function Input({ type, value, disabled, placeholder, maxLength, onChange, iconPosition = "left", centerText = false, icon, className, ...cardProps }) {
|
|
15984
15984
|
function inputUpdated(ev) {
|
|
15985
15985
|
onChange == null ? void 0 : onChange(ev.target.value);
|
|
15986
15986
|
}
|
|
@@ -15989,7 +15989,7 @@ function Input({ type, value, disabled, placeholder, size, maxLength, onChange,
|
|
|
15989
15989
|
const directionClassName = iconPosition === "left" ? "pl-2" : "flex-row-reverse pr-2";
|
|
15990
15990
|
return /* @__PURE__ */ jsx$1("div", { className: classnames, children: /* @__PURE__ */ jsxs(Card, { className: `flex justify-center items-center rounded-md ${className} ${icon ? directionClassName : ""}`, noBlur: true, noPadding: true, ...cardProps, style: cardProps.style, children: [
|
|
15991
15991
|
icon && /* @__PURE__ */ jsx$1("div", { className: "flex items-center", children: icon }),
|
|
15992
|
-
/* @__PURE__ */ jsx$1("input", { className: inputClassName, onChange: inputUpdated, placeholder, value, disabled, type,
|
|
15992
|
+
/* @__PURE__ */ jsx$1("input", { className: inputClassName, onChange: inputUpdated, placeholder, value, disabled, type, maxLength, style: cardProps.style })
|
|
15993
15993
|
] }) });
|
|
15994
15994
|
}
|
|
15995
15995
|
function CustomDay(props) {
|