@ricsam/react-spreadsheets 0.0.4 → 0.0.5
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/dist/cjs/package.json +1 -1
- package/dist/mjs/package.json +1 -1
- package/dist/styles.css +9 -3
- package/package.json +1 -1
package/dist/cjs/package.json
CHANGED
package/dist/mjs/package.json
CHANGED
package/dist/styles.css
CHANGED
|
@@ -50,7 +50,10 @@
|
|
|
50
50
|
* the helper classes. The media query below is the pre-resolution default.
|
|
51
51
|
*/
|
|
52
52
|
|
|
53
|
-
/* Default: follow the OS preference.
|
|
53
|
+
/* Default: follow the OS preference. `.rsp-root` is included so the grid still
|
|
54
|
+
themes correctly when the stylesheet is loaded into a shadow root or another
|
|
55
|
+
tree where `:root` is not an ancestor. Only the two switches are repeated —
|
|
56
|
+
never the tokens themselves (see below). */
|
|
54
57
|
:root,
|
|
55
58
|
.rsp-root {
|
|
56
59
|
--rsp-light: initial;
|
|
@@ -91,8 +94,11 @@
|
|
|
91
94
|
--rsp-dark: initial;
|
|
92
95
|
}
|
|
93
96
|
|
|
94
|
-
|
|
95
|
-
.rsp-root
|
|
97
|
+
/* Tokens are declared ONLY on `:root`, so a consumer can override any of them
|
|
98
|
+
from any ancestor of the grid. Repeating this block on `.rsp-root` would let
|
|
99
|
+
the built-in defaults beat an ancestor's override, because `.rsp-root` is the
|
|
100
|
+
closer element. */
|
|
101
|
+
:root {
|
|
96
102
|
/* Surfaces */
|
|
97
103
|
--rsp-bg: var(--rsp-light, #ffffff) var(--rsp-dark, #0f1523);
|
|
98
104
|
--rsp-surface: var(--rsp-light, #ffffff) var(--rsp-dark, #151c2c);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ricsam/react-spreadsheets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Headless-friendly React spreadsheet and workbook components: infinite virtualized grid, zoom, resizing, clipboard, fill handles and formula-engine bindings.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/mjs/lib.mjs",
|