@os-team/profile 1.0.36 → 1.0.39
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/cjs/components/profile/ProfileDrawer.js +19 -232
- package/dist/cjs/components/profile/ProfileDrawer.js.map +1 -1
- package/dist/cjs/components/profile/ProfileDrawerContent.js +259 -0
- package/dist/cjs/components/profile/ProfileDrawerContent.js.map +1 -0
- package/dist/cjs/components/profile/ProfileUpdateNameForm.js.map +1 -1
- package/dist/cjs/components/profile/ProfileUpdatePasswordForm.js.map +1 -1
- package/dist/cjs/components/profile/ProtectedWrapper.js.map +1 -1
- package/dist/cjs/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js +70 -0
- package/dist/cjs/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js.map +1 -0
- package/dist/cjs/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js +89 -0
- package/dist/cjs/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js.map +1 -0
- package/dist/cjs/components/session/SessionDrawer.js +17 -10
- package/dist/cjs/components/session/SessionDrawer.js.map +1 -1
- package/dist/cjs/components/session/SessionDrawerContent.js +1 -4
- package/dist/cjs/components/session/SessionDrawerContent.js.map +1 -1
- package/dist/esm/components/profile/ProfileDrawer.js +12 -196
- package/dist/esm/components/profile/ProfileDrawer.js.map +1 -1
- package/dist/esm/components/profile/ProfileDrawerContent.js +201 -0
- package/dist/esm/components/profile/ProfileDrawerContent.js.map +1 -0
- package/dist/esm/components/profile/ProfileUpdateNameForm.js.map +1 -1
- package/dist/esm/components/profile/ProfileUpdatePasswordForm.js.map +1 -1
- package/dist/esm/components/profile/ProtectedWrapper.js.map +1 -1
- package/dist/esm/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js +62 -0
- package/dist/esm/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.js.map +1 -0
- package/dist/esm/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js +81 -0
- package/dist/esm/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.js.map +1 -0
- package/dist/esm/components/session/SessionDrawer.js +7 -4
- package/dist/esm/components/session/SessionDrawer.js.map +1 -1
- package/dist/esm/components/session/SessionDrawerContent.js +0 -1
- package/dist/esm/components/session/SessionDrawerContent.js.map +1 -1
- package/dist/types/components/profile/ProfileDrawer.d.ts +2 -3
- package/dist/types/components/profile/ProfileDrawer.d.ts.map +1 -1
- package/dist/types/components/profile/ProfileDrawerContent.d.ts +8 -0
- package/dist/types/components/profile/ProfileDrawerContent.d.ts.map +1 -0
- package/dist/types/components/profile/ProfileUpdateNameForm.d.ts +4 -1
- package/dist/types/components/profile/ProfileUpdateNameForm.d.ts.map +1 -1
- package/dist/types/components/profile/ProfileUpdatePasswordForm.d.ts +4 -1
- package/dist/types/components/profile/ProfileUpdatePasswordForm.d.ts.map +1 -1
- package/dist/types/components/profile/ProtectedWrapper.d.ts +1 -0
- package/dist/types/components/profile/ProtectedWrapper.d.ts.map +1 -1
- package/dist/types/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts +14 -0
- package/dist/types/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts.map +1 -0
- package/dist/types/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts +20 -0
- package/dist/types/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts.map +1 -0
- package/dist/types/components/session/SessionDrawer.d.ts.map +1 -1
- package/dist/types/components/session/SessionDrawerContent.d.ts +0 -1
- package/dist/types/components/session/SessionDrawerContent.d.ts.map +1 -1
- package/package.json +47 -47
package/dist/types/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
2
|
+
export declare type ProfileDrawerContentSignOutMutation$variables = {};
|
|
3
|
+
export declare type ProfileDrawerContentSignOutMutation$data = {
|
|
4
|
+
readonly signOut: {
|
|
5
|
+
readonly ok: boolean;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare type ProfileDrawerContentSignOutMutation = {
|
|
9
|
+
variables: ProfileDrawerContentSignOutMutation$variables;
|
|
10
|
+
response: ProfileDrawerContentSignOutMutation$data;
|
|
11
|
+
};
|
|
12
|
+
declare const node: ConcreteRequest;
|
|
13
|
+
export default node;
|
|
14
|
+
//# sourceMappingURL=ProfileDrawerContentSignOutMutation.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileDrawerContentSignOutMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerContentSignOutMutation.graphql.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAY,MAAM,eAAe,CAAC;AAC1D,oBAAY,6CAA6C,GAAG,EAAE,CAAC;AAC/D,oBAAY,wCAAwC,GAAG;IACrD,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;KACtB,CAAC;CACH,CAAC;AACF,oBAAY,mCAAmC,GAAG;IAChD,SAAS,EAAE,6CAA6C,CAAC;IACzD,QAAQ,EAAE,wCAAwC,CAAC;CACpD,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA+CR,CAAC;AAIL,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
2
|
+
export declare type UpdateAvatarInput = {
|
|
3
|
+
avatar?: any | null;
|
|
4
|
+
};
|
|
5
|
+
export declare type ProfileDrawerContentUpdateAvatarMutation$variables = {
|
|
6
|
+
input: UpdateAvatarInput;
|
|
7
|
+
};
|
|
8
|
+
export declare type ProfileDrawerContentUpdateAvatarMutation$data = {
|
|
9
|
+
readonly updateAvatar: {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly avatar: string | null;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare type ProfileDrawerContentUpdateAvatarMutation = {
|
|
15
|
+
variables: ProfileDrawerContentUpdateAvatarMutation$variables;
|
|
16
|
+
response: ProfileDrawerContentUpdateAvatarMutation$data;
|
|
17
|
+
};
|
|
18
|
+
declare const node: ConcreteRequest;
|
|
19
|
+
export default node;
|
|
20
|
+
//# sourceMappingURL=ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileDrawerContentUpdateAvatarMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/profile/__generated__/ProfileDrawerContentUpdateAvatarMutation.graphql.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAY,MAAM,eAAe,CAAC;AAC1D,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CACrB,CAAC;AACF,oBAAY,kDAAkD,GAAG;IAC/D,KAAK,EAAE,iBAAiB,CAAC;CAC1B,CAAC;AACF,oBAAY,6CAA6C,GAAG;IAC1D,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KAChC,CAAC;CACH,CAAC;AACF,oBAAY,wCAAwC,GAAG;IACrD,SAAS,EAAE,kDAAkD,CAAC;IAC9D,QAAQ,EAAE,6CAA6C,CAAC;CACzD,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eAmER,CAAC;AAIL,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionDrawer.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/session/SessionDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SessionDrawer.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/session/SessionDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAE9C,OAAO,EAGL,WAAW,EAGZ,MAAM,iBAAiB,CAAC;AAgBzB,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAqBxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionDrawerContent.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/session/SessionDrawerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SessionDrawerContent.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/session/SessionDrawerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAyBxC,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAMjC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@os-team/profile",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.39",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"repository": "git@gitlab.com:os-team/libs/profile.git",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -41,68 +41,68 @@
|
|
|
41
41
|
"registry": "https://registry.npmjs.org"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@os-design/core": "^1.0.
|
|
45
|
-
"@os-design/icons": "^1.0.
|
|
46
|
-
"@os-design/media": "^1.0.
|
|
47
|
-
"@os-design/styles": "^1.0.
|
|
48
|
-
"@os-design/theming": "^1.0.
|
|
49
|
-
"@os-design/utils": "^1.0.
|
|
44
|
+
"@os-design/core": "^1.0.118",
|
|
45
|
+
"@os-design/icons": "^1.0.34",
|
|
46
|
+
"@os-design/media": "^1.0.11",
|
|
47
|
+
"@os-design/styles": "^1.0.32",
|
|
48
|
+
"@os-design/theming": "^1.0.30",
|
|
49
|
+
"@os-design/utils": "^1.0.45",
|
|
50
50
|
"@os-team/form-utils": "^1.0.30",
|
|
51
51
|
"@os-team/plural-forms": "^1.0.10"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@babel/cli": "^7.17.
|
|
55
|
-
"@babel/core": "^7.17.
|
|
54
|
+
"@babel/cli": "^7.17.6",
|
|
55
|
+
"@babel/core": "^7.17.9",
|
|
56
56
|
"@babel/preset-env": "^7.16.11",
|
|
57
57
|
"@babel/preset-react": "^7.16.7",
|
|
58
58
|
"@babel/preset-typescript": "^7.16.7",
|
|
59
|
-
"@emotion/react": "^11.
|
|
60
|
-
"@emotion/serialize": "^1.0.
|
|
61
|
-
"@emotion/styled": "^11.
|
|
59
|
+
"@emotion/react": "^11.9.0",
|
|
60
|
+
"@emotion/serialize": "^1.0.3",
|
|
61
|
+
"@emotion/styled": "^11.8.1",
|
|
62
62
|
"@os-team/prettier-config": "1.1.8",
|
|
63
|
-
"@os-team/relay-network-creator": "^1.1.
|
|
64
|
-
"@os-team/relay-network-mw-credentials": "^1.1.
|
|
65
|
-
"@os-team/relay-network-mw-upload": "^1.1.
|
|
66
|
-
"@types/jest": "^27.4.
|
|
67
|
-
"@types/node": "^17.0.
|
|
68
|
-
"@types/react": "^
|
|
69
|
-
"@types/react-dom": "^
|
|
70
|
-
"@types/react-relay": "^13.0.
|
|
63
|
+
"@os-team/relay-network-creator": "^1.1.9",
|
|
64
|
+
"@os-team/relay-network-mw-credentials": "^1.1.15",
|
|
65
|
+
"@os-team/relay-network-mw-upload": "^1.1.15",
|
|
66
|
+
"@types/jest": "^27.4.1",
|
|
67
|
+
"@types/node": "^17.0.24",
|
|
68
|
+
"@types/react": "^18.0.5",
|
|
69
|
+
"@types/react-dom": "^18.0.1",
|
|
70
|
+
"@types/react-relay": "^13.0.2",
|
|
71
71
|
"@types/react-router-dom": "^5.3.3",
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
73
|
-
"@typescript-eslint/parser": "^5.
|
|
74
|
-
"babel-plugin-relay": "^13.
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
73
|
+
"@typescript-eslint/parser": "^5.19.0",
|
|
74
|
+
"babel-plugin-relay": "^13.2.0",
|
|
75
75
|
"cross-env": "^7.0.3",
|
|
76
|
-
"eslint": "^8.
|
|
77
|
-
"eslint-config-os-team-react": "1.1.
|
|
78
|
-
"eslint-plugin-import": "^2.
|
|
79
|
-
"eslint-plugin-jest": "^26.1.
|
|
76
|
+
"eslint": "^8.13.0",
|
|
77
|
+
"eslint-config-os-team-react": "1.1.35",
|
|
78
|
+
"eslint-plugin-import": "^2.26.0",
|
|
79
|
+
"eslint-plugin-jest": "^26.1.4",
|
|
80
80
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
81
81
|
"eslint-plugin-promise": "^6.0.0",
|
|
82
|
-
"eslint-plugin-react": "^7.
|
|
83
|
-
"eslint-plugin-react-hooks": "^4.
|
|
82
|
+
"eslint-plugin-react": "^7.29.4",
|
|
83
|
+
"eslint-plugin-react-hooks": "^4.4.0",
|
|
84
84
|
"get-graphql-schema": "^2.1.2",
|
|
85
85
|
"graphql": "^15.7.2",
|
|
86
86
|
"husky": "^7.0.4",
|
|
87
|
-
"i18next": "^21.6.
|
|
88
|
-
"i18next-browser-languagedetector": "^6.1.
|
|
89
|
-
"i18next-http-backend": "^1.
|
|
87
|
+
"i18next": "^21.6.16",
|
|
88
|
+
"i18next-browser-languagedetector": "^6.1.4",
|
|
89
|
+
"i18next-http-backend": "^1.4.0",
|
|
90
90
|
"lazysizes": "^5.3.2",
|
|
91
|
-
"lint-staged": "^12.3.
|
|
91
|
+
"lint-staged": "^12.3.8",
|
|
92
92
|
"npm-run-all": "^4.1.5",
|
|
93
|
-
"prettier": "2.
|
|
93
|
+
"prettier": "2.6.2",
|
|
94
94
|
"progress-bar-webpack-plugin": "^2.1.0",
|
|
95
|
-
"react": "
|
|
96
|
-
"react-dom": "
|
|
97
|
-
"react-i18next": "^11.
|
|
98
|
-
"react-relay": "
|
|
99
|
-
"react-router-dom": "^6.
|
|
95
|
+
"react": "^18.0.0",
|
|
96
|
+
"react-dom": "^18.0.0",
|
|
97
|
+
"react-i18next": "^11.16.6",
|
|
98
|
+
"react-relay": "^13.2.0",
|
|
99
|
+
"react-router-dom": "^6.3.0",
|
|
100
100
|
"react-scripts": "^4.0.3",
|
|
101
|
-
"react-test-renderer": "^
|
|
102
|
-
"relay-compiler": "^13.
|
|
103
|
-
"relay-runtime": "^13.
|
|
104
|
-
"release-it": "^14.
|
|
105
|
-
"typescript": "^4.
|
|
101
|
+
"react-test-renderer": "^18.0.0",
|
|
102
|
+
"relay-compiler": "^13.2.0",
|
|
103
|
+
"relay-runtime": "^13.2.0",
|
|
104
|
+
"release-it": "^14.14.2",
|
|
105
|
+
"typescript": "^4.6.3",
|
|
106
106
|
"webpack-bundle-analyzer": "^4.5.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"i18next-browser-languagedetector": ">=6",
|
|
119
119
|
"i18next-http-backend": ">=1",
|
|
120
120
|
"lazysizes": ">=5",
|
|
121
|
-
"react": "
|
|
122
|
-
"react-dom": "
|
|
121
|
+
"react": "^18.0.0",
|
|
122
|
+
"react-dom": "^18.0.0",
|
|
123
123
|
"react-i18next": ">=11",
|
|
124
|
-
"react-relay": "
|
|
124
|
+
"react-relay": "^13.2.0",
|
|
125
125
|
"react-router-dom": ">=5",
|
|
126
126
|
"react-scripts": ">=4",
|
|
127
127
|
"relay-compiler": ">=12",
|