@visns-studio/visns-components 6.1.1 → 6.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.
package/package.json
CHANGED
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
92
92
|
},
|
|
93
93
|
"name": "@visns-studio/visns-components",
|
|
94
|
-
"version": "6.1.
|
|
94
|
+
"version": "6.1.2",
|
|
95
95
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
96
96
|
"main": "src/index.js",
|
|
97
97
|
"files": [
|
|
@@ -43,10 +43,14 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
:global {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
// Comments directly inside :global must be Sass line comments: block
|
|
47
|
+
// comments here survive to CSS, and the css-modules unwrap of :global
|
|
48
|
+
// leaves them wrapped in an empty `{}` rule that the minifier flags.
|
|
49
|
+
|
|
50
|
+
// The header is a label row, not a heading. It was navy body text at the same
|
|
51
|
+
// size and weight as the data, so it read as another row of values. Smaller,
|
|
52
|
+
// uppercase and recessive puts the emphasis back on the data, and it stays put
|
|
53
|
+
// while the rows scroll under it.
|
|
50
54
|
.InovuaReactDataGrid__header {
|
|
51
55
|
color: var(--muted-color) !important;
|
|
52
56
|
background: var(--alternate-color) !important;
|
|
@@ -57,9 +61,9 @@
|
|
|
57
61
|
text-transform: uppercase;
|
|
58
62
|
}
|
|
59
63
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
// Digits only line up if they are the same width. Applied to the numeric and
|
|
65
|
+
// date columns rather than globally, since tabular figures are wider and
|
|
66
|
+
// would loosen ordinary text.
|
|
63
67
|
.InovuaReactDataGrid__cell[data-column-id*='date'],
|
|
64
68
|
.InovuaReactDataGrid__cell[data-column-id*='Date'],
|
|
65
69
|
.InovuaReactDataGrid__cell[data-column-id*='count'],
|
|
@@ -71,9 +75,9 @@
|
|
|
71
75
|
font-variant-numeric: tabular-nums;
|
|
72
76
|
}
|
|
73
77
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
78
|
+
// Banding, so the eye can track a row across a wide table. Kept very faint —
|
|
79
|
+
// strong enough to follow, quiet enough not to compete with the hover state
|
|
80
|
+
// or a status colour in the row.
|
|
77
81
|
.InovuaReactDataGrid__row--odd .InovuaReactDataGrid__row-cell-wrap {
|
|
78
82
|
background: var(--alternate-color);
|
|
79
83
|
}
|