@edifice.io/react 2.1.1 → 2.1.2-develop-pedago.20250304144959
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/components/Avatar/Avatar.d.ts +21 -0
- package/dist/components/Avatar/Avatar.js +15 -2
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +24 -0
- package/dist/components/AvatarGroup/AvatarGroup.js +24 -0
- package/dist/components/AvatarGroup/index.d.ts +2 -0
- package/dist/components/Dropdown/Dropdown.d.ts +6 -2
- package/dist/components/Dropdown/Dropdown.js +2 -0
- package/dist/components/Dropdown/DropdownItem.d.ts +5 -1
- package/dist/components/Dropdown/DropdownItem.js +7 -2
- package/dist/components/Dropdown/DropdownTrigger.d.ts +30 -1
- package/dist/components/Dropdown/DropdownTrigger.js +23 -3
- package/dist/components/PreventPropagation/PreventPropagation.d.ts +10 -0
- package/dist/components/PreventPropagation/PreventPropagation.js +9 -0
- package/dist/components/PreventPropagation/index.d.ts +2 -0
- package/dist/components/StackedGroup/StackedGroup.d.ts +23 -0
- package/dist/components/StackedGroup/StackedGroup.js +21 -0
- package/dist/components/StackedGroup/index.d.ts +1 -0
- package/dist/components/Switch/Switch.d.ts +25 -0
- package/dist/components/Switch/Switch.js +25 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/editor.js +30 -27
- package/dist/hooks/useCheckable/useCheckable.d.ts +5 -1
- package/dist/hooks/useConf/useConf.d.ts +1 -1
- package/dist/hooks/useSession/useSession.d.ts +1 -1
- package/dist/hooks/useUpload/useUpload.js +8 -2
- package/dist/icons.js +200 -196
- package/dist/index.js +155 -147
- package/dist/modules/comments/hooks/useAutosizeTextarea.d.ts +5 -1
- package/dist/modules/editor/components/Editor/Editor.js +1 -0
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +1 -0
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +1 -0
- package/dist/modules/editor/components/Renderer/AudioRenderer.js +24 -3
- package/dist/modules/editor/hooks/useTipTapEditor.js +1 -1
- package/dist/modules/editor/index.d.ts +3 -1
- package/dist/modules/icons/components/IconHandMove.d.ts +7 -0
- package/dist/modules/icons/components/IconHandMove.js +12 -0
- package/dist/modules/icons/components/IconToolCenter.d.ts +7 -0
- package/dist/modules/icons/components/IconToolCenter.js +12 -0
- package/dist/modules/icons/components/index.d.ts +2 -0
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/ShareModal.d.ts +1 -1
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +5 -1
- package/dist/multimedia.js +10 -10
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +9 -6
package/dist/multimedia.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { default as default2 } from "./modules/multimedia/AudioRecorder/AudioRecorder.js";
|
|
2
2
|
import { default as default3 } from "./modules/multimedia/Embed/Embed.js";
|
|
3
3
|
import { default as default4 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
4
|
-
import { default as default5 } from "./modules/multimedia/
|
|
5
|
-
import { default as default6 } from "./modules/multimedia/
|
|
6
|
-
import { default as default7 } from "./modules/multimedia/
|
|
7
|
-
import { default as default8 } from "./modules/multimedia/
|
|
4
|
+
import { default as default5 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
5
|
+
import { default as default6 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
6
|
+
import { default as default7 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
7
|
+
import { default as default8 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
8
|
+
import { default as default9 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
8
9
|
import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
|
|
9
10
|
import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
|
|
10
|
-
import { default as default9 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
11
11
|
export {
|
|
12
12
|
default2 as AudioRecorder,
|
|
13
13
|
default3 as Embed,
|
|
14
14
|
ExternalLinker,
|
|
15
15
|
default4 as ImageEditor,
|
|
16
|
-
|
|
16
|
+
default5 as ImagePicker,
|
|
17
17
|
InternalLinker,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
default6 as MediaLibrary,
|
|
19
|
+
default7 as VideoEmbed,
|
|
20
|
+
default8 as VideoRecorder,
|
|
21
|
+
default9 as Workspace
|
|
22
22
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { App, IGetConf, IGetSession, IUserDescription, IUserInfo, IWebApp, UserProfile } from '@edifice.io/client';
|
|
3
|
-
import { UseQueryResult } from '
|
|
3
|
+
import { UseQueryResult } from '../../node_modules/@tanstack/react-query';
|
|
4
4
|
export interface EdificeClientParams {
|
|
5
5
|
alternativeApp?: boolean;
|
|
6
6
|
app: App;
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2-develop-pedago.20250304144959",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
"react-slugify": "^3.0.3",
|
|
119
119
|
"swiper": "^10.1.0",
|
|
120
120
|
"ua-parser-js": "^1.0.36",
|
|
121
|
-
"@edifice.io/bootstrap": "2.1.
|
|
122
|
-
"@edifice.io/tiptap-extensions": "2.1.
|
|
123
|
-
"@edifice.io/utilities": "2.1.
|
|
121
|
+
"@edifice.io/bootstrap": "2.1.2-develop-pedago.20250304144959",
|
|
122
|
+
"@edifice.io/tiptap-extensions": "2.1.2-develop-pedago.20250304144959",
|
|
123
|
+
"@edifice.io/utilities": "2.1.2-develop-pedago.20250304144959"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -129,6 +129,9 @@
|
|
|
129
129
|
"@svgr/cli": "^8.1.0",
|
|
130
130
|
"@tanstack/query-core": "5.62.7",
|
|
131
131
|
"@tanstack/react-query": "5.62.7",
|
|
132
|
+
"@testing-library/jest-dom": "^6.5.0",
|
|
133
|
+
"@testing-library/react": "^16.0.1",
|
|
134
|
+
"@testing-library/user-event": "^14.5.2",
|
|
132
135
|
"@types/node": "^22.9.1",
|
|
133
136
|
"@types/pako": "^2.0.3",
|
|
134
137
|
"@types/react": "^18.2.33",
|
|
@@ -148,8 +151,8 @@
|
|
|
148
151
|
"vite": "^5.4.11",
|
|
149
152
|
"vite-plugin-dts": "^4.1.0",
|
|
150
153
|
"vite-tsconfig-paths": "^5.0.1",
|
|
151
|
-
"@edifice.io/client": "2.1.
|
|
152
|
-
"@edifice.io/config": "2.1.
|
|
154
|
+
"@edifice.io/client": "2.1.2-develop-pedago.20250304144959",
|
|
155
|
+
"@edifice.io/config": "2.1.2-develop-pedago.20250304144959"
|
|
153
156
|
},
|
|
154
157
|
"peerDependencies": {
|
|
155
158
|
"@react-spring/web": "^9.7.5",
|