Skip to content

Commit

Permalink
[core] Remove inconsistent blank lines (#12966)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored May 1, 2024
1 parent f6a832d commit 0a88646
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion packages/x-charts/src/BarChart/BarChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export interface BarChartProps
* @see See {@link https://mui.com/x/react-charts/tooltip/ tooltip docs} for more details.
*/
tooltip?: ChartsTooltipProps;

/**
* Option to display a cartesian grid in the background.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export interface GridDataGeneratorContext {

export type GridColDefGenerator = GridColDef & {
generateData?: (row: any, context: GridDataGeneratorContext) => any;

/**
* If `true`, each row will have a distinct value
* If several rows are generated with the same value, then a suffix will be added to the 2nd, 3rd, ...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export interface AddPathToDemoDataOptions {
* If not defined, the tree data will not be built
*/
groupingField?: string;

/**
* The depth of the tree
* @default 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,10 @@ export const createGroupingColDefForOneGroupingCriteria = ({
interface CreateGroupingColDefSeveralCriteriaParams {
apiRef: React.MutableRefObject<GridApiPremium>;
columnsLookup: GridColumnRawLookup;

/**
* The fields from which we are grouping the rows.
*/
rowGroupingModel: string[];

/**
* The col def properties the user wants to override.
* This value comes `prop.groupingColDef`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ export interface GridGroupingColDefOverride<R extends GridValidRowModel = any>
* @default The sorting and filtering is applied based on the leaf field in any, otherwise based on top level grouping criteria.
*/
mainGroupingCriteria?: string;

/**
* The field from which we want to render the leaves of the tree.
* Do not have any effect when building the tree with the `props.treeData` feature.
*/
leafField?: string;

/**
* If `true`, the grouping cells will not render the amount of descendants.
* @default false
Expand All @@ -37,7 +35,6 @@ export interface GridGroupingColDefOverrideParams {
* The name of the grouping algorithm currently building the grouping column.
*/
groupingName: string;

/**
* The fields of the columns from which we want to group the values on this new grouping column.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export interface GridFilterPanelProps
* @default false
*/
disableRemoveAllButton?: boolean;

/**
* @ignore - do not document.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const getDefaultGridFilterModel: () => GridFilterModel = () => ({

export interface GridFilterState {
filterModel: GridFilterModel;

/**
* Filtering status for each row.
* A row is filtered if it is passing the filters, whether its parents are expanded or not.
Expand Down
3 changes: 0 additions & 3 deletions packages/x-data-grid/src/models/api/gridCoreApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export interface GridCorePrivateApi<
* The generic event emitter manager.
*/
eventManager: EventManager;

/**
* The React ref of the grid main container div element.
*/
Expand All @@ -81,7 +80,6 @@ export interface GridCorePrivateApi<
* The React ref of the grid header filter row element.
*/
headerFiltersElementRef?: React.RefObject<HTMLDivElement>;

register: <
V extends 'public' | 'private',
T extends V extends 'public'
Expand All @@ -91,7 +89,6 @@ export interface GridCorePrivateApi<
visibility: V,
methods: T,
) => void;

/**
* Returns the public API.
* Can be useful on a feature hook if we want to pass the `apiRef` to a callback.
Expand Down
1 change: 0 additions & 1 deletion packages/x-date-pickers/src/PickersDay/PickersDay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export interface PickersDayProps<TDate extends PickerValidDate>
* @default false
*/
disabled?: boolean;

/**
* If `true`, days are rendering without margin. Useful for displaying linked range of days.
* @default false
Expand Down

0 comments on commit 0a88646

Please sign in to comment.