@yuneta/gobj-ui 7.30.0 → 7.31.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.
- package/README.md +8 -4
- package/dist/gobj-ui.cjs.js +206 -412
- package/dist/gobj-ui.es.js +206 -412
- package/package.json +12 -12
- package/src/json_view_helpers.test.js +2 -2
- package/src/tabulator.css +22 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuneta/gobj-ui",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.31.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/gobj-ui.cjs.js",
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@rollup/plugin-terser": "^1.0.2",
|
|
49
|
-
"@vitest/coverage-v8": "^5.0
|
|
49
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
50
50
|
"@yuneta/gobj-js": "^7.30.0",
|
|
51
|
-
"jsdom": "^
|
|
52
|
-
"vite": "^8.3.
|
|
53
|
-
"vitest": "^5.0
|
|
51
|
+
"jsdom": "^31.0.1",
|
|
52
|
+
"vite": "^8.3.8",
|
|
53
|
+
"vitest": "^5.1.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@antv/g6": "^5.1.
|
|
57
|
-
"@yuneta/gobj-js": "^7.
|
|
56
|
+
"@antv/g6": "^5.1.1",
|
|
57
|
+
"@yuneta/gobj-js": "^7.30.0",
|
|
58
58
|
"bulma": "^1.0.4",
|
|
59
|
-
"i18next": "^
|
|
60
|
-
"maplibre-gl": "^6.
|
|
61
|
-
"tabulator-tables": "^6.
|
|
62
|
-
"tom-select": "^2.
|
|
59
|
+
"i18next": "^27.1.1",
|
|
60
|
+
"maplibre-gl": "^6.18.0",
|
|
61
|
+
"tabulator-tables": "^6.7.1",
|
|
62
|
+
"tom-select": "^2.7.0",
|
|
63
63
|
"uplot": "^1.6.32",
|
|
64
|
-
"vanilla-jsoneditor": "^3.13.
|
|
64
|
+
"vanilla-jsoneditor": "^3.13.1"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -284,8 +284,8 @@ test("container_label: an array is not a record", () => {
|
|
|
284
284
|
});
|
|
285
285
|
|
|
286
286
|
test("container_label: cut at max_chars, and said with an ellipsis", () => {
|
|
287
|
-
let uuid = "
|
|
288
|
-
expect(container_label({id: uuid}, 8)).toBe("
|
|
287
|
+
let uuid = "5a6b7c8d-1e2f-4a3b-9c4d-5e6f70819230";
|
|
288
|
+
expect(container_label({id: uuid}, 8)).toBe("5a6b7c8d…");
|
|
289
289
|
expect(container_label({id: uuid}, 0)).toBe(uuid);
|
|
290
290
|
expect(container_label({id: uuid}, undefined)).toBe(uuid);
|
|
291
291
|
});
|
package/src/tabulator.css
CHANGED
|
@@ -13,6 +13,28 @@
|
|
|
13
13
|
* All Rights Reserved.
|
|
14
14
|
***********************************************************************/
|
|
15
15
|
|
|
16
|
+
/* ====================================================================
|
|
17
|
+
* The footer WRAPS when it does not fit.
|
|
18
|
+
* Tabulator puts `white-space: nowrap` on `.tabulator-footer`, so the
|
|
19
|
+
* row count and the paginator (its label, the page size, First, Prev,
|
|
20
|
+
* the pages, Next, Last) stayed on ONE line: 552px on a 412px phone,
|
|
21
|
+
* and the buttons on the right were off the screen, out of reach.
|
|
22
|
+
* The count and the paginator may now take two lines, and the pieces
|
|
23
|
+
* of the paginator wrap between them, each one whole. A wide screen
|
|
24
|
+
* still shows one line: nothing wraps while it fits.
|
|
25
|
+
* ==================================================================== */
|
|
26
|
+
.tabulator .tabulator-footer {
|
|
27
|
+
white-space: normal;
|
|
28
|
+
}
|
|
29
|
+
.tabulator .tabulator-footer .tabulator-footer-contents {
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
row-gap: 0.25rem;
|
|
32
|
+
}
|
|
33
|
+
.tabulator .tabulator-footer .tabulator-paginator > *,
|
|
34
|
+
.tabulator .tabulator-footer .tabulator-page {
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
16
38
|
/* ====================================================================
|
|
17
39
|
* Active / selected row highlight.
|
|
18
40
|
* Green wash + left accent, theme-aware, with enough specificity
|