Skip to content

Commit

Permalink
Merge pull request #469 from qgrid/9.1.0
Browse files Browse the repository at this point in the history
9.1.0
  • Loading branch information
qgrid authored May 27, 2020
2 parents be9e314 + 0edb23d commit ee43d55
Show file tree
Hide file tree
Showing 161 changed files with 1,640 additions and 990 deletions.
24 changes: 19 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
* Float rows navigation.
* Grouped rows navigation improvements.

## [9.1.0] - 2020-04-01
## [9.1.0] - 2020-05-26
### BREAKING
- q-grid is block element by default was inline.
- q-grid is block element by default, was inline.
- Rename edit state property from `state` to `status`.
- Selection state `key` property split into 2 `rowKey` and `columnKey`.
- Data state `id` property split into 2 `rowId` and `columnId`.
Expand All @@ -22,11 +22,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
- Instead of class q-grid-cell.key use q-grid-`the`-cell.key.
- Get rid of redundant spans in cell templates.
- Column pin `min` instead of `null`.
- Rename column `class` to `category`
- Rename column `class` to `category`.
- Remove `rowIndex`, `columnIndex`, `row`, `column` from navigation state.

### Added
- Ivy support.
- New scene status called `idle`, before the first render.
- Introduce canExecuteCheck for the command to explicitly update canExecute status.
- Extend plugin interface with `observe` and `observeReply` functions.
- Copy cell label to clipboard.
- New column type `datetime` that represents date and time.
- Possibility to change column filter template for the particular column.
- New way to access dynamic states like columnChooser, through the `resolve` method.
- Introduce pager `mode` that can be equal to `showRows` or `showPages` value.

### Changed
- Better plugin support.
Expand All @@ -35,10 +43,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
- All components got OnPush CDS.
- Better core types.
- Row details get focus on expand.
- Immutable model state to prevent event handling artifacts.
- Remove browser select.
- Optimize css styles for rendering performance and size.
- Pin `mid` instead of `null`.

### Fixed
- *ngIf for column component works.
- Fix row options icon is jumping on edit.
- Row resize algorithm.
- Better paddings for column filter and chooser.

## [9.0.1] - 2020-03-13
### Fixed
Expand Down Expand Up @@ -266,7 +280,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
- Need to change theme import from `import { ThemeModule } from 'ng2-qgrid'` to `import { ThemeModule } from 'ng2-qgrid/theme/material`

### Deprecated
- Use `FetchContext` `serach` property instead of `filter` property.
- Use `FetchContext` `search` property instead of `filter` property.
- Use `<q-grid caption="My Grid">` instead of `<q-grid header="My Grid">`.

### Added
Expand Down Expand Up @@ -431,7 +445,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)

### Fixed
* Array cell editor improvements.
* Fix minification in release script.
* Fix minimization in release script.
* Grid in grid support.

## [5.0.2] - 2017-12-22
Expand Down
4 changes: 4 additions & 0 deletions build.import.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ function fixProjectPaths(content, relativePath, fileName) {
.replace(/from\s+'@qgrid/g, () => {
console.log(`import.fix: replaced with '${relativePath}/@qgrid'"`);
return `from '${relativePath}/@qgrid`;
})
.replace(/from\s+"@qgrid/g, () => {
console.log(`import.fix: replaced with '${relativePath}/@qgrid'"`);
return `from "${relativePath}/@qgrid`;
});
}

Expand Down
2 changes: 1 addition & 1 deletion build.lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const PROJECTS_PATH = path.join(ROOT_PATH, 'projects');
const DIST_PATH = path.join(ROOT_PATH, 'dist');
const NG2_DIST_PATH = path.join(DIST_PATH, 'ng2-qgrid');

const OPTIONS = ['--prod'];
const OPTIONS = ['--prod', '--tsConfig=tsconfig.prod.json'];

async function main() {
await buildLib('ngx-qgrid', OPTIONS);
Expand Down
223 changes: 0 additions & 223 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion projects/assets/cell.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ th {
}

&.q-grid-date {
@include width(110px);
@include width(120px);
}

&.q-grid-datetime {
@include width(180px);
}

&.q-grid-group,
Expand Down
Loading

0 comments on commit ee43d55

Please sign in to comment.