@snack-uikit/card 0.15.4 → 0.16.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.16.0 (2024-11-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * **FF-5681:** add opacity to disabled card ([8afda65](https://github.com/cloud-ru-tech/snack-uikit/commit/8afda65d8c19cc4a05a4d8087521e3dd14496e68))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 0.15.4 (2024-11-14)
7
18
 
8
19
 
@@ -105,6 +105,7 @@
105
105
  outline-style:var(--border-state-focus-s-border-style, solid);
106
106
  outline-color:var(--border-state-focus-s-border-color, );
107
107
  cursor:not-allowed;
108
+ opacity:var(--opacity-a048, 0.48);
108
109
  background-color:var(--sys-neutral-background, #eeeff3);
109
110
  outline-color:var(--sys-neutral-decor-default, #dde0ea);
110
111
  outline-width:var(--border-width-card-container, 1px);
@@ -105,6 +105,7 @@
105
105
  outline-style:var(--border-state-focus-s-border-style, solid);
106
106
  outline-color:var(--border-state-focus-s-border-color, );
107
107
  cursor:not-allowed;
108
+ opacity:var(--opacity-a048, 0.48);
108
109
  background-color:var(--sys-neutral-background, #eeeff3);
109
110
  outline-color:var(--sys-neutral-decor-default, #dde0ea);
110
111
  outline-width:var(--border-width-card-container, 1px);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Card",
7
- "version": "0.15.4",
7
+ "version": "0.16.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -48,5 +48,5 @@
48
48
  "classnames": "2.5.1",
49
49
  "merge-refs": "1.3.0"
50
50
  },
51
- "gitHead": "b9670e68c6af5fdd5dfceeae29ef3af8c89e5e6b"
51
+ "gitHead": "1177aabebe5da9c884439c8d2fcc832a465cb679"
52
52
  }
@@ -134,6 +134,8 @@ $sizes: 's', 'm', 'l';
134
134
  @include styles-tokens-card.outline-var(styles-tokens-element.$container-focused-s);
135
135
 
136
136
  cursor: not-allowed;
137
+
138
+ opacity: styles-tokens-element.$opacity-a048;
137
139
  background-color: styles-tokens-card.$sys-neutral-background;
138
140
  outline-color: styles-tokens-card.$sys-neutral-decor-default;
139
141
  outline-width: styles-tokens-card.$border-width-card-container;
@@ -169,7 +171,12 @@ $sizes: 's', 'm', 'l';
169
171
  }
170
172
 
171
173
  &:hover {
172
- box-shadow: styles-tokens-card.simple-var(styles-tokens-card.$theme-variables, 'box-shadow', 'elevation', 'level2');
174
+ box-shadow: styles-tokens-card.simple-var(
175
+ styles-tokens-card.$theme-variables,
176
+ 'box-shadow',
177
+ 'elevation',
178
+ 'level2'
179
+ );
173
180
  }
174
181
  }
175
182