@edifice.io/react 2.2.5-develop.20250429151203 → 2.2.5
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/index.d.ts +0 -1
- package/dist/index.js +126 -128
- package/package.json +6 -6
- package/dist/components/Flex/Flex.d.ts +0 -12
- package/dist/components/Flex/Flex.js +0 -19
- package/dist/components/Flex/index.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -18,71 +18,70 @@ import { default as default18 } from "./components/Combobox/Combobox.js";
|
|
|
18
18
|
import { default as default19 } from "./components/Dropdown/Dropdown.js";
|
|
19
19
|
import { default as default20 } from "./components/Dropzone/Dropzone.js";
|
|
20
20
|
import { default as default21 } from "./components/EmptyScreen/EmptyScreen.js";
|
|
21
|
-
import { default as default22 } from "./components/
|
|
22
|
-
import { default as default23 } from "./components/Form/
|
|
23
|
-
import { default as default24 } from "./components/
|
|
24
|
-
import { default as default25 } from "./components/
|
|
25
|
-
import { default as default26 } from "./components/
|
|
26
|
-
import { default as default27 } from "./components/
|
|
27
|
-
import { default as default28 } from "./components/
|
|
28
|
-
import { default as default29 } from "./components/
|
|
29
|
-
import { default as default30 } from "./components/
|
|
30
|
-
import { default as default31 } from "./components/
|
|
31
|
-
import { default as default32 } from "./components/
|
|
32
|
-
import { default as default33 } from "./components/
|
|
33
|
-
import { default as default34 } from "./components/
|
|
34
|
-
import { default as default35 } from "./components/
|
|
35
|
-
import { default as default36 } from "./components/
|
|
36
|
-
import { default as default37 } from "./components/
|
|
37
|
-
import { default as default38 } from "./components/
|
|
38
|
-
import { default as default39 } from "./components/
|
|
39
|
-
import { default as default40 } from "./components/
|
|
40
|
-
import { default as default41 } from "./components/Tooltip/Tooltip.js";
|
|
21
|
+
import { default as default22 } from "./components/Form/FormText.js";
|
|
22
|
+
import { default as default23 } from "./components/Form/FormControl.js";
|
|
23
|
+
import { default as default24 } from "./components/Heading/Heading.js";
|
|
24
|
+
import { default as default25 } from "./components/Image/Image.js";
|
|
25
|
+
import { default as default26 } from "./components/Input/Input.js";
|
|
26
|
+
import { default as default27 } from "./components/Label/Label.js";
|
|
27
|
+
import { default as default28 } from "./components/Loading/Loading.js";
|
|
28
|
+
import { default as default29 } from "./components/LoadingScreen/LoadingScreen.js";
|
|
29
|
+
import { default as default30 } from "./components/Logo/Logo.js";
|
|
30
|
+
import { default as default31 } from "./components/Modal/Modal.js";
|
|
31
|
+
import { default as default32 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
32
|
+
import { default as default33 } from "./components/Radio/Radio.js";
|
|
33
|
+
import { default as default34 } from "./components/SearchBar/SearchBar.js";
|
|
34
|
+
import { default as default35 } from "./components/Select/Select.js";
|
|
35
|
+
import { default as default36 } from "./components/StackedGroup/StackedGroup.js";
|
|
36
|
+
import { default as default37 } from "./components/Switch/Switch.js";
|
|
37
|
+
import { default as default38 } from "./components/Table/components/Table.js";
|
|
38
|
+
import { default as default39 } from "./components/TextArea/TextArea.js";
|
|
39
|
+
import { default as default40 } from "./components/Tooltip/Tooltip.js";
|
|
41
40
|
import { DndTree } from "./components/Tree/components/DndTree.js";
|
|
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
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
41
|
+
import { default as default41 } from "./components/Tree/components/SortableTree.js";
|
|
42
|
+
import { default as default42 } from "./components/Tree/components/Tree.js";
|
|
43
|
+
import { default as default43 } from "./components/TreeView/TreeView.js";
|
|
44
|
+
import { default as default44 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
45
|
+
import { default as default45 } from "./hooks/useBookmark/useBookmark.js";
|
|
46
|
+
import { default as default46 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
47
|
+
import { default as default47 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
48
|
+
import { default as default48 } from "./hooks/useCantoo/useCantoo.js";
|
|
49
|
+
import { default as default49 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
50
|
+
import { default as default50 } from "./hooks/useConversation/useConversation.js";
|
|
51
|
+
import { default as default51 } from "./hooks/useDate/useDate.js";
|
|
52
|
+
import { default as default52 } from "./hooks/useDebounce/useDebounce.js";
|
|
53
|
+
import { default as default53 } from "./hooks/useDirectory/useDirectory.js";
|
|
54
|
+
import { default as default54 } from "./hooks/useDropdown/useDropdown.js";
|
|
55
|
+
import { default as default55 } from "./hooks/useDropzone/useDropzone.js";
|
|
56
|
+
import { default as default56 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
57
|
+
import { default as default57 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
58
|
+
import { default as default58 } from "./hooks/useHover/useHover.js";
|
|
59
|
+
import { default as default59 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
60
|
+
import { default as default60 } from "./hooks/useImage/useImage.js";
|
|
61
|
+
import { default as default61 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
62
|
+
import { default as default62 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
63
|
+
import { default as default63 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
64
|
+
import { default as default64 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
65
|
+
import { default as default65 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
66
|
+
import { default as default66 } from "./hooks/useTitle/useTitle.js";
|
|
67
|
+
import { default as default67 } from "./hooks/useToast/useToast.js";
|
|
68
|
+
import { default as default68 } from "./hooks/useToggle/useToggle.js";
|
|
69
|
+
import { default as default69 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
70
|
+
import { default as default70 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
71
|
+
import { default as default71 } from "./hooks/useUpload/useUpload.js";
|
|
72
|
+
import { default as default72 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
73
|
+
import { default as default73 } from "./hooks/useUser/useUser.js";
|
|
74
|
+
import { default as default74 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
75
|
+
import { default as default75 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
76
|
+
import { default as default76 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
77
|
+
import { default as default77 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
78
|
+
import { default as default78 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
79
|
+
import { default as default79 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
80
|
+
import { default as default80 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
81
|
+
import { default as default81 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
82
|
+
import { default as default82 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
83
|
+
import { default as default83 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
84
|
+
import { default as default84 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
86
85
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
87
86
|
import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
|
|
88
87
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
@@ -119,7 +118,7 @@ export {
|
|
|
119
118
|
default7 as Avatar,
|
|
120
119
|
default8 as AvatarGroup,
|
|
121
120
|
default9 as Badge,
|
|
122
|
-
|
|
121
|
+
default80 as BlogPublic,
|
|
123
122
|
default10 as Breadcrumb,
|
|
124
123
|
default11 as Button,
|
|
125
124
|
default14 as Card,
|
|
@@ -138,50 +137,49 @@ export {
|
|
|
138
137
|
EdificeThemeContext,
|
|
139
138
|
EdificeThemeProvider,
|
|
140
139
|
default21 as EmptyScreen,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
default23 as FormText,
|
|
140
|
+
default23 as FormControl,
|
|
141
|
+
default22 as FormText,
|
|
144
142
|
Grid,
|
|
145
|
-
|
|
143
|
+
default24 as Heading,
|
|
146
144
|
default12 as IconButton,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
default25 as Image,
|
|
146
|
+
default26 as Input,
|
|
147
|
+
default27 as Label,
|
|
150
148
|
Layout,
|
|
151
149
|
List,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
150
|
+
default28 as Loading,
|
|
151
|
+
default29 as LoadingScreen,
|
|
152
|
+
default30 as Logo,
|
|
155
153
|
Menu,
|
|
156
154
|
MockedProvider,
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
default31 as Modal,
|
|
156
|
+
default78 as OnboardingModal,
|
|
159
157
|
Popover,
|
|
160
158
|
PopoverBody,
|
|
161
159
|
PopoverFooter,
|
|
162
160
|
PopoverHeader,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
default32 as PreventPropagation,
|
|
162
|
+
default79 as PublishModal,
|
|
163
|
+
default33 as Radio,
|
|
166
164
|
ResourceModal,
|
|
167
|
-
|
|
165
|
+
default34 as SearchBar,
|
|
168
166
|
default13 as SearchButton,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
167
|
+
default35 as Select,
|
|
168
|
+
default83 as ShareBlog,
|
|
169
|
+
default82 as ShareModal,
|
|
170
|
+
default41 as SortableTree,
|
|
171
|
+
default36 as StackedGroup,
|
|
172
|
+
default37 as Switch,
|
|
173
|
+
default38 as Table,
|
|
176
174
|
Tabs,
|
|
177
|
-
|
|
175
|
+
default39 as TextArea,
|
|
178
176
|
Toolbar,
|
|
179
|
-
|
|
180
|
-
|
|
177
|
+
default40 as Tooltip,
|
|
178
|
+
default42 as Tree,
|
|
181
179
|
TreeNode,
|
|
182
180
|
TreeNodeFolderWrapper,
|
|
183
|
-
|
|
184
|
-
|
|
181
|
+
default43 as TreeView,
|
|
182
|
+
default44 as VisuallyHidden,
|
|
185
183
|
addNode,
|
|
186
184
|
arrayUnique,
|
|
187
185
|
buildTree,
|
|
@@ -209,46 +207,46 @@ export {
|
|
|
209
207
|
setRef,
|
|
210
208
|
updateNode,
|
|
211
209
|
updateParentIds,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
210
|
+
default45 as useBookmark,
|
|
211
|
+
default46 as useBreakpoint,
|
|
212
|
+
default47 as useBrowserInfo,
|
|
213
|
+
default48 as useCantoo,
|
|
216
214
|
useCheckable,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
215
|
+
default49 as useClickOutside,
|
|
216
|
+
default50 as useConversation,
|
|
217
|
+
default51 as useDate,
|
|
218
|
+
default52 as useDebounce,
|
|
219
|
+
default53 as useDirectory,
|
|
220
|
+
default54 as useDropdown,
|
|
221
|
+
default55 as useDropzone,
|
|
224
222
|
useDropzoneContext,
|
|
225
223
|
useEdificeClient,
|
|
226
|
-
|
|
224
|
+
default56 as useEdificeIcons,
|
|
227
225
|
useEdificeTheme,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
226
|
+
default57 as useHasWorkflow,
|
|
227
|
+
default58 as useHover,
|
|
228
|
+
default59 as useHttpErrorToast,
|
|
229
|
+
default60 as useImage,
|
|
230
|
+
default61 as useIsAdml,
|
|
231
|
+
default62 as useKeyPress,
|
|
232
|
+
default63 as useLibraryUrl,
|
|
233
|
+
default64 as useMediaLibrary,
|
|
234
|
+
default65 as useScrollToTop,
|
|
235
|
+
default84 as useShareMutation,
|
|
236
|
+
default66 as useTitle,
|
|
237
|
+
default67 as useToast,
|
|
238
|
+
default68 as useToggle,
|
|
239
|
+
default69 as useTrapFocus,
|
|
240
|
+
default70 as useTrashedResource,
|
|
243
241
|
useTreeSortable,
|
|
244
242
|
useTreeView,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
243
|
+
default81 as useUpdateMutation,
|
|
244
|
+
default71 as useUpload,
|
|
245
|
+
default72 as useUploadFiles,
|
|
246
|
+
default73 as useUser,
|
|
247
|
+
default74 as useWorkspaceFile,
|
|
248
|
+
default75 as useWorkspaceSearch,
|
|
249
|
+
default76 as useXitiTrackPageLoad,
|
|
250
|
+
default77 as useZendeskGuide,
|
|
253
251
|
wrapTreeNode
|
|
254
252
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.2.5
|
|
3
|
+
"version": "2.2.5",
|
|
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.2.5
|
|
122
|
-
"@edifice.io/tiptap-extensions": "2.2.5
|
|
123
|
-
"@edifice.io/utilities": "2.2.5
|
|
121
|
+
"@edifice.io/bootstrap": "2.2.5",
|
|
122
|
+
"@edifice.io/tiptap-extensions": "2.2.5",
|
|
123
|
+
"@edifice.io/utilities": "2.2.5"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
"vite": "^5.4.11",
|
|
152
152
|
"vite-plugin-dts": "^4.1.0",
|
|
153
153
|
"vite-tsconfig-paths": "^5.0.1",
|
|
154
|
-
"@edifice.io/
|
|
155
|
-
"@edifice.io/
|
|
154
|
+
"@edifice.io/config": "2.2.5",
|
|
155
|
+
"@edifice.io/client": "2.2.5"
|
|
156
156
|
},
|
|
157
157
|
"peerDependencies": {
|
|
158
158
|
"@react-spring/web": "^9.7.5",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface FlexProps extends React.HTMLAttributes<HTMLElement> {
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse' | 'fill';
|
|
5
|
-
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
6
|
-
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
|
|
7
|
-
gap?: string;
|
|
8
|
-
wrap?: 'wrap' | 'nowrap' | 'reverse';
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const Flex: React.FC<FlexProps>;
|
|
12
|
-
export default Flex;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
const Flex = ({
|
|
4
|
-
as: Component = "div",
|
|
5
|
-
direction,
|
|
6
|
-
align,
|
|
7
|
-
justify,
|
|
8
|
-
gap,
|
|
9
|
-
wrap = "wrap",
|
|
10
|
-
className,
|
|
11
|
-
children,
|
|
12
|
-
...restProps
|
|
13
|
-
}) => {
|
|
14
|
-
const classes = clsx("d-flex", direction && (direction === "fill" ? "flex-fill" : `flex-${direction}`), align && `align-items-${align}`, justify && `justify-content-${justify}`, gap && `gap-${gap}`, wrap && `flex-${wrap}`, className);
|
|
15
|
-
return /* @__PURE__ */ jsx(Component, { className: classes, ...restProps, children });
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
Flex as default
|
|
19
|
-
};
|