@repobit/dex-system-design 0.23.83 → 0.23.85
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 +14 -0
- package/package.json +4 -4
- package/src/components/cards/card.css.js +1 -7
- package/src/components/cards/card.js +15 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.85](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.84...@repobit/dex-system-design@0.23.85) (2026-07-15)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **DEX-1014:** card adjustments
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [0.23.84](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.83...@repobit/dex-system-design@0.23.84) (2026-07-15)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **DEX-1014:** card adjustments
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [0.23.83](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.82...@repobit/dex-system-design@0.23.83) (2026-07-15)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @repobit/dex-system-design
|
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.85",
|
|
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",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"url": "https://github.com/bitdefender/dex-core/issues"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@repobit/dex-store": "1.3.
|
|
78
|
-
"@repobit/dex-store-elements": "1.4.
|
|
77
|
+
"@repobit/dex-store": "1.3.81",
|
|
78
|
+
"@repobit/dex-store-elements": "1.4.73",
|
|
79
79
|
"lit": "^3.3.2"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"volta": {
|
|
93
93
|
"node": "24.14.0"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "1b78478c8bfb3cd6e91fe6e96d00c460742264e5"
|
|
96
96
|
}
|
|
@@ -91,12 +91,8 @@ export default css`
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.bd-light-box-no-content {
|
|
94
|
-
justify-content: center !important;
|
|
95
|
-
align-items: center !important;
|
|
96
|
-
text-align: center !important;
|
|
97
94
|
gap: var(--spacing-32);
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
|
|
100
96
|
}
|
|
101
97
|
|
|
102
98
|
.bd-light-box-center {
|
|
@@ -159,8 +155,6 @@ export default css`
|
|
|
159
155
|
}
|
|
160
156
|
|
|
161
157
|
.bd-light-box-no-content .bd-light-box-header-s {
|
|
162
|
-
align-items: center !important;
|
|
163
|
-
justify-content: center !important;
|
|
164
158
|
margin: 0 !important;
|
|
165
159
|
}
|
|
166
160
|
|
|
@@ -276,6 +276,7 @@ class CardItem extends LitElement {
|
|
|
276
276
|
render() {
|
|
277
277
|
const isCentered = this.align === "center";
|
|
278
278
|
const hasContent = this._hasContent();
|
|
279
|
+
const hasCtaSlot = !!this.querySelector("[slot='cta']");
|
|
279
280
|
const ctaJustify = this.ctaAlign === "center"
|
|
280
281
|
? "justify-content: center;"
|
|
281
282
|
: this.ctaAlign === "end"
|
|
@@ -306,13 +307,21 @@ class CardItem extends LitElement {
|
|
|
306
307
|
`
|
|
307
308
|
: ""}
|
|
308
309
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
${hasContent
|
|
311
|
+
? html`
|
|
312
|
+
<div class="bd-card-content-wrapper">
|
|
313
|
+
<slot></slot>
|
|
314
|
+
</div>
|
|
315
|
+
`
|
|
316
|
+
: ""}
|
|
312
317
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
318
|
+
${hasCtaSlot
|
|
319
|
+
? html`
|
|
320
|
+
<div class="bd-card-cta-wrapper" style="${ctaJustify}">
|
|
321
|
+
<slot name="cta"></slot>
|
|
322
|
+
</div>
|
|
323
|
+
`
|
|
324
|
+
: ""}
|
|
316
325
|
|
|
317
326
|
</div>
|
|
318
327
|
`;
|