Skip to content

Commit ee28149

Browse files
ui kit react sample up v1.0.7
1 parent f6231ca commit ee28149

File tree

27 files changed

+130
-253
lines changed

27 files changed

+130
-253
lines changed

samples/react-chat-ui-kit-demo-app/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This is a code sample for [QuickBlox](http://quickblox.com/) platform. It is a g
2525
The minimum requirements for QuickBlox UIKit for React sample are:
2626

2727
- JS QuickBlox SDK v2.15.5
28-
- QuickBlox React UIKit library v0.2.2
28+
- QuickBlox React UIKit library v0.2.3
2929
- React JS v.18.0
3030
- TypeScript v.4.9.3
3131

samples/react-chat-ui-kit-demo-app/package-lock.json

+39-39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/react-chat-ui-kit-demo-app/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-chat",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"private": true,
55
"dependencies": {
66
"@emotion/react": "^11.11.0",
@@ -11,7 +11,7 @@
1111
"@types/node": "^16.18.28",
1212
"@types/react": "^18.2.6",
1313
"@types/react-dom": "^18.2.4",
14-
"quickblox-react-ui-kit": "^0.2.2",
14+
"quickblox-react-ui-kit": "^0.2.3",
1515
"node-sass": "^8.0.0",
1616
"quickblox": "^2.15.5",
1717
"react": "^17.0.0 || ^18.0.0",

samples/react-chat-ui-kit-demo-app/src/App.scss

+8-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,11 @@
77
display: flex;
88
flex-flow: row nowrap;
99
gap: 10px;
10-
}
10+
}
11+
12+
body{
13+
justify-content: center;
14+
align-content: center;
15+
width: 100%;
16+
max-width: 100%;
17+
}

samples/react-chat-ui-kit-demo-app/src/QBconfig.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export const QBConfig = {
22
credentials: {
33
appId: -1,
4+
accountKey: '',
45
authKey: '',
56
authSecret: '',
6-
accountKey: '',
77
sessionToken: '',
88
},
99
configAIApi: {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

samples/react-chat-ui-kit-demo-app/src/layout/Auth/Auth.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ const Auth = ({children} : AuthProps) => {
5656
</div>
5757
<div className="login__footer">
5858
<div className="footer__logo_wrap">
59-
<p>Sample React Chat UIKit DemoApp v1.0.6</p>
59+
<p>Sample React Chat UIKit DemoApp v1.0.7</p>
6060
<br />
61-
<p>React Chat UIKit v0.2.1</p>
61+
<p>React Chat UIKit v0.2.3</p>
6262
<br />
6363
<p><Copyright /></p>
6464
</div>

samples/react-chat-ui-kit-demo-app/tsconfig.json

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
},
2323
"include": [
2424
"src",
25-
,
2625
"node_modules/quickblox-react-ui-kit/global.d.ts"
2726
]
2827
}

samples/react-chat-ui-kit-init-sample/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/react-chat-ui-kit-init-sample/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@types/node": "^16.18.37",
1111
"@types/react": "^18.2.14",
1212
"@types/react-dom": "^18.2.6",
13-
"quickblox-react-ui-kit": "^0.2.2",
13+
"quickblox-react-ui-kit": "^0.2.3",
1414
"quickblox": "^2.15.5",
1515
"react": "^18.2.0",
1616
"react-dom": "^18.2.0",
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,6 @@
1-
.App {
2-
text-align: center;
3-
}
4-
5-
.App-logo {
6-
height: 40vmin;
7-
pointer-events: none;
8-
}
9-
10-
@media (prefers-reduced-motion: no-preference) {
11-
.App-logo {
12-
animation: App-logo-spin infinite 20s linear;
13-
}
14-
}
15-
16-
.App-header {
17-
background-color: #282c34;
18-
min-height: 100vh;
19-
display: flex;
20-
flex-direction: column;
21-
align-items: center;
22-
justify-content: center;
23-
font-size: calc(10px + 2vmin);
24-
color: white;
25-
}
26-
27-
.App-link {
28-
color: #61dafb;
29-
}
30-
31-
@keyframes App-logo-spin {
32-
from {
33-
transform: rotate(0deg);
34-
}
35-
to {
36-
transform: rotate(360deg);
37-
}
1+
body{
2+
justify-content: center;
3+
align-content: center;
4+
width: 100%;
5+
max-width: 100%;
386
}

samples/react-chat-ui-kit-init-sample/src/App.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ function App() {
9494
login: currentUser.login,
9595
password: currentUser.password,
9696
}}
97+
qbConfig={{...QBConfig}}
9798
>
9899
<div className="App">
99100
{

samples/react-chat-ui-kit-init-sample/src/QBconfig.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export const QBConfig = {
22
credentials: {
33
appId: -1,
4+
accountKey: '',
45
authKey: '',
56
authSecret: '',
6-
accountKey: '',
77
sessionToken: '',
88
},
99
configAIApi: {
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
body {
2-
margin: 0;
3-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5-
sans-serif;
6-
-webkit-font-smoothing: antialiased;
7-
-moz-osx-font-smoothing: grayscale;
8-
}
91

10-
code {
11-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12-
monospace;
13-
}

0 commit comments

Comments
 (0)