@devexpress/dx-react-grid-bootstrap3
Advanced tools
Comparing version 1.1.2 to 1.2.0-beta.1
@@ -168,2 +168,27 @@ import * as React from 'react'; | ||
// ------------------------------------------------------------------------------------------------- | ||
// TableBandHeader | ||
// ------------------------------------------------------------------------------------------------- | ||
import { | ||
TableBandHeader as TableBandHeaderBase, | ||
} from '@devexpress/dx-react-grid'; | ||
export interface TableBandHeaderProps { | ||
/** A component that renders a band cell. */ | ||
cellComponent?: React.ComponentType<TableBandHeaderBase.CellProps>; | ||
/** A component that renders a band cells' row. */ | ||
rowComponent?: React.ComponentType<TableBase.RowProps>; | ||
/** Specifies column bands for multi-level table header. */ | ||
columnBands?: Array<TableBandHeaderBase.ColumnBands>; | ||
} | ||
/** A plugin that renders the band cells. */ | ||
export declare const TableBandHeader: React.ComponentType<TableBandHeaderProps> & { | ||
/** A component that renders a band cell. */ | ||
Cell: React.ComponentType<React.ComponentType<TableBase.CellProps> & { [x: string]: any }>; | ||
/** A component that renders a band cells' row. */ | ||
Row: React.ComponentType<React.ComponentType<TableBase.RowProps> & { [x: string]: any }>; | ||
}; | ||
// ------------------------------------------------------------------------------------------------- | ||
// TableColumnReordering | ||
@@ -199,2 +224,4 @@ // ------------------------------------------------------------------------------------------------- | ||
columnWidths?: Array<TableColumnWidthInfo>; | ||
/** Specifies a column's minimum width. */ | ||
minColumnWidth?: number; | ||
/** Specifies initial column widths in uncontrolled mode. */ | ||
@@ -456,2 +483,43 @@ defaultColumnWidths?: Array<TableColumnWidthInfo>; | ||
// ------------------------------------------------------------------------------------------------- | ||
// TableTreeColumn | ||
// ------------------------------------------------------------------------------------------------- | ||
import { | ||
TableTreeColumn as TableTreeColumnBase, | ||
} from '@devexpress/dx-react-grid'; | ||
export interface TableTreeColumnProps { | ||
/** The name of a column that should be represented as a tree. */ | ||
for?: string; | ||
/** A component that renders a cell within a data row. */ | ||
cellComponent?: React.ComponentType<TableTreeColumnBase.CellProps>; | ||
/** A component that renders a cell's content. */ | ||
contentComponent?: React.ComponentType<TableTreeColumnBase.ContentProps>; | ||
/** A component that renders an indent used to identify a row level. */ | ||
indentComponent?: React.ComponentType<TableTreeColumnBase.IndentProps>; | ||
/** A component that renders a button that controls the row's expanded state. */ | ||
expandButtonComponent?: React.ComponentType<TableTreeColumnBase.ExpandButtonProps>; | ||
/** A component that renders a checkbox used to control selection. */ | ||
checkboxComponent?: React.ComponentType<TableTreeColumnBase.CheckboxProps>; | ||
/** Specifies whether to render selection controls. Requires the SelectionState dependency. */ | ||
showSelectionControls?: boolean; | ||
/** Specifies whether to render Select All checkbox. Requires the IntegratedSelection dependency. */ | ||
showSelectAll?: boolean; | ||
} | ||
/** A plugin that renders a table column with toggle button and sorting indicators. */ | ||
export declare const TableTreeColumn: React.ComponentType<TableTreeColumnProps> & { | ||
/** A component that renders a cell within a data row. */ | ||
Cell: React.ComponentType<TableTreeColumnBase.CellProps & { [x: string]: any }>; | ||
/** A component that renders a cell's content. */ | ||
Content: React.ComponentType<TableTreeColumnBase.ContentProps & { [x: string]: any }>; | ||
/** A component that renders an indent used to identify a row level. */ | ||
Indent: React.ComponentType<TableTreeColumnBase.IndentProps & { [x: string]: any }>; | ||
/** A component that renders a button used to controls a row's expanded state. */ | ||
ExpandButton: React.ComponentType<TableTreeColumnBase.ExpandButtonProps & { [x: string]: any }>; | ||
/** A component that renders a checkbox used to control selection. */ | ||
Checkbox: React.ComponentType<TableTreeColumnBase.CheckboxProps & { [x: string]: any }>; | ||
}; | ||
// ------------------------------------------------------------------------------------------------- | ||
// Table | ||
@@ -458,0 +526,0 @@ // ------------------------------------------------------------------------------------------------- |
{ | ||
"name": "@devexpress/dx-react-grid-bootstrap3", | ||
"version": "1.1.2", | ||
"version": "1.2.0-beta.1", | ||
"description": "Bootstrap 3 templates for DevExtreme React Grid component", | ||
@@ -45,14 +45,9 @@ "author": { | ||
}, | ||
"jest": { | ||
"setupFiles": [ | ||
"<rootDir>/setup-enzyme.js" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@devexpress/dx-grid-core": "1.1.2", | ||
"@devexpress/dx-react-core": "1.1.2", | ||
"@devexpress/dx-react-grid": "1.1.2", | ||
"@devexpress/dx-testing": "1.1.2", | ||
"@devexpress/dx-grid-core": "1.2.0-beta.1", | ||
"@devexpress/dx-react-core": "1.2.0-beta.1", | ||
"@devexpress/dx-react-grid": "1.2.0-beta.1", | ||
"@devexpress/dx-testing": "1.2.0-beta.1", | ||
"babel-core": "^6.26.0", | ||
"babel-jest": "^22.4.1", | ||
"babel-jest": "^22.4.3", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
@@ -63,14 +58,14 @@ "babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-react": "^6.24.1", | ||
"core-js": "^2.5.3", | ||
"core-js": "^2.5.4", | ||
"enzyme": "^3.3.0", | ||
"enzyme-adapter-react-16": "^1.1.1", | ||
"eslint": "^4.18.2", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-filenames": "^1.2.0", | ||
"eslint-plugin-import": "^2.9.0", | ||
"eslint-plugin-import": "^2.10.0", | ||
"eslint-plugin-jest": "^21.15.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-react": "^7.7.0", | ||
"jest": "^22.4.2", | ||
"jest": "^22.4.3", | ||
"react": "^16.2.0", | ||
@@ -90,5 +85,5 @@ "react-bootstrap": "^0.32.1", | ||
"peerDependencies": { | ||
"@devexpress/dx-grid-core": "1.1.2", | ||
"@devexpress/dx-react-core": "1.1.2", | ||
"@devexpress/dx-react-grid": "1.1.2", | ||
"@devexpress/dx-grid-core": "1.2.0-beta.1", | ||
"@devexpress/dx-react-core": "1.2.0-beta.1", | ||
"@devexpress/dx-react-grid": "1.2.0-beta.1", | ||
"react": "^16.2.0", | ||
@@ -95,0 +90,0 @@ "react-bootstrap": "^0.32.1" |
@@ -41,3 +41,3 @@ # DevExtreme React Grid Bootstrap3 | ||
This package provides components and plugins that implement Bootstrap 3 rendering for the React Grid, which you can use instead of the original React Grid package ones. | ||
This package provides components and plugins that implement Bootstrap 3 rendering for the React Grid, which you can use instead of ones in the original React Grid package. | ||
@@ -71,2 +71,3 @@ See [demos](https://devexpress.github.io/devextreme-reactive/react/grid/demos/) for more information. | ||
- [TableSelection](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-selection/) | ||
- [TableTreeColumn](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-tree-column/) | ||
- [Toolbar](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/toolbar/) | ||
@@ -73,0 +74,0 @@ - [VirtualTable](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/virtual-table/) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
480227
6703
77
1