@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.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -477,19 +477,19 @@ var FeatureCard = react.forwardRef(
|
|
|
477
477
|
style,
|
|
478
478
|
...rest,
|
|
479
479
|
children: [
|
|
480
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-sm px-lg pt-lg
|
|
480
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative z-10 flex flex-col gap-sm px-lg pt-lg", children: [
|
|
481
481
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "m-0 text-lg font-semibold leading-card text-primary", children: h }),
|
|
482
482
|
d ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-sm font-normal leading-body text-text", children: d }) : null
|
|
483
483
|
] }),
|
|
484
|
-
imageUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
484
|
+
imageUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
485
485
|
"img",
|
|
486
486
|
{
|
|
487
487
|
src: imageUrl,
|
|
488
488
|
alt: "",
|
|
489
489
|
"aria-hidden": "true",
|
|
490
|
-
className: "
|
|
490
|
+
className: "absolute bottom-0 left-0 w-full pointer-events-none"
|
|
491
491
|
}
|
|
492
|
-
)
|
|
492
|
+
) : null
|
|
493
493
|
]
|
|
494
494
|
}
|
|
495
495
|
)
|
|
@@ -662,7 +662,7 @@ var PackageCard = react.forwardRef(
|
|
|
662
662
|
}
|
|
663
663
|
),
|
|
664
664
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative inline-flex items-center self-start gap-xs py-[4px] px-md bg-accent border border-surface rounded-full", children: [
|
|
665
|
-
originalPrice ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative text-
|
|
665
|
+
originalPrice ? /* @__PURE__ */ jsxRuntime.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,
|
|
666
666
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold leading-4 text-text-deep", children: currentPrice }),
|
|
667
667
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-normal leading-4 text-text-deep", children: priceSuffix })
|
|
668
668
|
] }),
|
|
@@ -948,7 +948,7 @@ var CategoryDropdown = ({
|
|
|
948
948
|
onMouseEnter,
|
|
949
949
|
onMouseLeave,
|
|
950
950
|
className: cn(
|
|
951
|
-
"absolute top-full left-0 grid-cols-3 [grid-template-columns:repeat(3,minmax(160px,1fr))] gap-x-xl gap-y-
|
|
951
|
+
"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",
|
|
952
952
|
open ? "grid" : "hidden"
|
|
953
953
|
),
|
|
954
954
|
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -956,7 +956,7 @@ var CategoryDropdown = ({
|
|
|
956
956
|
{
|
|
957
957
|
href: item.href,
|
|
958
958
|
onClick: onItemClick,
|
|
959
|
-
className: "inline-flex items-center gap-sm px-3 py-
|
|
959
|
+
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",
|
|
960
960
|
children: [
|
|
961
961
|
item.icon ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
962
962
|
"span",
|
|
@@ -1457,7 +1457,7 @@ var ContactSection = react.forwardRef(
|
|
|
1457
1457
|
ref,
|
|
1458
1458
|
className: cn(
|
|
1459
1459
|
"flex w-full justify-center",
|
|
1460
|
-
"lg:items-center lg:
|
|
1460
|
+
"lg:items-center lg:justify-evenly lg:py-xl lg:bg-primary lg:rounded-lg lg:shadow-card",
|
|
1461
1461
|
className
|
|
1462
1462
|
),
|
|
1463
1463
|
...rest,
|
|
@@ -1470,7 +1470,7 @@ var ContactSection = react.forwardRef(
|
|
|
1470
1470
|
children: illustration
|
|
1471
1471
|
}
|
|
1472
1472
|
),
|
|
1473
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0 flex justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1473
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0 flex justify-center w-full px-md lg:w-auto lg:px-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1474
1474
|
ContactForm,
|
|
1475
1475
|
{
|
|
1476
1476
|
eyebrow,
|