@siemens/ix-aggrid 5.0.1 → 5.1.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.
@@ -90,7 +90,6 @@ export declare const aggridIxThemeParams: {
90
90
  sideButtonsBarBackgroundColor: string;
91
91
  sideButtonHoverBackgroundColor: string;
92
92
  checkboxCheckedShapeColor: string;
93
- OddRowBackgroundColor: string;
94
93
  tabBackgroundColor: string;
95
94
  tabBorderColor: string;
96
95
  tabHoverBackgroundColor: string;
@@ -1,9 +1,15 @@
1
1
  import type AgGridCommunity from 'ag-grid-community';
2
+ export type IxThemeOptions = {
3
+ /**
4
+ * Enables alternating row background colors.
5
+ */
6
+ stripedRows?: boolean;
7
+ };
2
8
  type AgGridModule = {
3
9
  createPart: typeof AgGridCommunity.createPart;
4
10
  themeAlpine: typeof AgGridCommunity.themeAlpine;
5
11
  [key: string]: any;
6
12
  };
7
- declare const getIxTheme: (agModule: AgGridModule) => AgGridCommunity.Theme<AgGridCommunity.CoreParams & AgGridCommunity.ButtonStyleParams & AgGridCommunity.CheckboxStyleParams & AgGridCommunity.TabStyleParams & AgGridCommunity.InputStyleParams & {}>;
8
- declare const getIxThemeAsync: (importModule: () => Promise<AgGridModule> | AgGridModule) => Promise<AgGridCommunity.Theme<AgGridCommunity.CoreParams & AgGridCommunity.ButtonStyleParams & AgGridCommunity.CheckboxStyleParams & AgGridCommunity.TabStyleParams & AgGridCommunity.InputStyleParams & {}>>;
13
+ declare const getIxTheme: (agModule: AgGridModule, options?: IxThemeOptions) => AgGridCommunity.Theme<AgGridCommunity.CoreParams & AgGridCommunity.ButtonStyleParams & AgGridCommunity.CheckboxStyleParams & AgGridCommunity.TabStyleParams & AgGridCommunity.InputStyleParams & {}>;
14
+ declare const getIxThemeAsync: (importModule: () => Promise<AgGridModule> | AgGridModule, options?: IxThemeOptions) => Promise<AgGridCommunity.Theme<AgGridCommunity.CoreParams & AgGridCommunity.ButtonStyleParams & AgGridCommunity.CheckboxStyleParams & AgGridCommunity.TabStyleParams & AgGridCommunity.InputStyleParams & {}>>;
9
15
  export { getIxTheme, getIxThemeAsync };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "license": "MIT",
11
11
  "description": "AG Grid theme based on ix theme variables",
12
- "version": "5.0.1",
12
+ "version": "5.1.0",
13
13
  "files": [
14
14
  "LICENSE",
15
15
  "README.md",
@@ -29,7 +29,7 @@
29
29
  "@playwright/test": "^1.58.1",
30
30
  "@rollup/plugin-node-resolve": "^16.0.1",
31
31
  "@rollup/plugin-typescript": "^8.5.0",
32
- "@siemens/ix-icons": "^3.3.0",
32
+ "@siemens/ix-icons": "^3.5.0",
33
33
  "@types/node": "^24.0.3",
34
34
  "ag-grid-community-35": "npm:ag-grid-community@^35.0.0",
35
35
  "ag-grid-community-34": "npm:ag-grid-community@^34.3.0",
@@ -40,7 +40,7 @@
40
40
  "rollup": "^4.43.0",
41
41
  "typescript": "^5.8.3",
42
42
  "vite": "7.3.5",
43
- "@siemens/ix": "5.1.0"
43
+ "@siemens/ix": "5.2.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@siemens/ix": "^5.0.0",