jodit 4.2.18 → 4.2.21

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 (70) hide show
  1. package/CHANGELOG.md +18 -7
  2. package/es2015/jodit.css +47 -1
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +2 -2
  5. package/es2015/jodit.js +76 -64
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +2 -2
  8. package/es2015/plugins/debug/debug.js +1 -1
  9. package/es2015/plugins/debug/debug.min.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  13. package/es2018/jodit.css +47 -1
  14. package/es2018/jodit.fat.min.css +1 -1
  15. package/es2018/jodit.fat.min.js +2 -2
  16. package/es2018/jodit.js +76 -64
  17. package/es2018/jodit.min.css +1 -1
  18. package/es2018/jodit.min.js +2 -2
  19. package/es2018/plugins/debug/debug.js +1 -1
  20. package/es2018/plugins/debug/debug.min.js +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  22. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  23. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  24. package/es2021/jodit.css +47 -1
  25. package/es2021/jodit.fat.min.css +1 -1
  26. package/es2021/jodit.fat.min.js +2 -2
  27. package/es2021/jodit.js +76 -64
  28. package/es2021/jodit.min.css +1 -1
  29. package/es2021/jodit.min.js +2 -2
  30. package/es2021/plugins/debug/debug.js +1 -1
  31. package/es2021/plugins/debug/debug.min.js +1 -1
  32. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  33. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  34. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  35. package/es2021.en/jodit.css +47 -1
  36. package/es2021.en/jodit.fat.min.css +1 -1
  37. package/es2021.en/jodit.fat.min.js +2 -2
  38. package/es2021.en/jodit.js +76 -64
  39. package/es2021.en/jodit.min.css +1 -1
  40. package/es2021.en/jodit.min.js +2 -2
  41. package/es2021.en/plugins/debug/debug.js +1 -1
  42. package/es2021.en/plugins/debug/debug.min.js +1 -1
  43. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  44. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  45. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  46. package/es5/jodit.css +77 -2
  47. package/es5/jodit.fat.min.css +1 -1
  48. package/es5/jodit.fat.min.js +2 -2
  49. package/es5/jodit.js +79 -63
  50. package/es5/jodit.min.css +3 -3
  51. package/es5/jodit.min.js +2 -2
  52. package/es5/plugins/debug/debug.js +1 -1
  53. package/es5/plugins/debug/debug.min.js +1 -1
  54. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  56. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  57. package/esm/core/constants.js +1 -1
  58. package/esm/core/ui/button/button/button.d.ts +1 -0
  59. package/esm/core/ui/button/button/button.js +7 -0
  60. package/esm/core/ui/button/tooltip/tooltip.d.ts +3 -4
  61. package/esm/core/ui/button/tooltip/tooltip.js +44 -44
  62. package/esm/modules/toolbar/button/button.d.ts +1 -0
  63. package/esm/modules/toolbar/collection/collection.js +1 -1
  64. package/esm/modules/widget/tabs/tabs.js +21 -16
  65. package/esm/types/ui.d.ts +1 -0
  66. package/package.json +1 -1
  67. package/types/core/ui/button/button/button.d.ts +1 -0
  68. package/types/core/ui/button/tooltip/tooltip.d.ts +3 -4
  69. package/types/modules/toolbar/button/button.d.ts +1 -0
  70. package/types/types/ui.d.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,17 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.2.21
13
+
14
+ #### :house: Internal
15
+
16
+ - Improved appearance of tabs
17
+ - Fixed a bug when hovering over a button. The tooltip sometimes did not disappear
18
+
19
+ ## 4.2.19
20
+
21
+ - Fixed the lag between setting the activity to a list item when opening it.
22
+
12
23
  ## 4.2.18
13
24
 
14
25
  #### :house: Internal
@@ -23,8 +34,8 @@
23
34
  }
24
35
  ```
25
36
 
26
- - [crossorigin](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)
27
- - [referrerpolicy](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/referrerPolicy)
37
+ - [crossorigin](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)
38
+ - [referrerpolicy](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/referrerPolicy)
28
39
 
29
40
  ## 4.2.17
30
41
 
@@ -2696,11 +2707,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
2696
2707
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
2697
2708
  modeClassName="select")
2698
2709
  - ex: [
2699
- - { value: "", text: "" },
2700
- - { value: "val1", text: "text1" },
2701
- - { value: "val2", text: "text2" },
2702
- - { value: "val3", text: "text3" }
2703
- - ]
2710
+ - { value: "", text: "" },
2711
+ - { value: "val1", text: "text1" },
2712
+ - { value: "val2", text: "text2" },
2713
+ - { value: "val3", text: "text3" }
2714
+ - ]
2704
2715
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
2705
2716
 
2706
2717
  ##### New option `statusbar: boolean = true`
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.2.18
4
+ * Version: v4.2.21
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -3519,14 +3519,39 @@ a + .jodit-file-browser-tree__source-title {
3519
3519
  * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
3520
3520
  */
3521
3521
  .jodit-tabs {
3522
+ --jd-box-shadow-tabs: 0 0 #0000, 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
3522
3523
  font-family: var(--jd-font-default);
3523
3524
  font-size: var(--jd-font-size-default);
3524
3525
  }
3525
3526
  .jodit-tabs .jodit-tabs__buttons {
3527
+ background-color: var(--jd-color-background-light-gray);
3526
3528
  display: flex;
3527
3529
  justify-content: center;
3528
3530
  margin-top: calc(var(--jd-padding-default) / 2);
3529
3531
  margin-bottom: var(--jd-padding-default);
3532
+ padding: calc(var(--jd-padding-default) / 2);
3533
+ border-radius: var(--jd-border-radius-default);
3534
+ }
3535
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button {
3536
+ color: var(--jd-color-placeholder);
3537
+ }
3538
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button svg {
3539
+ fill: var(--jd-color-placeholder);
3540
+ }
3541
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]),
3542
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed='true']:not([disabled]) {
3543
+ box-shadow: var(--jd-box-shadow-tabs);
3544
+ color: var(--jd-color-text-icons);
3545
+ }
3546
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]),
3547
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed='true']:not([disabled]),
3548
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) .jodit-ui-button__text,
3549
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed='true']:not([disabled]) .jodit-ui-button__text {
3550
+ background-color: var(--jd-color-background-default);
3551
+ }
3552
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) svg,
3553
+ .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed='true']:not([disabled]) svg {
3554
+ fill: var(--jd-color-text-icons);
3530
3555
  }
3531
3556
  .jodit-tabs .jodit-tabs__buttons > * {
3532
3557
  margin-left: calc(var(--jd-padding-default) / 2);
@@ -3566,6 +3591,23 @@ a + .jodit-file-browser-tree__source-title {
3566
3591
  min-width: 220px;
3567
3592
  min-height: 100px;
3568
3593
  }
3594
+ .jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons,
3595
+ .jodit_theme_dark .jodit-tabs .jodit-tabs__buttons {
3596
+ background-color: var(--jd-dark-background-color);
3597
+ border-radius: var(--jd-border-radius-default);
3598
+ }
3599
+ .jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) .jodit-ui-button__text,
3600
+ .jodit_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) .jodit-ui-button__text,
3601
+ .jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed='true']:not([disabled]) .jodit-ui-button__text,
3602
+ .jodit_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed='true']:not([disabled]) .jodit-ui-button__text {
3603
+ color: var(--jd-dark-toolbar-color);
3604
+ }
3605
+ .jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) svg,
3606
+ .jodit_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button:active:not([disabled]) svg,
3607
+ .jodit-dialog_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed='true']:not([disabled]) svg,
3608
+ .jodit_theme_dark .jodit-tabs .jodit-tabs__buttons .jodit-ui-button[aria-pressed='true']:not([disabled]) svg {
3609
+ fill: var(--jd-color-text-icons);
3610
+ }
3569
3611
 
3570
3612
  /*!
3571
3613
  * Jodit Editor (https://xdsoft.net/jodit/)
@@ -3658,6 +3700,10 @@ html.jodit_fullsize-box_true {
3658
3700
  .jodit-ui-image-properties-form__tabsBox {
3659
3701
  padding: 0 var(--jd-padding-default);
3660
3702
  }
3703
+ .jodit-dialog_theme_dark .jodit-ui-image-properties-form__imageView,
3704
+ .jodit_theme_dark .jodit-ui-image-properties-form__imageView {
3705
+ background-color: var(--jd-dark-background-color);
3706
+ }
3661
3707
  .jodit-ui-image-properties-form_lock_true::before {
3662
3708
  content: '';
3663
3709
  left: 0;