@repobit/dex-system-design 0.23.82 → 0.23.84

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,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.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)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **DEX-1014:** card adjustments
11
+
12
+
13
+ ## [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)
14
+
15
+ **Note:** Version bump only for package @repobit/dex-system-design
16
+
17
+
18
+
19
+
20
+
6
21
  ## [0.23.82](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.81...@repobit/dex-system-design@0.23.82) (2026-07-15)
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.82",
3
+ "version": "0.23.84",
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",
78
- "@repobit/dex-store-elements": "1.4.70",
77
+ "@repobit/dex-store": "1.3.80",
78
+ "@repobit/dex-store-elements": "1.4.72",
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": "4d50d622ce56e1e6de67c8194c184d54e6cffeae"
95
+ "gitHead": "b45f240efc81092d3c4547f3c418f3324d9d144c"
96
96
  }
@@ -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
- <div class="bd-card-content-wrapper">
310
- <slot></slot>
311
- </div>
310
+ ${hasContent
311
+ ? html`
312
+ <div class="bd-card-content-wrapper">
313
+ <slot></slot>
314
+ </div>
315
+ `
316
+ : ""}
312
317
 
313
- <div class="bd-card-cta-wrapper" style="${ctaJustify}">
314
- <slot name="cta"></slot>
315
- </div>
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
  `;