jodit 4.11.4 → 4.11.6

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 (65) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/es2015/jodit.css +17 -2
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +14 -14
  5. package/es2015/jodit.js +64 -6
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +3 -3
  8. package/es2015/plugins/debug/debug.css +1 -1
  9. package/es2015/plugins/debug/debug.js +1 -1
  10. package/es2015/plugins/debug/debug.min.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  13. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +3 -3
  16. package/es2018/jodit.min.css +1 -1
  17. package/es2018/jodit.min.js +14 -14
  18. package/es2018/plugins/debug/debug.min.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +17 -2
  21. package/es2021/jodit.fat.min.css +1 -1
  22. package/es2021/jodit.fat.min.js +3 -3
  23. package/es2021/jodit.js +64 -6
  24. package/es2021/jodit.min.css +1 -1
  25. package/es2021/jodit.min.js +3 -3
  26. package/es2021/plugins/debug/debug.css +1 -1
  27. package/es2021/plugins/debug/debug.js +1 -1
  28. package/es2021/plugins/debug/debug.min.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  32. package/es2021.en/jodit.css +17 -2
  33. package/es2021.en/jodit.fat.min.css +1 -1
  34. package/es2021.en/jodit.fat.min.js +4 -4
  35. package/es2021.en/jodit.js +64 -6
  36. package/es2021.en/jodit.min.css +1 -1
  37. package/es2021.en/jodit.min.js +3 -3
  38. package/es2021.en/plugins/debug/debug.css +1 -1
  39. package/es2021.en/plugins/debug/debug.js +1 -1
  40. package/es2021.en/plugins/debug/debug.min.js +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  42. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  44. package/es5/jodit.css +23 -3
  45. package/es5/jodit.fat.min.css +1 -1
  46. package/es5/jodit.fat.min.js +2 -2
  47. package/es5/jodit.js +76 -12
  48. package/es5/jodit.min.css +3 -3
  49. package/es5/jodit.min.js +2 -2
  50. package/es5/plugins/debug/debug.css +1 -1
  51. package/es5/plugins/debug/debug.js +1 -1
  52. package/es5/plugins/debug/debug.min.js +1 -1
  53. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  56. package/es5/polyfills.fat.min.js +1 -1
  57. package/es5/polyfills.js +1 -1
  58. package/es5/polyfills.min.js +1 -1
  59. package/esm/core/constants.js +1 -1
  60. package/esm/core/ui/progress-bar/progress-bar.d.ts +9 -0
  61. package/esm/core/ui/progress-bar/progress-bar.js +53 -0
  62. package/esm/types/toolbar.d.ts +10 -0
  63. package/package.json +1 -1
  64. package/types/core/ui/progress-bar/progress-bar.d.ts +9 -0
  65. package/types/types/toolbar.d.ts +10 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,22 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.11.6
13
+
14
+ #### :house: Internal
15
+
16
+ - Release workflow now populates GitHub Release notes from CHANGELOG.md instead of relying on auto-generated notes
17
+
18
+ ## 4.11.5
19
+
20
+ #### :rocket: New Feature
21
+
22
+ - `ProgressBar.showFileUploadAnimation(from?, to?)` — animated file icon that flies from a given point and fades out. Coordinates are relative to the editor container. Both `from` and `to` are optional with sensible defaults. The animation is automatically cleaned up on `destruct()`.
23
+ ```js
24
+ const editor = Jodit.make('#editor')
25
+ jodit.progressbar.showFileUploadAnimation();
26
+ ```
27
+
12
28
  ## 4.11.4
13
29
 
14
30
  #### :boom: Breaking Change
package/es2015/jodit.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.11.4
4
+ * Version: v4.11.6
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1300,7 +1300,7 @@
1300
1300
  }
1301
1301
  .jodit-progress-bar {
1302
1302
  position: absolute;
1303
- z-index: 2147483647;
1303
+ z-index: var(--jd-z-index-tooltip);
1304
1304
  top: 0;
1305
1305
  left: 0;
1306
1306
  height: 2px;
@@ -1336,6 +1336,21 @@
1336
1336
  width: 20px;
1337
1337
  clip: rect(-6px, 22px, 14px, var(--jd-padding-default));
1338
1338
  }
1339
+ .jodit-progress-bar__file-animation {
1340
+ position: fixed;
1341
+ width: 32px;
1342
+ height: 32px;
1343
+ opacity: 0.8;
1344
+ pointer-events: none;
1345
+ z-index: 2147483647;
1346
+ transform: scale(1);
1347
+ transition: left 800ms ease-in, top 800ms ease-in, opacity 800ms ease-in, transform 800ms ease-in;
1348
+ }
1349
+ .jodit-progress-bar__file-animation svg {
1350
+ width: 100%;
1351
+ height: 100%;
1352
+ fill: var(--jd-color-background-progress);
1353
+ }
1339
1354
 
1340
1355
  /*!
1341
1356
  * Jodit Editor (https://xdsoft.net/jodit/)