@ai-matrx/sharing 0.1.5 → 0.1.7
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 +22 -1
- package/dist/access-react.cjs +2 -2
- package/dist/access-react.cjs.map +1 -1
- package/dist/access-react.js +2 -2
- package/dist/access-react.js.map +1 -1
- package/package.json +7 -7
package/dist/access-react.js
CHANGED
|
@@ -616,7 +616,7 @@ function AccessDeniedView({
|
|
|
616
616
|
const absolute = requestability === "absolute" && context.status === "denied";
|
|
617
617
|
const title = headlineOverride?.trim() || (absolute ? "You can't open this here" : headline(context));
|
|
618
618
|
const body = reason?.trim() || (absolute ? "" : explanation(context));
|
|
619
|
-
return /* @__PURE__ */ jsx4("div", { className: "matrx-touch-targets flex h-full min-h-64 w-full items-center justify-center p-6", children: /* @__PURE__ */ jsxs4("div", { className: "w-full max-w-xl", children: [
|
|
619
|
+
return /* @__PURE__ */ jsx4("div", { "data-matrx-access-refused": "", className: "matrx-touch-targets flex h-full min-h-64 w-full items-center justify-center p-6", children: /* @__PURE__ */ jsxs4("div", { className: "w-full max-w-xl", children: [
|
|
620
620
|
/* @__PURE__ */ jsxs4("div", { className: "flex items-start gap-4", children: [
|
|
621
621
|
/* @__PURE__ */ jsx4("div", { className: "flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl border border-border bg-muted", children: /* @__PURE__ */ jsx4(StatusIcon, { status: context.status }) }),
|
|
622
622
|
/* @__PURE__ */ jsxs4("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -1047,7 +1047,7 @@ function ForbiddenSurfaceView({
|
|
|
1047
1047
|
homeHref = "/dashboard"
|
|
1048
1048
|
}) {
|
|
1049
1049
|
const unverified = state === "unverified";
|
|
1050
|
-
return /* @__PURE__ */ jsx8("div", { className: "flex h-full min-h-64 w-full items-center justify-center p-6", children: /* @__PURE__ */ jsxs8("div", { className: "w-full max-w-lg", children: [
|
|
1050
|
+
return /* @__PURE__ */ jsx8("div", { "data-matrx-access-refused": "", className: "flex h-full min-h-64 w-full items-center justify-center p-6", children: /* @__PURE__ */ jsxs8("div", { className: "w-full max-w-lg", children: [
|
|
1051
1051
|
/* @__PURE__ */ jsxs8("div", { className: "flex items-start gap-4", children: [
|
|
1052
1052
|
/* @__PURE__ */ jsx8("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ jsx8(Lock3, { className: "h-6 w-6 text-muted-foreground", "aria-hidden": true }) }),
|
|
1053
1053
|
/* @__PURE__ */ jsxs8("div", { className: "min-w-0 flex-1", children: [
|