azeriand-library 1.17.3 → 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 +5 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +5 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/styles.css +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
|
|
16025
|
-
const
|
|
16026
|
-
|
|
16027
|
-
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: [
|
|
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" : ""}`;
|
|
16025
|
+
const directionClassName = iconPosition === "left" ? "pl-3" : "flex-row-reverse pr-3";
|
|
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;
|
|
@@ -17899,7 +17898,7 @@ function Timeline({ children, faded, ...cardProps }) {
|
|
|
17899
17898
|
WebkitMaskImage: "linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%)",
|
|
17900
17899
|
maskImage: "linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%)"
|
|
17901
17900
|
};
|
|
17902
|
-
return /* @__PURE__ */ jsx$1(Card, { className: "rounded-sm", noPadding: true, appearance: "ghost", ...cardProps, style: { ...cardProps.style, ...timelineStyle }, children: /* @__PURE__ */ jsx$1("ul", { className: "vertical-line list-disc font-bold text-start relative", style: { paddingInlineStart: 16.75 }, children }) });
|
|
17901
|
+
return /* @__PURE__ */ jsx$1(Card, { className: "rounded-sm", noPadding: true, appearance: "ghost", ...cardProps, style: faded ? { ...cardProps.style || {}, ...timelineStyle } : { ...cardProps.style || {} }, children: /* @__PURE__ */ jsx$1("ul", { className: "vertical-line list-disc font-bold text-start relative", style: { paddingInlineStart: 16.75 }, children }) });
|
|
17903
17902
|
}
|
|
17904
17903
|
function TlListItem({ label, badge, ...cardProps }) {
|
|
17905
17904
|
return /* @__PURE__ */ jsx$1("li", { children: /* @__PURE__ */ jsx$1(Card, { noBlur: true, appearance: "ghost", noPadding: true, ...cardProps, children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center gap-x-[1rem] text-[1rem]", children: [
|