@snabcentr/client-ui 3.0.0 → 3.1.1

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.

Potentially problematic release.


This version of @snabcentr/client-ui might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
package/release_notes.tmp CHANGED
@@ -1,4 +1,6 @@
1
- ## 3.0.0 (2024-10-25)
1
+ ## 3.1.1 (2024-11-13)
2
2
 
3
- No changes.
3
+ ### fixed (1 change)
4
+
5
+ - [#10522: Доработано открытие диалога оферты](web_soft/libs/angular/snabcentr-client-ui-lib@8837012f57d6c452333b66982fa2ace69e18be04) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!181))
4
6
 
@@ -1,3 +1,32 @@
1
+ @font-fallback: -apple-system, 'BlinkMacSystemFont', system-ui, 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
2
+
3
+ &:root {
4
+ // Fonts
5
+ --tui-font-heading: 'Manrope', @font-fallback;
6
+ --tui-font-text: 'Manrope', @font-fallback;
7
+ --tui-font-weight-normal: normal;
8
+ --tui-font-weight-bold: bold;
9
+ // Heading
10
+ --tui-font-heading-1: var(--tui-font-weight-bold) 3.125rem/3.5rem var(--tui-font-heading);
11
+ --tui-font-heading-2: var(--tui-font-weight-bold) 2.75rem/3rem var(--tui-font-heading);
12
+ --tui-font-heading-3: var(--tui-font-weight-bold) 2.25rem/2.5rem var(--tui-font-heading);
13
+ --tui-font-heading-4: var(--tui-font-weight-bold) 1.75rem/2rem var(--tui-font-heading);
14
+ --tui-font-heading-5: var(--tui-font-weight-bold) 1.5rem/1.75rem var(--tui-font-heading);
15
+ --tui-font-heading-6: var(--tui-font-weight-bold) 1.25rem/1.5rem var(--tui-font-heading);
16
+ // Body
17
+ --tui-font-text-xl: var(--tui-font-weight-normal) 1.1875rem/1.75rem var(--tui-font-text);
18
+ --tui-font-text-l: var(--tui-font-weight-normal) 1.0625rem/1.75rem var(--tui-font-text);
19
+ --tui-font-text-m: var(--tui-font-weight-normal) 1rem/1.5rem var(--tui-font-text);
20
+ --tui-font-text-s: var(--tui-font-weight-normal) 0.8125rem/1.25rem var(--tui-font-text);
21
+ --tui-font-text-xs: var(--tui-font-weight-normal) 0.6875rem/1rem var(--tui-font-text);
22
+ // Reduced
23
+ --tui-font-text-ui-l: var(--tui-font-weight-normal) 1.0625rem/1.5rem var(--tui-font-text);
24
+ --tui-font-text-ui-m: var(--tui-font-weight-normal) 1rem/1.25rem var(--tui-font-text);
25
+ --tui-font-text-ui-s: var(--tui-font-weight-normal) 0.8125rem/1rem var(--tui-font-text);
26
+ --tui-font-text-ui-xs: var(--tui-font-weight-normal) 0.6875rem/0.8125rem var(--tui-font-text);
27
+ }
28
+
29
+
1
30
  &:root,
2
31
  [tuiTheme='light'] {
3
32
  --tui-background-accent-1: #ffcc40; // primary buttons, background
@@ -846,6 +846,10 @@ video {
846
846
  height: 2rem !important;
847
847
  }
848
848
 
849
+ .\!h-auto {
850
+ height: auto !important;
851
+ }
852
+
849
853
  .h-10 {
850
854
  height: 2.5rem;
851
855
  }
@@ -1408,6 +1412,11 @@ video {
1408
1412
  line-height: 1.25rem;
1409
1413
  }
1410
1414
 
1415
+ .text-xl {
1416
+ font-size: 1.25rem;
1417
+ line-height: 1.75rem;
1418
+ }
1419
+
1411
1420
  .text-xs {
1412
1421
  font-size: 0.75rem;
1413
1422
  line-height: 1rem;
@@ -1437,10 +1446,6 @@ video {
1437
1446
  font-weight: 500;
1438
1447
  }
1439
1448
 
1440
- .font-thin {
1441
- font-weight: 100;
1442
- }
1443
-
1444
1449
  .uppercase {
1445
1450
  text-transform: uppercase;
1446
1451
  }
@@ -1486,10 +1491,6 @@ video {
1486
1491
  color: rgb(0 0 0 / var(--tw-text-opacity));
1487
1492
  }
1488
1493
 
1489
- .text-tui-base-04 {
1490
- color: var(--tui-border-normal);
1491
- }
1492
-
1493
1494
  .text-tui-base-05 {
1494
1495
  color: var(--tui-border-hover);
1495
1496
  }
@@ -1629,10 +1630,6 @@ video {
1629
1630
  transition-duration: 150ms;
1630
1631
  }
1631
1632
 
1632
- .duration-300 {
1633
- transition-duration: 300ms;
1634
- }
1635
-
1636
1633
  .duration-500 {
1637
1634
  transition-duration: 500ms;
1638
1635
  }
@@ -1658,6 +1655,10 @@ video {
1658
1655
  margin-right: 2.25rem;
1659
1656
  }
1660
1657
 
1658
+ .sm\:grid-cols-2 {
1659
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1660
+ }
1661
+
1661
1662
  .sm\:flex-row {
1662
1663
  flex-direction: row;
1663
1664
  }