@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.cjs
CHANGED
|
@@ -115835,7 +115835,10 @@ const Stepper = ({ steps, setStep = () => {}, variant = "default", clickableStep
|
|
|
115835
115835
|
children: [(index$4 < activeStep || isCompleted) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115836
115836
|
className: "flex items-center justify-center text-white",
|
|
115837
115837
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCheck, { size: variant === "small" || isMobile ? 7 : 12 })
|
|
115838
|
-
}), index$4 === activeStep && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115838
|
+
}), index$4 === activeStep && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115839
|
+
"data-testid": "active-step-indicator",
|
|
115840
|
+
className: `${variant === "small" || isMobile ? "size-1" : "size-2"} bg-light-blue rounded-full`
|
|
115841
|
+
})]
|
|
115839
115842
|
}),
|
|
115840
115843
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115841
115844
|
className: "flex flex-wrap items-center justify-center",
|
|
@@ -115932,9 +115935,9 @@ const TabsBadge = ({ children }) => {
|
|
|
115932
115935
|
const isCircular = typeof children === "number" && children <= 9 || typeof children === "string" && children.length === 1 || false;
|
|
115933
115936
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
115934
115937
|
"data-testid": "tabs-badge",
|
|
115935
|
-
className: clsx_default("bg-pink h-5
|
|
115936
|
-
"w-5 text-center": isCircular,
|
|
115937
|
-
"px-2": !isCircular
|
|
115938
|
+
className: clsx_default("bg-pink h-5 text-xs leading-5 font-medium text-white", {
|
|
115939
|
+
"rounded-full w-5 text-center": isCircular,
|
|
115940
|
+
"rounded px-2": !isCircular
|
|
115938
115941
|
}),
|
|
115939
115942
|
children
|
|
115940
115943
|
});
|