@oxyhq/services 0.0.24 → 0.0.26
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/assets/verified-icon.d.ts +2 -2
- package/dist/assets/verified-icon.d.ts.map +1 -1
- package/dist/assets/verified-icon.js +1 -0
- package/dist/components/auth/AccountSwitcherModal.js +1 -1
- package/dist/components/auth/styles/session-owner-modal.module.css +29 -0
- package/dist/components/auth/styles/session-owner-modal.module.css.map +1 -0
- package/dist/components/elements/button/components/styles/button.module.css +25 -0
- package/dist/components/elements/button/components/styles/button.module.css.map +1 -0
- package/dist/components/elements/ellipsis-wrapper/components/styles/ellipses-wrapper.module.css +11 -0
- package/dist/components/elements/ellipsis-wrapper/components/styles/ellipses-wrapper.module.css.map +1 -0
- package/dist/components/elements/modal/components/styles/confirmation-modal.module.css +105 -0
- package/dist/components/elements/modal/components/styles/confirmation-modal.module.css.map +1 -0
- package/dist/components/elements/modal/components/styles/modal.module.css +10 -0
- package/dist/components/elements/modal/components/styles/modal.module.css.map +1 -0
- package/dist/features/profile/components/styles/avatar.module.css +15 -0
- package/dist/features/profile/components/styles/avatar.module.css.map +1 -0
- package/dist/features/profile/components/styles/user-name.module.css +18 -0
- package/dist/features/profile/components/styles/user-name.module.css.map +1 -0
- package/dist/features/profile/components/styles/user-username.module.css +6 -0
- package/dist/features/profile/components/styles/user-username.module.css.map +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const VerifiedIcon: () =>
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const VerifiedIcon: () => React.JSX.Element;
|
|
3
3
|
//# sourceMappingURL=verified-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verified-icon.d.ts","sourceRoot":"","sources":["../../src/assets/verified-icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verified-icon.d.ts","sourceRoot":"","sources":["../../src/assets/verified-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,eAAO,MAAM,YAAY,yBAiBxB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import Link from "next/link";
|
|
|
5
5
|
import useOxySession from "../../hooks/useOxySession";
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
import { useUser } from "../../hooks/use-user";
|
|
8
|
-
import styles from "./styles/session-owner-modal.module.
|
|
8
|
+
import styles from "./styles/session-owner-modal.module.css";
|
|
9
9
|
export const AccountSwitcherModal = forwardRef(({ onClose }, ref) => {
|
|
10
10
|
const { session } = useOxySession();
|
|
11
11
|
const { data: user } = useUser({ id: session?.user?.id });
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
width: 300px;
|
|
3
|
+
background-color: var(--clr-background);
|
|
4
|
+
box-shadow: 0 0rem 10px -2px var(--clr-tertiary);
|
|
5
|
+
border-radius: 1rem;
|
|
6
|
+
padding: 0.8em 0;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
.container a {
|
|
10
|
+
font-size: var(--fs-milli);
|
|
11
|
+
font-weight: var(--fw-700);
|
|
12
|
+
display: block;
|
|
13
|
+
padding: 0.8em 1em;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
transition: background-color 0.1s ease-in-out;
|
|
16
|
+
}
|
|
17
|
+
.container a:hover {
|
|
18
|
+
background-color: var(--clr-trends-hover);
|
|
19
|
+
}
|
|
20
|
+
.container a:active {
|
|
21
|
+
background-color: var(--clr-trends-active);
|
|
22
|
+
}
|
|
23
|
+
.container a:focus-visible {
|
|
24
|
+
background-color: var(--clr-trends-hover);
|
|
25
|
+
outline: 2px solid var(--clr-primary-disabled);
|
|
26
|
+
outline-offset: -2px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/*# sourceMappingURL=session-owner-modal.module.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../src/components/auth/styles/session-owner-modal.module.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA","file":"session-owner-modal.module.css"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
display: grid;
|
|
4
|
+
place-items: center;
|
|
5
|
+
padding: 0.5em;
|
|
6
|
+
border-radius: 100vmax;
|
|
7
|
+
transition: background-color 0.15s ease-in-out;
|
|
8
|
+
}
|
|
9
|
+
.container svg {
|
|
10
|
+
width: var(--fs-h2);
|
|
11
|
+
height: var(--fs-h2);
|
|
12
|
+
fill: var(--clr-secondary);
|
|
13
|
+
}
|
|
14
|
+
.container:hover {
|
|
15
|
+
background-color: var(--clr-nav-hover);
|
|
16
|
+
}
|
|
17
|
+
.container:active {
|
|
18
|
+
background-color: var(--clr-nav-active);
|
|
19
|
+
}
|
|
20
|
+
.container:focus-visible {
|
|
21
|
+
outline: 2px solid var(--clr-secondary);
|
|
22
|
+
background-color: var(--clr-nav-hover);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/*# sourceMappingURL=button.module.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../../src/components/elements/button/components/styles/button.module.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA","file":"button.module.css"}
|
package/dist/components/elements/ellipsis-wrapper/components/styles/ellipses-wrapper.module.css.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../../src/components/elements/ellipsis-wrapper/components/styles/ellipses-wrapper.module.scss"],"names":[],"mappings":"AAAA;EACE;EACA;;AAEA;EACE;EACA;EACA","file":"ellipses-wrapper.module.css"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
width: fit-content;
|
|
8
|
+
max-width: 320px;
|
|
9
|
+
height: fit-content;
|
|
10
|
+
margin: auto;
|
|
11
|
+
background-color: var(--clr-background);
|
|
12
|
+
padding: 2em;
|
|
13
|
+
border-radius: 1rem;
|
|
14
|
+
}
|
|
15
|
+
.container .logo {
|
|
16
|
+
display: grid;
|
|
17
|
+
place-items: center;
|
|
18
|
+
margin-bottom: 1em;
|
|
19
|
+
}
|
|
20
|
+
.container .logo svg {
|
|
21
|
+
width: var(--fs-kilo);
|
|
22
|
+
height: var(--fs-kilo);
|
|
23
|
+
fill: var(--clr-primary);
|
|
24
|
+
}
|
|
25
|
+
.container h1 {
|
|
26
|
+
font-size: var(--fs-h2);
|
|
27
|
+
font-weight: var(--fw-700);
|
|
28
|
+
margin-bottom: 0.5em;
|
|
29
|
+
}
|
|
30
|
+
.container p {
|
|
31
|
+
font-size: var(--fs-milli);
|
|
32
|
+
color: var(--clr-tertiary);
|
|
33
|
+
margin-bottom: 2rem;
|
|
34
|
+
line-height: 1.4;
|
|
35
|
+
}
|
|
36
|
+
.container .buttons {
|
|
37
|
+
display: grid;
|
|
38
|
+
gap: 0.8rem;
|
|
39
|
+
}
|
|
40
|
+
.container .buttons button {
|
|
41
|
+
display: grid;
|
|
42
|
+
place-items: center;
|
|
43
|
+
padding: 0.9em;
|
|
44
|
+
border-radius: 100vmax;
|
|
45
|
+
font-size: var(--fs-milli);
|
|
46
|
+
font-weight: var(--fw-700);
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
transition: background-color 0.2s ease;
|
|
49
|
+
}
|
|
50
|
+
.container .buttons .delete {
|
|
51
|
+
background-color: var(--clr-red);
|
|
52
|
+
}
|
|
53
|
+
.container .buttons .delete:hover {
|
|
54
|
+
background-color: var(--clr-red-hover);
|
|
55
|
+
}
|
|
56
|
+
.container .buttons .delete:active {
|
|
57
|
+
background-color: var(--clr-red-active);
|
|
58
|
+
}
|
|
59
|
+
.container .buttons .delete:focus-visible {
|
|
60
|
+
outline: 2px solid var(--clr-secondary);
|
|
61
|
+
background-color: var(--clr-red-hover);
|
|
62
|
+
}
|
|
63
|
+
.container .buttons .unfollow {
|
|
64
|
+
background-color: var(--clr-secondary);
|
|
65
|
+
color: var(--clr-background);
|
|
66
|
+
}
|
|
67
|
+
.container .buttons .unfollow:hover {
|
|
68
|
+
background-color: var(--clr-secondary-hover);
|
|
69
|
+
}
|
|
70
|
+
.container .buttons .unfollow:active {
|
|
71
|
+
background-color: var(--clr-secondary-active);
|
|
72
|
+
}
|
|
73
|
+
.container .buttons .unfollow:focus-visible {
|
|
74
|
+
outline: 2px solid var(--clr-secondary);
|
|
75
|
+
}
|
|
76
|
+
.container .buttons .signout {
|
|
77
|
+
background-color: var(--clr-secondary);
|
|
78
|
+
color: var(--clr-background);
|
|
79
|
+
}
|
|
80
|
+
.container .buttons .signout:hover {
|
|
81
|
+
background-color: var(--clr-signout-logout-hover);
|
|
82
|
+
}
|
|
83
|
+
.container .buttons .signout:active {
|
|
84
|
+
background-color: var(--clr-signout-logout-active);
|
|
85
|
+
}
|
|
86
|
+
.container .buttons .signout:focus-visible {
|
|
87
|
+
outline: 2px solid var(--clr-secondary);
|
|
88
|
+
background-color: var(--clr-signout-logout-hover);
|
|
89
|
+
}
|
|
90
|
+
.container .buttons .cancel {
|
|
91
|
+
color: var(--clr-secondary);
|
|
92
|
+
border: 1px solid var(--clr-tertiary);
|
|
93
|
+
}
|
|
94
|
+
.container .buttons .cancel:hover {
|
|
95
|
+
background-color: var(--clr-trends-hover);
|
|
96
|
+
}
|
|
97
|
+
.container .buttons .cancel:active {
|
|
98
|
+
background-color: var(--clr-trends-active);
|
|
99
|
+
}
|
|
100
|
+
.container .buttons .cancel:focus-visible {
|
|
101
|
+
outline: 2px solid var(--clr-secondary);
|
|
102
|
+
background-color: var(--clr-trends-hover);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/*# sourceMappingURL=confirmation-modal.module.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../../src/components/elements/modal/components/styles/confirmation-modal.module.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;;AAIJ;EACE;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA","file":"confirmation-modal.module.css"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../../src/components/elements/modal/components/styles/modal.module.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA","file":"modal.module.css"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: var(--avatar-width);
|
|
4
|
+
border-radius: 50%;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
aspect-ratio: 1/1;
|
|
7
|
+
}
|
|
8
|
+
.container img {
|
|
9
|
+
display: block;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
object-fit: cover;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/*# sourceMappingURL=avatar.module.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../src/features/profile/components/styles/avatar.module.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA","file":"avatar.module.css"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
font-size: var(--fs-milli);
|
|
3
|
+
font-weight: var(--fw-500);
|
|
4
|
+
color: var(--clr-secondary);
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-auto-flow: column;
|
|
7
|
+
}
|
|
8
|
+
.container span {
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
text-overflow: ellipsis;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.hover:hover {
|
|
15
|
+
text-decoration: underline;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/*# sourceMappingURL=user-name.module.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../src/features/profile/components/styles/user-name.module.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AAKF;EACE","file":"user-name.module.css"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../src/features/profile/components/styles/user-username.module.scss"],"names":[],"mappings":"AAAA;EACE;EACA","file":"user-username.module.css"}
|