@syncfusion/ej2-image-editor 27.2.5 → 28.1.39

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 (95) hide show
  1. package/README.md +2 -2
  2. package/dist/ej2-image-editor.umd.min.js +3 -3
  3. package/dist/ej2-image-editor.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-image-editor.es2015.js +380 -52
  5. package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-image-editor.es5.js +388 -52
  7. package/dist/es6/ej2-image-editor.es5.js.map +1 -1
  8. package/dist/global/ej2-image-editor.min.js +3 -3
  9. package/dist/global/ej2-image-editor.min.js.map +1 -1
  10. package/dist/global/index.d.ts +2 -2
  11. package/package.json +13 -13
  12. package/src/image-editor/action/draw.d.ts +4 -0
  13. package/src/image-editor/action/draw.js +97 -11
  14. package/src/image-editor/action/export.js +1 -1
  15. package/src/image-editor/action/shape.d.ts +1 -1
  16. package/src/image-editor/action/shape.js +22 -15
  17. package/src/image-editor/action/transform.js +1 -0
  18. package/src/image-editor/base/enum.d.ts +8 -2
  19. package/src/image-editor/base/enum.js +6 -0
  20. package/src/image-editor/base/image-editor-model.d.ts +51 -0
  21. package/src/image-editor/base/image-editor.d.ts +79 -2
  22. package/src/image-editor/base/image-editor.js +223 -12
  23. package/src/image-editor/renderer/toolbar.js +38 -12
  24. package/styles/bds-lite.css +867 -0
  25. package/styles/bds-lite.scss +13 -0
  26. package/styles/bds.css +973 -0
  27. package/styles/bds.scss +14 -0
  28. package/styles/bootstrap-dark-lite.css +9 -3
  29. package/styles/bootstrap-dark.css +9 -3
  30. package/styles/bootstrap-lite.css +9 -3
  31. package/styles/bootstrap.css +9 -3
  32. package/styles/bootstrap4-lite.css +9 -3
  33. package/styles/bootstrap4.css +9 -3
  34. package/styles/bootstrap5-dark-lite.css +9 -3
  35. package/styles/bootstrap5-dark.css +9 -3
  36. package/styles/bootstrap5-lite.css +9 -3
  37. package/styles/bootstrap5.3-lite.css +9 -3
  38. package/styles/bootstrap5.3.css +9 -3
  39. package/styles/bootstrap5.css +9 -3
  40. package/styles/fabric-dark-lite.css +9 -3
  41. package/styles/fabric-dark.css +9 -3
  42. package/styles/fabric-lite.css +9 -3
  43. package/styles/fabric.css +9 -3
  44. package/styles/fluent-dark-lite.css +9 -3
  45. package/styles/fluent-dark.css +9 -3
  46. package/styles/fluent-lite.css +9 -3
  47. package/styles/fluent.css +9 -3
  48. package/styles/fluent2-lite.css +9 -3
  49. package/styles/fluent2.css +9 -3
  50. package/styles/highcontrast-light-lite.css +9 -3
  51. package/styles/highcontrast-light.css +9 -3
  52. package/styles/highcontrast-lite.css +9 -3
  53. package/styles/highcontrast.css +9 -3
  54. package/styles/image-editor/_layout.scss +18 -4
  55. package/styles/image-editor/_tailwind3-definition.scss +29 -0
  56. package/styles/image-editor/bds.css +973 -0
  57. package/styles/image-editor/bds.scss +14 -0
  58. package/styles/image-editor/bootstrap-dark.css +9 -3
  59. package/styles/image-editor/bootstrap.css +9 -3
  60. package/styles/image-editor/bootstrap4.css +9 -3
  61. package/styles/image-editor/bootstrap5-dark.css +9 -3
  62. package/styles/image-editor/bootstrap5.3.css +9 -3
  63. package/styles/image-editor/bootstrap5.css +9 -3
  64. package/styles/image-editor/fabric-dark.css +9 -3
  65. package/styles/image-editor/fabric.css +9 -3
  66. package/styles/image-editor/fluent-dark.css +9 -3
  67. package/styles/image-editor/fluent.css +9 -3
  68. package/styles/image-editor/fluent2.css +9 -3
  69. package/styles/image-editor/highcontrast-light.css +9 -3
  70. package/styles/image-editor/highcontrast.css +9 -3
  71. package/styles/image-editor/icons/_tailwind3.scss +259 -0
  72. package/styles/image-editor/material-dark.css +9 -3
  73. package/styles/image-editor/material.css +9 -3
  74. package/styles/image-editor/material3-dark.css +9 -3
  75. package/styles/image-editor/material3.css +9 -3
  76. package/styles/image-editor/tailwind-dark.css +9 -3
  77. package/styles/image-editor/tailwind.css +9 -3
  78. package/styles/image-editor/tailwind3.css +864 -0
  79. package/styles/image-editor/tailwind3.scss +14 -0
  80. package/styles/material-dark-lite.css +9 -3
  81. package/styles/material-dark.css +9 -3
  82. package/styles/material-lite.css +9 -3
  83. package/styles/material.css +9 -3
  84. package/styles/material3-dark-lite.css +9 -3
  85. package/styles/material3-dark.css +9 -3
  86. package/styles/material3-lite.css +9 -3
  87. package/styles/material3.css +9 -3
  88. package/styles/tailwind-dark-lite.css +9 -3
  89. package/styles/tailwind-dark.css +9 -3
  90. package/styles/tailwind-lite.css +9 -3
  91. package/styles/tailwind.css +9 -3
  92. package/styles/tailwind3-lite.css +759 -0
  93. package/styles/tailwind3-lite.scss +13 -0
  94. package/styles/tailwind3.css +864 -0
  95. package/styles/tailwind3.scss +14 -0
@@ -277,7 +277,9 @@
277
277
  }
278
278
  .e-image-editor .e-ie-drop-area .e-ie-drop-info {
279
279
  top: calc(50% + 40px);
280
- left: calc(50% - 100px);
280
+ left: 50%;
281
+ -webkit-transform: translate(-50%, -50%);
282
+ transform: translate(-50%, -50%);
281
283
  position: absolute;
282
284
  font-size: 14px;
283
285
  }
@@ -536,13 +538,13 @@
536
538
  .e-ie-img-save-name {
537
539
  display: inline-block;
538
540
  margin-right: 10px;
539
- width: calc(71% - 13px);
541
+ width: calc(69% - 13px);
540
542
  width: calc(69% - 15px) !important; /* stylelint-disable-line declaration-no-important */
541
543
  }
542
544
 
543
545
  .e-ie-img-save-dlg {
544
546
  display: inline-block;
545
- width: 90px;
547
+ width: 92px;
546
548
  }
547
549
 
548
550
  .e-ie-img-save-dlg .e-btn {
@@ -680,6 +682,10 @@
680
682
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
681
683
  }
682
684
 
685
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
686
+ top: calc(50% + 60px);
687
+ }
688
+
683
689
  .e-image-editor {
684
690
  background: #faf9f8;
685
691
  }
package/styles/fluent.css CHANGED
@@ -277,7 +277,9 @@
277
277
  }
278
278
  .e-image-editor .e-ie-drop-area .e-ie-drop-info {
279
279
  top: calc(50% + 40px);
280
- left: calc(50% - 100px);
280
+ left: 50%;
281
+ -webkit-transform: translate(-50%, -50%);
282
+ transform: translate(-50%, -50%);
281
283
  position: absolute;
282
284
  font-size: 14px;
283
285
  }
@@ -536,13 +538,13 @@
536
538
  .e-ie-img-save-name {
537
539
  display: inline-block;
538
540
  margin-right: 10px;
539
- width: calc(71% - 13px);
541
+ width: calc(69% - 13px);
540
542
  width: calc(69% - 15px) !important; /* stylelint-disable-line declaration-no-important */
541
543
  }
542
544
 
543
545
  .e-ie-img-save-dlg {
544
546
  display: inline-block;
545
- width: 90px;
547
+ width: 92px;
546
548
  }
547
549
 
548
550
  .e-ie-img-save-dlg .e-btn {
@@ -680,6 +682,10 @@
680
682
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
681
683
  }
682
684
 
685
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
686
+ top: calc(50% + 60px);
687
+ }
688
+
683
689
  .e-image-editor {
684
690
  background: #faf9f8;
685
691
  }
@@ -284,7 +284,9 @@
284
284
  }
285
285
  .e-image-editor .e-ie-drop-area .e-ie-drop-info {
286
286
  top: calc(50% + 40px);
287
- left: calc(50% - 100px);
287
+ left: 50%;
288
+ -webkit-transform: translate(-50%, -50%);
289
+ transform: translate(-50%, -50%);
288
290
  position: absolute;
289
291
  font-size: 14px;
290
292
  }
@@ -554,12 +556,12 @@
554
556
  .e-ie-img-save-name {
555
557
  display: inline-block;
556
558
  margin-right: 10px;
557
- width: calc(71% - 13px);
559
+ width: calc(69% - 13px);
558
560
  }
559
561
 
560
562
  .e-ie-img-save-dlg {
561
563
  display: inline-block;
562
- width: 90px;
564
+ width: 92px;
563
565
  }
564
566
 
565
567
  .e-ie-img-save-dlg .e-btn {
@@ -703,6 +705,10 @@
703
705
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
704
706
  }
705
707
 
708
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
709
+ top: calc(50% + 60px);
710
+ }
711
+
706
712
  .e-image-editor {
707
713
  background: var(--color-sf-content-bg-color-alt1);
708
714
  }
@@ -284,7 +284,9 @@
284
284
  }
285
285
  .e-image-editor .e-ie-drop-area .e-ie-drop-info {
286
286
  top: calc(50% + 40px);
287
- left: calc(50% - 100px);
287
+ left: 50%;
288
+ -webkit-transform: translate(-50%, -50%);
289
+ transform: translate(-50%, -50%);
288
290
  position: absolute;
289
291
  font-size: 14px;
290
292
  }
@@ -554,12 +556,12 @@
554
556
  .e-ie-img-save-name {
555
557
  display: inline-block;
556
558
  margin-right: 10px;
557
- width: calc(71% - 13px);
559
+ width: calc(69% - 13px);
558
560
  }
559
561
 
560
562
  .e-ie-img-save-dlg {
561
563
  display: inline-block;
562
- width: 90px;
564
+ width: 92px;
563
565
  }
564
566
 
565
567
  .e-ie-img-save-dlg .e-btn {
@@ -703,6 +705,10 @@
703
705
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
704
706
  }
705
707
 
708
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
709
+ top: calc(50% + 60px);
710
+ }
711
+
706
712
  .e-image-editor {
707
713
  background: var(--color-sf-content-bg-color-alt1);
708
714
  }
@@ -273,7 +273,9 @@
273
273
  }
274
274
  .e-image-editor .e-ie-drop-area .e-ie-drop-info {
275
275
  top: calc(50% + 40px);
276
- left: calc(50% - 100px);
276
+ left: 50%;
277
+ -webkit-transform: translate(-50%, -50%);
278
+ transform: translate(-50%, -50%);
277
279
  position: absolute;
278
280
  font-size: 14px;
279
281
  }
@@ -530,12 +532,12 @@
530
532
  .e-ie-img-save-name {
531
533
  display: inline-block;
532
534
  margin-right: 10px;
533
- width: calc(71% - 13px);
535
+ width: calc(69% - 13px);
534
536
  }
535
537
 
536
538
  .e-ie-img-save-dlg {
537
539
  display: inline-block;
538
- width: 90px;
540
+ width: 92px;
539
541
  }
540
542
 
541
543
  .e-ie-img-save-dlg .e-btn {
@@ -670,6 +672,10 @@
670
672
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
671
673
  }
672
674
 
675
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
676
+ top: calc(50% + 60px);
677
+ }
678
+
673
679
  .e-image-editor {
674
680
  background: #fff;
675
681
  }
@@ -273,7 +273,9 @@
273
273
  }
274
274
  .e-image-editor .e-ie-drop-area .e-ie-drop-info {
275
275
  top: calc(50% + 40px);
276
- left: calc(50% - 100px);
276
+ left: 50%;
277
+ -webkit-transform: translate(-50%, -50%);
278
+ transform: translate(-50%, -50%);
277
279
  position: absolute;
278
280
  font-size: 14px;
279
281
  }
@@ -530,12 +532,12 @@
530
532
  .e-ie-img-save-name {
531
533
  display: inline-block;
532
534
  margin-right: 10px;
533
- width: calc(71% - 13px);
535
+ width: calc(69% - 13px);
534
536
  }
535
537
 
536
538
  .e-ie-img-save-dlg {
537
539
  display: inline-block;
538
- width: 90px;
540
+ width: 92px;
539
541
  }
540
542
 
541
543
  .e-ie-img-save-dlg .e-btn {
@@ -670,6 +672,10 @@
670
672
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
671
673
  }
672
674
 
675
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
676
+ top: calc(50% + 60px);
677
+ }
678
+
673
679
  .e-image-editor {
674
680
  background: #fff;
675
681
  }
@@ -277,7 +277,9 @@
277
277
  }
278
278
  .e-image-editor .e-ie-drop-area .e-ie-drop-info {
279
279
  top: calc(50% + 40px);
280
- left: calc(50% - 100px);
280
+ left: 50%;
281
+ -webkit-transform: translate(-50%, -50%);
282
+ transform: translate(-50%, -50%);
281
283
  position: absolute;
282
284
  font-size: 14px;
283
285
  }
@@ -534,13 +536,13 @@
534
536
  .e-ie-img-save-name {
535
537
  display: inline-block;
536
538
  margin-right: 10px;
537
- width: calc(71% - 13px);
539
+ width: calc(69% - 13px);
538
540
  margin-right: 8px !important; /* stylelint-disable-line declaration-no-important */
539
541
  }
540
542
 
541
543
  .e-ie-img-save-dlg {
542
544
  display: inline-block;
543
- width: 90px;
545
+ width: 92px;
544
546
  }
545
547
 
546
548
  .e-ie-img-save-dlg .e-btn {
@@ -678,6 +680,10 @@
678
680
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
679
681
  }
680
682
 
683
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
684
+ top: calc(50% + 60px);
685
+ }
686
+
681
687
  .e-image-editor {
682
688
  background: #000;
683
689
  }
@@ -277,7 +277,9 @@
277
277
  }
278
278
  .e-image-editor .e-ie-drop-area .e-ie-drop-info {
279
279
  top: calc(50% + 40px);
280
- left: calc(50% - 100px);
280
+ left: 50%;
281
+ -webkit-transform: translate(-50%, -50%);
282
+ transform: translate(-50%, -50%);
281
283
  position: absolute;
282
284
  font-size: 14px;
283
285
  }
@@ -534,13 +536,13 @@
534
536
  .e-ie-img-save-name {
535
537
  display: inline-block;
536
538
  margin-right: 10px;
537
- width: calc(71% - 13px);
539
+ width: calc(69% - 13px);
538
540
  margin-right: 8px !important; /* stylelint-disable-line declaration-no-important */
539
541
  }
540
542
 
541
543
  .e-ie-img-save-dlg {
542
544
  display: inline-block;
543
- width: 90px;
545
+ width: 92px;
544
546
  }
545
547
 
546
548
  .e-ie-img-save-dlg .e-btn {
@@ -678,6 +680,10 @@
678
680
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
679
681
  }
680
682
 
683
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
684
+ top: calc(50% + 60px);
685
+ }
686
+
681
687
  .e-image-editor {
682
688
  background: #000;
683
689
  }
@@ -120,7 +120,8 @@
120
120
 
121
121
  & .e-ie-drop-info {
122
122
  top: calc(50% + 40px);
123
- left: calc(50% - 100px);
123
+ left: 50%;
124
+ transform: translate(-50%, -50%);
124
125
  position: absolute;
125
126
  font-size: 14px;
126
127
  }
@@ -443,7 +444,7 @@
443
444
  @if $skin-name == 'Material3' {
444
445
  top: calc(50% - 11px) !important; /* stylelint-disable-line declaration-no-important */
445
446
  }
446
- @else if $skin-name == 'tailwind' {
447
+ @else if $skin-name == 'tailwind' or $skin-name == 'tailwind3' {
447
448
  top: calc(50% - 12px) !important; /* stylelint-disable-line declaration-no-important */
448
449
  }
449
450
  @else {
@@ -542,7 +543,7 @@
542
543
  .e-ie-img-save-name {
543
544
  display: inline-block;
544
545
  margin-right: 10px;
545
- width: calc(71% - 13px);
546
+ width: calc(69% - 13px);
546
547
 
547
548
  @if $skin-name == 'FluentUI' {
548
549
  width: calc(69% - 15px) !important; /* stylelint-disable-line declaration-no-important */
@@ -554,16 +555,22 @@
554
555
 
555
556
  .e-ie-img-save-dlg {
556
557
  display: inline-block;
557
- width: 90px;
558
+ width: 92px;
558
559
  }
559
560
 
560
561
  .e-ie-img-save-dlg .e-btn {
561
562
  width: 100%;
563
+ @if $skin-name == 'tailwind3' {
564
+ font-weight: $font-weight-normal;
565
+ }
562
566
  }
563
567
 
564
568
  .e-ie-img-label-name {
565
569
  margin-bottom: 5px;
566
570
  display: block;
571
+ @if $skin-name == 'tailwind3' {
572
+ font-weight: $font-weight-medium;
573
+ }
567
574
  }
568
575
 
569
576
  .e-ie-img-quality-name {
@@ -585,6 +592,9 @@
585
592
  margin-bottom: 3%;
586
593
  margin-top: 5%;
587
594
  display: inline-flex;
595
+ @if $skin-name == 'tailwind3' {
596
+ font-weight: $font-weight-medium;
597
+ }
588
598
  }
589
599
 
590
600
  .e-ie-img-quality-size {
@@ -799,4 +809,8 @@
799
809
  .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-ie-finetune-value-span {
800
810
  margin-left: 10px !important; /* stylelint-disable-line declaration-no-important */
801
811
  }
812
+
813
+ .e-device.e-image-editor .e-ie-drop-area .e-ie-drop-info {
814
+ top: calc(50% + 60px);
815
+ }
802
816
  }
@@ -0,0 +1,29 @@
1
+ $image-editor-background: $content-bg-color !default;
2
+ $image-editor-border: 1px solid $border !default;
3
+ $image-editor-toolbar-icon-color: $icon-color !default;
4
+ $img-editor-cp-preview-border-bottom-color: $black !default;
5
+ $image-editor-icon-sel-bg-color: $secondary-bg-color-focus !default;
6
+ $image-editor-ddbtn-margin-top: -1px !default;
7
+ $image-editor-tbar-height: 48px !default;
8
+ $image-editor-bigger-tbar-height: 56px !default;
9
+ $image-editor-tbar-btn-fontsize: $text-base !default;
10
+ $image-editor-bigger-tbar-btn-fontsize: $text-xl !default;
11
+ $image-editor-contextual-toolbar: $content-bg-color-alt1 !default;
12
+ $image-editor-drop-border: 2px dashed $icon-color !default;
13
+ $image-editor-dropdown-btn-preview-top: -4px !default;
14
+ $image-editor-dropdown-btn-preview-left: -4px !default;
15
+ $image-editor-bigger-dropdown-btn-preview-top: -4px !default;
16
+ $image-editor-bigger-dropdown-btn-preview-left: -4px !default;
17
+ $image-editor-slider-handler: calc(50% - 6px) !default;
18
+ $image-editor-bigger-slider-handler: calc(50% - 8px) !default;
19
+ $image-editor-device-slider-handler: calc(50% - 10px) !default;
20
+ $image-editor-finetune-value-span: 29% !default;
21
+ $image-editor-finetune-span: 29% !default;
22
+ $image-editor-button-label: 13px !default;
23
+ $image-editor-save-dlg-big-btn-pad: 4px 15px !default;
24
+ $image-editor-save-dlg-grp-btn-padding: 4px 12px !default;
25
+ $image-editor-save-dlg-dev-grp-btn-padding: 6px 13px !default;
26
+ $image-editor-icon-button: 4px !default;
27
+ $image-editor-filter-canvas-focus: $icon-color !default;
28
+ $image-editor-button-label-mobile: 9px !default;
29
+ $image-editor-button-width-mobile: calc(65% - 30px) !default;