@weavy/uikit-react 11.1.0 → 11.2.0
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/README.md +3 -4
- package/changelog.md +6 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/contexts/MessengerContext.d.ts +1 -2
- package/dist/cjs/types/types/Messenger.d.ts +0 -1
- package/dist/cjs/types/types/types.d.ts +2 -4
- package/dist/cjs/types/utils/styles.d.ts +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/contexts/MessengerContext.d.ts +1 -2
- package/dist/esm/types/types/Messenger.d.ts +0 -1
- package/dist/esm/types/types/types.d.ts +2 -4
- package/dist/esm/types/utils/styles.d.ts +2 -2
- package/dist/index.d.ts +1 -2
- package/package.json +1 -1
- package/src/components/Chat.tsx +8 -11
- package/src/components/Conversation.tsx +1 -1
- package/src/components/FileBrowser.tsx +1 -1
- package/src/components/Messenger.tsx +4 -4
- package/src/components/Reactions.tsx +2 -1
- package/src/contexts/MessengerContext.tsx +4 -12
- package/src/contexts/WeavyContext.tsx +8 -1
- package/src/index.ts +2 -2
- package/src/types/Messenger.ts +1 -1
- package/src/types/types.ts +3 -7
- package/src/utils/scrollbarDetection.js +50 -0
- package/src/utils/styles.ts +21 -6
package/README.md
CHANGED
|
@@ -83,17 +83,16 @@ export default App;
|
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
## Add the
|
|
86
|
+
## Add the stylesheet
|
|
87
87
|
|
|
88
88
|
In your index.tsx (or index.js if you are not using TypeScript) file, add the following
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
```js
|
|
92
92
|
// ---------------------------------------------------------
|
|
93
|
-
// add the following
|
|
93
|
+
// add the following line of code
|
|
94
94
|
// ---------------------------------------------------------
|
|
95
|
-
import "@weavy/themes/dist/weavy-
|
|
96
|
-
import "@weavy/themes/dist/weavy-default-messenger.css";
|
|
95
|
+
import "@weavy/themes/dist/weavy-default.css";
|
|
97
96
|
// ---------------------------------------------------------
|
|
98
97
|
|
|
99
98
|
const container = document.getElementById('root');
|
package/changelog.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# Weavy 11.2.0 (2022-07-06)
|
|
2
|
+
|
|
3
|
+
* Moved uikit-react options from MessengerProvider to WeavyProvider.
|
|
4
|
+
* Fixed uikit-react cloud file picker overlay incorrect position.
|
|
5
|
+
* Overlay scrollbars for uikit-react.
|
|
6
|
+
|
|
1
7
|
# Weavy 11.1.0 (2022-06-21)
|
|
2
8
|
|
|
3
9
|
* Removed the need for reboot stylesheet in uikit-react.
|