@ztwoint/z-ui 0.1.41 → 0.1.42
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.
|
@@ -15,10 +15,10 @@ const h = p("w-fit flex items-center select-none gap-2", {
|
|
|
15
15
|
defaultVariants: {
|
|
16
16
|
state: "active"
|
|
17
17
|
}
|
|
18
|
-
}), u = "rounded-full transition-colors w-4 h-4 border-none",
|
|
18
|
+
}), u = "rounded-full transition-colors w-4 h-4 border-none", v = c.forwardRef(
|
|
19
19
|
({ label: a, state: e = "active", className: o, ...s }, d) => {
|
|
20
20
|
let t, r;
|
|
21
|
-
return e === "completed" ? (t = /* @__PURE__ */ i(f, { fill: "blue", width: 16, height: 16 }), r = "text-neutral-primary leading-none-medium-sm") : e === "active" ? (t = /* @__PURE__ */ i(n, { fill: "blue", width: 16, height: 16 }), r = "text-neutral-primary leading-none-medium-sm") : (t = /* @__PURE__ */ i(n, { fill: "
|
|
21
|
+
return e === "completed" ? (t = /* @__PURE__ */ i(f, { fill: "var(--blue-500)", width: 16, height: 16 }), r = "text-neutral-primary leading-none-medium-sm") : e === "active" ? (t = /* @__PURE__ */ i(n, { fill: "var(--blue-500)", width: 16, height: 16 }), r = "text-neutral-primary leading-none-medium-sm") : (t = /* @__PURE__ */ i(n, { fill: "var(--neutral-500)", width: 16, height: 16 }), r = "text-neutral-secondary leading-none-medium-sm"), /* @__PURE__ */ m(
|
|
22
22
|
"div",
|
|
23
23
|
{
|
|
24
24
|
ref: d,
|
|
@@ -35,7 +35,7 @@ const h = p("w-fit flex items-center select-none gap-2", {
|
|
|
35
35
|
);
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
|
-
|
|
38
|
+
v.displayName = "Z2StepperItem";
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
v as Z2StepperItem
|
|
41
41
|
};
|