@syncfusion/ej2-inplace-editor 20.4.48 → 21.1.35

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 (38) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/ej2-inplace-editor.min.js +2 -2
  3. package/dist/ej2-inplace-editor.umd.min.js +2 -2
  4. package/dist/ej2-inplace-editor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-inplace-editor.es2015.js +57 -84
  6. package/dist/es6/ej2-inplace-editor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-inplace-editor.es5.js +58 -85
  8. package/dist/es6/ej2-inplace-editor.es5.js.map +1 -1
  9. package/dist/global/ej2-inplace-editor.min.js +2 -2
  10. package/dist/global/ej2-inplace-editor.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +17 -17
  13. package/src/inplace-editor/base/inplace-editor-model.d.ts +1 -2
  14. package/src/inplace-editor/base/inplace-editor.js +55 -83
  15. package/src/inplace-editor/base/interface.d.ts +1 -0
  16. package/src/inplace-editor/base/models-model.d.ts +2 -0
  17. package/src/inplace-editor/base/models.d.ts +2 -0
  18. package/src/inplace-editor/base/models.js +0 -2
  19. package/src/inplace-editor/modules/combo-box.d.ts +2 -0
  20. package/src/inplace-editor/modules/combo-box.js +2 -0
  21. package/src/inplace-editor/modules/date-range-picker.d.ts +1 -0
  22. package/src/inplace-editor/modules/date-range-picker.js +1 -0
  23. package/styles/inplace-editor/_bootstrap-dark-definition.scss +0 -1
  24. package/styles/inplace-editor/_bootstrap-definition.scss +0 -1
  25. package/styles/inplace-editor/_bootstrap4-definition.scss +0 -1
  26. package/styles/inplace-editor/_bootstrap5-definition.scss +0 -2
  27. package/styles/inplace-editor/_fabric-dark-definition.scss +0 -1
  28. package/styles/inplace-editor/_fabric-definition.scss +0 -1
  29. package/styles/inplace-editor/_fluent-definition.scss +0 -2
  30. package/styles/inplace-editor/_fusionnew-definition.scss +0 -2
  31. package/styles/inplace-editor/_highcontrast-definition.scss +0 -1
  32. package/styles/inplace-editor/_highcontrast-light-definition.scss +0 -1
  33. package/styles/inplace-editor/_layout.scss +9 -9
  34. package/styles/inplace-editor/_material-dark-definition.scss +0 -1
  35. package/styles/inplace-editor/_material-definition.scss +0 -1
  36. package/styles/inplace-editor/_tailwind-definition.scss +0 -2
  37. package/styles/inplace-editor/_theme.scss +12 -12
  38. package/styles/inplace-editor/_material3-definition.scss +0 -71
@@ -137,7 +137,7 @@
137
137
  font-size: $editor-nrml-value-text-font-size;
138
138
  margin: $editor-nrml-value-margin;
139
139
 
140
- @if $inplace-skin == 'bootstrap4' {
140
+ @if $skin-name == 'bootstrap4' {
141
141
  line-height: 24px;
142
142
  }
143
143
  }
@@ -205,7 +205,7 @@
205
205
  font-size: $editor-nrml-value-text-font-size;
206
206
  margin: $editor-nrml-value-margin;
207
207
 
208
- @if $inplace-skin == 'bootstrap4' {
208
+ @if $skin-name == 'bootstrap4' {
209
209
  line-height: 24px;
210
210
  }
211
211
  }
@@ -330,7 +330,7 @@
330
330
 
331
331
  .e-input-group + .e-editable-loading {
332
332
 
333
- @if $inplace-skin == 'material' {
333
+ @if $skin-name == 'material' {
334
334
  .e-spinner-inner {
335
335
  top: 45%;
336
336
  }
@@ -344,7 +344,7 @@
344
344
 
345
345
  .e-btn-icon.e-icons {
346
346
 
347
- @if $inplace-skin == 'bootstrap4' {
347
+ @if $skin-name == 'bootstrap4' {
348
348
  font-size: 16px;
349
349
  }
350
350
  }
@@ -357,7 +357,7 @@
357
357
 
358
358
  .e-input-group + .e-editable-loading {
359
359
 
360
- @if $inplace-skin == 'material' {
360
+ @if $skin-name == 'material' {
361
361
  .e-spinner-inner {
362
362
  top: 35%;
363
363
  }
@@ -373,7 +373,7 @@
373
373
 
374
374
  .e-input-group + .e-editable-loading {
375
375
 
376
- @if $inplace-skin == 'material' {
376
+ @if $skin-name == 'material' {
377
377
  .e-spinner-inner {
378
378
  top: 35%;
379
379
  }
@@ -485,7 +485,7 @@
485
485
  &.e-tooltip-wrap {
486
486
 
487
487
  .e-tip-content {
488
- @if $inplace-skin == 'tailwind' or $inplace-skin == 'bootstrap5' $inplace-skin == 'FluentUI' {
488
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' $skin-name == 'FluentUI' {
489
489
  padding: 0;
490
490
  }
491
491
 
@@ -628,7 +628,7 @@
628
628
  min-height: 70px;
629
629
  }
630
630
 
631
- @if $inplace-skin == 'tailwind' or $inplace-skin == 'bootstrap5' {
631
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
632
632
  .e-control .e-inplaceeditor,
633
633
  .e-tooltip-wrap.e-popup.e-inplaceeditor-tip.e-popup-open,
634
634
  .e-inplaceeditor .e-input-group.e-control-wrapper.e-editable-elements {
@@ -636,7 +636,7 @@
636
636
  }
637
637
  }
638
638
 
639
- @if $inplace-skin == 'tailwind' or $inplace-skin == 'bootstrap5' {
639
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
640
640
  .e-control.e-inplaceeditor .e-editable-value-wrapper {
641
641
  min-height: 30px;
642
642
  }
@@ -1,7 +1,6 @@
1
1
  /*! Material dark theme definitions and variables */
2
2
 
3
3
  /*! Value element styles */
4
- $inplace-skin: 'material-dark' !default;
5
4
  $editor-big-value-text-font-size: 14px !default;
6
5
  $editor-nrml-value-text-font-size: 13px !default;
7
6
  $editor-big-value-container-padding: 8px !default;
@@ -1,7 +1,6 @@
1
1
  /*! Material theme definitions and variables */
2
2
 
3
3
  /*! Value element styles */
4
- $inplace-skin: 'material' !default;
5
4
  $editor-big-value-text-font-size: 14px !default;
6
5
  $editor-nrml-value-text-font-size: 13px !default;
7
6
  $editor-big-value-container-padding: 8px !default;
@@ -1,5 +1,3 @@
1
- $inplace-skin: 'tailwind' !default;
2
-
3
1
  //Layout Variable Start
4
2
  $editor-big-value-text-font-size: $text-base !default;
5
3
  $editor-nrml-value-text-font-size: $text-sm !default;
@@ -105,22 +105,22 @@
105
105
  .e-btn-save.e-icon-btn,
106
106
  .e-btn-cancel.e-icon-btn {
107
107
 
108
- @if $inplace-skin == 'fabric-dark' or $inplace-skin == 'bootstrap-dark' or $inplace-skin == 'highcontrast' or $inplace-skin == 'highcontrast-light' {
108
+ @if $skin-name == 'fabric-dark' or $skin-name == 'bootstrap-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' {
109
109
  box-shadow: none;
110
110
  }
111
- @else if $inplace-skin == 'fabric' {
111
+ @else if $skin-name == 'fabric' {
112
112
  box-shadow: 0 1px 4px 0 $black-color;
113
113
  }
114
- @else if $inplace-skin == 'bootstrap' {
114
+ @else if $skin-name == 'bootstrap' {
115
115
  box-shadow: 0 1px 4px 0 $black-color;
116
116
  }
117
- @else if $inplace-skin == 'bootstrap4' {
117
+ @else if $skin-name == 'bootstrap4' {
118
118
  background-color: $content-bg;
119
119
  border: 1px solid $gray-400;
120
120
  box-shadow: 0 1px 4px 0 $black-color;
121
121
  }
122
122
 
123
- @else if $inplace-skin == 'bootstrap5' {
123
+ @else if $skin-name == 'bootstrap5' {
124
124
  background-color: $content-bg-color;
125
125
  border: 1px solid $border-light;
126
126
  border-radius: 4px;
@@ -130,14 +130,14 @@
130
130
  color: $editor-btn-icon-color;
131
131
  }
132
132
 
133
- @if $inplace-skin == 'bootstrap4' {
133
+ @if $skin-name == 'bootstrap4' {
134
134
 
135
135
  &:hover {
136
136
  background-color: darken($gray-600, 7.5%);
137
137
  border: 1px solid darken($gray-600, 10%);
138
138
  }
139
139
  }
140
- @else if $inplace-skin == 'bootstrap5' {
140
+ @else if $skin-name == 'bootstrap5' {
141
141
 
142
142
  &:hover {
143
143
  background-color: darken($gray-600, 7.5%);
@@ -145,7 +145,7 @@
145
145
  }
146
146
  }
147
147
 
148
- @if $inplace-skin == 'bootstrap4' {
148
+ @if $skin-name == 'bootstrap4' {
149
149
 
150
150
  &:focus {
151
151
  background-color: $gray-600;
@@ -153,7 +153,7 @@
153
153
  }
154
154
  }
155
155
 
156
- @if $inplace-skin == 'bootstrap4' {
156
+ @if $skin-name == 'bootstrap4' {
157
157
 
158
158
  &:active {
159
159
  background-color: darken($gray-600, 10%);
@@ -167,7 +167,7 @@
167
167
 
168
168
  .e-btn-icon.e-icons {
169
169
 
170
- @if $inplace-skin == 'bootstrap4' or $inplace-skin =='bootstrap5' {
170
+ @if $skin-name == 'bootstrap4' or $skin-name =='bootstrap5' {
171
171
  color: $white;
172
172
  }
173
173
  }
@@ -176,7 +176,7 @@
176
176
  }
177
177
  }
178
178
 
179
- @if $inplace-skin == 'tailwind' or $inplace-skin == 'bootstrap5' {
179
+ @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' {
180
180
  .e-inplaceeditor .e-editable-value-wrapper {
181
181
  background-color: $editor-background-color;
182
182
  border-radius: 4px;
@@ -192,7 +192,7 @@
192
192
  &.e-tooltip-wrap.e-popup {
193
193
  background: $editor-tip-bg;
194
194
  box-shadow: $editor-tip-box-shadow;
195
- @if $inplace-skin == 'FluentUI' {
195
+ @if $skin-name == 'FluentUI' {
196
196
  border-radius: $editor-popup-tip-wrapper-bdr-radius;
197
197
  }
198
198
 
@@ -1,71 +0,0 @@
1
- $inplace-skin: 'bootstrap5' !default;
2
-
3
- //Layout Variable Start
4
- $editor-big-value-text-font-size: $text-base !default;
5
- $editor-nrml-value-text-font-size: $text-sm !default;
6
- $editor-big-value-container-padding: 7px 12px 7px 12px !default;
7
- $editor-nrml-value-container-padding: 3px 8px 5px 8px !default;
8
- $editor-big-value-container-spin-padding: 8px !default;
9
- $editor-nrml-value-container-spin-padding: 8px !default;
10
- $editor-big-value-margin: 0 30px 0 0 !default;
11
- $editor-nrml-value-margin: 0 28px 0 0 !default;
12
- $editor-rtl-big-value-margin: 0 0 0 30px !default;
13
- $editor-rtl-nrml-value-margin: 0 0 0 28px !default;
14
- $editor-big-overlay-icon-size: $text-base !default;
15
- $editor-nrml-overlay-icon-size: $text-sm !default;
16
- $editor-big-overlay-icon-container-size: 20px !default;
17
- $editor-nrml-overlay-icon-container-size: 20px !default;
18
- $editor-big-overlay-icon-left-right: 8px !default;
19
- $editor-nrml-overlay-icon-left-right: 8px !default;
20
- $editor-tip-content-bdr-radius: 4px !default;
21
- $editor-popup-tip-content-bdr-radius: 4px !default;
22
- $editor-tip-title-font-weight: $font-weight-medium !default;
23
- $editor-big-tip-title-font-size: $text-sm !default;
24
- $editor-nrml-tip-title-font-size: $text-xs !default;
25
- $editor-big-tip-title-padding: 12px 16px 12px 16px !default;
26
- $editor-nrml-tip-title-padding: 9px 12px 9px 12px !default;
27
- $editor-rtl-big-tip-title-padding: 12px 16px 12px 16px !default;
28
- $editor-rtl-nrml-tip-title-padding: 9px 12px 9px 12px !default;
29
- $editor-big-tip-title-container-size: 46px !default;
30
- $editor-nrml-tip-title-container-size: 36px !default;
31
- $editor-big-tip-wrapper-padding: 16px !default;
32
- $editor-nrml-tip-wrapper-padding: 12px !default;
33
- $editor-big-wrapper-title-with-padding: 16px !default;
34
- $editor-nrml-wrapper-title-with-padding: 12px !default;
35
- $editor-component-bottom-margin: 4px !default;
36
- $editor-buttons-top-margin: 4px !default;
37
- $editor-btn-save-icon-size: 16px !default;
38
- $editor-btn-cancel-icon-size: 16px !default;
39
- $editor-big-btn-save-margin: 0 4px 0 0 !default;
40
- $editor-nrml-btn-save-margin: 0 4px 0 0 !default;
41
- $editor-big-btn-cancel-margin: 0 0 0 4px !default;
42
- $editor-nrml-btn-cancel-margin: 0 0 0 4px !default;
43
- $editor-rtl-big-btn-save-margin: 0 0 0 4px !default;
44
- $editor-rtl-nrml-btn-save-margin: 0 0 0 4px !default;
45
- $editor-rtl-big-btn-cancel-margin: 0 4px 0 0 !default;
46
- $editor-rtl-nrml-btn-cancel-margin: 0 4px 0 0 !default;
47
-
48
- //Layout Variable End
49
-
50
- //Theme Variable Start
51
- $editor-value-hover-bg: $content-bg-color-alt2 !default;
52
- $editor-value-text-color: $content-text-color !default;
53
- $editor-overlay-icon-color: $icon-color !default;
54
- $editor-value-text-border: 1px dashed $content-text-color !default;
55
- $editor-background-color: $transparent !default;
56
- $wrapper-background-color: $flyout-bg-color !default;
57
- $editor-tip-border: 1px solid $border !default;
58
- $editor-tip-bg: $content-bg-color !default;
59
- $editor-tip-arrow-icon-color: $content-bg-color-alt1 !default;
60
- $editor-tip-title-arrow-icon-color: $content-bg-color-alt1 !default;
61
- $editor-tip-arrow-bdr-color: $content-bg-color-alt1 !default;
62
- $editor-tip-title-arrow-bdr-color: $border !default;
63
- $editor-tip-box-shadow: $shadow-lg !default;
64
- $editor-tip-title-bg: $content-bg-color-alt1 !default;
65
- $editor-tio-title-border-bottom: 0 !default;
66
- $editor-tip-title-color: $content-text-color !default;
67
- $editable-overlay-icon-height: inherit !default;
68
- $editable-overlay-icon: 0 !default;
69
- $editor-btn-icon-color: $icon-color !default;
70
-
71
- //Theme Variable End