@repobit/dex-system-design 0.23.70 → 0.23.71

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,14 @@
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.23.71](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.70...@repobit/dex-system-design@0.23.71) (2026-07-07)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **DEX-1014:** card adjustments css
11
+ * **DEX-1014:** card adjustments css
12
+
13
+
6
14
  ## [0.23.70](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.69...@repobit/dex-system-design@0.23.70) (2026-07-07)
7
15
 
8
16
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repobit/dex-system-design",
3
- "version": "0.23.70",
3
+ "version": "0.23.71",
4
4
  "description": "Design system based on Web Components.",
5
5
  "author": "Iordache Matei Cezar <miordache@bitdefender.com>",
6
6
  "homepage": "https://github.com/bitdefender/dex-core#readme",
@@ -72,8 +72,8 @@
72
72
  "url": "https://github.com/bitdefender/dex-core/issues"
73
73
  },
74
74
  "dependencies": {
75
- "@repobit/dex-store": "1.3.66",
76
- "@repobit/dex-store-elements": "1.4.58",
75
+ "@repobit/dex-store": "1.3.67",
76
+ "@repobit/dex-store-elements": "1.4.59",
77
77
  "lit": "^3.3.2"
78
78
  },
79
79
  "devDependencies": {
@@ -90,5 +90,5 @@
90
90
  "volta": {
91
91
  "node": "24.14.0"
92
92
  },
93
- "gitHead": "345b65276e5c71e0106f563d644b713645b98221"
93
+ "gitHead": "b8bacc469b17438b97fb365454579a626a3c2b43"
94
94
  }
@@ -5,8 +5,6 @@ export default css`
5
5
  display: block;
6
6
  --background-card-grey: var(--color-neutral-25);
7
7
  --border-card-grey: var(--color-neutral-50);
8
- padding-top: var(--spacing-64);
9
- padding-bottom: var(--spacing-64);
10
8
  max-width: 1290px;
11
9
  margin: 0 auto;
12
10
  }
@@ -187,15 +187,29 @@ class CardItem extends LitElement {
187
187
  clone.style.height = "auto";
188
188
  clone.style.objectFit = "contain";
189
189
  clone.style.display = "block";
190
+
191
+ // Aplica si pe img din interior (ex: picture > img)
192
+ const innerImg = clone.querySelector("img");
193
+ if (innerImg) {
194
+ innerImg.style.maxWidth = "120px";
195
+ innerImg.style.maxHeight = "120px";
196
+ innerImg.style.width = "auto";
197
+ innerImg.style.height = "auto";
198
+ innerImg.style.objectFit = "contain";
199
+ innerImg.style.display = "block";
200
+ innerImg.removeAttribute("width");
201
+ innerImg.removeAttribute("height");
202
+ }
203
+
190
204
  return clone;
191
205
  }
192
206
 
193
207
  if (this.icon) {
194
208
  return html`<img
195
- src="${this.icon}"
196
- alt="icon"
197
- class="bd-light-icon-s"
198
- />`;
209
+ src="${this.icon}"
210
+ alt="icon"
211
+ class="bd-light-icon-s"
212
+ />`;
199
213
  }
200
214
 
201
215
  return "";