@luxfi/ui 5.3.10 → 5.3.12
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/.env +36 -0
- package/components/auth/login-panel.tsx +3 -8
- package/components/auth/signup-panel.tsx +3 -9
- package/package.json +2 -2
package/.env
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#const firebaseConfig = {
|
|
2
|
+
# apiKey: "AIzaSyDl_yRww3LOmZ2x2M7Se44AZBRgJSf-9gc",
|
|
3
|
+
# authDomain: "luxdefi.firebaseapp.com",
|
|
4
|
+
# projectId: "luxdefi",
|
|
5
|
+
# storageBucket: "luxdefi.appspot.com",
|
|
6
|
+
# messagingSenderId: "945478779578",
|
|
7
|
+
# appId: "1:945478779578:web:4f58d05b0613633288b883",
|
|
8
|
+
# measurementId: "G-G5PCQS4GKF"
|
|
9
|
+
#}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
NEXT_PUBLIC_FIREBASE_API_KEY="AIzaSyDl_yRww3LOmZ2x2M7Se44AZBRgJSf-9gc "
|
|
13
|
+
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN="luxdefi.firebaseapp.com"
|
|
14
|
+
#NEXT_PUBLIC_FIREBASE_DATABASE_URL=
|
|
15
|
+
NEXT_PUBLIC_FIREBASE_PROJECT_ID="luxdefi"
|
|
16
|
+
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET="luxdefi.appspot.com"
|
|
17
|
+
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID="945478779578"
|
|
18
|
+
NEXT_PUBLIC_FIREBASE_APP_ID="1:945478779578:web:4f58d05b0613633288b883"
|
|
19
|
+
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID="G-G5PCQS4GKF"
|
|
20
|
+
NEXT_PUBLIC_HANZO_AUTH_ADMIN_EMAILS=artemisprimedev@gmail.com|zachkelling@gmail.com
|
|
21
|
+
|
|
22
|
+
FIREBASE_PROJECT_ID="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xCboBgfKjmq1ZG\n4mTcifOy1ykQvqrBhDmhFJ/GodffVkwsan+5w3f96wUaWgkPCjzEnIeyr0ppw8ly\n7HxBTN2SwwKBgQCiwQNDrniPw8hLnM4WewJEA10QXJuDs4xrWWusPWFb+vSEJI/9\nqWQeB7+AzNm44esFCC9qbyBrx/4R1AWKbqAtOfWghaAGA+JvBR02+mu9PKUBB9qO\nrahyM4SwBgAwvt64V12RSwSEurW8hr8MBMW1xjE3s6evb78cCnZ6ARHEnwKBgEoq\nxZfE5JDnm1gkM6y0Du5Ks9mNESyfnFH6kCSqcxjAFOyUQ9aGZMwkZBKGfY3Koud/\n78fOdoBJcaeeCySFF+EBWaWKk+UEJe2b+QI0aZRjOMz/RTG74uDZnJ3BHUhDn0TV\n59UD8tdSO59SFHJxHF9gsQliYVfKO2mSTFBbrpKjAoGBAKOMaWf+L7qLk6IPSWt4\nY9K06pw8fXWekzb0Ahd8FqqvTsRrIFRdJZlHyWZu4wXP3IFpz/e14va8ud+nU+2H\n22EEqs2Ozza9I83atuqi3rHIf2WQQmI91mKVVd8rOmh5PeNp8i5ArPyPYYMxoIrT\nrKr2db+8eHvvM5M9Ak9RDLaA\n-----END PRIVATE KEY-----\n"
|
|
24
|
+
FIREBASE_CLIENT_EMAIL="firebase-adminsdk-j81xe@luxdefi.iam.gserviceaccount.com"
|
|
25
|
+
|
|
26
|
+
NEXT_PUBLIC_ETH_PAYMENT_ADDRESS=0xAdf62DADB9E527fb06509842a4266919Fd85d214
|
|
27
|
+
NEXT_PUBLIC_ETH_EXCHANGE_RATE_API=https://api.coinbase.com/v2/prices/ETH-USD/buy
|
|
28
|
+
|
|
29
|
+
NEXT_PUBLIC_SQUARE_APPLICATION_ID=sandbox-sq0idb-DoFjBoegsUjlm4PETGHhbQ
|
|
30
|
+
NEXT_PUBLIC_SQUARE_LOCATION_ID=LK8AFR2MXE4PE
|
|
31
|
+
SQUARE_ACCESS_TOKEN=EAAAl1T-5kT7Rcuq5ENJPVxVmt10gzFWVOkEjfJ_PdE31YVek5iEiM4SzR-dNQ6t
|
|
32
|
+
SQUARE_ENVIRONMENT=sandbox
|
|
33
|
+
|
|
34
|
+
NEXT_PUBLIC_FACEBOOK_PIXEL_ID=123
|
|
35
|
+
NEXT_PUBLIC_GA_MEASUREMENT_ID=123
|
|
36
|
+
NEXT_PUBLIC_LOGIN_SITE_URL=''
|
|
@@ -22,7 +22,7 @@ const LoginPanel: React.FC<{
|
|
|
22
22
|
setIsLogin?: React.Dispatch<React.SetStateAction<boolean>>
|
|
23
23
|
}> = ({
|
|
24
24
|
close,
|
|
25
|
-
getStartedUrl = '/',
|
|
25
|
+
getStartedUrl = 'https://lux.id/account',
|
|
26
26
|
redirectUrl,
|
|
27
27
|
className = '',
|
|
28
28
|
reviews,
|
|
@@ -48,17 +48,12 @@ const LoginPanel: React.FC<{
|
|
|
48
48
|
})
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
let params = new URLSearchParams(url.search)
|
|
53
|
-
params.append('auth-token', token)
|
|
54
|
-
url.search = params.toString()
|
|
55
|
-
|
|
56
|
-
redirectUrl && router.push(url.toString())
|
|
51
|
+
redirectUrl && router.push(redirectUrl)
|
|
57
52
|
}
|
|
58
53
|
|
|
59
54
|
return (
|
|
60
55
|
<div className={cn('grid grid-cols-1 md:grid-cols-2', className)}>
|
|
61
|
-
<div className='hidden md:flex w-full h-full bg-
|
|
56
|
+
<div className='hidden md:flex w-full h-full bg-[radial-gradient(circle_at_24.1%_68.8%_,_rgba(15,14,14,0)_,_rgba(9,9,9,99.4))] flex-row items-end justify-end overflow-y-auto min-h-screen'>
|
|
62
57
|
<div className='h-full w-full max-w-[750px] px-8 pt-0'>
|
|
63
58
|
<div className='h-full w-full max-w-[550px] mx-auto flex flex-col justify-between min-h-screen py-10'>
|
|
64
59
|
<Button
|
|
@@ -23,7 +23,7 @@ const SignupPanel: React.FC<{
|
|
|
23
23
|
setIsLogin?: React.Dispatch<React.SetStateAction<boolean>>
|
|
24
24
|
}> = ({
|
|
25
25
|
close,
|
|
26
|
-
getStartedUrl = '/',
|
|
26
|
+
getStartedUrl = 'https://lux.id/account',
|
|
27
27
|
redirectUrl,
|
|
28
28
|
className = '',
|
|
29
29
|
reviews,
|
|
@@ -50,18 +50,12 @@ const SignupPanel: React.FC<{
|
|
|
50
50
|
})
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
let params = new URLSearchParams(url.search)
|
|
55
|
-
params.append('auth-token', token)
|
|
56
|
-
|
|
57
|
-
url.search = params.toString()
|
|
58
|
-
|
|
59
|
-
redirectUrl && router.push(url.toString())
|
|
53
|
+
redirectUrl && router.push(redirectUrl)
|
|
60
54
|
}
|
|
61
55
|
|
|
62
56
|
return (
|
|
63
57
|
<div className={cn('grid grid-cols-1 md:grid-cols-2', className)}>
|
|
64
|
-
<div className='hidden md:flex w-full h-full bg-
|
|
58
|
+
<div className='hidden md:flex w-full h-full bg-[radial-gradient(circle_at_24.1%_68.8%_,_rgba(15,14,14,0)_,_rgba(9,9,9,99.4))] flex-row items-end justify-end overflow-y-auto min-h-screen'>
|
|
65
59
|
<div className='h-full w-full max-w-[750px] px-8 pt-0'>
|
|
66
60
|
<div className='h-full w-full max-w-[550px] mx-auto flex flex-col justify-between min-h-screen py-10'>
|
|
67
61
|
<Button
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxfi/ui",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.12",
|
|
4
4
|
"description": "Library that contains shared UI primitives, support for a common design system, and other boilerplate support.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@types/node": "^20.12.12",
|
|
41
41
|
"cookies-next": "^4.1.1",
|
|
42
42
|
"date-fns": "^3.6.0",
|
|
43
|
-
"embla-carousel-autoplay": "^8.1.
|
|
43
|
+
"embla-carousel-autoplay": "^8.1.6",
|
|
44
44
|
"firebase": "10.12.0",
|
|
45
45
|
"framer-motion": "^11.2.12",
|
|
46
46
|
"react-device-detect": "^2.2.3",
|