@kizmann/nano-ui 0.8.9 → 0.8.10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.8.9",
3
+ "version": "0.8.10",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -167,7 +167,7 @@ export default {
167
167
 
168
168
  props['onDragenter'] = (event) => {
169
169
 
170
- this.dragger++;
170
+ this.dragger ++;
171
171
 
172
172
  if ( this.dragger !== 1 ) {
173
173
  return;
@@ -180,7 +180,7 @@ export default {
180
180
 
181
181
  props['onDragleave'] = (event) => {
182
182
 
183
- this.dragger--;
183
+ this.dragger --;
184
184
 
185
185
  if ( this.dragger !== 0 ) {
186
186
  return;
@@ -189,6 +189,10 @@ export default {
189
189
  clearTimeout(this.showDelay);
190
190
  };
191
191
 
192
+ props.style = {
193
+ order: this.sort + 1,
194
+ };
195
+
192
196
  return (
193
197
  <div ref="header" class={classList} {...props}>
194
198
  {this.ctor('renderHeaderIcon')()}
@@ -226,7 +230,9 @@ export default {
226
230
 
227
231
  this.init = true;
228
232
 
229
- let style = {};
233
+ let style = {
234
+ order: this.sort + 2
235
+ };
230
236
 
231
237
  if ( !Arr.has(tempValue, this.name) ) {
232
238
  style.display = 'none';