igniteui-angular 20.2.0-alpha.3 → 20.2.0-alpha.5

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 (49) hide show
  1. package/README.md +3 -1
  2. package/chat-extras/index.d.ts +13 -0
  3. package/fesm2022/igniteui-angular-chat-extras.mjs +85 -0
  4. package/fesm2022/igniteui-angular-chat-extras.mjs.map +1 -0
  5. package/fesm2022/igniteui-angular.mjs +223 -165
  6. package/fesm2022/igniteui-angular.mjs.map +1 -1
  7. package/index.d.ts +129 -25
  8. package/lib/core/styles/components/badge/_badge-component.scss +4 -0
  9. package/lib/core/styles/components/badge/_badge-theme.scss +65 -15
  10. package/lib/core/styles/components/checkbox/_checkbox-component.scss +57 -22
  11. package/lib/core/styles/components/checkbox/_checkbox-theme.scss +21 -6
  12. package/lib/core/styles/components/combo/_combo-theme.scss +20 -16
  13. package/lib/core/styles/components/list/_list-theme.scss +2 -1
  14. package/lib/core/styles/components/navbar/_navbar-theme.scss +14 -12
  15. package/lib/core/styles/components/select/_select-theme.scss +1 -1
  16. package/lib/core/styles/components/snackbar/_snackbar-theme.scss +2 -5
  17. package/lib/core/styles/components/time-picker/_time-picker-theme.scss +0 -15
  18. package/lib/core/styles/components/tooltip/_tooltip-theme.scss +5 -1
  19. package/lib/core/styles/typography/_bootstrap.scss +1 -1
  20. package/lib/core/styles/typography/_fluent.scss +1 -1
  21. package/lib/core/styles/typography/_indigo.scss +1 -3
  22. package/lib/core/styles/typography/_material.scss +1 -1
  23. package/package.json +5 -1
  24. package/styles/igniteui-angular-dark.css +1 -1
  25. package/styles/igniteui-angular.css +1 -1
  26. package/styles/igniteui-bootstrap-dark.css +1 -1
  27. package/styles/igniteui-bootstrap-light.css +1 -1
  28. package/styles/igniteui-dark-green.css +1 -1
  29. package/styles/igniteui-fluent-dark-excel.css +1 -1
  30. package/styles/igniteui-fluent-dark-word.css +1 -1
  31. package/styles/igniteui-fluent-dark.css +1 -1
  32. package/styles/igniteui-fluent-light-excel.css +1 -1
  33. package/styles/igniteui-fluent-light-word.css +1 -1
  34. package/styles/igniteui-fluent-light.css +1 -1
  35. package/styles/igniteui-indigo-dark.css +1 -1
  36. package/styles/igniteui-indigo-light.css +1 -1
  37. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  38. package/styles/maps/igniteui-angular.css.map +1 -1
  39. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  40. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  41. package/styles/maps/igniteui-dark-green.css.map +1 -1
  42. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  43. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  44. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  45. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  46. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  47. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  48. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  49. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -14,10 +14,22 @@
14
14
  @extend %cbx-display !optional;
15
15
 
16
16
  &:hover {
17
+ @include e(label) {
18
+ @extend %cbx-label--hover !optional;
19
+ }
20
+
21
+ @include e(label, $m: before) {
22
+ @extend %cbx-label--hover !optional;
23
+ }
24
+
17
25
  @include e(ripple) {
18
26
  @extend %cbx-ripple--hover !optional;
19
27
  }
20
28
 
29
+ @include e(composite) {
30
+ @extend %cbx-composite--hover !optional;
31
+ }
32
+
21
33
  @include e(composite-mark) {
22
34
  @extend %cbx-composite-mark--fluent !optional;
23
35
  }
@@ -60,30 +72,10 @@
60
72
  @extend %cbx-ripple !optional;
61
73
  }
62
74
 
63
- @include m(bootstrap) {
64
- @include e(composite) {
65
- &:hover {
66
- @extend %cbx-composite--hover !optional;
67
- }
68
- }
69
- }
70
-
71
75
  @include m(indigo) {
72
- @include e(composite) {
73
- &:hover {
74
- @extend %cbx-composite--hover !optional;
75
- }
76
- }
77
-
78
76
  @include e(composite-mark) {
79
77
  @extend %cbx-composite-mark-indigo !optional;
80
78
  }
81
-
82
- @include e(label) {
83
- &:hover {
84
- @extend %cbx-label--hover !optional;
85
- }
86
- }
87
79
  }
88
80
 
89
81
  @include m(invalid) {
@@ -99,6 +91,10 @@
99
91
  @extend %cbx-label--invalid !optional;
100
92
  }
101
93
 
94
+ @include e(label, $m: before) {
95
+ @extend %cbx-label--invalid !optional;
96
+ }
97
+
102
98
  &:hover {
103
99
  @include e(ripple) {
104
100
  @extend %cbx-ripple--hover !optional;
@@ -112,6 +108,14 @@
112
108
  @include e(composite-mark) {
113
109
  @extend %cbx-composite-mark--invalid--fluent !optional;
114
110
  }
111
+
112
+ @include e(label) {
113
+ @extend %cbx-label--invalid !optional;
114
+ }
115
+
116
+ @include e(label, $m: before) {
117
+ @extend %cbx-label--invalid !optional;
118
+ }
115
119
  }
116
120
 
117
121
  &:active {
@@ -183,6 +187,12 @@
183
187
  @include e(ripple) {
184
188
  @extend %cbx-ripple--focused-invalid !optional;
185
189
  }
190
+
191
+ &:hover {
192
+ @include e(ripple) {
193
+ @extend %cbx-ripple--hover-invalid !optional;
194
+ }
195
+ }
186
196
  }
187
197
 
188
198
  @include mx(indigo, focused, invalid) {
@@ -239,11 +249,19 @@
239
249
  @include e(composite) {
240
250
  @extend %cbx-composite--x--hover !optional;
241
251
  }
252
+
253
+ @include e(composite-mark) {
254
+ @extend %cbx-composite-mark--in--fluent !optional;
255
+ }
242
256
  }
243
257
  }
244
258
 
245
259
  @include mx(material, disabled, indeterminate) {
246
- @extend %igx-checkbox--disabled-indeterminate-material !optional;
260
+ @extend %igx-checkbox--disabled-indeterminate !optional;
261
+ }
262
+
263
+ @include mx(bootstrap, disabled, indeterminate) {
264
+ @extend %igx-checkbox--disabled-indeterminate !optional;
247
265
  }
248
266
 
249
267
  @include mx(fluent, disabled, indeterminate) {
@@ -251,7 +269,9 @@
251
269
  }
252
270
 
253
271
  @include mx(indigo, disabled, indeterminate) {
254
- @extend %igx-checkbox--disabled-indeterminate-indigo !optional;
272
+ @include e(composite) {
273
+ @extend %igx-checkbox--disabled-indeterminate-indigo !optional;
274
+ }
255
275
  }
256
276
 
257
277
  @include mx(indigo, focused, indeterminate) {
@@ -324,6 +344,21 @@
324
344
  @extend %cbx-ripple--focused !optional;
325
345
  @extend %cbx-ripple--focused-checked !optional;
326
346
  }
347
+
348
+ &:hover {
349
+ @include e(ripple) {
350
+ @extend %cbx-ripple--focused !optional;
351
+ @extend %cbx-ripple--focused--hover-checked !optional;
352
+ }
353
+ }
354
+ }
355
+
356
+ @include mx(focused, invalid, checked) {
357
+ &:hover {
358
+ @include e(ripple) {
359
+ @extend %cbx-ripple--hover-invalid !optional;
360
+ }
361
+ }
327
362
  }
328
363
 
329
364
  @include mx(focused, indeterminate) {
@@ -122,7 +122,9 @@
122
122
  }
123
123
 
124
124
  %cbx-composite--hover {
125
- border-color: var-get($theme, 'empty-color-hover');
125
+ @if $variant == 'bootstrap' or $variant == 'indigo' {
126
+ border-color: var-get($theme, 'empty-color-hover');
127
+ }
126
128
  }
127
129
 
128
130
  %cbx-composite--x {
@@ -175,6 +177,7 @@
175
177
  %cbx-composite--x--disabled {
176
178
  @if $variant == 'material' or $variant == 'fluent' {
177
179
  background: var-get($theme, 'disabled-color');
180
+ border-color: var-get($theme, 'disabled-color');
178
181
  }
179
182
 
180
183
  @if $variant == 'indigo' or $variant == 'bootstrap' {
@@ -262,7 +265,7 @@
262
265
  }
263
266
 
264
267
  %igx-checkbox--disabled-indeterminate-indigo {
265
- @extend %igx-checkbox--indeterminate-indigo;
268
+ @extend %cbx-composite--x--disabled;
266
269
 
267
270
  %cbx-composite-mark {
268
271
  rect {
@@ -291,6 +294,14 @@
291
294
  z-index: 1;
292
295
  }
293
296
  }
297
+
298
+ &:hover {
299
+ %cbx-composite {
300
+ &::before {
301
+ background: var-get($theme, 'fill-color-hover');
302
+ }
303
+ }
304
+ }
294
305
  }
295
306
 
296
307
  %igx-checkbox--disabled-indeterminate-fluent {
@@ -299,7 +310,7 @@
299
310
  }
300
311
 
301
312
  %cbx-composite--x--disabled {
302
- background: transparent;
313
+ border-color: var-get($theme, 'disabled-color');
303
314
 
304
315
  &::before {
305
316
  background: var-get($theme, 'disabled-color');
@@ -307,7 +318,7 @@
307
318
  }
308
319
  }
309
320
 
310
- %igx-checkbox--disabled-indeterminate-material {
321
+ %igx-checkbox--disabled-indeterminate {
311
322
  %cbx-composite--x--disabled {
312
323
  border-color: var-get($theme, 'disabled-indeterminate-color');
313
324
  background: var-get($theme, 'disabled-indeterminate-color');
@@ -458,11 +469,11 @@
458
469
  }
459
470
 
460
471
  %cbx-ripple--hover-checked {
461
- background: var-get($theme, 'fill-color');
472
+ background: var-get($theme, 'fill-color-hover');
462
473
  }
463
474
 
464
475
  %cbx-ripple--hover-invalid {
465
- background: var-get($theme, 'error-color');
476
+ background: var-get($theme, 'error-color-hover');
466
477
  }
467
478
 
468
479
  %igx-checkbox--focused-indigo {
@@ -544,6 +555,10 @@
544
555
  background: var-get($theme, 'fill-color');
545
556
  }
546
557
 
558
+ %cbx-ripple--focused--hover-checked {
559
+ background: var-get($theme, 'fill-color-hover');
560
+ }
561
+
547
562
  %cbx-ripple--focused-invalid {
548
563
  background: var-get($theme, 'error-color');
549
564
  }
@@ -210,12 +210,24 @@
210
210
  color: var-get($theme, 'clear-button-foreground-focus');
211
211
  background: var-get($theme, 'clear-button-background-focus');
212
212
  }
213
+
214
+ &%form-group-bundle--border {
215
+ %igx-combo__toggle-button {
216
+ background: var-get($theme, 'toggle-button-background-focus--border');
217
+ }
218
+ }
213
219
  }
214
220
 
215
221
  @if $variant == 'indigo' {
216
222
  %form-group-bundle:not(%form-group-bundle--disabled):hover {
217
223
  %igx-combo__toggle-button {
218
224
  color: var-get($theme, 'toggle-button-foreground-focus');
225
+ background: var-get($theme, 'toggle-button-background-focus');
226
+ }
227
+
228
+ %igx-combo__clear-button {
229
+ color: var-get($theme, 'clear-button-foreground-focus');
230
+ background: var-get($theme, 'clear-button-background-focus');
219
231
  }
220
232
  }
221
233
  }
@@ -224,6 +236,14 @@
224
236
  %igx-combo__toggle-button {
225
237
  color: var-get($theme, 'toggle-button-foreground-filled');
226
238
  }
239
+
240
+ @if $variant == 'material' {
241
+ &.igx-input-group--focused {
242
+ %igx-combo__toggle-button {
243
+ color: var-get($theme, 'toggle-button-foreground-filled');
244
+ }
245
+ }
246
+ }
227
247
  }
228
248
 
229
249
  .igx-input-group--focused {
@@ -254,14 +274,6 @@
254
274
  }
255
275
  }
256
276
 
257
- //.igx-input-group:not(.igx-input-group--box) {
258
- // %igx-combo__toggle-button:focus {
259
- // @if $variant == 'material' {
260
- // background: var-get($theme, 'toggle-button-background-focus--border');
261
- // }
262
- // }
263
- //}
264
-
265
277
  .igx-input-group--disabled {
266
278
  %igx-combo__toggle-button {
267
279
  background: var-get($theme, 'toggle-button-background-disabled') !important;
@@ -274,12 +286,4 @@
274
286
  }
275
287
  }
276
288
  }
277
-
278
- %form-group-bundle {
279
- &:hover {
280
- %igx-combo__clear-button {
281
- color: inherit;
282
- }
283
- }
284
- }
285
289
  }
@@ -229,7 +229,8 @@
229
229
  display: none;
230
230
  }
231
231
 
232
- > * {
232
+ > *,
233
+ [class^='igx'] {
233
234
  --component-size: #{if($variant == 'indigo', 2, var(--list-size))};
234
235
  }
235
236
 
@@ -38,6 +38,11 @@
38
38
  igx-input-group {
39
39
  --ig-size: 1;
40
40
  }
41
+
42
+ .igx-icon-button,
43
+ igc-icon-button {
44
+ --ig-size: 2;
45
+ }
41
46
  }
42
47
 
43
48
  @if $variant == 'bootstrap' {
@@ -114,30 +119,27 @@
114
119
 
115
120
  igx-icon,
116
121
  igc-icon {
117
- --component-size: 3;
122
+ --component-size: #{if($variant == 'indigo', 2, 3)};
118
123
 
119
124
  cursor: pointer;
120
125
  user-select: none;
121
126
  transition: color .15s $out-quad;
127
+
128
+ @if $variant == 'indigo' {
129
+ width: auto;
130
+ height: auto;
131
+ padding: rem(6px);
132
+ }
122
133
  }
123
134
 
124
- >igx-icon,
125
- >igc-icon {
135
+ > igx-icon,
136
+ > igc-icon {
126
137
  color: var-get($theme, 'idle-icon-color');
127
138
 
128
139
  &:hover {
129
140
  color: var-get($theme, 'hover-icon-color');
130
141
  }
131
142
  }
132
-
133
- @if $variant == 'indigo' {
134
- igx-icon,
135
- igc-icon {
136
- --component-size: 2;
137
-
138
- margin-inline: rem(6px);
139
- }
140
- }
141
143
  }
142
144
 
143
145
  igx-navbar-action,
@@ -55,7 +55,7 @@
55
55
 
56
56
  .igx-input-group.igx-input-group--disabled.igx-input-group--filled,
57
57
  .igx-input-group.igx-input-group--disabled {
58
- %igx-select__toggle-button {
58
+ %form-group-bundle %igx-select__toggle-button {
59
59
  background: var-get($theme, 'toggle-button-background-disabled');
60
60
  color: var-get($theme, 'toggle-button-foreground-disabled');
61
61
  }
@@ -33,7 +33,8 @@
33
33
 
34
34
  [igxButton] {
35
35
  @include animation(fade-in .35s ease-out);
36
- --ig-size: 1;
36
+
37
+ --ig-size: 2;
37
38
  background: transparent;
38
39
  color: var-get($theme, 'button-color');
39
40
  -webkit-tap-highlight-color: transparent;
@@ -43,10 +44,6 @@
43
44
  @if $variant == 'indigo' {
44
45
  padding: pad-block(rem(4px)) pad-inline(rem(16px));
45
46
  min-height: rem(36px);
46
-
47
- [igxButton] {
48
- --ig-size: 2;
49
- }
50
47
  }
51
48
  }
52
49
 
@@ -23,21 +23,6 @@
23
23
  'indigo': rem(16px),
24
24
  ), $variant);
25
25
 
26
- .igx-input-group {
27
- display: flex;
28
- flex-direction: column;
29
-
30
- @if $variant == 'indigo' or $variant == 'bootstrap' {
31
- [igxLabel] {
32
- margin-block-end: rem(4px);
33
- }
34
- } @else if $variant == 'fluent' {
35
- [igxLabel] {
36
- margin-block-end: rem(5px);
37
- }
38
- }
39
- }
40
-
41
26
  %time-picker-display {
42
27
  @include sizable();
43
28
 
@@ -23,7 +23,7 @@
23
23
  gap: rem(8px);
24
24
  min-height: rem(24px);
25
25
  min-width: rem(24px);
26
- max-width: 200px;
26
+ max-width: rem(200px);
27
27
  width: fit-content;
28
28
 
29
29
  igx-icon {
@@ -34,6 +34,10 @@
34
34
  display: flex;
35
35
  cursor: default;
36
36
  }
37
+
38
+ &:not([data-default]) {
39
+ max-width: initial;
40
+ }
37
41
  }
38
42
 
39
43
  %arrow--top {
@@ -36,7 +36,7 @@
36
36
  @use '../components/input/file-input-theme' as *;
37
37
 
38
38
  @mixin typography($type-scale) {
39
- @include badge-typography();
39
+ @include badge-typography($theme: 'bootstrap');
40
40
  @include banner-typography();
41
41
  @include bottom-nav-typography();
42
42
  @include button-typography();
@@ -35,7 +35,7 @@
35
35
  @use '../components/input/file-input-theme' as *;
36
36
 
37
37
  @mixin typography() {
38
- @include badge-typography();
38
+ @include badge-typography($theme: 'fluent');
39
39
  @include banner-typography($categories: (
40
40
  message: 'caption'
41
41
  ));
@@ -35,9 +35,7 @@
35
35
  @use '../components/input/file-input-theme' as *;
36
36
 
37
37
  @mixin typography($type-scale) {
38
- @include badge-typography($categories: (
39
- text: 'button',
40
- ));
38
+ @include badge-typography($theme: 'indigo');
41
39
  @include banner-typography();
42
40
  @include bottom-nav-typography();
43
41
  @include button-typography();
@@ -35,7 +35,7 @@
35
35
  @use '../components/input/file-input-theme' as *;
36
36
 
37
37
  @mixin typography() {
38
- @include badge-typography();
38
+ @include badge-typography($theme: 'material');
39
39
  @include banner-typography();
40
40
  @include bottom-nav-typography();
41
41
  @include button-typography();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "20.2.0-alpha.3",
3
+ "version": "20.2.0-alpha.5",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -127,6 +127,10 @@
127
127
  "types": "./index.d.ts",
128
128
  "default": "./fesm2022/igniteui-angular.mjs"
129
129
  },
130
+ "./chat-extras": {
131
+ "types": "./chat-extras/index.d.ts",
132
+ "default": "./fesm2022/igniteui-angular-chat-extras.mjs"
133
+ },
130
134
  "./animations": {
131
135
  "types": "./animations/index.d.ts",
132
136
  "default": "./fesm2022/igniteui-angular-animations.mjs"