igniteui-angular 20.0.2 → 20.0.4
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 +262 -40
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +4985 -4907
- package/lib/core/styles/components/column-actions/_column-actions-theme.scss +1 -1
- package/lib/core/styles/components/combo/_combo-theme.scss +7 -0
- package/lib/core/styles/components/drop-down/_drop-down-theme.scss +5 -9
- package/lib/core/styles/components/grid/_grid-theme.scss +13 -12
- package/lib/core/styles/components/input/_input-group-component.scss +30 -0
- package/lib/core/styles/components/input/_input-group-theme.scss +70 -6
- 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
|
@@ -301,6 +301,13 @@
|
|
|
301
301
|
padding: 0;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
+
|
|
305
|
+
&:not(.igx-input-group--disabled){
|
|
306
|
+
%igx-combo__clear-button {
|
|
307
|
+
color: var-get($theme, 'clear-button-foreground');
|
|
308
|
+
background: var-get($theme, 'clear-button-background');
|
|
309
|
+
}
|
|
310
|
+
}
|
|
304
311
|
}
|
|
305
312
|
|
|
306
313
|
%form-group-bundle:not(%form-group-bundle--disabled):focus-within {
|
|
@@ -299,20 +299,16 @@
|
|
|
299
299
|
bottom: 0;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
igx-icon
|
|
302
|
+
igx-icon,
|
|
303
|
+
igc-icon {
|
|
303
304
|
justify-content: center;
|
|
304
|
-
--component-size: 1;
|
|
305
|
-
|
|
306
|
-
@if $variant == 'fluent' {
|
|
307
|
-
--component-size: 3;
|
|
308
|
-
}
|
|
309
305
|
|
|
310
306
|
@if $variant == 'indigo' {
|
|
311
307
|
$icon-size: sizable(rem(14px), rem(16px), rem(16px));
|
|
312
308
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
309
|
+
--size: #{$icon-size};
|
|
310
|
+
} @else {
|
|
311
|
+
--component-size: 1;
|
|
316
312
|
}
|
|
317
313
|
}
|
|
318
314
|
}
|
|
@@ -456,12 +456,12 @@
|
|
|
456
456
|
|
|
457
457
|
@if not($grid-shadow) {
|
|
458
458
|
$grid-elevation: map.get($grid-schema, 'grid-elevation');
|
|
459
|
-
$grid-shadow: elevation(
|
|
459
|
+
$grid-shadow: elevation($grid-elevation);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
@if not($drag-shadow) {
|
|
463
463
|
$drag-elevation: map.get($grid-schema, 'drag-elevation');
|
|
464
|
-
$drag-shadow: elevation(
|
|
464
|
+
$drag-shadow: elevation($drag-elevation);
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
@if not($drop-area-border-radius) {
|
|
@@ -758,8 +758,7 @@
|
|
|
758
758
|
igx-time-picker {
|
|
759
759
|
position: relative;
|
|
760
760
|
height: calc(100% - #{$editing-outline-width * 2});
|
|
761
|
-
width:
|
|
762
|
-
inset-inline-start: $editing-outline-width;
|
|
761
|
+
width: 100% !important;
|
|
763
762
|
overflow: hidden;
|
|
764
763
|
}
|
|
765
764
|
|
|
@@ -1535,6 +1534,9 @@
|
|
|
1535
1534
|
}
|
|
1536
1535
|
|
|
1537
1536
|
%igx-grid__td--bool {
|
|
1537
|
+
display: flex;
|
|
1538
|
+
flex-grow: 1;
|
|
1539
|
+
|
|
1538
1540
|
igx-icon {
|
|
1539
1541
|
--component-size: #{if($variant == 'indigo', 2, 1)};
|
|
1540
1542
|
}
|
|
@@ -1804,7 +1806,6 @@
|
|
|
1804
1806
|
padding-inline-end: rem(4px) !important;
|
|
1805
1807
|
|
|
1806
1808
|
> igx-icon {
|
|
1807
|
-
margin-inline-start: auto;
|
|
1808
1809
|
color: color($color: 'error');
|
|
1809
1810
|
width: var(--igx-icon-size, rem(18px));
|
|
1810
1811
|
height: var(--igx-icon-size, rem(18px));
|
|
@@ -1910,11 +1911,10 @@
|
|
|
1910
1911
|
%igx-grid__td--editing {
|
|
1911
1912
|
background: var-get($theme, 'cell-editing-background') !important;
|
|
1912
1913
|
box-shadow: inset 0 0 0 $editing-outline-width var-get($theme, 'edit-mode-color');
|
|
1913
|
-
padding:
|
|
1914
|
+
padding-inline: rem(4px);
|
|
1914
1915
|
|
|
1915
1916
|
&.igx-grid__td--invalid {
|
|
1916
1917
|
box-shadow: inset 0 0 0 rem(2px) color($color: 'error') !important;
|
|
1917
|
-
padding-inline-end: rem(4px) !important;
|
|
1918
1918
|
}
|
|
1919
1919
|
|
|
1920
1920
|
&%grid-cell-number {
|
|
@@ -2105,7 +2105,7 @@
|
|
|
2105
2105
|
|
|
2106
2106
|
.sort-icon {
|
|
2107
2107
|
color: var-get($theme, 'header-selected-text-color');
|
|
2108
|
-
|
|
2108
|
+
|
|
2109
2109
|
::after {
|
|
2110
2110
|
background: var-get($theme, 'header-selected-background');
|
|
2111
2111
|
}
|
|
@@ -2133,7 +2133,7 @@
|
|
|
2133
2133
|
&%igx-grid-th--sorted {
|
|
2134
2134
|
.sort-icon {
|
|
2135
2135
|
color: var-get($theme, 'header-selected-text-color');
|
|
2136
|
-
|
|
2136
|
+
|
|
2137
2137
|
> igx-icon {
|
|
2138
2138
|
color: inherit;
|
|
2139
2139
|
}
|
|
@@ -2141,7 +2141,7 @@
|
|
|
2141
2141
|
&:focus,
|
|
2142
2142
|
&:hover {
|
|
2143
2143
|
color: var-get($theme, 'header-selected-text-color');
|
|
2144
|
-
|
|
2144
|
+
|
|
2145
2145
|
> igx-icon {
|
|
2146
2146
|
color: inherit;
|
|
2147
2147
|
}
|
|
@@ -2198,14 +2198,14 @@
|
|
|
2198
2198
|
.sort-icon {
|
|
2199
2199
|
opacity: 1;
|
|
2200
2200
|
color: var-get($theme, 'sorted-header-icon-color');
|
|
2201
|
-
|
|
2201
|
+
|
|
2202
2202
|
> igx-icon {
|
|
2203
2203
|
color: inherit;
|
|
2204
2204
|
}
|
|
2205
2205
|
|
|
2206
2206
|
&:hover {
|
|
2207
2207
|
color: var-get($theme, 'sortable-header-icon-hover-color');
|
|
2208
|
-
|
|
2208
|
+
|
|
2209
2209
|
> igx-icon {
|
|
2210
2210
|
color: inherit;
|
|
2211
2211
|
}
|
|
@@ -2241,6 +2241,7 @@
|
|
|
2241
2241
|
%grid-cell-number {
|
|
2242
2242
|
text-align: $grid-cell-align-num;
|
|
2243
2243
|
justify-content: flex-end;
|
|
2244
|
+
flex-grow: 1;
|
|
2244
2245
|
|
|
2245
2246
|
%grid-cell-header-icons {
|
|
2246
2247
|
justify-content: flex-start;
|
|
@@ -1000,6 +1000,36 @@
|
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
+
@include mx(bootstrap, warning) {
|
|
1004
|
+
@include e(input) {
|
|
1005
|
+
@extend %bootstrap-input--warning !optional;
|
|
1006
|
+
|
|
1007
|
+
&:hover {
|
|
1008
|
+
@extend %bootstrap-input--warning !optional;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
@include e(file-input) {
|
|
1013
|
+
@extend %bootstrap-input--warning !optional;
|
|
1014
|
+
|
|
1015
|
+
&:hover {
|
|
1016
|
+
@extend %bootstrap-input--warning !optional;
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
@include e(label) {
|
|
1021
|
+
@extend %bootstrap-label !optional;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
@include e(textarea) {
|
|
1025
|
+
@extend %bootstrap-input--warning !optional;
|
|
1026
|
+
|
|
1027
|
+
&:hover {
|
|
1028
|
+
@extend %bootstrap-input--warning !optional;
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1003
1033
|
@include mx(bootstrap, textarea-group) {
|
|
1004
1034
|
@include e(bundle) {
|
|
1005
1035
|
@extend %form-group-bundle-bootstrap--textarea !optional;
|
|
@@ -747,12 +747,23 @@
|
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
+
|
|
751
|
+
&:not(%form-group-display--focused, %form-group-display--filled) {
|
|
752
|
+
&:has(input:not(:placeholder-shown, [type='file'])) {
|
|
753
|
+
%form-group-label {
|
|
754
|
+
@include type-style('subtitle-1');
|
|
755
|
+
transform: translateY(0);
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
750
759
|
}
|
|
751
760
|
}
|
|
752
761
|
|
|
753
762
|
%form-group-placeholder {
|
|
754
|
-
|
|
755
|
-
|
|
763
|
+
&:has(input:placeholder-shown, textarea:placeholder-shown) {
|
|
764
|
+
%form-group-label {
|
|
765
|
+
transition: none !important;
|
|
766
|
+
}
|
|
756
767
|
}
|
|
757
768
|
}
|
|
758
769
|
|
|
@@ -1255,13 +1266,20 @@
|
|
|
1255
1266
|
|
|
1256
1267
|
%form-group-label--focused-border,
|
|
1257
1268
|
%form-group-label--filled-border,
|
|
1258
|
-
%form-group-label--placeholder-border,
|
|
1259
1269
|
%form-group-label--file-border {
|
|
1260
1270
|
%igx-input-group__notch {
|
|
1261
1271
|
border-block-start-color: transparent !important;
|
|
1262
1272
|
}
|
|
1263
1273
|
}
|
|
1264
1274
|
|
|
1275
|
+
%form-group-label--placeholder-border {
|
|
1276
|
+
&:has(input:placeholder-shown, textarea:placeholder-shown) {
|
|
1277
|
+
%igx-input-group__notch {
|
|
1278
|
+
border-block-start-color: transparent !important;
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1265
1283
|
%form-group-label--focused-border {
|
|
1266
1284
|
%form-group-bundle-start {
|
|
1267
1285
|
border-inline-start-width: rem(2px);
|
|
@@ -1349,6 +1367,26 @@
|
|
|
1349
1367
|
width: calc(100% - #{rem(2px)});
|
|
1350
1368
|
}
|
|
1351
1369
|
}
|
|
1370
|
+
|
|
1371
|
+
%textarea-group:not(%form-group-display--focused, %form-group-display--filled) {
|
|
1372
|
+
&:has(textarea:not(:placeholder-shown)) {
|
|
1373
|
+
%form-group-textarea-label:not(%textarea-group-label--focused) {
|
|
1374
|
+
@include type-style('subtitle-1');
|
|
1375
|
+
|
|
1376
|
+
top: calc($input-top-padding - #{rem(3px)});
|
|
1377
|
+
transform: translateY(0);
|
|
1378
|
+
margin-bottom: auto;
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
%textarea-group:not(%form-group-display--focused, %form-group-display--filled) {
|
|
1384
|
+
&:has(%form-group-display--border, textarea:not(:placeholder-shown)) {
|
|
1385
|
+
%igx-input-group__notch {
|
|
1386
|
+
border-block-start-width: rem(1px);
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1352
1390
|
}
|
|
1353
1391
|
|
|
1354
1392
|
%form-group-textarea-group-bundle {
|
|
@@ -1890,7 +1928,7 @@
|
|
|
1890
1928
|
}
|
|
1891
1929
|
|
|
1892
1930
|
%indigo--box-focused {
|
|
1893
|
-
background: var-get($theme, 'box-background-
|
|
1931
|
+
background: var-get($theme, 'box-background-focus');
|
|
1894
1932
|
}
|
|
1895
1933
|
|
|
1896
1934
|
%form-group-bundle--indigo--disabled {
|
|
@@ -2423,12 +2461,38 @@
|
|
|
2423
2461
|
|
|
2424
2462
|
%bootstrap-input--success {
|
|
2425
2463
|
border: rem(1px) solid var-get($theme, 'success-secondary-color');
|
|
2426
|
-
|
|
2464
|
+
|
|
2465
|
+
&:focus {
|
|
2466
|
+
box-shadow: 0 0 0 rem(4px) var-get($theme, 'success-shadow-color');
|
|
2467
|
+
|
|
2468
|
+
+ %bootstrap-file-input {
|
|
2469
|
+
box-shadow: 0 0 0 rem(4px) var-get($theme, 'success-shadow-color');
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2427
2472
|
}
|
|
2428
2473
|
|
|
2429
2474
|
%bootstrap-input--error {
|
|
2430
2475
|
border: rem(1px) solid var-get($theme, 'error-secondary-color');
|
|
2431
|
-
|
|
2476
|
+
|
|
2477
|
+
&:focus {
|
|
2478
|
+
box-shadow: 0 0 0 rem(4px) var-get($theme, 'error-shadow-color');
|
|
2479
|
+
|
|
2480
|
+
+ %bootstrap-file-input {
|
|
2481
|
+
box-shadow: 0 0 0 rem(4px) var-get($theme, 'error-shadow-color');
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
%bootstrap-input--warning {
|
|
2487
|
+
border: rem(1px) solid var-get($theme, 'warning-secondary-color');
|
|
2488
|
+
|
|
2489
|
+
&:focus {
|
|
2490
|
+
box-shadow: 0 0 0 rem(4px) color($color: 'warn', $variant: 500, $opacity: 0.38);
|
|
2491
|
+
|
|
2492
|
+
+ %bootstrap-file-input {
|
|
2493
|
+
box-shadow: 0 0 0 rem(4px) color($color: 'warn', $variant: 500, $opacity: 0.38);
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2432
2496
|
}
|
|
2433
2497
|
|
|
2434
2498
|
%bootstrap-input--disabled {
|
package/package.json
CHANGED