@snack-uikit/link 0.16.6-preview-f475624a.0 → 0.17.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 0.17.0 (2025-03-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * **PDS-1393:** add purpose prop for typography ([2c951d8](https://github.com/cloud-ru-tech/snack-uikit/commit/2c951d87a3228b0431111ca8957ffde8a0daa737))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 0.16.5 (2025-03-19)
7
18
 
8
19
  ### Only dependencies have been changed
@@ -425,6 +425,7 @@
425
425
  .link[data-size=s]{
426
426
  height:var(--size-link-s, 16px);
427
427
  gap:var(--space-link-gap-single, 0px);
428
+ height:auto;
428
429
  }
429
430
  .link[data-size=s][data-purpose=display][data-text-mode=default]{
430
431
  font-family:var(--sans-display-s-font-family, SB Sans Interface);
@@ -573,6 +574,7 @@
573
574
  .link[data-size=m]{
574
575
  height:var(--size-link-m, 20px);
575
576
  gap:var(--space-link-gap-single, 0px);
577
+ height:auto;
576
578
  }
577
579
  .link[data-size=m][data-purpose=display][data-text-mode=default]{
578
580
  font-family:var(--sans-display-m-font-family, SB Sans Interface);
@@ -721,6 +723,7 @@
721
723
  .link[data-size=l]{
722
724
  height:var(--size-link-l, 24px);
723
725
  gap:var(--space-link-gap-single, 0px);
726
+ height:auto;
724
727
  }
725
728
  .link[data-size=l][data-purpose=display][data-text-mode=default]{
726
729
  font-family:var(--sans-display-l-font-family, SB Sans Interface);
@@ -425,6 +425,7 @@
425
425
  .link[data-size=s]{
426
426
  height:var(--size-link-s, 16px);
427
427
  gap:var(--space-link-gap-single, 0px);
428
+ height:auto;
428
429
  }
429
430
  .link[data-size=s][data-purpose=display][data-text-mode=default]{
430
431
  font-family:var(--sans-display-s-font-family, SB Sans Interface);
@@ -573,6 +574,7 @@
573
574
  .link[data-size=m]{
574
575
  height:var(--size-link-m, 20px);
575
576
  gap:var(--space-link-gap-single, 0px);
577
+ height:auto;
576
578
  }
577
579
  .link[data-size=m][data-purpose=display][data-text-mode=default]{
578
580
  font-family:var(--sans-display-m-font-family, SB Sans Interface);
@@ -721,6 +723,7 @@
721
723
  .link[data-size=l]{
722
724
  height:var(--size-link-l, 24px);
723
725
  gap:var(--space-link-gap-single, 0px);
726
+ height:auto;
724
727
  }
725
728
  .link[data-size=l][data-purpose=display][data-text-mode=default]{
726
729
  font-family:var(--sans-display-l-font-family, SB Sans Interface);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Link",
7
- "version": "0.16.6-preview-f475624a.0",
7
+ "version": "0.17.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -40,5 +40,5 @@
40
40
  "@snack-uikit/utils": "3.8.1",
41
41
  "classnames": "2.5.1"
42
42
  },
43
- "gitHead": "91074db89ad1da846bacfe271c2c6003012ae718"
43
+ "gitHead": "cd2f258c295746a8d2d8002bfb2239ed71bd21a3"
44
44
  }
@@ -105,6 +105,8 @@ $icon-sizes: (
105
105
 
106
106
  @include styles-tokens-link.composite-var(styles-tokens-link.$link, 'container', $size);
107
107
 
108
+ height: auto;
109
+
108
110
  svg {
109
111
  width: styles-tokens-link.simple-var($icon-sizes, $size) !important; /* stylelint-disable-line declaration-no-important */
110
112
  height: styles-tokens-link.simple-var($icon-sizes, $size) !important; /* stylelint-disable-line declaration-no-important */