@siemens/ix-aggrid 5.0.1 → 6.0.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.
@@ -1,124 +1,121 @@
1
1
  export declare const aggridIxThemeParams: {
2
2
  accentColor: string;
3
- backgroundColor: string;
4
- headerColumnResizeHandleColor: string;
5
- foregroundColor: string;
6
- cellTextColor: string;
7
- headerCellHoverBackgroundColor: string;
8
- advancedFilterBuilderJoinPillColor: string;
3
+ advancedFilterBuilderButtonBarBorder: string;
9
4
  advancedFilterBuilderColumnPillColor: string;
5
+ advancedFilterBuilderJoinPillColor: string;
10
6
  advancedFilterBuilderOptionPillColor: string;
11
7
  advancedFilterBuilderValuePillColor: string;
12
- selectedRowBackgroundColor: string;
13
- rowHoverColor: string;
14
- columnHoverColor: string;
15
- rangeSelectionBackgroundColor: string;
16
- rangeSelectionHighlightColor: string;
8
+ backgroundColor: string;
17
9
  borderColor: string;
18
- headerBackgroundColor: string;
19
- tooltipBackgroundColor: string;
20
- oddRowBackgroundColor: string;
21
- sideBarBackgroundColor: string;
22
- invalidColor: string;
23
- checkboxUncheckedBorderColor: string;
24
- checkboxCheckedBackgroundColor: string;
25
- checkboxCheckedColor: string;
26
- rangeSelectionBorderColor: string;
27
- sideButtonSelectedBackgroundColor: string;
28
- sideButtonSelectedUnderlineColor: string;
29
- valueChangeDeltaUpColor: string;
30
- valueChangeDeltaDownColor: string;
31
- inputBackgroundColor: string;
32
- inputDisabledBackgroundColor: string;
33
- inputDisabledBorder: string;
34
- inputInvalidBorderColor: string;
35
- inputTextColor: string;
36
- inputDisabledTextColor: string;
10
+ buttonActiveBackgroundColor: string;
11
+ buttonActiveBorderColor: string;
12
+ buttonActiveTextColor: string;
37
13
  buttonBackgroundColor: string;
14
+ buttonBorder: string;
38
15
  buttonBorderColor: string;
39
- buttonTextColor: string;
40
16
  buttonDisabledBackgroundColor: string;
41
17
  buttonDisabledBorderColor: string;
42
18
  buttonDisabledTextColor: string;
43
19
  buttonHoverBackgroundColor: string;
44
20
  buttonHoverBorderColor: string;
45
21
  buttonHoverTextColor: string;
46
- buttonActiveBackgroundColor: string;
47
- buttonActiveBorderColor: string;
48
- buttonActiveTextColor: string;
49
- toggleButtonSwitchBackgroundColor: string;
50
- toggleButtonOffBackgroundColor: string;
51
- toggleButtonOnBackgroundColor: string;
52
- iconColor: string;
53
- menuBackgroundColor: string;
54
- sideButtonsBackgroundColor: string;
55
- footerRowBorderColor: string;
56
- pinnedRowBackgroundColor: string;
57
- inputDisabledBorderColor: string;
58
- dialogBorderColor: string;
59
- advancedFilterBuilderButtonBarBorderColor: string;
60
- columnDropCellBorderColor: string;
61
- pinnedColumnBackgroundColor: string;
62
- headerRowBorderColor: string;
63
- headerColumnBorderColor: string;
64
- cellEditingBorderColor: string;
65
- rowBorderColor: string;
66
- menuBorderColor: string;
67
- sidePanelBorderColor: string;
68
- checkboxUncheckedBackgroundColor: string;
69
- checkboxIndeterminateShapeColor: string;
22
+ buttonTextColor: string;
23
+ cellEditingBorder: string;
24
+ cellTextColor: string;
25
+ chartBackgroundColor: string;
26
+ checkboxCheckedBackgroundColor: string;
27
+ checkboxCheckedColor: string;
28
+ checkboxCheckedShapeColor: string;
70
29
  checkboxIndeterminateBackgroundColor: string;
71
- valueChangeValueHighlightBackgroundColor: string;
72
- columnDropCellDragHandleColor: string;
30
+ checkboxIndeterminateShapeColor: string;
31
+ checkboxUncheckedBackgroundColor: string;
32
+ checkboxUncheckedBorderColor: string;
33
+ columnBorder: string;
73
34
  columnDropCellBackgroundColor: string;
35
+ columnDropCellBorder: string;
36
+ columnDropCellDragHandleColor: string;
74
37
  columnDropCellTextColor: string;
75
- rowLoadingSkeletonEffectColor: string;
76
- statusBarLabelColor: string;
77
- statusBarValueColor: string;
38
+ columnHoverColor: string;
39
+ dialogBorder: string;
78
40
  dragAndDropImageBackgroundColor: string;
79
- inputIconColor: string;
41
+ dragAndDropImageBorder: string;
80
42
  dragHandleColor: string;
81
- iconButtonHoverBackgroundColor: string;
82
- iconButtonHoverColor: string;
83
- iconButtonColor: string;
43
+ footerRowBorder: string;
44
+ foregroundColor: string;
45
+ headerBackgroundColor: string;
46
+ headerCellHoverBackgroundColor: string;
47
+ headerColumnBorder: string;
48
+ headerColumnResizeHandleColor: string;
49
+ headerColumnResizeHandleHeight: string;
50
+ headerColumnResizeHandleWidth: string;
51
+ headerFontWeight: string;
52
+ headerRowBorder: string;
53
+ icon: string;
84
54
  iconButtonActiveBackgroundColor: string;
85
- iconButtonBackgroundColor: string;
86
55
  iconButtonActiveColor: string;
87
56
  iconButtonActiveIndicatorColor: string;
88
- subtleTextColor: string;
89
- advancedFilterBuilderButtonBarBorder: string;
90
- sideButtonsBarBackgroundColor: string;
57
+ iconButtonBackgroundColor: string;
58
+ iconButtonColor: string;
59
+ iconButtonHoverBackgroundColor: string;
60
+ iconButtonHoverColor: string;
61
+ iconColor: string;
62
+ inputBackgroundColor: string;
63
+ inputBorder: string;
64
+ inputDisabledBackgroundColor: string;
65
+ inputDisabledBorder: string;
66
+ inputDisabledBorderColor: string;
67
+ inputDisabledTextColor: string;
68
+ inputFocusBorder: string;
69
+ inputIconColor: string;
70
+ inputInvalidBorder: string;
71
+ inputInvalidBorderColor: string;
72
+ inputTextColor: string;
73
+ invalidColor: string;
74
+ menuBackgroundColor: string;
75
+ menuBorder: string;
76
+ menuShadow: string;
77
+ oddRowBackgroundColor: string;
78
+ panelTitleBarBorder: string;
79
+ pickerButtonBackgroundColor: string;
80
+ pickerListBackgroundColor: string;
81
+ pinnedColumnBackgroundColor: string;
82
+ pinnedColumnBorder: string;
83
+ pinnedRowBackgroundColor: string;
84
+ pinnedRowBorder: string;
85
+ rangeHeaderHighlightColor: string;
86
+ rangeSelectionBackgroundColor: string;
87
+ rangeSelectionBorderColor: string;
88
+ rangeSelectionHighlightColor: string;
89
+ rowBorder: string;
90
+ rowHoverColor: string;
91
+ rowLoadingSkeletonEffectColor: string;
92
+ selectCellBorder: string;
93
+ selectedRowBackgroundColor: string;
94
+ sideBarBackgroundColor: string;
91
95
  sideButtonHoverBackgroundColor: string;
92
- checkboxCheckedShapeColor: string;
93
- OddRowBackgroundColor: string;
96
+ sideButtonsBackgroundColor: string;
97
+ sideButtonsBarBackgroundColor: string;
98
+ sideButtonSelectedBackgroundColor: string;
99
+ sideButtonSelectedBorder: string;
100
+ sideButtonSelectedUnderlineColor: string;
101
+ sidePanelBorder: string;
102
+ statusBarLabelColor: string;
103
+ statusBarValueColor: string;
104
+ subtleTextColor: string;
94
105
  tabBackgroundColor: string;
95
- tabBorderColor: string;
96
- tabHoverBackgroundColor: string;
97
- columnBorderColor: string;
98
- selectCellBorderColor: string;
99
- dragAndDropImageBorderColor: string;
100
- tooltipBorderColor: string;
101
106
  tabBarBackgroundColor: string;
102
- tabSelectedUnderlineColor: string;
107
+ tabBarBorder: string;
108
+ tabHoverBackgroundColor: string;
103
109
  tabSelectedTextColor: string;
104
- 'borderColor 2': string;
105
- chartBackgroundColor: string;
106
- chartMenuLabelColor: string;
107
- menuShadow: string;
108
- headerColumnResizeHandleHeight: string;
109
- headerColumnResizeHandleWidth: string;
110
- icon: string;
110
+ tabSelectedUnderlineColor: string;
111
+ toggleButtonOffBackgroundColor: string;
112
+ toggleButtonOnBackgroundColor: string;
113
+ toggleButtonSwitchBackgroundColor: string;
114
+ toolPanelSeparatorBorder: string;
115
+ tooltipBackgroundColor: string;
111
116
  tooltipBorder: string;
112
- columnBorder: string;
113
- selectCellBorder: string;
117
+ valueChangeDeltaDownColor: string;
118
+ valueChangeDeltaUpColor: string;
119
+ valueChangeValueHighlightBackgroundColor: string;
114
120
  wrapperBorder: string;
115
- tabBarBorder: string;
116
- toolPanelSeparatorBorder: string;
117
- panelTitleBarBorder: string;
118
- sideButtonSelectedBorder: string;
119
- dragAndDropImageBorder: string;
120
- menuBorder: string;
121
- headerFontWeight: string;
122
- inputBorder: string;
123
- inputFocusBorder: string;
124
121
  };
@@ -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": "6.0.0",
13
13
  "files": [
14
14
  "LICENSE",
15
15
  "README.md",
@@ -25,26 +25,27 @@
25
25
  }
26
26
  },
27
27
  "devDependencies": {
28
- "@esbuild/linux-arm64": "0.27.2",
29
- "@playwright/test": "^1.58.1",
28
+ "@esbuild/linux-arm64": "0.28.1",
29
+ "@playwright/test": "^1.64.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",
33
- "@types/node": "^24.0.3",
32
+ "@siemens/ix-icons": "^4.0.0",
33
+ "@siemens/ix": "6.0.0",
34
+ "@types/node": "^24.19.2",
35
+ "ag-grid-community-36": "npm:ag-grid-community@^36.0.0",
34
36
  "ag-grid-community-35": "npm:ag-grid-community@^35.0.0",
35
37
  "ag-grid-community-34": "npm:ag-grid-community@^34.3.0",
36
38
  "ag-grid-community": "^33.3.2",
37
39
  "http-server": "^14.1.1",
38
40
  "rimraf": "^6.1.3",
39
- "rollup-plugin-import-css": "^4.2.0",
41
+ "rollup-plugin-import-css": "^4.2.1",
40
42
  "rollup": "^4.43.0",
41
43
  "typescript": "^5.8.3",
42
- "vite": "7.3.5",
43
- "@siemens/ix": "5.1.0"
44
+ "vite": "7.3.7"
44
45
  },
45
46
  "peerDependencies": {
46
- "@siemens/ix": "^5.0.0",
47
- "ag-grid-community": "^33 || ^34 || ^35"
47
+ "@siemens/ix": "^6.0.0",
48
+ "ag-grid-community": "^33 || ^34 || ^35 || ^36"
48
49
  },
49
50
  "scripts": {
50
51
  "build.watch": "rollup -c -w",