igniteui-angular 19.0.7 → 19.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/fesm2022/igniteui-angular.mjs +1895 -755
  2. package/fesm2022/igniteui-angular.mjs.map +1 -1
  3. package/lib/calendar/months-view/months-view.component.d.ts +0 -4
  4. package/lib/calendar/years-view/years-view.component.d.ts +0 -4
  5. package/lib/carousel/carousel-base.d.ts +2 -31
  6. package/lib/carousel/carousel.component.d.ts +12 -12
  7. package/lib/carousel/enums.d.ts +8 -0
  8. package/lib/carousel/slide.component.d.ts +3 -2
  9. package/lib/checkbox/checkbox.component.d.ts +5 -4
  10. package/lib/core/i18n/query-builder-resources.d.ts +22 -2
  11. package/lib/core/styles/components/avatar/_avatar-theme.scss +31 -1
  12. package/lib/core/styles/components/card/_card-theme.scss +1 -1
  13. package/lib/core/styles/components/carousel/_carousel-component.scss +4 -4
  14. package/lib/core/styles/components/carousel/_carousel-theme.scss +8 -4
  15. package/lib/core/styles/components/checkbox/_checkbox-component.scss +4 -8
  16. package/lib/core/styles/components/checkbox/_checkbox-theme.scss +3 -8
  17. package/lib/core/styles/components/chip/_chip-theme.scss +4 -2
  18. package/lib/core/styles/components/combo/_combo-theme.scss +10 -24
  19. package/lib/core/styles/components/grid/_excel-filtering-theme.scss +14 -16
  20. package/lib/core/styles/components/grid/_grid-theme.scss +34 -30
  21. package/lib/core/styles/components/input/_input-group-theme.scss +2 -5
  22. package/lib/core/styles/components/query-builder/_query-builder-component.scss +59 -44
  23. package/lib/core/styles/components/query-builder/_query-builder-theme.scss +325 -232
  24. package/lib/core/styles/components/radio/_radio-theme.scss +2 -0
  25. package/lib/core/styles/components/switch/_switch-theme.scss +2 -0
  26. package/lib/core/styles/components/tree/_tree-theme.scss +1 -7
  27. package/lib/core/styles/themes/generators/_base.scss +4 -6
  28. package/lib/core/styles/themes/generators/_bootstrap.scss +0 -2
  29. package/lib/core/styles/themes/generators/_fluent.scss +0 -2
  30. package/lib/core/styles/themes/generators/_indigo.scss +0 -2
  31. package/lib/core/utils.d.ts +0 -2
  32. package/lib/data-operations/filtering-condition.d.ts +16 -5
  33. package/lib/data-operations/filtering-expression.interface.d.ts +4 -1
  34. package/lib/data-operations/filtering-expressions-tree.d.ts +29 -3
  35. package/lib/directives/drag-drop/drag-drop.directive.d.ts +0 -1
  36. package/lib/grids/common/grid.interface.d.ts +13 -10
  37. package/lib/grids/filtering/advanced-filtering/advanced-filtering-dialog.component.d.ts +7 -0
  38. package/lib/grids/filtering/excel-style/excel-style-custom-dialog.component.d.ts +1 -4
  39. package/lib/grids/filtering/excel-style/excel-style-date-expression.component.d.ts +3 -1
  40. package/lib/grids/grid-base.directive.d.ts +2 -5
  41. package/lib/grids/pivot-grid/pivot-grid.component.d.ts +1 -1
  42. package/lib/grids/resizing/resizer.directive.d.ts +0 -2
  43. package/lib/grids/resizing/resizing.service.d.ts +2 -2
  44. package/lib/icon/icon.component.d.ts +17 -1
  45. package/lib/icon/icon.service.d.ts +4 -7
  46. package/lib/icon/types.d.ts +1 -3
  47. package/lib/input-group/input-group.component.d.ts +10 -8
  48. package/lib/query-builder/public_api.d.ts +3 -1
  49. package/lib/query-builder/query-builder-header.component.d.ts +1 -11
  50. package/lib/query-builder/query-builder-tree.component.d.ts +565 -0
  51. package/lib/query-builder/query-builder.component.d.ts +43 -303
  52. package/lib/query-builder/query-builder.directives.d.ts +22 -0
  53. package/lib/query-builder/query-builder.module.d.ts +2 -1
  54. package/lib/services/public_api.d.ts +0 -1
  55. package/lib/services/theme/theme.service.d.ts +27 -0
  56. package/migrations/update-18_2_0/changes/inputs.json +9 -0
  57. package/migrations/update-18_2_0/index.js +4 -0
  58. package/package.json +2 -2
  59. package/styles/igniteui-angular-dark.css +1 -1
  60. package/styles/igniteui-angular.css +1 -1
  61. package/styles/igniteui-bootstrap-dark.css +1 -1
  62. package/styles/igniteui-bootstrap-light.css +1 -1
  63. package/styles/igniteui-dark-green.css +1 -1
  64. package/styles/igniteui-fluent-dark-excel.css +1 -1
  65. package/styles/igniteui-fluent-dark-word.css +1 -1
  66. package/styles/igniteui-fluent-dark.css +1 -1
  67. package/styles/igniteui-fluent-light-excel.css +1 -1
  68. package/styles/igniteui-fluent-light-word.css +1 -1
  69. package/styles/igniteui-fluent-light.css +1 -1
  70. package/styles/igniteui-indigo-dark.css +1 -1
  71. package/styles/igniteui-indigo-light.css +1 -1
  72. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  73. package/styles/maps/igniteui-angular.css.map +1 -1
  74. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  75. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  76. package/styles/maps/igniteui-dark-green.css.map +1 -1
  77. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  78. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  79. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  80. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  81. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  82. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  83. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  84. package/styles/maps/igniteui-indigo-light.css.map +1 -1
  85. package/lib/services/theme/theme.token.d.ts +0 -24
@@ -1206,7 +1206,7 @@
1206
1206
  } @else {
1207
1207
  padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
1208
1208
 
1209
- igx-icon {
1209
+ %igx-icon-display {
1210
1210
  opacity: if($theme-variant == 'light', .75, .85);
1211
1211
 
1212
1212
  &:hover {
@@ -1460,12 +1460,12 @@
1460
1460
  } @else {
1461
1461
  padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
1462
1462
 
1463
- igx-icon {
1463
+ %igx-icon-display {
1464
1464
  opacity: if($theme-variant == 'light', .75, .85);
1465
1465
  }
1466
1466
 
1467
1467
  &:hover {
1468
- igx-icon {
1468
+ %igx-icon-display {
1469
1469
  opacity: 1;
1470
1470
  }
1471
1471
  }
@@ -2037,10 +2037,13 @@
2037
2037
  position: relative;
2038
2038
  display: flex;
2039
2039
 
2040
-
2041
- @if $variant != 'indigo' {
2042
- igx-icon {
2043
- --size: var(--igx-icon-size, #{rem(15px)});
2040
+ igx-icon {
2041
+ @if $variant == 'indigo' {
2042
+ --component-size: 2;
2043
+ } @else {
2044
+ width: var(--igx-icon-size, #{rem(15px)});
2045
+ height: var(--igx-icon-size, #{rem(15px)});
2046
+ font-size: var(--igx-icon-size, #{rem(15px)});
2044
2047
  }
2045
2048
  }
2046
2049
 
@@ -2146,7 +2149,7 @@
2146
2149
  %grid-excel-icon {
2147
2150
  color: var-get($theme, 'header-selected-text-color');
2148
2151
 
2149
- igx-icon {
2152
+ %igx-icon-display {
2150
2153
  color: var-get($theme, 'header-selected-text-color');
2151
2154
  }
2152
2155
 
@@ -2154,7 +2157,7 @@
2154
2157
  &:hover {
2155
2158
  color: var-get($theme, 'header-selected-text-color');
2156
2159
 
2157
- igx-icon {
2160
+ %igx-icon-display {
2158
2161
  color: var-get($theme, 'header-selected-text-color');
2159
2162
  }
2160
2163
  }
@@ -2498,7 +2501,7 @@
2498
2501
  }
2499
2502
 
2500
2503
  %igx-group-label__icon {
2501
- @at-root igx-icon#{&} {
2504
+ &.igx-icon {
2502
2505
  --component-size: #{if($variant == 'indigo', 2, 1)};
2503
2506
 
2504
2507
  color: var-get($theme, 'group-label-icon');
@@ -3194,24 +3197,32 @@
3194
3197
  @include excel-filtering($theme);
3195
3198
 
3196
3199
  %advanced-filtering-dialog {
3197
- background: var-get($theme, 'filtering-row-background');
3198
- box-shadow: elevation(if($variant == 'indigo', if($theme-variant == 'light', 24, 23), 12));
3200
+ $light-variant: contrast-color($color: 'gray', $variant: 900);
3201
+ $dark-variant: color($color: 'surface', $variant: 500);
3202
+ background: if($theme-variant == 'light', $light-variant, $dark-variant);
3203
+ box-shadow: elevation(if($variant == 'indigo', if($theme-variant == 'light', 24, 23), 24));
3204
+
3205
+ @if $variant == 'material' or $variant == 'bootstrap' {
3206
+ border-radius: rem(4px);
3207
+ }
3208
+
3209
+ @if $variant == 'fluent' {
3210
+ border-radius: rem(2px);
3211
+ }
3199
3212
 
3200
3213
  @if $variant == 'indigo' {
3201
3214
  border-radius: rem(10px);
3202
3215
  }
3203
3216
 
3204
3217
  igx-query-builder {
3205
- --igx-query-builder-background: #{var-get($theme, 'filtering-row-background')};
3206
- --igx-query-builder-background-and: #{var-get($theme, 'filtering-background-and')};
3207
- --igx-query-builder-background-and--focus: #{var-get($theme, 'filtering-background-and--focus')};
3208
- --igx-query-builder-background-or: #{var-get($theme, 'filtering-background-or')};
3209
- --igx-query-builder-background-or--focus: #{var-get($theme, 'filtering-background-or--focus')};
3218
+ //--igx-query-builder-background: #{var-get($theme, 'filtering-row-background')};
3219
+ //--igx-query-builder-background-and: #{var-get($theme, 'filtering-background-and')};
3220
+ //--igx-query-builder-background-and--focus: #{var-get($theme, 'filtering-background-and--focus')};
3221
+ //--igx-query-builder-background-or: #{var-get($theme, 'filtering-background-or')};
3222
+ //--igx-query-builder-background-or--focus: #{var-get($theme, 'filtering-background-or--focus')};
3210
3223
  box-shadow: none;
3211
-
3212
- @if $variant == 'indigo' {
3213
- border-radius: rem(10px);
3214
- }
3224
+ border: none;
3225
+ border-radius: inherit;
3215
3226
  }
3216
3227
 
3217
3228
  igx-query-builder-header {
@@ -3245,14 +3256,6 @@
3245
3256
  }
3246
3257
  }
3247
3258
 
3248
- igx-child-grid-row {
3249
- igx-child-grid-row {
3250
- %igx-grid__tr-action {
3251
- border-inline-end: var-get($theme, 'header-border-width') var-get($theme, 'header-border-style') var-get($theme, 'header-border-color');
3252
- }
3253
- }
3254
- }
3255
-
3256
3259
  // Pivot grid
3257
3260
  %igx-grid__pivot--super-compact {
3258
3261
  --ig-size: 1 !important;
@@ -3446,9 +3449,10 @@
3446
3449
  }
3447
3450
 
3448
3451
  @if $variant == 'indigo' {
3449
- igx-icon {
3452
+ %igx-icon-display {
3450
3453
  opacity: if($theme-variant == 'light', .75, .85);
3451
3454
 
3455
+
3452
3456
  &:hover {
3453
3457
  opacity: 1;
3454
3458
  cursor: pointer;
@@ -422,15 +422,12 @@
422
422
  }
423
423
 
424
424
  input,
425
- textarea {
425
+ textarea,
426
+ span {
426
427
  font: inherit;
427
428
  margin: 0;
428
429
  }
429
430
 
430
- span {
431
- font-family: inherit;
432
- }
433
-
434
431
  input[type='file'] {
435
432
  @include hide-default();
436
433
  }
@@ -4,10 +4,9 @@
4
4
  /// @access private
5
5
  /// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
6
6
  @mixin component {
7
- @include _builder-legend();
8
7
  @include _advanced-filtering-tree();
9
- @include _advanced-filtering-con-menu();
10
- @include _advanced-filtering-empty();
8
+ @include _query-builder-tree();
9
+ @include _query-builder-dialog();
11
10
 
12
11
  @include b(igx-query-builder) {
13
12
  $this: bem--selector-to-string(&);
@@ -30,36 +29,32 @@
30
29
  @extend %advanced-filter__header !optional;
31
30
  }
32
31
 
33
- @include e(main) {
34
- @extend %advanced-filter__main !optional;
32
+ @include e(title) {
33
+ @extend %advanced-filter__title !optional;
35
34
  }
36
35
 
37
- @include e(outlet) {
38
- @extend %advanced-filter__outlet !optional;
36
+ @include e(label) {
37
+ @extend %advanced-filter__label !optional;
39
38
  }
40
39
 
41
- @include m('inline') {
42
- @extend %advanced-filter--inline !optional;
40
+ @include e(main) {
41
+ @extend %advanced-filter__main !optional;
43
42
  }
44
- }
45
- }
46
43
 
47
- @mixin _builder-legend {
48
- @include b(igx-builder-legend) {
49
- @extend %filter-legend !optional;
44
+ @include e(root) {
45
+ @extend %advanced-filter__root !optional;
46
+ }
50
47
 
51
- @include e(item) {
52
- @extend %filter-legend__item !optional;
48
+ @include e(root-actions) {
49
+ @extend %advanced-filter__root-actions !optional;
53
50
  }
54
51
 
55
- @include e(item, $m: 'and') {
56
- @extend %filter-legend__item !optional;
57
- @extend %filter-legend__item--and !optional;
52
+ @include e(outlet) {
53
+ @extend %advanced-filter__outlet !optional;
58
54
  }
59
55
 
60
- @include e(item, $m: 'or') {
61
- @extend %filter-legend__item !optional;
62
- @extend %filter-legend__item--or !optional;
56
+ @include m('inline') {
57
+ @extend %advanced-filter--inline !optional;
63
58
  }
64
59
  }
65
60
  }
@@ -68,6 +63,14 @@
68
63
  @include b(igx-filter-tree) {
69
64
  @extend %filter-tree !optional;
70
65
 
66
+ @include e(subquery) {
67
+ @extend %filter-tree__subquery !optional;
68
+ }
69
+
70
+ @include e(section) {
71
+ @extend %filter-tree__section !optional;
72
+ }
73
+
71
74
  @include e(line) {
72
75
  @extend %filter-tree__line !optional;
73
76
  }
@@ -80,22 +83,34 @@
80
83
  @extend %filter-tree__line--or !optional;
81
84
  }
82
85
 
83
- @include e(line, $mods: ('selected', 'and')) {
84
- @extend %filter-tree__line--and-selected !optional;
86
+ @include e(button, $m: 'and') {
87
+ @extend %filter-tree__button--and !optional;
85
88
  }
86
89
 
87
- @include e(line, $mods: ('selected', 'or')) {
88
- @extend %filter-tree__line--or-selected !optional;
90
+ @include e(button, $m: 'or') {
91
+ @extend %filter-tree__button--or !optional;
89
92
  }
90
93
 
91
- @include e(expression) {
92
- @extend %filter-tree__expression !optional;
94
+ @include e(expressions) {
95
+ @extend %filter-tree__expressions !optional;
96
+ }
97
+
98
+ @include e(expression-context-menu) {
99
+ @extend %filter-tree__expression-context-menu !optional;
100
+ }
101
+
102
+ @include e(expression-section) {
103
+ @extend %filter-tree__expression-section !optional;
93
104
  }
94
105
 
95
106
  @include e(expression-item) {
96
107
  @extend %filter-tree__expression-item !optional;
97
108
  }
98
109
 
110
+ @include e(expression-item-ghost) {
111
+ @extend %filter-tree__expression-item-ghost !optional;
112
+ }
113
+
99
114
  @include e(expression-column) {
100
115
  @extend %filter-tree__expression-column !optional;
101
116
  }
@@ -116,32 +131,32 @@
116
131
  @extend %filter-tree__inputs !optional;
117
132
  }
118
133
 
134
+ @include e(inputs-field) {
135
+ @extend %filter-tree__inputs-field !optional;
136
+ }
137
+
119
138
  @include e(inputs-actions) {
120
139
  @extend %filter-tree__inputs-actions !optional;
121
140
  }
141
+
142
+ @include e(details-button) {
143
+ @extend %filter-tree-details-button !optional;;
144
+ }
122
145
  }
123
146
  }
124
147
 
125
- @mixin _advanced-filtering-con-menu {
126
- @include b(igx-filter-contextual-menu) {
127
- @extend %filter-con-menu !optional;
128
-
129
- @include e(close-btn) {
130
- @extend %filter-con-menu__close-btn !optional;
131
- }
148
+ @mixin _query-builder-tree {
149
+ @include b(igx-query-builder-tree) {
150
+ @extend %query-builder-tree !optional;
132
151
 
133
- @include e(delete-btn) {
134
- @extend %filter-con-menu__delete-btn !optional;
152
+ @include m(level-0) {
153
+ @extend %query-level-0 !optional;
135
154
  }
136
155
  }
137
156
  }
138
157
 
139
- @mixin _advanced-filtering-empty {
140
- @include b(igx-filter-empty) {
141
- @extend %filter-empty !optional;
142
-
143
- @include e(title) {
144
- @extend %filter-empty__title !optional;
145
- }
158
+ @mixin _query-builder-dialog {
159
+ @include b(igx-query-builder-dialog) {
160
+ @extend %query-builder-dialog !optional;;
146
161
  }
147
162
  }