neo.mjs 4.1.1 → 4.1.2

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.
@@ -221,16 +221,16 @@ if (programOpts.info) {
221
221
  " */",
222
222
  "class MainContainer extends Viewport {",
223
223
  " static getConfig() {return {",
224
- " /*",
224
+ " /**",
225
225
  " * @member {String} className='" + appName + ".view.MainContainer'",
226
226
  " * @protected",
227
227
  " */",
228
228
  " className: '" + appName + ".view.MainContainer',",
229
- " /*",
229
+ " /**",
230
230
  " * @member {Boolean} autoMount=true",
231
231
  " */",
232
232
  " autoMount: true,",
233
- " /*",
233
+ " /**",
234
234
  " * @member {Object[]} items",
235
235
  " */",
236
236
  " items: [{",
@@ -576,7 +576,7 @@ if (programOpts.info) {
576
576
  " */",
577
577
  `class ${file} extends ${baseFileName} {`,
578
578
  " static getConfig() {return {",
579
- " /*",
579
+ " /**",
580
580
  ` * @member {String} className='${className}'`,
581
581
  " * @protected",
582
582
  " */",
@@ -584,7 +584,7 @@ if (programOpts.info) {
584
584
  );
585
585
 
586
586
  baseClass === 'table.Container' && addComma(classContent).push(
587
- " /*",
587
+ " /**",
588
588
  " * @member {Object[]} columns",
589
589
  " */",
590
590
  " columns: [{",
@@ -597,7 +597,7 @@ if (programOpts.info) {
597
597
  );
598
598
 
599
599
  baseClass === 'data.Model' && addComma(classContent).push(
600
- " /*",
600
+ " /**",
601
601
  " * @member {Object[]} fields",
602
602
  " */",
603
603
  " fields: [{",
@@ -607,14 +607,14 @@ if (programOpts.info) {
607
607
  );
608
608
 
609
609
  baseClass === 'container.Base' && addComma(classContent).push(
610
- " /*",
610
+ " /**",
611
611
  " * @member {Object[]} items",
612
612
  " */",
613
613
  " items: []"
614
614
  );
615
615
 
616
616
  baseClass === 'tab.Container' && addComma(classContent).push(
617
- " /*",
617
+ " /**",
618
618
  " * @member {Object[]} items",
619
619
  " */",
620
620
  " items: [{",
@@ -635,7 +635,7 @@ if (programOpts.info) {
635
635
  );
636
636
 
637
637
  isSingleton && addComma(classContent).push(
638
- " /*",
638
+ " /**",
639
639
  " * @member {Boolean} singleton=true",
640
640
  " * @protected",
641
641
  " */",
@@ -643,7 +643,7 @@ if (programOpts.info) {
643
643
  );
644
644
 
645
645
  baseClass === 'component.Base' && addComma(classContent).push(
646
- " /*",
646
+ " /**",
647
647
  " * @member {Object} _vdom",
648
648
  " */",
649
649
  " _vdom:",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -50,11 +50,11 @@
50
50
  "envinfo": "^7.8.1",
51
51
  "fs-extra": "^10.1.0",
52
52
  "highlightjs-line-numbers.js": "^2.8.0",
53
- "inquirer": "^9.1.0",
53
+ "inquirer": "^9.1.1",
54
54
  "neo-jsdoc": "^1.0.1",
55
55
  "neo-jsdoc-x": "^1.0.4",
56
56
  "postcss": "^8.4.16",
57
- "sass": "^1.54.7",
57
+ "sass": "^1.54.8",
58
58
  "webpack": "^5.74.0",
59
59
  "webpack-cli": "^4.10.0",
60
60
  "webpack-dev-server": "4.10.1",
@@ -5,7 +5,7 @@
5
5
  font-weight : 400;
6
6
  height : 100%;
7
7
  line-height : 19px;
8
- overflow : hidden;
8
+ overflow : auto;
9
9
 
10
10
  .neo-grid-row {
11
11
  display : flex;
@@ -20,6 +20,12 @@
20
20
  border-right: 1px solid v(grid-container-border-color);
21
21
  }
22
22
 
23
+ &.neo-locked { // todo: for testing, will get removed once the header toolbar is outside of the scroll region
24
+ position: sticky;
25
+ top : 0;
26
+ z-index : 5001;
27
+ }
28
+
23
29
  &.neo-drag-over {
24
30
  background-image: linear-gradient(green, darkgreen);;
25
31
  }
@@ -2,4 +2,6 @@
2
2
  border-bottom: 2px solid v(grid-container-border-color);
3
3
  border-top : 1px solid v(grid-container-border-color);
4
4
  padding : 0;
5
+ position : sticky;
6
+ top : 0;
5
7
  }
package/src/grid/View.mjs CHANGED
@@ -120,7 +120,7 @@ class View extends Component {
120
120
 
121
121
  if (column.dock === 'left') {
122
122
  config.style.left = dockLeftMargin + 'px';
123
- dockLeftMargin += (column.width + 1); // todo: borders fix
123
+ dockLeftMargin += column.width;
124
124
  }
125
125
  }
126
126