@edifice.io/react 2.1.0 → 2.1.1
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/AppIcon/AppIcon.js +1 -1
- package/dist/components/Form/FormContext.js +1 -1
- package/dist/components/Form/FormControl.js +1 -1
- package/dist/components/Layout/components/WidgetApps.js +1 -1
- package/dist/hooks/useDropdown/useDropdown.js +1 -1
- package/dist/hooks/useUploadFiles/useUploadFiles.js +1 -1
- package/dist/index.js +106 -106
- package/dist/modules/audience/ReactionModal.Card.js +1 -1
- package/dist/modules/comments/components/CommentAvatar.js +1 -1
- package/dist/modules/comments/provider/CommentProvider.js +1 -1
- package/dist/modules/editor/components/Editor/Editor.js +1 -1
- package/dist/modules/editor/components/Renderer/LinkerRenderer.js +1 -1
- package/dist/modules/editor/hooks/useTipTapEditor.js +3 -3
- package/dist/modules/multimedia/UploadCard/UploadCard.js +2 -2
- package/dist/providers/MockedProvider/MockedProvider.js +1 -1
- package/package.json +6 -6
|
@@ -2,9 +2,9 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as iconsApps from "../../icons-apps.js";
|
|
5
|
+
import useEdificeIcons from "../../hooks/useEdificeIcons/useEdificeIcons.js";
|
|
5
6
|
import SvgIconPlaceholder from "../../modules/icons/components/apps/IconPlaceholder.js";
|
|
6
7
|
import Image from "../Image/Image.js";
|
|
7
|
-
import useEdificeIcons from "../../hooks/useEdificeIcons/useEdificeIcons.js";
|
|
8
8
|
const AppIcon = /* @__PURE__ */ forwardRef(({
|
|
9
9
|
app,
|
|
10
10
|
size = "24",
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef, useMemo } from "react";
|
|
3
3
|
import { Context } from "./FormContext.js";
|
|
4
4
|
import FormText from "./FormText.js";
|
|
5
|
-
import Label from "../Label/Label.js";
|
|
6
5
|
import Input from "../Input/Input.js";
|
|
6
|
+
import Label from "../Label/Label.js";
|
|
7
7
|
const Root = /* @__PURE__ */ forwardRef(({
|
|
8
8
|
children,
|
|
9
9
|
className,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useId, useState, useRef, useEffect, useCallback } from "react";
|
|
2
|
-
import { useFloating,
|
|
2
|
+
import { useFloating, offset, size, flip, autoUpdate, useHover, safePolygon } from "@floating-ui/react";
|
|
3
3
|
import { mergeRefs } from "../../utilities/refs/ref.js";
|
|
4
4
|
const useDropdown = (placement, extraTriggerKeyDownHandler, isTriggerHovered = !1) => {
|
|
5
5
|
const id = useId(), [visible, setVisible] = useState(!1), [activeIndex, setActiveIndex] = useState(-1), [isFocused, setIsFocused] = useState(null), {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState, useCallback, useEffect } from "react";
|
|
2
2
|
import { ImageResizer, addTimestampToImageUrl } from "@edifice.io/utilities";
|
|
3
3
|
import { useDropzoneContext } from "../../components/Dropzone/DropzoneContext.js";
|
|
4
|
-
import useUpload from "../useUpload/useUpload.js";
|
|
5
4
|
import useWorkspaceFile from "../useWorkspaceFile/useWorkspaceFile.js";
|
|
5
|
+
import useUpload from "../useUpload/useUpload.js";
|
|
6
6
|
const useUploadFiles = ({
|
|
7
7
|
handleOnChange,
|
|
8
8
|
visibility,
|
package/dist/index.js
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { default as default2 } from "./components/ActionBar/ActionBar.js";
|
|
2
|
-
import { default as default3 } from "./components/
|
|
3
|
-
import { default as default4 } from "./components/
|
|
4
|
-
import { default as default5 } from "./components/
|
|
5
|
-
import { default as default6 } from "./components/
|
|
6
|
-
import { default as default7 } from "./components/
|
|
7
|
-
import { default as default8 } from "./components/
|
|
8
|
-
import { default as default9 } from "./components/Button/
|
|
9
|
-
import { default as default10 } from "./components/
|
|
10
|
-
import { default as default11 } from "./components/
|
|
11
|
-
import { default as default12 } from "./components/ColorPicker/
|
|
12
|
-
import { default as default13 } from "./components/
|
|
13
|
-
import { default as default14 } from "./components/
|
|
14
|
-
import { default as default15 } from "./components/
|
|
15
|
-
import { default as default16 } from "./components/
|
|
16
|
-
import { default as default17 } from "./components/
|
|
17
|
-
import { default as default18 } from "./components/
|
|
18
|
-
import { default as default19 } from "./components/
|
|
19
|
-
import { default as default20 } from "./components/
|
|
20
|
-
import { default as default21 } from "./components/
|
|
21
|
-
import { default as default22 } from "./components/
|
|
2
|
+
import { default as default3 } from "./components/Alert/Alert.js";
|
|
3
|
+
import { default as default4 } from "./components/AppHeader/AppHeader.js";
|
|
4
|
+
import { default as default5 } from "./components/AppIcon/AppIcon.js";
|
|
5
|
+
import { default as default6 } from "./components/Attachment/Attachment.js";
|
|
6
|
+
import { default as default7 } from "./components/Badge/Badge.js";
|
|
7
|
+
import { default as default8 } from "./components/Breadcrumb/Breadcrumb.js";
|
|
8
|
+
import { default as default9 } from "./components/Button/IconButton.js";
|
|
9
|
+
import { default as default10 } from "./components/Button/SearchButton.js";
|
|
10
|
+
import { default as default11 } from "./components/Card/Card.js";
|
|
11
|
+
import { default as default12 } from "./components/ColorPicker/ColorPicker.js";
|
|
12
|
+
import { default as default13 } from "./components/ColorPicker/ColorPickerItem.js";
|
|
13
|
+
import { default as default14 } from "./components/Dropdown/Dropdown.js";
|
|
14
|
+
import { default as default15 } from "./components/Dropzone/Dropzone.js";
|
|
15
|
+
import { default as default16 } from "./components/EmptyScreen/EmptyScreen.js";
|
|
16
|
+
import { default as default17 } from "./components/Form/FormText.js";
|
|
17
|
+
import { default as default18 } from "./components/Image/Image.js";
|
|
18
|
+
import { default as default19 } from "./components/Loading/Loading.js";
|
|
19
|
+
import { default as default20 } from "./components/Logo/Logo.js";
|
|
20
|
+
import { default as default21 } from "./components/SearchBar/SearchBar.js";
|
|
21
|
+
import { default as default22 } from "./components/Select/Select.js";
|
|
22
|
+
import { default as default23 } from "./components/Table/components/Table.js";
|
|
22
23
|
import { DndTree } from "./components/Tree/components/DndTree.js";
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as default55 } from "./components/Alert/Alert.js";
|
|
24
|
+
import { default as default24 } from "./components/Tree/components/SortableTree.js";
|
|
25
|
+
import { default as default25 } from "./components/Tree/components/Tree.js";
|
|
26
|
+
import { default as default26 } from "./components/TreeView/TreeView.js";
|
|
27
|
+
import { default as default27 } from "./hooks/useBookmark/useBookmark.js";
|
|
28
|
+
import { default as default28 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
29
|
+
import { default as default29 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
30
|
+
import { default as default30 } from "./hooks/useCantoo/useCantoo.js";
|
|
31
|
+
import { default as default31 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
32
|
+
import { default as default32 } from "./hooks/useConversation/useConversation.js";
|
|
33
|
+
import { default as default33 } from "./hooks/useDate/useDate.js";
|
|
34
|
+
import { default as default34 } from "./hooks/useDebounce/useDebounce.js";
|
|
35
|
+
import { default as default35 } from "./hooks/useDirectory/useDirectory.js";
|
|
36
|
+
import { default as default36 } from "./hooks/useDropdown/useDropdown.js";
|
|
37
|
+
import { default as default37 } from "./hooks/useDropzone/useDropzone.js";
|
|
38
|
+
import { default as default38 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
39
|
+
import { default as default39 } from "./hooks/useHover/useHover.js";
|
|
40
|
+
import { default as default40 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
41
|
+
import { default as default41 } from "./hooks/useImage/useImage.js";
|
|
42
|
+
import { default as default42 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
43
|
+
import { default as default43 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
44
|
+
import { default as default44 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
45
|
+
import { default as default45 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
46
|
+
import { default as default46 } from "./hooks/useTitle/useTitle.js";
|
|
47
|
+
import { default as default47 } from "./hooks/useToggle/useToggle.js";
|
|
48
|
+
import { default as default48 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
49
|
+
import { default as default49 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
50
|
+
import { default as default50 } from "./hooks/useUpload/useUpload.js";
|
|
51
|
+
import { default as default51 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
52
|
+
import { default as default52 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
53
|
+
import { default as default53 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
54
|
+
import { default as default54 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
55
|
+
import { default as default55 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
56
56
|
import { default as default56 } from "./components/Avatar/Avatar.js";
|
|
57
57
|
import { default as default57 } from "./components/Button/Button.js";
|
|
58
58
|
import { default as default58 } from "./components/Checkbox/Checkbox.js";
|
|
@@ -107,44 +107,44 @@ import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
|
107
107
|
export {
|
|
108
108
|
AccessiblePalette,
|
|
109
109
|
default2 as ActionBar,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
default3 as Alert,
|
|
111
|
+
default4 as AppHeader,
|
|
112
|
+
default5 as AppIcon,
|
|
113
|
+
default6 as Attachment,
|
|
114
114
|
default56 as Avatar,
|
|
115
|
-
|
|
115
|
+
default7 as Badge,
|
|
116
116
|
default76 as BlogPublic,
|
|
117
|
-
|
|
117
|
+
default8 as Breadcrumb,
|
|
118
118
|
default57 as Button,
|
|
119
|
-
|
|
119
|
+
default11 as Card,
|
|
120
120
|
default58 as Checkbox,
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
default12 as ColorPicker,
|
|
122
|
+
default13 as ColorPickerItem,
|
|
123
123
|
Column,
|
|
124
124
|
default59 as Combobox,
|
|
125
125
|
DefaultPalette,
|
|
126
126
|
DndTree,
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
default14 as Dropdown,
|
|
128
|
+
default15 as Dropzone,
|
|
129
129
|
DropzoneContext,
|
|
130
130
|
EdificeClientContext,
|
|
131
131
|
EdificeClientProvider,
|
|
132
132
|
EdificeThemeContext,
|
|
133
133
|
EdificeThemeProvider,
|
|
134
|
-
|
|
134
|
+
default16 as EmptyScreen,
|
|
135
135
|
default60 as FormControl,
|
|
136
|
-
|
|
136
|
+
default17 as FormText,
|
|
137
137
|
Grid,
|
|
138
138
|
default61 as Heading,
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
default9 as IconButton,
|
|
140
|
+
default18 as Image,
|
|
141
141
|
default62 as Input,
|
|
142
142
|
default63 as Label,
|
|
143
143
|
Layout,
|
|
144
144
|
List,
|
|
145
|
-
|
|
145
|
+
default19 as Loading,
|
|
146
146
|
default64 as LoadingScreen,
|
|
147
|
-
|
|
147
|
+
default20 as Logo,
|
|
148
148
|
Menu,
|
|
149
149
|
MockedProvider,
|
|
150
150
|
default65 as Modal,
|
|
@@ -156,21 +156,21 @@ export {
|
|
|
156
156
|
default75 as PublishModal,
|
|
157
157
|
default66 as Radio,
|
|
158
158
|
ResourceModal,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
default21 as SearchBar,
|
|
160
|
+
default10 as SearchButton,
|
|
161
|
+
default22 as Select,
|
|
162
162
|
default79 as ShareBlog,
|
|
163
163
|
default78 as ShareModal,
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
default24 as SortableTree,
|
|
165
|
+
default23 as Table,
|
|
166
166
|
Tabs,
|
|
167
167
|
default67 as TextArea,
|
|
168
168
|
Toolbar,
|
|
169
169
|
default68 as Tooltip,
|
|
170
|
-
|
|
170
|
+
default25 as Tree,
|
|
171
171
|
TreeNode,
|
|
172
172
|
TreeNodeFolderWrapper,
|
|
173
|
-
|
|
173
|
+
default26 as TreeView,
|
|
174
174
|
default69 as VisuallyHidden,
|
|
175
175
|
addNode,
|
|
176
176
|
arrayUnique,
|
|
@@ -199,46 +199,46 @@ export {
|
|
|
199
199
|
setRef,
|
|
200
200
|
updateNode,
|
|
201
201
|
updateParentIds,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
202
|
+
default27 as useBookmark,
|
|
203
|
+
default28 as useBreakpoint,
|
|
204
|
+
default29 as useBrowserInfo,
|
|
205
|
+
default30 as useCantoo,
|
|
206
206
|
useCheckable,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
207
|
+
default31 as useClickOutside,
|
|
208
|
+
default32 as useConversation,
|
|
209
|
+
default33 as useDate,
|
|
210
|
+
default34 as useDebounce,
|
|
211
|
+
default35 as useDirectory,
|
|
212
|
+
default36 as useDropdown,
|
|
213
|
+
default37 as useDropzone,
|
|
214
214
|
useDropzoneContext,
|
|
215
215
|
useEdificeClient,
|
|
216
|
-
|
|
216
|
+
default38 as useEdificeIcons,
|
|
217
217
|
useEdificeTheme,
|
|
218
218
|
default70 as useHasWorkflow,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
219
|
+
default39 as useHover,
|
|
220
|
+
default40 as useHttpErrorToast,
|
|
221
|
+
default41 as useImage,
|
|
222
|
+
default42 as useIsAdml,
|
|
223
|
+
default43 as useKeyPress,
|
|
224
|
+
default44 as useLibraryUrl,
|
|
225
225
|
default71 as useMediaLibrary,
|
|
226
|
-
|
|
226
|
+
default45 as useScrollToTop,
|
|
227
227
|
default80 as useShareMutation,
|
|
228
|
-
|
|
228
|
+
default46 as useTitle,
|
|
229
229
|
default72 as useToast,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
default47 as useToggle,
|
|
231
|
+
default48 as useTrapFocus,
|
|
232
|
+
default49 as useTrashedResource,
|
|
233
233
|
useTreeSortable,
|
|
234
234
|
useTreeView,
|
|
235
235
|
default77 as useUpdateMutation,
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
default50 as useUpload,
|
|
237
|
+
default51 as useUploadFiles,
|
|
238
238
|
default73 as useUser,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
default52 as useWorkspaceFile,
|
|
240
|
+
default53 as useWorkspaceSearch,
|
|
241
|
+
default54 as useXitiTrackPageLoad,
|
|
242
|
+
default55 as useZendeskGuide,
|
|
243
243
|
wrapTreeNode
|
|
244
244
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import useReactionIcons from "./hooks/useReactionIcons.js";
|
|
4
|
-
import Avatar from "../../components/Avatar/Avatar.js";
|
|
5
4
|
import useDirectory from "../../hooks/useDirectory/useDirectory.js";
|
|
5
|
+
import Avatar from "../../components/Avatar/Avatar.js";
|
|
6
6
|
function ReactionModalCard({
|
|
7
7
|
reaction
|
|
8
8
|
}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
|
-
import Avatar from "../../../components/Avatar/Avatar.js";
|
|
4
3
|
import useDirectory from "../../../hooks/useDirectory/useDirectory.js";
|
|
4
|
+
import Avatar from "../../../components/Avatar/Avatar.js";
|
|
5
5
|
const CommentAvatar = ({
|
|
6
6
|
id
|
|
7
7
|
}) => {
|
|
@@ -3,7 +3,7 @@ import { useMemo } from "react";
|
|
|
3
3
|
import { CommentForm } from "../components/CommentForm.js";
|
|
4
4
|
import { CommentHeader } from "../components/CommentHeader.js";
|
|
5
5
|
import { CommentList } from "../components/CommentList.js";
|
|
6
|
-
import {
|
|
6
|
+
import { DEFAULT_MAX_REPLIES, DEFAULT_ADD_COMMENTS, DEFAULT_MAX_COMMENTS, DEFAULT_MAX_REPLY_LENGTH, DEFAULT_MAX_COMMENT_LENGTH } from "../constants.js";
|
|
7
7
|
import { CommentContext } from "../context/Context.js";
|
|
8
8
|
import { useComments } from "../hooks/useComments.js";
|
|
9
9
|
import Button from "../../../components/Button/Button.js";
|
|
@@ -15,8 +15,8 @@ import { EditorToolbar } from "../EditorToolbar/EditorToolbar.js";
|
|
|
15
15
|
import LinkToolbar from "../Toolbar/LinkToolbar.js";
|
|
16
16
|
import TableToolbar from "../Toolbar/TableToolbar.js";
|
|
17
17
|
import BubbleMenuEditImage from "../BubbleMenuEditImage/BubbleMenuEditImage.js";
|
|
18
|
-
import LoadingScreen from "../../../../components/LoadingScreen/LoadingScreen.js";
|
|
19
18
|
import MediaLibrary from "../../../multimedia/MediaLibrary/MediaLibrary.js";
|
|
19
|
+
import LoadingScreen from "../../../../components/LoadingScreen/LoadingScreen.js";
|
|
20
20
|
const MathsModal = /* @__PURE__ */ lazy(async () => await import("../MathsModal/MathsModal.js")), ImageEditor = /* @__PURE__ */ lazy(async () => await import("../../../multimedia/ImageEditor/components/ImageEditor.js")), Editor = /* @__PURE__ */ forwardRef(({
|
|
21
21
|
id,
|
|
22
22
|
content,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { NodeViewWrapper } from "@tiptap/react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
+
import useEdificeIcons from "../../../../hooks/useEdificeIcons/useEdificeIcons.js";
|
|
4
5
|
import Badge from "../../../../components/Badge/Badge.js";
|
|
5
6
|
import AppIcon from "../../../../components/AppIcon/AppIcon.js";
|
|
6
|
-
import useEdificeIcons from "../../../../hooks/useEdificeIcons/useEdificeIcons.js";
|
|
7
7
|
const LinkerRenderer = ({
|
|
8
8
|
selected,
|
|
9
9
|
...props
|
|
@@ -28,13 +28,13 @@ import { useTranslation } from "react-i18next";
|
|
|
28
28
|
import { useEdificeClient } from "../../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
29
29
|
import useUpload from "../../../hooks/useUpload/useUpload.js";
|
|
30
30
|
import VideoNodeView from "../components/NodeView/VideoNodeView.js";
|
|
31
|
-
import MediaRenderer from "../components/Renderer/MediaRenderer.js";
|
|
32
31
|
import AudioNodeView from "../components/NodeView/AudioNodeView.js";
|
|
33
|
-
import AudioRenderer from "../components/Renderer/AudioRenderer.js";
|
|
34
32
|
import LinkerNodeView from "../components/NodeView/LinkerNodeView.js";
|
|
35
|
-
import LinkerRenderer from "../components/Renderer/LinkerRenderer.js";
|
|
36
33
|
import ImageNodeView from "../components/NodeView/ImageNodeView.js";
|
|
37
34
|
import AttachmentNodeView from "../components/NodeView/AttachmentNodeView.js";
|
|
35
|
+
import MediaRenderer from "../components/Renderer/MediaRenderer.js";
|
|
36
|
+
import AudioRenderer from "../components/Renderer/AudioRenderer.js";
|
|
37
|
+
import LinkerRenderer from "../components/Renderer/LinkerRenderer.js";
|
|
38
38
|
import AttachmentRenderer from "../components/Renderer/AttachmentRenderer.js";
|
|
39
39
|
const useTipTapEditor = (editable, content, focus, placeholder, onContentChange, visibility = "protected") => {
|
|
40
40
|
const {
|
|
@@ -5,12 +5,12 @@ import SvgIconClose from "../../icons/components/IconClose.js";
|
|
|
5
5
|
import SvgIconReset from "../../icons/components/IconReset.js";
|
|
6
6
|
import SvgIconSuccessOutline from "../../icons/components/IconSuccessOutline.js";
|
|
7
7
|
import SvgIconWand from "../../icons/components/IconWand.js";
|
|
8
|
-
import Button from "../../../components/Button/Button.js";
|
|
9
|
-
import Image from "../../../components/Image/Image.js";
|
|
10
8
|
import Tooltip from "../../../components/Tooltip/Tooltip.js";
|
|
11
9
|
import Loading from "../../../components/Loading/Loading.js";
|
|
10
|
+
import Button from "../../../components/Button/Button.js";
|
|
12
11
|
import Card from "../../../components/Card/Card.js";
|
|
13
12
|
import IconButton from "../../../components/Button/IconButton.js";
|
|
13
|
+
import Image from "../../../components/Image/Image.js";
|
|
14
14
|
const UploadCard = ({
|
|
15
15
|
item,
|
|
16
16
|
status = "idle",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { QueryClientProvider, QueryClient } from "@tanstack/react-query";
|
|
3
3
|
import { EdificeClientProvider } from "../EdificeClientProvider/EdificeClientProvider.js";
|
|
4
4
|
import { EdificeThemeContext } from "../EdificeThemeProvider/EdificeThemeProvider.context.js";
|
|
5
5
|
const queryClient = new QueryClient(), Providers = ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
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.1",
|
|
122
|
+
"@edifice.io/tiptap-extensions": "2.1.1",
|
|
123
|
+
"@edifice.io/utilities": "2.1.1"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
"vite": "^5.4.11",
|
|
149
149
|
"vite-plugin-dts": "^4.1.0",
|
|
150
150
|
"vite-tsconfig-paths": "^5.0.1",
|
|
151
|
-
"@edifice.io/client": "2.1.
|
|
152
|
-
"@edifice.io/config": "2.1.
|
|
151
|
+
"@edifice.io/client": "2.1.1",
|
|
152
|
+
"@edifice.io/config": "2.1.1"
|
|
153
153
|
},
|
|
154
154
|
"peerDependencies": {
|
|
155
155
|
"@react-spring/web": "^9.7.5",
|