@weavy/uikit-react 22.2.0 → 23.0.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.
Files changed (37) hide show
  1. package/changelog.md +55 -0
  2. package/dist/types/blocks/WyChat.d.ts +2 -2
  3. package/dist/types/blocks/WyFiles.d.ts +2 -2
  4. package/dist/types/blocks/WyMessenger.d.ts +2 -2
  5. package/dist/types/blocks/WyPosts.d.ts +2 -2
  6. package/dist/types/components/WyAttachment.d.ts +2 -2
  7. package/dist/types/components/WyCloudFiles.d.ts +2 -2
  8. package/dist/types/components/WyComment.d.ts +2 -2
  9. package/dist/types/components/WyConversation.d.ts +1 -1
  10. package/dist/types/components/WyConversationList.d.ts +1 -1
  11. package/dist/types/components/WyEditor.d.ts +2 -2
  12. package/dist/types/components/WyEmbed.d.ts +1 -1
  13. package/dist/types/components/WyFileItem.d.ts +2 -2
  14. package/dist/types/components/WyFileMenu.d.ts +2 -2
  15. package/dist/types/components/WyFileVersions.d.ts +2 -2
  16. package/dist/types/components/WyFilesAppbar.d.ts +2 -2
  17. package/dist/types/components/WyFilesList.d.ts +2 -2
  18. package/dist/types/components/WyImageGrid.d.ts +2 -2
  19. package/dist/types/components/WyMessage.d.ts +2 -2
  20. package/dist/types/components/WyOverlay.d.ts +1 -1
  21. package/dist/types/components/WyPoll.d.ts +1 -1
  22. package/dist/types/components/WyPost.d.ts +1 -1
  23. package/dist/types/components/WyPreview.d.ts +1 -1
  24. package/dist/types/components/WyReactions.d.ts +1 -1
  25. package/dist/types/components/WySheet.d.ts +1 -1
  26. package/dist/types/components/WyUsersSearch.d.ts +2 -2
  27. package/dist/types/hooks/useWeavy.d.ts +1 -1
  28. package/dist/weavy.es5.esm.js +1 -1
  29. package/dist/weavy.es5.umd.cjs +1 -1
  30. package/dist/weavy.esm.js +25000 -24573
  31. package/dist/weavy.umd.cjs +1116 -1137
  32. package/lib/blocks/WyChat.tsx +2 -0
  33. package/lib/blocks/WyContext.tsx +2 -0
  34. package/lib/blocks/WyFiles.tsx +2 -0
  35. package/lib/blocks/WyMessenger.tsx +2 -0
  36. package/lib/blocks/WyPosts.tsx +2 -0
  37. package/package.json +18 -17
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from "react";
2
4
  import { EventName, createComponent } from "@lit/react";
3
5
  import { WyChat as WyChatWC } from "@weavy/uikit-web";
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from 'react';
2
4
  import { createComponent } from '@lit/react';
3
5
  import { WyContext as WyContextWC } from '@weavy/uikit-web';
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from "react";
2
4
  import { EventName, createComponent } from "@lit/react";
3
5
  import { WyFiles as WyFilesWC } from "@weavy/uikit-web";
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from "react";
2
4
  import { EventName, createComponent } from "@lit/react";
3
5
  import { WyMessenger as WyMessengerWC } from "@weavy/uikit-web";
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import React from "react";
2
4
  import { EventName, createComponent } from "@lit/react";
3
5
  import { WyPosts as WyPostsWC } from "@weavy/uikit-web";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weavy/uikit-react",
3
- "version": "22.2.0",
3
+ "version": "23.0.0",
4
4
  "author": "Weavy",
5
5
  "description": "React components UI-kit for Weavy",
6
6
  "homepage": "https://github.com/weavy/weavy-uikit-react",
@@ -35,34 +35,35 @@
35
35
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
36
36
  },
37
37
  "dependencies": {
38
- "@lit/react": "^1.0.2",
39
- "@weavy/uikit-web": "^22.2.0"
38
+ "@lit/react": "^1.0.5",
39
+ "@weavy/uikit-web": "^23.0.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "react": ">=16",
43
- "react-dom": ">=16"
42
+ "react": "^18.3.1",
43
+ "react-dom": "^18.3.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@babel/preset-env": "^7.24.4",
46
+ "@babel/preset-env": "^7.24.5",
47
47
  "@babel/preset-react": "^7.24.1",
48
48
  "@rollup/plugin-babel": "^6.0.4",
49
49
  "@rollup/plugin-node-resolve": "^15.2.3",
50
- "@types/node": "^20.12.7",
51
- "@types/react": "^18.2.79",
52
- "@types/react-dom": "^18.2.25",
53
- "@typescript-eslint/eslint-plugin": "^7.7.0",
54
- "@typescript-eslint/parser": "^7.7.0",
50
+ "@types/node": "^20.12.12",
51
+ "@types/react": "^18.3.2",
52
+ "@types/react-dom": "^18.3.0",
53
+ "@typescript-eslint/eslint-plugin": "^7.9.0",
54
+ "@typescript-eslint/parser": "^7.9.0",
55
55
  "@vitejs/plugin-react": "^4.2.1",
56
56
  "dotenv": "^16.3.2",
57
57
  "eslint": "^8.55.0",
58
- "eslint-plugin-react-hooks": "^4.6.0",
59
- "eslint-plugin-react-refresh": "^0.4.5",
58
+ "eslint-plugin-react-hooks": "^4.6.2",
59
+ "eslint-plugin-react-refresh": "^0.4.7",
60
60
  "npm-run-all": "^4.1.5",
61
- "rimraf": "^5.0.5",
62
- "sass": "^1.75.0",
61
+ "rimraf": "^5.0.7",
62
+ "rollup-preserve-directives": "^1.1.1",
63
+ "sass": "^1.77.1",
63
64
  "typescript": "^5.4.5",
64
- "vite": "^5.2.9",
65
- "vite-plugin-dts": "^3.8.3"
65
+ "vite": "^5.2.11",
66
+ "vite-plugin-dts": "^3.9.1"
66
67
  },
67
68
  "engines": {
68
69
  "node": ">=20.10.0",