@chekinapp/ui 0.0.44 → 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 +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -7
- package/dist/index.d.ts +2 -7
- package/dist/index.js +15 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -156,7 +156,6 @@ __export(index_exports, {
|
|
|
156
156
|
InputOTPGroup: () => InputOTPGroup,
|
|
157
157
|
InputOTPSeparator: () => InputOTPSeparator,
|
|
158
158
|
InputOTPSlot: () => InputOTPSlot,
|
|
159
|
-
LABEL_PLACEMENT: () => LABEL_PLACEMENT,
|
|
160
159
|
Label: () => Label,
|
|
161
160
|
LargeModal: () => LargeModal,
|
|
162
161
|
LearnMoreButton: () => LearnMoreButton,
|
|
@@ -6109,10 +6108,17 @@ function Loader({
|
|
|
6109
6108
|
secondary: "text-[#475569]",
|
|
6110
6109
|
ghost: "text-[#94a3b8]"
|
|
6111
6110
|
};
|
|
6112
|
-
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
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
|
+
);
|
|
6116
6122
|
}
|
|
6117
6123
|
|
|
6118
6124
|
// src/metric-card/MetricCard.tsx
|
|
@@ -8515,6 +8521,7 @@ var CircularLoader = import_react60.default.memo(
|
|
|
8515
8521
|
position === "center" && "h-full",
|
|
8516
8522
|
className
|
|
8517
8523
|
),
|
|
8524
|
+
role: "progressbar",
|
|
8518
8525
|
children: [
|
|
8519
8526
|
/* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
8520
8527
|
"svg",
|
|
@@ -9657,13 +9664,6 @@ var Textarea = (0, import_react67.forwardRef)(
|
|
|
9657
9664
|
);
|
|
9658
9665
|
Textarea.displayName = "Textarea";
|
|
9659
9666
|
|
|
9660
|
-
// src/three-dots-loader/constants.ts
|
|
9661
|
-
var LABEL_PLACEMENT = /* @__PURE__ */ ((LABEL_PLACEMENT2) => {
|
|
9662
|
-
LABEL_PLACEMENT2[LABEL_PLACEMENT2["right"] = 0] = "right";
|
|
9663
|
-
LABEL_PLACEMENT2[LABEL_PLACEMENT2["left"] = 1] = "left";
|
|
9664
|
-
return LABEL_PLACEMENT2;
|
|
9665
|
-
})(LABEL_PLACEMENT || {});
|
|
9666
|
-
|
|
9667
9667
|
// src/three-dots-loader/ThreeDotsLoader.tsx
|
|
9668
9668
|
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
9669
9669
|
function Dots({
|
|
@@ -9709,7 +9709,7 @@ function ThreeDotsLoader({
|
|
|
9709
9709
|
color = "#E3E3E3FF",
|
|
9710
9710
|
label = "",
|
|
9711
9711
|
className,
|
|
9712
|
-
labelPlacement =
|
|
9712
|
+
labelPlacement = "right"
|
|
9713
9713
|
}) {
|
|
9714
9714
|
const dots = /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Dots, { color, height, width });
|
|
9715
9715
|
if (label) {
|
|
@@ -9720,7 +9720,8 @@ function ThreeDotsLoader({
|
|
|
9720
9720
|
"flex items-center justify-center gap-x-[13px] [&>div]:text-sm [&>div]:font-bold [&>div]:uppercase [&>div]:text-[#9696b9] [&>div]:opacity-50",
|
|
9721
9721
|
className
|
|
9722
9722
|
),
|
|
9723
|
-
|
|
9723
|
+
role: "progressbar",
|
|
9724
|
+
children: labelPlacement === "right" ? /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_jsx_runtime124.Fragment, { children: [
|
|
9724
9725
|
dots,
|
|
9725
9726
|
/* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { children: label })
|
|
9726
9727
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_jsx_runtime124.Fragment, { children: [
|
|
@@ -13133,7 +13134,6 @@ function getNextEnabledIndex(options, startIndex, step) {
|
|
|
13133
13134
|
InputOTPGroup,
|
|
13134
13135
|
InputOTPSeparator,
|
|
13135
13136
|
InputOTPSlot,
|
|
13136
|
-
LABEL_PLACEMENT,
|
|
13137
13137
|
Label,
|
|
13138
13138
|
LargeModal,
|
|
13139
13139
|
LearnMoreButton,
|