@oxyhq/services 0.0.31 → 0.0.33
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountSwitcherModal.d.ts","sourceRoot":"","sources":["../../../src/components/auth/AccountSwitcherModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AccountSwitcherModal.d.ts","sourceRoot":"","sources":["../../../src/components/auth/AccountSwitcherModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/B,eAAO,MAAM,oBAAoB;aAEpB,MAAM,IAAI;2CAgFrB,CAAC"}
|
|
@@ -5,6 +5,9 @@ import { motion } from "framer-motion";
|
|
|
5
5
|
import useOxySession from "../../hooks/useOxySession";
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
import Image from "next/image";
|
|
8
|
+
import { HiOutlinePlus } from "react-icons/hi";
|
|
9
|
+
import { PiSignOutBold } from "react-icons/pi";
|
|
10
|
+
import { AiOutlineClose } from "react-icons/ai";
|
|
8
11
|
import getUserById from "../../hooks/getUserById";
|
|
9
12
|
import styles from "./styles/session-owner-modal.module.css";
|
|
10
13
|
export const AccountSwitcherModal = forwardRef(({ onClose }, ref) => {
|
|
@@ -32,7 +35,8 @@ export const AccountSwitcherModal = forwardRef(({ onClose }, ref) => {
|
|
|
32
35
|
duration: 0.2,
|
|
33
36
|
}, className: styles.container, style: style, role: "group" },
|
|
34
37
|
React.createElement("div", { className: "relative z-10 flex flex-col items-center justify-center\n space-y-3 rounded-2xl bg-darkC2 px-5 py-3 text-sm font-medium text-textC\n shadow-md shadow-[#b4bebb]" },
|
|
35
|
-
React.createElement("button", { className: "absolute right-3 top-3 rounded-full bg-darkC2 p-1 hover:bg-darkC" }
|
|
38
|
+
React.createElement("button", { className: "absolute right-3 top-3 rounded-full bg-darkC2 p-1 hover:bg-darkC" },
|
|
39
|
+
React.createElement(AiOutlineClose, { className: "h-5 w-5 rounded-full stroke-2 text-textC" })),
|
|
36
40
|
React.createElement("p", null, session?.user?.email),
|
|
37
41
|
React.createElement("div", { className: "h-20 w-20 rounded-full border" },
|
|
38
42
|
React.createElement(Image, { src: session?.user?.avatar, className: "h-full w-full rounded-full object-center", height: 500, width: 500, draggable: false, alt: "avatar" })),
|
|
@@ -43,8 +47,10 @@ export const AccountSwitcherModal = forwardRef(({ onClose }, ref) => {
|
|
|
43
47
|
React.createElement("button", { className: "rounded-full border border-black px-7 py-2 text-textC2 hover:bg-[#d3dfee]" }, "Manage your Google Account"),
|
|
44
48
|
React.createElement("div", { className: "flex space-x-1" },
|
|
45
49
|
React.createElement("button", { className: "tablet:w-44 flex w-36 items-center space-x-2 rounded-l-full bg-white py-3 pl-3 hover:bg-darkC" },
|
|
50
|
+
React.createElement(HiOutlinePlus, { className: "h-7 w-7 rounded-full bg-darkC2 p-1 text-textC2" }),
|
|
46
51
|
React.createElement("span", null, "Add account")),
|
|
47
52
|
React.createElement("button", { className: "tablet:w-44 flex w-36 items-center space-x-2 rounded-r-full bg-white py-3 pl-3 hover:bg-darkC" },
|
|
53
|
+
React.createElement(PiSignOutBold, { className: "h-6 w-6" }),
|
|
48
54
|
React.createElement("span", null, "Sign out"))),
|
|
49
55
|
React.createElement("div", { className: "flex h-10 items-center space-x-2 text-xs" },
|
|
50
56
|
React.createElement("span", null, "Privacy policy"),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxyhq/services",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://oxy.so/",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"localforage": "^1.10.0",
|
|
48
48
|
"react": "^18.3.1",
|
|
49
49
|
"react-dom": "^18.3.1",
|
|
50
|
+
"react-icons": "^5.2.1",
|
|
50
51
|
"tailwind-merge": "^2.3.0",
|
|
51
52
|
"zod": "^3.23.8",
|
|
52
53
|
"zustand": "^4.5.2"
|