@harbour-enterprises/superdoc 0.13.0-RC3 → 0.13.0-next.2

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 (96) hide show
  1. package/dist/chunks/{eventemitter3-Dq2TEegt.es.js → eventemitter3-BrspJk8q.es.js} +1 -1
  2. package/dist/chunks/{eventemitter3-DuScojUH.cjs → eventemitter3-DfVviFzP.cjs} +1 -1
  3. package/dist/chunks/{index-DiSsZq2e.cjs → index-B4J7wgs6.cjs} +2 -2
  4. package/dist/chunks/{index-DRXYX6Gk.cjs → index-Cdsq63Xq.cjs} +4 -4
  5. package/dist/chunks/{index-CIbdIyV7.es.js → index-Diu6UKHt.es.js} +4 -4
  6. package/dist/chunks/{index-xoeJtm87.es.js → index-Hr3Um-Bg.es.js} +2 -2
  7. package/dist/chunks/{jszip-Bwu_om3F.cjs → jszip-BTAcmbVg.cjs} +1 -1
  8. package/dist/chunks/{jszip-BmWWPxfF.es.js → jszip-DckFs3A7.es.js} +1 -1
  9. package/dist/chunks/{super-editor.es-CzkFh6x_.cjs → super-editor.es-BB_X_LWr.cjs} +3771 -1630
  10. package/dist/chunks/{super-editor.es-BNfBtek_.es.js → super-editor.es-DL2IwegA.es.js} +3771 -1630
  11. package/dist/chunks/{url-DCj-FtDL.cjs → url-BIzg4y2i.cjs} +2 -2
  12. package/dist/chunks/{url-BYg6oUon.es.js → url-CHayXMZH.es.js} +2 -2
  13. package/dist/chunks/{vue-IIIZMHTg.es.js → vue-Bi1uWinj.es.js} +17 -11
  14. package/dist/chunks/{vue-DPZkajuO.cjs → vue-HIY1g7dm.cjs} +17 -11
  15. package/dist/chunks/{xml-js-DJKwJc1u.cjs → xml-js-BjqmFOSP.cjs} +102 -81
  16. package/dist/chunks/{xml-js-Dua_oPCO.es.js → xml-js-CfClL-1b.es.js} +102 -81
  17. package/dist/core/SuperDoc.d.ts +0 -6
  18. package/dist/core/SuperDoc.d.ts.map +1 -1
  19. package/dist/core/collaboration/collaboration.d.ts +0 -9
  20. package/dist/core/collaboration/collaboration.d.ts.map +1 -1
  21. package/dist/core/collaboration/helpers.d.ts.map +1 -1
  22. package/dist/style.css +246 -147
  23. package/dist/super-editor/ai-writer.es.js +2 -2
  24. package/dist/super-editor/chunks/{converter-BbSSdo_p.js → converter-DW8-tb6t.js} +577 -337
  25. package/dist/super-editor/chunks/{docx-zipper-8FbwdMJc.js → docx-zipper-D4HYgwV0.js} +1 -1
  26. package/dist/super-editor/chunks/{editor-CnYTUN7K.js → editor-C_lmahhU.js} +3590 -1911
  27. package/dist/super-editor/chunks/{toolbar-DtAngH6V.js → toolbar-DeqcMi3l.js} +130 -37
  28. package/dist/super-editor/components/pagination-helpers.d.ts.map +1 -1
  29. package/dist/super-editor/converter.es.js +1 -1
  30. package/dist/super-editor/core/Editor.d.ts +1 -8
  31. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  32. package/dist/super-editor/core/InputRule.d.ts +7 -0
  33. package/dist/super-editor/core/InputRule.d.ts.map +1 -1
  34. package/dist/super-editor/core/commands/splitListItem.d.ts +1 -1
  35. package/dist/super-editor/core/commands/splitListItem.d.ts.map +1 -1
  36. package/dist/super-editor/core/helpers/annotator.d.ts +2 -0
  37. package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
  38. package/dist/super-editor/core/helpers/findWordBounds.d.ts +5 -0
  39. package/dist/super-editor/core/helpers/findWordBounds.d.ts.map +1 -0
  40. package/dist/super-editor/core/helpers/setWordSelection.d.ts +2 -0
  41. package/dist/super-editor/core/helpers/setWordSelection.d.ts.map +1 -0
  42. package/dist/super-editor/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
  43. package/dist/super-editor/core/super-converter/SuperConverter.d.ts +4 -1
  44. package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
  45. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  46. package/dist/super-editor/core/super-converter/helpers.d.ts.map +1 -1
  47. package/dist/super-editor/core/super-converter/v2/importer/autoPageNumberImporter.d.ts.map +1 -1
  48. package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts +5 -32
  49. package/dist/super-editor/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
  50. package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts +3 -3
  51. package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts.map +1 -1
  52. package/dist/super-editor/docx-zipper.es.js +2 -2
  53. package/dist/super-editor/editor.es.js +3 -3
  54. package/dist/super-editor/extensions/field-annotation/FieldAnnotationView.d.ts.map +1 -1
  55. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  56. package/dist/super-editor/extensions/image/imageHelpers/imagePositionPlugin.d.ts.map +1 -1
  57. package/dist/super-editor/extensions/image/imageHelpers/index.d.ts +1 -0
  58. package/dist/super-editor/extensions/image/imageHelpers/processUploadedImage.d.ts.map +1 -1
  59. package/dist/super-editor/extensions/image/index.d.ts +1 -0
  60. package/dist/super-editor/extensions/index.d.ts +2 -1
  61. package/dist/super-editor/extensions/index.d.ts.map +1 -1
  62. package/dist/super-editor/extensions/line-height/line-height.d.ts.map +1 -1
  63. package/dist/super-editor/extensions/linked-styles/linked-styles.d.ts.map +1 -1
  64. package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
  65. package/dist/super-editor/extensions/noderesizer/index.d.ts +2 -0
  66. package/dist/super-editor/extensions/noderesizer/index.d.ts.map +1 -0
  67. package/dist/super-editor/extensions/noderesizer/noderesizer.d.ts +7 -0
  68. package/dist/super-editor/extensions/noderesizer/noderesizer.d.ts.map +1 -0
  69. package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
  70. package/dist/super-editor/extensions/page-number/page-number.d.ts +10 -0
  71. package/dist/super-editor/extensions/page-number/page-number.d.ts.map +1 -1
  72. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts +2 -1
  73. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
  74. package/dist/super-editor/extensions/pagination/pagination.d.ts.map +1 -1
  75. package/dist/super-editor/extensions/paragraph/paragraph.d.ts.map +1 -1
  76. package/dist/super-editor/file-zipper.es.js +1 -1
  77. package/dist/super-editor/style.css +219 -120
  78. package/dist/super-editor/super-editor.es.js +325 -200
  79. package/dist/super-editor/tests/e2e/test-app/vite.config.d.ts +1 -1
  80. package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  81. package/dist/super-editor/toolbar.es.js +2 -2
  82. package/dist/super-editor.cjs +2 -2
  83. package/dist/super-editor.es.js +2 -2
  84. package/dist/superdoc.cjs +1590 -367
  85. package/dist/superdoc.es.js +1575 -368
  86. package/dist/superdoc.umd.js +5254 -1905
  87. package/dist/superdoc.umd.js.map +1 -1
  88. package/package.json +3 -2
  89. package/dist/super-editor/core/helpers/list-numbering-helpers.d.ts +0 -235
  90. package/dist/super-editor/core/helpers/list-numbering-helpers.d.ts.map +0 -1
  91. package/dist/super-editor/extensions/list-item/ListItemNodeView.d.ts +0 -56
  92. package/dist/super-editor/extensions/list-item/ListItemNodeView.d.ts.map +0 -1
  93. package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts +0 -3
  94. package/dist/super-editor/tests/e2e/test-app/dist/assets/index-BTMvkUyI.d.ts.map +0 -1
  95. package/dist/super-editor/tests/editor/listItemHelpers.test.d.ts +0 -2
  96. package/dist/super-editor/tests/editor/listItemHelpers.test.d.ts.map +0 -1
package/dist/style.css CHANGED
@@ -144,13 +144,20 @@
144
144
  width: 16px;
145
145
  }
146
146
 
147
- .toolbar-item[data-v-6eb57404] {
147
+ .toolbar-item[data-v-2518a3d1] {
148
148
  position: relative;
149
149
  z-index: 1;
150
150
  min-width: 30px;
151
151
  margin: 0 1px;
152
152
  }
153
- .toolbar-button[data-v-6eb57404] {
153
+ .visually-hidden[data-v-2518a3d1] {
154
+ position: absolute;
155
+ left: -9999px;
156
+ height: 1px;
157
+ width: 1px;
158
+ overflow: hidden;
159
+ }
160
+ .toolbar-button[data-v-2518a3d1] {
154
161
  padding: 5px;
155
162
  height: 32px;
156
163
  max-height: 32px;
@@ -166,21 +173,21 @@
166
173
  position: relative;
167
174
  box-sizing: border-box;
168
175
  }
169
- .toolbar-button[data-v-6eb57404]:hover {
176
+ .toolbar-button[data-v-2518a3d1]:hover {
170
177
  background-color: #dbdbdb;
171
178
  }
172
- .toolbar-button:hover .toolbar-icon.high-contrast[data-v-6eb57404] {
179
+ .toolbar-button:hover .toolbar-icon.high-contrast[data-v-2518a3d1] {
173
180
  color: #fff;
174
181
  }
175
- .toolbar-button:hover.high-contrast[data-v-6eb57404] {
182
+ .toolbar-button:hover.high-contrast[data-v-2518a3d1] {
176
183
  background-color: #000;
177
184
  color: #fff;
178
185
  }
179
- .toolbar-button[data-v-6eb57404]:active,
180
- .active[data-v-6eb57404] {
186
+ .toolbar-button[data-v-2518a3d1]:active,
187
+ .active[data-v-2518a3d1] {
181
188
  background-color: #c8d0d8;
182
189
  }
183
- .button-label[data-v-6eb57404] {
190
+ .button-label[data-v-2518a3d1] {
184
191
  overflow: hidden;
185
192
  width: 100%;
186
193
  text-align: center;
@@ -190,37 +197,37 @@
190
197
  font-size: 15px;
191
198
  margin: 5px;
192
199
  }
193
- .toolbar-icon+.dropdown-caret[data-v-6eb57404] {
200
+ .toolbar-icon+.dropdown-caret[data-v-2518a3d1] {
194
201
  margin-left: 4px;
195
202
  }
196
- .left[data-v-6eb57404],
197
- .right[data-v-6eb57404] {
203
+ .left[data-v-2518a3d1],
204
+ .right[data-v-2518a3d1] {
198
205
  width: 50%;
199
206
  height: 100%;
200
207
  background-color: #dbdbdb;
201
208
  border-radius: 60%;
202
209
  }
203
- .has-inline-text-input[data-v-6eb57404]:hover {
210
+ .has-inline-text-input[data-v-2518a3d1]:hover {
204
211
  cursor: text;
205
212
  }
206
- .disabled[data-v-6eb57404] {
213
+ .disabled[data-v-2518a3d1] {
207
214
  cursor: default;
208
215
  }
209
- .disabled[data-v-6eb57404]:hover {
216
+ .disabled[data-v-2518a3d1]:hover {
210
217
  cursor: default;
211
218
  background-color: initial;
212
219
  }
213
- .disabled .toolbar-icon[data-v-6eb57404],
214
- .disabled .caret[data-v-6eb57404],
215
- .disabled .button-label[data-v-6eb57404] {
220
+ .disabled .toolbar-icon[data-v-2518a3d1],
221
+ .disabled .caret[data-v-2518a3d1],
222
+ .disabled .button-label[data-v-2518a3d1] {
216
223
  opacity: 0.35;
217
224
  }
218
- .caret[data-v-6eb57404] {
225
+ .caret[data-v-2518a3d1] {
219
226
  font-size: 1em;
220
227
  padding-left: 2px;
221
228
  padding-right: 2px;
222
229
  }
223
- .button-text-input[data-v-6eb57404] {
230
+ .button-text-input[data-v-2518a3d1] {
224
231
  color: #47484a;
225
232
  border-radius: 4px;
226
233
  text-align: center;
@@ -234,13 +241,13 @@
234
241
  border: 1px solid #d8dee5;
235
242
  box-sizing: border-box;
236
243
  }
237
- .button-text-input.high-contrast[data-v-6eb57404] {
244
+ .button-text-input.high-contrast[data-v-2518a3d1] {
238
245
  background-color: #fff;
239
246
  }
240
- .button-text-input[data-v-6eb57404]::placeholder {
247
+ .button-text-input[data-v-2518a3d1]::placeholder {
241
248
  color: #47484a;
242
249
  }
243
- .dropdown-caret[data-v-6eb57404] {
250
+ .dropdown-caret[data-v-2518a3d1] {
244
251
  display: inline-flex;
245
252
  align-items: center;
246
253
  justify-content: center;
@@ -250,16 +257,16 @@
250
257
  height: 10px;
251
258
  }
252
259
  @media (max-width: 1280px) {
253
- .toolbar-item--doc-mode .button-label[data-v-6eb57404] {
260
+ .toolbar-item--doc-mode .button-label[data-v-2518a3d1] {
254
261
  display: none;
255
262
  }
256
- .toolbar-item--doc-mode .toolbar-icon[data-v-6eb57404] {
263
+ .toolbar-item--doc-mode .toolbar-icon[data-v-2518a3d1] {
257
264
  margin-right: 5px;
258
265
  }
259
- .toolbar-item--linked-styles[data-v-6eb57404] {
266
+ .toolbar-item--linked-styles[data-v-2518a3d1] {
260
267
  width: auto !important;
261
268
  }
262
- .toolbar-item--linked-styles .button-label[data-v-6eb57404] {
269
+ .toolbar-item--linked-styles .button-label[data-v-2518a3d1] {
263
270
  display: none;
264
271
  }
265
272
  }
@@ -289,10 +296,10 @@
289
296
  background-color: #c8d0d8;
290
297
  }
291
298
 
292
- .overflow-menu[data-v-c637209b] {
299
+ .overflow-menu[data-v-53852ffa] {
293
300
  position: relative;
294
301
  }
295
- .overflow-menu_items[data-v-c637209b] {
302
+ .overflow-menu_items[data-v-53852ffa] {
296
303
  position: absolute;
297
304
  width: 200px;
298
305
  top: calc(100% + 3px);
@@ -304,13 +311,13 @@
304
311
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
305
312
  box-sizing: border-box;
306
313
  }
307
- .superdoc-toolbar-overflow[data-v-c637209b] {
314
+ .superdoc-toolbar-overflow[data-v-53852ffa] {
308
315
  min-width: auto !important;
309
316
  max-width: 200px;
310
317
  flex-wrap: wrap;
311
318
  }
312
319
  @media (max-width: 300px) {
313
- .overflow-menu_items[data-v-c637209b] {
320
+ .overflow-menu_items[data-v-53852ffa] {
314
321
  right: auto;
315
322
  left: 0;
316
323
  transform: translateX(-50%);
@@ -340,11 +347,11 @@
340
347
  border-radius: 8px !important;
341
348
  }
342
349
 
343
- .button-group[data-v-b09e5a20] {
350
+ .button-group[data-v-d4f36abf] {
344
351
  display: flex;
345
352
  }
346
353
 
347
- .superdoc-toolbar[data-v-2a400574] {
354
+ .superdoc-toolbar[data-v-9d38c912] {
348
355
  display: flex;
349
356
  width: 100%;
350
357
  justify-content: space-between;
@@ -352,12 +359,12 @@
352
359
  box-sizing: border-box;
353
360
  }
354
361
  @media (max-width: 1280px) {
355
- .superdoc-toolbar-group-side[data-v-2a400574] {
362
+ .superdoc-toolbar-group-side[data-v-9d38c912] {
356
363
  min-width: auto !important;
357
364
  }
358
365
  }
359
366
  @media (max-width: 768px) {
360
- .superdoc-toolbar[data-v-2a400574] {
367
+ .superdoc-toolbar[data-v-9d38c912] {
361
368
  padding: 4px 10px;
362
369
  justify-content: inherit;
363
370
  }
@@ -498,33 +505,8 @@ to {
498
505
  .ProseMirror pre {
499
506
  white-space: pre-wrap;
500
507
  }
501
- .ProseMirror ol,
502
- .ProseMirror ul {
503
- margin-block-start: 0;
504
- margin-block-end: 0;
505
- margin-inline-start: 0;
506
- margin-inline-end: 0;
507
- }
508
- .ProseMirror ol,
509
- .ProseMirror ul {
510
- padding-inline-start: 0;
511
- padding-left: 0 ;
512
- }
513
- .ProseMirror ol,
514
- .ProseMirror ul {
515
- /* list-style: none !important; */
516
- }
517
- .ProseMirror li::marker {
518
- content: none;
519
- }
520
- .ProseMirror li::marker {
521
- padding: 0;
522
- margin: 0;
523
- }
524
- .ProseMirror li > p {
525
- margin: 0;
526
- padding: 0;
527
- display: inline-block;
508
+ .ProseMirror li {
509
+ position: relative;
528
510
  }
529
511
  .ProseMirror.header-footer-edit > p, .ProseMirror.header-footer-edit li, .ProseMirror.header-footer-edit span {
530
512
  color: #7e7e7e !important;
@@ -557,6 +539,31 @@ to {
557
539
  .ProseMirror li:has(> ul:first-child, > ol:first-child):not(:has(> p))::marker {
558
540
  content: '';
559
541
  }
542
+ .ProseMirror li::marker {
543
+ font-size: var(--marker-font-size);
544
+ font-family: var(--marker-font-family);
545
+ }
546
+ .ProseMirror li[data-marker-type] {
547
+ list-style: none;
548
+ display: grid;
549
+ grid-template-columns: max-content 1fr;
550
+ column-gap: 0.5em;
551
+ align-items: start;
552
+ }
553
+ .ProseMirror li[data-marker-type]::marker {
554
+ content: "";
555
+ }
556
+ .ProseMirror li[data-marker-type]::before {
557
+ content: attr(data-marker-type);
558
+ white-space: pre;
559
+ font-size: var(--marker-font-size);
560
+ font-family: var(--marker-font-family);
561
+ grid-column: 1;
562
+ }
563
+ .ProseMirror li[data-marker-type] > * {
564
+ grid-column: 2;
565
+ margin: 0;
566
+ }
560
567
  .ProseMirror-hideselection *::selection {
561
568
  background: transparent;
562
569
  }
@@ -871,6 +878,22 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
871
878
  .sd-ai-highlight-pulse {
872
879
  animation: ai-pulse 1.5s ease-in-out infinite;
873
880
  }
881
+ .sd-editor-auto-page-number,
882
+ .sd-editor-auto-total-pages {
883
+ transition: all 250ms ease;
884
+ border-bottom: 1px solid #9A9A9A;
885
+ cursor: not-allowed;
886
+ }
887
+ .sd-editor-auto-page-numbe:hover,
888
+ .sd-editor-auto-total-pages:hover {
889
+ border-bottom: 1px solid #4f4f4f;
890
+ }
891
+ .sd-editor-auto-page-number-content {
892
+ pointer-events: none;
893
+ }
894
+ :root {
895
+ --sd-editor-separator-height: 18px;
896
+ }
874
897
  .pagination-section-header {
875
898
  cursor: default;
876
899
  }
@@ -893,14 +916,24 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
893
916
  .pagination-separator {
894
917
  position: relative;
895
918
  display: block;
896
- height: 18px;
897
- min-height: 18px;
919
+ height: var(--sd-editor-separator-height);
920
+ min-height: var(--sd-editor-separator-height);
898
921
  min-width: 100%;
899
922
  width: 100%;
900
923
  border-top: 1px solid #DBDBDB;
901
924
  border-bottom: 1px solid #DBDBDB;
902
925
  cursor: default;
903
926
  }
927
+ .pagination-separator--table {
928
+ border: 0;
929
+ }
930
+ .pagination-separator-floating {
931
+ position: absolute;
932
+ height: var(--sd-editor-separator-height);
933
+ border-top: 1px solid #DBDBDB;
934
+ border-bottom: 1px solid #DBDBDB;
935
+ pointer-events: none;
936
+ }
904
937
  .pagination-inner {
905
938
  position: absolute;
906
939
  top: 0;
@@ -981,28 +1014,91 @@ on the right if it is inside shape textbox.
981
1014
  .sd-editor-comment-highlight:hover {
982
1015
  background-color: #1354FF55;
983
1016
  }
984
- .sd-editor-list-item-node-view {
985
- position: relative;
1017
+ /* Resize handles container */
1018
+ .sd-editor-resize-container {
1019
+ position: absolute;
1020
+ pointer-events: none;
1021
+ z-index: 11;
986
1022
  }
987
- .sd-editor-list-item-numbering {
1023
+ /* Resize handles */
1024
+ .sd-editor-resize-handle {
988
1025
  position: absolute;
989
- cursor: pointer;
1026
+ width: 12px;
1027
+ height: 12px;
1028
+ background-color: #4dabf7;
1029
+ border: 2px solid #fff;
1030
+ border-radius: 50%;
1031
+ box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
1032
+ pointer-events: auto;
1033
+ transition: all 0.1s ease;
1034
+ }
1035
+ .sd-editor-resize-handle:hover {
1036
+ background-color: #228be6;
1037
+ transform: scale(1.1);
1038
+ box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
1039
+ }
1040
+ /* Handle positions */
1041
+ .sd-editor-resize-handle-nw {
1042
+ top: -6px;
1043
+ left: -6px;
1044
+ cursor: nwse-resize;
1045
+ }
1046
+ .sd-editor-resize-handle-ne {
1047
+ top: -6px;
1048
+ right: -6px;
1049
+ cursor: nesw-resize;
1050
+ }
1051
+ .sd-editor-resize-handle-sw {
1052
+ bottom: -6px;
1053
+ left: -6px;
1054
+ cursor: nesw-resize;
1055
+ }
1056
+ .sd-editor-resize-handle-se {
1057
+ bottom: -6px;
1058
+ right: -6px;
1059
+ cursor: nwse-resize;
1060
+ }
1061
+ /* Hide handles when editor loses focus */
1062
+ .ProseMirror:not(.ProseMirror-focused) .sd-editor-resize-container {
1063
+ display: none;
990
1064
  }
991
- .sd-editor-list-item-numbering-selected {
992
- background-color: red;
1065
+ /* Smooth transitions for resizing */
1066
+ .sd-editor-resizable-wrapper * {
1067
+ transition: none;
993
1068
  }
994
- .sd-editor-list-item-content-dom {
995
-
1069
+ .sd-editor-resizable-wrapper *:not([style*='width']) {
1070
+ transition: all 0.2s ease;
1071
+ }
1072
+ /* Resize feedback indicator */
1073
+ .sd-editor-resizable-wrapper::after {
1074
+ content: 'Drag corners to resize';
1075
+ position: absolute;
1076
+ bottom: -25px;
1077
+ left: 50%;
1078
+ transform: translateX(-50%);
1079
+ background-color: rgba(77, 171, 247, 0.9);
1080
+ color: white;
1081
+ font-size: 11px;
1082
+ padding: 4px 8px;
1083
+ border-radius: 4px;
1084
+ white-space: nowrap;
1085
+ pointer-events: none;
1086
+ opacity: 0;
1087
+ transition: opacity 0.3s ease;
1088
+ z-index: 12;
1089
+ }
1090
+ .sd-editor-resizable-wrapper:hover::after {
1091
+ opacity: 1;
996
1092
  }
997
1093
 
998
- .alignment-buttons[data-v-58d8a9bb] {
1094
+ .alignment-buttons[data-v-3f28435a] {
999
1095
  display: flex;
1000
1096
  justify-content: space-between;
1001
1097
  width: 100%;
1002
1098
  padding: 8px;
1003
1099
  box-sizing: border-box;
1004
1100
  }
1005
- .alignment-buttons .button-icon[data-v-58d8a9bb] {
1101
+ .alignment-buttons .button-icon[data-v-3f28435a] {
1006
1102
  cursor: pointer;
1007
1103
  padding: 5px;
1008
1104
  font-size: 16px;
@@ -1014,16 +1110,16 @@ on the right if it is inside shape textbox.
1014
1110
  align-items: center;
1015
1111
  box-sizing: border-box;
1016
1112
  }
1017
- .alignment-buttons .button-icon[data-v-58d8a9bb]:hover {
1113
+ .alignment-buttons .button-icon[data-v-3f28435a]:hover {
1018
1114
  background-color: #d8dee5;
1019
1115
  }
1020
- .alignment-buttons .button-icon[data-v-58d8a9bb] svg {
1116
+ .alignment-buttons .button-icon[data-v-3f28435a] svg {
1021
1117
  width: 100%;
1022
1118
  height: 100%;
1023
1119
  display: block;
1024
1120
  fill: currentColor;
1025
1121
  }
1026
- .alignment-buttons.high-contrast .button-icon[data-v-58d8a9bb]:hover {
1122
+ .alignment-buttons.high-contrast .button-icon[data-v-3f28435a]:hover {
1027
1123
  background-color: #000;
1028
1124
  color: #fff;
1029
1125
  }
@@ -1193,19 +1289,19 @@ on the right if it is inside shape textbox.
1193
1289
  cursor: pointer;
1194
1290
  }
1195
1291
 
1196
- .document-mode[data-v-050d9d49] {
1292
+ .document-mode[data-v-7febe4d9] {
1197
1293
  display: flex;
1198
1294
  flex-direction: column;
1199
1295
  padding: 10px;
1200
1296
  box-sizing: border-box;
1201
1297
  }
1202
- .document-mode[data-v-050d9d49] svg {
1298
+ .document-mode[data-v-7febe4d9] svg {
1203
1299
  width: 100%;
1204
1300
  height: 100%;
1205
1301
  display: block;
1206
1302
  fill: currentColor;
1207
1303
  }
1208
- .document-mode .option-item[data-v-050d9d49] {
1304
+ .document-mode .option-item[data-v-7febe4d9] {
1209
1305
  display: flex;
1210
1306
  flex-direction: row;
1211
1307
  background-color: white;
@@ -1214,35 +1310,35 @@ on the right if it is inside shape textbox.
1214
1310
  cursor: pointer;
1215
1311
  box-sizing: border-box;
1216
1312
  }
1217
- .document-mode .option-item[data-v-050d9d49]:hover {
1313
+ .document-mode .option-item[data-v-7febe4d9]:hover {
1218
1314
  background-color: #c8d0d8;
1219
1315
  }
1220
- .document-mode.high-contrast .option-item[data-v-050d9d49]:hover {
1316
+ .document-mode.high-contrast .option-item[data-v-7febe4d9]:hover {
1221
1317
  background-color: #000;
1222
1318
  color: #fff;
1223
1319
  }
1224
- .document-mode.high-contrast .option-item:hover .icon-column__icon[data-v-050d9d49] {
1320
+ .document-mode.high-contrast .option-item:hover .icon-column__icon[data-v-7febe4d9] {
1225
1321
  color: #fff;
1226
1322
  }
1227
- .document-mode.high-contrast .option-item:hover .text-column >.document-mode-type[data-v-050d9d49],
1228
- .document-mode.high-contrast .option-item:hover .text-column >.document-mode-description[data-v-050d9d49] {
1323
+ .document-mode.high-contrast .option-item:hover .text-column >.document-mode-type[data-v-7febe4d9],
1324
+ .document-mode.high-contrast .option-item:hover .text-column >.document-mode-description[data-v-7febe4d9] {
1229
1325
  color: #fff;
1230
1326
  }
1231
- .disabled[data-v-050d9d49] {
1327
+ .disabled[data-v-7febe4d9] {
1232
1328
  opacity: 0.5;
1233
1329
  cursor: not-allowed !important;
1234
1330
  pointer-events: none;
1235
1331
  }
1236
- .document-mode-column[data-v-050d9d49] {
1332
+ .document-mode-column[data-v-7febe4d9] {
1237
1333
  display: flex;
1238
1334
  flex-direction: column;
1239
1335
  }
1240
- .document-mode-type[data-v-050d9d49] {
1336
+ .document-mode-type[data-v-7febe4d9] {
1241
1337
  font-weight: 400;
1242
1338
  font-size: 15px;
1243
1339
  color: #222;
1244
1340
  }
1245
- .icon-column[data-v-050d9d49] {
1341
+ .icon-column[data-v-7febe4d9] {
1246
1342
  margin-right: 5px;
1247
1343
  justify-content: flex-start;
1248
1344
  align-items: center;
@@ -1251,7 +1347,7 @@ on the right if it is inside shape textbox.
1251
1347
  height: 100%;
1252
1348
  box-sizing: border-box;
1253
1349
  }
1254
- .icon-column__icon[data-v-050d9d49] {
1350
+ .icon-column__icon[data-v-7febe4d9] {
1255
1351
  display: inline-flex;
1256
1352
  justify-content: center;
1257
1353
  align-items: center;
@@ -1259,23 +1355,23 @@ on the right if it is inside shape textbox.
1259
1355
  height: 18px;
1260
1356
  color: #47484a;
1261
1357
  }
1262
- .icon-column__icon[data-v-050d9d49] svg {
1358
+ .icon-column__icon[data-v-7febe4d9] svg {
1263
1359
  width: auto;
1264
1360
  /* needed for safari */
1265
1361
  max-height: 18px;
1266
1362
  }
1267
- .document-mode-description[data-v-050d9d49] {
1363
+ .document-mode-description[data-v-7febe4d9] {
1268
1364
  font-size: 12px;
1269
1365
  color: #666;
1270
1366
  }
1271
1367
 
1272
- .style-name[data-v-bf5a8c1e] {
1368
+ .style-name[data-v-2cf079a2] {
1273
1369
  padding: 16px 10px;
1274
1370
  }
1275
- .style-name[data-v-bf5a8c1e]:hover {
1371
+ .style-name[data-v-2cf079a2]:hover {
1276
1372
  background-color: #c8d0d8;
1277
1373
  }
1278
- .linked-style-buttons[data-v-bf5a8c1e] {
1374
+ .linked-style-buttons[data-v-2cf079a2] {
1279
1375
  display: flex;
1280
1376
  flex-direction: column;
1281
1377
  width: 100%;
@@ -1286,7 +1382,7 @@ on the right if it is inside shape textbox.
1286
1382
  margin: 0;
1287
1383
  overflow: auto;
1288
1384
  }
1289
- .button-icon[data-v-bf5a8c1e] {
1385
+ .button-icon[data-v-2cf079a2] {
1290
1386
  cursor: pointer;
1291
1387
  padding: 5px;
1292
1388
  font-size: 16px;
@@ -1298,21 +1394,21 @@ on the right if it is inside shape textbox.
1298
1394
  align-items: center;
1299
1395
  box-sizing: border-box;
1300
1396
  }
1301
- .button-icon[data-v-bf5a8c1e]:hover {
1397
+ .button-icon[data-v-2cf079a2]:hover {
1302
1398
  background-color: #d8dee5;
1303
1399
  }
1304
- .button-icon[data-v-bf5a8c1e] svg {
1400
+ .button-icon[data-v-2cf079a2] svg {
1305
1401
  width: 100%;
1306
1402
  height: 100%;
1307
1403
  display: block;
1308
1404
  fill: currentColor;
1309
1405
  }
1310
1406
 
1311
- .option-row[data-v-d96a82fa] {
1407
+ .option-row[data-v-e89b7f5f] {
1312
1408
  display: flex;
1313
1409
  flex-direction: row;
1314
1410
  }
1315
- .option[data-v-d96a82fa] {
1411
+ .option[data-v-e89b7f5f] {
1316
1412
  border-radius: 50%;
1317
1413
  cursor: pointer;
1318
1414
  padding: 3px;
@@ -1322,80 +1418,80 @@ on the right if it is inside shape textbox.
1322
1418
  position: relative;
1323
1419
  box-sizing: border-box;
1324
1420
  }
1325
- .option[data-v-d96a82fa]:hover {
1421
+ .option[data-v-e89b7f5f]:hover {
1326
1422
  background-color: #dbdbdb;
1327
1423
  }
1328
- .option__icon[data-v-d96a82fa] {
1424
+ .option__icon[data-v-e89b7f5f] {
1329
1425
  width: 20px;
1330
1426
  height: 20px;
1331
1427
  flex-shrink: 0;
1332
1428
  }
1333
- .option__check[data-v-d96a82fa] {
1429
+ .option__check[data-v-e89b7f5f] {
1334
1430
  width: 14px;
1335
1431
  height: 14px;
1336
1432
  flex-shrink: 0;
1337
1433
  position: absolute;
1338
1434
  }
1339
1435
 
1340
- .options-grid-wrap[data-v-9246bdef] {
1436
+ .options-grid-wrap[data-v-a00a9a3e] {
1341
1437
  padding: 5px;
1342
1438
  border-radius: 5px;
1343
1439
  }
1344
- .none-option[data-v-9246bdef] {
1440
+ .none-option[data-v-a00a9a3e] {
1345
1441
  display: flex;
1346
1442
  align-items: center;
1347
1443
  gap: 4px;
1348
1444
  padding: 4px;
1349
1445
  }
1350
- .none-option[data-v-9246bdef]:hover {
1446
+ .none-option[data-v-a00a9a3e]:hover {
1351
1447
  opacity: 0.65;
1352
1448
  }
1353
- .none-icon[data-v-9246bdef] {
1449
+ .none-icon[data-v-a00a9a3e] {
1354
1450
  width: 16px;
1355
1451
  }
1356
- .option-grid-ctn[data-v-9246bdef] {
1452
+ .option-grid-ctn[data-v-a00a9a3e] {
1357
1453
  display: flex;
1358
1454
  flex-direction: column;
1359
1455
  background-color: #fff;
1360
1456
  z-index: 3;
1361
1457
  box-sizing: border-box;
1362
1458
  }
1363
- .option-grid-ctn__subtitle[data-v-9246bdef] {
1459
+ .option-grid-ctn__subtitle[data-v-a00a9a3e] {
1364
1460
  padding: 3px;
1365
1461
  font-size: 12px;
1366
1462
  font-weight: 600;
1367
1463
  }
1368
- .option-grid-ctn[data-v-9246bdef] svg {
1464
+ .option-grid-ctn[data-v-a00a9a3e] svg {
1369
1465
  width: 100%;
1370
1466
  height: 100%;
1371
1467
  display: block;
1372
1468
  fill: currentColor;
1373
1469
  }
1374
1470
 
1375
- .toolbar-table-grid-wrapper .toolbar-table-grid[data-v-617bf152] {
1471
+ .toolbar-table-grid-wrapper .toolbar-table-grid[data-v-3e1154b8] {
1376
1472
  display: grid;
1377
1473
  grid-template-columns: repeat(5, 1fr);
1378
1474
  gap: 2px;
1379
1475
  padding: 8px;
1380
1476
  box-sizing: border-box;
1381
1477
  }
1382
- .toolbar-table-grid-wrapper .toolbar-table-grid__item[data-v-617bf152] {
1478
+ .toolbar-table-grid-wrapper .toolbar-table-grid__item[data-v-3e1154b8] {
1383
1479
  width: 20px;
1384
1480
  height: 20px;
1385
1481
  border: 1px solid #d3d3d3;
1386
1482
  cursor: pointer;
1387
1483
  transition: all .15s;
1388
1484
  }
1389
- .toolbar-table-grid-wrapper .toolbar-table-grid__item.selected[data-v-617bf152] {
1485
+ .toolbar-table-grid-wrapper .toolbar-table-grid__item.selected[data-v-3e1154b8] {
1390
1486
  background-color: #dbdbdb;
1391
1487
  }
1392
- .toolbar-table-grid-wrapper.high-contrast .toolbar-table-grid__item[data-v-617bf152] {
1488
+ .toolbar-table-grid-wrapper.high-contrast .toolbar-table-grid__item[data-v-3e1154b8] {
1393
1489
  border-color: #000;
1394
1490
  }
1395
- .toolbar-table-grid-wrapper.high-contrast .toolbar-table-grid__item.selected[data-v-617bf152] {
1491
+ .toolbar-table-grid-wrapper.high-contrast .toolbar-table-grid__item.selected[data-v-3e1154b8] {
1396
1492
  background: #000;
1397
1493
  }
1398
- .toolbar-table-grid-wrapper .toolbar-table-grid-value[data-v-617bf152] {
1494
+ .toolbar-table-grid-wrapper .toolbar-table-grid-value[data-v-3e1154b8] {
1399
1495
  font-size: 13px;
1400
1496
  line-height: 1.1;
1401
1497
  padding: 0px 8px 2px;
@@ -1568,7 +1664,10 @@ on the right if it is inside shape textbox.
1568
1664
  user-select: none;
1569
1665
  }
1570
1666
 
1571
- .super-editor-container[data-v-f27b7c30] {
1667
+ .editor-element[data-v-4b700df1] {
1668
+ position: relative;
1669
+ }
1670
+ .super-editor-container[data-v-4b700df1] {
1572
1671
  width: auto;
1573
1672
  height: auto;
1574
1673
  min-width: 8in;
@@ -1577,13 +1676,13 @@ on the right if it is inside shape textbox.
1577
1676
  display: flex;
1578
1677
  flex-direction: column;
1579
1678
  }
1580
- .ruler[data-v-f27b7c30] {
1679
+ .ruler[data-v-4b700df1] {
1581
1680
  margin-bottom: 2px;
1582
1681
  }
1583
- .super-editor[data-v-f27b7c30] {
1682
+ .super-editor[data-v-4b700df1] {
1584
1683
  color: initial;
1585
1684
  }
1586
- .placeholder-editor[data-v-f27b7c30] {
1685
+ .placeholder-editor[data-v-4b700df1] {
1587
1686
  position: absolute;
1588
1687
  top: 0;
1589
1688
  left: 0;
@@ -1595,7 +1694,7 @@ on the right if it is inside shape textbox.
1595
1694
  background-color: white;
1596
1695
  box-sizing: border-box;
1597
1696
  }
1598
- .placeholder-title[data-v-f27b7c30] {
1697
+ .placeholder-title[data-v-4b700df1] {
1599
1698
  display: flex;
1600
1699
  justify-content: center;
1601
1700
  margin-bottom: 40px;
@@ -4374,46 +4473,46 @@ img[data-v-7dd69850] {
4374
4473
  box-shadow: 0 0 5px hsla(0, 0%, 0%, .05);
4375
4474
  }
4376
4475
 
4377
- .superdoc[data-v-cce6555f] {
4476
+ .superdoc[data-v-fc218ba5] {
4378
4477
  display: flex;
4379
4478
  }
4380
- .right-sidebar[data-v-cce6555f] {
4479
+ .right-sidebar[data-v-fc218ba5] {
4381
4480
  min-width: 320px;
4382
4481
  }
4383
- .floating-comments[data-v-cce6555f] {
4482
+ .floating-comments[data-v-fc218ba5] {
4384
4483
  min-width: 300px;
4385
4484
  width: 300px;
4386
4485
  }
4387
- .superdoc__layers[data-v-cce6555f] {
4486
+ .superdoc__layers[data-v-fc218ba5] {
4388
4487
  height: 100%;
4389
4488
  position: relative;
4390
4489
  box-sizing: border-box;
4391
4490
  }
4392
- .superdoc__document[data-v-cce6555f] {
4491
+ .superdoc__document[data-v-fc218ba5] {
4393
4492
  width: 100%;
4394
4493
  position: relative;
4395
4494
  }
4396
- .superdoc__sub-document[data-v-cce6555f] {
4495
+ .superdoc__sub-document[data-v-fc218ba5] {
4397
4496
  width: 100%;
4398
4497
  position: relative;
4399
4498
  }
4400
- .superdoc__selection-layer[data-v-cce6555f] {
4499
+ .superdoc__selection-layer[data-v-fc218ba5] {
4401
4500
  position: absolute;
4402
4501
  min-width: 100%;
4403
4502
  min-height: 100%;
4404
4503
  z-index: 10;
4405
4504
  pointer-events: none;
4406
4505
  }
4407
- .superdoc__temp-selection[data-v-cce6555f] {
4506
+ .superdoc__temp-selection[data-v-fc218ba5] {
4408
4507
  position: absolute;
4409
4508
  }
4410
- .superdoc__comments-layer[data-v-cce6555f] {
4509
+ .superdoc__comments-layer[data-v-fc218ba5] {
4411
4510
  /* position: absolute; */
4412
4511
  top: 0;
4413
4512
  height: 100%;
4414
4513
  position: relative;
4415
4514
  }
4416
- .superdoc__right-sidebar[data-v-cce6555f] {
4515
+ .superdoc__right-sidebar[data-v-fc218ba5] {
4417
4516
  width: 320px;
4418
4517
  min-width: 320px;
4419
4518
  padding: 0 10px;
@@ -4423,14 +4522,14 @@ img[data-v-7dd69850] {
4423
4522
  }
4424
4523
 
4425
4524
  /* Tools styles */
4426
- .tools[data-v-cce6555f] {
4525
+ .tools[data-v-fc218ba5] {
4427
4526
  position: absolute;
4428
4527
  z-index: 3;
4429
4528
  display: flex;
4430
4529
  flex-direction: column;
4431
4530
  gap: 6px;
4432
4531
  }
4433
- .tools .tool-icon[data-v-cce6555f] {
4532
+ .tools .tool-icon[data-v-fc218ba5] {
4434
4533
  font-size: 20px;
4435
4534
  border-radius: 12px;
4436
4535
  border: none;
@@ -4438,7 +4537,7 @@ img[data-v-7dd69850] {
4438
4537
  background-color: #dbdbdb;
4439
4538
  cursor: pointer;
4440
4539
  }
4441
- .tools-item[data-v-cce6555f] {
4540
+ .tools-item[data-v-fc218ba5] {
4442
4541
  display: flex;
4443
4542
  align-items: center;
4444
4543
  justify-content: center;
@@ -4448,10 +4547,10 @@ img[data-v-7dd69850] {
4448
4547
  border-radius: 12px;
4449
4548
  cursor: pointer;
4450
4549
  }
4451
- .tools-item i[data-v-cce6555f] {
4550
+ .tools-item i[data-v-fc218ba5] {
4452
4551
  cursor: pointer;
4453
4552
  }
4454
- .superdoc__tools-icon[data-v-cce6555f] {
4553
+ .superdoc__tools-icon[data-v-fc218ba5] {
4455
4554
  width: 20px;
4456
4555
  height: 20px;
4457
4556
  flex-shrink: 0;
@@ -4465,15 +4564,15 @@ img[data-v-7dd69850] {
4465
4564
 
4466
4565
  /* 834px is iPad screen size in portrait orientation */
4467
4566
  @media (max-width: 834px) {
4468
- .superdoc .superdoc__layers[data-v-cce6555f] {
4567
+ .superdoc .superdoc__layers[data-v-fc218ba5] {
4469
4568
  margin: 0;
4470
4569
  border: 0 !important;
4471
4570
  box-shadow: none;
4472
4571
  }
4473
- .superdoc__sub-document[data-v-cce6555f] {
4572
+ .superdoc__sub-document[data-v-fc218ba5] {
4474
4573
  max-width: 100%;
4475
4574
  }
4476
- .superdoc__right-sidebar[data-v-cce6555f] {
4575
+ .superdoc__right-sidebar[data-v-fc218ba5] {
4477
4576
  padding: 10px;
4478
4577
  width: 55px;
4479
4578
  position: relative;
@@ -4481,7 +4580,7 @@ img[data-v-7dd69850] {
4481
4580
  }
4482
4581
 
4483
4582
  /* AI Writer styles */
4484
- .ai-writer-container[data-v-cce6555f] {
4583
+ .ai-writer-container[data-v-fc218ba5] {
4485
4584
  position: fixed;
4486
4585
  z-index: 1000;
4487
4586
  background: white;
@@ -4499,13 +4598,13 @@ img[data-v-7dd69850] {
4499
4598
  } */
4500
4599
 
4501
4600
  /* Tools styles */
4502
- .tools[data-v-cce6555f] {
4601
+ .tools[data-v-fc218ba5] {
4503
4602
  position: absolute;
4504
4603
  z-index: 3;
4505
4604
  display: flex;
4506
4605
  gap: 6px;
4507
4606
  }
4508
- .tools .tool-icon[data-v-cce6555f] {
4607
+ .tools .tool-icon[data-v-fc218ba5] {
4509
4608
  font-size: 20px;
4510
4609
  border-radius: 12px;
4511
4610
  border: none;
@@ -4513,7 +4612,7 @@ img[data-v-7dd69850] {
4513
4612
  background-color: #dbdbdb;
4514
4613
  cursor: pointer;
4515
4614
  }
4516
- .tools-item[data-v-cce6555f] {
4615
+ .tools-item[data-v-fc218ba5] {
4517
4616
  display: flex;
4518
4617
  align-items: center;
4519
4618
  justify-content: center;
@@ -4524,18 +4623,18 @@ img[data-v-7dd69850] {
4524
4623
  border-radius: 12px;
4525
4624
  cursor: pointer;
4526
4625
  }
4527
- .tools-item i[data-v-cce6555f] {
4626
+ .tools-item i[data-v-fc218ba5] {
4528
4627
  cursor: pointer;
4529
4628
  }
4530
- .superdoc__tools-icon[data-v-cce6555f] {
4629
+ .superdoc__tools-icon[data-v-fc218ba5] {
4531
4630
  width: 20px;
4532
4631
  height: 20px;
4533
4632
  flex-shrink: 0;
4534
4633
  }
4535
- .ai-tool > svg[data-v-cce6555f] {
4634
+ .ai-tool > svg[data-v-fc218ba5] {
4536
4635
  fill: transparent;
4537
4636
  }
4538
- .ai-tool[data-v-cce6555f]::before {
4637
+ .ai-tool[data-v-fc218ba5]::before {
4539
4638
  content: "";
4540
4639
  position: absolute;
4541
4640
  width: 20px;
@@ -4554,7 +4653,7 @@ img[data-v-7dd69850] {
4554
4653
  filter: brightness(1.2);
4555
4654
  transition: filter 0.2s ease;
4556
4655
  }
4557
- .ai-tool[data-v-cce6555f]:hover::before {
4656
+ .ai-tool[data-v-fc218ba5]:hover::before {
4558
4657
  filter: brightness(1.3);
4559
4658
  }
4560
4659
  /* Tools styles - end */