igniteui-angular 20.0.8 → 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 +91 -39
  2. package/fesm2022/igniteui-angular.mjs.map +1 -1
  3. package/index.d.ts +23 -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 +1 -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,300 +1,7 @@
1
1
  @use 'sass:map';
2
- @use 'sass:meta';
3
2
  @use '../../base' as *;
4
- @use '../../themes/schemas' as *;
5
3
  @use 'igniteui-theming/sass/animations/easings' as *;
6
4
 
7
- ////
8
- /// @group themes
9
- /// @access public
10
- /// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
11
- ////
12
-
13
- /// If only background color is specified, text/icon color
14
- /// will be assigned automatically to a contrasting color.
15
- /// Does ___not___ apply for disabled state colors.
16
- /// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
17
- ///
18
- /// @param {box-shadow} $shadow [null] - The shadow to be applied for the button group.
19
- /// @param {Color} $item-text-color [null]- The text color for button group items.
20
- /// @param {color} $item-icon-color [null]- The icon color for button group items.
21
- /// @param {Color} $item-background [null] - The background color for button group items .
22
- /// @param {Color} $item-border-color [null] - The border color between button group items.
23
- ///
24
- /// @param {Color} $item-hover-text-color [null] - The hover text color for button group items.
25
- /// @param {Color} $item-hover-icon-color [null] - The hover icon color for button group items.
26
- /// @param {Color} $item-hover-background [null] - The hover background color for button group items.
27
- /// @param {Color} $item-hover-border-color [null] - The hover border color between button group items.
28
- ///
29
- /// @param {Color} $item-focused-text-color [null] - The focused text color for button group items.
30
- /// @param {Color} $item-focused-background [null] - The focused background color for button group items.
31
- /// @param {Color} $item-focused-border-color [null] - The focused border color for an item from the button group.
32
- /// @param {Color} $item-focused-hover-background [null] - The focused & hover background color for button group items.
33
- /// @param {Color} $idle-shadow-color [null] - The outline color of focused button group items.
34
- /// @param {Color} $selected-shadow-color [null] - The outline color of focused/selected button group items.
35
- ///
36
- /// @param {Color} $disabled-text-color [null]- The text/icon color for a disabled item in the button group.
37
- /// @param {Color} $disabled-background-color [null] - The background color for a disabled item in the button group.
38
- /// @param {Color} $item-disabled-border [null] - The border color for a disabled item in the button group.
39
- ///
40
- /// @param {Color} $item-selected-text-color [null]- The text color for a selected item in the button group.
41
- /// @param {Color} $item-selected-icon-color [null]- The icon color for a selected item in the button group.
42
- /// @param {Color} $item-selected-background [null] - The background color for a selected item in the button group.
43
- /// @param {Color} $item-selected-border-color [null] - The border color for a selected item from the button group.
44
- ///
45
- /// @param {Color} $item-selected-hover-text-color [null] - The text color for a selected item in hover state in the button group.
46
- /// @param {Color} $item-selected-hover-icon-color [null] - The icon color for a selected item in hover state in the button group.
47
- /// @param {Color} $item-selected-hover-background [null] - The background color for a selected item in hover state in the button group.
48
- /// @param {Color} $item-selected-hover-border-color [null] - The border color for a selected item in hover state in the button group.
49
- /// @param {Color} $item-selected-focus-background [null] - The background color for a selected item in focused state in the button group.
50
- /// @param {Color} $item-selected-focus-hover-background [null] - The background color for a selected item in focused & hover state in the button group.
51
- ///
52
- /// @param {Color} $disabled-selected-text-color [null] - The disabled text color for a selected item in the button group.
53
- /// @param {Color} $disabled-selected-icon-color [null] - The disabled icon color for a selected item in the button group.
54
- /// @param {Color} $disabled-selected-background [null] - The disabled background color for a selected item in the button group.
55
- /// @param {Color} $disabled-selected-border-color [null] - The disabled border color for a selected item from the button group.
56
- ///
57
- /// @param {List} $border-radius [null] - The border radius used for button-group component.
58
- ///
59
- /// @requires $light-material-schema
60
- ///
61
- /// @example scss Change the background, text, and border colors
62
- /// $my-button-group-theme: button-group-theme(
63
- /// $item-text-color: white,
64
- /// $item-background: rgba(0, 0, 0, .8),
65
- /// $item-border-color: #dadada
66
- /// );
67
- /// // Pass the theme to the css-vars() mixin
68
- /// @include css-vars($my-button-group-theme);
69
- @function button-group-theme(
70
- $schema: $light-material-schema,
71
- $shadow: null,
72
-
73
- $item-text-color: null,
74
- $item-icon-color: $item-text-color,
75
- $item-background: null,
76
- $item-border-color: null,
77
-
78
- $item-hover-text-color: null,
79
- $item-hover-icon-color: $item-hover-text-color,
80
- $item-hover-background: null,
81
- $item-hover-border-color: null,
82
-
83
- $item-focused-text-color: null,
84
- $item-focused-border-color: null,
85
- $item-focused-background: null,
86
- $item-focused-hover-background: null,
87
- $idle-shadow-color: null,
88
- $selected-shadow-color: null,
89
- $border-radius: null,
90
-
91
- $disabled-text-color: null,
92
- $disabled-background-color: null,
93
- $item-disabled-border: null,
94
-
95
- $item-selected-text-color: null,
96
- $item-selected-icon-color: $item-selected-text-color,
97
- $item-selected-background: null,
98
- $item-selected-border-color: null,
99
-
100
- $item-selected-hover-text-color: null,
101
- $item-selected-hover-icon-color: $item-selected-hover-text-color,
102
- $item-selected-hover-background: null,
103
- $item-selected-hover-border-color: null,
104
- $item-selected-focus-background: null,
105
- $item-selected-focus-hover-background: null,
106
-
107
- $disabled-selected-text-color: null,
108
- $disabled-selected-icon-color: $disabled-selected-text-color,
109
- $disabled-selected-background: null,
110
- $disabled-selected-border-color: null,
111
- ) {
112
- $name: 'igx-button-group';
113
- $selector: 'igx-buttongroup';
114
- $button-group-schema: ();
115
-
116
- @if map.has-key($schema, 'button-group') {
117
- $button-group-schema: map.get($schema, 'button-group');
118
- } @else {
119
- $button-group-schema: $schema;
120
- }
121
-
122
- $theme: digest-schema($button-group-schema);
123
-
124
- $border: rem(1px) solid map.get($theme, 'item-selected-border-color');
125
-
126
- //background colors
127
- @if not($item-hover-background) and $item-background {
128
- $item-hover-background: hsl(from var(--item-background) h s calc(l * 0.9));
129
- }
130
-
131
- @if not($item-selected-background) and $item-background {
132
- $item-selected-background: hsl(from var(--item-background) h s calc(l * 0.7));
133
- }
134
-
135
- @if not($item-selected-hover-background) and $item-selected-background {
136
- $item-selected-hover-background: hsl(from var(--item-selected-background) h s calc(l * 1.1));
137
- }
138
-
139
- @if not($item-selected-focus-background) and $item-selected-background {
140
- $item-selected-focus-background: var(--item-selected-background);
141
- }
142
-
143
- @if not($item-selected-focus-hover-background) and $item-selected-hover-background {
144
- $item-selected-focus-hover-background: var(--item-selected-hover-background);
145
- }
146
-
147
- @if not($item-focused-background) and $item-background {
148
- $item-focused-background: var(--item-hover-background);
149
- }
150
-
151
- @if not($item-focused-hover-background) and $item-hover-background {
152
- $item-focused-hover-background: hsl(from var(--item-focused-background) h s calc(l * 0.9));
153
- }
154
-
155
- @if not($disabled-background-color) and $item-background {
156
- $disabled-background-color: var(--item-background);
157
- }
158
-
159
- @if not($disabled-selected-background) and $item-selected-background {
160
- $disabled-selected-background: rgba(gray, 0.3);
161
- }
162
-
163
- //border colors
164
- @if not($item-border-color) and $item-background {
165
- $item-border-color: hsl(from var(--item-background) h s calc(l * 0.8));
166
- }
167
-
168
- @if not($item-hover-border-color) and $item-border-color {
169
- $item-hover-border-color: var(--item-border-color);
170
- }
171
-
172
- @if not($item-focused-border-color) and $item-border-color {
173
- $item-focused-border-color: var(--item-border-color);
174
- }
175
-
176
- @if not($item-selected-border-color) and $item-border-color {
177
- $item-selected-border-color: var(--item-border-color);
178
- }
179
-
180
- @if not($item-selected-hover-border-color) and $item-border-color {
181
- $item-selected-hover-border-color: var(--item-border-color);
182
- }
183
-
184
- @if not($item-disabled-border) and $item-border-color {
185
- $item-disabled-border: var(--item-border-color);
186
- }
187
-
188
- @if not($disabled-selected-border-color) and $item-border-color {
189
- $disabled-selected-border-color: var(--item-border-color);
190
- }
191
-
192
- //text and icon colors
193
- @if not($item-text-color) and $item-background {
194
- $item-text-color: adaptive-contrast(var(--item-background));
195
- }
196
-
197
- @if not($item-icon-color) and $item-text-color {
198
- $item-icon-color: var(--item-text-color);
199
- }
200
-
201
- @if not($item-hover-text-color) and $item-hover-background {
202
- $item-hover-text-color: adaptive-contrast(var(--item-hover-background));
203
- }
204
-
205
- @if not($item-hover-icon-color) and $item-hover-text-color {
206
- $item-hover-icon-color: var(--item-hover-text-color);
207
- }
208
-
209
- @if not($item-focused-text-color) and $item-focused-background {
210
- $item-focused-text-color: adaptive-contrast(var(--item-focused-background));
211
- }
212
-
213
- @if not($item-selected-text-color) and $item-selected-background {
214
- $item-selected-text-color: adaptive-contrast(var(--item-selected-background));
215
- }
216
-
217
- @if not($item-selected-icon-color) and $item-selected-text-color {
218
- $item-selected-icon-color: var(--item-selected-text-color);
219
- }
220
-
221
- @if not($item-selected-hover-text-color) and $item-selected-hover-background {
222
- $item-selected-hover-text-color: adaptive-contrast(var(--item-selected-hover-background));
223
- }
224
-
225
- @if not($item-selected-hover-icon-color) and $item-selected-hover-text-color {
226
- $item-selected-hover-icon-color: var(--item-selected-hover-text-color);
227
- }
228
-
229
- @if not($disabled-text-color) and $disabled-background-color {
230
- $disabled-text-color: hsla(from adaptive-contrast(var(--disabled-background-color)) h s l / 0.4);
231
- }
232
-
233
- @if not($disabled-selected-text-color) and $disabled-text-color {
234
- $disabled-selected-text-color: var(--disabled-text-color);
235
- }
236
-
237
- @if not($idle-shadow-color) and $item-background {
238
- $idle-shadow-color: hsla(from var(--item-background) h s l / .5);
239
- }
240
-
241
- @if not($idle-shadow-color) and $selected-shadow-color {
242
- $idle-shadow-color: var(--selected-shadow-color);
243
- }
244
-
245
- @if not($selected-shadow-color) and $idle-shadow-color {
246
- $selected-shadow-color: var(--idle-shadow-color);
247
- }
248
-
249
- @if map.get($button-group-schema, 'elevation') > 0 {
250
- $border: none;
251
- }
252
-
253
- @if not($shadow) {
254
- $elevation: map.get($button-group-schema, 'elevation');
255
- $shadow: elevation($elevation);
256
- }
257
-
258
- @return extend($theme, (
259
- name: $name,
260
- selector: $selector,
261
- item-text-color: $item-text-color,
262
- item-icon-color: $item-icon-color,
263
- item-background: $item-background,
264
- item-border-color: $item-border-color,
265
- item-focused-text-color: $item-focused-text-color,
266
- item-focused-background: $item-focused-background,
267
- item-focused-border-color: $item-focused-border-color,
268
- item-focused-hover-background: $item-focused-hover-background,
269
- border-radius: $border-radius,
270
- item-hover-text-color: $item-hover-text-color,
271
- item-hover-icon-color: $item-hover-icon-color,
272
- item-hover-background: $item-hover-background,
273
- item-hover-border-color: $item-hover-border-color,
274
- disabled-text-color:$disabled-text-color,
275
- disabled-background-color:$disabled-background-color,
276
- item-disabled-border: $item-disabled-border,
277
- item-selected-text-color: $item-selected-text-color,
278
- item-selected-icon-color: $item-selected-icon-color,
279
- item-selected-background: $item-selected-background,
280
- item-selected-border-color: $item-selected-border-color,
281
- item-selected-hover-text-color: $item-selected-hover-text-color,
282
- item-selected-hover-icon-color: $item-selected-hover-icon-color,
283
- item-selected-hover-background: $item-selected-hover-background,
284
- item-selected-hover-border-color: $item-selected-hover-border-color,
285
- item-selected-focus-background: $item-selected-focus-background,
286
- item-selected-focus-hover-background: $item-selected-focus-hover-background,
287
- disabled-selected-text-color: $disabled-selected-text-color,
288
- disabled-selected-icon-color: $disabled-selected-icon-color,
289
- disabled-selected-background: $disabled-selected-background,
290
- disabled-selected-border-color: $disabled-selected-border-color,
291
- border: $border,
292
- shadow: $shadow,
293
- idle-shadow-color: $idle-shadow-color,
294
- selected-shadow-color: $selected-shadow-color
295
- ));
296
- }
297
-
298
5
  /// @deprecated Use the `css-vars` mixin instead.
299
6
  /// @see {mixin} css-vars
300
7
  /// @param {Map} $theme - The theme used to style the component.