@harbour-enterprises/superdoc 0.6.32 → 0.6.34

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 (25) hide show
  1. package/dist/chunks/{super-editor.es-5kNB1-AX.js → super-editor.es-Clae0piR.js} +47 -28
  2. package/dist/chunks/{super-editor.es-5kNB1-AX.js.map → super-editor.es-Clae0piR.js.map} +1 -1
  3. package/dist/style.css +40 -34
  4. package/dist/super-editor/chunks/{converter-D9ZxuNBg.js → converter-D8ypyLVy.js} +3 -3
  5. package/dist/super-editor/chunks/{converter-D9ZxuNBg.js.map → converter-D8ypyLVy.js.map} +1 -1
  6. package/dist/super-editor/chunks/{docx-zipper-DRzc1s1g.js → docx-zipper-JxK5j_VH.js} +2 -2
  7. package/dist/super-editor/chunks/{docx-zipper-DRzc1s1g.js.map → docx-zipper-JxK5j_VH.js.map} +1 -1
  8. package/dist/super-editor/chunks/{editor-CCoN68Le.js → editor-FYK4p1Sx.js} +4 -4
  9. package/dist/super-editor/chunks/{editor-CCoN68Le.js.map → editor-FYK4p1Sx.js.map} +1 -1
  10. package/dist/super-editor/chunks/{toolbar-y26xCCwj.js → toolbar-CjTZ7qxx.js} +8 -8
  11. package/dist/super-editor/chunks/toolbar-CjTZ7qxx.js.map +1 -0
  12. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  13. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  14. package/dist/super-editor/converter.es.js +1 -1
  15. package/dist/super-editor/docx-zipper.es.js +2 -2
  16. package/dist/super-editor/editor.es.js +3 -3
  17. package/dist/super-editor/file-zipper.es.js +1 -1
  18. package/dist/super-editor/style.css +40 -34
  19. package/dist/super-editor/super-editor.es.js +44 -25
  20. package/dist/super-editor/super-editor.es.js.map +1 -1
  21. package/dist/super-editor/toolbar.es.js +2 -2
  22. package/dist/super-editor.es.js +1 -1
  23. package/dist/superdoc.es.js +3 -3
  24. package/package.json +1 -1
  25. package/dist/super-editor/chunks/toolbar-y26xCCwj.js.map +0 -1
package/dist/style.css CHANGED
@@ -162,13 +162,13 @@
162
162
  width: 16px;
163
163
  }
164
164
 
165
- .toolbar-item[data-v-41fff057] {
165
+ .toolbar-item[data-v-33900b15] {
166
166
  position: relative;
167
167
  z-index: 1;
168
168
  min-width: 30px;
169
169
  margin: 0 1px;
170
170
  }
171
- .toolbar-button[data-v-41fff057] {
171
+ .toolbar-button[data-v-33900b15] {
172
172
  padding: 5px;
173
173
  height: 32px;
174
174
  max-height: 32px;
@@ -184,14 +184,14 @@
184
184
  position: relative;
185
185
  box-sizing: border-box;
186
186
  }
187
- .toolbar-button[data-v-41fff057]:hover {
187
+ .toolbar-button[data-v-33900b15]:hover {
188
188
  background-color: #dbdbdb;
189
189
  }
190
- .toolbar-button[data-v-41fff057]:active,
191
- .active[data-v-41fff057] {
190
+ .toolbar-button[data-v-33900b15]:active,
191
+ .active[data-v-33900b15] {
192
192
  background-color: #c8d0d8;
193
193
  }
194
- .button-label[data-v-41fff057] {
194
+ .button-label[data-v-33900b15] {
195
195
  overflow: hidden;
196
196
  width: 100%;
197
197
  text-align: center;
@@ -201,37 +201,37 @@
201
201
  font-size: 15px;
202
202
  margin: 5px;
203
203
  }
204
- .toolbar-icon + .dropdown-caret[data-v-41fff057] {
204
+ .toolbar-icon + .dropdown-caret[data-v-33900b15] {
205
205
  margin-left: 4px;
206
206
  }
207
- .left[data-v-41fff057],
208
- .right[data-v-41fff057] {
207
+ .left[data-v-33900b15],
208
+ .right[data-v-33900b15] {
209
209
  width: 50%;
210
210
  height: 100%;
211
211
  background-color: #dbdbdb;
212
212
  border-radius: 60%;
213
213
  }
214
- .has-inline-text-input[data-v-41fff057]:hover {
214
+ .has-inline-text-input[data-v-33900b15]:hover {
215
215
  cursor: text;
216
216
  }
217
- .disabled[data-v-41fff057] {
217
+ .disabled[data-v-33900b15] {
218
218
  cursor: default;
219
219
  }
220
- .disabled[data-v-41fff057]:hover {
220
+ .disabled[data-v-33900b15]:hover {
221
221
  cursor: default;
222
222
  background-color: initial;
223
223
  }
224
- .disabled .toolbar-icon[data-v-41fff057],
225
- .disabled .caret[data-v-41fff057],
226
- .disabled .button-label[data-v-41fff057] {
224
+ .disabled .toolbar-icon[data-v-33900b15],
225
+ .disabled .caret[data-v-33900b15],
226
+ .disabled .button-label[data-v-33900b15] {
227
227
  opacity: 0.35;
228
228
  }
229
- .caret[data-v-41fff057] {
229
+ .caret[data-v-33900b15] {
230
230
  font-size: 1em;
231
231
  padding-left: 2px;
232
232
  padding-right: 2px;
233
233
  }
234
- .button-text-input[data-v-41fff057] {
234
+ .button-text-input[data-v-33900b15] {
235
235
  color: #47484a;
236
236
  border-radius: 4px;
237
237
  text-align: center;
@@ -245,10 +245,10 @@
245
245
  border: 1px solid #d8dee5;
246
246
  box-sizing: border-box;
247
247
  }
248
- .button-text-input[data-v-41fff057]::placeholder {
248
+ .button-text-input[data-v-33900b15]::placeholder {
249
249
  color: #47484a;
250
250
  }
251
- .dropdown-caret[data-v-41fff057] {
251
+ .dropdown-caret[data-v-33900b15] {
252
252
  display: inline-flex;
253
253
  align-items: center;
254
254
  justify-content: center;
@@ -257,12 +257,18 @@
257
257
  width: 10px;
258
258
  height: 10px;
259
259
  }
260
- @media (max-width: 1120px) {
261
- .doc-mode .button-label[data-v-41fff057] {
262
- display: none;
260
+ @media (max-width: 1280px) {
261
+ .toolbar-item--doc-mode .button-label[data-v-33900b15] {
262
+ display: none;
263
263
  }
264
- .doc-mode .toolbar-icon[data-v-41fff057] {
265
- margin-right: 5px;
264
+ .toolbar-item--doc-mode .toolbar-icon[data-v-33900b15] {
265
+ margin-right: 5px;
266
+ }
267
+ .toolbar-item--linked-styles[data-v-33900b15] {
268
+ width: auto !important;
269
+ }
270
+ .toolbar-item--linked-styles .button-label[data-v-33900b15] {
271
+ display: none;
266
272
  }
267
273
  }
268
274
 
@@ -338,24 +344,24 @@
338
344
  cursor: pointer;
339
345
  }
340
346
 
341
- .button-group[data-v-2fd1a367] {
347
+ .button-group[data-v-4b88ec39] {
342
348
  display: flex;
343
349
  }
344
350
 
345
- .superdoc-toolbar[data-v-5c1cafc5] {
351
+ .superdoc-toolbar[data-v-4b88e275] {
346
352
  display: flex;
347
353
  width: 100%;
348
354
  justify-content: space-between;
349
355
  padding: 4px 16px;
350
356
  box-sizing: border-box;
351
357
  }
352
- @media (max-width: 1120px) {
353
- .superdoc-toolbar-group-side[data-v-5c1cafc5] {
358
+ @media (max-width: 1280px) {
359
+ .superdoc-toolbar-group-side[data-v-4b88e275] {
354
360
  min-width: auto !important;
355
361
  }
356
362
  }
357
363
  @media (max-width: 768px) {
358
- .superdoc-toolbar[data-v-5c1cafc5] {
364
+ .superdoc-toolbar[data-v-4b88e275] {
359
365
  padding: 4px 10px;
360
366
  justify-content: inherit;
361
367
  }
@@ -1201,7 +1207,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1201
1207
  user-select: none;
1202
1208
  }
1203
1209
 
1204
- .super-editor-container[data-v-763b7d81] {
1210
+ .super-editor-container[data-v-afb40ff1] {
1205
1211
  width: auto;
1206
1212
  height: auto;
1207
1213
  min-width: 8in;
@@ -1210,13 +1216,13 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1210
1216
  display: flex;
1211
1217
  flex-direction: column;
1212
1218
  }
1213
- .ruler[data-v-763b7d81] {
1219
+ .ruler[data-v-afb40ff1] {
1214
1220
  margin-bottom: 2px;
1215
1221
  }
1216
- .super-editor[data-v-763b7d81] {
1222
+ .super-editor[data-v-afb40ff1] {
1217
1223
  color: initial;
1218
1224
  }
1219
- .placeholder-editor[data-v-763b7d81] {
1225
+ .placeholder-editor[data-v-afb40ff1] {
1220
1226
  position: absolute;
1221
1227
  top: 0;
1222
1228
  left: 0;
@@ -1228,7 +1234,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1228
1234
  background-color: white;
1229
1235
  box-sizing: border-box;
1230
1236
  }
1231
- .placeholder-title[data-v-763b7d81] {
1237
+ .placeholder-title[data-v-afb40ff1] {
1232
1238
  display: flex;
1233
1239
  justify-content: center;
1234
1240
  margin-bottom: 40px;
@@ -53736,7 +53736,7 @@ const _SuperConverter = class _SuperConverter {
53736
53736
  return;
53737
53737
  }
53738
53738
  }
53739
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.32") {
53739
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.34") {
53740
53740
  const customLocation = "docProps/custom.xml";
53741
53741
  if (!docx[customLocation]) {
53742
53742
  docx[customLocation] = generateCustomXml();
@@ -53991,7 +53991,7 @@ function storeSuperdocVersion(docx) {
53991
53991
  function generateCustomXml() {
53992
53992
  return DEFAULT_CUSTOM_XML;
53993
53993
  }
53994
- function generateSuperdocVersion(version2 = "0.6.32") {
53994
+ function generateSuperdocVersion(version2 = "0.6.34") {
53995
53995
  return {
53996
53996
  type: "element",
53997
53997
  name: "property",
@@ -54065,4 +54065,4 @@ export {
54065
54065
  twipsToLines as y,
54066
54066
  pixelsToTwips as z
54067
54067
  };
54068
- //# sourceMappingURL=converter-D9ZxuNBg.js.map
54068
+ //# sourceMappingURL=converter-D8ypyLVy.js.map