Skip to content

Commit 913905b

Browse files
authored
Merge pull request #13530 from IgniteUI/16.1.x
Mass Merging 16.1.x into master
2 parents d9f90cd + e06ecb8 commit 913905b

33 files changed

+937
-786
lines changed

CHANGELOG.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,15 @@ All notable changes for each version of this project will be documented in this
3737
- `IgxCombo`:
3838
- Exposed `comboIgnoreDiacriticsFilter` filter function which normalizes diacritics to their base representation.
3939
When the combo components are configured with it, filtering for **"resume"** will match both **"resume"** and **"résumé"**.
40+
- `IgxCombo`, `IgxSimpleCombo`
41+
- Added new property `displayValue` that returns array of display keys.
4042
- `IgxButtonGroup`:
4143
- Added `owner` to the `IButtonGroupEventArgs` to identify the emitting button group instance.
4244
- **Breaking Change** Added the `selectionMode` property that sets the selection mode of the buttons in the `IgxButtonGroup`. Selection modes are `single`, `singleRequired` and `multi` as default is `single`.
4345
- **Breaking Change** Deprecated the `multiSelection` property and all references have been migrated to `selectionMode="multi"`.
4446
- `Themes`:
4547
- Include a standalone theme for the `igxLabel` directive to allow usage with components outside the Input Group.
46-
47-
### General
48-
- `IgxStepper`:
49-
- **Breaking Change** The `IgxStepSubTitleDirective` has been renamed to `IgxStepSubtitleDirective`. Automatic migrations are available and will be applied on `ng update`.
50-
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
51-
- The `draggable` attribute is no longer required to be set on interactable elements, if a column header is templated and the Column Moving is enabled in order for handlers for any event to be triggered. Now `draggable='false'` can be used as an addition if the user shouldn't be able to drag a column by that element, but even if omitted `click` events for example will trigger now.
52-
- **Behavioral Change** When there are already grouped columns, the group drop area now shows after dragging of a column starts and not when only click actions are performed.
53-
- `IgxCombo`, `IgxSimpleCombo`:
54-
- **Breaking Change** The `selection` property returns an array of the selected items even when a value key is provided and the `value` property returns an array of value keys instead of display keys. Automatic migrations are available and will be applied on `ng update`.
55-
- **Deprecation** - The `DisplayDensityToken` injection token has been deprecated. Consequently, the `displayDensity` input for all components injecting the `DisplayDensityToken` is also deprecated. Changing the size of the component(s) should be done via a new custom CSS property - `--ig-size`;
48+
- Changing the size of Ignite UI components can now be done via a new custom CSS property - `--ig-size` . The `DisplayDensityToken` injection token and consequently, the `displayDensity` inputs for all components will be deprecated in the next major version and it is recommended that they no longer be used for sizing components.
5649
- Code example:
5750
```typescript
5851
// *.component.ts
@@ -78,9 +71,14 @@ All notable changes for each version of this project will be documented in this
7871
}
7972
```
8073

81-
### New Features
82-
- `IgxCombo`, `IgxSimpleCombo`
83-
- Added new property `displayValue` that returns array of display keys.
74+
### General
75+
- `IgxStepper`:
76+
- **Breaking Change** The `IgxStepSubTitleDirective` has been renamed to `IgxStepSubtitleDirective`. Automatic migrations are available and will be applied on `ng update`.
77+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
78+
- The `draggable` attribute is no longer required to be set on interactable elements, if a column header is templated and the Column Moving is enabled in order for handlers for any event to be triggered. Now `draggable='false'` can be used as an addition if the user shouldn't be able to drag a column by that element, but even if omitted `click` events for example will trigger now.
79+
- **Behavioral Change** When there are already grouped columns, the group drop area now shows after dragging of a column starts and not when only click actions are performed.
80+
- `IgxCombo`, `IgxSimpleCombo`:
81+
- **Breaking Change** The `selection` property returns an array of the selected items even when a value key is provided and the `value` property returns an array of value keys instead of display keys. Automatic migrations are available and will be applied on `ng update`.
8482

8583
## 16.0.0
8684

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ ng update igniteui-cli
196196
ng build igniteui-angular
197197
198198
// build the css
199-
npm run build:style
199+
npm run build:styles
200200
201201
// build them both
202202
npm run build:lib

gulpfile.js

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,24 @@
11
'use strict';
22

3-
const autoprefixer = require('autoprefixer');
43
const browserSync = require('browser-sync').create();
54
const del = require('del');
65
const gulp = require('gulp');
7-
const sass = require('gulp-sass')(require('sass'));
8-
const sourcemaps = require('gulp-sourcemaps');
9-
const postcss = require('gulp-postcss');
106
const process = require('process');
117
const fs = require('fs');
128
const argv = require('yargs').argv;
139
const sassdoc = require('sassdoc');
1410
const path = require('path');
15-
const EventEmitter = require('events').EventEmitter;
1611
const { series } = require('gulp');
1712
const { spawnSync } = require('child_process');
1813
const slash = require('slash');
1914

20-
const STYLES = {
21-
SRC: './projects/igniteui-angular/src/lib/core/styles/themes/presets/**/*',
22-
DIST: './dist/igniteui-angular/styles',
23-
MAPS: './maps',
24-
THEMING: {
25-
SRC: './projects/igniteui-angular/src/lib/core/styles/**/*',
26-
DIST: './dist/igniteui-angular/lib/core/styles'
27-
},
28-
CONFIG: {
29-
outputStyle: 'compressed',
30-
includePaths: ['node_modules']
31-
}
32-
};
33-
3415
const DOCS_OUTPUT_PATH = slash(path.join(__dirname, 'dist', 'igniteui-angular', 'docs'));
3516

3617
const TYPEDOC_THEME = {
3718
SRC: slash(path.join(__dirname, 'node_modules', 'ig-typedoc-theme', 'dist')),
3819
OUTPUT: slash(path.join(DOCS_OUTPUT_PATH, 'typescript'))
3920
};
4021

41-
module.exports.buildStyle = () => {
42-
const prefixer = postcss([autoprefixer({
43-
cascade: false,
44-
grid: true
45-
})]);
46-
47-
gulp.src(STYLES.THEMING.SRC)
48-
.pipe(gulp.dest(STYLES.THEMING.DIST));
49-
50-
const myEventEmitter = new EventEmitter();
51-
52-
return gulp.src(STYLES.SRC)
53-
.pipe(sourcemaps.init())
54-
.pipe(sass.sync(STYLES.CONFIG).on('error', err => {
55-
sass.logError.bind(myEventEmitter)(err);
56-
myEventEmitter.emit('end');
57-
process.exit(1);
58-
}))
59-
.pipe(prefixer)
60-
.pipe(sourcemaps.write(STYLES.MAPS))
61-
.pipe(gulp.dest(STYLES.DIST))
62-
};
63-
6422
module.exports.copyGitHooks = async (cb) => {
6523

6624
if (process.env.AZURE_PIPELINES || process.env.TRAVIS || process.env.CI || !fs.existsSync('.git')) {

0 commit comments

Comments
 (0)