azeriand-library 1.17.4 → 1.17.5
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.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -16021,13 +16021,12 @@ function Input({ type, value, disabled, placeholder, maxLength, onChange, iconPo
|
|
|
16021
16021
|
function inputUpdated(ev) {
|
|
16022
16022
|
onChange == null ? void 0 : onChange(ev.target.value);
|
|
16023
16023
|
}
|
|
16024
|
-
const classnames = `flex`;
|
|
16025
16024
|
const inputClassName = `flex justify-center items-center border-none bg-transparent py-[0.5rem] ${iconPosition && icon ? "px-[0.5rem]" : "px-[1rem]"} m-0 w-full ${centerText ? "text-center" : ""}`;
|
|
16026
16025
|
const directionClassName = iconPosition === "left" ? "pl-3" : "flex-row-reverse pr-3";
|
|
16027
|
-
return /* @__PURE__ */
|
|
16026
|
+
return /* @__PURE__ */ jsxs(Card, { className: `flex justify-center items-center rounded-md ${className} ${icon ? directionClassName : ""}`, noBlur: true, noPadding: true, ...cardProps, style: cardProps.style, children: [
|
|
16028
16027
|
icon && /* @__PURE__ */ jsx$1("div", { className: "flex items-center", children: icon }),
|
|
16029
16028
|
/* @__PURE__ */ jsx$1("input", { className: inputClassName, onChange: inputUpdated, placeholder, value, disabled, type, maxLength, style: cardProps.style })
|
|
16030
|
-
] })
|
|
16029
|
+
] });
|
|
16031
16030
|
}
|
|
16032
16031
|
function CustomDay(props) {
|
|
16033
16032
|
const { highlightedDays = [], day, outsideCurrentMonth, ...other } = props;
|