@edifice.io/react 2.1.2-develop-pedago.20250325165832 → 2.1.2-develop-pedago.20250326182919

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/editor.js CHANGED
@@ -7,12 +7,14 @@ import { default as default6 } from "./modules/editor/components/NodeView/Attach
7
7
  import { default as default7 } from "./modules/editor/components/NodeView/ImageNodeView.js";
8
8
  import { default as default8 } from "./modules/editor/components/NodeView/LinkerNodeView.js";
9
9
  import { default as default9 } from "./modules/editor/components/NodeView/VideoNodeView.js";
10
- import { default as default10 } from "./modules/editor/components/Renderer/AudioRenderer.js";
11
- import { default as default11 } from "./modules/editor/components/Renderer/AttachmentRenderer.js";
12
- import { default as default12 } from "./modules/editor/components/Renderer/LinkerRenderer.js";
13
- import { default as default13 } from "./modules/editor/components/Renderer/MediaRenderer.js";
14
- import { default as default14 } from "./modules/editor/components/Toolbar/TableToolbar.js";
15
- import { default as default15 } from "./modules/editor/components/Toolbar/LinkToolbar.js";
10
+ import { default as default10 } from "./modules/editor/components/NodeView/InformationPaneNodeView.js";
11
+ import { default as default11 } from "./modules/editor/components/Renderer/AudioRenderer.js";
12
+ import { default as default12 } from "./modules/editor/components/Renderer/AttachmentRenderer.js";
13
+ import { default as default13 } from "./modules/editor/components/Renderer/LinkerRenderer.js";
14
+ import { default as default14 } from "./modules/editor/components/Renderer/MediaRenderer.js";
15
+ import { default as default15 } from "./modules/editor/components/Renderer/InformationPaneRenderer.js";
16
+ import { default as default16 } from "./modules/editor/components/Toolbar/TableToolbar.js";
17
+ import { default as default17 } from "./modules/editor/components/Toolbar/LinkToolbar.js";
16
18
  import { EditorToolbar } from "./modules/editor/components/EditorToolbar/EditorToolbar.js";
17
19
  import { useActionOptions } from "./modules/editor/hooks/useActionOptions.js";
18
20
  import { useCommentEditor } from "./modules/editor/hooks/useCommentEditor.js";
@@ -28,9 +30,9 @@ import { useSpeechSynthetisis } from "./modules/editor/hooks/useSpeechSynthetisi
28
30
  import { useTipTapEditor } from "./modules/editor/hooks/useTipTapEditor.js";
29
31
  export {
30
32
  default6 as AttachmentNodeView,
31
- default11 as AttachmentRenderer,
33
+ default12 as AttachmentRenderer,
32
34
  default5 as AudioNodeView,
33
- default10 as AudioRenderer,
35
+ default11 as AudioRenderer,
34
36
  default4 as BubbleMenuEditImage,
35
37
  default3 as Editor,
36
38
  EditorContent,
@@ -38,12 +40,14 @@ export {
38
40
  Editor as EditorInstance,
39
41
  EditorToolbar,
40
42
  default7 as ImageNodeView,
41
- default15 as LinkToolbar,
43
+ default10 as InformationPaneNodeView,
44
+ default15 as InformationPaneRenderer,
45
+ default17 as LinkToolbar,
42
46
  default8 as LinkerNodeView,
43
- default12 as LinkerRenderer,
44
- default13 as MediaRenderer,
47
+ default13 as LinkerRenderer,
48
+ default14 as MediaRenderer,
45
49
  default2 as StarterKit,
46
- default14 as TableToolbar,
50
+ default16 as TableToolbar,
47
51
  default9 as VideoNodeView,
48
52
  useActionOptions,
49
53
  useCommentEditor,
package/dist/icons.js CHANGED
@@ -61,94 +61,95 @@ import { default as default61 } from "./modules/icons/components/IconImageSizeMe
61
61
  import { default as default62 } from "./modules/icons/components/IconImageSizeSmall.js";
62
62
  import { default as default63 } from "./modules/icons/components/IconInbox.js";
63
63
  import { default as default64 } from "./modules/icons/components/IconInfoCircle.js";
64
- import { default as default65 } from "./modules/icons/components/IconLandscape.js";
65
- import { default as default66 } from "./modules/icons/components/IconLink.js";
66
- import { default as default67 } from "./modules/icons/components/IconListOrder.js";
67
- import { default as default68 } from "./modules/icons/components/IconLoader.js";
68
- import { default as default69 } from "./modules/icons/components/IconLock.js";
69
- import { default as default70 } from "./modules/icons/components/IconMail.js";
70
- import { default as default71 } from "./modules/icons/components/IconMergeCells.js";
71
- import { default as default72 } from "./modules/icons/components/IconMessageInfo.js";
72
- import { default as default73 } from "./modules/icons/components/IconMic.js";
73
- import { default as default74 } from "./modules/icons/components/IconMinus.js";
74
- import { default as default75 } from "./modules/icons/components/IconMove.js";
75
- import { default as default76 } from "./modules/icons/components/IconNoColors.js";
76
- import { default as default77 } from "./modules/icons/components/IconOptions.js";
77
- import { default as default78 } from "./modules/icons/components/IconOrderedList.js";
78
- import { default as default79 } from "./modules/icons/components/IconPaperclip.js";
79
- import { default as default80 } from "./modules/icons/components/IconPause.js";
80
- import { default as default81 } from "./modules/icons/components/IconPinOff.js";
81
- import { default as default82 } from "./modules/icons/components/IconPinOn.js";
82
- import { default as default83 } from "./modules/icons/components/IconPlaceholder.js";
83
- import { default as default84 } from "./modules/icons/components/IconPlayFilled.js";
84
- import { default as default85 } from "./modules/icons/components/IconPlay.js";
85
- import { default as default86 } from "./modules/icons/components/IconPlus.js";
86
- import { default as default87 } from "./modules/icons/components/IconPointerDefault.js";
87
- import { default as default88 } from "./modules/icons/components/IconPointerHand.js";
88
- import { default as default89 } from "./modules/icons/components/IconPrint.js";
89
- import { default as default90 } from "./modules/icons/components/IconQuestion.js";
90
- import { default as default91 } from "./modules/icons/components/IconRafterDown.js";
91
- import { default as default92 } from "./modules/icons/components/IconRafterLeft.js";
92
- import { default as default93 } from "./modules/icons/components/IconRafterRight.js";
93
- import { default as default94 } from "./modules/icons/components/IconRafterUp.js";
94
- import { default as default95 } from "./modules/icons/components/IconReaction.js";
95
- import { default as default96 } from "./modules/icons/components/IconRecordPause.js";
96
- import { default as default97 } from "./modules/icons/components/IconRecordStop.js";
97
- import { default as default98 } from "./modules/icons/components/IconRecordVideo.js";
98
- import { default as default99 } from "./modules/icons/components/IconRecord.js";
99
- import { default as default100 } from "./modules/icons/components/IconRedo.js";
100
- import { default as default101 } from "./modules/icons/components/IconRefresh.js";
101
- import { default as default102 } from "./modules/icons/components/IconReset.js";
102
- import { default as default103 } from "./modules/icons/components/IconRestart.js";
103
- import { default as default104 } from "./modules/icons/components/IconRestore.js";
104
- import { default as default105 } from "./modules/icons/components/IconSave.js";
105
- import { default as default106 } from "./modules/icons/components/IconSearch.js";
106
- import { default as default107 } from "./modules/icons/components/IconSee.js";
107
- import { default as default108 } from "./modules/icons/components/IconSend.js";
108
- import { default as default109 } from "./modules/icons/components/IconSetBackground.js";
109
- import { default as default110 } from "./modules/icons/components/IconSettings.js";
110
- import { default as default111 } from "./modules/icons/components/IconShare.js";
111
- import { default as default112 } from "./modules/icons/components/IconSmartphone.js";
112
- import { default as default113 } from "./modules/icons/components/IconSmiley.js";
113
- import { default as default114 } from "./modules/icons/components/IconSortAscendingLetters.js";
114
- import { default as default115 } from "./modules/icons/components/IconSortDescendingLetters.js";
115
- import { default as default116 } from "./modules/icons/components/IconSortDescending.js";
116
- import { default as default117 } from "./modules/icons/components/IconSortTime.js";
117
- import { default as default118 } from "./modules/icons/components/IconSpeechToText.js";
118
- import { default as default119 } from "./modules/icons/components/IconSplitCells.js";
119
- import { default as default120 } from "./modules/icons/components/IconSquareRoot.js";
120
- import { default as default121 } from "./modules/icons/components/IconSubscript.js";
121
- import { default as default122 } from "./modules/icons/components/IconSuccessFill.js";
122
- import { default as default123 } from "./modules/icons/components/IconSuccessOutline.js";
123
- import { default as default124 } from "./modules/icons/components/IconSuperscript.js";
124
- import { default as default125 } from "./modules/icons/components/IconTable.js";
125
- import { default as default126 } from "./modules/icons/components/IconTextBold.js";
126
- import { default as default127 } from "./modules/icons/components/IconTextColor.js";
127
- import { default as default128 } from "./modules/icons/components/IconTextHighlight.js";
128
- import { default as default129 } from "./modules/icons/components/IconTextItalic.js";
129
- import { default as default130 } from "./modules/icons/components/IconTextPage.js";
130
- import { default as default131 } from "./modules/icons/components/IconTextSize.js";
131
- import { default as default132 } from "./modules/icons/components/IconTextToSpeech.js";
132
- import { default as default133 } from "./modules/icons/components/IconTextTypo.js";
133
- import { default as default134 } from "./modules/icons/components/IconTextUnderline.js";
134
- import { default as default135 } from "./modules/icons/components/IconTextVanilla.js";
135
- import { default as default136 } from "./modules/icons/components/IconToolCenter.js";
136
- import { default as default137 } from "./modules/icons/components/IconTool.js";
137
- import { default as default138 } from "./modules/icons/components/IconTrendingUp.js";
138
- import { default as default139 } from "./modules/icons/components/IconUndo.js";
139
- import { default as default140 } from "./modules/icons/components/IconUnlink.js";
140
- import { default as default141 } from "./modules/icons/components/IconUnlock.js";
141
- import { default as default142 } from "./modules/icons/components/IconUpload.js";
142
- import { default as default143 } from "./modules/icons/components/IconUserSearch.js";
143
- import { default as default144 } from "./modules/icons/components/IconUser.js";
144
- import { default as default145 } from "./modules/icons/components/IconUsers.js";
145
- import { default as default146 } from "./modules/icons/components/IconVideo.js";
146
- import { default as default147 } from "./modules/icons/components/IconViewCalendar.js";
147
- import { default as default148 } from "./modules/icons/components/IconViewList.js";
148
- import { default as default149 } from "./modules/icons/components/IconWand.js";
149
- import { default as default150 } from "./modules/icons/components/IconWrite.js";
150
- import { default as default151 } from "./modules/icons/components/IconZoomIn.js";
151
- import { default as default152 } from "./modules/icons/components/IconZoomOut.js";
64
+ import { default as default65 } from "./modules/icons/components/IconInfoRectangle.js";
65
+ import { default as default66 } from "./modules/icons/components/IconLandscape.js";
66
+ import { default as default67 } from "./modules/icons/components/IconLink.js";
67
+ import { default as default68 } from "./modules/icons/components/IconListOrder.js";
68
+ import { default as default69 } from "./modules/icons/components/IconLoader.js";
69
+ import { default as default70 } from "./modules/icons/components/IconLock.js";
70
+ import { default as default71 } from "./modules/icons/components/IconMail.js";
71
+ import { default as default72 } from "./modules/icons/components/IconMergeCells.js";
72
+ import { default as default73 } from "./modules/icons/components/IconMessageInfo.js";
73
+ import { default as default74 } from "./modules/icons/components/IconMic.js";
74
+ import { default as default75 } from "./modules/icons/components/IconMinus.js";
75
+ import { default as default76 } from "./modules/icons/components/IconMove.js";
76
+ import { default as default77 } from "./modules/icons/components/IconNoColors.js";
77
+ import { default as default78 } from "./modules/icons/components/IconOptions.js";
78
+ import { default as default79 } from "./modules/icons/components/IconOrderedList.js";
79
+ import { default as default80 } from "./modules/icons/components/IconPaperclip.js";
80
+ import { default as default81 } from "./modules/icons/components/IconPause.js";
81
+ import { default as default82 } from "./modules/icons/components/IconPinOff.js";
82
+ import { default as default83 } from "./modules/icons/components/IconPinOn.js";
83
+ import { default as default84 } from "./modules/icons/components/IconPlaceholder.js";
84
+ import { default as default85 } from "./modules/icons/components/IconPlayFilled.js";
85
+ import { default as default86 } from "./modules/icons/components/IconPlay.js";
86
+ import { default as default87 } from "./modules/icons/components/IconPlus.js";
87
+ import { default as default88 } from "./modules/icons/components/IconPointerDefault.js";
88
+ import { default as default89 } from "./modules/icons/components/IconPointerHand.js";
89
+ import { default as default90 } from "./modules/icons/components/IconPrint.js";
90
+ import { default as default91 } from "./modules/icons/components/IconQuestion.js";
91
+ import { default as default92 } from "./modules/icons/components/IconRafterDown.js";
92
+ import { default as default93 } from "./modules/icons/components/IconRafterLeft.js";
93
+ import { default as default94 } from "./modules/icons/components/IconRafterRight.js";
94
+ import { default as default95 } from "./modules/icons/components/IconRafterUp.js";
95
+ import { default as default96 } from "./modules/icons/components/IconReaction.js";
96
+ import { default as default97 } from "./modules/icons/components/IconRecordPause.js";
97
+ import { default as default98 } from "./modules/icons/components/IconRecordStop.js";
98
+ import { default as default99 } from "./modules/icons/components/IconRecordVideo.js";
99
+ import { default as default100 } from "./modules/icons/components/IconRecord.js";
100
+ import { default as default101 } from "./modules/icons/components/IconRedo.js";
101
+ import { default as default102 } from "./modules/icons/components/IconRefresh.js";
102
+ import { default as default103 } from "./modules/icons/components/IconReset.js";
103
+ import { default as default104 } from "./modules/icons/components/IconRestart.js";
104
+ import { default as default105 } from "./modules/icons/components/IconRestore.js";
105
+ import { default as default106 } from "./modules/icons/components/IconSave.js";
106
+ import { default as default107 } from "./modules/icons/components/IconSearch.js";
107
+ import { default as default108 } from "./modules/icons/components/IconSee.js";
108
+ import { default as default109 } from "./modules/icons/components/IconSend.js";
109
+ import { default as default110 } from "./modules/icons/components/IconSetBackground.js";
110
+ import { default as default111 } from "./modules/icons/components/IconSettings.js";
111
+ import { default as default112 } from "./modules/icons/components/IconShare.js";
112
+ import { default as default113 } from "./modules/icons/components/IconSmartphone.js";
113
+ import { default as default114 } from "./modules/icons/components/IconSmiley.js";
114
+ import { default as default115 } from "./modules/icons/components/IconSortAscendingLetters.js";
115
+ import { default as default116 } from "./modules/icons/components/IconSortDescendingLetters.js";
116
+ import { default as default117 } from "./modules/icons/components/IconSortDescending.js";
117
+ import { default as default118 } from "./modules/icons/components/IconSortTime.js";
118
+ import { default as default119 } from "./modules/icons/components/IconSpeechToText.js";
119
+ import { default as default120 } from "./modules/icons/components/IconSplitCells.js";
120
+ import { default as default121 } from "./modules/icons/components/IconSquareRoot.js";
121
+ import { default as default122 } from "./modules/icons/components/IconSubscript.js";
122
+ import { default as default123 } from "./modules/icons/components/IconSuccessFill.js";
123
+ import { default as default124 } from "./modules/icons/components/IconSuccessOutline.js";
124
+ import { default as default125 } from "./modules/icons/components/IconSuperscript.js";
125
+ import { default as default126 } from "./modules/icons/components/IconTable.js";
126
+ import { default as default127 } from "./modules/icons/components/IconTextBold.js";
127
+ import { default as default128 } from "./modules/icons/components/IconTextColor.js";
128
+ import { default as default129 } from "./modules/icons/components/IconTextHighlight.js";
129
+ import { default as default130 } from "./modules/icons/components/IconTextItalic.js";
130
+ import { default as default131 } from "./modules/icons/components/IconTextPage.js";
131
+ import { default as default132 } from "./modules/icons/components/IconTextSize.js";
132
+ import { default as default133 } from "./modules/icons/components/IconTextToSpeech.js";
133
+ import { default as default134 } from "./modules/icons/components/IconTextTypo.js";
134
+ import { default as default135 } from "./modules/icons/components/IconTextUnderline.js";
135
+ import { default as default136 } from "./modules/icons/components/IconTextVanilla.js";
136
+ import { default as default137 } from "./modules/icons/components/IconToolCenter.js";
137
+ import { default as default138 } from "./modules/icons/components/IconTool.js";
138
+ import { default as default139 } from "./modules/icons/components/IconTrendingUp.js";
139
+ import { default as default140 } from "./modules/icons/components/IconUndo.js";
140
+ import { default as default141 } from "./modules/icons/components/IconUnlink.js";
141
+ import { default as default142 } from "./modules/icons/components/IconUnlock.js";
142
+ import { default as default143 } from "./modules/icons/components/IconUpload.js";
143
+ import { default as default144 } from "./modules/icons/components/IconUserSearch.js";
144
+ import { default as default145 } from "./modules/icons/components/IconUser.js";
145
+ import { default as default146 } from "./modules/icons/components/IconUsers.js";
146
+ import { default as default147 } from "./modules/icons/components/IconVideo.js";
147
+ import { default as default148 } from "./modules/icons/components/IconViewCalendar.js";
148
+ import { default as default149 } from "./modules/icons/components/IconViewList.js";
149
+ import { default as default150 } from "./modules/icons/components/IconWand.js";
150
+ import { default as default151 } from "./modules/icons/components/IconWrite.js";
151
+ import { default as default152 } from "./modules/icons/components/IconZoomIn.js";
152
+ import { default as default153 } from "./modules/icons/components/IconZoomOut.js";
152
153
  export {
153
154
  default3 as IconAdd,
154
155
  default2 as IconAddUser,
@@ -213,92 +214,93 @@ export {
213
214
  default62 as IconImageSizeSmall,
214
215
  default63 as IconInbox,
215
216
  default64 as IconInfoCircle,
216
- default65 as IconLandscape,
217
- default66 as IconLink,
218
- default67 as IconListOrder,
219
- default68 as IconLoader,
220
- default69 as IconLock,
221
- default70 as IconMail,
222
- default71 as IconMergeCells,
223
- default72 as IconMessageInfo,
224
- default73 as IconMic,
225
- default74 as IconMinus,
226
- default75 as IconMove,
227
- default76 as IconNoColors,
228
- default77 as IconOptions,
229
- default78 as IconOrderedList,
230
- default79 as IconPaperclip,
231
- default80 as IconPause,
232
- default81 as IconPinOff,
233
- default82 as IconPinOn,
234
- default83 as IconPlaceholder,
235
- default85 as IconPlay,
236
- default84 as IconPlayFilled,
237
- default86 as IconPlus,
238
- default87 as IconPointerDefault,
239
- default88 as IconPointerHand,
240
- default89 as IconPrint,
241
- default90 as IconQuestion,
242
- default91 as IconRafterDown,
243
- default92 as IconRafterLeft,
244
- default93 as IconRafterRight,
245
- default94 as IconRafterUp,
246
- default95 as IconReaction,
247
- default99 as IconRecord,
248
- default96 as IconRecordPause,
249
- default97 as IconRecordStop,
250
- default98 as IconRecordVideo,
251
- default100 as IconRedo,
252
- default101 as IconRefresh,
253
- default102 as IconReset,
254
- default103 as IconRestart,
255
- default104 as IconRestore,
256
- default105 as IconSave,
257
- default106 as IconSearch,
258
- default107 as IconSee,
259
- default108 as IconSend,
260
- default109 as IconSetBackground,
261
- default110 as IconSettings,
262
- default111 as IconShare,
263
- default112 as IconSmartphone,
264
- default113 as IconSmiley,
265
- default114 as IconSortAscendingLetters,
266
- default116 as IconSortDescending,
267
- default115 as IconSortDescendingLetters,
268
- default117 as IconSortTime,
269
- default118 as IconSpeechToText,
270
- default119 as IconSplitCells,
271
- default120 as IconSquareRoot,
272
- default121 as IconSubscript,
273
- default122 as IconSuccessFill,
274
- default123 as IconSuccessOutline,
275
- default124 as IconSuperscript,
276
- default125 as IconTable,
277
- default126 as IconTextBold,
278
- default127 as IconTextColor,
279
- default128 as IconTextHighlight,
280
- default129 as IconTextItalic,
281
- default130 as IconTextPage,
282
- default131 as IconTextSize,
283
- default132 as IconTextToSpeech,
284
- default133 as IconTextTypo,
285
- default134 as IconTextUnderline,
286
- default135 as IconTextVanilla,
287
- default137 as IconTool,
288
- default136 as IconToolCenter,
289
- default138 as IconTrendingUp,
290
- default139 as IconUndo,
291
- default140 as IconUnlink,
292
- default141 as IconUnlock,
293
- default142 as IconUpload,
294
- default144 as IconUser,
295
- default143 as IconUserSearch,
296
- default145 as IconUsers,
297
- default146 as IconVideo,
298
- default147 as IconViewCalendar,
299
- default148 as IconViewList,
300
- default149 as IconWand,
301
- default150 as IconWrite,
302
- default151 as IconZoomIn,
303
- default152 as IconZoomOut
217
+ default65 as IconInfoRectangle,
218
+ default66 as IconLandscape,
219
+ default67 as IconLink,
220
+ default68 as IconListOrder,
221
+ default69 as IconLoader,
222
+ default70 as IconLock,
223
+ default71 as IconMail,
224
+ default72 as IconMergeCells,
225
+ default73 as IconMessageInfo,
226
+ default74 as IconMic,
227
+ default75 as IconMinus,
228
+ default76 as IconMove,
229
+ default77 as IconNoColors,
230
+ default78 as IconOptions,
231
+ default79 as IconOrderedList,
232
+ default80 as IconPaperclip,
233
+ default81 as IconPause,
234
+ default82 as IconPinOff,
235
+ default83 as IconPinOn,
236
+ default84 as IconPlaceholder,
237
+ default86 as IconPlay,
238
+ default85 as IconPlayFilled,
239
+ default87 as IconPlus,
240
+ default88 as IconPointerDefault,
241
+ default89 as IconPointerHand,
242
+ default90 as IconPrint,
243
+ default91 as IconQuestion,
244
+ default92 as IconRafterDown,
245
+ default93 as IconRafterLeft,
246
+ default94 as IconRafterRight,
247
+ default95 as IconRafterUp,
248
+ default96 as IconReaction,
249
+ default100 as IconRecord,
250
+ default97 as IconRecordPause,
251
+ default98 as IconRecordStop,
252
+ default99 as IconRecordVideo,
253
+ default101 as IconRedo,
254
+ default102 as IconRefresh,
255
+ default103 as IconReset,
256
+ default104 as IconRestart,
257
+ default105 as IconRestore,
258
+ default106 as IconSave,
259
+ default107 as IconSearch,
260
+ default108 as IconSee,
261
+ default109 as IconSend,
262
+ default110 as IconSetBackground,
263
+ default111 as IconSettings,
264
+ default112 as IconShare,
265
+ default113 as IconSmartphone,
266
+ default114 as IconSmiley,
267
+ default115 as IconSortAscendingLetters,
268
+ default117 as IconSortDescending,
269
+ default116 as IconSortDescendingLetters,
270
+ default118 as IconSortTime,
271
+ default119 as IconSpeechToText,
272
+ default120 as IconSplitCells,
273
+ default121 as IconSquareRoot,
274
+ default122 as IconSubscript,
275
+ default123 as IconSuccessFill,
276
+ default124 as IconSuccessOutline,
277
+ default125 as IconSuperscript,
278
+ default126 as IconTable,
279
+ default127 as IconTextBold,
280
+ default128 as IconTextColor,
281
+ default129 as IconTextHighlight,
282
+ default130 as IconTextItalic,
283
+ default131 as IconTextPage,
284
+ default132 as IconTextSize,
285
+ default133 as IconTextToSpeech,
286
+ default134 as IconTextTypo,
287
+ default135 as IconTextUnderline,
288
+ default136 as IconTextVanilla,
289
+ default138 as IconTool,
290
+ default137 as IconToolCenter,
291
+ default139 as IconTrendingUp,
292
+ default140 as IconUndo,
293
+ default141 as IconUnlink,
294
+ default142 as IconUnlock,
295
+ default143 as IconUpload,
296
+ default145 as IconUser,
297
+ default144 as IconUserSearch,
298
+ default146 as IconUsers,
299
+ default147 as IconVideo,
300
+ default148 as IconViewCalendar,
301
+ default149 as IconViewList,
302
+ default150 as IconWand,
303
+ default151 as IconWrite,
304
+ default152 as IconZoomIn,
305
+ default153 as IconZoomOut
304
306
  };
@@ -0,0 +1,6 @@
1
+ import { Editor } from '@tiptap/react';
2
+ declare const BubbleMenuEditInformationPane: ({ editor, editable, }: {
3
+ editor: Editor;
4
+ editable: boolean;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export default BubbleMenuEditInformationPane;
@@ -0,0 +1,136 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useMemo } from "react";
3
+ import { BubbleMenu } from "@tiptap/react";
4
+ import { useTranslation } from "react-i18next";
5
+ import { Toolbar } from "../../../../components/Toolbar/Toolbar.js";
6
+ import SvgIconAlertTriangle from "../../../icons/components/IconAlertTriangle.js";
7
+ import SvgIconDelete from "../../../icons/components/IconDelete.js";
8
+ import SvgIconInfoCircle from "../../../icons/components/IconInfoCircle.js";
9
+ import SvgIconQuestion from "../../../icons/components/IconQuestion.js";
10
+ import SvgIconSuccessOutline from "../../../icons/components/IconSuccessOutline.js";
11
+ const BubbleMenuEditInformationPane = ({
12
+ editor,
13
+ editable
14
+ }) => {
15
+ const {
16
+ t
17
+ } = useTranslation(), {
18
+ selection
19
+ } = editor.view.state, selectedNode = selection.$from.node(1), InformationPaneTypeItems = useMemo(() => {
20
+ var _a, _b, _c, _d;
21
+ return [{
22
+ type: "icon",
23
+ name: "info",
24
+ props: {
25
+ size: "lg",
26
+ leftIcon: /* @__PURE__ */ jsx(SvgIconInfoCircle, {}),
27
+ "aria-label": t("tiptap.tooltip.bubblemenu.information.pane.info"),
28
+ className: ((_a = selectedNode == null ? void 0 : selectedNode.attrs) == null ? void 0 : _a.type) === "info" ? "is-selected" : "",
29
+ onClick: () => editor.chain().focus().updateAttributes("information-pane", {
30
+ type: "info"
31
+ }).run()
32
+ },
33
+ tooltip: {
34
+ message: t("tiptap.tooltip.bubblemenu.information.pane.info"),
35
+ position: "top"
36
+ }
37
+ }, {
38
+ type: "icon",
39
+ name: "success",
40
+ props: {
41
+ size: "lg",
42
+ leftIcon: /* @__PURE__ */ jsx(SvgIconSuccessOutline, {}),
43
+ "aria-label": t("tiptap.tooltip.bubblemenu.information.pane.success"),
44
+ className: ((_b = selectedNode == null ? void 0 : selectedNode.attrs) == null ? void 0 : _b.type) === "success" ? "is-selected" : "",
45
+ onClick: () => editor.chain().focus().updateAttributes("information-pane", {
46
+ type: "success"
47
+ }).run()
48
+ },
49
+ tooltip: {
50
+ message: t("tiptap.tooltip.bubblemenu.information.pane.success"),
51
+ position: "top"
52
+ }
53
+ }, {
54
+ type: "icon",
55
+ name: "warning",
56
+ props: {
57
+ size: "lg",
58
+ leftIcon: /* @__PURE__ */ jsx(SvgIconAlertTriangle, {}),
59
+ "aria-label": t("tiptap.tooltip.bubblemenu.information.pane.warning"),
60
+ className: ((_c = selectedNode == null ? void 0 : selectedNode.attrs) == null ? void 0 : _c.type) === "warning" ? "is-selected" : "",
61
+ onClick: () => editor.chain().focus().updateAttributes("information-pane", {
62
+ type: "warning"
63
+ }).run()
64
+ },
65
+ tooltip: {
66
+ message: t("tiptap.tooltip.bubblemenu.information.pane.warning"),
67
+ position: "top"
68
+ }
69
+ }, {
70
+ type: "icon",
71
+ name: "question",
72
+ props: {
73
+ size: "lg",
74
+ leftIcon: /* @__PURE__ */ jsx(SvgIconQuestion, {}),
75
+ "aria-label": t("tiptap.tooltip.bubblemenu.information.pane.question"),
76
+ className: ((_d = selectedNode == null ? void 0 : selectedNode.attrs) == null ? void 0 : _d.type) === "question" ? "is-selected" : "",
77
+ onClick: () => editor.chain().focus().updateAttributes("information-pane", {
78
+ type: "question"
79
+ }).run()
80
+ },
81
+ tooltip: {
82
+ message: t("tiptap.tooltip.bubblemenu.information.pane.question"),
83
+ position: "top"
84
+ }
85
+ }, {
86
+ type: "divider",
87
+ name: "div-4"
88
+ }, {
89
+ type: "button",
90
+ name: "delete",
91
+ props: {
92
+ size: "lg",
93
+ leftIcon: /* @__PURE__ */ jsx(SvgIconDelete, {}),
94
+ "aria-label": t("tiptap.tooltip.bubblemenu.information.pane.delete"),
95
+ children: t("tiptap.bubblemenu.delete"),
96
+ onClick: () => editor.chain().focus().deleteNode("information-pane").run()
97
+ },
98
+ tooltip: {
99
+ message: t("tiptap.tooltip.bubblemenu.information.pane.delete"),
100
+ position: "top"
101
+ }
102
+ }];
103
+ }, [t, selectedNode]), tippyOptions = useMemo(() => ({
104
+ placement: "bottom",
105
+ offset: [0, 0],
106
+ zIndex: 999,
107
+ duration: 100,
108
+ getReferenceClientRect: () => {
109
+ const {
110
+ state
111
+ } = editor, {
112
+ $anchor
113
+ } = state.selection;
114
+ let informationPanePos = null;
115
+ for (let depth = $anchor.depth; depth >= 0; depth--)
116
+ if ($anchor.node(depth).type.name === "information-pane") {
117
+ informationPanePos = $anchor.before(depth);
118
+ break;
119
+ }
120
+ if (informationPanePos !== null) {
121
+ let domNode = editor.view.nodeDOM(informationPanePos);
122
+ for (; domNode && domNode instanceof HTMLElement && !domNode.classList.contains("information-pane"); )
123
+ domNode = domNode.children[0];
124
+ if (domNode instanceof HTMLElement)
125
+ return domNode.getBoundingClientRect();
126
+ }
127
+ return new DOMRect(0, 0, 0, 0);
128
+ }
129
+ }), [editor]);
130
+ return /* @__PURE__ */ jsx(BubbleMenu, { shouldShow: ({
131
+ editor: editor2
132
+ }) => editor2.isActive("information-pane"), editor, tippyOptions, children: editable && /* @__PURE__ */ jsx(Toolbar, { className: "p-8", items: InformationPaneTypeItems }) });
133
+ };
134
+ export {
135
+ BubbleMenuEditInformationPane as default
136
+ };
@@ -0,0 +1 @@
1
+ export { default as BubbleMenuEditInformationPane } from './BubbleMenuEditInformationPane';
@@ -1,4 +1,4 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
1
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { forwardRef, useId, useImperativeHandle, Suspense, lazy } from "react";
3
3
  import { EditorContent } from "@tiptap/react";
4
4
  import clsx from "clsx";
@@ -16,6 +16,7 @@ import { EditorToolbar } from "../EditorToolbar/EditorToolbar.js";
16
16
  import LinkToolbar from "../Toolbar/LinkToolbar.js";
17
17
  import TableToolbar from "../Toolbar/TableToolbar.js";
18
18
  import BubbleMenuEditImage from "../BubbleMenuEditImage/BubbleMenuEditImage.js";
19
+ import BubbleMenuEditInformationPane from "../BubbleMenuEditInformationPane/BubbleMenuEditInformationPane.js";
19
20
  import MediaLibrary from "../../../multimedia/MediaLibrary/MediaLibrary.js";
20
21
  import LoadingScreen from "../../../../components/LoadingScreen/LoadingScreen.js";
21
22
  const MathsModal = /* @__PURE__ */ lazy(async () => await import("../MathsModal/MathsModal.js")), ImageEditor = /* @__PURE__ */ lazy(async () => await import("../../../multimedia/ImageEditor/components/ImageEditor.js")), Editor = /* @__PURE__ */ forwardRef(({
@@ -70,7 +71,10 @@ const MathsModal = /* @__PURE__ */ lazy(async () => await import("../MathsModal/
70
71
  ] }),
71
72
  /* @__PURE__ */ jsx(LinkToolbar, { editor, ...linkToolbarHandlers }),
72
73
  /* @__PURE__ */ jsx(TableToolbar, { editor }),
73
- editor && /* @__PURE__ */ jsx(BubbleMenuEditImage, { editor, onEditImage: imageModal.handleEdit, openEditImage: imageModal.isOpen, editable }),
74
+ editor && /* @__PURE__ */ jsxs(Fragment, { children: [
75
+ /* @__PURE__ */ jsx(BubbleMenuEditImage, { editor, onEditImage: imageModal.handleEdit, openEditImage: imageModal.isOpen, editable }),
76
+ /* @__PURE__ */ jsx(BubbleMenuEditInformationPane, { editor, editable })
77
+ ] }),
74
78
  /* @__PURE__ */ jsxs(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingScreen, {}), children: [
75
79
  editable && /* @__PURE__ */ jsx(MediaLibrary, { appCode, visibility, multiple: !0, ref: mediaLibraryModalRef, ...mediaLibraryModalHandlers }),
76
80
  editable && mathsModalHandlers.isOpen && /* @__PURE__ */ jsx(MathsModal, { ...mathsModalHandlers }),
@@ -5,6 +5,7 @@ import "@tiptap/react";
5
5
  import "@tiptap/starter-kit";
6
6
  import SvgIconAlignLeft from "../../../icons/components/IconAlignLeft.js";
7
7
  import SvgIconBulletList from "../../../icons/components/IconBulletList.js";
8
+ import SvgIconInfoRectangle from "../../../icons/components/IconInfoRectangle.js";
8
9
  import SvgIconLandscape from "../../../icons/components/IconLandscape.js";
9
10
  import SvgIconLink from "../../../icons/components/IconLink.js";
10
11
  import SvgIconMic from "../../../icons/components/IconMic.js";
@@ -213,6 +214,17 @@ const EditorToolbar = ({
213
214
  visibility: showIf(hasMark("customHighlight", editor)),
214
215
  tooltip: t("tiptap.toolbar.highlight.back")
215
216
  },
217
+ //--------------- INFORMATION PANE ---------------//
218
+ {
219
+ type: "icon",
220
+ props: {
221
+ icon: /* @__PURE__ */ jsx(SvgIconInfoRectangle, {}),
222
+ "aria-label": t("tiptap.toolbar.information.pane"),
223
+ onClick: () => editor == null ? void 0 : editor.chain().focus().setInformationPane("info").run()
224
+ },
225
+ name: "information-pane",
226
+ tooltip: t("tiptap.toolbar.information.pane")
227
+ },
216
228
  //-------------------------------------//
217
229
  {
218
230
  type: "divider",
@@ -0,0 +1,2 @@
1
+ declare const InformationPaneNodeView: (Component: any) => import('@tiptap/core').Node<any, any>;
2
+ export default InformationPaneNodeView;
@@ -0,0 +1,10 @@
1
+ import { InformationPane } from "@edifice.io/tiptap-extensions/information-pane";
2
+ import { ReactNodeViewRenderer } from "@tiptap/react";
3
+ const InformationPaneNodeView = (Component) => InformationPane.extend({
4
+ addNodeView() {
5
+ return ReactNodeViewRenderer(Component);
6
+ }
7
+ });
8
+ export {
9
+ InformationPaneNodeView as default
10
+ };
@@ -3,3 +3,4 @@ export { default as AttachmentNodeView } from './AttachmentNodeView';
3
3
  export { default as ImageNodeView } from './ImageNodeView';
4
4
  export { default as LinkerNodeView } from './LinkerNodeView';
5
5
  export { default as VideoNodeView } from './VideoNodeView';
6
+ export { default as InformationPaneNodeView } from './InformationPaneNodeView';
@@ -0,0 +1,3 @@
1
+ import { MediaResizeProps } from '../../hooks';
2
+ declare const InformationPaneRenderer: (props: MediaResizeProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default InformationPaneRenderer;
@@ -0,0 +1,33 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import SvgIconAlertTriangle from "../../../icons/components/IconAlertTriangle.js";
3
+ import SvgIconInfoCircle from "../../../icons/components/IconInfoCircle.js";
4
+ import SvgIconQuestion from "../../../icons/components/IconQuestion.js";
5
+ import SvgIconSuccessOutline from "../../../icons/components/IconSuccessOutline.js";
6
+ import { NodeViewWrapper, NodeViewContent } from "@tiptap/react";
7
+ const InformationPaneRenderer = (props) => {
8
+ const {
9
+ node
10
+ } = props, getIconByType = (type) => {
11
+ switch (type) {
12
+ case "warning":
13
+ return /* @__PURE__ */ jsx(SvgIconAlertTriangle, { color: "#F59700" });
14
+ case "success":
15
+ return /* @__PURE__ */ jsx(SvgIconSuccessOutline, { color: "#7DBF85" });
16
+ case "info":
17
+ return /* @__PURE__ */ jsx(SvgIconInfoCircle, { color: "#2A9CC8" });
18
+ case "question":
19
+ return /* @__PURE__ */ jsx(SvgIconQuestion, { color: "#823AA1" });
20
+ default:
21
+ return /* @__PURE__ */ jsx(SvgIconInfoCircle, { color: "#2A9CC8" });
22
+ }
23
+ };
24
+ return /* @__PURE__ */ jsx(NodeViewWrapper, { node, className: "react-component", children: /* @__PURE__ */ jsxs("div", { className: `information-pane information-pane-${node.attrs.type}`, "data-information-pane": !0, "data-type": node.attrs.type, children: [
25
+ /* @__PURE__ */ jsx("span", { className: "information-pane-icon", children: getIconByType(node.attrs.type) }),
26
+ /* @__PURE__ */ jsx(NodeViewContent, { style: {
27
+ width: "100%"
28
+ } })
29
+ ] }) });
30
+ };
31
+ export {
32
+ InformationPaneRenderer as default
33
+ };
@@ -2,3 +2,4 @@ export { default as AudioRenderer } from './AudioRenderer';
2
2
  export { default as AttachmentRenderer } from './AttachmentRenderer';
3
3
  export { default as LinkerRenderer } from './LinkerRenderer';
4
4
  export { default as MediaRenderer } from './MediaRenderer';
5
+ export { default as InformationPaneRenderer } from './InformationPaneRenderer';
@@ -32,10 +32,12 @@ import AudioNodeView from "../components/NodeView/AudioNodeView.js";
32
32
  import LinkerNodeView from "../components/NodeView/LinkerNodeView.js";
33
33
  import ImageNodeView from "../components/NodeView/ImageNodeView.js";
34
34
  import AttachmentNodeView from "../components/NodeView/AttachmentNodeView.js";
35
+ import InformationPaneNodeView from "../components/NodeView/InformationPaneNodeView.js";
35
36
  import MediaRenderer from "../components/Renderer/MediaRenderer.js";
36
37
  import AudioRenderer from "../components/Renderer/AudioRenderer.js";
37
38
  import LinkerRenderer from "../components/Renderer/LinkerRenderer.js";
38
39
  import AttachmentRenderer from "../components/Renderer/AttachmentRenderer.js";
40
+ import InformationPaneRenderer from "../components/Renderer/InformationPaneRenderer.js";
39
41
  const useTipTapEditor = (editable, content, focus, placeholder, onContentChange, visibility = "protected") => {
40
42
  const {
41
43
  currentLanguage
@@ -63,7 +65,7 @@ const useTipTapEditor = (editable, content, focus, placeholder, onContentChange,
63
65
  levels: [1, 2]
64
66
  }), Typography, FontSize, SpeechRecognition, SpeechSynthesis.configure({
65
67
  lang: (currentLanguage == null ? void 0 : currentLanguage.length) === 2 ? `${currentLanguage}-${currentLanguage.toUpperCase()}` : "fr-FR"
66
- }), Iframe, Hyperlink, FontFamily, Mathematics, Alert, VideoNodeView(MediaRenderer), AudioNodeView(AudioRenderer), LinkerNodeView(LinkerRenderer), ImageNodeView(MediaRenderer, uploadFile), AttachmentNodeView(AttachmentRenderer)],
68
+ }), Iframe, Hyperlink, FontFamily, Mathematics, Alert, VideoNodeView(MediaRenderer), AudioNodeView(AudioRenderer), LinkerNodeView(LinkerRenderer), ImageNodeView(MediaRenderer, uploadFile), AttachmentNodeView(AttachmentRenderer), InformationPaneNodeView(InformationPaneRenderer)],
67
69
  content,
68
70
  // If the onContentChange callback is provided, we call it on every content change.
69
71
  ...onContentChange ? {
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconInfoRectangle: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconInfoRectangle;
@@ -0,0 +1,13 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconInfoRectangle = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 20 16", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M2.87 2.167c-.718 0-1.203.531-1.203 1.071v9.524c0 .54.485 1.071 1.203 1.071h14.26c.718 0 1.203-.531 1.203-1.071V3.238c0-.54-.485-1.071-1.203-1.071zM0 3.238C0 1.674 1.339.5 2.87.5h14.26C18.66.5 20 1.674 20 3.238v9.524c0 1.564-1.339 2.738-2.87 2.738H2.87C1.34 15.5 0 14.326 0 12.762z", clipRule: "evenodd" }),
9
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.008 12.167a.833.833 0 0 1-.833-.834V7.167a.833.833 0 1 1 1.667 0v4.166c0 .46-.373.834-.834.834M10.842 4.25c0 .46-.373.833-.834.833H10a.833.833 0 1 1 0-1.666h.008c.46 0 .834.373.834.833", clipRule: "evenodd" })
10
+ ] });
11
+ export {
12
+ SvgIconInfoRectangle as default
13
+ };
@@ -61,6 +61,7 @@ export { default as IconImageSizeMedium } from './IconImageSizeMedium';
61
61
  export { default as IconImageSizeSmall } from './IconImageSizeSmall';
62
62
  export { default as IconInbox } from './IconInbox';
63
63
  export { default as IconInfoCircle } from './IconInfoCircle';
64
+ export { default as IconInfoRectangle } from './IconInfoRectangle';
64
65
  export { default as IconLandscape } from './IconLandscape';
65
66
  export { default as IconLink } from './IconLink';
66
67
  export { default as IconListOrder } from './IconListOrder';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/react",
3
- "version": "2.1.2-develop-pedago.20250325165832",
3
+ "version": "2.1.2-develop-pedago.20250326182919",
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.2-develop-pedago.20250325165832",
122
- "@edifice.io/tiptap-extensions": "2.1.2-develop-pedago.20250325165832",
123
- "@edifice.io/utilities": "2.1.2-develop-pedago.20250325165832"
121
+ "@edifice.io/bootstrap": "2.1.2-develop-pedago.20250326182919",
122
+ "@edifice.io/tiptap-extensions": "2.1.2-develop-pedago.20250326182919",
123
+ "@edifice.io/utilities": "2.1.2-develop-pedago.20250326182919"
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/client": "2.1.2-develop-pedago.20250325165832",
155
- "@edifice.io/config": "2.1.2-develop-pedago.20250325165832"
154
+ "@edifice.io/client": "2.1.2-develop-pedago.20250326182919",
155
+ "@edifice.io/config": "2.1.2-develop-pedago.20250326182919"
156
156
  },
157
157
  "peerDependencies": {
158
158
  "@react-spring/web": "^9.7.5",