@worldcoin/mini-apps-ui-kit-react 1.0.0-canary.6 → 1.0.0-canary.8
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/dist/components/ColorPicker/ColorPicker.js +10 -16
- package/package.json +5 -1
- package/public/globals.css +2296 -2
@@ -1,35 +1,29 @@
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
2
|
-
import { Item as n, Indicator as
|
3
|
-
import { forwardRef as
|
4
|
-
const f =
|
2
|
+
import { Item as n, Indicator as d, Root as i } from "../../node_modules/.pnpm/@radix-ui_react-radio-group@1.2.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_2u6lfd2xt65wmbxn7lgvaxqbmy/node_modules/@radix-ui/react-radio-group/dist/index.js";
|
3
|
+
import { forwardRef as a } from "react";
|
4
|
+
const f = a(
|
5
5
|
({ value: e, ...r }, o) => /* @__PURE__ */ t(
|
6
6
|
n,
|
7
7
|
{
|
8
8
|
ref: o,
|
9
9
|
value: e,
|
10
|
-
className: "size-[
|
10
|
+
className: "size-[3.25rem] cursor-default rounded-full outline-none flex items-center justify-center relative disabled:opacity-90 disabled:cursor-not-allowed",
|
11
11
|
style: {
|
12
12
|
background: e
|
13
13
|
},
|
14
14
|
...r,
|
15
|
-
children: /* @__PURE__ */ t(
|
16
|
-
i,
|
17
|
-
{
|
18
|
-
className: "absolute flex size-[2.75rem] items-center rounded-full justify-center",
|
19
|
-
style: { boxShadow: `0px 0px 0px 4px ${e}` }
|
20
|
-
}
|
21
|
-
)
|
15
|
+
children: /* @__PURE__ */ t(d, { className: "size-11 rounded-full bg-transparent border-2 border-gray-0" })
|
22
16
|
}
|
23
17
|
)
|
24
|
-
), p =
|
25
|
-
({ value: e, onChange: r, children: o, ...
|
26
|
-
|
18
|
+
), p = a(
|
19
|
+
({ value: e, onChange: r, children: o, ...s }, l) => /* @__PURE__ */ t(
|
20
|
+
i,
|
27
21
|
{
|
28
|
-
ref:
|
22
|
+
ref: l,
|
29
23
|
value: e,
|
30
24
|
onValueChange: r,
|
31
25
|
className: "flex gap-4 items-center",
|
32
|
-
...
|
26
|
+
...s,
|
33
27
|
children: o
|
34
28
|
}
|
35
29
|
)
|
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.
|
3
|
+
"version": "1.0.0-canary.8",
|
4
4
|
"type": "module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -165,6 +165,10 @@
|
|
165
165
|
"types": "./dist/components/CircularIcon/index.d.ts",
|
166
166
|
"default": "./dist/components/CircularIcon/index.js"
|
167
167
|
},
|
168
|
+
"./LiveFeedback": {
|
169
|
+
"types": "./dist/components/LiveFeedback/index.d.ts",
|
170
|
+
"default": "./dist/components/LiveFeedback/index.js"
|
171
|
+
},
|
168
172
|
"./tailwind": {
|
169
173
|
"types": "./dist/tailwind/index.d.ts",
|
170
174
|
"default": "./dist/tailwind/index.js"
|