@harshit-wander/component-lib 1.1.4 → 1.1.6

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.js CHANGED
@@ -475,19 +475,19 @@ var FeatureCard = forwardRef(
475
475
  style,
476
476
  ...rest,
477
477
  children: [
478
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-sm px-lg pt-lg flex-1 min-h-0", children: [
478
+ /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex flex-col gap-sm px-lg pt-lg", children: [
479
479
  /* @__PURE__ */ jsx("h3", { className: "m-0 text-lg font-semibold leading-card text-primary", children: h }),
480
480
  d ? /* @__PURE__ */ jsx("p", { className: "m-0 text-sm font-normal leading-body text-text", children: d }) : null
481
481
  ] }),
482
- imageUrl ? /* @__PURE__ */ jsx("div", { className: "relative flex justify-center items-end h-[45%] shrink-0 overflow-hidden bg-brand-shade-1", children: /* @__PURE__ */ jsx(
482
+ imageUrl ? /* @__PURE__ */ jsx(
483
483
  "img",
484
484
  {
485
485
  src: imageUrl,
486
486
  alt: "",
487
487
  "aria-hidden": "true",
488
- className: "w-full h-full object-contain object-bottom"
488
+ className: "absolute bottom-0 left-0 w-full pointer-events-none"
489
489
  }
490
- ) }) : null
490
+ ) : null
491
491
  ]
492
492
  }
493
493
  )
@@ -660,7 +660,7 @@ var PackageCard = forwardRef(
660
660
  }
661
661
  ),
662
662
  /* @__PURE__ */ jsxs("div", { className: "relative inline-flex items-center self-start gap-xs py-[4px] px-md bg-accent border border-surface rounded-full", children: [
663
- originalPrice ? /* @__PURE__ */ jsx("span", { className: "relative text-[7px] font-normal leading-18 text-strike after:content-[''] after:absolute after:left-[-2px] after:right-[-2px] after:top-1/2 after:h-px after:bg-strike after:rotate-[-8deg]", children: originalPrice }) : null,
663
+ originalPrice ? /* @__PURE__ */ jsx("span", { className: "relative text-2xs font-normal leading-18 text-strike after:content-[''] after:absolute after:left-[-2px] after:right-[-2px] after:top-1/2 after:h-px after:bg-strike after:rotate-[-8deg]", children: originalPrice }) : null,
664
664
  /* @__PURE__ */ jsx("span", { className: "text-sm font-semibold leading-4 text-text-deep", children: currentPrice }),
665
665
  /* @__PURE__ */ jsx("span", { className: "text-xs font-normal leading-4 text-text-deep", children: priceSuffix })
666
666
  ] }),
@@ -946,7 +946,7 @@ var CategoryDropdown = ({
946
946
  onMouseEnter,
947
947
  onMouseLeave,
948
948
  className: cn(
949
- "absolute top-full left-0 grid-cols-3 [grid-template-columns:repeat(3,minmax(160px,1fr))] gap-x-xl gap-y-sm min-w-[720px] mt-3 p-xl bg-surface text-text rounded-lg shadow-card",
949
+ "absolute top-full left-0 grid-cols-3 [grid-template-columns:repeat(3,minmax(160px,1fr))] gap-x-xl gap-y-xs min-w-[720px] mt-3 p-xl bg-surface text-text rounded-lg shadow-card",
950
950
  open ? "grid" : "hidden"
951
951
  ),
952
952
  children: items.map((item) => /* @__PURE__ */ jsxs(
@@ -954,7 +954,7 @@ var CategoryDropdown = ({
954
954
  {
955
955
  href: item.href,
956
956
  onClick: onItemClick,
957
- className: "inline-flex items-center gap-sm px-3 py-2 border border-transparent rounded-md text-text no-underline text-md font-normal leading-button transition-colors duration-150 ease-in hover:border-primary hover:text-primary focus-visible:border-primary focus-visible:text-primary focus-visible:outline-none",
957
+ className: "inline-flex items-center gap-sm px-3 py-1 border border-transparent rounded-md text-text no-underline text-md font-normal leading-button transition-colors duration-150 ease-in hover:border-primary hover:text-primary focus-visible:border-primary focus-visible:text-primary focus-visible:outline-none",
958
958
  children: [
959
959
  item.icon ? /* @__PURE__ */ jsx(
960
960
  "span",
@@ -1455,7 +1455,7 @@ var ContactSection = forwardRef(
1455
1455
  ref,
1456
1456
  className: cn(
1457
1457
  "flex w-full justify-center",
1458
- "lg:items-center lg:gap-24 lg:px-xl lg:py-xl lg:bg-primary lg:rounded-lg lg:shadow-card",
1458
+ "lg:items-center lg:justify-evenly lg:py-xl lg:bg-primary lg:rounded-lg lg:shadow-card",
1459
1459
  className
1460
1460
  ),
1461
1461
  ...rest,
@@ -1468,7 +1468,7 @@ var ContactSection = forwardRef(
1468
1468
  children: illustration
1469
1469
  }
1470
1470
  ),
1471
- /* @__PURE__ */ jsx("div", { className: "shrink-0 flex justify-center", children: /* @__PURE__ */ jsx(
1471
+ /* @__PURE__ */ jsx("div", { className: "shrink-0 flex justify-center w-full px-md lg:w-auto lg:px-0", children: /* @__PURE__ */ jsx(
1472
1472
  ContactForm,
1473
1473
  {
1474
1474
  eyebrow,