@underverse-ui/underverse 1.0.85 → 1.0.86
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/api-reference.json +1 -1
- package/dist/index.cjs +17 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +17 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/api-reference.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -22555,18 +22555,26 @@ function AccessDenied({
|
|
|
22555
22555
|
variant = "destructive",
|
|
22556
22556
|
icon: Icon,
|
|
22557
22557
|
className,
|
|
22558
|
-
children
|
|
22558
|
+
children,
|
|
22559
|
+
overflowHidden = true
|
|
22559
22560
|
}) {
|
|
22560
22561
|
const styles = VARIANT_STYLES[variant];
|
|
22561
22562
|
const UsedIcon = Icon || DEFAULT_ICONS[variant];
|
|
22562
|
-
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
22563
|
-
|
|
22564
|
-
|
|
22565
|
-
|
|
22566
|
-
|
|
22567
|
-
|
|
22568
|
-
|
|
22569
|
-
|
|
22563
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
22564
|
+
Card_default,
|
|
22565
|
+
{
|
|
22566
|
+
className: cn("p-8 text-center shadow-sm", styles.bg, styles.border, className),
|
|
22567
|
+
innerClassName: !overflowHidden ? "overflow-visible" : void 0,
|
|
22568
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "flex flex-col items-center gap-4", children: [
|
|
22569
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: cn("p-3 rounded-lg", styles.bg.replace("/5", "/10")), children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(UsedIcon, { className: cn("w-8 h-8", styles.text) }) }),
|
|
22570
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { children: [
|
|
22571
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("h3", { className: cn("font-semibold mb-2", styles.text), children: title }),
|
|
22572
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: cn(styles.text.replace("text-", "text-") + "/80", "text-sm"), children: description })
|
|
22573
|
+
] }),
|
|
22574
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "mt-2 flex flex-wrap gap-2 justify-center", children })
|
|
22575
|
+
] })
|
|
22576
|
+
}
|
|
22577
|
+
);
|
|
22570
22578
|
}
|
|
22571
22579
|
|
|
22572
22580
|
// src/components/ThemeToggleHeadless.tsx
|