@repobit/dex-system-design 0.23.38 → 0.23.40

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,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.40](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.39...@repobit/dex-system-design@0.23.40) (2026-05-27)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **DEX-1014:** update accordion paddings
11
+
12
+
13
+ ## [0.23.39](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.38...@repobit/dex-system-design@0.23.39) (2026-05-27)
14
+
15
+ ### Bug Fixes
16
+
17
+ * **DEX-1014:** update accordion background styles and logic
18
+
19
+
6
20
  ## [0.23.38](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.37...@repobit/dex-system-design@0.23.38) (2026-05-26)
7
21
 
8
22
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repobit/dex-system-design",
3
- "version": "0.23.38",
3
+ "version": "0.23.40",
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.34",
74
- "@repobit/dex-store-elements": "1.4.26",
73
+ "@repobit/dex-store": "1.3.36",
74
+ "@repobit/dex-store-elements": "1.4.28",
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": "e639a21f5618fc23aff63c32c9447ce67df63558"
91
+ "gitHead": "7c0438c5fa395495c98a08c726229c230ba0299b"
92
92
  }
@@ -31,15 +31,14 @@ export default css`
31
31
  border-radius: var(--radius-sm);
32
32
  }
33
33
 
34
- /* Focus ring pentru varianta terms-of-use — fara background deci ring simplu */
35
34
  :host(bd-accordion-bg-item[data-variant="terms-of-use"][data-bd-acc-focus]) {
36
- // box-shadow: var(--focus-outline-primary);
35
+ box-shadow: var(--focus-outline-primary);
37
36
  border-radius: var(--radius-sm);
38
37
  }
39
38
 
40
- :host(bd-accordion-bg-item:last-of-type) {
41
- margin-bottom: 0;
42
- }
39
+ // :host(bd-accordion-bg-item:last-of-type) {
40
+ // margin-bottom: 0;
41
+ // }
43
42
 
44
43
  :host(bd-accordion-bg-item[no-bg]) {
45
44
  margin-bottom: var(--spacing-16);
@@ -58,11 +57,8 @@ export default css`
58
57
  box-shadow: var(--focus-outline-primary);
59
58
  }
60
59
 
60
+ /* bd-p in bd-accordion-bg — fara padding bottom */
61
61
  ::slotted(bd-p) {
62
- padding-bottom: var(--spacing-16);
63
- }
64
-
65
- ::slotted(bd-p:last-child) {
66
62
  padding-bottom: 0;
67
63
  }
68
64
 
@@ -76,7 +72,6 @@ export default css`
76
72
  margin-bottom: 0;
77
73
  }
78
74
 
79
- /* Footer slot — italic, spacing deasupra */
80
75
  ::slotted([slot="footer"]) {
81
76
  display: block;
82
77
  padding-top: var(--spacing-16);
@@ -207,14 +202,25 @@ export default css`
207
202
  overflow: hidden;
208
203
  }
209
204
 
205
+ /* FAQ container — padding 64px top/bottom */
210
206
  .bd-accordion-bg-container {
211
207
  margin: auto;
208
+ padding-top: var(--spacing-64);
209
+ padding-bottom: var(--spacing-64);
212
210
  }
213
211
 
214
212
  .bd-accordion-bg-container.no-bg {
215
213
  background: none;
216
214
  }
217
215
 
216
+ /* Inner — max-width 1290px centrat */
217
+ .bd-accordion-bg-inner {
218
+ max-width: 1290px;
219
+ margin-inline: auto;
220
+ padding-inline: var(--layout-ensemble-inline-padding, var(--spacing-24));
221
+ box-sizing: border-box;
222
+ }
223
+
218
224
  .bd-accordion-bg-item.no-bg {
219
225
  background-color: transparent;
220
226
  border: none;
@@ -68,14 +68,16 @@ class BdAccordionBg extends LitElement {
68
68
 
69
69
  _renderFaq() {
70
70
  return html`
71
- <div class="bd-accordion-bg-container ${this.noBg ? "no-bg" : ""}">
71
+ <div class="bd-accordion-bg-container ${this.noBg ? "no-bg" : ""}">
72
+ <div class="bd-accordion-bg-inner">
72
73
  <div class="bd-accordion-bg-header">
73
74
  <bd-h as="h2" class="bd-accordion-bg-title">${this.title}</bd-h>
74
75
  </div>
75
76
  <slot></slot>
76
77
  <slot name="footer"></slot>
77
78
  </div>
78
- `;
79
+ </div>
80
+ `;
79
81
  }
80
82
 
81
83
  _renderTerms() {
@@ -65,6 +65,15 @@ export const accordionItem = css`
65
65
  margin-bottom: 0;
66
66
  }
67
67
 
68
+ /* bd-p in bd-accordion simplu — spacing-16 intre paragrafe */
69
+ ::slotted(bd-p) {
70
+ padding-bottom: var(--spacing-16);
71
+ }
72
+
73
+ ::slotted(bd-p:last-of-type) {
74
+ padding-bottom: 0;
75
+ }
76
+
68
77
  .header {
69
78
  display: flex;
70
79
  align-items: flex-start;
@@ -153,14 +162,6 @@ export const accordionItem = css`
153
162
  display: none !important;
154
163
  }
155
164
 
156
- ::slotted(bd-p) {
157
- padding-bottom: var(--spacing-16);
158
- }
159
-
160
- ::slotted(bd-p:last-child) {
161
- padding-bottom: 0px;
162
- }
163
-
164
165
  ::slotted(p) {
165
166
  margin-top: 0;
166
167
  margin-bottom: var(--bd-acc-panel-paragraph-gap, var(--spacing-16));
@@ -193,7 +194,6 @@ export const accordionSection = css`
193
194
  padding-right: calc(50vw - 50%);
194
195
  }
195
196
 
196
- /* Inner — max-width 1290px, centrat, cu padding lateral ca anchor-nav */
197
197
  .bd-accordion-section-inner {
198
198
  max-width: 1290px;
199
199
  margin-inline: auto;