@youngonesworks/ui 0.1.40 → 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.
- package/dist/components/actionIcon/ActionIcon.test.d.ts +1 -0
- package/dist/components/button/Button.test.d.ts +1 -0
- package/dist/icons/IconLoading.test.d.ts +1 -0
- package/dist/index.cjs +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/utils/formatIcon.test.d.ts +1 -0
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -115837,7 +115837,10 @@ const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableStep
|
|
|
115837
115837
|
children: [(index$4 < activeStep || isCompleted) && /* @__PURE__ */ jsx("div", {
|
|
115838
115838
|
className: "flex items-center justify-center text-white",
|
|
115839
115839
|
children: /* @__PURE__ */ jsx(IconCheck, { size: variant === "small" || isMobile ? 7 : 12 })
|
|
115840
|
-
}), index$4 === activeStep && /* @__PURE__ */ jsx("div", {
|
|
115840
|
+
}), index$4 === activeStep && /* @__PURE__ */ jsx("div", {
|
|
115841
|
+
"data-testid": "active-step-indicator",
|
|
115842
|
+
className: `${variant === "small" || isMobile ? "size-1" : "size-2"} bg-light-blue rounded-full`
|
|
115843
|
+
})]
|
|
115841
115844
|
}),
|
|
115842
115845
|
/* @__PURE__ */ jsx("div", {
|
|
115843
115846
|
className: "flex flex-wrap items-center justify-center",
|
|
@@ -115934,9 +115937,9 @@ const TabsBadge = ({ children }) => {
|
|
|
115934
115937
|
const isCircular = typeof children === "number" && children <= 9 || typeof children === "string" && children.length === 1 || false;
|
|
115935
115938
|
return /* @__PURE__ */ jsx("div", {
|
|
115936
115939
|
"data-testid": "tabs-badge",
|
|
115937
|
-
className: clsx_default("bg-pink h-5
|
|
115938
|
-
"w-5 text-center": isCircular,
|
|
115939
|
-
"px-2": !isCircular
|
|
115940
|
+
className: clsx_default("bg-pink h-5 text-xs leading-5 font-medium text-white", {
|
|
115941
|
+
"rounded-full w-5 text-center": isCircular,
|
|
115942
|
+
"rounded px-2": !isCircular
|
|
115940
115943
|
}),
|
|
115941
115944
|
children
|
|
115942
115945
|
});
|