ingeniuscliq-core 0.1.41 → 0.1.43
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 +31 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22802,22 +22802,45 @@ const kD = /* @__PURE__ */ E.forwardRef(function(t, n) {
|
|
|
22802
22802
|
}
|
|
22803
22803
|
);
|
|
22804
22804
|
}, ND = ({ step: e, isCompleted: t, isActive: n, firstStep: r, lastStep: o }) => /* @__PURE__ */ $("div", { className: "flex flex-col justify-center w-full items-center gap-2 relative", children: [
|
|
22805
|
-
!r && /* @__PURE__ */ d("div", { className: "absolute top-[calc(25%+4px)] left-0 w-1/2 h-0.25 bg-customGray -translate-x-full" }),
|
|
22806
|
-
!o && /* @__PURE__ */ d("div", { className: "absolute top-[calc(25%+4px)] right-0 w-1/2 h-0.25 bg-customGray translate-x-full" }),
|
|
22805
|
+
!r && /* @__PURE__ */ d("div", { className: "absolute top-0 bottom-0 my-auto md:bottom-auto md:top-[calc(25%+4px)] left-0 w-1/2 h-0.25 bg-customGray -translate-x-full" }),
|
|
22806
|
+
!o && /* @__PURE__ */ d("div", { className: "absolute top-0 bottom-0 my-auto md:bottom-auto md:top-[calc(25%+4px)] right-0 w-1/2 h-0.25 bg-customGray translate-x-full" }),
|
|
22807
22807
|
/* @__PURE__ */ d("div", { className: "relative flex items-center justify-center z-10 bg-white", children: /* @__PURE__ */ d(
|
|
22808
22808
|
"div",
|
|
22809
22809
|
{
|
|
22810
|
-
className:
|
|
22811
|
-
|
|
22812
|
-
|
|
22813
|
-
|
|
22810
|
+
className: "w-10 h-10 p-1 rounded-full border flex items-center justify-center",
|
|
22811
|
+
style: t ? {
|
|
22812
|
+
border: "var(--color-stepperCompleteBgColor)",
|
|
22813
|
+
background: "var(--color-stepperCompleteBgColor)",
|
|
22814
|
+
color: "var(--color-stepperCompleteTextColor)"
|
|
22815
|
+
} : n ? {
|
|
22816
|
+
border: "var(--color-stepperActiveBgColor)",
|
|
22817
|
+
background: "var(--color-stepperActiveBgColor)",
|
|
22818
|
+
color: "var(--color-stepperActiveTextColor)"
|
|
22819
|
+
} : {
|
|
22820
|
+
border: "var(--color-stepperInactiveBgColor)",
|
|
22821
|
+
background: "var(--color-stepperInactiveBgColor)",
|
|
22822
|
+
color: "var(--color-stepperInactiveTextColor)"
|
|
22823
|
+
},
|
|
22814
22824
|
children: t ? /* @__PURE__ */ d(ts, { className: "w-4 h-4" }) : e.icon
|
|
22815
22825
|
}
|
|
22816
22826
|
) }),
|
|
22817
|
-
/* @__PURE__ */ d(
|
|
22827
|
+
/* @__PURE__ */ d(
|
|
22828
|
+
"p",
|
|
22829
|
+
{
|
|
22830
|
+
className: "hidden md:block text-sm font-medium",
|
|
22831
|
+
style: t ? {
|
|
22832
|
+
color: "var(--color-stepperCompleteTextColor)"
|
|
22833
|
+
} : n ? {
|
|
22834
|
+
color: "var(--color-stepperActiveTextColor)"
|
|
22835
|
+
} : {
|
|
22836
|
+
color: "var(--color-stepperInactiveTextColor)"
|
|
22837
|
+
},
|
|
22838
|
+
children: e.title
|
|
22839
|
+
}
|
|
22840
|
+
)
|
|
22818
22841
|
] });
|
|
22819
22842
|
function g9({ steps: e, currentStep: t }) {
|
|
22820
|
-
return /* @__PURE__ */ d("div", { className: "w-full max-w-3xl mx-auto", children: /* @__PURE__ */ d("div", { className: "flex flex-
|
|
22843
|
+
return /* @__PURE__ */ d("div", { className: "w-full max-w-3xl mx-auto", children: /* @__PURE__ */ d("div", { className: "flex flex-row justify-between items-center gap-4 mb-8", children: e.map((n, r) => /* @__PURE__ */ d(ub, { children: /* @__PURE__ */ d(
|
|
22821
22844
|
ND,
|
|
22822
22845
|
{
|
|
22823
22846
|
step: n,
|