@kanunilabs/pivotgrid 1.5.0 → 1.6.1
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/index.cjs +3 -3
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +3 -3
- package/dist/pivotgrid.umd.js +9 -9
- package/dist/styles.css +49 -2
- package/dist/themes/all.css +72 -0
- package/dist/themes/amber.css +2 -0
- package/dist/themes/aubergine.css +2 -0
- package/dist/themes/azure.css +2 -0
- package/dist/themes/burgundy.css +2 -0
- package/dist/themes/charcoal.css +2 -0
- package/dist/themes/contrast-dark.css +2 -0
- package/dist/themes/contrast-light.css +2 -0
- package/dist/themes/coral.css +2 -0
- package/dist/themes/corporate.css +2 -0
- package/dist/themes/deep-sea.css +2 -0
- package/dist/themes/editorial.css +2 -0
- package/dist/themes/ember.css +2 -0
- package/dist/themes/emerald.css +2 -0
- package/dist/themes/forest.css +2 -0
- package/dist/themes/glacier.css +2 -0
- package/dist/themes/graphite.css +2 -0
- package/dist/themes/indigo-night.css +2 -0
- package/dist/themes/indigo.css +2 -0
- package/dist/themes/ivory.css +2 -0
- package/dist/themes/lagoon.css +2 -0
- package/dist/themes/linen.css +2 -0
- package/dist/themes/midnight.css +2 -0
- package/dist/themes/mist.css +2 -0
- package/dist/themes/monochrome.css +2 -0
- package/dist/themes/onyx.css +2 -0
- package/dist/themes/orchid.css +2 -0
- package/dist/themes/porcelain.css +2 -0
- package/dist/themes/rose.css +2 -0
- package/dist/themes/sandstone.css +2 -0
- package/dist/themes/slate-night.css +2 -0
- package/dist/themes/slate.css +2 -0
- package/dist/themes/steel.css +2 -0
- package/dist/themes/stone.css +2 -0
- package/dist/themes/taupe.css +2 -0
- package/dist/themes/teal.css +2 -0
- package/dist/themes/terminal.css +2 -0
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -177,6 +177,15 @@ interface PivotGridVanillaConfig<TRow = unknown> {
|
|
|
177
177
|
/** Controlled layout — same semantics as the React `layout` prop. */
|
|
178
178
|
layout?: PivotLayoutState;
|
|
179
179
|
theme?: PivotTheme;
|
|
180
|
+
/**
|
|
181
|
+
* A colour scheme by id — one of the 36 packaged ones (`'nord'`,
|
|
182
|
+
* `'graphite'`…, with `@kanunilabs/pivotgrid/themes/<id>.css` loaded after
|
|
183
|
+
* `styles.css`) or your own from the Theme Builder. The same name as the
|
|
184
|
+
* DataGrid's `palette`, so one value colours both. Wins over `theme.id`.
|
|
185
|
+
*/
|
|
186
|
+
palette?: string;
|
|
187
|
+
/** The built-in dark look (the DataGrid's dark palette). A `palette` decides its own mode and wins. */
|
|
188
|
+
dark?: boolean;
|
|
180
189
|
striped?: boolean;
|
|
181
190
|
/**
|
|
182
191
|
* Row rhythm: `'compact'` (24px rows, one size smaller type), `'normal'`
|
package/dist/index.d.ts
CHANGED
|
@@ -177,6 +177,15 @@ interface PivotGridVanillaConfig<TRow = unknown> {
|
|
|
177
177
|
/** Controlled layout — same semantics as the React `layout` prop. */
|
|
178
178
|
layout?: PivotLayoutState;
|
|
179
179
|
theme?: PivotTheme;
|
|
180
|
+
/**
|
|
181
|
+
* A colour scheme by id — one of the 36 packaged ones (`'nord'`,
|
|
182
|
+
* `'graphite'`…, with `@kanunilabs/pivotgrid/themes/<id>.css` loaded after
|
|
183
|
+
* `styles.css`) or your own from the Theme Builder. The same name as the
|
|
184
|
+
* DataGrid's `palette`, so one value colours both. Wins over `theme.id`.
|
|
185
|
+
*/
|
|
186
|
+
palette?: string;
|
|
187
|
+
/** The built-in dark look (the DataGrid's dark palette). A `palette` decides its own mode and wins. */
|
|
188
|
+
dark?: boolean;
|
|
180
189
|
striped?: boolean;
|
|
181
190
|
/**
|
|
182
191
|
* Row rhythm: `'compact'` (24px rows, one size smaller type), `'normal'`
|