@snabcentr/client-ui 5.16.0 → 5.19.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.19.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,25 @@
1
- ## 5.16.0 (2026-10-09)
1
+ ## 5.19.0 (2026-11-03)
2
2
 
3
- ### added, (1 change)
3
+ ### changed (3 changes)
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
+ - [#14113: Фильтры каталога выводятся с группами: группа из настроек плитками с...](web_soft/libs/angular/snabcentr-client-ui-lib@63abd1aaf99cbc7923dac2ca0cbe270f2592bf33) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!474))
6
+ - [#14054: Неполный адрес помечается жёлтым предупреждением без блокировки отправки форм](web_soft/libs/angular/snabcentr-client-ui-lib@e34e300bd2bf15fb62106e7afe41428794d3db96) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!467))
7
+ - [#14054, #14052: Перенос полноты адреса и ОГРН в линию 4.16 для релизной ветки приложений](web_soft/libs/angular/snabcentr-client-ui-lib@964028db16138c0532f54a1311e92084191c70a8) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!465))
8
+
9
+ ### removed (1 change)
10
+
11
+ - [#13626: Удалена Yandex SmartCaptcha, в формах обратной связи возвращена прежняя капча](web_soft/libs/angular/snabcentr-client-ui-lib@54febcc6eacf0fe1f616fd4f2a915b286435874e) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!473))
12
+
13
+ ### added (6 changes)
14
+
15
+ - [#14130: Добавлена кнопка удаления всей группы позиций в черновике](web_soft/libs/angular/snabcentr-client-ui-lib@5d965b1001697b66719e76f612052fa89ffd130b) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!469))
16
+ - [#13937: Добавлены создание черновика из файла, метки и режим черновика Профстрой](web_soft/libs/angular/snabcentr-client-ui-lib@8cfb6b899a64a0a139184edb9e29a46783e895e2) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!452))
17
+ - [#14126: В плашке наличия товара выводится планируемая дата производства](web_soft/libs/angular/snabcentr-client-ui-lib@c18fb9b58935c49697a12bc850acdaf66fa1b69a) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!468))
18
+ - [#14112: Добавлен флаг «Выбрать все» для выделения и снятия выделения всех позиций заказа](web_soft/libs/angular/snabcentr-client-ui-lib@22ce6a6e367bb7b36dcd423603bde295befa3358) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!466))
19
+ - [#14104: Добавлено представление значений фильтра каталога плитками с иконками](web_soft/libs/angular/snabcentr-client-ui-lib@b9a6b1514b269e161e66455e1310c915c7bb1347) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!462))
20
+ - [#14052: Добавлено необязательное поле ОГРН в форму создания контрагента](web_soft/libs/angular/snabcentr-client-ui-lib@8d48a15630be00007bee1504e9593c258483e2da) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!461))
21
+
22
+ ### fixed (1 change)
23
+
24
+ - [#14092: Исправлена отправка файлов, не прошедших проверку размера и формата, в...](web_soft/libs/angular/snabcentr-client-ui-lib@aecbf1f6a88016695c8d3f229914e31e0a247c5a) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!464))
6
25
 
@@ -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
  }
@@ -680,6 +646,10 @@ video {
680
646
  order: -1;
681
647
  }
682
648
 
649
+ .col-span-2 {
650
+ grid-column: span 2 / span 2;
651
+ }
652
+
683
653
  .\!-m-2 {
684
654
  margin: -0.5rem !important;
685
655
  }
@@ -907,6 +877,10 @@ video {
907
877
  height: 5rem !important;
908
878
  }
909
879
 
880
+ .\!h-auto {
881
+ height: auto !important;
882
+ }
883
+
910
884
  .h-10 {
911
885
  height: 2.5rem;
912
886
  }
@@ -959,8 +933,8 @@ video {
959
933
  max-height: 0px !important;
960
934
  }
961
935
 
962
- .max-h-\[7\.5rem\] {
963
- max-height: 7.5rem;
936
+ .max-h-20 {
937
+ max-height: 5rem;
964
938
  }
965
939
 
966
940
  .\!min-h-0 {
@@ -971,10 +945,6 @@ video {
971
945
  min-height: 2rem;
972
946
  }
973
947
 
974
- .min-h-\[7\.375rem\] {
975
- min-height: 7.375rem;
976
- }
977
-
978
948
  .\!w-auto {
979
949
  width: auto !important;
980
950
  }
@@ -1064,6 +1034,10 @@ video {
1064
1034
  max-width: 24rem;
1065
1035
  }
1066
1036
 
1037
+ .max-w-full {
1038
+ max-width: 100%;
1039
+ }
1040
+
1067
1041
  .max-w-min {
1068
1042
  max-width: -moz-min-content;
1069
1043
  max-width: min-content;
@@ -1190,10 +1164,18 @@ video {
1190
1164
  align-items: center;
1191
1165
  }
1192
1166
 
1167
+ .items-baseline {
1168
+ align-items: baseline;
1169
+ }
1170
+
1193
1171
  .\!justify-start {
1194
1172
  justify-content: flex-start !important;
1195
1173
  }
1196
1174
 
1175
+ .justify-start {
1176
+ justify-content: flex-start;
1177
+ }
1178
+
1197
1179
  .justify-end {
1198
1180
  justify-content: flex-end;
1199
1181
  }
@@ -1310,6 +1292,14 @@ video {
1310
1292
  white-space: nowrap;
1311
1293
  }
1312
1294
 
1295
+ .break-words {
1296
+ overflow-wrap: break-word;
1297
+ }
1298
+
1299
+ .break-all {
1300
+ word-break: break-all;
1301
+ }
1302
+
1313
1303
  .\!rounded-xl {
1314
1304
  border-radius: 0.75rem !important;
1315
1305
  }
@@ -1397,6 +1387,10 @@ video {
1397
1387
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
1398
1388
  }
1399
1389
 
1390
+ .bg-tui-background-neutral-1 {
1391
+ background-color: var(--tui-background-neutral-1);
1392
+ }
1393
+
1400
1394
  .bg-tui-base-02 {
1401
1395
  background-color: var(--tui-background-base-alt);
1402
1396
  }
@@ -1529,6 +1523,11 @@ video {
1529
1523
  padding-right: 1.5rem;
1530
1524
  }
1531
1525
 
1526
+ .py-0\.5 {
1527
+ padding-top: 0.125rem;
1528
+ padding-bottom: 0.125rem;
1529
+ }
1530
+
1532
1531
  .py-14 {
1533
1532
  padding-top: 3.5rem;
1534
1533
  padding-bottom: 3.5rem;
@@ -1548,6 +1547,10 @@ video {
1548
1547
  padding-bottom: 0.25rem;
1549
1548
  }
1550
1549
 
1550
+ .pb-2 {
1551
+ padding-bottom: 0.5rem;
1552
+ }
1553
+
1551
1554
  .pb-4 {
1552
1555
  padding-bottom: 1rem;
1553
1556
  }
@@ -1833,6 +1836,10 @@ video {
1833
1836
  text-decoration-line: underline;
1834
1837
  }
1835
1838
 
1839
+ .\!line-through {
1840
+ text-decoration-line: line-through !important;
1841
+ }
1842
+
1836
1843
  .line-through {
1837
1844
  text-decoration-line: line-through;
1838
1845
  }
@@ -2008,6 +2015,10 @@ video {
2008
2015
  align-items: flex-start;
2009
2016
  }
2010
2017
 
2018
+ .sm\:items-end {
2019
+ align-items: flex-end;
2020
+ }
2021
+
2011
2022
  .sm\:border-32 {
2012
2023
  border-width: 2rem;
2013
2024
  }