@edifice.io/react 2.5.22 → 2.5.23-chore-tiptap-v3.20261005090729
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 +4 -1
- package/dist/components/Avatar/Avatar.d.ts +2 -2
- package/dist/components/Avatar/Avatar.js +2 -1
- package/dist/components/BetaSwitch/BetaSwitch.d.ts +13 -0
- package/dist/components/BetaSwitch/BetaSwitch.js +27 -0
- package/dist/components/BetaSwitch/index.d.ts +1 -0
- package/dist/components/ButtonBeta/ButtonBeta.d.ts +47 -0
- package/dist/components/ButtonBeta/ButtonBeta.js +34 -0
- package/dist/components/ButtonBeta/index.d.ts +2 -0
- package/dist/components/Dropdown/DropdownTrigger.d.ts +1 -1
- package/dist/components/Flex/Flex.js +5 -1
- package/dist/components/Logo/index.d.ts +1 -1
- package/dist/components/LogoBeta/LogoBeta.d.ts +7 -0
- package/dist/components/LogoBeta/LogoBeta.js +14 -0
- package/dist/components/LogoBeta/index.d.ts +2 -0
- package/dist/components/MediaViewer/MediaViewer.d.ts +1 -1
- package/dist/components/MediaViewer/MediaWrapper.d.ts +1 -1
- package/dist/components/PageLayout/PageLayout.d.ts +45 -0
- package/dist/components/PageLayout/PageLayout.js +94 -0
- package/dist/components/PageLayout/PageLayoutContext.d.ts +14 -0
- package/dist/components/PageLayout/PageLayoutContext.js +8 -0
- package/dist/components/PageLayout/components/PageLayoutBreadcrumb.d.ts +9 -0
- package/dist/components/PageLayout/components/PageLayoutBreadcrumb.js +10 -0
- package/dist/components/PageLayout/components/PageLayoutContent.d.ts +9 -0
- package/dist/components/PageLayout/components/PageLayoutContent.js +18 -0
- package/dist/components/PageLayout/components/PageLayoutHeader.d.ts +10 -0
- package/dist/components/PageLayout/components/PageLayoutHeader.js +18 -0
- package/dist/components/PageLayout/components/PageLayoutOverlay.d.ts +15 -0
- package/dist/components/PageLayout/components/PageLayoutOverlay.js +51 -0
- package/dist/components/PageLayout/components/PageLayoutSidebarLeft.d.ts +9 -0
- package/dist/components/PageLayout/components/PageLayoutSidebarLeft.js +18 -0
- package/dist/components/PageLayout/components/PageLayoutSidebarRight.d.ts +9 -0
- package/dist/components/PageLayout/components/PageLayoutSidebarRight.js +18 -0
- package/dist/components/PageLayout/hook/useOverlay.d.ts +5 -0
- package/dist/components/PageLayout/hook/useOverlay.js +15 -0
- package/dist/components/PageLayout/index.d.ts +4 -0
- package/dist/components/PageLayout/store/overlayStore.d.ts +15 -0
- package/dist/components/PageLayout/store/overlayStore.js +12 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/editor.js +2 -0
- package/dist/homepage.js +34 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useEdificeIcons/useEdificeIcons.js +10 -9
- package/dist/hooks/useScreeb/index.d.ts +1 -1
- package/dist/icons-nav.js +38 -28
- package/dist/index.js +215 -202
- package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js +97 -90
- package/dist/modules/editor/components/BubbleMenuEditInformationPane/BubbleMenuEditInformationPane.js +111 -95
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +3 -2
- package/dist/modules/editor/components/Toolbar/LinkToolbar.FloatingOptions.js +12 -0
- package/dist/modules/editor/components/Toolbar/LinkToolbar.js +5 -4
- package/dist/modules/editor/components/Toolbar/TableToolbar.js +10 -5
- package/dist/modules/editor/hooks/index.d.ts +1 -0
- package/dist/modules/editor/hooks/useCommentEditor.d.ts +1 -1
- package/dist/modules/editor/hooks/useCommentEditor.js +1 -1
- package/dist/modules/editor/hooks/useEditorState.d.ts +20 -0
- package/dist/modules/editor/hooks/useEditorState.js +16 -0
- package/dist/modules/editor/hooks/useSpeechSynthetisis.d.ts +1 -1
- package/dist/modules/editor/hooks/useTipTapEditor.d.ts +1 -1
- package/dist/modules/editor/hooks/useTipTapEditor.js +4 -8
- package/dist/modules/homepage/components/Favorites/Favorites.d.ts +6 -0
- package/dist/modules/homepage/components/Favorites/Favorites.js +28 -0
- package/dist/modules/homepage/components/Favorites/FavoritesContainer.d.ts +4 -0
- package/dist/modules/homepage/components/Favorites/FavoritesContainer.js +10 -0
- package/dist/modules/homepage/components/Favorites/index.d.ts +2 -0
- package/dist/modules/homepage/components/Header/Header.d.ts +9 -0
- package/dist/modules/homepage/components/Header/Header.js +80 -0
- package/dist/modules/homepage/components/Header/index.d.ts +2 -0
- package/dist/modules/homepage/components/HomeCard/HomeCard.d.ts +37 -0
- package/dist/modules/homepage/components/HomeCard/HomeCard.js +17 -0
- package/dist/modules/homepage/components/HomeCard/HomeCardContent.d.ts +7 -0
- package/dist/modules/homepage/components/HomeCard/HomeCardContent.js +10 -0
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.d.ts +18 -0
- package/dist/modules/homepage/components/HomeCard/HomeCardHeader.js +22 -0
- package/dist/modules/homepage/components/HomeCard/index.d.ts +4 -0
- package/dist/modules/homepage/components/LastInfos/LastInfos.d.ts +49 -0
- package/dist/modules/homepage/components/LastInfos/LastInfos.js +58 -0
- package/dist/modules/homepage/components/LastInfos/LastInfosContainer.d.ts +4 -0
- package/dist/modules/homepage/components/LastInfos/LastInfosContainer.js +37 -0
- package/dist/modules/homepage/components/LastInfos/LastInfosList.d.ts +13 -0
- package/dist/modules/homepage/components/LastInfos/LastInfosList.js +31 -0
- package/dist/modules/homepage/components/LastInfos/index.d.ts +4 -0
- package/dist/modules/homepage/components/LastInfos/useLastInfos.d.ts +18 -0
- package/dist/modules/homepage/components/LastInfos/useLastInfos.js +25 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlash.d.ts +12 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlash.js +65 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashList.d.ts +12 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashList.js +10 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashListContainer.d.ts +5 -0
- package/dist/modules/homepage/components/MessageFlashList/MessageFlashListContainer.js +14 -0
- package/dist/modules/homepage/components/MessageFlashList/hooks/useMessageFlashList.d.ts +16 -0
- package/dist/modules/homepage/components/MessageFlashList/hooks/useMessageFlashList.js +19 -0
- package/dist/modules/homepage/components/MessageFlashList/index.d.ts +4 -0
- package/dist/modules/homepage/components/MessageFlashList/services/api/index.d.ts +4 -0
- package/dist/modules/homepage/components/MessageFlashList/services/api/index.js +5 -0
- package/dist/modules/homepage/components/MessageFlashList/services/api/messagesFlashService.d.ts +20 -0
- package/dist/modules/homepage/components/MessageFlashList/services/api/messagesFlashService.js +21 -0
- package/dist/modules/homepage/components/MessageFlashList/services/queries/messagesFlash.d.ts +13 -0
- package/dist/modules/homepage/components/MessageFlashList/services/queries/messagesFlash.js +31 -0
- package/dist/modules/homepage/components/Notifications/Notification.d.ts +20 -0
- package/dist/modules/homepage/components/Notifications/Notification.js +16 -0
- package/dist/modules/homepage/components/Notifications/NotificationList.d.ts +18 -0
- package/dist/modules/homepage/components/Notifications/NotificationList.js +44 -0
- package/dist/modules/homepage/components/Notifications/NotificationListContainer.d.ts +9 -0
- package/dist/modules/homepage/components/Notifications/NotificationListContainer.js +20 -0
- package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.d.ts +5 -0
- package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.js +17 -0
- package/dist/modules/homepage/components/Notifications/NotificationSkeleton.d.ts +3 -0
- package/dist/modules/homepage/components/Notifications/NotificationSkeleton.js +19 -0
- package/dist/modules/homepage/components/Notifications/components/NotificationItem.d.ts +24 -0
- package/dist/modules/homepage/components/Notifications/components/NotificationItem.js +28 -0
- package/dist/modules/homepage/components/Notifications/components/NotificationResource.d.ts +15 -0
- package/dist/modules/homepage/components/Notifications/components/NotificationResource.js +19 -0
- package/dist/modules/homepage/components/Notifications/components/SystemNotification.d.ts +15 -0
- package/dist/modules/homepage/components/Notifications/components/SystemNotification.js +20 -0
- package/dist/modules/homepage/components/Notifications/components/UserNotification.d.ts +15 -0
- package/dist/modules/homepage/components/Notifications/components/UserNotification.js +25 -0
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.d.ts +27 -0
- package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +53 -0
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.d.ts +20 -0
- package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +26 -0
- package/dist/modules/homepage/components/Notifications/index.d.ts +6 -0
- package/dist/modules/homepage/components/Notifications/services/api/index.d.ts +4 -0
- package/dist/modules/homepage/components/Notifications/services/api/index.js +5 -0
- package/dist/modules/homepage/components/Notifications/services/api/notificationService.d.ts +15 -0
- package/dist/modules/homepage/components/Notifications/services/api/notificationService.js +22 -0
- package/dist/modules/homepage/components/Notifications/services/queries/notification.d.ts +20 -0
- package/dist/modules/homepage/components/Notifications/services/queries/notification.js +40 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.d.ts +15 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.js +29 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.d.ts +4 -0
- package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js +13 -0
- package/dist/modules/homepage/components/SchoolSpace/index.d.ts +3 -0
- package/dist/modules/homepage/components/SchoolSpace/useUserSchools.d.ts +6 -0
- package/dist/modules/homepage/components/SchoolSpace/useUserSchools.js +39 -0
- package/dist/modules/homepage/components/UserSpace/UserSpace.d.ts +13 -0
- package/dist/modules/homepage/components/UserSpace/UserSpace.js +28 -0
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.d.ts +7 -0
- package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.js +19 -0
- package/dist/modules/homepage/components/UserSpace/index.d.ts +3 -0
- package/dist/modules/homepage/components/index.d.ts +8 -0
- package/dist/modules/homepage/hooks/useWidget.d.ts +6 -0
- package/dist/modules/homepage/hooks/useWidget.js +83 -0
- package/dist/modules/homepage/hooks/useWidgetPreferences.d.ts +6 -0
- package/dist/modules/homepage/hooks/useWidgetPreferences.js +34 -0
- package/dist/modules/homepage/index.d.ts +1 -0
- package/dist/modules/icons/components/nav/IconCommunitiesBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconCommunitiesBeta.js +18 -0
- package/dist/modules/icons/components/nav/IconHomeBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconHomeBeta.js +13 -0
- package/dist/modules/icons/components/{IconStarFavorite.d.ts → nav/IconMessagesBeta.d.ts} +2 -2
- package/dist/modules/icons/components/nav/IconMessagesBeta.js +18 -0
- package/dist/modules/icons/components/nav/IconMyAppsBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconMyAppsBeta.js +13 -0
- package/dist/modules/icons/components/nav/IconNotificationBeta.d.ts +7 -0
- package/dist/modules/icons/components/nav/IconNotificationBeta.js +14 -0
- package/dist/modules/icons/components/nav/index.d.ts +5 -0
- package/dist/modules/modals/OnboardingModal/index.d.ts +1 -1
- package/dist/node_modules/.pnpm/@tiptap_extension-floating-menu@3.31.4_@floating-ui_dom@1.6.0_@tiptap_core@3.10.2_@tiptap_pm@3.10.2__@tiptap_pm@3.10.2/node_modules/@tiptap/extension-floating-menu/dist/index.js +159 -0
- package/dist/node_modules/.pnpm/@tiptap_react@3.10.2_@floating-ui_dom@1.6.0_@tiptap_core@3.10.2_@tiptap_pm@3.10.2__@tiptap_pm_dubv75vojf3t6hpx6vhaocpyzq/node_modules/@tiptap/react/dist/menus/index.js +89 -0
- package/dist/node_modules/.pnpm/prosemirror-model@1.25.12/node_modules/prosemirror-model/dist/index.js +419 -0
- package/dist/node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js +489 -0
- package/dist/node_modules/.pnpm/prosemirror-transform@1.12.2/node_modules/prosemirror-transform/dist/index.js +607 -0
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.d.ts +0 -7
- package/dist/utilities/create-selectors/createSelectors.d.ts +10 -0
- package/dist/utilities/create-selectors/createSelectors.js +11 -0
- package/package.json +47 -49
- package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.d.ts +0 -2
- package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.js +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.23-chore-tiptap-v3.20261005090729",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
"./widgets": {
|
|
66
66
|
"import": "./dist/widgets.js",
|
|
67
67
|
"types": "./dist/modules/widgets/index.d.ts"
|
|
68
|
+
},
|
|
69
|
+
"./homepage": {
|
|
70
|
+
"import": "./dist/homepage.js",
|
|
71
|
+
"types": "./dist/modules/homepage/index.d.ts"
|
|
68
72
|
}
|
|
69
73
|
},
|
|
70
74
|
"module": "dist/index.js",
|
|
@@ -74,49 +78,42 @@
|
|
|
74
78
|
],
|
|
75
79
|
"dependencies": {
|
|
76
80
|
"@ant-design/icons": "5.4.0",
|
|
77
|
-
"@screeb/sdk-react": "0.6.0",
|
|
78
81
|
"@dnd-kit/core": "6.3.1",
|
|
79
82
|
"@dnd-kit/sortable": "8.0.0",
|
|
80
83
|
"@dnd-kit/utilities": "3.2.2",
|
|
84
|
+
"@floating-ui/dom": "1.6.0",
|
|
81
85
|
"@floating-ui/react": "0.26.0",
|
|
82
86
|
"@popperjs/core": "2.11.8",
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@tiptap/
|
|
86
|
-
"@tiptap/extension-
|
|
87
|
-
"@tiptap/extension-code": "
|
|
88
|
-
"@tiptap/extension-code-block": "
|
|
89
|
-
"@tiptap/extension-
|
|
90
|
-
"@tiptap/extension-
|
|
91
|
-
"@tiptap/extension-
|
|
92
|
-
"@tiptap/extension-
|
|
93
|
-
"@tiptap/extension-
|
|
94
|
-
"@tiptap/extension-
|
|
95
|
-
"@tiptap/extension-
|
|
96
|
-
"@tiptap/extension-
|
|
97
|
-
"@tiptap/extension-
|
|
98
|
-
"@tiptap/extension-
|
|
99
|
-
"@tiptap/extension-
|
|
100
|
-
"@tiptap/extension-
|
|
101
|
-
"@tiptap/extension-
|
|
102
|
-
"@tiptap/extension-
|
|
103
|
-
"@tiptap/extension-
|
|
104
|
-
"@tiptap/extension-
|
|
105
|
-
"@tiptap/extension-
|
|
106
|
-
"@tiptap/extension-
|
|
107
|
-
"@tiptap/extension-
|
|
108
|
-
"@tiptap/extension-
|
|
109
|
-
"@tiptap/
|
|
110
|
-
"@tiptap/
|
|
111
|
-
"@tiptap/
|
|
112
|
-
"@tiptap/
|
|
113
|
-
"@tiptap/extension-text-align": "2.11.0",
|
|
114
|
-
"@tiptap/extension-text-style": "2.11.0",
|
|
115
|
-
"@tiptap/extension-typography": "2.11.0",
|
|
116
|
-
"@tiptap/extension-underline": "2.11.0",
|
|
117
|
-
"@tiptap/pm": "2.11.0",
|
|
118
|
-
"@tiptap/react": "2.11.0",
|
|
119
|
-
"@tiptap/starter-kit": "2.11.0",
|
|
87
|
+
"@screeb/sdk-browser": "0.5.0",
|
|
88
|
+
"@screeb/sdk-react": "0.6.0",
|
|
89
|
+
"@tiptap/core": "3.10.2",
|
|
90
|
+
"@tiptap/extension-blockquote": "3.10.2",
|
|
91
|
+
"@tiptap/extension-code": "3.10.2",
|
|
92
|
+
"@tiptap/extension-code-block": "3.10.2",
|
|
93
|
+
"@tiptap/extension-hard-break": "3.10.2",
|
|
94
|
+
"@tiptap/extension-heading": "3.10.2",
|
|
95
|
+
"@tiptap/extension-highlight": "3.10.2",
|
|
96
|
+
"@tiptap/extension-horizontal-rule": "3.10.2",
|
|
97
|
+
"@tiptap/extension-image": "3.10.2",
|
|
98
|
+
"@tiptap/extension-italic": "3.10.2",
|
|
99
|
+
"@tiptap/extension-link": "3.10.2",
|
|
100
|
+
"@tiptap/extension-mathematics": "3.10.2",
|
|
101
|
+
"@tiptap/extension-strike": "3.10.2",
|
|
102
|
+
"@tiptap/extension-subscript": "3.10.2",
|
|
103
|
+
"@tiptap/extension-superscript": "3.10.2",
|
|
104
|
+
"@tiptap/extension-table": "3.10.2",
|
|
105
|
+
"@tiptap/extension-text-align": "3.10.2",
|
|
106
|
+
"@tiptap/extension-text-style": "3.10.2",
|
|
107
|
+
"@tiptap/extension-color": "3.10.2",
|
|
108
|
+
"@tiptap/extension-font-family": "3.10.2",
|
|
109
|
+
"@tiptap/extension-typography": "3.10.2",
|
|
110
|
+
"@tiptap/extension-underline": "3.10.2",
|
|
111
|
+
"@tiptap/extension-list": "3.10.2",
|
|
112
|
+
"@tiptap/extension-bubble-menu": "3.10.2",
|
|
113
|
+
"@tiptap/extensions": "3.10.2",
|
|
114
|
+
"@tiptap/pm": "3.10.2",
|
|
115
|
+
"@tiptap/react": "3.10.2",
|
|
116
|
+
"@tiptap/starter-kit": "3.10.2",
|
|
120
117
|
"@uidotdev/usehooks": "2.4.1",
|
|
121
118
|
"antd": "5.29.1",
|
|
122
119
|
"clsx": "2.1.1",
|
|
@@ -134,9 +131,10 @@
|
|
|
134
131
|
"react-slugify": "3.0.3",
|
|
135
132
|
"swiper": "10.1.0",
|
|
136
133
|
"ua-parser-js": "1.0.36",
|
|
137
|
-
"
|
|
138
|
-
"@edifice.io/
|
|
139
|
-
"@edifice.io/
|
|
134
|
+
"zustand": "4.5.7",
|
|
135
|
+
"@edifice.io/tiptap-extensions": "2.5.23-chore-tiptap-v3.20261005090729",
|
|
136
|
+
"@edifice.io/utilities": "2.5.23-chore-tiptap-v3.20261005090729",
|
|
137
|
+
"@edifice.io/bootstrap": "2.5.23-chore-tiptap-v3.20261005090729"
|
|
140
138
|
},
|
|
141
139
|
"devDependencies": {
|
|
142
140
|
"@babel/plugin-transform-react-pure-annotations": "7.27.1",
|
|
@@ -167,8 +165,8 @@
|
|
|
167
165
|
"vite": "5.4.14",
|
|
168
166
|
"vite-plugin-dts": "4.5.4",
|
|
169
167
|
"vite-tsconfig-paths": "5.1.4",
|
|
170
|
-
"@edifice.io/client": "2.5.
|
|
171
|
-
"@edifice.io/config": "2.5.
|
|
168
|
+
"@edifice.io/client": "2.5.23-chore-tiptap-v3.20261005090729",
|
|
169
|
+
"@edifice.io/config": "2.5.23-chore-tiptap-v3.20261005090729"
|
|
172
170
|
},
|
|
173
171
|
"peerDependencies": {
|
|
174
172
|
"@react-spring/web": "9.7.5",
|
|
@@ -183,13 +181,13 @@
|
|
|
183
181
|
},
|
|
184
182
|
"gitHead": "3e1c3f5b48505564db1b70aab22063a70336f3b0",
|
|
185
183
|
"scripts": {
|
|
186
|
-
"build": "
|
|
187
|
-
"build:icons": "svgr src/modules/icons/assets --config-file ./svgr.config.cjs",
|
|
184
|
+
"build": "vite build",
|
|
188
185
|
"build:analyze": "vite build --mode analyze",
|
|
186
|
+
"generate:icons": "rm -rf src/modules/icons/components && svgr src/modules/icons/assets --config-file ./svgr.config.cjs --silent",
|
|
187
|
+
"icons:check": "pnpm generate:icons && git add --intent-to-add -- src/modules/icons/components && git diff --exit-code -- src/modules/icons/components",
|
|
189
188
|
"fix": "eslint --fix --report-unused-disable-directives --max-warnings 0",
|
|
190
|
-
"format": "
|
|
191
|
-
"format:
|
|
192
|
-
"format:write": "npx prettier --write \"src/**/*.{ts,tsx}\"",
|
|
189
|
+
"format": "prettier --check \"src/**/*.{ts,tsx}\"",
|
|
190
|
+
"format:write": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
193
191
|
"lint": "eslint",
|
|
194
192
|
"test": "vitest",
|
|
195
193
|
"test:watch": "vitest --watch"
|