@taiga-ui/cdk 3.36.0-dev.main-6ed3077 → 3.36.1-dev.main-a90e3e6

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 (31) hide show
  1. package/bundles/taiga-ui-cdk-constants.umd.js +1 -1
  2. package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
  3. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +6 -11
  4. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
  5. package/bundles/taiga-ui-cdk-services.umd.js +1 -1
  6. package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
  7. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +20 -4
  8. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
  9. package/constants/version.d.ts +1 -1
  10. package/constants/version.js +1 -1
  11. package/directives/auto-focus/autofocus.options.d.ts +2 -2
  12. package/esm2015/constants/version.js +2 -2
  13. package/esm2015/directives/auto-focus/autofocus.options.js +4 -8
  14. package/esm2015/services/scroll.service.js +3 -3
  15. package/esm2015/utils/miscellaneous/create-options.js +7 -0
  16. package/esm2015/utils/miscellaneous/index.js +3 -1
  17. package/esm2015/utils/miscellaneous/provide-options.js +9 -0
  18. package/fesm2015/taiga-ui-cdk-constants.js +1 -1
  19. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  20. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +3 -7
  21. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  22. package/fesm2015/taiga-ui-cdk-services.js +2 -2
  23. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  24. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +16 -1
  25. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  26. package/package.json +1 -1
  27. package/schematics/ng-update/v3-35/constants/icons.js +41 -73
  28. package/services/scroll.service.d.ts +1 -1
  29. package/utils/miscellaneous/create-options.d.ts +2 -0
  30. package/utils/miscellaneous/index.d.ts +2 -0
  31. package/utils/miscellaneous/provide-options.d.ts +2 -0
@@ -11,7 +11,7 @@ exports.ICONS = [
11
11
  from: `tuiIconAddRowLarge`,
12
12
  },
13
13
  {
14
- to: `tuiIconTdsAlertSmallPragmatic`,
14
+ to: `tuiIconTdsExclamationSmallPragmatic`,
15
15
  from: `tuiIconAlert`,
16
16
  },
17
17
  {
@@ -19,7 +19,7 @@ exports.ICONS = [
19
19
  from: `tuiIconAlertCircle`,
20
20
  },
21
21
  {
22
- to: `tuiIconTdsAlertMediumPragmatic`,
22
+ to: `tuiIconTdsAlertMedium`,
23
23
  from: `tuiIconAlertCircleLarge`,
24
24
  },
25
25
  {
@@ -31,7 +31,7 @@ exports.ICONS = [
31
31
  from: `tuiIconAlertCircleOutline`,
32
32
  },
33
33
  {
34
- to: `tuiIconTdsAlertMediumPragmatic`,
34
+ to: `tuiIconTdsExclamationMediumPragmatic`,
35
35
  from: `tuiIconAlertLarge`,
36
36
  },
37
37
  {
@@ -75,7 +75,7 @@ exports.ICONS = [
75
75
  from: `tuiIconArrowLeft`,
76
76
  },
77
77
  {
78
- to: `tuiIconTdsArrowLeftCircleSmallPragmatic`,
78
+ to: `tuiIconTdsArrowLeftCircleMediumPragmatic`,
79
79
  from: `tuiIconArrowLeftCircle`,
80
80
  },
81
81
  {
@@ -175,7 +175,7 @@ exports.ICONS = [
175
175
  from: `tuiIconBellOutline`,
176
176
  },
177
177
  {
178
- to: `tuiIconTdsBellMediumPragmatic`,
178
+ to: `tuiIconTdsReceiptMediumPragmatic`,
179
179
  from: `tuiIconBillOutLarge`,
180
180
  },
181
181
  {
@@ -183,7 +183,7 @@ exports.ICONS = [
183
183
  from: `tuiIconBookmark`,
184
184
  },
185
185
  {
186
- to: `tuiIconTdsBookmarkMediumPragmatic`,
186
+ to: `tuiIconTdsBookmarkFilledMedium`,
187
187
  from: `tuiIconBookmarkLarge`,
188
188
  },
189
189
  {
@@ -303,7 +303,7 @@ exports.ICONS = [
303
303
  from: `tuiIconCameraOutline`,
304
304
  },
305
305
  {
306
- to: `tuiIconTdsCardsSmallPragmatic`,
306
+ to: `tuiIconTdsCardsMediumPragmatic`,
307
307
  from: `tuiIconCardsLarge`,
308
308
  },
309
309
  {
@@ -371,11 +371,11 @@ exports.ICONS = [
371
371
  from: `tuiIconChatLarge`,
372
372
  },
373
373
  {
374
- to: `tuiIconTdsChatsSmallPragmatic`,
374
+ to: `tuiIconTdsChatsMediumPragmatic`,
375
375
  from: `tuiIconChatLargeOutline`,
376
376
  },
377
377
  {
378
- to: `tuiIconTdsChatsMediumPragmatic`,
378
+ to: `tuiIconTdsChatsSmallPragmatic`,
379
379
  from: `tuiIconChatOutline`,
380
380
  },
381
381
  {
@@ -387,7 +387,7 @@ exports.ICONS = [
387
387
  from: `tuiIconCheckCircle`,
388
388
  },
389
389
  {
390
- to: `tuiIconTdsCheckCircleMediumPragmatic`,
390
+ to: `tuiIconTdsCheckCircleMedium`,
391
391
  from: `tuiIconCheckCircleLarge`,
392
392
  },
393
393
  {
@@ -451,11 +451,11 @@ exports.ICONS = [
451
451
  from: `tuiIconChevronUpLarge`,
452
452
  },
453
453
  {
454
- to: `tuiIconTdsChevronDownMediumPragmatic`,
454
+ to: `tuiIconTdsChevronDoubleDownMediumPragmatic`,
455
455
  from: `tuiIconChevronsDownLarge`,
456
456
  },
457
457
  {
458
- to: `tuiIconTdsChevronLeftMediumPragmatic`,
458
+ to: `tuiIconTdsChevronDoubleLeftMediumPragmatic`,
459
459
  from: `tuiIconChevronsLeftLarge`,
460
460
  },
461
461
  {
@@ -463,7 +463,7 @@ exports.ICONS = [
463
463
  from: `tuiIconChevronsRightLarge`,
464
464
  },
465
465
  {
466
- to: `tuiIconTdsPriorityMediumSmallPragmatic`,
466
+ to: `tuiIconTdsChevronDoubleUpSmallPragmatic`,
467
467
  from: `tuiIconChevronsUp`,
468
468
  },
469
469
  {
@@ -587,7 +587,7 @@ exports.ICONS = [
587
587
  from: `tuiIconDelete`,
588
588
  },
589
589
  {
590
- to: `tuiIconTdsTrashMediumPragmatic`,
590
+ to: `tuiIconTdsBackspaceMediumPragmatic`,
591
591
  from: `tuiIconDeleteLarge`,
592
592
  },
593
593
  {
@@ -639,7 +639,7 @@ exports.ICONS = [
639
639
  from: `tuiIconEdit2`,
640
640
  },
641
641
  {
642
- to: `tuiIconTdsEditMediumPragmatic`,
642
+ to: `tuiIconTdsPencilMediumPragmatic`,
643
643
  from: `tuiIconEdit2Large`,
644
644
  },
645
645
  {
@@ -867,11 +867,11 @@ exports.ICONS = [
867
867
  from: `tuiIconHeadsetLarge`,
868
868
  },
869
869
  {
870
- to: `tuiIconTdsHeartSmallPragmatic`,
870
+ to: `tuiIconTdsHeartFilledSmall`,
871
871
  from: `tuiIconHeart`,
872
872
  },
873
873
  {
874
- to: `tuiIconTdsHeartMediumPragmatic`,
874
+ to: `tuiIconTdsHeartFilledOpaqueMedium`,
875
875
  from: `tuiIconHeartLarge`,
876
876
  },
877
877
  {
@@ -883,11 +883,11 @@ exports.ICONS = [
883
883
  from: `tuiIconHeartOutline`,
884
884
  },
885
885
  {
886
- to: `tuiIconTdsQuestionSmallPragmatic`,
886
+ to: `tuiIconTdsQuestionCircleSmall`,
887
887
  from: `tuiIconHelp`,
888
888
  },
889
889
  {
890
- to: `tuiIconTdsQuestionCircleSmallPragmatic`,
890
+ to: `tuiIconTdsQuestionCircleSmall`,
891
891
  from: `tuiIconHelpCircle`,
892
892
  },
893
893
  {
@@ -903,7 +903,7 @@ exports.ICONS = [
903
903
  from: `tuiIconHelpCircleOutline`,
904
904
  },
905
905
  {
906
- to: `tuiIconTdsQuestionSmallPragmatic`,
906
+ to: `tuiIconTdsQuestionCircleSmallPragmatic`,
907
907
  from: `tuiIconHelpOutline`,
908
908
  },
909
909
  {
@@ -931,23 +931,19 @@ exports.ICONS = [
931
931
  from: `tuiIconHomeOutline`,
932
932
  },
933
933
  {
934
- to: `tuiIconTdsMinusMediumPragmatic`,
934
+ to: `tuiIconTdsWysiwygDividerMediumPragmatic`,
935
935
  from: `tuiIconHrLarge`,
936
936
  },
937
937
  {
938
938
  to: `tuiIconTdsImageSmallPragmatic`,
939
939
  from: `tuiIconImage`,
940
940
  },
941
- {
942
- to: `\u0426\u0412\u0415\u0422\u041D\u0410\u042F`,
943
- from: `tuiIconImageDocLarge`,
944
- },
945
941
  {
946
942
  to: `tuiIconTdsImageMediumPragmatic`,
947
943
  from: `tuiIconImageLarge`,
948
944
  },
949
945
  {
950
- to: `tuiIconTdsImageMediumPragmatic`,
946
+ to: `tuiIconTdsImageSmallPragmatic`,
951
947
  from: `tuiIconImageOutline`,
952
948
  },
953
949
  {
@@ -955,11 +951,11 @@ exports.ICONS = [
955
951
  from: `tuiIconIndentLarge`,
956
952
  },
957
953
  {
958
- to: `tuiIconTdsInfoSmallPragmatic`,
954
+ to: `tuiIconTdsInfoCircleMedium`,
959
955
  from: `tuiIconInfo`,
960
956
  },
961
957
  {
962
- to: `tuiIconTdsInfoCircleMediumPragmatic`,
958
+ to: `tuiIconTdsInfoCircleMedium`,
963
959
  from: `tuiIconInfoCircleLarge`,
964
960
  },
965
961
  {
@@ -971,15 +967,15 @@ exports.ICONS = [
971
967
  from: `tuiIconInfoLarge`,
972
968
  },
973
969
  {
974
- to: `tuiIconTdsInfoMediumPragmatic`,
970
+ to: `tuiIconTdsInfoCircleMediumPragmatic`,
975
971
  from: `tuiIconInfoLargeOutline`,
976
972
  },
977
973
  {
978
- to: `tuiIconTdsInfoSmallPragmatic`,
974
+ to: `tuiIconTdsInfoCircleSmallPragmatic`,
979
975
  from: `tuiIconInfoOutline`,
980
976
  },
981
977
  {
982
- to: `Invoice`,
978
+ to: `tuiIconTdsDocMediumPragmatic`,
983
979
  from: `tuiIconInvoiceLarge`,
984
980
  },
985
981
  {
@@ -1290,10 +1286,6 @@ exports.ICONS = [
1290
1286
  to: `tuiIconTdsMusicSmallPragmatic`,
1291
1287
  from: `tuiIconMusic`,
1292
1288
  },
1293
- {
1294
- to: `\u0426\u0412\u0415\u0422\u041D\u0410\u042F`,
1295
- from: `tuiIconMusicDocLarge`,
1296
- },
1297
1289
  {
1298
1290
  to: `tuiIconTdsMusicMediumPragmatic`,
1299
1291
  from: `tuiIconMusicLarge`,
@@ -1386,10 +1378,6 @@ exports.ICONS = [
1386
1378
  to: `tuiIconTdsPauseMediumPragmatic`,
1387
1379
  from: `tuiIconPauseLarge`,
1388
1380
  },
1389
- {
1390
- to: `\u0426\u0412\u0415\u0422\u041D\u0410\u042F`,
1391
- from: `tuiIconPdfDocLarge`,
1392
- },
1393
1381
  {
1394
1382
  to: `tuiIconTdsPercentSmallPragmatic`,
1395
1383
  from: `tuiIconPercent`,
@@ -1427,7 +1415,7 @@ exports.ICONS = [
1427
1415
  from: `tuiIconPhoneOutgoingLarge`,
1428
1416
  },
1429
1417
  {
1430
- to: ``,
1418
+ to: `tuiIconTdsImageSmallPragmatic`,
1431
1419
  from: `tuiIconPictureOutline`,
1432
1420
  },
1433
1421
  {
@@ -1475,7 +1463,7 @@ exports.ICONS = [
1475
1463
  from: `tuiIconPlusCircleLarge`,
1476
1464
  },
1477
1465
  {
1478
- to: `tuiIconTdsPlusMediumPragmatic`,
1466
+ to: `tuiIconTdsPlusCircleMediumPragmatic`,
1479
1467
  from: `tuiIconPlusCircleLargeOutline`,
1480
1468
  },
1481
1469
  {
@@ -1490,10 +1478,6 @@ exports.ICONS = [
1490
1478
  to: `tuiIconTdsPlus2SmallPragmatic`,
1491
1479
  from: `tuiIconPlusSmall`,
1492
1480
  },
1493
- {
1494
- to: `\u0426\u0412\u0415\u0422\u041D\u0410\u042F`,
1495
- from: `tuiIconPresentDocLarge`,
1496
- },
1497
1481
  {
1498
1482
  to: `tuiIconTdsPrinterSmallPragmatic`,
1499
1483
  from: `tuiIconPrinter`,
@@ -1742,10 +1726,6 @@ exports.ICONS = [
1742
1726
  to: `tuiIconTdsArrowsSplitMediumPragmatic`,
1743
1727
  from: `tuiIconSplitLarge`,
1744
1728
  },
1745
- {
1746
- to: `\u0426\u0412\u0415\u0422\u041D\u0410\u042F`,
1747
- from: `tuiIconSpreadSheetDocLarge`,
1748
- },
1749
1729
  {
1750
1730
  to: `tuiIconTdsStopSmallPragmatic`,
1751
1731
  from: `tuiIconSquare`,
@@ -1755,11 +1735,11 @@ exports.ICONS = [
1755
1735
  from: `tuiIconSquareLarge`,
1756
1736
  },
1757
1737
  {
1758
- to: `tuiIconTdsStarSmallPragmatic`,
1738
+ to: `tuiIconTdsStarSmall`,
1759
1739
  from: `tuiIconStar`,
1760
1740
  },
1761
1741
  {
1762
- to: `tuiIconTdsStarSmallPragmatic`,
1742
+ to: `tuiIconTdsStarSmall`,
1763
1743
  from: `tuiIconStarFilled`,
1764
1744
  },
1765
1745
  {
@@ -1822,10 +1802,6 @@ exports.ICONS = [
1822
1802
  to: `tuiIconTdsTagSmallPragmatic`,
1823
1803
  from: `tuiIconTagOutline`,
1824
1804
  },
1825
- {
1826
- to: `\u0426\u0412\u0415\u0422\u041D\u0410\u042F`,
1827
- from: `tuiIconTextDocLarge`,
1828
- },
1829
1805
  {
1830
1806
  to: `tuiIconTdsThumbDownMediumPragmatic`,
1831
1807
  from: `tuiIconThumbsDownLarge`,
@@ -1903,7 +1879,7 @@ exports.ICONS = [
1903
1879
  from: `tuiIconUnlockLarge`,
1904
1880
  },
1905
1881
  {
1906
- to: `tuiIconTdsLockOpenSmallPragmatic`,
1882
+ to: `tuiIconTdsLockOpenMediumPragmatic`,
1907
1883
  from: `tuiIconUnlockLargeOutline`,
1908
1884
  },
1909
1885
  {
@@ -1923,11 +1899,11 @@ exports.ICONS = [
1923
1899
  from: `tuiIconUploadLarge`,
1924
1900
  },
1925
1901
  {
1926
- to: `tuiIconUserpicCircleLarge`,
1902
+ to: `tuiIconTdsUserImpersonalSmallPragmatic`,
1927
1903
  from: `tuiIconUser`,
1928
1904
  },
1929
1905
  {
1930
- to: `tuiIconUserpicCircleLarge`,
1906
+ to: `tuiIconTdsUserImpersonalSmallPragmatic`,
1931
1907
  from: `tuiIconUserOutline`,
1932
1908
  },
1933
1909
  {
@@ -2151,21 +2127,17 @@ exports.ICONS = [
2151
2127
  from: `tuiIconCreditCard`,
2152
2128
  },
2153
2129
  {
2154
- to: `tuiIconTdsCardBacksideMediumPragmatic`,
2130
+ to: `tuiIconTdsCardsMediumPragmatic`,
2155
2131
  from: `tuiIconCreditCardLarge`,
2156
2132
  },
2157
2133
  {
2158
- to: `tuiIconTdsCardBacksideMediumPragmatic`,
2134
+ to: `tuiIconTdsCardsMediumPragmatic`,
2159
2135
  from: `tuiIconCreditCardLargeOutline`,
2160
2136
  },
2161
2137
  {
2162
2138
  to: `tuiIconTdsCardBacksideSmallPragmatic`,
2163
2139
  from: `tuiIconCreditCardOutline`,
2164
2140
  },
2165
- {
2166
- to: `tuiIconTdsChevronDownMediumPragmatic`,
2167
- from: `tuiIconDropLarge`,
2168
- },
2169
2141
  {
2170
2142
  to: `tuiIconTdsLogoFacebookMedium`,
2171
2143
  from: `tuiIconFacebookLarge`,
@@ -2195,7 +2167,7 @@ exports.ICONS = [
2195
2167
  from: `tuiIconMapLarge`,
2196
2168
  },
2197
2169
  {
2198
- to: `tuiIconTdsPaymentMastercardLogoSquare`,
2170
+ to: `tuiIconTdsPaymentMastercardLogo`,
2199
2171
  from: `tuiIconMastercard`,
2200
2172
  },
2201
2173
  {
@@ -2203,11 +2175,11 @@ exports.ICONS = [
2203
2175
  from: `tuiIconMastercardMono`,
2204
2176
  },
2205
2177
  {
2206
- to: `tuiIconTdsPaymentMirLogoSquare`,
2178
+ to: `tuiIconTdsPaymentMirLogo`,
2207
2179
  from: `tuiIconMir`,
2208
2180
  },
2209
2181
  {
2210
- to: `tuiIconTdsPaymentMirMonochromeLogoSquare`,
2182
+ to: `tuiIconTdsPaymentMirMonochromeLogo`,
2211
2183
  from: `tuiIconMirMono`,
2212
2184
  },
2213
2185
  {
@@ -2311,7 +2283,7 @@ exports.ICONS = [
2311
2283
  from: `tuiIconTwitterLarge`,
2312
2284
  },
2313
2285
  {
2314
- to: `tuiIconTdsPaymentUnionpayLogoSquare`,
2286
+ to: `tuiIconTdsPaymentUnionpayLogo`,
2315
2287
  from: `tuiIconUnionPay`,
2316
2288
  },
2317
2289
  {
@@ -2323,7 +2295,7 @@ exports.ICONS = [
2323
2295
  from: `tuiIconUsersOutline`,
2324
2296
  },
2325
2297
  {
2326
- to: `tuiIconTdsPaymentVisaLogoSquare`,
2298
+ to: `tuiIconTdsPaymentVisaLogo`,
2327
2299
  from: `tuiIconVisa`,
2328
2300
  },
2329
2301
  {
@@ -2350,8 +2322,4 @@ exports.ICONS = [
2350
2322
  to: `tuiIconTdsAnchorMediumPragmatic`,
2351
2323
  from: `tuiIconAnchorLarge`,
2352
2324
  },
2353
- {
2354
- to: `tuiIconTdsDocArchiveMedium`,
2355
- from: `tuiIconArchiveDocLarge`,
2356
- },
2357
2325
  ].sort((prev, next) => next.from.length - prev.from.length);
@@ -4,7 +4,7 @@ export declare class TuiScrollService {
4
4
  private readonly performanceRef;
5
5
  private readonly animationFrame$;
6
6
  constructor(performanceRef: Performance, animationFrame$: Observable<number>);
7
- scroll$(elementOrWindow: Element | Window, scrollTop: number, scrollLeft?: number, duration?: number): Observable<[number, number]>;
7
+ scroll$(elementOrWindow: Element | Window, scrollTop: number, scrollLeft?: number, duration?: number): Observable<readonly [number, number]>;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollService, never>;
9
9
  static ɵprov: i0.ɵɵInjectableDeclaration<TuiScrollService>;
10
10
  }
@@ -0,0 +1,2 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare function tuiCreateOptions<T>(defaults: T): InjectionToken<T>;
@@ -2,6 +2,7 @@ export * from './array-remove';
2
2
  export * from './array-shallow-equals';
3
3
  export * from './array-toggle';
4
4
  export * from './clean-object';
5
+ export * from './create-options';
5
6
  export * from './default-sort';
6
7
  export * from './distance-between-touches';
7
8
  export * from './ease-in-out-quad';
@@ -17,4 +18,5 @@ export * from './is-valid-url';
17
18
  export * from './mark-control-as-touched-and-validate';
18
19
  export * from './nullable-same';
19
20
  export * from './object-from-entries';
21
+ export * from './provide-options';
20
22
  export * from './uniq-by';
@@ -0,0 +1,2 @@
1
+ import { FactoryProvider, InjectionToken } from '@angular/core';
2
+ export declare function tuiProvideOptions<T>(provide: InjectionToken<T>, options: Partial<T>, fallback: T): FactoryProvider;