@itrocks/list 0.0.18 → 0.0.20

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 (3) hide show
  1. package/cjs/list.js +1 -1
  2. package/list.css +2 -1
  3. package/package.json +1 -1
package/cjs/list.js CHANGED
@@ -64,7 +64,7 @@ let List = (() => {
64
64
  const xhrInfo = header ? JSON.parse(header) : {};
65
65
  const limit = xhrInfo.targetHeight
66
66
  ? Math.ceil(xhrInfo.targetHeight / this.lineHeight)
67
- : +(request.request.headers['xhr-visible-rows'] ?? 50);
67
+ : (xhrInfo.visibleRows ?? 50);
68
68
  const offset = request.request.data.offset;
69
69
  const type = request.type;
70
70
  const objects = await (0, storage_1.dataSource)().readAll(type, [new storage_2.Limit(limit, +offset), storage_3.Sort]);
package/list.css CHANGED
@@ -46,8 +46,9 @@ table.objects > tbody > tr > td > ul {
46
46
  table.objects > tbody > tr > td > ul > li {
47
47
  display: inline-block;
48
48
  }
49
- table.objects > tbody > tr > td > ul > li:not(:first-child):before {
49
+ table.objects > tbody > tr > td > ul > li:not(:last-child):after {
50
50
  content: ", ";
51
+ margin-right: 0.3em;
51
52
  }
52
53
  table.objects > tbody:first-child > tr:nth-child(even) > td {
53
54
  background: white;
package/package.json CHANGED
@@ -63,5 +63,5 @@
63
63
  "build:front": "tsc -p esm/tsconfig.json && ../prepare-module/prepare-module.js esm"
64
64
  },
65
65
  "types": "./cjs/list.d.ts",
66
- "version": "0.0.18"
66
+ "version": "0.0.20"
67
67
  }