igniteui-angular 20.0.7 → 20.0.9

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 (102) hide show
  1. package/fesm2022/igniteui-angular.mjs +143 -52
  2. package/fesm2022/igniteui-angular.mjs.map +1 -1
  3. package/index.d.ts +41 -5
  4. package/lib/core/styles/base/_index.scss +1 -0
  5. package/lib/core/styles/components/_index.scss +1 -0
  6. package/lib/core/styles/components/avatar/_avatar-theme.scss +0 -58
  7. package/lib/core/styles/components/badge/_badge-theme.scss +0 -72
  8. package/lib/core/styles/components/banner/_banner-theme.scss +0 -62
  9. package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +0 -100
  10. package/lib/core/styles/components/button/_button-theme.scss +0 -234
  11. package/lib/core/styles/components/button-group/_button-group-theme.scss +0 -293
  12. package/lib/core/styles/components/calendar/_calendar-theme.scss +0 -1075
  13. package/lib/core/styles/components/card/_card-theme.scss +0 -92
  14. package/lib/core/styles/components/carousel/_carousel-theme.scss +0 -218
  15. package/lib/core/styles/components/checkbox/_checkbox-theme.scss +0 -150
  16. package/lib/core/styles/components/chip/_chip-theme.scss +1 -265
  17. package/lib/core/styles/components/column-actions/_column-actions-theme.scss +0 -48
  18. package/lib/core/styles/components/combo/_combo-theme.scss +9 -125
  19. package/lib/core/styles/components/date-picker/_date-picker-theme.scss +4 -0
  20. package/lib/core/styles/components/date-range-picker/_date-range-picker-theme.scss +0 -30
  21. package/lib/core/styles/components/dialog/_dialog-theme.scss +0 -75
  22. package/lib/core/styles/components/divider/_divider-theme.scss +0 -39
  23. package/lib/core/styles/components/dock-manager/_dock-manager-theme.scss +0 -68
  24. package/lib/core/styles/components/drop-down/_drop-down-theme.scss +0 -211
  25. package/lib/core/styles/components/expansion-panel/_expansion-panel-theme.scss +0 -96
  26. package/lib/core/styles/components/grid/_excel-filtering-theme.scss +0 -1
  27. package/lib/core/styles/components/grid/_grid-theme.scss +44 -600
  28. package/lib/core/styles/components/grid-summary/_grid-summary-theme.scss +0 -84
  29. package/lib/core/styles/components/grid-toolbar/_grid-toolbar-theme.scss +0 -92
  30. package/lib/core/styles/components/highlight/highlight-theme.scss +0 -55
  31. package/lib/core/styles/components/icon/_icon-theme.scss +0 -43
  32. package/lib/core/styles/components/icon-button/_icon-button-theme.scss +0 -112
  33. package/lib/core/styles/components/input/_file-input-component.scss +72 -0
  34. package/lib/core/styles/components/input/_file-input-theme.scss +203 -0
  35. package/lib/core/styles/components/input/_input-group-component.scss +110 -126
  36. package/lib/core/styles/components/input/_input-group-theme.scss +409 -648
  37. package/lib/core/styles/components/label/_label-theme.scss +2 -35
  38. package/lib/core/styles/components/list/_list-theme.scss +0 -264
  39. package/lib/core/styles/components/navbar/_navbar-theme.scss +0 -89
  40. package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +0 -141
  41. package/lib/core/styles/components/overlay/_overlay-theme.scss +0 -38
  42. package/lib/core/styles/components/paginator/_paginator-theme.scss +0 -50
  43. package/lib/core/styles/components/progress/circular/_circular-theme.scss +0 -73
  44. package/lib/core/styles/components/progress/linear/_linear-theme.scss +0 -68
  45. package/lib/core/styles/components/query-builder/_query-builder-theme.scss +0 -101
  46. package/lib/core/styles/components/radio/_radio-theme.scss +0 -136
  47. package/lib/core/styles/components/rating/_rating-theme.scss +0 -43
  48. package/lib/core/styles/components/ripple/_ripple-theme.scss +0 -39
  49. package/lib/core/styles/components/scrollbar/scrollbar-theme.scss +0 -82
  50. package/lib/core/styles/components/select/_select-theme.scss +0 -93
  51. package/lib/core/styles/components/slider/_slider-theme.scss +0 -187
  52. package/lib/core/styles/components/snackbar/_snackbar-theme.scss +0 -64
  53. package/lib/core/styles/components/splitter/_splitter-theme.scss +0 -71
  54. package/lib/core/styles/components/stepper/_stepper-theme.scss +0 -492
  55. package/lib/core/styles/components/switch/_switch-theme.scss +0 -264
  56. package/lib/core/styles/components/tabs/_tabs-theme.scss +2 -261
  57. package/lib/core/styles/components/time-picker/_time-picker-theme.scss +0 -156
  58. package/lib/core/styles/components/toast/_toast-theme.scss +0 -69
  59. package/lib/core/styles/components/tooltip/_tooltip-theme.scss +0 -62
  60. package/lib/core/styles/components/tree/_tree-theme.scss +0 -128
  61. package/lib/core/styles/components/watermark/_watermark-theme.scss +0 -60
  62. package/lib/core/styles/themes/_core.scss +2 -0
  63. package/lib/core/styles/themes/_index.scss +1 -0
  64. package/lib/core/styles/themes/generators/_base.scss +11 -0
  65. package/lib/core/styles/typography/_bootstrap.scss +4 -0
  66. package/lib/core/styles/typography/_fluent.scss +5 -0
  67. package/lib/core/styles/typography/_indigo.scss +6 -0
  68. package/lib/core/styles/typography/_material.scss +2 -0
  69. package/package.json +2 -2
  70. package/styles/igniteui-angular-dark.css +1 -1
  71. package/styles/igniteui-angular.css +1 -1
  72. package/styles/igniteui-bootstrap-dark.css +1 -1
  73. package/styles/igniteui-bootstrap-light.css +1 -1
  74. package/styles/igniteui-dark-green.css +1 -1
  75. package/styles/igniteui-fluent-dark-excel.css +1 -1
  76. package/styles/igniteui-fluent-dark-word.css +1 -1
  77. package/styles/igniteui-fluent-dark.css +1 -1
  78. package/styles/igniteui-fluent-light-excel.css +1 -1
  79. package/styles/igniteui-fluent-light-word.css +1 -1
  80. package/styles/igniteui-fluent-light.css +1 -1
  81. package/styles/igniteui-indigo-dark.css +1 -1
  82. package/styles/igniteui-indigo-light.css +1 -1
  83. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  84. package/styles/maps/igniteui-angular.css.map +1 -1
  85. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  86. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  87. package/styles/maps/igniteui-dark-green.css.map +1 -1
  88. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  89. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  90. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  91. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  92. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  93. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  94. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  95. package/styles/maps/igniteui-indigo-light.css.map +1 -1
  96. package/lib/core/styles/components/button/_contained-button-theme.scss +0 -302
  97. package/lib/core/styles/components/button/_fab-button-theme.scss +0 -296
  98. package/lib/core/styles/components/button/_flat-button-theme.scss +0 -356
  99. package/lib/core/styles/components/button/_outlined-button-theme.scss +0 -419
  100. package/lib/core/styles/components/icon-button/_contained-icon-button-theme.scss +0 -196
  101. package/lib/core/styles/components/icon-button/_flat-icon-button-theme.scss +0 -188
  102. package/lib/core/styles/components/icon-button/_outlined-icon-button-theme.scss +0 -232
@@ -1,587 +1,8 @@
1
1
  @use 'sass:map';
2
- @use 'sass:meta';
3
- @use 'sass:color';
4
2
  @use 'sass:math';
5
3
  @use '../../base' as *;
6
4
  @use './excel-filtering-theme' as *;
7
5
  @use 'igniteui-theming/sass/animations' as *;
8
- @use '../../themes/schemas' as *;
9
-
10
- ////
11
- /// @group themes
12
- /// @access public
13
- /// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
14
- /// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
15
- ////
16
-
17
- /// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
18
- /// @param {Color} $header-background [null] - The table header background color.
19
- /// @param {Color} $header-text-color [null] - The table header text color.
20
- /// @param {String} $header-border-width [null] - The border width used for header borders.
21
- /// @param {String} $header-border-style [null] - The border style used for header borders.
22
- /// @param {Color} $header-border-color [null] - The color used for header borders.
23
- /// @param {Color} $header-selected-background [null] - The table header background color when selected (ex. column selection).
24
- /// @param {Color} $header-selected-text-color [null] - The table header text color when selected (ex. column selection).
25
- /// @param {Color} $sorted-header-icon-color [null] - The sort icon color when sorted.
26
- /// @param {color} $sortable-header-icon-hover-color [null] - The icon color on hover in grid header when the column is sortable.
27
- /// @param {Color} $content-background [null] - The table body background color.
28
- /// @param {Color} $content-text-color [null] - The table body text color.
29
- /// @param {Color} $ghost-header-text-color [null] - The dragged header text color.
30
- /// @param {Color} $ghost-header-icon-color [null] - The dragged header icon color.
31
- /// @param {Color} $ghost-header-background [null] - The dragged header background color.
32
- /// @param {Color} $row-odd-background [null] - The background color of odd rows.
33
- /// @param {Color} $row-even-background [null] - The background color of even rows.
34
- /// @param {Color} $row-odd-text-color [null] - The text color of odd rows.
35
- /// @param {Color} $row-even-text-color [null] - The text color of even rows.
36
- /// @param {Color} $row-selected-background [null] - The selected row background color.
37
- /// @param {Color} $row-selected-hover-background [null] - The selected row hover background color.
38
- /// @param {Color} $row-selected-text-color [null] - The selected row text color.
39
- /// @param {Color} $row-selected-hover-text-color [null] - The selected row hover text color.
40
- /// @param {Color} $row-hover-background [null] - The hover row background color.
41
- /// @param {Color} $row-hover-text-color [null] - The hover row text color.
42
- /// @param {Color} $row-border-color [null] - The row bottom border color.
43
- /// @param {String} $pinned-border-width [null] - The border width of the pinned border.
44
- /// @param {String} $pinned-border-style [null] - The CSS border style of the pinned border.
45
- /// @param {Color} $pinned-border-color [null] - The color of the pinned border.
46
- /// @param {Color} $cell-active-border-color [null] - The border color for the currently active(focused) cell.
47
- /// @param {Color} $cell-selected-background [null] - The selected cell background color.
48
- /// @param {Color} $cell-selected-text-color [null] - The selected cell text color.
49
- /// @param {Color} $cell-editing-background [null] - The background color of the cell being edited.
50
- /// @param {Color} $cell-editing-foreground [null] - The cell text color in edit mode.
51
- /// @param {Color} $cell-editing-focus-foreground [null] - The cell text color in edit mode on focus.
52
- /// @param {Color} $cell-edited-value-color [null] - The text color of a cell that has been edited.
53
- /// @param {Color} $cell-new-color [null] - The text color of a new, unedited cell. Used when adding new row in a grid.
54
- /// @param {Color} $cell-disabled-color [null] - The text color of a disabled cell.
55
- /// @param {Color} $cell-selected-within-background [null] - The background of the selected cell inside a selected row/column.
56
- /// @param {Color} $cell-selected-within-text-color [null] - The color of the selected cell inside a selected row/column.
57
- /// @param {Color} $edit-mode-color [null] - The color applied around the row/cell when in editing mode.
58
- /// @param {Color} $edited-row-indicator [null] - The color applied to the edited row indicator line.
59
- /// @param {Color} $resize-line-color [null] - The table header resize line color.
60
- /// @param {Color} $drop-indicator-color [null] - The color applied to the line between the columns when dragging a column.
61
- /// @param {Color} $grouparea-background [null] - The grid group area background color.
62
- /// @param {Color} $grouparea-color [null] - The grid group area color.
63
- /// @param {Color} $group-row-background [null] - The grid group row background color.
64
- /// @param {Color} $group-row-selected-background [null] - The drop area background on drop color.
65
- /// @param {Color} $group-label-column-name-text [null] - The grid group row column name text color.
66
- /// @param {Color} $group-label-icon [null] - The grid group row icon color.
67
- /// @param {Color} $group-label-text [null] - The grid group row text color.
68
- /// @param {Color} $expand-all-icon-color [null] - The grid header expand all group rows icon color.
69
- /// @param {Color} $expand-all-icon-hover-color [null] - The grid header expand all group rows icon hover color.
70
- /// @param {Color} $expand-icon-color [null] - The grid row expand icon color.
71
- /// @param {Color} $expand-icon-hover-color [null] - The grid row expand icon hover color.
72
- /// @param {Color} $active-expand-icon-color [null] - The drop area background on drop color.
73
- /// @param {Color} $active-expand-icon-hover-color [null] - The drop area background on drop color.
74
- /// @param {Color} $group-count-background [null] - The grid group row cont badge background color.
75
- /// @param {Color} $group-count-text-color [null] - The grid group row cont badge text color.
76
- /// @param {Color} $drop-area-text-color [null] - The drop area text color.
77
- /// @param {Color} $drop-area-icon-color [null] - The drop area icon color.
78
- /// @param {Color} $drop-area-background [null] - The drop area background color.
79
- /// @param {Color} $drop-area-on-drop-background [null] - The drop area background on drop color.
80
- /// @param {Color} $filtering-background-and [null] - The background color of advanced filtering "AND" condition.
81
- /// @param {Color} $filtering-background-and--focus [null] - The background color on focus/selected of advanced filtering "AND" condition.
82
- /// @param {Color} $filtering-background-or [null] - The background color of advanced filtering "OR" condition.
83
- /// @param {Color} $filtering-background-or--focus [null] - The background color on focus/selected of advanced filtering "OR" condition.
84
- /// @param {Color} $filtering-header-background [null] - The background color of the filtered column header.
85
- /// @param {Color} $filtering-header-text-color [null] - The text color of the filtered column header.
86
- /// @param {Color} $filtering-row-background [null] - The background color of the filtering row.
87
- /// @param {Color} $filtering-row-text-color [null] - The text color of the filtering row.
88
- /// @param {Color} $excel-filtering-header-foreground [null] - The text color of the header in the excel style filtering.
89
- /// @param {Color} $excel-filtering-subheader-foreground [null] - The text color of the sorting and moving headers in the excel style filtering.
90
- /// @param {Color} $excel-filtering-actions-foreground [null] - The text color of the excel style filtering options.
91
- /// @param {Color} $excel-filtering-actions-hover-foreground [null] - The text color of the excel style filtering options in hover/focus state.
92
- /// @param {Color} $excel-filtering-actions-disabled-foreground [null] - The text color of the excel style filtering options in disabled state.
93
- /// @param {Color} $tree-filtered-text-color [null] - Grouping row background color on focus.
94
- /// @param {Color} $summaries-patch-background [null] - The leading summaries patch backround. Used in hierarchical grids.
95
- /// @param {Color} $row-highlight [null] - The grid row highlight indication color.
96
- /// @param {box-shadow} $grid-shadow [null] - The shadow of the grid.
97
- /// @param {box-shadow} $drag-shadow [null] - The shadow used for movable elements (ex. column headers).
98
- /// @param {color} $row-ghost-background [null] - The dragged row background color.
99
- /// @param {color} $row-drag-color [null] - The row drag handle color.
100
- /// @param {Color} $grid-border-color [null] - The color of the grid border.
101
- /// @param {List} $drop-area-border-radius [null] - The border radius used for column drop area.
102
- /// @requires $light-material-schema
103
- /// @example scss Change the header background color
104
- /// $my-grid-theme: grid-theme($header-background: black);
105
- /// // Pass the theme to the css-vars() mixin
106
- /// @include css-vars($my-grid-theme);
107
- @function grid-theme(
108
- $schema: $light-material-schema,
109
-
110
- $header-background: null,
111
- $header-text-color: null,
112
- $header-border-width: null,
113
- $header-border-style: null,
114
- $header-border-color: null,
115
-
116
- $header-selected-background: null,
117
- $header-selected-text-color: null,
118
-
119
- $sorted-header-icon-color: null,
120
-
121
- $content-background: null,
122
- $content-text-color: null,
123
-
124
- $ghost-header-text-color: null,
125
- $ghost-header-icon-color: null,
126
- $ghost-header-background: null,
127
-
128
- $row-odd-background: null,
129
- $row-even-background: null,
130
- $row-odd-text-color: null,
131
- $row-even-text-color: null,
132
- $row-selected-background: null,
133
- $row-selected-hover-background: null,
134
- $row-selected-text-color: null,
135
- $row-selected-hover-text-color: null,
136
- $row-hover-background: null,
137
- $row-hover-text-color: null,
138
- $row-border-color: null,
139
-
140
- $pinned-border-width: null,
141
- $pinned-border-style: null,
142
- $pinned-border-color: null,
143
-
144
- $cell-active-border-color: null,
145
- $cell-selected-background: null,
146
- $cell-selected-text-color: null,
147
- $cell-editing-background: null,
148
- $cell-editing-foreground: null,
149
- $cell-editing-focus-foreground: null,
150
- $cell-edited-value-color: null,
151
- $cell-new-color: null,
152
- $cell-disabled-color: null,
153
-
154
- $edit-mode-color: null,
155
- $edited-row-indicator: null,
156
-
157
- $resize-line-color: null,
158
- $drop-indicator-color: null,
159
-
160
- $grouparea-background: null,
161
- $grouparea-color: null,
162
-
163
- $group-row-background: null,
164
- $group-row-selected-background: null,
165
- $group-label-column-name-text: null,
166
- $group-label-icon: null,
167
- $group-label-text: null,
168
-
169
- $expand-all-icon-color: null,
170
- $expand-all-icon-hover-color: null,
171
-
172
- $expand-icon-color: null,
173
- $expand-icon-hover-color: null,
174
-
175
- $active-expand-icon-color: null,
176
- $active-expand-icon-hover-color: null,
177
-
178
- $group-count-background: null,
179
- $group-count-text-color: null,
180
-
181
- $drop-area-text-color: null,
182
- $drop-area-icon-color: null,
183
- $drop-area-background: null,
184
- $drop-area-on-drop-background: null,
185
-
186
- $filtering-header-background: null,
187
- $filtering-header-text-color: null,
188
- $filtering-row-background: null,
189
- $filtering-row-text-color: null,
190
- $filtering-background-and: null,
191
- $filtering-background-or: null,
192
- $filtering-background-and--focus: null,
193
- $filtering-background-or--focus: null,
194
- $tree-filtered-text-color: null,
195
- $tree-selected-filtered-row-text-color: null,
196
- $tree-selected-filtered-cell-text-color: null,
197
-
198
- $excel-filtering-header-foreground: null,
199
- $excel-filtering-subheader-foreground: null,
200
- $excel-filtering-actions-foreground: null,
201
- $excel-filtering-actions-hover-foreground: null,
202
- $excel-filtering-actions-disabled-foreground: null,
203
-
204
- $row-highlight: null,
205
- $grid-shadow: null,
206
- $drag-shadow: null,
207
- $row-ghost-background: null,
208
- $row-drag-color: null,
209
- $drop-area-border-radius: null,
210
- $grid-border-color: null,
211
- $sortable-header-icon-hover-color: null,
212
- $summaries-patch-background: null,
213
-
214
- $cell-selected-within-background: null,
215
- $cell-selected-within-text-color: null,
216
- ) {
217
- $name: 'igx-grid';
218
- $selector: 'igx-grid, igx-hierarchical-grid, igx-pivot-grid, igx-tree-grid, igx-advanced-filtering-dialog, igx-grid-excel-style-filtering, .igx-excel-filter__secondary';
219
- $grid-schema: ();
220
-
221
- @if map.has-key($schema, 'grid') {
222
- $grid-schema: map.get($schema, 'grid');
223
- } @else {
224
- $grid-schema: $schema;
225
- }
226
-
227
- $theme: digest-schema($grid-schema);
228
-
229
- @if not($ghost-header-icon-color) and $ghost-header-background {
230
- $ghost-header-icon-color: hsla(from adaptive-contrast(var(--ghost-header-background)) h s l / .07);
231
- }
232
-
233
- @if not($ghost-header-text-color) and $ghost-header-background {
234
- $ghost-header-text-color: adaptive-contrast(var(--ghost-header-background));
235
- }
236
-
237
- @if not($header-text-color) and $header-background {
238
- $header-text-color: adaptive-contrast(var(--header-background));
239
- }
240
-
241
- @if not($header-selected-background) and $header-background {
242
- $header-selected-background: hsl(from var(--header-background) h s calc(l * 0.9));
243
- }
244
-
245
- @if not($header-selected-text-color) and $header-selected-background {
246
- $header-selected-text-color: adaptive-contrast(var(--header-selected-background));
247
- }
248
-
249
- @if not($header-border-color) and $header-background {
250
- $header-border-color: hsla(from adaptive-contrast(var(--header-background)) h s l / .24);
251
- }
252
-
253
- @if not($content-text-color) and $content-background {
254
- $content-text-color: adaptive-contrast(var(--content-background));
255
- }
256
-
257
- @if not($row-odd-background) and $content-background {
258
- $row-odd-background: hsl(from var(--content-background) h calc(s - 10) l);
259
- }
260
-
261
- @if not($row-odd-text-color) and $row-odd-background {
262
- $row-odd-text-color: adaptive-contrast(var(--row-odd-background));
263
- }
264
-
265
- @if not($row-even-background) and $content-background {
266
- $row-even-background: hsl(from var(--content-background) h calc(s + 10) l);
267
- }
268
-
269
- @if not($row-even-text-color) and $row-even-background {
270
- $row-even-text-color: adaptive-contrast(var(--row-even-background));
271
- }
272
-
273
- @if not($row-hover-background) and $content-background {
274
- $row-hover-background: hsl(from var(--content-background) h s calc(l * 0.85));
275
- }
276
-
277
- @if not($row-hover-text-color) and $row-hover-background {
278
- $row-hover-text-color: adaptive-contrast(var(--row-hover-background));
279
- }
280
-
281
- @if not($cell-selected-background) and $content-background {
282
- $cell-selected-background: hsl(from var(--content-background) h s calc(l * 0.9));
283
- }
284
-
285
- @if not($cell-selected-text-color) and $cell-selected-background {
286
- $cell-selected-text-color: adaptive-contrast(var(--cell-selected-background));
287
- }
288
-
289
- @if not($row-selected-background) and $content-background {
290
- $row-selected-background: hsl(from var(--content-background) h s calc(l * 0.9));
291
- }
292
-
293
- @if not($row-selected-text-color) and $row-selected-background {
294
- $row-selected-text-color: adaptive-contrast(var(--row-selected-background));
295
- }
296
-
297
- @if not($row-selected-hover-background) and $row-selected-background {
298
- $row-selected-hover-background: hsl(from var(--row-selected-background) h s calc(l * 0.85));
299
- }
300
-
301
- @if not($row-selected-hover-text-color) and $row-selected-hover-background {
302
- $row-selected-hover-text-color: adaptive-contrast(var(--row-selected-hover-background));
303
- }
304
-
305
- @if not($row-border-color) and $content-background {
306
- $row-border-color: hsla(from adaptive-contrast(var(--content-background)) h s l / .08);
307
- }
308
-
309
- @if not($cell-selected-within-background) and $row-selected-background {
310
- $cell-selected-within-background: hsl(from var(--row-selected-background) h s calc(l * 0.85));
311
- }
312
-
313
- @if not($cell-selected-within-text-color) and $cell-selected-within-background {
314
- $cell-selected-within-text-color: adaptive-contrast(var(--cell-selected-within-background));
315
- }
316
-
317
- @if not($cell-editing-background) and $content-background {
318
- $cell-editing-background: var(--content-background);
319
- }
320
-
321
- @if not($cell-editing-foreground) and $cell-editing-background {
322
- $cell-editing-foreground: adaptive-contrast(var(--cell-editing-background));
323
- }
324
-
325
- @if not($cell-editing-focus-foreground) and $cell-editing-background {
326
- $cell-editing-focus-foreground: adaptive-contrast(var(--cell-editing-background));
327
- }
328
-
329
- @if not($cell-active-border-color) and $content-background {
330
- $cell-active-border-color: hsla(from adaptive-contrast(var(--content-background)) h s l / .5);
331
- }
332
-
333
- @if not($pinned-border-color) and $content-background {
334
- $pinned-border-color: hsla(from adaptive-contrast(var(--content-background)) h s l / .08);
335
- }
336
-
337
- @if not($group-row-background) and $header-background {
338
- $group-row-background: $header-background
339
- }
340
-
341
- @if not($expand-icon-color) and $group-row-background {
342
- $expand-icon-color: adaptive-contrast(var(--group-row-background))
343
- }
344
-
345
- @if not($group-row-selected-background) and $group-row-background {
346
- $group-row-selected-background: hsl(from var(--group-row-background) h s calc(l * 0.8));
347
- }
348
-
349
- @if not($group-label-text) and $group-row-selected-background {
350
- $group-label-text: adaptive-contrast(var(--group-row-selected-background))
351
- }
352
-
353
- @if not($expand-icon-color) and $group-row-selected-background {
354
- $expand-icon-color: adaptive-contrast(var(--group-row-selected-background))
355
- }
356
-
357
- @if not($expand-icon-hover-color) and $expand-icon-color {
358
- $expand-icon-hover-color: var(--expand-icon-color);
359
- }
360
-
361
- @if not($group-count-background) and $group-row-selected-background {
362
- $group-count-background: adaptive-contrast(var(--group-row-selected-background));
363
- }
364
-
365
- @if not($expand-all-icon-color) and $header-background {
366
- $expand-all-icon-color: hsla(from adaptive-contrast(var(--header-background)) h s l / .87);
367
- }
368
-
369
- @if not($expand-all-icon-hover-color) and $header-background {
370
- $expand-all-icon-hover-color: adaptive-contrast(var(--header-background));
371
- }
372
-
373
- @if not($sorted-header-icon-color) and $header-background {
374
- $sorted-header-icon-color: hsla(from adaptive-contrast(var(--header-background)) h s l / 0.8);
375
- }
376
-
377
- @if not($sortable-header-icon-hover-color) and $sorted-header-icon-color {
378
- $sortable-header-icon-hover-color: hsla(from var(--sorted-header-icon-color) h s l / 1);
379
- }
380
-
381
- @if not($edit-mode-color) and $content-background {
382
- $edit-mode-color: hsla(from adaptive-contrast(var(--content-background)) h s l / 0.5);
383
- }
384
-
385
- @if not($group-label-text) and $group-row-background {
386
- $group-label-text: adaptive-contrast(var(--group-row-background))
387
- }
388
-
389
- @if not($group-count-background) and $group-row-background {
390
- $group-count-background: adaptive-contrast(var(--group-row-background));
391
- }
392
-
393
- @if not($group-count-text-color) and $group-count-background {
394
- $group-count-text-color: adaptive-contrast(var(--group-count-background));
395
- }
396
-
397
- @if not($grouparea-background) and $header-background {
398
- $grouparea-background: var(--header-background);
399
- }
400
-
401
- @if not($grouparea-color) and $grouparea-background {
402
- $grouparea-color: hsla(from adaptive-contrast(var(--grouparea-background)) h s l / .8);
403
- }
404
-
405
- @if not($grouparea-color) and $header-background {
406
- $grouparea-color: hsla(from adaptive-contrast(var(--header-background)) h s l / .8);
407
- }
408
-
409
- @if not($drop-area-background) and $grouparea-background {
410
- $drop-area-background: adaptive-contrast(var(--grouparea-background));
411
- }
412
-
413
- @if not($drop-area-on-drop-background) and $drop-area-background {
414
- $drop-area-on-drop-background: $drop-area-background;
415
- }
416
-
417
- @if not($drop-area-text-color) and $drop-area-background {
418
- $drop-area-text-color: adaptive-contrast(var(--drop-area-background));
419
- }
420
-
421
- @if not($drop-area-icon-color) and $drop-area-background {
422
- $drop-area-icon-color: adaptive-contrast(var(--drop-area-background));
423
- }
424
-
425
- @if not($filtering-header-background) and $header-background {
426
- $filtering-header-background: color-mix(in hsl, var(--header-background), #fff 5%);
427
- }
428
-
429
- @if not($filtering-header-text-color) and $filtering-header-background {
430
- $filtering-header-text-color: adaptive-contrast(var(--filtering-header-background));
431
- }
432
-
433
- @if not($filtering-row-background) and $header-background {
434
- $filtering-row-background: color-mix(in hsl, var(--header-background), #fff 5%);
435
- }
436
-
437
- @if not($filtering-row-text-color) and $filtering-row-background {
438
- $filtering-row-text-color: adaptive-contrast(var(--filtering-row-background));
439
- }
440
-
441
- @if not($excel-filtering-header-foreground) and $filtering-row-background {
442
- $excel-filtering-header-foreground: adaptive-contrast(var(--filtering-row-background));
443
- }
444
-
445
- @if not($excel-filtering-subheader-foreground) and $filtering-row-background {
446
- $excel-filtering-subheader-foreground: adaptive-contrast(var(--filtering-row-background));
447
- }
448
-
449
- @if not($excel-filtering-actions-foreground) and $filtering-row-background {
450
- $excel-filtering-actions-foreground: hsla(from adaptive-contrast(var(--filtering-row-background)) h s l / 0.8);
451
- }
452
-
453
- @if not($excel-filtering-actions-disabled-foreground) and $filtering-row-background {
454
- $excel-filtering-actions-disabled-foreground: hsla(from adaptive-contrast(var(--filtering-row-background)) h s l / 0.5);
455
- }
456
-
457
- @if not($grid-shadow) {
458
- $grid-elevation: map.get($grid-schema, 'grid-elevation');
459
- $grid-shadow: elevation($grid-elevation);
460
- }
461
-
462
- @if not($drag-shadow) {
463
- $drag-elevation: map.get($grid-schema, 'drag-elevation');
464
- $drag-shadow: elevation($drag-elevation);
465
- }
466
-
467
- @if not($drop-area-border-radius) {
468
- $drop-area-border-radius: map.get($theme, 'drop-area-border-radius');
469
- }
470
-
471
- @return extend($theme, (
472
- name: $name,
473
- selector: $selector,
474
-
475
- header-background: $header-background,
476
- header-text-color: $header-text-color,
477
- header-selected-background: $header-selected-background,
478
- header-selected-text-color: $header-selected-text-color,
479
- header-border-width: $header-border-width,
480
- header-border-style: $header-border-style,
481
- header-border-color: $header-border-color,
482
-
483
- sorted-header-icon-color: $sorted-header-icon-color,
484
-
485
- ghost-header-text-color: $ghost-header-text-color,
486
- ghost-header-icon-color: $ghost-header-icon-color,
487
- ghost-header-background: $ghost-header-background,
488
-
489
- content-background: $content-background,
490
- content-text-color: $content-text-color,
491
-
492
- row-odd-background: $row-odd-background,
493
- row-even-background: $row-even-background,
494
- row-odd-text-color: $row-odd-text-color,
495
- row-even-text-color: $row-even-text-color,
496
- row-selected-background: $row-selected-background,
497
- row-selected-hover-background: $row-selected-hover-background,
498
- row-selected-text-color: $row-selected-text-color,
499
- row-selected-hover-text-color: $row-selected-hover-text-color,
500
- row-hover-background: $row-hover-background,
501
- row-hover-text-color: $row-hover-text-color,
502
- row-border-color: $row-border-color,
503
-
504
- pinned-border-width: $pinned-border-width,
505
- pinned-border-style: $pinned-border-style,
506
- pinned-border-color: $pinned-border-color,
507
-
508
- cell-active-border-color: $cell-active-border-color,
509
- cell-selected-background: $cell-selected-background,
510
- cell-editing-background: $cell-editing-background,
511
- cell-editing-foreground: $cell-editing-foreground,
512
- cell-editing-focus-foreground: $cell-editing-focus-foreground,
513
- cell-selected-text-color: $cell-selected-text-color,
514
-
515
- edit-mode-color: $edit-mode-color,
516
- edited-row-indicator: $edited-row-indicator,
517
- cell-edited-value-color: $cell-edited-value-color,
518
- cell-new-color: $cell-new-color,
519
-
520
- cell-disabled-color: $cell-disabled-color,
521
-
522
- resize-line-color: $resize-line-color,
523
-
524
- drop-indicator-color: $drop-indicator-color,
525
-
526
- grouparea-background: $grouparea-background,
527
- grouparea-color: $grouparea-color,
528
-
529
- group-label-column-name-text: $group-label-column-name-text,
530
- group-label-icon: $group-label-icon,
531
- group-label-text: $group-label-text,
532
-
533
- expand-all-icon-color: $expand-all-icon-color,
534
- expand-all-icon-hover-color: $expand-all-icon-hover-color,
535
-
536
- expand-icon-color: $expand-icon-color,
537
- expand-icon-hover-color: $expand-icon-hover-color,
538
- active-expand-icon-color: $active-expand-icon-color,
539
- active-expand-icon-hover-color: $active-expand-icon-hover-color,
540
-
541
- group-count-background: $group-count-background,
542
- group-count-text-color: $group-count-text-color,
543
-
544
- group-row-background: $group-row-background,
545
- group-row-selected-background: $group-row-selected-background,
546
-
547
- drop-area-text-color: $drop-area-text-color,
548
- drop-area-icon-color: $drop-area-icon-color,
549
- drop-area-on-drop-background: $drop-area-on-drop-background,
550
- drop-area-background: $drop-area-background,
551
-
552
- filtering-header-background: $filtering-header-background,
553
- filtering-header-text-color: $filtering-header-text-color,
554
- filtering-row-background: $filtering-row-background,
555
- filtering-row-text-color: $filtering-row-text-color,
556
- filtering-background-and: $filtering-background-and,
557
- filtering-background-or: $filtering-background-or,
558
- filtering-background-and--focus: $filtering-background-and--focus,
559
- filtering-background-or--focus: $filtering-background-or--focus,
560
-
561
- excel-filtering-header-foreground: $excel-filtering-header-foreground,
562
- excel-filtering-subheader-foreground: $excel-filtering-subheader-foreground,
563
- excel-filtering-actions-foreground: $excel-filtering-actions-foreground,
564
- excel-filtering-actions-hover-foreground: $excel-filtering-actions-hover-foreground,
565
- excel-filtering-actions-disabled-foreground: $excel-filtering-actions-disabled-foreground,
566
-
567
- tree-filtered-text-color: $tree-filtered-text-color,
568
- tree-selected-filtered-row-text-color: $tree-selected-filtered-row-text-color,
569
- tree-selected-filtered-cell-text-color: $tree-selected-filtered-cell-text-color,
570
-
571
- row-highlight: $row-highlight,
572
- grid-shadow: $grid-shadow,
573
- drag-shadow: $drag-shadow,
574
- row-ghost-background: $row-ghost-background,
575
- row-drag-color: $row-drag-color,
576
- drop-area-border-radius: $drop-area-border-radius,
577
- sortable-header-icon-hover-color: $sortable-header-icon-hover-color,
578
- grid-border-color: $grid-border-color,
579
- summaries-patch-background: $summaries-patch-background,
580
-
581
- cell-selected-within-background: $cell-selected-within-background,
582
- cell-selected-within-text-color: $cell-selected-within-text-color,
583
- ));
584
- }
585
6
 
586
7
  @mixin _filtering-scroll-mask($theme, $dir) {
587
8
  display: block;
@@ -880,7 +301,10 @@
880
301
  width: 100%;
881
302
  max-width: rem(200px);
882
303
  min-width: rem(140px);
883
- border: rem(1px) solid color($color: 'gray', $variant: 300);
304
+
305
+ @if $variant != 'fluent' {
306
+ border: rem(1px) solid color($color: 'gray', $variant: 300);
307
+ }
884
308
 
885
309
  --size: calc(#{$filtering-row-height} - #{rem(8px)});
886
310
 
@@ -892,9 +316,8 @@
892
316
  background: transparent;
893
317
  border-radius: 0;
894
318
 
895
- &:hover,
896
- &:focus,
897
- &:focus-within {
319
+ /* stylelint-disable-next-line */
320
+ &:hover {
898
321
  background: transparent;
899
322
  }
900
323
  }
@@ -918,9 +341,8 @@
918
341
  .igx-input-group__input {
919
342
  border: 0;
920
343
 
921
- &:hover,
922
- &:focus,
923
- &:focus-within {
344
+ /* stylelint-disable-next-line */
345
+ &:hover {
924
346
  border: 0;
925
347
  box-shadow: none;
926
348
  }
@@ -930,31 +352,53 @@
930
352
  display: none;
931
353
  }
932
354
 
933
- .igx-input-group__bundle:focus,
934
- .igx-input-group__bundle:focus-within {
935
- .igx-input-group__bundle-main,
936
- .igx-input-group__bundle-start,
937
- .igx-input-group__bundle-end {
938
- margin: 0 !important;
939
- }
940
-
941
- border-width: rem(1px);
942
- }
943
-
944
355
  .igx-input-group__bundle-main {
945
356
  padding-inline-start: 0;
946
357
  }
947
358
 
948
359
  color: var-get($theme, 'filtering-row-text-color');
949
360
 
950
- &:hover,
951
- &:focus,
952
- &:focus-within {
361
+ &:hover{
953
362
  color: var-get($theme, 'filtering-row-text-color');
954
363
  border-color: color($color: 'primary', $variant: 500);
955
364
  }
956
365
  }
957
366
 
367
+ .igx-input-group--focused {
368
+ @if $variant != 'fluent' {
369
+ border-color: color($color: 'primary', $variant: 500);
370
+ border-width: rem(1px);
371
+ }
372
+
373
+ color: var-get($theme, 'filtering-row-text-color');
374
+
375
+ .igx-input-group__bundle,
376
+ .igx-input-group__bundle-start,
377
+ .igx-input-group__bundle-end,
378
+ .igx-input-group__input {
379
+ border: 0 !important;
380
+
381
+ @if $variant != 'fluent' {
382
+ box-shadow: none !important;
383
+ }
384
+ }
385
+
386
+ .igx-input-group__bundle-main,
387
+ .igx-input-group__bundle-start,
388
+ .igx-input-group__bundle-end {
389
+ margin: 0 !important;
390
+ }
391
+
392
+ .igx-input-group__bundle,
393
+ .igx-input-group__bundle-start,
394
+ .igx-input-group__bundle-end,
395
+ igx-prefix,
396
+ igx-suffix {
397
+ background: transparent !important;
398
+ border-radius: 0;
399
+ }
400
+ }
401
+
958
402
  .igx-input-group__line {
959
403
  display: none;
960
404
  }