@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.
Files changed (169) hide show
  1. package/dist/components/AppIcon/AppIcon.js +4 -1
  2. package/dist/components/Avatar/Avatar.d.ts +2 -2
  3. package/dist/components/Avatar/Avatar.js +2 -1
  4. package/dist/components/BetaSwitch/BetaSwitch.d.ts +13 -0
  5. package/dist/components/BetaSwitch/BetaSwitch.js +27 -0
  6. package/dist/components/BetaSwitch/index.d.ts +1 -0
  7. package/dist/components/ButtonBeta/ButtonBeta.d.ts +47 -0
  8. package/dist/components/ButtonBeta/ButtonBeta.js +34 -0
  9. package/dist/components/ButtonBeta/index.d.ts +2 -0
  10. package/dist/components/Dropdown/DropdownTrigger.d.ts +1 -1
  11. package/dist/components/Flex/Flex.js +5 -1
  12. package/dist/components/Logo/index.d.ts +1 -1
  13. package/dist/components/LogoBeta/LogoBeta.d.ts +7 -0
  14. package/dist/components/LogoBeta/LogoBeta.js +14 -0
  15. package/dist/components/LogoBeta/index.d.ts +2 -0
  16. package/dist/components/MediaViewer/MediaViewer.d.ts +1 -1
  17. package/dist/components/MediaViewer/MediaWrapper.d.ts +1 -1
  18. package/dist/components/PageLayout/PageLayout.d.ts +45 -0
  19. package/dist/components/PageLayout/PageLayout.js +94 -0
  20. package/dist/components/PageLayout/PageLayoutContext.d.ts +14 -0
  21. package/dist/components/PageLayout/PageLayoutContext.js +8 -0
  22. package/dist/components/PageLayout/components/PageLayoutBreadcrumb.d.ts +9 -0
  23. package/dist/components/PageLayout/components/PageLayoutBreadcrumb.js +10 -0
  24. package/dist/components/PageLayout/components/PageLayoutContent.d.ts +9 -0
  25. package/dist/components/PageLayout/components/PageLayoutContent.js +18 -0
  26. package/dist/components/PageLayout/components/PageLayoutHeader.d.ts +10 -0
  27. package/dist/components/PageLayout/components/PageLayoutHeader.js +18 -0
  28. package/dist/components/PageLayout/components/PageLayoutOverlay.d.ts +15 -0
  29. package/dist/components/PageLayout/components/PageLayoutOverlay.js +51 -0
  30. package/dist/components/PageLayout/components/PageLayoutSidebarLeft.d.ts +9 -0
  31. package/dist/components/PageLayout/components/PageLayoutSidebarLeft.js +18 -0
  32. package/dist/components/PageLayout/components/PageLayoutSidebarRight.d.ts +9 -0
  33. package/dist/components/PageLayout/components/PageLayoutSidebarRight.js +18 -0
  34. package/dist/components/PageLayout/hook/useOverlay.d.ts +5 -0
  35. package/dist/components/PageLayout/hook/useOverlay.js +15 -0
  36. package/dist/components/PageLayout/index.d.ts +4 -0
  37. package/dist/components/PageLayout/store/overlayStore.d.ts +15 -0
  38. package/dist/components/PageLayout/store/overlayStore.js +12 -0
  39. package/dist/components/index.d.ts +4 -0
  40. package/dist/editor.js +2 -0
  41. package/dist/homepage.js +34 -0
  42. package/dist/hooks/index.d.ts +1 -1
  43. package/dist/hooks/useEdificeIcons/useEdificeIcons.js +10 -9
  44. package/dist/hooks/useScreeb/index.d.ts +1 -1
  45. package/dist/icons-nav.js +38 -28
  46. package/dist/index.js +215 -202
  47. package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js +97 -90
  48. package/dist/modules/editor/components/BubbleMenuEditInformationPane/BubbleMenuEditInformationPane.js +111 -95
  49. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +3 -2
  50. package/dist/modules/editor/components/Toolbar/LinkToolbar.FloatingOptions.js +12 -0
  51. package/dist/modules/editor/components/Toolbar/LinkToolbar.js +5 -4
  52. package/dist/modules/editor/components/Toolbar/TableToolbar.js +10 -5
  53. package/dist/modules/editor/hooks/index.d.ts +1 -0
  54. package/dist/modules/editor/hooks/useCommentEditor.d.ts +1 -1
  55. package/dist/modules/editor/hooks/useCommentEditor.js +1 -1
  56. package/dist/modules/editor/hooks/useEditorState.d.ts +20 -0
  57. package/dist/modules/editor/hooks/useEditorState.js +16 -0
  58. package/dist/modules/editor/hooks/useSpeechSynthetisis.d.ts +1 -1
  59. package/dist/modules/editor/hooks/useTipTapEditor.d.ts +1 -1
  60. package/dist/modules/editor/hooks/useTipTapEditor.js +4 -8
  61. package/dist/modules/homepage/components/Favorites/Favorites.d.ts +6 -0
  62. package/dist/modules/homepage/components/Favorites/Favorites.js +28 -0
  63. package/dist/modules/homepage/components/Favorites/FavoritesContainer.d.ts +4 -0
  64. package/dist/modules/homepage/components/Favorites/FavoritesContainer.js +10 -0
  65. package/dist/modules/homepage/components/Favorites/index.d.ts +2 -0
  66. package/dist/modules/homepage/components/Header/Header.d.ts +9 -0
  67. package/dist/modules/homepage/components/Header/Header.js +80 -0
  68. package/dist/modules/homepage/components/Header/index.d.ts +2 -0
  69. package/dist/modules/homepage/components/HomeCard/HomeCard.d.ts +37 -0
  70. package/dist/modules/homepage/components/HomeCard/HomeCard.js +17 -0
  71. package/dist/modules/homepage/components/HomeCard/HomeCardContent.d.ts +7 -0
  72. package/dist/modules/homepage/components/HomeCard/HomeCardContent.js +10 -0
  73. package/dist/modules/homepage/components/HomeCard/HomeCardHeader.d.ts +18 -0
  74. package/dist/modules/homepage/components/HomeCard/HomeCardHeader.js +22 -0
  75. package/dist/modules/homepage/components/HomeCard/index.d.ts +4 -0
  76. package/dist/modules/homepage/components/LastInfos/LastInfos.d.ts +49 -0
  77. package/dist/modules/homepage/components/LastInfos/LastInfos.js +58 -0
  78. package/dist/modules/homepage/components/LastInfos/LastInfosContainer.d.ts +4 -0
  79. package/dist/modules/homepage/components/LastInfos/LastInfosContainer.js +37 -0
  80. package/dist/modules/homepage/components/LastInfos/LastInfosList.d.ts +13 -0
  81. package/dist/modules/homepage/components/LastInfos/LastInfosList.js +31 -0
  82. package/dist/modules/homepage/components/LastInfos/index.d.ts +4 -0
  83. package/dist/modules/homepage/components/LastInfos/useLastInfos.d.ts +18 -0
  84. package/dist/modules/homepage/components/LastInfos/useLastInfos.js +25 -0
  85. package/dist/modules/homepage/components/MessageFlashList/MessageFlash.d.ts +12 -0
  86. package/dist/modules/homepage/components/MessageFlashList/MessageFlash.js +65 -0
  87. package/dist/modules/homepage/components/MessageFlashList/MessageFlashList.d.ts +12 -0
  88. package/dist/modules/homepage/components/MessageFlashList/MessageFlashList.js +10 -0
  89. package/dist/modules/homepage/components/MessageFlashList/MessageFlashListContainer.d.ts +5 -0
  90. package/dist/modules/homepage/components/MessageFlashList/MessageFlashListContainer.js +14 -0
  91. package/dist/modules/homepage/components/MessageFlashList/hooks/useMessageFlashList.d.ts +16 -0
  92. package/dist/modules/homepage/components/MessageFlashList/hooks/useMessageFlashList.js +19 -0
  93. package/dist/modules/homepage/components/MessageFlashList/index.d.ts +4 -0
  94. package/dist/modules/homepage/components/MessageFlashList/services/api/index.d.ts +4 -0
  95. package/dist/modules/homepage/components/MessageFlashList/services/api/index.js +5 -0
  96. package/dist/modules/homepage/components/MessageFlashList/services/api/messagesFlashService.d.ts +20 -0
  97. package/dist/modules/homepage/components/MessageFlashList/services/api/messagesFlashService.js +21 -0
  98. package/dist/modules/homepage/components/MessageFlashList/services/queries/messagesFlash.d.ts +13 -0
  99. package/dist/modules/homepage/components/MessageFlashList/services/queries/messagesFlash.js +31 -0
  100. package/dist/modules/homepage/components/Notifications/Notification.d.ts +20 -0
  101. package/dist/modules/homepage/components/Notifications/Notification.js +16 -0
  102. package/dist/modules/homepage/components/Notifications/NotificationList.d.ts +18 -0
  103. package/dist/modules/homepage/components/Notifications/NotificationList.js +44 -0
  104. package/dist/modules/homepage/components/Notifications/NotificationListContainer.d.ts +9 -0
  105. package/dist/modules/homepage/components/Notifications/NotificationListContainer.js +20 -0
  106. package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.d.ts +5 -0
  107. package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.js +17 -0
  108. package/dist/modules/homepage/components/Notifications/NotificationSkeleton.d.ts +3 -0
  109. package/dist/modules/homepage/components/Notifications/NotificationSkeleton.js +19 -0
  110. package/dist/modules/homepage/components/Notifications/components/NotificationItem.d.ts +24 -0
  111. package/dist/modules/homepage/components/Notifications/components/NotificationItem.js +28 -0
  112. package/dist/modules/homepage/components/Notifications/components/NotificationResource.d.ts +15 -0
  113. package/dist/modules/homepage/components/Notifications/components/NotificationResource.js +19 -0
  114. package/dist/modules/homepage/components/Notifications/components/SystemNotification.d.ts +15 -0
  115. package/dist/modules/homepage/components/Notifications/components/SystemNotification.js +20 -0
  116. package/dist/modules/homepage/components/Notifications/components/UserNotification.d.ts +15 -0
  117. package/dist/modules/homepage/components/Notifications/components/UserNotification.js +25 -0
  118. package/dist/modules/homepage/components/Notifications/components/notificationAdapter.d.ts +27 -0
  119. package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +53 -0
  120. package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.d.ts +20 -0
  121. package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +26 -0
  122. package/dist/modules/homepage/components/Notifications/index.d.ts +6 -0
  123. package/dist/modules/homepage/components/Notifications/services/api/index.d.ts +4 -0
  124. package/dist/modules/homepage/components/Notifications/services/api/index.js +5 -0
  125. package/dist/modules/homepage/components/Notifications/services/api/notificationService.d.ts +15 -0
  126. package/dist/modules/homepage/components/Notifications/services/api/notificationService.js +22 -0
  127. package/dist/modules/homepage/components/Notifications/services/queries/notification.d.ts +20 -0
  128. package/dist/modules/homepage/components/Notifications/services/queries/notification.js +40 -0
  129. package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.d.ts +15 -0
  130. package/dist/modules/homepage/components/SchoolSpace/SchoolSpace.js +29 -0
  131. package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.d.ts +4 -0
  132. package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js +13 -0
  133. package/dist/modules/homepage/components/SchoolSpace/index.d.ts +3 -0
  134. package/dist/modules/homepage/components/SchoolSpace/useUserSchools.d.ts +6 -0
  135. package/dist/modules/homepage/components/SchoolSpace/useUserSchools.js +39 -0
  136. package/dist/modules/homepage/components/UserSpace/UserSpace.d.ts +13 -0
  137. package/dist/modules/homepage/components/UserSpace/UserSpace.js +28 -0
  138. package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.d.ts +7 -0
  139. package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.js +19 -0
  140. package/dist/modules/homepage/components/UserSpace/index.d.ts +3 -0
  141. package/dist/modules/homepage/components/index.d.ts +8 -0
  142. package/dist/modules/homepage/hooks/useWidget.d.ts +6 -0
  143. package/dist/modules/homepage/hooks/useWidget.js +83 -0
  144. package/dist/modules/homepage/hooks/useWidgetPreferences.d.ts +6 -0
  145. package/dist/modules/homepage/hooks/useWidgetPreferences.js +34 -0
  146. package/dist/modules/homepage/index.d.ts +1 -0
  147. package/dist/modules/icons/components/nav/IconCommunitiesBeta.d.ts +7 -0
  148. package/dist/modules/icons/components/nav/IconCommunitiesBeta.js +18 -0
  149. package/dist/modules/icons/components/nav/IconHomeBeta.d.ts +7 -0
  150. package/dist/modules/icons/components/nav/IconHomeBeta.js +13 -0
  151. package/dist/modules/icons/components/{IconStarFavorite.d.ts → nav/IconMessagesBeta.d.ts} +2 -2
  152. package/dist/modules/icons/components/nav/IconMessagesBeta.js +18 -0
  153. package/dist/modules/icons/components/nav/IconMyAppsBeta.d.ts +7 -0
  154. package/dist/modules/icons/components/nav/IconMyAppsBeta.js +13 -0
  155. package/dist/modules/icons/components/nav/IconNotificationBeta.d.ts +7 -0
  156. package/dist/modules/icons/components/nav/IconNotificationBeta.js +14 -0
  157. package/dist/modules/icons/components/nav/index.d.ts +5 -0
  158. package/dist/modules/modals/OnboardingModal/index.d.ts +1 -1
  159. 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
  160. 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
  161. package/dist/node_modules/.pnpm/prosemirror-model@1.25.12/node_modules/prosemirror-model/dist/index.js +419 -0
  162. package/dist/node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js +489 -0
  163. package/dist/node_modules/.pnpm/prosemirror-transform@1.12.2/node_modules/prosemirror-transform/dist/index.js +607 -0
  164. package/dist/providers/EdificeClientProvider/EdificeClientProvider.d.ts +0 -7
  165. package/dist/utilities/create-selectors/createSelectors.d.ts +10 -0
  166. package/dist/utilities/create-selectors/createSelectors.js +11 -0
  167. package/package.json +47 -49
  168. package/dist/modules/editor/components/Toolbar/LinkToolbar.TippyOptions.d.ts +0 -2
  169. 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.22",
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
- "@tiptap/core": "2.11.0",
84
- "@tiptap/extension-blockquote": "2.11.0",
85
- "@tiptap/extension-bullet-list": "2.11.0",
86
- "@tiptap/extension-character-count": "2.11.0",
87
- "@tiptap/extension-code": "2.11.0",
88
- "@tiptap/extension-code-block": "2.11.0",
89
- "@tiptap/extension-color": "2.11.0",
90
- "@tiptap/extension-dropcursor": "2.11.0",
91
- "@tiptap/extension-focus": "2.11.0",
92
- "@tiptap/extension-font-family": "2.11.0",
93
- "@tiptap/extension-gapcursor": "2.11.0",
94
- "@tiptap/extension-hard-break": "2.11.0",
95
- "@tiptap/extension-heading": "2.11.0",
96
- "@tiptap/extension-highlight": "2.11.0",
97
- "@tiptap/extension-history": "2.11.0",
98
- "@tiptap/extension-horizontal-rule": "2.11.0",
99
- "@tiptap/extension-image": "2.11.0",
100
- "@tiptap/extension-italic": "2.11.0",
101
- "@tiptap/extension-link": "2.11.0",
102
- "@tiptap/extension-list-item": "2.11.0",
103
- "@tiptap/extension-mathematics": "2.22.0",
104
- "@tiptap/extension-ordered-list": "2.11.0",
105
- "@tiptap/extension-placeholder": "2.11.0",
106
- "@tiptap/extension-strike": "2.11.0",
107
- "@tiptap/extension-subscript": "2.11.0",
108
- "@tiptap/extension-superscript": "2.11.0",
109
- "@tiptap/extension-table": "2.11.0",
110
- "@tiptap/extension-table-cell": "2.11.0",
111
- "@tiptap/extension-table-header": "2.11.0",
112
- "@tiptap/extension-table-row": "2.11.0",
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
- "@edifice.io/bootstrap": "2.5.22",
138
- "@edifice.io/utilities": "2.5.22",
139
- "@edifice.io/tiptap-extensions": "2.5.22"
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.22",
171
- "@edifice.io/config": "2.5.22"
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": "pnpm build:icons && vite 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": "pnpm run format:write && pnpm run format:check",
191
- "format:check": "npx prettier --check \"src/**/*.{ts,tsx}\"",
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"
@@ -1,2 +0,0 @@
1
- import { FloatingMenuProps } from '@tiptap/react';
2
- export declare const tippyOptions: FloatingMenuProps['tippyOptions'];
@@ -1,8 +0,0 @@
1
- const tippyOptions = {
2
- placement: "bottom",
3
- offset: [0, 10],
4
- zIndex: 999
5
- };
6
- export {
7
- tippyOptions
8
- };