@worldcoin/mini-apps-ui-kit-react 1.0.0-canary.12 → 1.0.0-canary.14
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.
@@ -11,7 +11,7 @@ const b = p, x = l.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e(
|
|
11
11
|
{
|
12
12
|
ref: t,
|
13
13
|
className: s(
|
14
|
-
"fixed top-
|
14
|
+
"fixed top-6 z-[100] flex max-h-screen w-full p-2 right-0 left-0 flex-col",
|
15
15
|
r
|
16
16
|
),
|
17
17
|
...a
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { jsx as
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import { cva as m } from "../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
3
3
|
import { forwardRef as v } from "react";
|
4
4
|
import { cn as o } from "../../lib/utils.js";
|
5
5
|
const c = m("", {
|
6
6
|
variants: {
|
7
7
|
variant: {
|
8
|
-
display: "font-sans font-semibold leading-narrow tracking-[-0.02em]",
|
9
|
-
heading: "font-sans font-semibold leading-narrow tracking-[-0.01em]",
|
10
|
-
subtitle: "font-sans font-medium leading-narrow",
|
11
|
-
label: "font-sans font-semibold leading-narrow",
|
12
|
-
body: "font-sans font-normal leading-compact",
|
13
|
-
number: "font-sans font-semibold"
|
8
|
+
display: "font-sans font-semibold leading-narrow tracking-[-0.02em] antialiased",
|
9
|
+
heading: "font-sans font-semibold leading-narrow tracking-[-0.01em] antialiased",
|
10
|
+
subtitle: "font-sans font-medium leading-narrow antialiased",
|
11
|
+
label: "font-sans font-semibold leading-narrow antialiased",
|
12
|
+
body: "font-sans font-normal leading-compact antialiased",
|
13
|
+
number: "font-sans font-semibold antialiased"
|
14
14
|
},
|
15
15
|
level: {
|
16
16
|
1: "",
|
@@ -144,11 +144,11 @@ const c = m("", {
|
|
144
144
|
level: 2
|
145
145
|
}
|
146
146
|
}), x = v(
|
147
|
-
({ variant: a = "body", level: e = 2, children: t, as: l = "p", className: s, ...n },
|
147
|
+
({ variant: a = "body", level: e = 2, children: t, as: l = "p", className: s, ...n }, i) => /* @__PURE__ */ r(
|
148
148
|
l,
|
149
149
|
{
|
150
150
|
className: o(c({ variant: a, level: e, className: s })),
|
151
|
-
ref:
|
151
|
+
ref: i,
|
152
152
|
...n,
|
153
153
|
children: t
|
154
154
|
}
|