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,188 +0,0 @@
1
- @use 'sass:map';
2
- @use '../../base' as *;
3
- @use '../../themes/schemas' as *;
4
-
5
- @function flat-icon-button-theme(
6
- $schema: $light-material-schema,
7
-
8
- $background: null,
9
- $foreground: null,
10
- $shadow-color: null,
11
-
12
- $hover-background: null,
13
- $hover-foreground: null,
14
-
15
- $focus-background: null,
16
- $focus-foreground: null,
17
-
18
- $focus-hover-background: null,
19
- $focus-hover-foreground: null,
20
-
21
- $active-background: null,
22
- $active-foreground: null,
23
-
24
- $border-radius: null,
25
- $border-color: null,
26
- $focus-border-color: null,
27
-
28
- $disabled-background: null,
29
- $disabled-foreground: null,
30
- $disabled-border-color: null,
31
-
32
- $size: null,
33
- ) {
34
- $name: 'igx-flat-icon-button';
35
- $icon-button-schema: ();
36
-
37
- @if map.has-key($schema, 'icon-button') {
38
- $icon-button-schema: map.get($schema, 'icon-button');
39
- @if map.has-key($icon-button-schema, 'flat') {
40
- $icon-button-schema: map.get($icon-button-schema, 'flat');
41
- } @else {
42
- $icon-button-schema: $schema;
43
- }
44
- }
45
-
46
- $theme: digest-schema($icon-button-schema);
47
- $variant: map.get($schema, '_meta', 'theme');
48
-
49
- @if not($hover-foreground) and $hover-background {
50
- $hover-foreground: adaptive-contrast(var(--hover-background));
51
- }
52
-
53
- @if not($focus-foreground) and $focus-background {
54
- $focus-foreground: adaptive-contrast(var(--focus-background));
55
- }
56
-
57
- @if not($focus-hover-foreground) and $focus-hover-background {
58
- $focus-hover-foreground: adaptive-contrast(var(--focus-hover-background));
59
- }
60
-
61
- @if not($active-foreground) and $active-background {
62
- $active-foreground: adaptive-contrast(var(--active-background));
63
- }
64
-
65
- @if $variant == 'material' or $variant == 'fluent' {
66
- @if not($hover-foreground) and $foreground {
67
- $hover-foreground: var(--foreground);
68
- }
69
-
70
- @if not($focus-foreground) and $foreground {
71
- $focus-foreground: var(--foreground);
72
- }
73
-
74
- @if not($focus-hover-foreground) and $foreground {
75
- $focus-hover-foreground: var(--foreground);
76
- }
77
-
78
- @if not($active-foreground) and $foreground {
79
- $active-foreground: var(--foreground);
80
- }
81
-
82
- @if not($hover-background) and $foreground {
83
- $hover-background: hsla(from var(--foreground) h s l / 0.08);
84
- }
85
-
86
- @if $variant == 'material' {
87
- @if not($focus-background) and $foreground {
88
- $focus-background: hsla(from var(--foreground) h s l / 0.16);
89
- }
90
-
91
- @if not($focus-hover-background) and $foreground {
92
- $focus-hover-background: hsla(from var(--foreground) h s l / 0.24);
93
- }
94
- } @else {
95
- @if not($focus-hover-background) and $hover-background {
96
- $focus-hover-background: var(--hover-background);
97
- }
98
- }
99
-
100
- @if not($active-background) and $foreground {
101
- $active-background: hsla(from var(--foreground) h s l / 0.24);
102
- }
103
- }
104
-
105
- @if $variant == 'indigo' {
106
- @if not($hover-background) and $foreground {
107
- $hover-background: hsla(from var(--foreground) h s l / 0.15);
108
- }
109
-
110
- @if not($focus-background) and $foreground {
111
- $focus-background: hsla(from var(--foreground) h s l / 0.15);
112
- }
113
-
114
- @if not($focus-hover-background) and $foreground {
115
- $focus-hover-background: hsla(from var(--foreground) h s l / 0.15);
116
- }
117
-
118
- @if not($active-background) and $foreground {
119
- $active-background: hsla(from var(--foreground) h s l / 0.15);
120
- }
121
- }
122
-
123
- @if $variant == 'bootstrap'or $variant == 'indigo' {
124
- @if not($hover-foreground) and $foreground {
125
- $hover-foreground: hsl(from var(--foreground) h s calc(l * 0.9));
126
- }
127
-
128
- @if not($focus-foreground) and $foreground {
129
- $focus-foreground: var(--foreground);
130
- }
131
-
132
- @if not($focus-hover-foreground) and $hover-foreground {
133
- $focus-hover-foreground: var(--hover-foreground);
134
- }
135
-
136
- @if not($disabled-foreground) and $foreground {
137
- $disabled-foreground: hsla(from var(--foreground) h s l / 0.5);
138
- }
139
-
140
- @if $variant == 'bootstrap' {
141
- @if not($active-foreground) and $foreground {
142
- $active-foreground: hsl(from var(--foreground) h s calc(l * 0.7));
143
- }
144
-
145
- @if not($shadow-color) and $foreground {
146
- $shadow-color: hsla(from var(--foreground) h s l / 0.5);
147
- }
148
- } @else {
149
- @if not($active-foreground) and $hover-foreground {
150
- $active-foreground: var(--hover-foreground);
151
- }
152
-
153
- @if not($focus-border-color) and $foreground {
154
- $focus-border-color: hsla(from var(--foreground) h s l / 0.3);
155
- }
156
- }
157
- }
158
-
159
- @return extend(
160
- $theme,
161
- (
162
- name: $name,
163
- background: $background,
164
- foreground: $foreground,
165
- shadow-color: $shadow-color,
166
-
167
- hover-background: $hover-background,
168
- hover-foreground: $hover-foreground,
169
-
170
- focus-background: $focus-background,
171
- focus-foreground: $focus-foreground,
172
-
173
- focus-hover-background: $focus-hover-background,
174
- focus-hover-foreground: $focus-hover-foreground,
175
-
176
- active-background: $active-background,
177
- active-foreground: $active-foreground,
178
-
179
- border-radius: $border-radius,
180
- border-color: $border-color,
181
- focus-border-color: $focus-border-color,
182
-
183
- disabled-background: $disabled-background,
184
- disabled-foreground: $disabled-foreground,
185
- disabled-border-color: $disabled-border-color,
186
- size: $size,
187
- ));
188
- }
@@ -1,232 +0,0 @@
1
- @use 'sass:map';
2
- @use '../../base' as *;
3
- @use '../../themes/schemas' as *;
4
-
5
- @function outlined-icon-button-theme(
6
- $schema: $light-material-schema,
7
-
8
- $background: null,
9
- $foreground: null,
10
- $shadow-color: null,
11
-
12
- $hover-background: null,
13
- $hover-foreground: null,
14
-
15
- $focus-background: null,
16
- $focus-foreground: null,
17
-
18
- $focus-hover-background: null,
19
- $focus-hover-foreground: null,
20
-
21
- $active-background: null,
22
- $active-foreground: null,
23
-
24
- $border-radius: null,
25
- $border-color: null,
26
- $focus-border-color: null,
27
-
28
- $disabled-background: null,
29
- $disabled-foreground: null,
30
- $disabled-border-color: null,
31
-
32
- $size: null,
33
- ) {
34
- $name: 'igx-outlined-icon-button';
35
- $icon-button-schema: ();
36
-
37
- @if map.has-key($schema, 'icon-button') {
38
- $icon-button-schema: map.get($schema, 'icon-button');
39
- @if map.has-key($icon-button-schema, 'outlined') {
40
- $icon-button-schema: map.get($icon-button-schema, 'outlined');
41
- } @else {
42
- $icon-button-schema: $schema;
43
- }
44
- }
45
-
46
- $theme: digest-schema($icon-button-schema);
47
- $variant: map.get($schema, '_meta', 'theme');
48
-
49
- @if not($hover-foreground) and $hover-background {
50
- $hover-foreground: adaptive-contrast(var(--hover-background));
51
- }
52
-
53
- @if not($focus-foreground) and $focus-background {
54
- $focus-foreground: adaptive-contrast(var(--focus-background));
55
- }
56
-
57
- @if not($focus-hover-foreground) and $focus-hover-background {
58
- $focus-hover-foreground: adaptive-contrast(var(--focus-hover-background));
59
- }
60
-
61
- @if not($active-foreground) and $active-background {
62
- $active-foreground: adaptive-contrast(var(--active-background));
63
- }
64
-
65
- @if $variant == 'material' or $variant == 'fluent' {
66
- @if not($hover-foreground) and $foreground {
67
- $hover-foreground: var(--foreground);
68
- }
69
-
70
- @if not($focus-foreground) and $foreground {
71
- $focus-foreground: var(--foreground);
72
- }
73
-
74
- @if not($focus-hover-foreground) and $foreground {
75
- $focus-hover-foreground: var(--foreground);
76
- }
77
-
78
- @if not($active-foreground) and $foreground {
79
- $active-foreground: var(--foreground);
80
- }
81
-
82
- @if not($hover-background) and $foreground {
83
- $hover-background: hsla(from var(--foreground) h s l / 0.08);
84
- }
85
-
86
- @if not($active-background) and $foreground {
87
- $active-background: hsla(from var(--foreground) h s l / 0.24);
88
- }
89
-
90
- @if $variant == 'material' {
91
- @if not($focus-background) and $foreground {
92
- $focus-background: hsla(from var(--foreground) h s l / 0.16);
93
- }
94
-
95
- @if not($focus-hover-background) and $foreground {
96
- $focus-hover-background: hsla(from var(--foreground) h s l / 0.24);
97
- }
98
-
99
- @if not($border-color) and $foreground {
100
- $border-color: hsla(from var(--foreground) h s l / 0.4);
101
- }
102
- } @else {
103
- @if not($focus-hover-background) and $hover-background {
104
- $focus-hover-background: var(--hover-background);
105
- }
106
-
107
- @if not($focus-border-color) and $foreground {
108
- $focus-border-color: var(--foreground);
109
- }
110
-
111
- @if not($border-color) and $foreground {
112
- $border-color: hsla(from var(--foreground) h s l / 0.7);
113
- }
114
- }
115
- }
116
-
117
- @if $variant == 'indigo' {
118
- @if not($border-color) and $foreground {
119
- $border-color: hsla(from var(--foreground) h s l / 0.8);
120
- }
121
-
122
- @if not($hover-foreground) and $foreground {
123
- $hover-foreground: hsl(from var(--foreground) h s calc(l * 0.9));
124
- }
125
-
126
- @if not($hover-background) and $foreground {
127
- $hover-background: hsla(from var(--foreground) h s l / 0.1);
128
- }
129
-
130
- @if not($focus-foreground) and $foreground {
131
- $focus-foreground: var(--foreground);
132
- }
133
-
134
- @if not($focus-border-color) and $foreground {
135
- $focus-border-color: hsla(from var(--foreground) h s l / 0.2);
136
- }
137
-
138
- @if not($focus-hover-foreground) and $hover-foreground {
139
- $focus-hover-foreground: var(--hover-foreground);
140
- }
141
-
142
- @if not($active-foreground) and $hover-foreground {
143
- $active-foreground: var(--hover-foreground);
144
- }
145
- }
146
-
147
- @if $variant == 'bootstrap' {
148
- @if not($border-color) and $foreground {
149
- $border-color: var(--foreground);
150
- }
151
-
152
- @if not($hover-background) and $foreground {
153
- $hover-background: var(--foreground);
154
- }
155
-
156
- @if not($hover-foreground) and $hover-background {
157
- $hover-foreground: adaptive-contrast(var(--hover-background));
158
- }
159
-
160
- @if not($focus-background) and $foreground {
161
- $focus-background: var(--foreground);
162
- }
163
-
164
- @if not($focus-foreground) and $focus-background {
165
- $focus-foreground: adaptive-contrast(var(--focus-background));
166
- }
167
-
168
- @if not($focus-hover-background) and $focus-background {
169
- $focus-hover-background: hsl(from var(--focus-background) h s calc(l * 0.9));
170
- }
171
-
172
- @if not($focus-hover-foreground) and $focus-hover-background {
173
- $focus-hover-foreground: adaptive-contrast(var(--focus-hover-background));
174
- }
175
-
176
- @if not($active-background) and $foreground {
177
- $active-background: hsl(from var(--foreground) h s calc(l * 0.8));
178
- }
179
-
180
- @if not($active-foreground) and $active-background {
181
- $active-foreground: adaptive-contrast(var(--active-background));
182
- }
183
-
184
- @if not($focus-border-color) and $active-background {
185
- $focus-border-color: var(--active-background);
186
- }
187
-
188
- @if not($shadow-color) and $focus-background {
189
- $shadow-color: hsla(from var(--focus-background) h s l / 0.5);
190
- }
191
- }
192
-
193
- @if $variant == 'bootstrap' or $variant == 'indigo' {
194
- @if not($disabled-foreground) and $foreground {
195
- $disabled-foreground: hsla(from var(--foreground) h s l / 0.5);
196
- }
197
-
198
- @if not($disabled-border-color) and $border-color {
199
- $disabled-border-color: hsla(from var(--border-color) h s l / 0.2);
200
- }
201
- }
202
-
203
- @return extend(
204
- $theme,
205
- (
206
- name: $name,
207
- background: $background,
208
- foreground: $foreground,
209
- shadow-color: $shadow-color,
210
-
211
- hover-background: $hover-background,
212
- hover-foreground: $hover-foreground,
213
-
214
- focus-background: $focus-background,
215
- focus-foreground: $focus-foreground,
216
-
217
- focus-hover-background: $focus-hover-background,
218
- focus-hover-foreground: $focus-hover-foreground,
219
-
220
- active-background: $active-background,
221
- active-foreground: $active-foreground,
222
-
223
- border-radius: $border-radius,
224
- border-color: $border-color,
225
- focus-border-color: $focus-border-color,
226
-
227
- disabled-background: $disabled-background,
228
- disabled-foreground: $disabled-foreground,
229
- disabled-border-color: $disabled-border-color,
230
- size: $size,
231
- ));
232
- }