@lavalogic/scoria 0.37.41 → 0.37.42
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.
|
@@ -74,10 +74,18 @@ function makeSpec(kind, def, internals = {}) {
|
|
|
74
74
|
* to roughly match what the legacy `<table>` element produced via the
|
|
75
75
|
* browser auto-layout algorithm for typical FloWMS column content. */
|
|
76
76
|
const KIND_DEFAULT_WIDTHS = {
|
|
77
|
-
text:
|
|
78
|
-
|
|
77
|
+
text: 180,
|
|
78
|
+
// Bumped from 100 → 120 so 7-8 digit IDs / quantities (e.g. shipment
|
|
79
|
+
// IDs, order IDs) fit cleanly alongside the sort / filter affordances
|
|
80
|
+
// without forcing the value to truncate or wrap.
|
|
81
|
+
number: 120,
|
|
79
82
|
checkbox: 80,
|
|
80
|
-
|
|
83
|
+
// Bumped from 140 → 180 so the formatted "DD/MM/YYYY HH:mm" string
|
|
84
|
+
// fits inside the cell. The legacy 140px floor cut off the time
|
|
85
|
+
// portion for the typical date format used across FloWMS pages and
|
|
86
|
+
// forced every consumer to set a per-column `width` override (see
|
|
87
|
+
// OrderManagement, which had to pin date columns at 210).
|
|
88
|
+
date: 180,
|
|
81
89
|
select: 160,
|
|
82
90
|
query: 160,
|
|
83
91
|
display: 150,
|