@kanunilabs/datagrid 1.6.0 → 1.8.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.
Files changed (45) hide show
  1. package/README.md +9 -1
  2. package/dist/datagrid.umd.js +8 -8
  3. package/dist/index.cjs +2 -2
  4. package/dist/index.d.cts +301 -6
  5. package/dist/index.d.ts +301 -6
  6. package/dist/index.js +2 -2
  7. package/dist/styles.css +699 -80
  8. package/dist/themes/all.css +1588 -0
  9. package/dist/themes/amber.css +41 -0
  10. package/dist/themes/aubergine.css +49 -0
  11. package/dist/themes/azure.css +41 -0
  12. package/dist/themes/burgundy.css +49 -0
  13. package/dist/themes/charcoal.css +49 -0
  14. package/dist/themes/contrast-dark.css +49 -0
  15. package/dist/themes/contrast-light.css +41 -0
  16. package/dist/themes/coral.css +41 -0
  17. package/dist/themes/corporate.css +41 -0
  18. package/dist/themes/deep-sea.css +49 -0
  19. package/dist/themes/editorial.css +41 -0
  20. package/dist/themes/ember.css +49 -0
  21. package/dist/themes/emerald.css +41 -0
  22. package/dist/themes/forest.css +49 -0
  23. package/dist/themes/glacier.css +41 -0
  24. package/dist/themes/graphite.css +49 -0
  25. package/dist/themes/indigo-night.css +49 -0
  26. package/dist/themes/indigo.css +41 -0
  27. package/dist/themes/ivory.css +41 -0
  28. package/dist/themes/lagoon.css +41 -0
  29. package/dist/themes/linen.css +41 -0
  30. package/dist/themes/midnight.css +49 -0
  31. package/dist/themes/mist.css +41 -0
  32. package/dist/themes/monochrome.css +41 -0
  33. package/dist/themes/onyx.css +49 -0
  34. package/dist/themes/orchid.css +41 -0
  35. package/dist/themes/porcelain.css +41 -0
  36. package/dist/themes/rose.css +41 -0
  37. package/dist/themes/sandstone.css +41 -0
  38. package/dist/themes/slate-night.css +49 -0
  39. package/dist/themes/slate.css +41 -0
  40. package/dist/themes/steel.css +49 -0
  41. package/dist/themes/stone.css +41 -0
  42. package/dist/themes/taupe.css +41 -0
  43. package/dist/themes/teal.css +41 -0
  44. package/dist/themes/terminal.css +49 -0
  45. 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: 'material', palette: 'indigo', density: 'compact', dark: true, /* ... */ });
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).