@snabcentr/client-ui 5.16.0 → 5.21.0

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.
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
2
+ <path d="M4 12h6" />
3
+ <path d="M14 12h6" />
4
+ <path d="M8 8v8" />
5
+ <path d="M16 8v8" />
6
+ <path d="M10 12h4" />
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
2
+ <path d="M4 20V6" />
3
+ <path d="M20 20V6" />
4
+ <path d="M4 20h16" />
5
+ <path d="M4 10h16" />
6
+ <path d="M4 15h16" />
7
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
2
+ <path d="M4 4h16v16H4z" />
3
+ <path d="M12 4v16" />
4
+ <path d="M4 12h16" />
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
2
+ <path d="M6 3h9v18H6z" />
3
+ <path d="M18 21V3" />
4
+ <path d="M12 12h.01" />
5
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
2
+ <path d="M4 5h16v14H4z" />
3
+ <path d="M12 5v14" />
4
+ <path d="M4 9h5" />
5
+ <path d="M15 15h5" />
6
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
2
+ <path d="M4 4h7v16H4z" />
3
+ <path d="M13 4h7v16h-7z" />
4
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
2
+ <path d="M4 6h16" />
3
+ <path d="M4 10h16" />
4
+ <path d="M4 14h16" />
5
+ <path d="M4 18h16" />
6
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
2
+ <path d="M4 4h16v16H4z" />
3
+ <path d="M4 4l16 16" />
4
+ <path d="M4 12h16" />
5
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "5.16.0",
3
+ "version": "5.21.0",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
@@ -16,7 +16,7 @@
16
16
  "@maskito/core": "^5.0.0",
17
17
  "@ng-web-apis/intersection-observer": "^5.0.0",
18
18
  "@ng-web-apis/common": "^5.0.0",
19
- "@snabcentr/client-core": "^4.21.1",
19
+ "@snabcentr/client-core": "^4.24.0",
20
20
  "@taiga-ui/addon-charts": "^5.9.0",
21
21
  "@taiga-ui/addon-commerce": "^5.9.0",
22
22
  "@taiga-ui/cdk": "^5.9.0",
@@ -31,6 +31,7 @@
31
31
  "@taiga-ui/experimental": "^5.9.0",
32
32
  "@taiga-ui/styles": "^5.9.0",
33
33
  "@tailwindcss/container-queries": "^0.1.1",
34
+ "ng-recaptcha-2": "^21.0.0",
34
35
  "angular8-yandex-maps": "^21.0.0",
35
36
  "date-fns": "^4.1.0",
36
37
  "libphonenumber-js": "^1.12.36",
package/release_notes.tmp CHANGED
@@ -1,6 +1,20 @@
1
- ## 5.16.0 (2026-10-09)
1
+ ## 5.21.0 (2026-11-12)
2
2
 
3
- ### added, (1 change)
3
+ ### added (1 change)
4
4
 
5
- - [#14054: Добавлена проверка полноты адреса в подсказках адресов и организаций](web_soft/libs/angular/snabcentr-client-ui-lib@acc6663f5787a3c5d65877216aef0d5d5a14b914) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!459))
5
+ - [#13630: Добавлены список статей блога с пагинацией и страница статьи](web_soft/libs/angular/snabcentr-client-ui-lib@1e1550de865f8871f53686aa3fc5522281e89f32) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!481))
6
+
7
+ ### fixed (3 changes)
8
+
9
+ - [#14164: Исправлена обрезка длинного текста примечания к позиции черновика](web_soft/libs/angular/snabcentr-client-ui-lib@867484512023ecdae0dd2e04c3d668efe1b347fd) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!480))
10
+ - [#14158: Исправлено увеличение блока фильтров каталога при выборе значения...](web_soft/libs/angular/snabcentr-client-ui-lib@534d4b2a377a5aa5a18a4c74facc77c45ebefdb7) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!479))
11
+ - [#14157: Исправлена ошибка в консоли браузера при переходе на страницу заказа и...](web_soft/libs/angular/snabcentr-client-ui-lib@64c380aec0e09138c9943858496a2be7c9938fad) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!478))
12
+
13
+ ### changed (1 change)
14
+
15
+ - [#14130: Кнопка удаления группы позиций в черновике дополнена значком корзины](web_soft/libs/angular/snabcentr-client-ui-lib@c4ded84a47624c7682b547d091e75d2c459d5a81) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!477))
16
+
17
+ ### removed (1 change)
18
+
19
+ - [#13937: Убрана кнопка изменения параметров у штучных позиций черновика Профстрой](web_soft/libs/angular/snabcentr-client-ui-lib@bf188c710bad7e4837140131f905a02422aa7413) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!476))
6
20
 
@@ -1,3 +1,5 @@
1
+ @import (reference) '@taiga-ui/styles/theme/appearance/textfield.less';
2
+
1
3
  @font-fallback: -apple-system, 'BlinkMacSystemFont', system-ui, 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
2
4
 
3
5
  &:root {
@@ -82,3 +84,17 @@ sc-input-quantity {
82
84
  display: none !important;
83
85
  }
84
86
  }
87
+
88
+ // Appearance поля ввода с предупреждением (задаётся через tuiTextfieldAppearance): поле textfield с жёлтой рамкой,
89
+ // которая остаётся жёлтой и в фокусе. Ошибка поля перекрывает предупреждение.
90
+ [tuiAppearance][data-appearance='sc-textfield-warning']:extend([tuiAppearance][data-appearance='textfield'] all) {
91
+ outline-color: var(--tui-status-warning);
92
+
93
+ .appearance-focus({
94
+ outline-color: var(--tui-status-warning);
95
+ });
96
+
97
+ .appearance-invalid({
98
+ outline-color: var(--tui-status-negative);
99
+ });
100
+ }
@@ -554,40 +554,6 @@ video {
554
554
  display: none;
555
555
  }
556
556
 
557
- .container {
558
- width: 100%;
559
- }
560
-
561
- @media (min-width: 640px) {
562
- .container {
563
- max-width: 640px;
564
- }
565
- }
566
-
567
- @media (min-width: 768px) {
568
- .container {
569
- max-width: 768px;
570
- }
571
- }
572
-
573
- @media (min-width: 1024px) {
574
- .container {
575
- max-width: 1024px;
576
- }
577
- }
578
-
579
- @media (min-width: 1280px) {
580
- .container {
581
- max-width: 1280px;
582
- }
583
- }
584
-
585
- @media (min-width: 1536px) {
586
- .container {
587
- max-width: 1536px;
588
- }
589
- }
590
-
591
557
  .pointer-events-none {
592
558
  pointer-events: none;
593
559
  }
@@ -596,6 +562,10 @@ video {
596
562
  visibility: visible;
597
563
  }
598
564
 
565
+ .collapse {
566
+ visibility: collapse;
567
+ }
568
+
599
569
  .static {
600
570
  position: static;
601
571
  }
@@ -680,6 +650,10 @@ video {
680
650
  order: -1;
681
651
  }
682
652
 
653
+ .col-span-2 {
654
+ grid-column: span 2 / span 2;
655
+ }
656
+
683
657
  .\!-m-2 {
684
658
  margin: -0.5rem !important;
685
659
  }
@@ -854,6 +828,10 @@ video {
854
828
  display: none;
855
829
  }
856
830
 
831
+ .aspect-\[2\/1\] {
832
+ aspect-ratio: 2/1;
833
+ }
834
+
857
835
  .aspect-square {
858
836
  aspect-ratio: 1 / 1;
859
837
  }
@@ -907,6 +885,10 @@ video {
907
885
  height: 5rem !important;
908
886
  }
909
887
 
888
+ .\!h-auto {
889
+ height: auto !important;
890
+ }
891
+
910
892
  .h-10 {
911
893
  height: 2.5rem;
912
894
  }
@@ -959,8 +941,12 @@ video {
959
941
  max-height: 0px !important;
960
942
  }
961
943
 
962
- .max-h-\[7\.5rem\] {
963
- max-height: 7.5rem;
944
+ .max-h-20 {
945
+ max-height: 5rem;
946
+ }
947
+
948
+ .max-h-\[32rem\] {
949
+ max-height: 32rem;
964
950
  }
965
951
 
966
952
  .\!min-h-0 {
@@ -971,10 +957,6 @@ video {
971
957
  min-height: 2rem;
972
958
  }
973
959
 
974
- .min-h-\[7\.375rem\] {
975
- min-height: 7.375rem;
976
- }
977
-
978
960
  .\!w-auto {
979
961
  width: auto !important;
980
962
  }
@@ -1064,6 +1046,10 @@ video {
1064
1046
  max-width: 24rem;
1065
1047
  }
1066
1048
 
1049
+ .max-w-full {
1050
+ max-width: 100%;
1051
+ }
1052
+
1067
1053
  .max-w-min {
1068
1054
  max-width: -moz-min-content;
1069
1055
  max-width: min-content;
@@ -1105,6 +1091,10 @@ video {
1105
1091
  table-layout: fixed;
1106
1092
  }
1107
1093
 
1094
+ .border-collapse {
1095
+ border-collapse: collapse;
1096
+ }
1097
+
1108
1098
  .-translate-y-1\/2 {
1109
1099
  --tw-translate-y: -50%;
1110
1100
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1190,10 +1180,18 @@ video {
1190
1180
  align-items: center;
1191
1181
  }
1192
1182
 
1183
+ .items-baseline {
1184
+ align-items: baseline;
1185
+ }
1186
+
1193
1187
  .\!justify-start {
1194
1188
  justify-content: flex-start !important;
1195
1189
  }
1196
1190
 
1191
+ .justify-start {
1192
+ justify-content: flex-start;
1193
+ }
1194
+
1197
1195
  .justify-end {
1198
1196
  justify-content: flex-end;
1199
1197
  }
@@ -1310,6 +1308,18 @@ video {
1310
1308
  white-space: nowrap;
1311
1309
  }
1312
1310
 
1311
+ .break-words {
1312
+ overflow-wrap: break-word;
1313
+ }
1314
+
1315
+ .break-all {
1316
+ word-break: break-all;
1317
+ }
1318
+
1319
+ .\!rounded-tui-radius-m {
1320
+ border-radius: var(--tui-radius-m) !important;
1321
+ }
1322
+
1313
1323
  .\!rounded-xl {
1314
1324
  border-radius: 0.75rem !important;
1315
1325
  }
@@ -1397,6 +1407,10 @@ video {
1397
1407
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
1398
1408
  }
1399
1409
 
1410
+ .bg-tui-background-neutral-1 {
1411
+ background-color: var(--tui-background-neutral-1);
1412
+ }
1413
+
1400
1414
  .bg-tui-base-02 {
1401
1415
  background-color: var(--tui-background-base-alt);
1402
1416
  }
@@ -1529,6 +1543,11 @@ video {
1529
1543
  padding-right: 1.5rem;
1530
1544
  }
1531
1545
 
1546
+ .py-0\.5 {
1547
+ padding-top: 0.125rem;
1548
+ padding-bottom: 0.125rem;
1549
+ }
1550
+
1532
1551
  .py-14 {
1533
1552
  padding-top: 3.5rem;
1534
1553
  padding-bottom: 3.5rem;
@@ -1548,6 +1567,10 @@ video {
1548
1567
  padding-bottom: 0.25rem;
1549
1568
  }
1550
1569
 
1570
+ .pb-2 {
1571
+ padding-bottom: 0.5rem;
1572
+ }
1573
+
1551
1574
  .pb-4 {
1552
1575
  padding-bottom: 1rem;
1553
1576
  }
@@ -1833,6 +1856,10 @@ video {
1833
1856
  text-decoration-line: underline;
1834
1857
  }
1835
1858
 
1859
+ .\!line-through {
1860
+ text-decoration-line: line-through !important;
1861
+ }
1862
+
1836
1863
  .line-through {
1837
1864
  text-decoration-line: line-through;
1838
1865
  }
@@ -2008,6 +2035,10 @@ video {
2008
2035
  align-items: flex-start;
2009
2036
  }
2010
2037
 
2038
+ .sm\:items-end {
2039
+ align-items: flex-end;
2040
+ }
2041
+
2011
2042
  .sm\:border-32 {
2012
2043
  border-width: 2rem;
2013
2044
  }