@worldcoin/mini-apps-ui-kit-react 1.0.0-canary.11 → 1.0.0-canary.13

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.
@@ -17,4 +17,4 @@ interface LiveFeedbackProps {
17
17
  };
18
18
  }
19
19
  export declare function LiveFeedback({ state, children, className, label }: LiveFeedbackProps): import("react/jsx-runtime").JSX.Element;
20
- export default LiveFeedback;
20
+ export {};
@@ -3,8 +3,8 @@ import { cn as n } from "../../lib/utils.js";
3
3
  import { Fail as f } from "../Icons/Fail.js";
4
4
  import { Success as p } from "../Icons/Success.js";
5
5
  import { Spinner as t } from "../Spinner/Spinner.js";
6
- import { Typography as d } from "../Typography/Typography.js";
7
- function x({ state: e, children: m, className: o, label: i }) {
6
+ import { Typography as m } from "../Typography/Typography.js";
7
+ function N({ state: e, children: d, className: o, label: i }) {
8
8
  return /* @__PURE__ */ s("div", { className: n("relative", o), children: [
9
9
  /* @__PURE__ */ r(
10
10
  "div",
@@ -14,7 +14,7 @@ function x({ state: e, children: m, className: o, label: i }) {
14
14
  e && "invisible"
15
15
  // Hide children but preserve space
16
16
  ),
17
- children: m
17
+ children: d
18
18
  }
19
19
  ),
20
20
  e && /* @__PURE__ */ s(
@@ -28,15 +28,15 @@ function x({ state: e, children: m, className: o, label: i }) {
28
28
  children: [
29
29
  e === "pending" && /* @__PURE__ */ s(c, { children: [
30
30
  /* @__PURE__ */ r(t, { className: "size-6" }),
31
- (i == null ? void 0 : i.pending) && /* @__PURE__ */ r(d, { variant: "label", level: 2, children: i.pending })
31
+ (i == null ? void 0 : i.pending) && /* @__PURE__ */ r(m, { variant: "label", level: 2, children: i.pending })
32
32
  ] }),
33
33
  e === "success" && /* @__PURE__ */ s(c, { children: [
34
34
  /* @__PURE__ */ r(p, { className: "size-6" }),
35
- (i == null ? void 0 : i.success) && /* @__PURE__ */ r(d, { variant: "label", level: 2, children: i.success })
35
+ (i == null ? void 0 : i.success) && /* @__PURE__ */ r(m, { variant: "label", level: 2, children: i.success })
36
36
  ] }),
37
37
  e === "failed" && /* @__PURE__ */ s(c, { children: [
38
38
  /* @__PURE__ */ r(f, { className: "size-6" }),
39
- (i == null ? void 0 : i.failed) && /* @__PURE__ */ r(d, { variant: "label", level: 2, children: i.failed })
39
+ (i == null ? void 0 : i.failed) && /* @__PURE__ */ r(m, { variant: "label", level: 2, children: i.failed })
40
40
  ] })
41
41
  ]
42
42
  }
@@ -44,6 +44,5 @@ function x({ state: e, children: m, className: o, label: i }) {
44
44
  ] });
45
45
  }
46
46
  export {
47
- x as LiveFeedback,
48
- x as default
47
+ N as LiveFeedback
49
48
  };
@@ -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-0 z-[100] flex max-h-screen w-full p-6 right-0 left-0 flex-col",
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worldcoin/mini-apps-ui-kit-react",
3
- "version": "1.0.0-canary.11",
3
+ "version": "1.0.0-canary.13",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",