@kanunilabs/pivotgrid-react 1.8.0 → 1.8.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 +2 -2
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +2 -2
- 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 +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -150,6 +150,15 @@ interface BasePivotGridProps<TRow> {
|
|
|
150
150
|
layout?: PivotLayoutState;
|
|
151
151
|
/** Custom theme configuration. */
|
|
152
152
|
theme?: PivotTheme;
|
|
153
|
+
/**
|
|
154
|
+
* A colour scheme by id — one of the 36 packaged ones (`'nord'`,
|
|
155
|
+
* `'graphite'`…, with `@kanunilabs/pivotgrid-react/themes/<id>.css` imported
|
|
156
|
+
* after `styles.css`) or your own from the Theme Builder. The same name as the
|
|
157
|
+
* DataGrid's `palette`, so one value colours both. Wins over `theme.id`.
|
|
158
|
+
*/
|
|
159
|
+
palette?: string;
|
|
160
|
+
/** The built-in dark look (the DataGrid's dark palette). A `palette` decides its own mode and wins. */
|
|
161
|
+
dark?: boolean;
|
|
153
162
|
/** Callback fired when the refresh button is clicked. */
|
|
154
163
|
onRefresh?: () => void;
|
|
155
164
|
/** Callback fired when data is imported via the UI. */
|
package/dist/index.d.ts
CHANGED
|
@@ -150,6 +150,15 @@ interface BasePivotGridProps<TRow> {
|
|
|
150
150
|
layout?: PivotLayoutState;
|
|
151
151
|
/** Custom theme configuration. */
|
|
152
152
|
theme?: PivotTheme;
|
|
153
|
+
/**
|
|
154
|
+
* A colour scheme by id — one of the 36 packaged ones (`'nord'`,
|
|
155
|
+
* `'graphite'`…, with `@kanunilabs/pivotgrid-react/themes/<id>.css` imported
|
|
156
|
+
* after `styles.css`) or your own from the Theme Builder. The same name as the
|
|
157
|
+
* DataGrid's `palette`, so one value colours both. Wins over `theme.id`.
|
|
158
|
+
*/
|
|
159
|
+
palette?: string;
|
|
160
|
+
/** The built-in dark look (the DataGrid's dark palette). A `palette` decides its own mode and wins. */
|
|
161
|
+
dark?: boolean;
|
|
153
162
|
/** Callback fired when the refresh button is clicked. */
|
|
154
163
|
onRefresh?: () => void;
|
|
155
164
|
/** Callback fired when data is imported via the UI. */
|