@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.js
CHANGED
|
@@ -5794,10 +5794,17 @@ function Loader({
|
|
|
5794
5794
|
secondary: "text-[#475569]",
|
|
5795
5795
|
ghost: "text-[#94a3b8]"
|
|
5796
5796
|
};
|
|
5797
|
-
return /* @__PURE__ */ jsxs45(
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5797
|
+
return /* @__PURE__ */ jsxs45(
|
|
5798
|
+
"div",
|
|
5799
|
+
{
|
|
5800
|
+
className: cn("flex flex-col items-center justify-center gap-2", className),
|
|
5801
|
+
role: "progressbar",
|
|
5802
|
+
children: [
|
|
5803
|
+
/* @__PURE__ */ jsx72("div", { className: cn("animate-spin", sizeClasses3[size], variantClasses[variant]), children: /* @__PURE__ */ jsx72(Loader22, { className: "h-full w-full" }) }),
|
|
5804
|
+
showText && /* @__PURE__ */ jsx72("p", { className: cn(textSizeClasses[size], "font-medium text-[#475569]"), children: text || t("loading") })
|
|
5805
|
+
]
|
|
5806
|
+
}
|
|
5807
|
+
);
|
|
5801
5808
|
}
|
|
5802
5809
|
|
|
5803
5810
|
// src/metric-card/MetricCard.tsx
|
|
@@ -8205,6 +8212,7 @@ var CircularLoader = React26.memo(
|
|
|
8205
8212
|
position === "center" && "h-full",
|
|
8206
8213
|
className
|
|
8207
8214
|
),
|
|
8215
|
+
role: "progressbar",
|
|
8208
8216
|
children: [
|
|
8209
8217
|
/* @__PURE__ */ jsxs67(
|
|
8210
8218
|
"svg",
|
|
@@ -9408,6 +9416,7 @@ function ThreeDotsLoader({
|
|
|
9408
9416
|
"flex items-center justify-center gap-x-[13px] [&>div]:text-sm [&>div]:font-bold [&>div]:uppercase [&>div]:text-[#9696b9] [&>div]:opacity-50",
|
|
9409
9417
|
className
|
|
9410
9418
|
),
|
|
9419
|
+
role: "progressbar",
|
|
9411
9420
|
children: labelPlacement === "right" ? /* @__PURE__ */ jsxs80(Fragment11, { children: [
|
|
9412
9421
|
dots,
|
|
9413
9422
|
/* @__PURE__ */ jsx122("div", { children: label })
|