@repobit/dex-system-design 0.23.50 → 0.23.51

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,13 @@
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.51](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.50...@repobit/dex-system-design@0.23.51) (2026-06-22)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **DEX-1014:** css adjustments for accordion and card features
11
+
12
+
6
13
  ## [0.23.50](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.49...@repobit/dex-system-design@0.23.50) (2026-06-17)
7
14
 
8
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repobit/dex-system-design",
3
- "version": "0.23.50",
3
+ "version": "0.23.51",
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",
@@ -70,8 +70,8 @@
70
70
  "url": "https://github.com/bitdefender/dex-core/issues"
71
71
  },
72
72
  "dependencies": {
73
- "@repobit/dex-store": "1.3.46",
74
- "@repobit/dex-store-elements": "1.4.38",
73
+ "@repobit/dex-store": "1.3.47",
74
+ "@repobit/dex-store-elements": "1.4.39",
75
75
  "lit": "^3.3.2"
76
76
  },
77
77
  "devDependencies": {
@@ -88,5 +88,5 @@
88
88
  "volta": {
89
89
  "node": "24.14.0"
90
90
  },
91
- "gitHead": "81584423e16ae1ca612de9c236fa98707297bc04"
91
+ "gitHead": "ee0b16e0dc89e37e60424056af0ff16564e699c2"
92
92
  }
@@ -77,7 +77,9 @@ export default css`
77
77
  padding-top: var(--spacing-16);
78
78
  font-style: italic;
79
79
  }
80
-
80
+ :host-context(bd-features) .header {
81
+ margin-bottom: var(--spacing-8);
82
+ }
81
83
  .bd-accordion-bg-item {
82
84
  margin-bottom: 0;
83
85
  border-radius: 0;
@@ -92,6 +92,9 @@ export const accordionItem = css`
92
92
  margin-bottom: var(--bd-acc-header-margin-bottom, var(--spacing-16));
93
93
  }
94
94
 
95
+ :host-context(bd-features) .header {
96
+ margin-bottom: var(--spacing-8);
97
+ }
95
98
  .header:focus-visible {
96
99
  outline: none;
97
100
  box-shadow: none;
@@ -5,8 +5,8 @@ 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-32);
9
- padding-bottom: var(--spacing-32);
8
+ // padding-top: var(--spacing-32);
9
+ // padding-bottom: var(--spacing-32);
10
10
  }
11
11
 
12
12
  .bd-card-features-s {
@@ -6,6 +6,8 @@ export default css`
6
6
  width: 100%;
7
7
  padding-top: var(--spacing-32);
8
8
  padding-bottom: var(--spacing-32);
9
+ --bd-acc-header-margin-bottom: var(--spacing-8);
10
+
9
11
  }
10
12
 
11
13
  /* Columns grid */
@@ -107,8 +107,14 @@ class BdFeatures extends LitElement {
107
107
  ${descEl
108
108
  ? html`<div class="col-description"><bd-p kind="regular">${descEl.textContent}</bd-p></div>`
109
109
  : ""}
110
- ${accordionEl
111
- ? accordionEl.cloneNode(true)
110
+ ${accordionEl
111
+ ? (() => {
112
+ const clone = accordionEl.cloneNode(true);
113
+ clone.querySelectorAll("bd-accordion-item").forEach(item => {
114
+ item.style.setProperty("--bd-acc-header-margin-bottom", "var(--spacing-8)");
115
+ });
116
+ return clone;
117
+ })()
112
118
  : ""}
113
119
  </div>
114
120
  `;