@ai-matrx/design-system 0.86.347 → 0.86.349
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/CHANGELOG.md +15 -1
- package/dist/index.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6004,7 +6004,7 @@ var LoadingSpinner = ({
|
|
|
6004
6004
|
"flex items-center justify-center bg-background",
|
|
6005
6005
|
fullscreen && "h-dvh w-full",
|
|
6006
6006
|
className
|
|
6007
|
-
), children: [
|
|
6007
|
+
), "aria-busy": "true", children: [
|
|
6008
6008
|
overlay && /* @__PURE__ */ jsx33("div", { className: "absolute inset-0 bg-background/80 backdrop-blur-sm z-50" }),
|
|
6009
6009
|
/* @__PURE__ */ jsx33("div", { className: cn(
|
|
6010
6010
|
"flex flex-col items-center justify-center",
|
|
@@ -6012,10 +6012,13 @@ var LoadingSpinner = ({
|
|
|
6012
6012
|
), children: renderWorkflow() })
|
|
6013
6013
|
] });
|
|
6014
6014
|
}
|
|
6015
|
-
return
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6015
|
+
return (
|
|
6016
|
+
// aria-busy: a spinner is a stand-in, and whatever measures a settled layout waits for it.
|
|
6017
|
+
/* @__PURE__ */ jsx33("div", { className: cn("flex items-center", className), "aria-busy": "true", children: variant === "workflow" ? renderWorkflow() : /* @__PURE__ */ jsxs19(Fragment8, { children: [
|
|
6018
|
+
renderSpinner(),
|
|
6019
|
+
showMessage && /* @__PURE__ */ jsx33("span", { className: cn("ml-3 text-muted-foreground", sizeClasses2.text), children: message || getDefaultMessage() })
|
|
6020
|
+
] }) })
|
|
6021
|
+
);
|
|
6019
6022
|
};
|
|
6020
6023
|
|
|
6021
6024
|
// src/mini-loader.tsx
|