@repobit/dex-system-design 0.23.69 → 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 +15 -0
- package/package.json +6 -4
- package/src/components/cards/card.css.js +0 -2
- package/src/components/cards/card.js +19 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
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
|
+
|
|
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)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **DEX-1014:** card import issue
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
## [0.23.69](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.68...@repobit/dex-system-design@0.23.69) (2026-07-06)
|
|
7
22
|
|
|
8
23
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repobit/dex-system-design",
|
|
3
|
-
"version": "0.23.
|
|
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",
|
|
@@ -24,12 +24,14 @@
|
|
|
24
24
|
"./anchor": "./src/components/anchor/anchor-nav.js",
|
|
25
25
|
"./badge": "./src/components/badge/badge.js",
|
|
26
26
|
"./button": "./src/components/Button/Button.js",
|
|
27
|
+
"./cards": "./src/components/cards/card.js",
|
|
27
28
|
"./carousel": "./src/components/carousel/carousel.js",
|
|
28
29
|
"./compare": "./src/components/compare/compare.js",
|
|
29
30
|
"./checkbox": "./src/components/checkbox/checkbox.js",
|
|
30
31
|
"./divider-horizontal": "./src/components/divider/divider-horizontal.js",
|
|
31
32
|
"./divider-vertical": "./src/components/divider/divider-vertical.js",
|
|
32
33
|
"./dropdown": "./src/components/dropdown/dropdown.js",
|
|
34
|
+
"./features": "./src/components/features/features.js",
|
|
33
35
|
"./footer": "./src/components/footer/footer.js",
|
|
34
36
|
"./footer-links-group": "./src/components/footer/footer-links-group.js",
|
|
35
37
|
"./footer-lp": "./src/components/footer/footer-lp.js",
|
|
@@ -70,8 +72,8 @@
|
|
|
70
72
|
"url": "https://github.com/bitdefender/dex-core/issues"
|
|
71
73
|
},
|
|
72
74
|
"dependencies": {
|
|
73
|
-
"@repobit/dex-store": "1.3.
|
|
74
|
-
"@repobit/dex-store-elements": "1.4.
|
|
75
|
+
"@repobit/dex-store": "1.3.67",
|
|
76
|
+
"@repobit/dex-store-elements": "1.4.59",
|
|
75
77
|
"lit": "^3.3.2"
|
|
76
78
|
},
|
|
77
79
|
"devDependencies": {
|
|
@@ -88,5 +90,5 @@
|
|
|
88
90
|
"volta": {
|
|
89
91
|
"node": "24.14.0"
|
|
90
92
|
},
|
|
91
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "b8bacc469b17438b97fb365454579a626a3c2b43"
|
|
92
94
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement, html } from "lit";
|
|
2
2
|
import { tokens } from "../../tokens/tokens.js";
|
|
3
|
-
import "../
|
|
3
|
+
import "../Button/Button.js";
|
|
4
4
|
import "../heading/heading.js";
|
|
5
5
|
import carouselCSS from "./card.css.js";
|
|
6
6
|
|
|
@@ -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
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
209
|
+
src="${this.icon}"
|
|
210
|
+
alt="icon"
|
|
211
|
+
class="bd-light-icon-s"
|
|
212
|
+
/>`;
|
|
199
213
|
}
|
|
200
214
|
|
|
201
215
|
return "";
|