neo.mjs 8.19.0 → 8.19.1

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.
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='8.19.0'
23
+ * @member {String} version='8.19.1'
24
24
  */
25
- version: '8.19.0'
25
+ version: '8.19.1'
26
26
  }
27
27
 
28
28
  /**
@@ -107,7 +107,7 @@ class FooterContainer extends Container {
107
107
  }, {
108
108
  module: Component,
109
109
  cls : ['neo-version'],
110
- html : 'v8.19.0'
110
+ html : 'v8.19.1'
111
111
  }]
112
112
  }],
113
113
  /**
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='8.19.0'
23
+ * @member {String} version='8.19.1'
24
24
  */
25
- version: '8.19.0'
25
+ version: '8.19.1'
26
26
  }
27
27
 
28
28
  /**
@@ -36,15 +36,10 @@ class ControlsContainer extends Container {
36
36
  },
37
37
 
38
38
  items: [{
39
- ntype: 'component',
40
- html : '<a class="github-button" href="https://github.com/neomjs/neo" data-size="large" data-show-count="true" aria-label="Star neomjs/neo on GitHub">Star</a>',
41
- style: {marginLeft: 'auto'}
42
- }, {
43
39
  labelText : 'Amount Rows',
44
40
  labelWidth: 120,
45
41
  listeners : {change: 'up.onAmountRowsChange'},
46
42
  store : ['1000', '5000', '10000', '20000', '50000'],
47
- style : {marginTop: '2em'},
48
43
  value : '1000',
49
44
  width : 200
50
45
  }, {
@@ -103,20 +98,6 @@ class ControlsContainer extends Container {
103
98
  return this.parent.getItem('grid')
104
99
  }
105
100
 
106
- /**
107
- *
108
- */
109
- onConstructed() {
110
- super.onConstructed();
111
-
112
- Neo.main.DomAccess.addScript({
113
- async : true,
114
- defer : true,
115
- src : 'https://buttons.github.io/buttons.js',
116
- windowId: this.windowId
117
- })
118
- }
119
-
120
101
  /**
121
102
  * @param {Object} data
122
103
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "8.19.0",
3
+ "version": "8.19.1",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -9,15 +9,6 @@
9
9
  &:focus {
10
10
  outline: none;
11
11
  }
12
-
13
- .neo-grid-stretcher {
14
- height : 1px;
15
- position : absolute;
16
- top : 0;
17
- visibility : hidden;
18
- width : 1px;
19
- z-index : 1001; // Above the column dragProxy element
20
- }
21
12
  }
22
13
 
23
14
  .neo-grid-view {
@@ -262,12 +262,12 @@ const DefaultConfig = {
262
262
  useVdomWorker: true,
263
263
  /**
264
264
  * buildScripts/injectPackageVersion.mjs will update this value
265
- * @default '8.19.0'
265
+ * @default '8.19.1'
266
266
  * @memberOf! module:Neo
267
267
  * @name config.version
268
268
  * @type String
269
269
  */
270
- version: '8.19.0'
270
+ version: '8.19.1'
271
271
  };
272
272
 
273
273
  Object.assign(DefaultConfig, {
@@ -53,6 +53,7 @@ class GridScrollbar extends Component {
53
53
  ScrollSync.register({
54
54
  fromId: me.parent.view.vdom.id,
55
55
  toId : me.id,
56
+ twoWay: !Neo.config.useTouchEvents, // Syncing the scroller back to the view affects mobile scrolling
56
57
  ...params
57
58
  })
58
59
  } else {
package/src/grid/View.mjs CHANGED
@@ -125,8 +125,7 @@ class GridView extends Component {
125
125
  */
126
126
  _vdom:
127
127
  {tabIndex: '-1', cn: [
128
- {cn: []},
129
- {cls: 'neo-grid-stretcher'}
128
+ {cn: []}
130
129
  ]}
131
130
  }
132
131
 
@@ -207,7 +206,7 @@ class GridView extends Component {
207
206
  let me = this;
208
207
 
209
208
  me.vdom.width = value + 'px';
210
- me.vdom.cn[1].width = value + 'px';
209
+ me.vdom.cn[0].width = value + 'px';
211
210
  me.update()
212
211
  }
213
212
  }
@@ -905,7 +904,7 @@ class GridView extends Component {
905
904
  {rowHeight} = me;
906
905
 
907
906
  if (countRecords > 0 && rowHeight > 0) {
908
- me.vdom.cn[1].height = `${(countRecords + 1) * rowHeight}px`;
907
+ me.vdom.cn[0].height = `${(countRecords + 1) * rowHeight}px`;
909
908
  me.update()
910
909
  }
911
910
  }