@mui/x-data-grid-generator 6.0.0-alpha.13 → 6.0.0-alpha.14

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
@@ -3,6 +3,85 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 6.0.0-alpha.14
7
+
8
+ _Jan 5, 2023_
9
+
10
+ We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 📆 Add `SingleInputTimeRangeField` and `SingleInputDateTimeRangeField` components (#7186) @alexfauquette
13
+ - 🚀 Use grid for modifying pickers layout (#6900) @alexfauquette
14
+ - ✨ Improve field components editing experience (#7272) @flaviendelangle
15
+ - 💻 Multiple codemods
16
+ - 📚 Many documentation improvements
17
+ - 🐞 Bugfixes
18
+
19
+ ### `@mui/x-data-grid@v6.0.0-alpha.14` / `@mui/x-data-grid-pro@v6.0.0-alpha.14` / `@mui/x-data-grid-premium@v6.0.0-alpha.14`
20
+
21
+ #### Breaking changes
22
+
23
+ - [DataGrid] Set default `GridCellParams['value']` type to `unknown` (#6959) @cherniavskii
24
+
25
+ The default type of `GridCellParams['value']` was changed from `any` to `unknown`.
26
+
27
+ #### Changes
28
+
29
+ - [DataGrid] Fix flickering on mount (#7205) @cherniavskii
30
+ - [DataGrid] Fix selected text in cell input not being copied in Firefox (#6593) @cherniavskii
31
+ - [DataGrid] Invert generic parameters order (#6874) @DanailH
32
+ - [DataGrid] Remove legacy logic for `singleSelect` inside `GridFilterInputValue` (#7386) @m4theushw
33
+ - [DataGrid] Remove remaining props from legacy editing API (#7381) @m4theushw
34
+ - [DataGrid] Set default `GridCellParams['value']` type to `unknown` (#6959) @cherniavskii
35
+
36
+ ### `@mui/x-date-pickers@v6.0.0-alpha.14` / `@mui/x-date-pickers-pro@v6.0.0-alpha.14`
37
+
38
+ #### Breaking changes
39
+
40
+ - [fields] Rename the `input` slot of the fields to `textField` to avoid confusion (#7369) @flaviendelangle
41
+
42
+ #### Changes
43
+
44
+ - [fields] Add `SingleInputTimeRangeField` and `SingleInputDateTimeRangeField` components (#7186) @alexfauquette
45
+ - [fields] Improve editing (automatic section switch, allow letter editing in digit section, allow numeric editing in letter section) (#7272) @flaviendelangle
46
+ - [fields] Rename the `input` slot of the fields to `textField` to avoid confusion (#7369) @flaviendelangle
47
+ - [fields] Prevent date change on `TimeField` arrow edition (#7383) @flaviendelangle
48
+ - [pickers] Clean some JSDoc descriptions (#7384) @flaviendelangle
49
+ - [pickers] Remove redundant `variants` in theme augmentation (#7356) @LukasTy
50
+ - [pickers] Remove the `PaperContent` slot from the new pickers (#7342) @flaviendelangle
51
+ - [pickers] Use grid for modifying the layout (#6900) @alexfauquette
52
+
53
+ ### `@mui/x-codemod@v6.0.0-alpha.14`
54
+
55
+ #### Changes
56
+
57
+ - [codemod] Add new codemod for adapter import (#7348) @flaviendelangle
58
+ - [codemod] Add new codemod for the value prop renaming on the view components (#7338) @flaviendelangle
59
+ - [codemod] Reorganize codemods and add rename column menu components codemod (#7368) @MBilalShafi
60
+
61
+ ### Docs
62
+
63
+ - [docs] Add example to add back the mobile keyboard view (#7347) @flaviendelangle
64
+ - [docs] Cleanup the doc pages of the community pickers (#7339) @flaviendelangle
65
+ - [docs] Drop security fixes support for v4 (#7322) @oliviertassinari
66
+ - [docs] Fix `disablePast` and `disableFuture` definition swap (#7324) @alexfauquette
67
+ - [docs] Hide ad for paid docs pages (#7321) @oliviertassinari
68
+ - [docs] New page for `TimeClock` (#7280) @flaviendelangle
69
+ - [docs] Note the pickers breaking changes supported by the codemod (#7337) @flaviendelangle
70
+ - [docs] Redirect translated pages (#7341) @cherniavskii
71
+ - [docs] Reorganize v6 pickers migration guide (#7257) @flaviendelangle
72
+
73
+ ### Core
74
+
75
+ - [core] Apply eslint rule for React component @oliviertassinari
76
+ - [core] Apply title capitalization convention @oliviertassinari
77
+ - [core] Fix the product license reference name (#7367) @oliviertassinari
78
+ - [core] Order the slots alphabetically in the JSON files (#7349) @flaviendelangle
79
+ - [core] Remove blanklines in `_redirects` @oliviertassinari
80
+ - [core] Remove dead prettier config @oliviertassinari
81
+ - [core] Sync back with the mono repo (#7351) @oliviertassinari
82
+ - [core] Sync monorepo, fix layout scrollbar @oliviertassinari
83
+ - [core] Upgrade monorepo (#7307) @LukasTy
84
+
6
85
  ## 6.0.0-alpha.13
7
86
 
8
87
  _Dec 24, 2022_
@@ -1507,6 +1586,61 @@ You can find more information about the new api, including how to set those tran
1507
1586
  - [test] Skip tests for column pinning and dynamic row height (#5997) @m4theushw
1508
1587
  - [website] Improve security header @oliviertassinari
1509
1588
 
1589
+ ## 5.17.18
1590
+
1591
+ _Jan 5, 2023_
1592
+
1593
+ We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
1594
+
1595
+ - 🐞 Bugfixes
1596
+
1597
+ ### `@mui/x-data-grid@v5.17.18` / `@mui/x-data-grid-pro@v5.17.18` / `@mui/x-data-grid-premium@v5.17.18`
1598
+
1599
+ #### Changes
1600
+
1601
+ - [DataGrid] Fix rows not rendering properly after height change (#7376) @cherniavskii
1602
+ - [DataGrid] Fix selected text in cell input not being copied in Firefox (#7330) @cherniavskii
1603
+ - [DataGridPremium] Export row grouping column menu components (#7308) @cherniavskii
1604
+
1605
+ ### `@mui/x-date-pickers@v5.0.13` / `@mui/x-date-pickers-pro@v5.0.13`
1606
+
1607
+ #### Changes
1608
+
1609
+ - [pickers] Fix the product license reference name (#7367)
1610
+
1611
+ ### Docs
1612
+
1613
+ - [docs] Redirect translated pages (#7370) @cherniavskii
1614
+
1615
+ ### Core
1616
+
1617
+ - [core] Fix release date (#7314) @DanailH
1618
+ - [core] Fix the product license reference name (#7367) @oliviertassinari
1619
+ - [core] Upgrade monorepo (#7344) @cherniavskii
1620
+
1621
+ ## 5.17.17
1622
+
1623
+ _Dec 24, 2022_
1624
+
1625
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
1626
+
1627
+ - 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
1628
+ - 🐞 Bugfixes
1629
+
1630
+ ### `@mui/x-data-grid@v5.17.17` / `@mui/x-data-grid-pro@v5.17.17` / `@mui/x-data-grid-premium@v5.17.17`
1631
+
1632
+ #### Changes
1633
+
1634
+ - [DataGrid] Update Russian (ru-RU) locale (#7291) @VeceluXa
1635
+ - [DataGridPro] Use row ID as `key` of the detail panels (#7311) @m4theushw
1636
+ - [DataGridPremium] Fix `exceljs` import with parcel (#7285) @alexfauquette
1637
+
1638
+ ### `@mui/x-date-pickers@v5.0.12` / `@mui/x-date-pickers-pro@v5.0.12`
1639
+
1640
+ #### Changes
1641
+
1642
+ - [pickers] Improve Korean (ko-KR) locale (#7283) @hanbin9775
1643
+
1510
1644
  ## 5.17.16
1511
1645
 
1512
1646
  _Dec 16, 2022_
@@ -52,30 +52,30 @@ export declare const createFakeServer: (dataSetOptions?: Partial<UseDemoDataOpti
52
52
  pinnable?: boolean | undefined;
53
53
  sortComparator?: import("@mui/x-data-grid-pro").GridComparatorFn<any> | undefined;
54
54
  type?: string | undefined;
55
- valueOptions?: import("@mui/x-data-grid-pro").ValueOptions[] | ((params: import("@mui/x-data-grid-pro").GridValueOptionsParams<any>) => import("@mui/x-data-grid-pro").ValueOptions[]) | undefined;
55
+ valueOptions?: import("@mui/x-data-grid-pro").ValueOptions[] | ((params: import("@mui/x-data-grid-pro").GridValueOptionsParams<import("@mui/x-data-grid-pro").GridValidRowModel>) => import("@mui/x-data-grid-pro").ValueOptions[]) | undefined;
56
56
  align?: import("@mui/x-data-grid-pro").GridAlignment | undefined;
57
- valueGetter?: ((params: import("@mui/x-data-grid-pro").GridValueGetterParams<any, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => any) | undefined;
58
- valueSetter?: ((params: import("@mui/x-data-grid-pro").GridValueSetterParams<any, any>) => any) | undefined;
57
+ valueGetter?: ((params: import("@mui/x-data-grid-pro").GridValueGetterParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => any) | undefined;
58
+ valueSetter?: ((params: import("@mui/x-data-grid-pro").GridValueSetterParams<any, any>) => any) | ((params: import("@mui/x-data-grid-pro").GridValueSetterParams<import("@mui/x-data-grid-pro").GridValidRowModel, any>) => import("@mui/x-data-grid-pro").GridValidRowModel) | undefined;
59
59
  valueFormatter?: ((params: import("@mui/x-data-grid-pro").GridValueFormatterParams<any>) => any) | undefined;
60
- valueParser?: ((value: any, params?: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode> | undefined) => any) | undefined;
61
- cellClassName?: import("@mui/x-data-grid-pro").GridCellClassNamePropType | undefined;
62
- renderCell?: ((params: import("@mui/x-data-grid-pro").GridRenderCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
63
- renderEditCell?: ((params: import("@mui/x-data-grid-pro").GridRenderEditCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
60
+ valueParser?: ((value: any, params?: import("@mui/x-data-grid-pro").GridCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNode> | undefined) => any) | undefined;
61
+ cellClassName?: string | import("@mui/x-data-grid-pro").GridCellClassFn<import("@mui/x-data-grid-pro").GridValidRowModel, any> | undefined;
62
+ renderCell?: ((params: import("@mui/x-data-grid-pro").GridRenderCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
63
+ renderEditCell?: ((params: import("@mui/x-data-grid-pro").GridRenderEditCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNodeWithRender>) => React.ReactNode) | undefined;
64
64
  preProcessEditCellProps?: ((params: import("@mui/x-data-grid-pro").GridPreProcessEditCellProps<any, any>) => import("@mui/x-data-grid-pro").GridEditCellProps<any> | Promise<import("@mui/x-data-grid-pro").GridEditCellProps<any>>) | undefined;
65
65
  headerClassName?: import("@mui/x-data-grid-pro").GridColumnHeaderClassNamePropType | undefined;
66
- renderHeader?: ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | undefined;
66
+ renderHeader?: ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<any, any, any>) => React.ReactNode) | ((params: import("@mui/x-data-grid-pro").GridColumnHeaderParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any>) => React.ReactNode) | undefined;
67
67
  headerAlign?: import("@mui/x-data-grid-pro").GridAlignment | undefined;
68
68
  hideSortIcons?: boolean | undefined;
69
69
  disableColumnMenu?: boolean | undefined;
70
70
  filterable?: boolean | undefined;
71
- filterOperators?: GridFilterOperator<any, any, any>[] | undefined;
72
- getApplyQuickFilterFn?: ((value: any, colDef: import("@mui/x-data-grid/internals").GridStateColDef<any, any, any>, apiRef: React.MutableRefObject<import("@mui/x-data-grid/internals").GridApiCommunity>) => ((params: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => boolean) | null) | undefined;
71
+ filterOperators?: GridFilterOperator<any, any, any>[] | GridFilterOperator<import("@mui/x-data-grid-pro").GridValidRowModel, any, any>[] | undefined;
72
+ getApplyQuickFilterFn?: ((value: any, colDef: import("@mui/x-data-grid/internals").GridStateColDef<any, any, any>, apiRef: React.MutableRefObject<import("@mui/x-data-grid/internals").GridApiCommunity>) => ((params: import("@mui/x-data-grid-pro").GridCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => boolean) | null) | undefined;
73
73
  disableReorder?: boolean | undefined;
74
74
  disableExport?: boolean | undefined;
75
- colSpan?: number | ((params: import("@mui/x-data-grid-pro").GridCellParams<any, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => number | undefined) | undefined;
75
+ colSpan?: number | ((params: import("@mui/x-data-grid-pro").GridCellParams<import("@mui/x-data-grid-pro").GridValidRowModel, any, any, import("@mui/x-data-grid-pro").GridTreeNode>) => number | undefined) | undefined;
76
76
  aggregable?: boolean | undefined;
77
77
  availableAggregationFunctions?: string[] | undefined;
78
- groupingValueGetter?: ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<any, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | undefined;
78
+ groupingValueGetter?: ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<any, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | ((params: import("@mui/x-data-grid-premium").GridGroupingValueGetterParams<import("@mui/x-data-grid-pro").GridValidRowModel, any>) => import("@mui/x-data-grid-pro").GridKeyValue | null | undefined) | undefined;
79
79
  extendType?: import("@mui/x-data-grid-pro").GridNativeColTypes | undefined;
80
80
  }[];
81
81
  initialState: {
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
- /** @license MUI v6.0.0-alpha.13
1
+ /** @license MUI X v6.0.0-alpha.14
2
2
  *
3
- * This source code is licensed under the MIT license found in the
3
+ * This source code is licensed under the commercial license found in the
4
4
  * LICENSE file in the root directory of this source tree.
5
5
  */
6
6
  export * from './renderer';
package/legacy/index.js CHANGED
@@ -1,6 +1,6 @@
1
- /** @license MUI v6.0.0-alpha.13
1
+ /** @license MUI X v6.0.0-alpha.14
2
2
  *
3
- * This source code is licensed under the MIT license found in the
3
+ * This source code is licensed under the commercial license found in the
4
4
  * LICENSE file in the root directory of this source tree.
5
5
  */
6
6
  export * from './renderer';
package/modern/index.js CHANGED
@@ -1,6 +1,6 @@
1
- /** @license MUI v6.0.0-alpha.13
1
+ /** @license MUI X v6.0.0-alpha.14
2
2
  *
3
- * This source code is licensed under the MIT license found in the
3
+ * This source code is licensed under the commercial license found in the
4
4
  * LICENSE file in the root directory of this source tree.
5
5
  */
6
6
  export * from './renderer';
package/node/index.js CHANGED
@@ -1,6 +1,6 @@
1
- /** @license MUI v6.0.0-alpha.13
1
+ /** @license MUI X v6.0.0-alpha.14
2
2
  *
3
- * This source code is licensed under the MIT license found in the
3
+ * This source code is licensed under the commercial license found in the
4
4
  * LICENSE file in the root directory of this source tree.
5
5
  */
6
6
  "use strict";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-data-grid-generator",
3
- "version": "6.0.0-alpha.13",
3
+ "version": "6.0.0-alpha.14",
4
4
  "description": "Generate fake data for demo purposes only.",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -19,9 +19,9 @@
19
19
  "directory": "packages/grid/x-data-grid-generator"
20
20
  },
21
21
  "dependencies": {
22
- "@babel/runtime": "^7.20.6",
23
- "@mui/base": "^5.0.0-alpha.109",
24
- "@mui/x-data-grid-premium": "6.0.0-alpha.13",
22
+ "@babel/runtime": "^7.20.7",
23
+ "@mui/base": "^5.0.0-alpha.112",
24
+ "@mui/x-data-grid-premium": "6.0.0-alpha.14",
25
25
  "chance": "^1.1.9",
26
26
  "clsx": "^1.2.1",
27
27
  "lru-cache": "^7.14.1"
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderEditCurrency(params: GridRenderEditCellParams<string>): JSX.Element;
3
+ export declare function renderEditCurrency(params: GridRenderEditCellParams<any, string>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderEditIncoterm(params: GridRenderEditCellParams<string | null>): JSX.Element;
3
+ export declare function renderEditIncoterm(params: GridRenderEditCellParams<any, string | null>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderEditProgress(params: GridRenderEditCellParams<number>): JSX.Element;
3
+ export declare function renderEditProgress(params: GridRenderEditCellParams<any, number>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderEditRating(params: GridRenderEditCellParams<number>): JSX.Element;
3
+ export declare function renderEditRating(params: GridRenderEditCellParams<any, number>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderEditCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderEditStatus(params: GridRenderEditCellParams<string>): JSX.Element;
3
+ export declare function renderEditStatus(params: GridRenderEditCellParams<any, string>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderEmail(params: GridRenderCellParams<string, any, any>): JSX.Element;
3
+ export declare function renderEmail(params: GridRenderCellParams<any, string, any>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderIncoterm(params: GridRenderCellParams<string | null, any, any>): JSX.Element;
3
+ export declare function renderIncoterm(params: GridRenderCellParams<any, string | null, any>): JSX.Element;
@@ -6,5 +6,5 @@ interface DemoLinkProps {
6
6
  tabIndex: number;
7
7
  }
8
8
  export declare const DemoLink: React.NamedExoticComponent<DemoLinkProps>;
9
- export declare function renderLink(params: GridRenderCellParams<string, any, any>): "" | JSX.Element;
9
+ export declare function renderLink(params: GridRenderCellParams<any, string, any>): "" | JSX.Element;
10
10
  export {};
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderPnl(params: GridRenderCellParams<number, any, any>): "" | JSX.Element;
3
+ export declare function renderPnl(params: GridRenderCellParams<any, number, any>): "" | JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderProgress(params: GridRenderCellParams<number, any, any>): "" | JSX.Element | null;
3
+ export declare function renderProgress(params: GridRenderCellParams<any, number, any>): "" | JSX.Element | null;
@@ -1,5 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { GridRenderCellParams, GridRowId } from '@mui/x-data-grid-premium';
3
- export declare function renderRating(params: GridRenderCellParams<number, {
4
- id: GridRowId;
5
- }, any>): "" | JSX.Element | null;
2
+ import { GridRenderCellParams } from '@mui/x-data-grid-premium';
3
+ export declare function renderRating(params: GridRenderCellParams<any, number, any>): "" | JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderStatus(params: GridRenderCellParams<string>): "" | JSX.Element;
3
+ export declare function renderStatus(params: GridRenderCellParams<any, string>): "" | JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { GridRenderCellParams } from '@mui/x-data-grid-premium';
3
- export declare function renderTotalPrice(params: GridRenderCellParams<number>): "" | JSX.Element | null;
3
+ export declare function renderTotalPrice(params: GridRenderCellParams<any, number>): "" | JSX.Element | null;