Skip to content

Commit 1f61b04

Browse files
authored
Merge branch '19.0.x' into didimmova/fix-15093
2 parents c16cb7b + 4870b88 commit 1f61b04

File tree

6 files changed

+35
-6
lines changed

6 files changed

+35
-6
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master, 18.2.x, 17.2.x, 16.1.x, 15.1.x ]
16+
branches: [ master, 19.0.x, 18.2.x, 17.2.x, 16.1.x, 15.1.x ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master, 18.2.x, 17.2.x, 16.1.x, 15.1.x ]
19+
branches: [ master, 19.0.x, 18.2.x, 17.2.x, 16.1.x, 15.1.x ]
2020
schedule:
2121
- cron: '33 4 * * 4'
2222

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,27 @@ All notable changes for each version of this project will be documented in this
99
### New Features
1010
- `IgxColumn`
1111
- Introduced the `disabledSummaries` property, allowing users to specify which summaries should be disabled for a given column. This property accepts an array of strings corresponding to the summary keys, enabling selective control over both default summaries (e.g., 'Count', 'Min') and any custom summaries created by the user.
12+
- `Themes`
13+
- **Deprecation** The utility mixins `light-theme`, `dark-theme`, `bootstrap-light-theme`, `bootstrap-dark-theme`, `fluent-light-theme`, `fluent-dark-theme`, `indigo-light-theme`, and `indigo-dark-theme` have been deprecated and will be removed in version 20 of Ignite UI for Angular. Switch to the more generic `theme` mixin instead.
14+
Example:
15+
```scss
16+
$my-light-palette: palette(
17+
$primary: navy,
18+
$secondary: rebeccapurple,
19+
$surface: white,
20+
);
21+
22+
// Before:
23+
@include light-theme(
24+
$palette: $my-light-palette
25+
);
26+
27+
// After:
28+
@include theme(
29+
$palette: $my-light-palette,
30+
$schema: $light-material-schema,
31+
);
32+
```
1233

1334
## 18.2.0
1435
### General

projects/igniteui-angular/src/lib/core/styles/themes/generators/_base.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@
663663
/// @param {Map} $palette - An palette to be used by the global theme.
664664
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
665665
/// @see {mixin} theme
666+
/// @deprecated - Use the theme mixin instead.
666667
@mixin light-theme(
667668
$palette,
668669
$exclude: (),
@@ -672,7 +673,7 @@
672673
$gray: color($palette, 'gray');
673674
$surface: color($palette, 'surface');
674675

675-
$light-palette: palette(
676+
$_light-palette: palette(
676677
$primary: color($palette, 'primary'),
677678
$secondary: color($palette, 'secondary'),
678679
$info: color($palette, 'info'),
@@ -684,7 +685,7 @@
684685
);
685686

686687
@include theme(
687-
$palette: $light-material-palette,
688+
$palette: $_light-palette,
688689
$schema: $light-material-schema,
689690
$exclude: $exclude,
690691
$roundness: $roundness,
@@ -696,6 +697,7 @@
696697
/// @param {Map} $palette - An palette to be used by the global theme.
697698
/// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles.
698699
/// @see {mixin} theme
700+
/// @deprecated - Use the theme mixin instead.
699701
@mixin dark-theme(
700702
$palette,
701703
$exclude: (),
@@ -705,7 +707,7 @@
705707
$gray: color($palette, 'gray');
706708
$surface: color($palette, 'surface');
707709

708-
$dark-palette: palette(
710+
$_dark-palette: palette(
709711
$primary: color($palette, 'primary'),
710712
$secondary: color($palette, 'secondary'),
711713
$info: color($palette, 'info'),
@@ -717,7 +719,7 @@
717719
);
718720

719721
@include theme(
720-
$palette: $dark-material-palette,
722+
$palette: $_dark-palette,
721723
$schema: $dark-material-schema,
722724
$exclude: $exclude,
723725
$roundness: $roundness,

projects/igniteui-angular/src/lib/core/styles/themes/generators/_bootstrap.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
/// @param {Map} $palette - An palette to be used by the global theme.
1414
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
1515
/// @see {mixin} theme
16+
/// @deprecated - Use the theme mixin instead.
1617
@mixin bootstrap-light-theme(
1718
$palette,
1819
$exclude: (),
@@ -50,6 +51,7 @@
5051
/// @param {Map} $palette - An palette to be used by the global theme.
5152
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
5253
/// @see {mixin} theme
54+
/// @deprecated - Use the theme mixin instead.
5355
@mixin bootstrap-dark-theme(
5456
$palette,
5557
$exclude: (),

projects/igniteui-angular/src/lib/core/styles/themes/generators/_fluent.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
/// @param {Map} $palette - An palette to be used by the global theme.
1414
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
1515
/// @see {mixin} theme
16+
/// @deprecated - Use the theme mixin instead.
1617
@mixin fluent-light-theme(
1718
$palette,
1819
$exclude: (),
@@ -50,6 +51,7 @@
5051
/// @param {Map} $palette - An palette to be used by the global theme.
5152
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
5253
/// @see {mixin} theme
54+
/// @deprecated - Use the theme mixin instead.
5355
@mixin fluent-dark-theme(
5456
$palette,
5557
$exclude: (),

projects/igniteui-angular/src/lib/core/styles/themes/generators/_indigo.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
/// @param {Map} $palette - An palette to be used by the global theme.
1515
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
1616
/// @see {mixin} theme
17+
/// @deprecated - Use the theme mixin instead.
1718
@mixin indigo-light-theme(
1819
$palette,
1920
$exclude: (),
@@ -52,6 +53,7 @@
5253
/// @param {Map} $palette - An palette to be used by the global theme.
5354
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
5455
/// @see {mixin} theme
56+
/// @deprecated - Use the theme mixin instead.
5557
@mixin indigo-dark-theme(
5658
$palette,
5759
$exclude: (),

0 commit comments

Comments
 (0)