igniteui-angular 20.0.0 → 20.0.2
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.
- package/fesm2022/igniteui-angular.mjs +9 -11
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/lib/core/styles/components/_common/_igx-vhelper.scss +1 -0
- package/lib/core/styles/components/action-strip/_action-strip-theme.scss +2 -7
- package/lib/core/styles/components/avatar/_avatar-theme.scss +7 -8
- package/lib/core/styles/components/badge/_badge-theme.scss +3 -8
- package/lib/core/styles/components/banner/_banner-theme.scss +6 -7
- package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +17 -28
- package/lib/core/styles/components/button/_button-theme.scss +219 -158
- package/lib/core/styles/components/button/_contained-button-theme.scss +302 -0
- package/lib/core/styles/components/button/_fab-button-theme.scss +296 -0
- package/lib/core/styles/components/button/_flat-button-theme.scss +356 -0
- package/lib/core/styles/components/button/_outlined-button-theme.scss +419 -0
- package/lib/core/styles/components/button-group/_button-group-theme.scss +113 -29
- package/lib/core/styles/components/calendar/_calendar-theme.scss +502 -112
- package/lib/core/styles/components/card/_card-theme.scss +5 -16
- package/lib/core/styles/components/carousel/_carousel-theme.scss +103 -23
- package/lib/core/styles/components/checkbox/_checkbox-component.scss +1 -1
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +63 -11
- package/lib/core/styles/components/chip/_chip-theme.scss +64 -47
- package/lib/core/styles/components/column-actions/_column-actions-theme.scss +2 -7
- package/lib/core/styles/components/combo/_combo-theme.scss +54 -12
- package/lib/core/styles/components/dialog/_dialog-theme.scss +9 -12
- package/lib/core/styles/components/divider/_divider-theme.scss +1 -6
- package/lib/core/styles/components/drop-down/_drop-down-theme.scss +52 -32
- package/lib/core/styles/components/expansion-panel/_expansion-panel-theme.scss +18 -13
- package/lib/core/styles/components/grid/_grid-theme.scss +115 -94
- package/lib/core/styles/components/grid/_pivot-data-selector-theme.scss +1 -6
- package/lib/core/styles/components/grid-summary/_grid-summary-theme.scss +12 -13
- package/lib/core/styles/components/grid-toolbar/_grid-toolbar-theme.scss +7 -12
- package/lib/core/styles/components/highlight/highlight-theme.scss +2 -3
- package/lib/core/styles/components/icon/_icon-theme.scss +0 -1
- package/lib/core/styles/components/icon-button/_contained-icon-button-theme.scss +196 -0
- package/lib/core/styles/components/icon-button/_flat-icon-button-theme.scss +188 -0
- package/lib/core/styles/components/icon-button/_icon-button-theme.scss +45 -32
- package/lib/core/styles/components/icon-button/_outlined-icon-button-theme.scss +232 -0
- package/lib/core/styles/components/input/_input-group-theme.scss +272 -21
- package/lib/core/styles/components/label/_label-theme.scss +2 -4
- package/lib/core/styles/components/list/_list-theme.scss +42 -66
- package/lib/core/styles/components/navbar/_navbar-theme.scss +25 -15
- package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +24 -22
- package/lib/core/styles/components/overlay/_overlay-theme.scss +0 -1
- package/lib/core/styles/components/paginator/_paginator-theme.scss +2 -7
- package/lib/core/styles/components/progress/circular/_circular-theme.scss +3 -8
- package/lib/core/styles/components/progress/linear/_linear-theme.scss +1 -6
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +28 -11
- package/lib/core/styles/components/radio/_radio-theme.scss +54 -10
- package/lib/core/styles/components/ripple/_ripple-theme.scss +0 -1
- package/lib/core/styles/components/scrollbar/scrollbar-theme.scss +0 -1
- package/lib/core/styles/components/select/_select-theme.scss +35 -7
- package/lib/core/styles/components/slider/_slider-theme.scss +92 -7
- package/lib/core/styles/components/snackbar/_snackbar-theme.scss +3 -8
- package/lib/core/styles/components/splitter/_splitter-theme.scss +15 -8
- package/lib/core/styles/components/stepper/_stepper-theme.scss +190 -22
- package/lib/core/styles/components/switch/_switch-theme.scss +112 -8
- package/lib/core/styles/components/tabs/_tabs-theme.scss +124 -56
- package/lib/core/styles/components/time-picker/_time-picker-theme.scss +35 -18
- package/lib/core/styles/components/toast/_toast-theme.scss +9 -10
- package/lib/core/styles/components/tooltip/_tooltip-theme.scss +2 -7
- package/lib/core/styles/components/tree/_tree-theme.scss +33 -10
- package/lib/core/styles/components/watermark/_watermark-theme.scss +0 -1
- package/lib/core/styles/themes/_core.scss +6 -0
- package/lib/core/styles/themes/generators/_base.scss +146 -58
- package/migrations/migration-collection.json +5 -0
- package/migrations/update-20_0_2/changes/theme-changes.json +11 -0
- package/migrations/update-20_0_2/index.d.ts +3 -0
- package/migrations/update-20_0_2/index.js +18 -0
- package/package.json +1 -1
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@use 'igniteui-theming/sass/utils' as *;
|
|
13
13
|
@use 'igniteui-theming/sass/themes' as *;
|
|
14
14
|
@use 'igniteui-theming/sass/themes/charts' as *;
|
|
15
|
+
@use 'igniteui-theming/sass/themes/schemas/components/light/button' as *;
|
|
15
16
|
|
|
16
17
|
////
|
|
17
18
|
/// @group themes
|
|
@@ -21,7 +22,9 @@
|
|
|
21
22
|
|
|
22
23
|
/// Default noop handler for theme map transforms
|
|
23
24
|
/// @access private
|
|
24
|
-
@function theme-noop($arg) {
|
|
25
|
+
@function theme-noop($arg) {
|
|
26
|
+
@return $arg;
|
|
27
|
+
}
|
|
25
28
|
|
|
26
29
|
/// Generates an Ignite UI for Angular global theme.
|
|
27
30
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
@@ -39,7 +42,7 @@
|
|
|
39
42
|
$exclude: (),
|
|
40
43
|
$roundness: null,
|
|
41
44
|
$elevation: true,
|
|
42
|
-
$elevations: elevations.$material-elevations
|
|
45
|
+
$elevations: elevations.$material-elevations
|
|
43
46
|
) {
|
|
44
47
|
@include theme-internal(
|
|
45
48
|
$palette: $palette,
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
$roundness: $roundness,
|
|
49
52
|
$elevation: $elevation,
|
|
50
53
|
$elevations: $elevations
|
|
51
|
-
)
|
|
54
|
+
);
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
/// Generates an Ignite UI for Angular global theme.
|
|
@@ -69,7 +72,7 @@
|
|
|
69
72
|
$roundness: null,
|
|
70
73
|
$elevation: true,
|
|
71
74
|
$elevations: elevations.$material-elevations,
|
|
72
|
-
$theme-handler: meta.get-function('theme-noop')
|
|
75
|
+
$theme-handler: meta.get-function('theme-noop')
|
|
73
76
|
) {
|
|
74
77
|
// Stores all excluded component styles
|
|
75
78
|
$excluded: ();
|
|
@@ -146,7 +149,10 @@
|
|
|
146
149
|
$action-strip-theme-map: action-strip-theme(
|
|
147
150
|
$schema: $schema,
|
|
148
151
|
);
|
|
149
|
-
$action-strip-theme-map: meta.call(
|
|
152
|
+
$action-strip-theme-map: meta.call(
|
|
153
|
+
$theme-handler,
|
|
154
|
+
$action-strip-theme-map
|
|
155
|
+
);
|
|
150
156
|
@include action-strip($action-strip-theme-map);
|
|
151
157
|
}
|
|
152
158
|
|
|
@@ -167,18 +173,38 @@
|
|
|
167
173
|
}
|
|
168
174
|
|
|
169
175
|
@if is-used('igx-button', $exclude) {
|
|
170
|
-
$
|
|
176
|
+
$flat-theme-map: flat-button-theme(
|
|
177
|
+
$schema: $schema,
|
|
178
|
+
);
|
|
179
|
+
|
|
180
|
+
$contained-theme-map: contained-button-theme(
|
|
171
181
|
$schema: $schema,
|
|
172
182
|
);
|
|
173
|
-
|
|
174
|
-
|
|
183
|
+
|
|
184
|
+
$outlined-theme-map: outlined-button-theme(
|
|
185
|
+
$schema: $schema,
|
|
186
|
+
);
|
|
187
|
+
|
|
188
|
+
$fab-theme-map: fab-button-theme(
|
|
189
|
+
$schema: $schema,
|
|
190
|
+
);
|
|
191
|
+
|
|
192
|
+
@include button(
|
|
193
|
+
$flat: meta.call($theme-handler, $flat-theme-map),
|
|
194
|
+
$contained: meta.call($theme-handler, $contained-theme-map),
|
|
195
|
+
$outlined: meta.call($theme-handler, $outlined-theme-map),
|
|
196
|
+
$fab:meta.call($theme-handler, $fab-theme-map)
|
|
197
|
+
);
|
|
175
198
|
}
|
|
176
199
|
|
|
177
200
|
@if is-used('igx-button-group', $exclude) {
|
|
178
201
|
$button-group-theme-map: button-group-theme(
|
|
179
202
|
$schema: $schema,
|
|
180
203
|
);
|
|
181
|
-
$button-group-theme-map: meta.call(
|
|
204
|
+
$button-group-theme-map: meta.call(
|
|
205
|
+
$theme-handler,
|
|
206
|
+
$button-group-theme-map
|
|
207
|
+
);
|
|
182
208
|
@include button-group($button-group-theme-map);
|
|
183
209
|
}
|
|
184
210
|
|
|
@@ -227,55 +253,73 @@
|
|
|
227
253
|
$schema: $schema,
|
|
228
254
|
);
|
|
229
255
|
$data-chart-theme-map: meta.call($theme-handler, $data-chart-theme-map);
|
|
230
|
-
@include
|
|
256
|
+
@include css-vars($data-chart-theme-map);
|
|
231
257
|
}
|
|
232
258
|
|
|
233
259
|
@if is-used('doughnut-chart', $exclude) {
|
|
234
260
|
$doughnut-chart-theme-map: doughnut-chart-theme(
|
|
235
261
|
$schema: $schema,
|
|
236
262
|
);
|
|
237
|
-
$doughnut-chart-theme-map: meta.call(
|
|
238
|
-
|
|
263
|
+
$doughnut-chart-theme-map: meta.call(
|
|
264
|
+
$theme-handler,
|
|
265
|
+
$doughnut-chart-theme-map
|
|
266
|
+
);
|
|
267
|
+
@include css-vars($doughnut-chart-theme-map);
|
|
239
268
|
}
|
|
240
269
|
|
|
241
270
|
@if is-used('linear-gauge', $exclude) {
|
|
242
271
|
$linear-gauge-theme-map: linear-gauge-theme(
|
|
243
272
|
$schema: $schema,
|
|
244
273
|
);
|
|
245
|
-
$linear-gauge-theme-map: meta.call(
|
|
246
|
-
|
|
274
|
+
$linear-gauge-theme-map: meta.call(
|
|
275
|
+
$theme-handler,
|
|
276
|
+
$linear-gauge-theme-map
|
|
277
|
+
);
|
|
278
|
+
@include css-vars($linear-gauge-theme-map);
|
|
247
279
|
}
|
|
248
280
|
|
|
249
281
|
@if is-used('radial-gauge', $exclude) {
|
|
250
282
|
$radial-gauge-theme-map: radial-gauge-theme(
|
|
251
283
|
$schema: $schema,
|
|
252
284
|
);
|
|
253
|
-
$radial-gauge-theme-map: meta.call(
|
|
254
|
-
|
|
285
|
+
$radial-gauge-theme-map: meta.call(
|
|
286
|
+
$theme-handler,
|
|
287
|
+
$radial-gauge-theme-map
|
|
288
|
+
);
|
|
289
|
+
@include css-vars($radial-gauge-theme-map);
|
|
255
290
|
}
|
|
256
291
|
|
|
257
292
|
@if is-used('financial-chart', $exclude) {
|
|
258
293
|
$financial-chart-theme-map: financial-chart-theme(
|
|
259
294
|
$schema: $schema,
|
|
260
295
|
);
|
|
261
|
-
$financial-chart-theme-map: meta.call(
|
|
262
|
-
|
|
296
|
+
$financial-chart-theme-map: meta.call(
|
|
297
|
+
$theme-handler,
|
|
298
|
+
$financial-chart-theme-map
|
|
299
|
+
);
|
|
300
|
+
@include css-vars($financial-chart-theme-map);
|
|
263
301
|
}
|
|
264
302
|
|
|
265
303
|
@if is-used('bullet-graph', $exclude) {
|
|
266
304
|
$bullet-graph-theme-map: bullet-graph-theme(
|
|
267
305
|
$schema: $schema,
|
|
268
306
|
);
|
|
269
|
-
$bullet-graph-theme-map: meta.call(
|
|
270
|
-
|
|
307
|
+
$bullet-graph-theme-map: meta.call(
|
|
308
|
+
$theme-handler,
|
|
309
|
+
$bullet-graph-theme-map
|
|
310
|
+
);
|
|
311
|
+
@include css-vars($bullet-graph-theme-map);
|
|
271
312
|
}
|
|
272
313
|
|
|
273
314
|
@if is-used('category-chart', $exclude) {
|
|
274
315
|
$category-chart-theme-map: category-chart-theme(
|
|
275
316
|
$schema: $schema,
|
|
276
317
|
);
|
|
277
|
-
$category-chart-theme-map: meta.call(
|
|
278
|
-
|
|
318
|
+
$category-chart-theme-map: meta.call(
|
|
319
|
+
$theme-handler,
|
|
320
|
+
$category-chart-theme-map
|
|
321
|
+
);
|
|
322
|
+
@include css-vars($category-chart-theme-map);
|
|
279
323
|
}
|
|
280
324
|
|
|
281
325
|
@if is-used('geo-map', $exclude) {
|
|
@@ -283,7 +327,7 @@
|
|
|
283
327
|
$schema: $schema,
|
|
284
328
|
);
|
|
285
329
|
$geo-map-theme-map: meta.call($theme-handler, $geo-map-theme-map);
|
|
286
|
-
@include
|
|
330
|
+
@include css-vars($geo-map-theme-map);
|
|
287
331
|
}
|
|
288
332
|
|
|
289
333
|
@if is-used('pie-chart', $exclude) {
|
|
@@ -291,7 +335,7 @@
|
|
|
291
335
|
$schema: $schema,
|
|
292
336
|
);
|
|
293
337
|
$pie-chart-theme-map: meta.call($theme-handler, $pie-chart-theme-map);
|
|
294
|
-
@include
|
|
338
|
+
@include css-vars($pie-chart-theme-map);
|
|
295
339
|
}
|
|
296
340
|
|
|
297
341
|
@if is-used('sparkline', $exclude) {
|
|
@@ -299,23 +343,29 @@
|
|
|
299
343
|
$schema: $schema,
|
|
300
344
|
);
|
|
301
345
|
$sparkline-theme-map: meta.call($theme-handler, $sparkline-theme-map);
|
|
302
|
-
@include
|
|
346
|
+
@include css-vars($sparkline-theme-map);
|
|
303
347
|
}
|
|
304
348
|
|
|
305
349
|
@if is-used('funnel-chart', $exclude) {
|
|
306
350
|
$funnel-chart-theme-map: funnel-chart-theme(
|
|
307
351
|
$schema: $schema,
|
|
308
352
|
);
|
|
309
|
-
$funnel-chart-theme-map: meta.call(
|
|
310
|
-
|
|
353
|
+
$funnel-chart-theme-map: meta.call(
|
|
354
|
+
$theme-handler,
|
|
355
|
+
$funnel-chart-theme-map
|
|
356
|
+
);
|
|
357
|
+
@include css-vars($funnel-chart-theme-map);
|
|
311
358
|
}
|
|
312
359
|
|
|
313
360
|
@if is-used('shape-chart', $exclude) {
|
|
314
361
|
$shape-chart-theme-map: shape-chart-theme(
|
|
315
362
|
$schema: $schema,
|
|
316
363
|
);
|
|
317
|
-
$shape-chart-theme-map: meta.call(
|
|
318
|
-
|
|
364
|
+
$shape-chart-theme-map: meta.call(
|
|
365
|
+
$theme-handler,
|
|
366
|
+
$shape-chart-theme-map
|
|
367
|
+
);
|
|
368
|
+
@include css-vars($shape-chart-theme-map);
|
|
319
369
|
}
|
|
320
370
|
|
|
321
371
|
@if is-used('igx-checkbox', $exclude) {
|
|
@@ -338,7 +388,10 @@
|
|
|
338
388
|
$column-actions-theme-map: column-actions-theme(
|
|
339
389
|
$schema: $schema,
|
|
340
390
|
);
|
|
341
|
-
$column-actions-theme-map: meta.call(
|
|
391
|
+
$column-actions-theme-map: meta.call(
|
|
392
|
+
$theme-handler,
|
|
393
|
+
$column-actions-theme-map
|
|
394
|
+
);
|
|
342
395
|
@include column-actions($column-actions-theme-map);
|
|
343
396
|
}
|
|
344
397
|
|
|
@@ -370,7 +423,10 @@
|
|
|
370
423
|
$date-range-picker-theme-map: date-range-picker-theme(
|
|
371
424
|
$schema: $schema,
|
|
372
425
|
);
|
|
373
|
-
$date-range-picker-theme-map: meta.call(
|
|
426
|
+
$date-range-picker-theme-map: meta.call(
|
|
427
|
+
$theme-handler,
|
|
428
|
+
$date-range-picker-theme-map
|
|
429
|
+
);
|
|
374
430
|
@include date-range-picker($date-range-picker-theme-map);
|
|
375
431
|
}
|
|
376
432
|
|
|
@@ -394,7 +450,10 @@
|
|
|
394
450
|
$dock-manager-theme-map: dock-manager-theme(
|
|
395
451
|
$schema: $schema,
|
|
396
452
|
);
|
|
397
|
-
$dock-manager-theme-map: meta.call(
|
|
453
|
+
$dock-manager-theme-map: meta.call(
|
|
454
|
+
$theme-handler,
|
|
455
|
+
$dock-manager-theme-map
|
|
456
|
+
);
|
|
398
457
|
@include dock-manager($dock-manager-theme-map);
|
|
399
458
|
}
|
|
400
459
|
|
|
@@ -418,7 +477,10 @@
|
|
|
418
477
|
$expansion-panel-theme-map: expansion-panel-theme(
|
|
419
478
|
$schema: $schema,
|
|
420
479
|
);
|
|
421
|
-
$expansion-panel-theme-map: meta.call(
|
|
480
|
+
$expansion-panel-theme-map: meta.call(
|
|
481
|
+
$theme-handler,
|
|
482
|
+
$expansion-panel-theme-map
|
|
483
|
+
);
|
|
422
484
|
@include expansion-panel($expansion-panel-theme-map);
|
|
423
485
|
}
|
|
424
486
|
|
|
@@ -434,7 +496,10 @@
|
|
|
434
496
|
$grid-summary-theme-map: grid-summary-theme(
|
|
435
497
|
$schema: $schema,
|
|
436
498
|
);
|
|
437
|
-
$grid-summary-theme-map: meta.call(
|
|
499
|
+
$grid-summary-theme-map: meta.call(
|
|
500
|
+
$theme-handler,
|
|
501
|
+
$grid-summary-theme-map
|
|
502
|
+
);
|
|
438
503
|
@include grid-summary($grid-summary-theme-map);
|
|
439
504
|
}
|
|
440
505
|
|
|
@@ -442,7 +507,10 @@
|
|
|
442
507
|
$grid-toolbar-theme-map: grid-toolbar-theme(
|
|
443
508
|
$schema: $schema,
|
|
444
509
|
);
|
|
445
|
-
$grid-toolbar-theme-map: meta.call(
|
|
510
|
+
$grid-toolbar-theme-map: meta.call(
|
|
511
|
+
$theme-handler,
|
|
512
|
+
$grid-toolbar-theme-map
|
|
513
|
+
);
|
|
446
514
|
@include grid-toolbar($grid-toolbar-theme-map);
|
|
447
515
|
}
|
|
448
516
|
|
|
@@ -450,7 +518,10 @@
|
|
|
450
518
|
$pivot-data-selector-theme-map: pivot-data-selector-theme(
|
|
451
519
|
$schema: $schema,
|
|
452
520
|
);
|
|
453
|
-
$pivot-data-selector-theme-map: meta.call(
|
|
521
|
+
$pivot-data-selector-theme-map: meta.call(
|
|
522
|
+
$theme-handler,
|
|
523
|
+
$pivot-data-selector-theme-map
|
|
524
|
+
);
|
|
454
525
|
@include pivot-data-selector($pivot-data-selector-theme-map);
|
|
455
526
|
}
|
|
456
527
|
|
|
@@ -471,18 +542,33 @@
|
|
|
471
542
|
}
|
|
472
543
|
|
|
473
544
|
@if is-used('igx-icon-button', $exclude) {
|
|
474
|
-
$
|
|
545
|
+
$flat-theme-map: flat-icon-button-theme(
|
|
546
|
+
$schema: $schema,
|
|
547
|
+
);
|
|
548
|
+
|
|
549
|
+
$contained-theme-map: contained-icon-button-theme(
|
|
550
|
+
$schema: $schema,
|
|
551
|
+
);
|
|
552
|
+
|
|
553
|
+
$outlined-theme-map: outlined-icon-button-theme(
|
|
475
554
|
$schema: $schema,
|
|
476
555
|
);
|
|
477
|
-
|
|
478
|
-
@include icon-button(
|
|
556
|
+
|
|
557
|
+
@include icon-button(
|
|
558
|
+
$flat: meta.call($theme-handler, $flat-theme-map),
|
|
559
|
+
$contained: meta.call($theme-handler, $contained-theme-map),
|
|
560
|
+
$outlined: meta.call($theme-handler, $outlined-theme-map),
|
|
561
|
+
);
|
|
479
562
|
}
|
|
480
563
|
|
|
481
564
|
@if is-used('igx-input-group', $exclude) {
|
|
482
565
|
$input-group-theme-map: input-group-theme(
|
|
483
566
|
$schema: $schema,
|
|
484
567
|
);
|
|
485
|
-
$input-group-theme-map: meta.call(
|
|
568
|
+
$input-group-theme-map: meta.call(
|
|
569
|
+
$theme-handler,
|
|
570
|
+
$input-group-theme-map
|
|
571
|
+
);
|
|
486
572
|
@include input-group($input-group-theme-map);
|
|
487
573
|
}
|
|
488
574
|
|
|
@@ -538,7 +624,10 @@
|
|
|
538
624
|
$progress-circular-theme-map: progress-circular-theme(
|
|
539
625
|
$schema: $schema,
|
|
540
626
|
);
|
|
541
|
-
$progress-circular-theme-map: meta.call(
|
|
627
|
+
$progress-circular-theme-map: meta.call(
|
|
628
|
+
$theme-handler,
|
|
629
|
+
$progress-circular-theme-map
|
|
630
|
+
);
|
|
542
631
|
@include progress-circular($progress-circular-theme-map);
|
|
543
632
|
}
|
|
544
633
|
|
|
@@ -546,7 +635,10 @@
|
|
|
546
635
|
$progress-linear-theme-map: progress-linear-theme(
|
|
547
636
|
$schema: $schema,
|
|
548
637
|
);
|
|
549
|
-
$progress-linear-theme-map: meta.call(
|
|
638
|
+
$progress-linear-theme-map: meta.call(
|
|
639
|
+
$theme-handler,
|
|
640
|
+
$progress-linear-theme-map
|
|
641
|
+
);
|
|
550
642
|
@include progress-linear($progress-linear-theme-map);
|
|
551
643
|
}
|
|
552
644
|
|
|
@@ -562,7 +654,10 @@
|
|
|
562
654
|
$query-builder-theme-map: query-builder-theme(
|
|
563
655
|
$schema: $schema,
|
|
564
656
|
);
|
|
565
|
-
$query-builder-theme-map: meta.call(
|
|
657
|
+
$query-builder-theme-map: meta.call(
|
|
658
|
+
$theme-handler,
|
|
659
|
+
$query-builder-theme-map
|
|
660
|
+
);
|
|
566
661
|
@include query-builder($query-builder-theme-map);
|
|
567
662
|
}
|
|
568
663
|
|
|
@@ -634,7 +729,10 @@
|
|
|
634
729
|
$time-picker-theme-map: time-picker-theme(
|
|
635
730
|
$schema: $schema,
|
|
636
731
|
);
|
|
637
|
-
$time-picker-theme-map: meta.call(
|
|
732
|
+
$time-picker-theme-map: meta.call(
|
|
733
|
+
$theme-handler,
|
|
734
|
+
$time-picker-theme-map
|
|
735
|
+
);
|
|
638
736
|
@include time-picker($time-picker-theme-map);
|
|
639
737
|
}
|
|
640
738
|
|
|
@@ -664,12 +762,7 @@
|
|
|
664
762
|
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
|
|
665
763
|
/// @see {mixin} theme
|
|
666
764
|
/// @deprecated - Use the theme mixin instead.
|
|
667
|
-
@mixin light-theme(
|
|
668
|
-
$palette,
|
|
669
|
-
$exclude: (),
|
|
670
|
-
$roundness: null,
|
|
671
|
-
$elevation: true,
|
|
672
|
-
) {
|
|
765
|
+
@mixin light-theme($palette, $exclude: (), $roundness: null, $elevation: true) {
|
|
673
766
|
$gray: color($palette, gray);
|
|
674
767
|
$surface: color($palette, surface);
|
|
675
768
|
|
|
@@ -689,7 +782,7 @@
|
|
|
689
782
|
$schema: $light-material-schema,
|
|
690
783
|
$exclude: $exclude,
|
|
691
784
|
$roundness: $roundness,
|
|
692
|
-
$elevation: $elevation
|
|
785
|
+
$elevation: $elevation
|
|
693
786
|
);
|
|
694
787
|
}
|
|
695
788
|
|
|
@@ -698,12 +791,7 @@
|
|
|
698
791
|
/// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles.
|
|
699
792
|
/// @see {mixin} theme
|
|
700
793
|
/// @deprecated - Use the theme mixin instead.
|
|
701
|
-
@mixin dark-theme(
|
|
702
|
-
$palette,
|
|
703
|
-
$exclude: (),
|
|
704
|
-
$roundness: null,
|
|
705
|
-
$elevation: true,
|
|
706
|
-
) {
|
|
794
|
+
@mixin dark-theme($palette, $exclude: (), $roundness: null, $elevation: true) {
|
|
707
795
|
$gray: color($palette, gray);
|
|
708
796
|
$surface: color($palette, surface);
|
|
709
797
|
|
|
@@ -723,6 +811,6 @@
|
|
|
723
811
|
$schema: $dark-material-schema,
|
|
724
812
|
$exclude: $exclude,
|
|
725
813
|
$roundness: $roundness,
|
|
726
|
-
$elevation: $elevation
|
|
814
|
+
$elevation: $elevation
|
|
727
815
|
);
|
|
728
816
|
}
|
|
@@ -231,6 +231,11 @@
|
|
|
231
231
|
"version": "20.0.0",
|
|
232
232
|
"description": "Updates Ignite UI for Angular from v19.2.0 to v20.0.0",
|
|
233
233
|
"factory": "./update-20_0_0"
|
|
234
|
+
},
|
|
235
|
+
"migration-47": {
|
|
236
|
+
"version": "20.0.2",
|
|
237
|
+
"description": "Updates Ignite UI for Angular from v20.0.0 to v20.0.2",
|
|
238
|
+
"factory": "./update-20_0_2"
|
|
234
239
|
}
|
|
235
240
|
}
|
|
236
241
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
|
+
const version = '20.0.2';
|
|
14
|
+
exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, function* () {
|
|
15
|
+
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
16
|
+
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
17
|
+
update.applyChanges();
|
|
18
|
+
});
|
package/package.json
CHANGED