@syncfusion/ej2-image-editor 23.2.7 → 24.1.41

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 (99) hide show
  1. package/CHANGELOG.md +3 -59
  2. package/dist/ej2-image-editor.umd.min.js +2 -2
  3. package/dist/ej2-image-editor.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-image-editor.es2015.js +7146 -4325
  5. package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
  6. package/dist/es6/ej2-image-editor.es5.js +7215 -4381
  7. package/dist/es6/ej2-image-editor.es5.js.map +1 -1
  8. package/dist/global/ej2-image-editor.min.js +2 -2
  9. package/dist/global/ej2-image-editor.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +12 -12
  12. package/src/image-editor/action/crop.d.ts +6 -0
  13. package/src/image-editor/action/crop.js +347 -188
  14. package/src/image-editor/action/draw.d.ts +35 -2
  15. package/src/image-editor/action/draw.js +1682 -881
  16. package/src/image-editor/action/export.js +90 -29
  17. package/src/image-editor/action/filter.d.ts +3 -1
  18. package/src/image-editor/action/filter.js +74 -94
  19. package/src/image-editor/action/freehand-draw.d.ts +4 -0
  20. package/src/image-editor/action/freehand-draw.js +248 -147
  21. package/src/image-editor/action/selection.d.ts +6 -1
  22. package/src/image-editor/action/selection.js +1133 -1091
  23. package/src/image-editor/action/shape.d.ts +7 -0
  24. package/src/image-editor/action/shape.js +921 -550
  25. package/src/image-editor/action/transform.d.ts +2 -0
  26. package/src/image-editor/action/transform.js +514 -346
  27. package/src/image-editor/action/undo-redo.d.ts +2 -0
  28. package/src/image-editor/action/undo-redo.js +137 -36
  29. package/src/image-editor/base/enum.d.ts +2 -1
  30. package/src/image-editor/base/enum.js +1 -0
  31. package/src/image-editor/base/image-editor-model.d.ts +37 -2
  32. package/src/image-editor/base/image-editor.d.ts +124 -3
  33. package/src/image-editor/base/image-editor.js +672 -171
  34. package/src/image-editor/base/interface.d.ts +69 -15
  35. package/src/image-editor/renderer/toolbar.d.ts +10 -0
  36. package/src/image-editor/renderer/toolbar.js +1371 -822
  37. package/styles/bootstrap-dark.css +113 -8
  38. package/styles/bootstrap.css +112 -7
  39. package/styles/bootstrap4.css +113 -8
  40. package/styles/bootstrap5-dark.css +113 -8
  41. package/styles/bootstrap5.css +113 -8
  42. package/styles/fabric-dark.css +114 -9
  43. package/styles/fabric.css +113 -8
  44. package/styles/fluent-dark.css +118 -9
  45. package/styles/fluent.css +118 -9
  46. package/styles/highcontrast-light.css +112 -7
  47. package/styles/highcontrast.css +116 -7
  48. package/styles/image-editor/_bootstrap-dark-definition.scss +3 -0
  49. package/styles/image-editor/_bootstrap-definition.scss +3 -0
  50. package/styles/image-editor/_bootstrap4-definition.scss +3 -0
  51. package/styles/image-editor/_bootstrap5-definition.scss +3 -0
  52. package/styles/image-editor/_fabric-dark-definition.scss +3 -0
  53. package/styles/image-editor/_fabric-definition.scss +3 -0
  54. package/styles/image-editor/_fluent-definition.scss +3 -0
  55. package/styles/image-editor/_fusionnew-definition.scss +3 -0
  56. package/styles/image-editor/_highcontrast-definition.scss +3 -0
  57. package/styles/image-editor/_highcontrast-light-definition.scss +3 -0
  58. package/styles/image-editor/_layout.scss +138 -4
  59. package/styles/image-editor/_material-dark-definition.scss +3 -0
  60. package/styles/image-editor/_material-definition.scss +3 -0
  61. package/styles/image-editor/_material3-definition.scss +3 -0
  62. package/styles/image-editor/_tailwind-definition.scss +3 -0
  63. package/styles/image-editor/_theme.scss +2 -4
  64. package/styles/image-editor/bootstrap-dark.css +113 -8
  65. package/styles/image-editor/bootstrap.css +112 -7
  66. package/styles/image-editor/bootstrap4.css +113 -8
  67. package/styles/image-editor/bootstrap5-dark.css +113 -8
  68. package/styles/image-editor/bootstrap5.css +113 -8
  69. package/styles/image-editor/fabric-dark.css +114 -9
  70. package/styles/image-editor/fabric.css +113 -8
  71. package/styles/image-editor/fluent-dark.css +118 -9
  72. package/styles/image-editor/fluent.css +118 -9
  73. package/styles/image-editor/highcontrast-light.css +112 -7
  74. package/styles/image-editor/highcontrast.css +116 -7
  75. package/styles/image-editor/icons/_bootstrap-dark.scss +60 -0
  76. package/styles/image-editor/icons/_bootstrap.scss +60 -0
  77. package/styles/image-editor/icons/_bootstrap4.scss +60 -0
  78. package/styles/image-editor/icons/_bootstrap5.scss +60 -0
  79. package/styles/image-editor/icons/_fabric-dark.scss +60 -0
  80. package/styles/image-editor/icons/_fabric.scss +60 -0
  81. package/styles/image-editor/icons/_fluent.scss +66 -0
  82. package/styles/image-editor/icons/_highcontrast-light.scss +60 -0
  83. package/styles/image-editor/icons/_highcontrast.scss +60 -0
  84. package/styles/image-editor/icons/_material-dark.scss +60 -0
  85. package/styles/image-editor/icons/_material.scss +60 -0
  86. package/styles/image-editor/icons/_material3.scss +60 -0
  87. package/styles/image-editor/icons/_tailwind.scss +60 -0
  88. package/styles/image-editor/material-dark.css +113 -8
  89. package/styles/image-editor/material.css +113 -8
  90. package/styles/image-editor/material3-dark.css +126 -9
  91. package/styles/image-editor/material3.css +126 -9
  92. package/styles/image-editor/tailwind-dark.css +114 -9
  93. package/styles/image-editor/tailwind.css +114 -9
  94. package/styles/material-dark.css +113 -8
  95. package/styles/material.css +113 -8
  96. package/styles/material3-dark.css +126 -9
  97. package/styles/material3.css +126 -9
  98. package/styles/tailwind-dark.css +114 -9
  99. package/styles/tailwind.css +114 -9
package/styles/fabric.css CHANGED
@@ -91,6 +91,21 @@
91
91
  .e-image-editor .e-custom-e::before {
92
92
  content: "\e960";
93
93
  }
94
+ .e-image-editor .e-custom-f::before {
95
+ content: "\e9a3";
96
+ }
97
+ .e-image-editor .e-custom-g::before {
98
+ content: "\e9a4";
99
+ }
100
+ .e-image-editor .e-custom-h::before {
101
+ content: "\e9a5";
102
+ }
103
+ .e-image-editor .e-custom-i::before {
104
+ content: "\e9a6";
105
+ }
106
+ .e-image-editor .e-custom-j::before {
107
+ content: "\e9a7";
108
+ }
94
109
  .e-image-editor .e-horizontal-flip::before {
95
110
  content: "\e951";
96
111
  }
@@ -152,6 +167,21 @@
152
167
  .e-dropdown-popup.e-image-popup .e-custom-e::before {
153
168
  content: "\e960";
154
169
  }
170
+ .e-dropdown-popup.e-image-popup .e-custom-f::before {
171
+ content: "\e9a3";
172
+ }
173
+ .e-dropdown-popup.e-image-popup .e-custom-g::before {
174
+ content: "\e9a4";
175
+ }
176
+ .e-dropdown-popup.e-image-popup .e-custom-h::before {
177
+ content: "\e9a5";
178
+ }
179
+ .e-dropdown-popup.e-image-popup .e-custom-i::before {
180
+ content: "\e9a6";
181
+ }
182
+ .e-dropdown-popup.e-image-popup .e-custom-j::before {
183
+ content: "\e9a7";
184
+ }
155
185
  .e-dropdown-popup.e-image-popup .e-rectangle::before {
156
186
  content: "\e670";
157
187
  }
@@ -198,10 +228,42 @@
198
228
  margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
199
229
  }
200
230
  .e-device.e-image-editor .e-slider-container {
201
- margin-left: calc(50% - 50px) !important; /* stylelint-disable-line declaration-no-important */
231
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
202
232
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
203
233
  }
234
+ .e-device.e-image-editor .e-straighten-slider {
235
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
236
+ }
237
+ .e-device.e-image-editor .e-ie-straighten-value-span {
238
+ margin-left: 15px !important; /* stylelint-disable-line declaration-no-important */
239
+ }
240
+ .e-device.e-image-editor .e-hscroll .e-scroll-nav.e-scroll-right-nav {
241
+ display: none !important; /* stylelint-disable-line declaration-no-important */
242
+ }
243
+ .e-device.e-image-editor .e-hscroll.e-scroll-device {
244
+ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */
245
+ }
246
+ .e-device.e-image-editor .e-scroll-right-overlay {
247
+ display: none !important; /* stylelint-disable-line declaration-no-important */
248
+ }
249
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper {
250
+ border-top: 1px solid #eaeaea;
251
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
252
+ }
253
+ .e-device.e-image-editor .e-toolbar {
254
+ border-bottom: 1px solid #eaeaea;
255
+ }
256
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
257
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
258
+ }
259
+ .e-device.e-image-editor .e-bottom-toolbar .e-toolbar, .e-device.e-image-editor .e-bottom-toolbar-area .e-toolbar {
260
+ border-bottom: none;
261
+ }
204
262
 
263
+ .e-bigger .e-image-editor .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle,
264
+ .e-image-editor.e-bigger .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle {
265
+ top: calc(50% - 9px) !important; /* stylelint-disable-line declaration-no-important */
266
+ }
205
267
  .e-bigger .e-image-editor .e-toolbar,
206
268
  .e-image-editor.e-bigger .e-toolbar {
207
269
  height: 50px !important; /* stylelint-disable-line declaration-no-important */
@@ -271,6 +333,11 @@
271
333
  border: 1px solid #eaeaea;
272
334
  position: relative;
273
335
  display: block;
336
+ /* stylelint-disable property-no-vendor-prefix */
337
+ }
338
+ .e-image-editor .no-spin ::-webkit-inner-spin-button, .e-image-editor .no-spin ::-webkit-outer-spin-button {
339
+ -webkit-appearance: none;
340
+ margin: 0;
274
341
  }
275
342
  .e-image-editor .e-ie-drop-area {
276
343
  height: calc(100% - 18px);
@@ -307,6 +374,7 @@
307
374
  }
308
375
  .e-image-editor .e-toolbar {
309
376
  border: none;
377
+ border-bottom: 1px solid #eaeaea;
310
378
  height: 40px !important; /* stylelint-disable-line declaration-no-important */
311
379
  min-height: 40px !important; /* stylelint-disable-line declaration-no-important */
312
380
  }
@@ -363,20 +431,19 @@
363
431
  .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
364
432
  line-height: 1;
365
433
  }
366
- .e-image-editor .e-toolbar-area + .e-canvas-wrapper {
367
- border-top: 1px solid #eaeaea;
368
- }
369
434
  .e-image-editor .e-toolbar-area + .e-canvas-wrapper .e-textarea {
370
435
  line-height: initial !important; /* stylelint-disable-line declaration-no-important */
371
436
  }
372
- .e-image-editor .e-bottom-toolbar {
437
+ .e-image-editor .e-bottom-toolbar, .e-image-editor .e-bottom-toolbar-area {
373
438
  border-top: 1px solid #eaeaea;
374
439
  }
375
440
  .e-image-editor .e-contextual-toolbar-wrapper {
441
+ border-bottom: 1px solid #eaeaea;
376
442
  width: 100%;
377
443
  z-index: 1;
378
444
  }
379
445
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
446
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
380
447
  height: 130px !important; /* stylelint-disable-line declaration-no-important */
381
448
  }
382
449
  .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
@@ -407,6 +474,10 @@
407
474
  margin: 4px;
408
475
  text-align: center;
409
476
  }
477
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-dropdown-btn {
478
+ margin: 0 auto;
479
+ width: max-content;
480
+ }
410
481
  .e-image-editor .e-contextual-toolbar-wrapper.e-hide {
411
482
  display: none;
412
483
  }
@@ -424,14 +495,48 @@
424
495
  margin-left: calc(50% - 137px);
425
496
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
426
497
  }
498
+ .e-ie-straighten-value-span,
499
+ .e-ie-straighten-span {
500
+ font-size: 14px;
501
+ padding-left: 10px !important; /* stylelint-disable-line declaration-no-important */
502
+ padding-right: 10px !important; /* stylelint-disable-line declaration-no-important */
503
+ }
504
+
505
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal {
506
+ height: auto;
507
+ }
508
+
509
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider {
510
+ top: calc(50% - 20px) !important; /* stylelint-disable-line declaration-no-important */
511
+ }
512
+
513
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider-track,
514
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-range {
515
+ top: calc(50% - 2px) !important; /* stylelint-disable-line declaration-no-important */
516
+ }
517
+
518
+ .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
519
+ top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
520
+ }
521
+
522
+ .e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
523
+ top: calc(50% - 9px) !important; /* stylelint-disable-line declaration-no-important */
524
+ }
525
+
526
+ .e-dropdown-popup.e-ie-crop-ddb-popup ul {
527
+ height: 250px;
528
+ overflow-y: scroll;
529
+ }
530
+
531
+ .e-dropdown-popup.e-ie-ddb-popup {
532
+ background: none !important; /* stylelint-disable-line declaration-no-important */
533
+ }
427
534
 
428
535
  .e-image-editor {
429
536
  background: #fff;
430
537
  }
431
538
  .e-image-editor .e-contextual-toolbar-wrapper {
432
539
  background: #fff;
433
- border-top: 1px solid #eaeaea;
434
- border-bottom: 1px solid #eaeaea;
435
540
  }
436
541
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
437
542
  border-color: #c8c8c8;
@@ -453,7 +558,7 @@
453
558
  display: none !important; /* stylelint-disable-line declaration-no-important */
454
559
  }
455
560
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:hover {
456
- background: #eaeaea;
561
+ background: #f4f4f4;
457
562
  box-shadow: none;
458
563
  color: #000;
459
564
  }
@@ -97,6 +97,21 @@
97
97
  .e-image-editor .e-custom-e::before {
98
98
  content: "\e8af";
99
99
  }
100
+ .e-image-editor .e-custom-f::before {
101
+ content: "\e8dd";
102
+ }
103
+ .e-image-editor .e-custom-g::before {
104
+ content: "\e8de";
105
+ }
106
+ .e-image-editor .e-custom-h::before {
107
+ content: "\e8df";
108
+ }
109
+ .e-image-editor .e-custom-i::before {
110
+ content: "\e8e0";
111
+ }
112
+ .e-image-editor .e-custom-j::before {
113
+ content: "\e8e1";
114
+ }
100
115
  .e-image-editor .e-horizontal-flip::before {
101
116
  content: "\e8a3";
102
117
  }
@@ -158,6 +173,24 @@
158
173
  .e-dropdown-popup.e-image-popup .e-custom-e::before {
159
174
  content: "\e8af";
160
175
  }
176
+ .e-dropdown-popup.e-image-popup .e-custom-e::before {
177
+ content: "\e8af";
178
+ }
179
+ .e-dropdown-popup.e-image-popup .e-custom-f::before {
180
+ content: "\e8dd";
181
+ }
182
+ .e-dropdown-popup.e-image-popup .e-custom-g::before {
183
+ content: "\e8de";
184
+ }
185
+ .e-dropdown-popup.e-image-popup .e-custom-h::before {
186
+ content: "\e8df";
187
+ }
188
+ .e-dropdown-popup.e-image-popup .e-custom-i::before {
189
+ content: "\e8e0";
190
+ }
191
+ .e-dropdown-popup.e-image-popup .e-custom-j::before {
192
+ content: "\e8e1";
193
+ }
161
194
  .e-dropdown-popup.e-image-popup .e-rectangle::before {
162
195
  content: "\e723";
163
196
  }
@@ -207,10 +240,42 @@
207
240
  margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
208
241
  }
209
242
  .e-device.e-image-editor .e-slider-container {
210
- margin-left: calc(50% - 50px) !important; /* stylelint-disable-line declaration-no-important */
243
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
211
244
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
212
245
  }
246
+ .e-device.e-image-editor .e-straighten-slider {
247
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
248
+ }
249
+ .e-device.e-image-editor .e-ie-straighten-value-span {
250
+ margin-left: 15px !important; /* stylelint-disable-line declaration-no-important */
251
+ }
252
+ .e-device.e-image-editor .e-hscroll .e-scroll-nav.e-scroll-right-nav {
253
+ display: none !important; /* stylelint-disable-line declaration-no-important */
254
+ }
255
+ .e-device.e-image-editor .e-hscroll.e-scroll-device {
256
+ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */
257
+ }
258
+ .e-device.e-image-editor .e-scroll-right-overlay {
259
+ display: none !important; /* stylelint-disable-line declaration-no-important */
260
+ }
261
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper {
262
+ border-top: 1px solid #292827;
263
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
264
+ }
265
+ .e-device.e-image-editor .e-toolbar {
266
+ border-bottom: 1px solid #292827;
267
+ }
268
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
269
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
270
+ }
271
+ .e-device.e-image-editor .e-bottom-toolbar .e-toolbar, .e-device.e-image-editor .e-bottom-toolbar-area .e-toolbar {
272
+ border-bottom: none;
273
+ }
213
274
 
275
+ .e-bigger .e-image-editor .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle,
276
+ .e-image-editor.e-bigger .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle {
277
+ top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
278
+ }
214
279
  .e-bigger .e-image-editor .e-toolbar,
215
280
  .e-image-editor.e-bigger .e-toolbar {
216
281
  height: 48px !important; /* stylelint-disable-line declaration-no-important */
@@ -279,6 +344,11 @@
279
344
  border: 1px solid #292827;
280
345
  position: relative;
281
346
  display: block;
347
+ /* stylelint-disable property-no-vendor-prefix */
348
+ }
349
+ .e-image-editor .no-spin ::-webkit-inner-spin-button, .e-image-editor .no-spin ::-webkit-outer-spin-button {
350
+ -webkit-appearance: none;
351
+ margin: 0;
282
352
  }
283
353
  .e-image-editor .e-ie-drop-area {
284
354
  height: calc(100% - 18px);
@@ -315,8 +385,10 @@
315
385
  }
316
386
  .e-image-editor .e-toolbar {
317
387
  border: none;
388
+ border-bottom: 1px solid #292827;
318
389
  height: 40px !important; /* stylelint-disable-line declaration-no-important */
319
390
  min-height: 40px !important; /* stylelint-disable-line declaration-no-important */
391
+ box-shadow: none !important; /* stylelint-disable-line declaration-no-important */
320
392
  }
321
393
  .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height {
322
394
  margin-left: 20px;
@@ -370,20 +442,19 @@
370
442
  .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
371
443
  line-height: 1;
372
444
  }
373
- .e-image-editor .e-toolbar-area + .e-canvas-wrapper {
374
- border-top: 1px solid #292827;
375
- }
376
445
  .e-image-editor .e-toolbar-area + .e-canvas-wrapper .e-textarea {
377
446
  line-height: initial !important; /* stylelint-disable-line declaration-no-important */
378
447
  }
379
- .e-image-editor .e-bottom-toolbar {
448
+ .e-image-editor .e-bottom-toolbar, .e-image-editor .e-bottom-toolbar-area {
380
449
  border-top: 1px solid #292827;
381
450
  }
382
451
  .e-image-editor .e-contextual-toolbar-wrapper {
452
+ border-bottom: 1px solid #292827;
383
453
  width: 100%;
384
454
  z-index: 1;
385
455
  }
386
456
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
457
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
387
458
  height: 130px !important; /* stylelint-disable-line declaration-no-important */
388
459
  }
389
460
  .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
@@ -414,6 +485,10 @@
414
485
  margin: 4px;
415
486
  text-align: center;
416
487
  }
488
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-dropdown-btn {
489
+ margin: 0 auto;
490
+ width: max-content;
491
+ }
417
492
  .e-image-editor .e-contextual-toolbar-wrapper.e-hide {
418
493
  display: none;
419
494
  }
@@ -431,14 +506,48 @@
431
506
  margin-left: calc(50% - 137px);
432
507
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
433
508
  }
509
+ .e-ie-straighten-value-span,
510
+ .e-ie-straighten-span {
511
+ font-size: 14px;
512
+ padding-left: 10px !important; /* stylelint-disable-line declaration-no-important */
513
+ padding-right: 10px !important; /* stylelint-disable-line declaration-no-important */
514
+ }
515
+
516
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal {
517
+ height: auto;
518
+ }
519
+
520
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider {
521
+ top: calc(50% - 20px) !important; /* stylelint-disable-line declaration-no-important */
522
+ }
523
+
524
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider-track,
525
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-range {
526
+ top: calc(50% - 2px) !important; /* stylelint-disable-line declaration-no-important */
527
+ }
528
+
529
+ .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
530
+ top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
531
+ }
532
+
533
+ .e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
534
+ top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
535
+ }
536
+
537
+ .e-dropdown-popup.e-ie-crop-ddb-popup ul {
538
+ height: 250px;
539
+ overflow-y: scroll;
540
+ }
541
+
542
+ .e-dropdown-popup.e-ie-ddb-popup {
543
+ background: none !important; /* stylelint-disable-line declaration-no-important */
544
+ }
434
545
 
435
546
  .e-image-editor {
436
547
  background: #201f1e;
437
548
  }
438
549
  .e-image-editor .e-contextual-toolbar-wrapper {
439
550
  background: #252423;
440
- border-top: 1px solid #292827;
441
- border-bottom: 1px solid #292827;
442
551
  }
443
552
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
444
553
  border-color: #292827;
@@ -460,9 +569,9 @@
460
569
  display: none !important; /* stylelint-disable-line declaration-no-important */
461
570
  }
462
571
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:hover {
463
- background: #252423;
572
+ background: #292827;
464
573
  box-shadow: none;
465
- color: #fff;
574
+ color: #f3f2f1;
466
575
  }
467
576
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
468
577
  background: #252423;
package/styles/fluent.css CHANGED
@@ -97,6 +97,21 @@
97
97
  .e-image-editor .e-custom-e::before {
98
98
  content: "\e8af";
99
99
  }
100
+ .e-image-editor .e-custom-f::before {
101
+ content: "\e8dd";
102
+ }
103
+ .e-image-editor .e-custom-g::before {
104
+ content: "\e8de";
105
+ }
106
+ .e-image-editor .e-custom-h::before {
107
+ content: "\e8df";
108
+ }
109
+ .e-image-editor .e-custom-i::before {
110
+ content: "\e8e0";
111
+ }
112
+ .e-image-editor .e-custom-j::before {
113
+ content: "\e8e1";
114
+ }
100
115
  .e-image-editor .e-horizontal-flip::before {
101
116
  content: "\e8a3";
102
117
  }
@@ -158,6 +173,24 @@
158
173
  .e-dropdown-popup.e-image-popup .e-custom-e::before {
159
174
  content: "\e8af";
160
175
  }
176
+ .e-dropdown-popup.e-image-popup .e-custom-e::before {
177
+ content: "\e8af";
178
+ }
179
+ .e-dropdown-popup.e-image-popup .e-custom-f::before {
180
+ content: "\e8dd";
181
+ }
182
+ .e-dropdown-popup.e-image-popup .e-custom-g::before {
183
+ content: "\e8de";
184
+ }
185
+ .e-dropdown-popup.e-image-popup .e-custom-h::before {
186
+ content: "\e8df";
187
+ }
188
+ .e-dropdown-popup.e-image-popup .e-custom-i::before {
189
+ content: "\e8e0";
190
+ }
191
+ .e-dropdown-popup.e-image-popup .e-custom-j::before {
192
+ content: "\e8e1";
193
+ }
161
194
  .e-dropdown-popup.e-image-popup .e-rectangle::before {
162
195
  content: "\e723";
163
196
  }
@@ -207,10 +240,42 @@
207
240
  margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
208
241
  }
209
242
  .e-device.e-image-editor .e-slider-container {
210
- margin-left: calc(50% - 50px) !important; /* stylelint-disable-line declaration-no-important */
243
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
211
244
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
212
245
  }
246
+ .e-device.e-image-editor .e-straighten-slider {
247
+ margin-left: calc(50% - 70px) !important; /* stylelint-disable-line declaration-no-important */
248
+ }
249
+ .e-device.e-image-editor .e-ie-straighten-value-span {
250
+ margin-left: 15px !important; /* stylelint-disable-line declaration-no-important */
251
+ }
252
+ .e-device.e-image-editor .e-hscroll .e-scroll-nav.e-scroll-right-nav {
253
+ display: none !important; /* stylelint-disable-line declaration-no-important */
254
+ }
255
+ .e-device.e-image-editor .e-hscroll.e-scroll-device {
256
+ padding-right: 0 !important; /* stylelint-disable-line declaration-no-important */
257
+ }
258
+ .e-device.e-image-editor .e-scroll-right-overlay {
259
+ display: none !important; /* stylelint-disable-line declaration-no-important */
260
+ }
261
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper {
262
+ border-top: 1px solid #edebe9;
263
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
264
+ }
265
+ .e-device.e-image-editor .e-toolbar {
266
+ border-bottom: 1px solid #edebe9;
267
+ }
268
+ .e-device.e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
269
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
270
+ }
271
+ .e-device.e-image-editor .e-bottom-toolbar .e-toolbar, .e-device.e-image-editor .e-bottom-toolbar-area .e-toolbar {
272
+ border-bottom: none;
273
+ }
213
274
 
275
+ .e-bigger .e-image-editor .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle,
276
+ .e-image-editor.e-bigger .e-contextual-toolbar-wrapper .e-slider-container .e-slider .e-handle {
277
+ top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
278
+ }
214
279
  .e-bigger .e-image-editor .e-toolbar,
215
280
  .e-image-editor.e-bigger .e-toolbar {
216
281
  height: 48px !important; /* stylelint-disable-line declaration-no-important */
@@ -279,6 +344,11 @@
279
344
  border: 1px solid #edebe9;
280
345
  position: relative;
281
346
  display: block;
347
+ /* stylelint-disable property-no-vendor-prefix */
348
+ }
349
+ .e-image-editor .no-spin ::-webkit-inner-spin-button, .e-image-editor .no-spin ::-webkit-outer-spin-button {
350
+ -webkit-appearance: none;
351
+ margin: 0;
282
352
  }
283
353
  .e-image-editor .e-ie-drop-area {
284
354
  height: calc(100% - 18px);
@@ -315,8 +385,10 @@
315
385
  }
316
386
  .e-image-editor .e-toolbar {
317
387
  border: none;
388
+ border-bottom: 1px solid #edebe9;
318
389
  height: 40px !important; /* stylelint-disable-line declaration-no-important */
319
390
  min-height: 40px !important; /* stylelint-disable-line declaration-no-important */
391
+ box-shadow: none !important; /* stylelint-disable-line declaration-no-important */
320
392
  }
321
393
  .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item.e-ie-resize-height {
322
394
  margin-left: 20px;
@@ -370,20 +442,19 @@
370
442
  .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
371
443
  line-height: 1;
372
444
  }
373
- .e-image-editor .e-toolbar-area + .e-canvas-wrapper {
374
- border-top: 1px solid #edebe9;
375
- }
376
445
  .e-image-editor .e-toolbar-area + .e-canvas-wrapper .e-textarea {
377
446
  line-height: initial !important; /* stylelint-disable-line declaration-no-important */
378
447
  }
379
- .e-image-editor .e-bottom-toolbar {
448
+ .e-image-editor .e-bottom-toolbar, .e-image-editor .e-bottom-toolbar-area {
380
449
  border-top: 1px solid #edebe9;
381
450
  }
382
451
  .e-image-editor .e-contextual-toolbar-wrapper {
452
+ border-bottom: 1px solid #edebe9;
383
453
  width: 100%;
384
454
  z-index: 1;
385
455
  }
386
456
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar {
457
+ border-bottom: none !important; /* stylelint-disable-line declaration-no-important */
387
458
  height: 130px !important; /* stylelint-disable-line declaration-no-important */
388
459
  }
389
460
  .e-image-editor .e-contextual-toolbar-wrapper .e-frame-wrapper .e-toolbar {
@@ -414,6 +485,10 @@
414
485
  margin: 4px;
415
486
  text-align: center;
416
487
  }
488
+ .e-image-editor .e-contextual-toolbar-wrapper.e-frame-wrapper .e-dropdown-btn {
489
+ margin: 0 auto;
490
+ width: max-content;
491
+ }
417
492
  .e-image-editor .e-contextual-toolbar-wrapper.e-hide {
418
493
  display: none;
419
494
  }
@@ -431,14 +506,48 @@
431
506
  margin-left: calc(50% - 137px);
432
507
  height: 54px !important; /* stylelint-disable-line declaration-no-important */
433
508
  }
509
+ .e-ie-straighten-value-span,
510
+ .e-ie-straighten-span {
511
+ font-size: 14px;
512
+ padding-left: 10px !important; /* stylelint-disable-line declaration-no-important */
513
+ padding-right: 10px !important; /* stylelint-disable-line declaration-no-important */
514
+ }
515
+
516
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal {
517
+ height: auto;
518
+ }
519
+
520
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider {
521
+ top: calc(50% - 20px) !important; /* stylelint-disable-line declaration-no-important */
522
+ }
523
+
524
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-slider-track,
525
+ .e-straighten .e-control-wrapper.e-slider-container.e-horizontal .e-range {
526
+ top: calc(50% - 2px) !important; /* stylelint-disable-line declaration-no-important */
527
+ }
528
+
529
+ .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
530
+ top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
531
+ }
532
+
533
+ .e-bigger .e-straighten .e-control-wrapper.e-slider-container .e-slider .e-handle {
534
+ top: calc(50% - 8px) !important; /* stylelint-disable-line declaration-no-important */
535
+ }
536
+
537
+ .e-dropdown-popup.e-ie-crop-ddb-popup ul {
538
+ height: 250px;
539
+ overflow-y: scroll;
540
+ }
541
+
542
+ .e-dropdown-popup.e-ie-ddb-popup {
543
+ background: none !important; /* stylelint-disable-line declaration-no-important */
544
+ }
434
545
 
435
546
  .e-image-editor {
436
547
  background: #faf9f8;
437
548
  }
438
549
  .e-image-editor .e-contextual-toolbar-wrapper {
439
550
  background: #f3f2f1;
440
- border-top: 1px solid #edebe9;
441
- border-bottom: 1px solid #edebe9;
442
551
  }
443
552
  .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filterwrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item:hover .filter-wrapper, .e-image-editor .e-contextual-toolbar-wrapper .e-toolbar-item.e-selected .filter-wrapper {
444
553
  border-color: #edebe9;
@@ -460,9 +569,9 @@
460
569
  display: none !important; /* stylelint-disable-line declaration-no-important */
461
570
  }
462
571
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:hover {
463
- background: #f3f2f1;
572
+ background: #edebe9;
464
573
  box-shadow: none;
465
- color: #323130;
574
+ color: #201f1e;
466
575
  }
467
576
  .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
468
577
  background: #f3f2f1;