@syncfusion/ej2-image-editor 20.3.47

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 (131) hide show
  1. package/.eslintrc.json +244 -0
  2. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +63 -0
  3. package/.github/PULL_REQUEST_TEMPLATE/feature.md +39 -0
  4. package/CHANGELOG.md +18 -0
  5. package/README.md +6 -0
  6. package/dist/ej2-image-editor.umd.min.js +11 -0
  7. package/dist/ej2-image-editor.umd.min.js.map +1 -0
  8. package/dist/es6/ej2-image-editor.es2015.js +7511 -0
  9. package/dist/es6/ej2-image-editor.es2015.js.map +1 -0
  10. package/dist/es6/ej2-image-editor.es5.js +7550 -0
  11. package/dist/es6/ej2-image-editor.es5.js.map +1 -0
  12. package/dist/global/ej2-image-editor.min.js +11 -0
  13. package/dist/global/ej2-image-editor.min.js.map +1 -0
  14. package/dist/global/index.d.ts +14 -0
  15. package/helpers/e2e/imageEditorHelper.d.ts +37 -0
  16. package/helpers/e2e/imageEditorHelper.js +53 -0
  17. package/helpers/e2e/index.d.ts +1 -0
  18. package/helpers/e2e/index.js +8 -0
  19. package/helpers/e2e/querybuilderHelper.d.ts +37 -0
  20. package/image-editor.d.ts +4 -0
  21. package/image-editor.js +4 -0
  22. package/index.d.ts +4 -0
  23. package/index.js +4 -0
  24. package/license +10 -0
  25. package/package.json +74 -0
  26. package/src/global.js +1 -0
  27. package/src/image-editor/image-editor-model.d.ts +206 -0
  28. package/src/image-editor/image-editor.d.ts +961 -0
  29. package/src/image-editor/image-editor.js +7542 -0
  30. package/src/image-editor/index.d.ts +5 -0
  31. package/src/image-editor/index.js +4 -0
  32. package/src/index.d.ts +4 -0
  33. package/src/index.js +4 -0
  34. package/styles/bootstrap-dark.css +283 -0
  35. package/styles/bootstrap-dark.scss +1 -0
  36. package/styles/bootstrap.css +283 -0
  37. package/styles/bootstrap.scss +1 -0
  38. package/styles/bootstrap4.css +279 -0
  39. package/styles/bootstrap4.scss +1 -0
  40. package/styles/bootstrap5-dark.css +301 -0
  41. package/styles/bootstrap5-dark.scss +1 -0
  42. package/styles/bootstrap5.css +301 -0
  43. package/styles/bootstrap5.scss +1 -0
  44. package/styles/fabric-dark.css +283 -0
  45. package/styles/fabric-dark.scss +1 -0
  46. package/styles/fabric.css +283 -0
  47. package/styles/fabric.scss +1 -0
  48. package/styles/fluent-dark.css +290 -0
  49. package/styles/fluent-dark.scss +1 -0
  50. package/styles/fluent.css +290 -0
  51. package/styles/fluent.scss +1 -0
  52. package/styles/highcontrast-light.css +281 -0
  53. package/styles/highcontrast-light.scss +1 -0
  54. package/styles/highcontrast.css +281 -0
  55. package/styles/highcontrast.scss +1 -0
  56. package/styles/image-editor/_all.scss +2 -0
  57. package/styles/image-editor/_bootstrap-dark-definition.scss +10 -0
  58. package/styles/image-editor/_bootstrap-definition.scss +10 -0
  59. package/styles/image-editor/_bootstrap4-definition.scss +10 -0
  60. package/styles/image-editor/_bootstrap5-dark-definition.scss +1 -0
  61. package/styles/image-editor/_bootstrap5-definition.scss +10 -0
  62. package/styles/image-editor/_fabric-dark-definition.scss +10 -0
  63. package/styles/image-editor/_fabric-definition.scss +10 -0
  64. package/styles/image-editor/_fluent-dark-definition.scss +1 -0
  65. package/styles/image-editor/_fluent-definition.scss +10 -0
  66. package/styles/image-editor/_fusionnew-definition.scss +10 -0
  67. package/styles/image-editor/_highcontrast-definition.scss +10 -0
  68. package/styles/image-editor/_highcontrast-light-definition.scss +10 -0
  69. package/styles/image-editor/_layout.scss +204 -0
  70. package/styles/image-editor/_material-dark-definition.scss +10 -0
  71. package/styles/image-editor/_material-definition.scss +10 -0
  72. package/styles/image-editor/_material3-definition.scss +10 -0
  73. package/styles/image-editor/_tailwind-dark-definition.scss +1 -0
  74. package/styles/image-editor/_tailwind-definition.scss +10 -0
  75. package/styles/image-editor/_theme.scss +97 -0
  76. package/styles/image-editor/bootstrap-dark.css +283 -0
  77. package/styles/image-editor/bootstrap-dark.scss +12 -0
  78. package/styles/image-editor/bootstrap.css +283 -0
  79. package/styles/image-editor/bootstrap.scss +12 -0
  80. package/styles/image-editor/bootstrap4.css +279 -0
  81. package/styles/image-editor/bootstrap4.scss +12 -0
  82. package/styles/image-editor/bootstrap5-dark.css +301 -0
  83. package/styles/image-editor/bootstrap5-dark.scss +12 -0
  84. package/styles/image-editor/bootstrap5.css +301 -0
  85. package/styles/image-editor/bootstrap5.scss +12 -0
  86. package/styles/image-editor/fabric-dark.css +283 -0
  87. package/styles/image-editor/fabric-dark.scss +12 -0
  88. package/styles/image-editor/fabric.css +283 -0
  89. package/styles/image-editor/fabric.scss +12 -0
  90. package/styles/image-editor/fluent-dark.css +290 -0
  91. package/styles/image-editor/fluent-dark.scss +12 -0
  92. package/styles/image-editor/fluent.css +290 -0
  93. package/styles/image-editor/fluent.scss +12 -0
  94. package/styles/image-editor/highcontrast-light.css +281 -0
  95. package/styles/image-editor/highcontrast-light.scss +12 -0
  96. package/styles/image-editor/highcontrast.css +281 -0
  97. package/styles/image-editor/highcontrast.scss +12 -0
  98. package/styles/image-editor/icons/_bootstrap-dark.scss +218 -0
  99. package/styles/image-editor/icons/_bootstrap.scss +218 -0
  100. package/styles/image-editor/icons/_bootstrap4.scss +218 -0
  101. package/styles/image-editor/icons/_bootstrap5-dark.scss +1 -0
  102. package/styles/image-editor/icons/_bootstrap5.scss +224 -0
  103. package/styles/image-editor/icons/_fabric-dark.scss +218 -0
  104. package/styles/image-editor/icons/_fabric.scss +218 -0
  105. package/styles/image-editor/icons/_fluent-dark.scss +1 -0
  106. package/styles/image-editor/icons/_fluent.scss +224 -0
  107. package/styles/image-editor/icons/_fusionnew.scss +224 -0
  108. package/styles/image-editor/icons/_highcontrast-light.scss +218 -0
  109. package/styles/image-editor/icons/_highcontrast.scss +218 -0
  110. package/styles/image-editor/icons/_material-dark.scss +218 -0
  111. package/styles/image-editor/icons/_material.scss +218 -0
  112. package/styles/image-editor/icons/_material3.scss +230 -0
  113. package/styles/image-editor/icons/_tailwind-dark.scss +1 -0
  114. package/styles/image-editor/icons/_tailwind.scss +218 -0
  115. package/styles/image-editor/material-dark.css +299 -0
  116. package/styles/image-editor/material-dark.scss +12 -0
  117. package/styles/image-editor/material.css +299 -0
  118. package/styles/image-editor/material.scss +12 -0
  119. package/styles/image-editor/tailwind-dark.css +288 -0
  120. package/styles/image-editor/tailwind-dark.scss +12 -0
  121. package/styles/image-editor/tailwind.css +288 -0
  122. package/styles/image-editor/tailwind.scss +12 -0
  123. package/styles/material-dark.css +299 -0
  124. package/styles/material-dark.scss +1 -0
  125. package/styles/material.css +299 -0
  126. package/styles/material.scss +1 -0
  127. package/styles/tailwind-dark.css +288 -0
  128. package/styles/tailwind-dark.scss +1 -0
  129. package/styles/tailwind.css +288 -0
  130. package/styles/tailwind.scss +1 -0
  131. package/tslint.json +111 -0
@@ -0,0 +1,288 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
2
+ /* stylelint-disable-line no-empty-source */
3
+ .e-upload .e-upload-actions,
4
+ .e-bigger.e-small .e-upload .e-upload-actions {
5
+ background-color: #f9fafb;
6
+ border-radius: 0 0 6px 6px;
7
+ }
8
+
9
+ /* stylelint-disable property-no-vendor-prefix */
10
+ @keyframes material-spinner-rotate {
11
+ 0% {
12
+ transform: rotate(0);
13
+ }
14
+ 100% {
15
+ transform: rotate(360deg);
16
+ }
17
+ }
18
+ @keyframes fabric-spinner-rotate {
19
+ 0% {
20
+ transform: rotate(0);
21
+ }
22
+ 100% {
23
+ transform: rotate(360deg);
24
+ }
25
+ }
26
+ .e-image-editor .e-upload-icon::before {
27
+ content: "\e760";
28
+ }
29
+ .e-image-editor .e-zoom-in::before {
30
+ content: "\e768";
31
+ }
32
+ .e-image-editor .e-zoom-out::before {
33
+ content: "\e81b";
34
+ }
35
+ .e-image-editor .e-pan::before {
36
+ content: "\e7b1";
37
+ }
38
+ .e-image-editor .e-select::before {
39
+ content: "\e896";
40
+ }
41
+ .e-image-editor .e-transform::before {
42
+ content: "\e8b0";
43
+ }
44
+ .e-image-editor .e-annotation::before {
45
+ content: "\e730";
46
+ }
47
+ .e-image-editor .e-shapes::before {
48
+ content: "\e728";
49
+ }
50
+ .e-image-editor .e-mouse::before {
51
+ content: "\e74e";
52
+ }
53
+ .e-image-editor .e-btn-reset::before {
54
+ content: "\e89b";
55
+ }
56
+ .e-image-editor .e-btn-save::before {
57
+ content: "\e7c8";
58
+ }
59
+ .e-image-editor .e-close::before {
60
+ content: "\e7e7";
61
+ }
62
+ .e-image-editor .e-check::before {
63
+ content: "\e8b1";
64
+ }
65
+ .e-image-editor .e-text-font-color.e-template .e-caret::before {
66
+ content: "\e76f";
67
+ }
68
+ .e-image-editor .e-stroke.e-template .e-caret::before, .e-image-editor .e-pen-stroke-color.e-template .e-caret::before {
69
+ content: "\e739";
70
+ }
71
+ .e-image-editor .e-fill.e-template .e-caret::before {
72
+ content: "\e783";
73
+ }
74
+
75
+ .e-dropdown-popup.e-image-popup .e-custom::before {
76
+ content: "\e8a9";
77
+ }
78
+ .e-dropdown-popup.e-image-popup .e-circle::before {
79
+ content: "\e7ca";
80
+ }
81
+ .e-dropdown-popup.e-image-popup .e-square::before {
82
+ content: "\e8aa";
83
+ }
84
+ .e-dropdown-popup.e-image-popup .e-custom-a::before {
85
+ content: "\e8ab";
86
+ }
87
+ .e-dropdown-popup.e-image-popup .e-custom-b::before {
88
+ content: "\e8ac";
89
+ }
90
+ .e-dropdown-popup.e-image-popup .e-custom-c::before {
91
+ content: "\e8ad";
92
+ }
93
+ .e-dropdown-popup.e-image-popup .e-custom-d::before {
94
+ content: "\e8ae";
95
+ }
96
+ .e-dropdown-popup.e-image-popup .e-custom-e::before {
97
+ content: "\e8af";
98
+ }
99
+ .e-dropdown-popup.e-image-popup .e-rectangle::before {
100
+ content: "\e723";
101
+ }
102
+ .e-dropdown-popup.e-image-popup .e-circle::before {
103
+ content: "\e7ca";
104
+ }
105
+ .e-dropdown-popup.e-image-popup .e-triangle::before {
106
+ content: "\e89c";
107
+ }
108
+ .e-dropdown-popup.e-image-popup .e-line::before {
109
+ content: "\e819";
110
+ }
111
+ .e-dropdown-popup.e-image-popup .e-free-pen::before {
112
+ content: "\e7db";
113
+ }
114
+ .e-dropdown-popup.e-image-popup .e-horizontal-flip::before {
115
+ content: "\e8a3";
116
+ }
117
+ .e-dropdown-popup.e-image-popup .e-vertical-flip::before {
118
+ content: "\e8a4";
119
+ }
120
+ .e-dropdown-popup.e-image-popup .e-custom::before {
121
+ content: "\e8a9";
122
+ }
123
+ .e-dropdown-popup.e-image-popup .e-clock-wise::before {
124
+ content: "\e8a6";
125
+ }
126
+ .e-dropdown-popup.e-image-popup .e-anti-clock-wise::before {
127
+ content: "\e8a5";
128
+ }
129
+ .e-dropdown-popup.e-image-popup .e-add-text::before {
130
+ content: "\e82e";
131
+ }
132
+
133
+ .e-device.e-image-editor .e-img-font-style.e-template {
134
+ margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
135
+ }
136
+
137
+ .e-bigger .e-image-editor .e-toolbar,
138
+ .e-image-editor.e-bigger .e-toolbar {
139
+ height: 48px !important; /* stylelint-disable-line declaration-no-important */
140
+ min-height: 48px !important; /* stylelint-disable-line declaration-no-important */
141
+ }
142
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon,
143
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
144
+ font-size: 20px;
145
+ }
146
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon,
147
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
148
+ font-size: 20px;
149
+ }
150
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-fill.e-template .e-dropdown-btn .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-stroke.e-template .e-dropdown-btn .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-pen-stroke-color.e-template .e-dropdown-btn .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-save.e-template .e-dropdown-btn .e-icons.e-caret,
151
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-fill.e-template .e-dropdown-btn .e-icons.e-caret,
152
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-stroke.e-template .e-dropdown-btn .e-icons.e-caret,
153
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-pen-stroke-color.e-template .e-dropdown-btn .e-icons.e-caret,
154
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret,
155
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-save.e-template .e-dropdown-btn .e-icons.e-caret {
156
+ font-size: 20px;
157
+ }
158
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret,
159
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret {
160
+ margin-top: -4px;
161
+ }
162
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save,
163
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select,
164
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation,
165
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform,
166
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save {
167
+ font-size: 20px;
168
+ }
169
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform .e-icons.e-caret, .e-bigger .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save .e-icons.e-caret,
170
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select .e-icons.e-caret,
171
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation .e-icons.e-caret,
172
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform .e-icons.e-caret,
173
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save .e-icons.e-caret {
174
+ font-size: 10px;
175
+ }
176
+ .e-bigger .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left,
177
+ .e-image-editor.e-bigger .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
178
+ line-height: 1;
179
+ }
180
+
181
+ .e-image-editor {
182
+ border: 1px solid #e5e7eb;
183
+ position: relative;
184
+ display: block;
185
+ }
186
+ .e-image-editor .e-toolbar {
187
+ border: none;
188
+ height: 38px !important; /* stylelint-disable-line declaration-no-important */
189
+ min-height: 38px !important; /* stylelint-disable-line declaration-no-important */
190
+ }
191
+ .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-btn-icon {
192
+ font-size: 18px;
193
+ }
194
+ .e-image-editor .e-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
195
+ font-size: 18px;
196
+ }
197
+ .e-image-editor .e-toolbar .e-toolbar-items .e-upload {
198
+ border: none;
199
+ }
200
+ .e-image-editor .e-toolbar .e-toolbar-items .e-file-select-wrap {
201
+ padding: 0;
202
+ }
203
+ .e-image-editor .e-toolbar .e-toolbar-items .e-image-upload .e-file-select, .e-image-editor .e-toolbar .e-toolbar-items .e-image-upload .e-file-drop, .e-image-editor .e-toolbar .e-toolbar-items .e-image-upload .e-upload-files {
204
+ display: none;
205
+ }
206
+ .e-image-editor .e-toolbar .e-toolbar-items .e-image-upload .e-image-upload .e-upload {
207
+ border: none;
208
+ }
209
+ .e-image-editor .e-toolbar .e-toolbar-items .e-fill.e-template .e-dropdown-btn .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-stroke.e-template .e-dropdown-btn .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-pen-stroke-color.e-template .e-dropdown-btn .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-save.e-template .e-dropdown-btn .e-icons.e-caret {
210
+ font-size: 18px;
211
+ }
212
+ .e-image-editor .e-toolbar .e-toolbar-items .e-text-font-color.e-template .e-dropdown-btn .e-icons.e-caret {
213
+ margin-top: -4px;
214
+ }
215
+ .e-image-editor .e-toolbar .e-toolbar-items .e-btn-icon.e-dropdownbtn-preview {
216
+ height: 18px;
217
+ width: 18px;
218
+ margin-top: -4px;
219
+ }
220
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save {
221
+ font-size: 18px;
222
+ }
223
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-select .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-annotation .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-transform .e-icons.e-caret, .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn.e-image-popup .e-save .e-icons.e-caret {
224
+ font-size: 10px !important; /* stylelint-disable-line declaration-no-important */
225
+ }
226
+ .e-image-editor .e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
227
+ line-height: 1;
228
+ }
229
+ .e-image-editor .e-toolbar-area + .e-canvas-wrapper {
230
+ border-top: 1px solid #e5e7eb;
231
+ }
232
+ .e-image-editor .e-bottom-toolbar {
233
+ border-top: 1px solid #e5e7eb;
234
+ }
235
+
236
+ .e-image-editor {
237
+ background: #e5e7eb;
238
+ }
239
+ .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn .e-icons {
240
+ color: #6b7280;
241
+ }
242
+ .e-image-editor .e-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-selected-btn {
243
+ background: #e5e7eb !important; /* stylelint-disable-line declaration-no-important */
244
+ }
245
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn {
246
+ background: inherit;
247
+ border: none;
248
+ margin-top: 2px;
249
+ background-color: #f3f4f6;
250
+ color: #6b7280;
251
+ }
252
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn .e-caret-hide {
253
+ display: none !important; /* stylelint-disable-line declaration-no-important */
254
+ }
255
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:hover {
256
+ background-color: #f3f4f6;
257
+ box-shadow: none;
258
+ color: #374151;
259
+ }
260
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:focus {
261
+ background-color: #f3f4f6;
262
+ box-shadow: none;
263
+ color: #374151;
264
+ }
265
+ .e-image-editor .e-toolbar .e-toolbar-items .e-dropdown-btn:active {
266
+ background-color: #e5e7eb;
267
+ box-shadow: none;
268
+ color: #374151;
269
+ }
270
+ .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-shape-fill-color .e-split-btn-wrapper .e-split-btn .e-selected-color, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-shape-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-text-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-pen-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color {
271
+ background: none;
272
+ border-bottom-style: solid;
273
+ border-bottom-width: 3px;
274
+ width: 14px;
275
+ margin: 0 2px;
276
+ border-bottom-color: #000;
277
+ }
278
+ .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-shape-fill-color .e-split-btn-wrapper .e-split-btn .e-selected-color .e-split-preview, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-shape-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color .e-split-preview, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-text-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color .e-split-preview, .e-image-editor .e-toolbar .e-toolbar-items .e-colorpicker-wrapper.e-pen-stroke-color .e-split-btn-wrapper .e-split-btn .e-selected-color .e-split-preview {
279
+ display: none;
280
+ }
281
+ .e-image-editor .e-toolbar .e-toolbar-items .e-nocolor-item {
282
+ background: transparent url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNnB4IiBoZWlnaHQ9IjZweCIgdmlld0JveD0iMCAwIDYgNiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNTAgKDU0OTgzKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5Hcm91cCA5PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Ikdyb3VwLTkiPgogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTExIiBmaWxsPSIjRTBFMEUwIiB4PSIwIiB5PSIwIiB3aWR0aD0iMyIgaGVpZ2h0PSIzIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMTEtQ29weS0yIiBmaWxsPSIjRkZGRkZGIiB4PSIwIiB5PSIzIiB3aWR0aD0iMyIgaGVpZ2h0PSIzIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMTEtQ29weSIgZmlsbD0iI0ZGRkZGRiIgeD0iMyIgeT0iMCIgd2lkdGg9IjMiIGhlaWdodD0iMyI+PC9yZWN0PgogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTExLUNvcHktMyIgZmlsbD0iI0UwRTBFMCIgeD0iMyIgeT0iMyIgd2lkdGg9IjMiIGhlaWdodD0iMyI+PC9yZWN0PgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+") !important; /* stylelint-disable-line declaration-no-important */
283
+ background-size: 8px !important; /* stylelint-disable-line declaration-no-important */
284
+ }
285
+
286
+ .e-dropdown-popup .e-selected-btn {
287
+ background: #e5e7eb !important; /* stylelint-disable-line declaration-no-important */
288
+ }
@@ -0,0 +1 @@
1
+ @import 'image-editor/tailwind.scss';
package/tslint.json ADDED
@@ -0,0 +1,111 @@
1
+ {
2
+ "rules": {
3
+ "chai-vague-errors": true,
4
+ "use-isnan": true,
5
+ "missing-jsdoc": true,
6
+ "missing-optional-annotation": true,
7
+ "no-backbone-get-set-outside-model": true,
8
+ "no-banned-terms": true,
9
+ "no-constant-condition": true,
10
+ "no-control-regex": true,
11
+ "no-cookies": true,
12
+ "no-delete-expression": true,
13
+ "no-document-write": true,
14
+ "no-document-domain": true,
15
+ "no-disable-auto-sanitization": true,
16
+ "no-duplicate-case": true,
17
+ "no-duplicate-parameter-names": true,
18
+ "no-empty-interfaces": true,
19
+ "no-exec-script": true,
20
+ "no-function-constructor-with-string-args": true,
21
+ "no-function-expression": true,
22
+ "no-invalid-regexp": true,
23
+ "no-for-in": true,
24
+ "member-access": true,
25
+ "no-multiline-string": true,
26
+ "no-multiple-var-decl": true,
27
+ "no-unnecessary-bind": true,
28
+ "no-unnecessary-semicolons": true,
29
+ "no-octal-literal": true,
30
+ "no-regex-spaces": true,
31
+ "no-sparse-arrays": true,
32
+ "no-string-based-set-immediate": true,
33
+ "no-string-based-set-interval": true,
34
+ "no-unused-imports": true,
35
+ "no-with-statement": true,
36
+ "prefer-array-literal": true,
37
+ "promise-must-complete": false,
38
+ "react-no-dangerous-html": true,
39
+ "use-named-parameter": true,
40
+ "valid-typeof": true,
41
+ "max-func-body-length": [true, 100, {
42
+ "ignore-parameters-to-function-regex": "describe"
43
+ }],
44
+ "class-name": true,
45
+ "curly": true,
46
+ "eofline": false,
47
+ "forin": true,
48
+ "indent": [
49
+ true,
50
+ "spaces"
51
+ ],
52
+ "label-position": true,
53
+ "max-line-length": [true, 140],
54
+ "no-arg": true,
55
+ "no-console": [true,
56
+ "debug",
57
+ "info",
58
+ "log",
59
+ "time",
60
+ "timeEnd",
61
+ "trace"
62
+ ],
63
+ "no-construct": true,
64
+ "no-parameter-properties": true,
65
+ "no-debugger": true,
66
+ "no-duplicate-variable": true,
67
+ "no-empty": true,
68
+ "no-eval": true,
69
+ "no-string-literal": true,
70
+ "no-switch-case-fall-through": true,
71
+ "trailing-comma": true,
72
+ "no-trailing-whitespace": true,
73
+ "no-unused-expression": true,
74
+ "no-use-before-declare": false,
75
+ "no-var-requires": true,
76
+ "one-line": [true,
77
+ "check-open-brace",
78
+ "check-catch",
79
+ "check-else",
80
+ "check-whitespace"
81
+ ],
82
+ "no-any": true,
83
+ "no-conditional-assignment": true,
84
+ "no-angle-bracket-type-assertion": false,
85
+ "align": [true, "parameters", "arguments", "statements"],
86
+ "no-empty-line-after-opening-brace": false,
87
+ "typedef-whitespace": [false],
88
+ "ban": true,
89
+ "quotemark": [true, "single"],
90
+ "semicolon": true,
91
+ "triple-equals": [true, "allow-null-check"],
92
+ "typedef": [true,
93
+ "call-signature",
94
+ "parameter",
95
+ "property-declaration",
96
+ "variable-declaration",
97
+ "arrow-parameter",
98
+ "member-variable-declaration"],
99
+ "variable-name": true,
100
+ "whitespace": [true,
101
+ "check-branch",
102
+ "check-decl",
103
+ "check-operator",
104
+ "check-separator",
105
+ "check-type"
106
+ ],
107
+ "jsdoc-format": true,
108
+ "no-var-keyword": true,
109
+ "radix": true
110
+ }
111
+ }