@edifice.io/react 2.5.15-develop-enabling.20260326100838 → 2.5.15-develop-b2school.20260327180304
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/Card/Card.js +1 -1
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/Form/FormControl.js +1 -1
- package/dist/components/Layout/components/WidgetApps.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/PreventPropagation/PreventPropagation.js +1 -1
- package/dist/components/PromotionCard/PromotionCard.js +1 -1
- package/dist/components/SearchBar/SearchBar.d.ts +2 -2
- package/dist/components/Table/components/Table.js +1 -1
- package/dist/hooks/useConf/useConf.d.ts +1 -1
- package/dist/hooks/useDropdown/useDropdown.js +0 -2
- package/dist/hooks/useSession/useSession.d.ts +1 -1
- package/dist/hooks/useThumbnail/useThumbnail.d.ts +1 -1
- package/dist/hooks/useThumbnail/useThumbnail.js +1 -5
- package/dist/hooks/useUpload/useUpload.js +5 -2
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.js +1 -1
- package/dist/modules/editor/components/Editor/EditorPreview.js +1 -1
- package/dist/modules/modals/OnboardingModal/index.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.js +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +53 -4
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +1 -2
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/modules/multimedia/FileCard/FileCard._.d.ts +17 -0
- package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +10 -24
- package/dist/modules/multimedia/ImageEditor/effects/blur.d.ts +5 -7
- package/dist/modules/multimedia/ImageEditor/effects/blur.js +18 -26
- package/dist/modules/multimedia/ImageEditor/effects/crop.d.ts +5 -4
- package/dist/modules/multimedia/ImageEditor/effects/crop.js +26 -42
- package/dist/modules/multimedia/ImageEditor/effects/misc.d.ts +16 -10
- package/dist/modules/multimedia/ImageEditor/effects/misc.js +12 -27
- package/dist/modules/multimedia/ImageEditor/effects/resize.d.ts +7 -3
- package/dist/modules/multimedia/ImageEditor/effects/resize.js +22 -31
- package/dist/modules/multimedia/ImageEditor/effects/rotate.js +3 -2
- package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.js +41 -40
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.d.ts +1 -1
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.js +3 -9
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEffects.js +1 -4
- package/dist/modules/multimedia/LinkerCard/LinkerCard._.d.ts +1 -1
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +0 -1
- package/dist/modules/multimedia/UploadCard/UploadCard._.d.ts +1 -1
- package/dist/modules/multimedia/UploadFiles/UploadFiles.js +4 -4
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
- package/dist/utilities/react-query/react-query-utils.d.ts +1 -1
- package/package.json +53 -52
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.d.ts +0 -12
- package/dist/modules/multimedia/ImageEditor/effects/constants.d.ts +0 -2
- package/dist/modules/multimedia/ImageEditor/effects/constants.js +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.5.15-develop-
|
|
3
|
+
"version": "2.5.15-develop-b2school.20260327180304",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -73,11 +73,13 @@
|
|
|
73
73
|
"dist"
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@ant-design/icons": "5.4.0",
|
|
77
|
-
"@dnd-kit/core": "6.
|
|
78
|
-
"@dnd-kit/sortable": "8.0.0",
|
|
79
|
-
"@dnd-kit/utilities": "3.2.2",
|
|
76
|
+
"@ant-design/icons": "^5.4.0",
|
|
77
|
+
"@dnd-kit/core": "^6.1.0",
|
|
78
|
+
"@dnd-kit/sortable": "^8.0.0",
|
|
79
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
80
80
|
"@floating-ui/react": "0.26.0",
|
|
81
|
+
"@pixi/mixin-get-child-by-name": "7.4.2",
|
|
82
|
+
"@pixi/react": "7.1.2",
|
|
81
83
|
"@popperjs/core": "2.11.8",
|
|
82
84
|
"@tiptap/core": "2.11.0",
|
|
83
85
|
"@tiptap/extension-blockquote": "2.11.0",
|
|
@@ -116,66 +118,66 @@
|
|
|
116
118
|
"@tiptap/pm": "2.11.0",
|
|
117
119
|
"@tiptap/react": "2.11.0",
|
|
118
120
|
"@tiptap/starter-kit": "2.11.0",
|
|
119
|
-
"@uidotdev/usehooks": "2.4.1",
|
|
120
|
-
"antd": "5.29.1",
|
|
121
|
-
"clsx": "2.1.1",
|
|
121
|
+
"@uidotdev/usehooks": "^2.4.1",
|
|
122
|
+
"antd": "^5.29.1",
|
|
123
|
+
"clsx": "^2.1.1",
|
|
122
124
|
"dayjs": "1.11.19",
|
|
123
|
-
"emoji-picker-react": "4.
|
|
125
|
+
"emoji-picker-react": "4.5.2",
|
|
124
126
|
"heic2any": "0.0.4",
|
|
125
127
|
"html-react-parser": "4.2.1",
|
|
126
128
|
"ohash": "1.1.3",
|
|
127
129
|
"pako": "2.1.0",
|
|
128
|
-
"pixi.js": "
|
|
129
|
-
"react-hot-toast": "2.
|
|
130
|
+
"pixi.js": "7.4.2",
|
|
131
|
+
"react-hot-toast": "^2.4.1",
|
|
130
132
|
"react-intersection-observer": "9.5.3",
|
|
131
|
-
"react-
|
|
132
|
-
"react-
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"@edifice.io/
|
|
137
|
-
"@edifice.io/
|
|
138
|
-
"@edifice.io/
|
|
133
|
+
"react-popper": "^2.3.0",
|
|
134
|
+
"react-slugify": "^3.0.3",
|
|
135
|
+
"swiper": "^10.1.0",
|
|
136
|
+
"ua-parser-js": "^1.0.36",
|
|
137
|
+
"react-pdf": "10.2.0",
|
|
138
|
+
"@edifice.io/bootstrap": "2.5.15-develop-b2school.20260327180304",
|
|
139
|
+
"@edifice.io/tiptap-extensions": "2.5.15-develop-b2school.20260327180304",
|
|
140
|
+
"@edifice.io/utilities": "2.5.15-develop-b2school.20260327180304"
|
|
139
141
|
},
|
|
140
142
|
"devDependencies": {
|
|
141
|
-
"@babel/plugin-transform-react-pure-annotations": "7.
|
|
142
|
-
"@eslint/js": "9.
|
|
143
|
-
"@react-spring/web": "9.7.5",
|
|
144
|
-
"@svgr/cli": "8.1.0",
|
|
145
|
-
"@tanstack/query-core": "5.
|
|
143
|
+
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
144
|
+
"@eslint/js": "^9.12.0",
|
|
145
|
+
"@react-spring/web": "^9.7.5",
|
|
146
|
+
"@svgr/cli": "^8.1.0",
|
|
147
|
+
"@tanstack/query-core": "5.62.7",
|
|
146
148
|
"@tanstack/react-query": "5.62.7",
|
|
147
|
-
"@testing-library/jest-dom": "6.5.0",
|
|
148
|
-
"@testing-library/react": "16.0.1",
|
|
149
|
-
"@testing-library/user-event": "14.5.2",
|
|
150
|
-
"@types/node": "22.
|
|
151
|
-
"@types/pako": "2.0.
|
|
152
|
-
"@types/react": "18.
|
|
153
|
-
"@types/react-dom": "18.
|
|
154
|
-
"@types/ua-parser-js": "0.7.37",
|
|
155
|
-
"@vitejs/plugin-react": "4.
|
|
156
|
-
"eslint": "9.
|
|
149
|
+
"@testing-library/jest-dom": "^6.5.0",
|
|
150
|
+
"@testing-library/react": "^16.0.1",
|
|
151
|
+
"@testing-library/user-event": "^14.5.2",
|
|
152
|
+
"@types/node": "^22.9.1",
|
|
153
|
+
"@types/pako": "^2.0.3",
|
|
154
|
+
"@types/react": "^18.2.33",
|
|
155
|
+
"@types/react-dom": "^18.2.14",
|
|
156
|
+
"@types/ua-parser-js": "^0.7.37",
|
|
157
|
+
"@vitejs/plugin-react": "^4.3.2",
|
|
158
|
+
"eslint": "^9.12.0",
|
|
157
159
|
"eslint-plugin-react-hooks": "5.1.0-rc.0",
|
|
158
|
-
"eslint-plugin-react-refresh": "0.4.
|
|
159
|
-
"react": "18.3.1",
|
|
160
|
-
"react-dom": "18.3.1",
|
|
161
|
-
"react-hook-form": "7.
|
|
162
|
-
"react-i18next": "14.1.
|
|
163
|
-
"rollup-plugin-pure": "0.
|
|
160
|
+
"eslint-plugin-react-refresh": "^0.4.12",
|
|
161
|
+
"react": "^18.3.1",
|
|
162
|
+
"react-dom": "^18.3.1",
|
|
163
|
+
"react-hook-form": "^7.53.0",
|
|
164
|
+
"react-i18next": "^14.1.0",
|
|
165
|
+
"rollup-plugin-pure": "^0.2.1",
|
|
164
166
|
"rollup-plugin-visualizer": "5.12.0",
|
|
165
|
-
"typescript-eslint": "8.
|
|
166
|
-
"vite": "5.4.
|
|
167
|
-
"vite-plugin-dts": "4.
|
|
168
|
-
"vite-tsconfig-paths": "5.1
|
|
169
|
-
"@edifice.io/
|
|
170
|
-
"@edifice.io/
|
|
167
|
+
"typescript-eslint": "^8.8.1",
|
|
168
|
+
"vite": "^5.4.11",
|
|
169
|
+
"vite-plugin-dts": "^4.1.0",
|
|
170
|
+
"vite-tsconfig-paths": "^5.0.1",
|
|
171
|
+
"@edifice.io/client": "2.5.15-develop-b2school.20260327180304",
|
|
172
|
+
"@edifice.io/config": "2.5.15-develop-b2school.20260327180304"
|
|
171
173
|
},
|
|
172
174
|
"peerDependencies": {
|
|
173
|
-
"@react-spring/web": "9.7.5",
|
|
175
|
+
"@react-spring/web": "^9.7.5",
|
|
174
176
|
"@tanstack/react-query": "5.62.7",
|
|
175
|
-
"react": "18.3.1",
|
|
176
|
-
"react-dom": "18.3.1",
|
|
177
|
-
"react-hook-form": "7.
|
|
178
|
-
"react-i18next": "14.1.
|
|
177
|
+
"react": "^18.3.1",
|
|
178
|
+
"react-dom": "^18.3.1",
|
|
179
|
+
"react-hook-form": "^7.53.0",
|
|
180
|
+
"react-i18next": "^14.1.0"
|
|
179
181
|
},
|
|
180
182
|
"publishConfig": {
|
|
181
183
|
"access": "public"
|
|
@@ -184,7 +186,6 @@
|
|
|
184
186
|
"scripts": {
|
|
185
187
|
"build": "pnpm build:icons && vite build",
|
|
186
188
|
"build:icons": "svgr src/modules/icons/assets --config-file ./svgr.config.cjs",
|
|
187
|
-
"build:analyze": "vite build --mode analyze",
|
|
188
189
|
"fix": "eslint --fix --report-unused-disable-directives --max-warnings 0",
|
|
189
190
|
"format": "pnpm run format:write && pnpm run format:check",
|
|
190
191
|
"format:check": "npx prettier --check \"src/**/*.{ts,tsx}\"",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { WorkspaceElement } from '@edifice.io/client';
|
|
2
|
-
export interface CreateFolderParams {
|
|
3
|
-
folderName: string;
|
|
4
|
-
folderParentId?: string;
|
|
5
|
-
}
|
|
6
|
-
declare function useWorkspaceFolders(): {
|
|
7
|
-
folders: WorkspaceElement[];
|
|
8
|
-
createFolderMutation: import('@tanstack/react-query').UseMutationResult<any, Error, CreateFolderParams, unknown>;
|
|
9
|
-
canCopyFileIntoFolder: (folderId: string) => boolean;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
};
|
|
12
|
-
export default useWorkspaceFolders;
|