@kanunilabs/datagrid 1.5.0 → 1.7.0
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 +9 -1
- package/dist/datagrid.umd.js +8 -8
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +33 -3
- package/dist/index.d.ts +33 -3
- package/dist/index.js +2 -2
- package/dist/styles.css +157 -74
- package/dist/themes/all.css +1588 -0
- package/dist/themes/amber.css +41 -0
- package/dist/themes/aubergine.css +49 -0
- package/dist/themes/azure.css +41 -0
- package/dist/themes/burgundy.css +49 -0
- package/dist/themes/charcoal.css +49 -0
- package/dist/themes/contrast-dark.css +49 -0
- package/dist/themes/contrast-light.css +41 -0
- package/dist/themes/coral.css +41 -0
- package/dist/themes/corporate.css +41 -0
- package/dist/themes/deep-sea.css +49 -0
- package/dist/themes/editorial.css +41 -0
- package/dist/themes/ember.css +49 -0
- package/dist/themes/emerald.css +41 -0
- package/dist/themes/forest.css +49 -0
- package/dist/themes/glacier.css +41 -0
- package/dist/themes/graphite.css +49 -0
- package/dist/themes/indigo-night.css +49 -0
- package/dist/themes/indigo.css +41 -0
- package/dist/themes/ivory.css +41 -0
- package/dist/themes/lagoon.css +41 -0
- package/dist/themes/linen.css +41 -0
- package/dist/themes/midnight.css +49 -0
- package/dist/themes/mist.css +41 -0
- package/dist/themes/monochrome.css +41 -0
- package/dist/themes/onyx.css +49 -0
- package/dist/themes/orchid.css +41 -0
- package/dist/themes/porcelain.css +41 -0
- package/dist/themes/rose.css +41 -0
- package/dist/themes/sandstone.css +41 -0
- package/dist/themes/slate-night.css +49 -0
- package/dist/themes/slate.css +41 -0
- package/dist/themes/steel.css +49 -0
- package/dist/themes/stone.css +41 -0
- package/dist/themes/taupe.css +41 -0
- package/dist/themes/teal.css +41 -0
- package/dist/themes/terminal.css +49 -0
- package/package.json +8 -6
package/README.md
CHANGED
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
</a>
|
|
32
32
|
</p>
|
|
33
33
|
|
|
34
|
+
<p align="center">
|
|
35
|
+
<img src="https://www.kanunilabs.com/npm/datagrid-themes.gif" width="800" alt="The DataGrid switching between light and dark colour schemes, one prop each" />
|
|
36
|
+
</p>
|
|
37
|
+
|
|
38
|
+
<p align="center">
|
|
39
|
+
<img src="https://www.kanunilabs.com/npm/datagrid-charts.gif" width="800" alt="The Enterprise DataGrid chart panel charting the grid's own data, one click per chart type" />
|
|
40
|
+
</p>
|
|
41
|
+
|
|
34
42
|
<p align="center">
|
|
35
43
|
<a href="https://www.kanunilabs.com/playground/datagrid/virtual-scrolling?renderer=js">Try it live</a> — a million rows in your browser. No signup, no install.
|
|
36
44
|
</p>
|
|
@@ -139,7 +147,7 @@ Without it, CSV export still works and the Excel path reports an actionable erro
|
|
|
139
147
|
Six themes × six palettes, light and dark, driven by config or by CSS custom properties on the host:
|
|
140
148
|
|
|
141
149
|
```js
|
|
142
|
-
createGrid(host, { theme: '
|
|
150
|
+
createGrid(host, { theme: 'elevated', palette: 'indigo', density: 'compact', dark: true, /* ... */ });
|
|
143
151
|
```
|
|
144
152
|
|
|
145
153
|
Full token list and the caveats (portalled popups, row height and the virtualizer) are in the [theming guide](https://www.kanunilabs.com/docs/datagrid/theming).
|