azeriand-library 1.17.3 → 1.17.4

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 CHANGED
@@ -16022,8 +16022,8 @@ function Input({ type, value, disabled, placeholder, maxLength, onChange, iconPo
16022
16022
  onChange == null ? void 0 : onChange(ev.target.value);
16023
16023
  }
16024
16024
  const classnames = `flex`;
16025
- const inputClassName = `flex justify-center items-center border-none bg-transparent py-[0.5rem] px-[1rem] m-0 w-full ${centerText ? "text-center" : ""}`;
16026
- const directionClassName = iconPosition === "left" ? "pl-2" : "flex-row-reverse pr-2";
16025
+ 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
+ const directionClassName = iconPosition === "left" ? "pl-3" : "flex-row-reverse pr-3";
16027
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: [
16028
16028
  icon && /* @__PURE__ */ jsx$1("div", { className: "flex items-center", children: icon }),
16029
16029
  /* @__PURE__ */ jsx$1("input", { className: inputClassName, onChange: inputUpdated, placeholder, value, disabled, type, maxLength, style: cardProps.style })
@@ -17899,7 +17899,7 @@ function Timeline({ children, faded, ...cardProps }) {
17899
17899
  WebkitMaskImage: "linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%)",
17900
17900
  maskImage: "linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%)"
17901
17901
  };
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 }) });
17902
+ 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
17903
  }
17904
17904
  function TlListItem({ label, badge, ...cardProps }) {
17905
17905
  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: [