@oxyhq/services 0.0.72 → 0.0.74
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/auth/AccountSwitcherModal.js +1 -1
- package/dist/components/auth/SessionOwnerButton.d.ts.map +1 -1
- package/dist/components/auth/SignInButton.js +1 -1
- package/dist/components/elements/ellipsis-wrapper/components/{ellipsis-wrapper.d.ts → EllipsisWrapper.d.ts} +1 -1
- package/dist/components/elements/ellipsis-wrapper/components/EllipsisWrapper.d.ts.map +1 -0
- package/dist/components/elements/ellipsis-wrapper/index.d.ts +1 -1
- package/dist/components/elements/ellipsis-wrapper/index.d.ts.map +1 -1
- package/dist/components/elements/ellipsis-wrapper/index.js +1 -1
- package/dist/components/elements/modal/components/confirmation-modal.js +1 -1
- package/dist/components/elements/modal/components/modal.js +1 -1
- package/dist/features/profile/components/user-name.js +1 -1
- package/dist/features/profile/components/user-username.js +1 -1
- package/package.json +3 -2
- package/dist/components/elements/ellipsis-wrapper/components/ellipsis-wrapper.d.ts.map +0 -1
- package/dist/types.d.ts +0 -2
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -1
- /package/dist/components/elements/ellipsis-wrapper/components/{ellipsis-wrapper.js → EllipsisWrapper.js} +0 -0
|
@@ -9,7 +9,7 @@ import { PiSignOutBold } from "react-icons/pi";
|
|
|
9
9
|
import { AiOutlineClose } from "react-icons/ai";
|
|
10
10
|
import { Avatar } from "../../features/profile";
|
|
11
11
|
import getUserById from "../../hooks/getUserById";
|
|
12
|
-
import styles from "./styles/account-switcher-modal.module.
|
|
12
|
+
import styles from "./styles/account-switcher-modal.module.scss";
|
|
13
13
|
export const AccountSwitcherModal = forwardRef((props, ref) => {
|
|
14
14
|
const { onClose } = props;
|
|
15
15
|
const { session } = useOxySession();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionOwnerButton.d.ts","sourceRoot":"","sources":["../../../src/components/auth/SessionOwnerButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SessionOwnerButton.d.ts","sourceRoot":"","sources":["../../../src/components/auth/SessionOwnerButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,eAAO,MAAM,kBAAkB,yBAoD9B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styles from "./styles/sign-in-button.module.
|
|
2
|
+
import styles from "./styles/sign-in-button.module.scss";
|
|
3
3
|
import { OxyLogo } from "../assets/oxy-logo";
|
|
4
4
|
export const SignInButton = ({ icon = React.createElement(OxyLogo, null), text = "Sign in with Oxy", callback = typeof window !== "undefined" ? window.location.href : "", }) => {
|
|
5
5
|
const onClick = () => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EllipsisWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/elements/ellipsis-wrapper/components/EllipsisWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,eAAe,kBAEzB;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,sBAUA,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./components/
|
|
1
|
+
export * from "./components/EllipsisWrapper";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/elements/ellipsis-wrapper/index.ts"],"names":[],"mappings":"AAAA,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/elements/ellipsis-wrapper/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./components/
|
|
1
|
+
export * from "./components/EllipsisWrapper";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useEffect } from "react";
|
|
2
2
|
import { motion } from "framer-motion";
|
|
3
|
-
import styles from "./styles/confirmation-modal.module.
|
|
3
|
+
import styles from "./styles/confirmation-modal.module.scss";
|
|
4
4
|
export const ConfirmationModal = ({ heading, paragraph, confirmButtonText, confirmButtonClick, confirmButtonStyle = "delete", cancelButtonText, cancelButtonClick, logo, }) => {
|
|
5
5
|
useEffect(() => {
|
|
6
6
|
document.body.style.overflow = "hidden";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { motion } from "framer-motion";
|
|
6
6
|
import React, { useCallback, useLayoutEffect, useRef } from "react";
|
|
7
7
|
import { createPortal } from "react-dom";
|
|
8
|
-
import styles from "./styles/modal.module.
|
|
8
|
+
import styles from "./styles/modal.module.scss";
|
|
9
9
|
export const Modal = ({ children, onClose, closeOnBackdropClick = true, background, minViewportWidth = null, maxViewportWidth = null, disableScroll = false, focusOnElement = null, focusAfterClose = null, }) => {
|
|
10
10
|
const modalRef = useRef(null);
|
|
11
11
|
const previouslyFocusedElementRef = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { VerifiedIcon } from "../../../assets/verified-icon";
|
|
3
|
-
import styles from "./styles/user-name.module.
|
|
3
|
+
import styles from "./styles/user-name.module.scss";
|
|
4
4
|
export const UserName = ({ name, isVerified = false, hover = false, }) => {
|
|
5
5
|
return (React.createElement("div", { className: `${styles.container} ${hover ? styles.hover : ""}` },
|
|
6
6
|
name && React.createElement("span", null, name),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styles from "./styles/user-username.module.
|
|
2
|
+
import styles from "./styles/user-username.module.scss";
|
|
3
3
|
export const UserUsername = ({ username, }) => {
|
|
4
4
|
return React.createElement("span", { className: styles.container },
|
|
5
5
|
"@",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxyhq/services",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.74",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://oxy.so/",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build:scss": "sass src:temp",
|
|
13
13
|
"copy:css": "ncp temp dist",
|
|
14
14
|
"build:ts": "tsc",
|
|
15
|
-
"
|
|
15
|
+
"clean": "rimraf dist",
|
|
16
|
+
"build": "npm run clean && npm run build:scss && npm run build:ts && npm run copy:css",
|
|
16
17
|
"test": "jest",
|
|
17
18
|
"lint": "eslint src/**/*.{ts,tsx}"
|
|
18
19
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ellipsis-wrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/elements/ellipsis-wrapper/components/ellipsis-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,eAAe,kBAEzB;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,sBAUA,CAAC"}
|
package/dist/types.d.ts
DELETED
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,CAAC"}
|
package/dist/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|