@chekinapp/ui 0.0.45 → 0.0.46
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 +13 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6108,10 +6108,17 @@ function Loader({
|
|
|
6108
6108
|
secondary: "text-[#475569]",
|
|
6109
6109
|
ghost: "text-[#94a3b8]"
|
|
6110
6110
|
};
|
|
6111
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
6112
|
+
"div",
|
|
6113
|
+
{
|
|
6114
|
+
className: cn("flex flex-col items-center justify-center gap-2", className),
|
|
6115
|
+
role: "progressbar",
|
|
6116
|
+
children: [
|
|
6117
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("animate-spin", sizeClasses3[size], variantClasses[variant]), children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_lucide_react22.Loader2, { className: "h-full w-full" }) }),
|
|
6118
|
+
showText && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: cn(textSizeClasses[size], "font-medium text-[#475569]"), children: text || t("loading") })
|
|
6119
|
+
]
|
|
6120
|
+
}
|
|
6121
|
+
);
|
|
6115
6122
|
}
|
|
6116
6123
|
|
|
6117
6124
|
// src/metric-card/MetricCard.tsx
|
|
@@ -8514,6 +8521,7 @@ var CircularLoader = import_react60.default.memo(
|
|
|
8514
8521
|
position === "center" && "h-full",
|
|
8515
8522
|
className
|
|
8516
8523
|
),
|
|
8524
|
+
role: "progressbar",
|
|
8517
8525
|
children: [
|
|
8518
8526
|
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
8519
8527
|
"svg",
|
|
@@ -9712,6 +9720,7 @@ function ThreeDotsLoader({
|
|
|
9712
9720
|
"flex items-center justify-center gap-x-[13px] [&>div]:text-sm [&>div]:font-bold [&>div]:uppercase [&>div]:text-[#9696b9] [&>div]:opacity-50",
|
|
9713
9721
|
className
|
|
9714
9722
|
),
|
|
9723
|
+
role: "progressbar",
|
|
9715
9724
|
children: labelPlacement === "right" ? /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_jsx_runtime124.Fragment, { children: [
|
|
9716
9725
|
dots,
|
|
9717
9726
|
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { children: label })
|