@mui/x-data-grid-generator 8.11.3 → 8.12.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/CHANGELOG.md CHANGED
@@ -5,6 +5,175 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.12.1
9
+
10
+ _Sep 25, 2025_
11
+
12
+ Release highlight ✨:
13
+
14
+ - 🐞 Hotfix for Grid-Charts integration issue with aggregated values
15
+
16
+ ### Data Grid
17
+
18
+ #### `@mui/x-data-grid@8.12.1`
19
+
20
+ Internal changes.
21
+
22
+ #### `@mui/x-data-grid-pro@8.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
23
+
24
+ Same changes as in `@mui/x-data-grid@8.12.1`.
25
+
26
+ #### `@mui/x-data-grid-premium@8.12.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
27
+
28
+ Same changes as in `@mui/x-data-grid-pro@8.12.1`, plus:
29
+
30
+ - [DataGridPremium] Collect aggregated values properly for the charts integration context (#19714) @arminmeh
31
+
32
+ ## 8.12.0
33
+
34
+ _Sep 25, 2025_
35
+
36
+ We'd like to extend a big thank you to the 15 contributors who made this release possible. Here are some highlights ✨:
37
+
38
+ - 🤝 Grid-Charts integration
39
+
40
+ ![Grid x Charts](https://github.com/user-attachments/assets/0817c36f-f87f-4688-8f30-fa0db638ca8c)
41
+
42
+ 👉 [🎥 Watch the full video](https://github.com/user-attachments/assets/28f1848e-dc85-4077-8756-a3e88afd4e54)
43
+
44
+ - ⌨️ Charts keyboard navigation
45
+ - ⚡️ Charts: Add new `renderer="svg-batch"` prop to Scatter charts that provides improved performance for large datasets
46
+ - 🐞 Bugfixes
47
+ - 📚 Documentation improvements
48
+ - 🧰 Codemod requires Node >=20.19
49
+
50
+ `@mui/x-codemod` minimum supported Node version is `20.19`.
51
+ This was only the case due to using the v18 `yargs` package; this now explicitly aligns with it. (#18979)
52
+
53
+ Special thanks go out to the community members for their valuable contributions:
54
+ @deade1e, @sai6855, @thomas-mcdonald
55
+
56
+ The following are all team members who have contributed to this release:
57
+ @alexfauquette, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @LukasTy, @michelengelen, @prakhargupta1, @rita-codes, @siriwatknp, @arminmeh, @romgrk
58
+
59
+ ### Data Grid
60
+
61
+ #### `@mui/x-data-grid@8.12.0`
62
+
63
+ - [DataGrid] Fix flex column width diff calculation while resizing (#19667) @arminmeh
64
+
65
+ #### `@mui/x-data-grid-pro@8.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
66
+
67
+ Same changes as in `@mui/x-data-grid@8.12.0`.
68
+
69
+ #### `@mui/x-data-grid-premium@8.12.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
70
+
71
+ Same changes as in `@mui/x-data-grid-pro@8.12.0`, plus:
72
+
73
+ - [DataGridPremium] Grid-Charts integration (#18021) @arminmeh
74
+ - [DataGridPremium] Fix sorting and filtering of the tree group columns with aggregation (#19607) @arminmeh
75
+ - [DataGridPremium] Disable aggregation on the grouping column by default (#19692) @arminmeh
76
+ - [DataGridPremium] Do not rely on the group separation constant to retrieve the column name for the charts panel (#19677) @arminmeh
77
+ - [DataGridPremium] Fix stale aggregation state (#19690) @arminmeh
78
+ - [DataGridPremium] Fix pivot column being hidden on autosizing (#19699) @cherniavskii
79
+
80
+ ### Date and Time Pickers
81
+
82
+ #### `@mui/x-date-pickers@8.12.0`
83
+
84
+ - [pickers] Ensure reference value is not updated for invalid values (#19635) @michelengelen
85
+ - [pickers] Fix `slotProps.textField.slotProps.htmlInput` resolution (#19713) @LukasTy
86
+ - [pickers] Preserve time format when using single column layout on Time Range Picker (#19626) @sai6855
87
+ - [pickers] Preserve time format when using single column layout on Date Time Picker and Date Time Range Picker (#19608) @sai6855
88
+
89
+ #### `@mui/x-date-pickers-pro@8.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
90
+
91
+ Same changes as in `@mui/x-date-pickers@8.12.0`.
92
+
93
+ ### Charts
94
+
95
+ #### `@mui/x-charts@8.12.0`
96
+
97
+ - [charts] Add batch renderer for scatter chart (#19075) @bernardobelchior
98
+ - [charts] Add renderer suffix to performance benchmarks (#19620) @bernardobelchior
99
+ - [charts] Document how plugins can be used (#19343) @alexfauquette
100
+ - [charts] Export chart plugins per series type (#19337) @alexfauquette
101
+ - [charts] Export plugins (#19335) @alexfauquette
102
+ - [charts] Fix horizontal layout and toolbar (#19655) @alexfauquette
103
+ - [charts] Fix performance issue with JS animations (#19606) @bernardobelchior
104
+ - [charts] Fix piecewise scale causing wrong colors in axis with min/max (#19610) @bernardobelchior
105
+ - [charts] Fix zoom discard inconsistency (#19535) @bernardobelchior
106
+ - [charts] Introduce keyboard navigation (#19155) @alexfauquette
107
+ - [charts] Refactor `getAxisExtremum` (#19627) @bernardobelchior
108
+ - [charts] Remove unused code path from `getAxisScale` (#19673) @bernardobelchior
109
+ - [charts] Make new hideLegend prop on ChartWrapper optional (#19694) @thomas-mcdonald
110
+ - [charts] Fix chart crash in test environment (#19711) @JCQuintas
111
+
112
+ #### `@mui/x-charts-pro@8.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
113
+
114
+ Same changes as in `@mui/x-charts@8.12.0`, plus:
115
+
116
+ - [charts-pro] Add `valueFormatter` to sankey (#19636) @JCQuintas
117
+ - [charts-pro] Allow `source/target` keywords in sankey link color (#19634) @JCQuintas
118
+ - [charts-pro] Allow exporting `SankeyChart` (#19659) @JCQuintas
119
+ - [charts-pro] Fix axis inversion when using axis `max` and `filterMode: 'discard'` (#19200) @bernardobelchior
120
+
121
+ #### `@mui/x-charts-premium@8.12.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
122
+
123
+ Same changes as in `@mui/x-charts-pro@8.12.0`, plus:
124
+
125
+ - [charts-premium] Grid-Charts integration (#18021) @arminmeh
126
+
127
+ ### Tree View
128
+
129
+ #### `@mui/x-tree-view@8.12.0`
130
+
131
+ - [tree view] Allow to pass `null` to the icon slots (#19569) @flaviendelangle
132
+ - [tree view] Fix `apiRef.current.isItemExpanded()` method (#19619) @flaviendelangle
133
+
134
+ #### `@mui/x-tree-view-pro@8.12.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
135
+
136
+ Same changes as in `@mui/x-tree-view@8.12.0`.
137
+
138
+ ### Codemod
139
+
140
+ #### `@mui/x-codemod@8.12.0`
141
+
142
+ - [codemod] Bump `engines.node` to `>=20.19` to align with `yargs` package (#18979) @LukasTy
143
+
144
+ ### Docs
145
+
146
+ - [docs] Add missing label to Charts example (#19616) @prakhargupta1
147
+ - [docs] Replace axis type and axis data with a table (#19618) @prakhargupta1
148
+ - [docs] Add Charts example collection page (#18353) @prakhargupta1
149
+ - [docs] Add a Charts demo showcasing bar and scatter composition (#19605) @prakhargupta1
150
+ - [docs] Add composition Charts demo for legends and tooltip (#19602) @prakhargupta1
151
+ - [docs] Add recipe about server-side data export (#19617) @siriwatknp
152
+ - [docs] Clarify DataGrid layout requirements (#19413) @romgrk
153
+ - [docs] Fix `ExportServerSideData` demo layout shift (#19669) @siriwatknp
154
+ - [docs] Improve server-side `updateRow()` description (#19554) @deade1e
155
+ - [docs] Show how to customize drawing area background (#19682) @alexfauquette
156
+ - [docs] Add hook documentation pages (#19334) @Copilot
157
+
158
+ ### Core
159
+
160
+ - [code-infra] Add copilot instructions specific to x repo (#19623) @JCQuintas
161
+ - [code-infra] Load `tsx` files in visual regression (#19595) @JCQuintas
162
+ - [code-infra] Remove renovate automerge (#19501) @Janpot
163
+ - [code-infra] Update `DEFAULT_TIMESTAMP` format to ISO 8601 (#19624) @Janpot
164
+ - [code-infra] Update `findLatestTaggedVersion` to filter tags based on major version (#19693) @michelengelen
165
+ - [code-infra] Fix changelog generation for charts premium (#19701) @JCQuintas
166
+ - [code-infra] Run prettier on `createReleasePR.mjs` (#19702) @bernardobelchior
167
+ - [code-infra] Make `x-charts-premium` releasable (#18959) @JCQuintas
168
+ - [docs-infra] Ensure `create-playground` script only runs if target file is absent (#19603) @michelengelen
169
+ - [docs-infra] Add @prakhargupta1 as a codeowner of the docs (#19679) @alexfauquette
170
+
171
+ ### Miscellaneous
172
+
173
+ - [test] Reduce time for wheel zoom test (#19571) @alexfauquette
174
+ - Change `matchPackageNames` to `matchDepNames` for date-fns-v2 @Janpot
175
+ - Remove groupName for date-fns-v2 in renovate.json @Janpot
176
+
8
177
  ## 8.11.3
9
178
 
10
179
  _Sep 16, 2025_
@@ -27,11 +196,11 @@ The following are all team members who have contributed to this release:
27
196
  - [DataGrid] Fix numeric font size not being applied (#19552) @cherniavskii
28
197
  - [DataGrid] Improve `operator` types to display literal values (#19529) @siriwatknp
29
198
 
30
- #### `@mui/x-data-grid-pro@8.11.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
199
+ #### `@mui/x-data-grid-pro@8.11.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
31
200
 
32
201
  Same changes as in `@mui/x-data-grid@8.11.3`.
33
202
 
34
- #### `@mui/x-data-grid-premium@8.11.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link "Premium plan")
203
+ #### `@mui/x-data-grid-premium@8.11.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
35
204
 
36
205
  Same changes as in `@mui/x-data-grid-pro@8.11.3`.
37
206
 
@@ -41,7 +210,7 @@ Same changes as in `@mui/x-data-grid-pro@8.11.3`.
41
210
 
42
211
  - [pickers] Refactor `slots` and `slotProps` propagation strategy (#18867) @LukasTy
43
212
 
44
- #### `@mui/x-date-pickers-pro@8.11.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
213
+ #### `@mui/x-date-pickers-pro@8.11.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
45
214
 
46
215
  Same changes as in `@mui/x-date-pickers@8.11.3`.
47
216
 
@@ -55,7 +224,7 @@ Same changes as in `@mui/x-date-pickers@8.11.3`.
55
224
  - [charts] Rename `isBandScale` to `isDiscreteScale` (#19514) @bernardobelchior
56
225
  - [charts] Fix legend position affecting toolbar's position (#19257) @sai6855
57
226
 
58
- #### `@mui/x-charts-pro@8.11.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
227
+ #### `@mui/x-charts-pro@8.11.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
59
228
 
60
229
  Same changes as in `@mui/x-charts@8.11.3`, plus:
61
230
 
@@ -69,7 +238,7 @@ Same changes as in `@mui/x-charts@8.11.3`, plus:
69
238
  - [tree view] Support flat DOM structure (#19350) @flaviendelangle
70
239
  - [tree view] Update cursor styles for disabled TreeItem (#19548) @sai6855
71
240
 
72
- #### `@mui/x-tree-view-pro@8.11.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan")
241
+ #### `@mui/x-tree-view-pro@8.11.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
73
242
 
74
243
  Same changes as in `@mui/x-tree-view@8.11.3`.
75
244
 
@@ -83,7 +252,7 @@ Internal changes.
83
252
 
84
253
  - [docs] Add styling row group recipe (#19349) @siriwatknp
85
254
  - [docs] Group demos data into the dataset folder (#19549) @alexfauquette
86
- - [docs] Add `shiny` bar chart example at the top (#19416) @JCQuintas
255
+ - [docs] Add `shiny` bar chart example at the top (#19416) @JCQuintas
87
256
 
88
257
  ### Core
89
258
 
@@ -26,6 +26,7 @@ const getEmployeeColumns = () => [{
26
26
  filterable: false,
27
27
  groupable: false,
28
28
  aggregable: false,
29
+ chartable: false,
29
30
  disableExport: true
30
31
  }, {
31
32
  field: 'name',
@@ -20,6 +20,7 @@ export const getEmployeeColumns = () => [{
20
20
  filterable: false,
21
21
  groupable: false,
22
22
  aggregable: false,
23
+ chartable: false,
23
24
  disableExport: true
24
25
  }, {
25
26
  field: 'name',
@@ -52,6 +52,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
52
52
  groupingValueSetter?: import("@mui/x-data-grid-premium").GridGroupingValueSetter<any> | undefined;
53
53
  pastedValueParser?: import("@mui/x-data-grid-premium").GridPastedValueParser<any, any, any> | undefined;
54
54
  pivotable?: boolean;
55
+ chartable?: boolean;
55
56
  generateData?: (row: any, context: import("../index.js").GridDataGeneratorContext) => any;
56
57
  dataGeneratorUniquenessEnabled?: boolean;
57
58
  hide?: boolean;
@@ -104,6 +105,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
104
105
  groupingValueSetter?: import("@mui/x-data-grid-premium").GridGroupingValueSetter<any> | undefined;
105
106
  pastedValueParser?: import("@mui/x-data-grid-premium").GridPastedValueParser<any, any, any> | undefined;
106
107
  pivotable?: boolean;
108
+ chartable?: boolean;
107
109
  generateData?: (row: any, context: import("../index.js").GridDataGeneratorContext) => any;
108
110
  dataGeneratorUniquenessEnabled?: boolean;
109
111
  hide?: boolean;
@@ -158,6 +160,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
158
160
  groupingValueSetter?: import("@mui/x-data-grid-premium").GridGroupingValueSetter<any> | undefined;
159
161
  pastedValueParser?: import("@mui/x-data-grid-premium").GridPastedValueParser<any, any, any> | undefined;
160
162
  pivotable?: boolean;
163
+ chartable?: boolean;
161
164
  generateData?: (row: any, context: import("../index.js").GridDataGeneratorContext) => any;
162
165
  dataGeneratorUniquenessEnabled?: boolean;
163
166
  hide?: boolean;
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v8.11.3
2
+ * @mui/x-data-grid-generator v8.12.1
3
3
  *
4
4
  * @license UNLICENSED
5
5
  * This source code is licensed under the UNLICENSED license found in the
@@ -65,15 +65,11 @@ function EditStatus(props) {
65
65
  IconComponent = ReportProblemIcon;
66
66
  } else if (option === 'Open') {
67
67
  IconComponent = InfoIcon;
68
- } else if (option === 'PartiallyFilled') {
68
+ } else if (option === 'Partially Filled') {
69
69
  IconComponent = AutorenewIcon;
70
70
  } else if (option === 'Filled') {
71
71
  IconComponent = DoneIcon;
72
72
  }
73
- let label = option;
74
- if (option === 'PartiallyFilled') {
75
- label = 'Partially Filled';
76
- }
77
73
  return /*#__PURE__*/_jsxs(MenuItem, {
78
74
  value: option,
79
75
  children: [/*#__PURE__*/_jsx(ListItemIcon, {
@@ -84,7 +80,7 @@ function EditStatus(props) {
84
80
  fontSize: "small"
85
81
  })
86
82
  }), /*#__PURE__*/_jsx(ListItemText, {
87
- primary: label,
83
+ primary: option,
88
84
  sx: {
89
85
  overflow: 'hidden'
90
86
  }
@@ -43,7 +43,7 @@ const Status = /*#__PURE__*/React.memo(props => {
43
43
  icon = /*#__PURE__*/_jsx(InfoIcon, {
44
44
  className: "icon"
45
45
  });
46
- } else if (status === 'PartiallyFilled') {
46
+ } else if (status === 'Partially Filled') {
47
47
  icon = /*#__PURE__*/_jsx(AutorenewIcon, {
48
48
  className: "icon"
49
49
  });
@@ -52,15 +52,12 @@ const Status = /*#__PURE__*/React.memo(props => {
52
52
  className: "icon"
53
53
  });
54
54
  }
55
- let label = status;
56
- if (status === 'PartiallyFilled') {
57
- label = 'Partially Filled';
58
- }
55
+ const className = status.replace(' ', '');
59
56
  return /*#__PURE__*/_jsx(StyledChip, {
60
- className: status,
57
+ className: className,
61
58
  icon: icon,
62
59
  size: "small",
63
- label: label,
60
+ label: status,
64
61
  variant: "outlined"
65
62
  });
66
63
  });
@@ -1,6 +1,6 @@
1
1
  import { blue, green, lightBlue, orange, pink, purple, red } from '@mui/material/colors';
2
2
  export const COLORS = [pink[500], blue[500], orange[500], red[500], green[500], lightBlue[500], purple[500]];
3
- export const STATUS_OPTIONS = ['Open', 'PartiallyFilled', 'Filled', 'Rejected'];
3
+ export const STATUS_OPTIONS = ['Open', 'Partially Filled', 'Filled', 'Rejected'];
4
4
  export const TAXCODE_OPTIONS = ['BR', '1250L', '20G', 'BC45', 'IGN179'];
5
5
  export const RATE_TYPE_OPTIONS = ['Fixed', 'Floating'];
6
6
  export const CONTRACT_TYPE_OPTIONS = ['FP', 'TM', 'CR'];
@@ -52,6 +52,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
52
52
  groupingValueSetter?: import("@mui/x-data-grid-premium").GridGroupingValueSetter<any> | undefined;
53
53
  pastedValueParser?: import("@mui/x-data-grid-premium").GridPastedValueParser<any, any, any> | undefined;
54
54
  pivotable?: boolean;
55
+ chartable?: boolean;
55
56
  generateData?: (row: any, context: import("../index.js").GridDataGeneratorContext) => any;
56
57
  dataGeneratorUniquenessEnabled?: boolean;
57
58
  hide?: boolean;
@@ -104,6 +105,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
104
105
  groupingValueSetter?: import("@mui/x-data-grid-premium").GridGroupingValueSetter<any> | undefined;
105
106
  pastedValueParser?: import("@mui/x-data-grid-premium").GridPastedValueParser<any, any, any> | undefined;
106
107
  pivotable?: boolean;
108
+ chartable?: boolean;
107
109
  generateData?: (row: any, context: import("../index.js").GridDataGeneratorContext) => any;
108
110
  dataGeneratorUniquenessEnabled?: boolean;
109
111
  hide?: boolean;
@@ -158,6 +160,7 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
158
160
  groupingValueSetter?: import("@mui/x-data-grid-premium").GridGroupingValueSetter<any> | undefined;
159
161
  pastedValueParser?: import("@mui/x-data-grid-premium").GridPastedValueParser<any, any, any> | undefined;
160
162
  pivotable?: boolean;
163
+ chartable?: boolean;
161
164
  generateData?: (row: any, context: import("../index.js").GridDataGeneratorContext) => any;
162
165
  dataGeneratorUniquenessEnabled?: boolean;
163
166
  hide?: boolean;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v8.11.3
2
+ * @mui/x-data-grid-generator v8.12.1
3
3
  *
4
4
  * @license UNLICENSED
5
5
  * This source code is licensed under the UNLICENSED license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-generator",
3
- "version": "8.11.3",
3
+ "version": "8.12.1",
4
4
  "author": "MUI Team",
5
5
  "description": "Generate fake data for demo purposes only.",
6
6
  "license": "UNLICENSED",
@@ -25,10 +25,10 @@
25
25
  "chance": "^1.1.13",
26
26
  "clsx": "^2.1.1",
27
27
  "lru-cache": "^11.2.1",
28
- "@mui/x-data-grid-premium": "8.11.3",
29
- "@mui/x-data-grid-pro": "8.11.3",
30
- "@mui/x-internals": "8.11.3",
31
- "@mui/x-data-grid": "8.11.3"
28
+ "@mui/x-data-grid": "8.12.1",
29
+ "@mui/x-data-grid-premium": "8.12.1",
30
+ "@mui/x-data-grid-pro": "8.12.1",
31
+ "@mui/x-internals": "8.12.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@emotion/react": "^11.9.0",
@@ -73,15 +73,11 @@ function EditStatus(props) {
73
73
  IconComponent = _ReportProblem.default;
74
74
  } else if (option === 'Open') {
75
75
  IconComponent = _Info.default;
76
- } else if (option === 'PartiallyFilled') {
76
+ } else if (option === 'Partially Filled') {
77
77
  IconComponent = _Autorenew.default;
78
78
  } else if (option === 'Filled') {
79
79
  IconComponent = _Done.default;
80
80
  }
81
- let label = option;
82
- if (option === 'PartiallyFilled') {
83
- label = 'Partially Filled';
84
- }
85
81
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_MenuItem.default, {
86
82
  value: option,
87
83
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ListItemIcon.default, {
@@ -92,7 +88,7 @@ function EditStatus(props) {
92
88
  fontSize: "small"
93
89
  })
94
90
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ListItemText.default, {
95
- primary: label,
91
+ primary: option,
96
92
  sx: {
97
93
  overflow: 'hidden'
98
94
  }
@@ -51,7 +51,7 @@ const Status = /*#__PURE__*/React.memo(props => {
51
51
  icon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Info.default, {
52
52
  className: "icon"
53
53
  });
54
- } else if (status === 'PartiallyFilled') {
54
+ } else if (status === 'Partially Filled') {
55
55
  icon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Autorenew.default, {
56
56
  className: "icon"
57
57
  });
@@ -60,15 +60,12 @@ const Status = /*#__PURE__*/React.memo(props => {
60
60
  className: "icon"
61
61
  });
62
62
  }
63
- let label = status;
64
- if (status === 'PartiallyFilled') {
65
- label = 'Partially Filled';
66
- }
63
+ const className = status.replace(' ', '');
67
64
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledChip, {
68
- className: status,
65
+ className: className,
69
66
  icon: icon,
70
67
  size: "small",
71
- label: label,
68
+ label: status,
72
69
  variant: "outlined"
73
70
  });
74
71
  });
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.TAXCODE_OPTIONS = exports.STATUS_OPTIONS = exports.RATE_TYPE_OPTIONS = exports.INCOTERM_OPTIONS = exports.CURRENCY_OPTIONS = exports.COUNTRY_OPTIONS = exports.COUNTRY_ISO_OPTIONS_SORTED = exports.COUNTRY_ISO_OPTIONS = exports.CONTRACT_TYPE_OPTIONS = exports.COMMODITY_OPTIONS = exports.COLORS = void 0;
7
7
  var _colors = require("@mui/material/colors");
8
8
  const COLORS = exports.COLORS = [_colors.pink[500], _colors.blue[500], _colors.orange[500], _colors.red[500], _colors.green[500], _colors.lightBlue[500], _colors.purple[500]];
9
- const STATUS_OPTIONS = exports.STATUS_OPTIONS = ['Open', 'PartiallyFilled', 'Filled', 'Rejected'];
9
+ const STATUS_OPTIONS = exports.STATUS_OPTIONS = ['Open', 'Partially Filled', 'Filled', 'Rejected'];
10
10
  const TAXCODE_OPTIONS = exports.TAXCODE_OPTIONS = ['BR', '1250L', '20G', 'BC45', 'IGN179'];
11
11
  const RATE_TYPE_OPTIONS = exports.RATE_TYPE_OPTIONS = ['Fixed', 'Floating'];
12
12
  const CONTRACT_TYPE_OPTIONS = exports.CONTRACT_TYPE_OPTIONS = ['FP', 'TM', 'CR'];