@repobit/dex-system-design 0.23.51 → 0.23.52
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.52](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.23.51...@repobit/dex-system-design@0.23.52) (2026-06-23)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **DEX-1014:** css adjustments for features and tabs component
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
## [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
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.
|
|
3
|
+
"version": "0.23.52",
|
|
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.
|
|
74
|
-
"@repobit/dex-store-elements": "1.4.
|
|
73
|
+
"@repobit/dex-store": "1.3.48",
|
|
74
|
+
"@repobit/dex-store-elements": "1.4.40",
|
|
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": "
|
|
91
|
+
"gitHead": "10b79725b3ab54c9aa0fab51c9b458941a483ef2"
|
|
92
92
|
}
|
|
@@ -4,10 +4,9 @@ export default css`
|
|
|
4
4
|
:host {
|
|
5
5
|
display: block;
|
|
6
6
|
width: 100%;
|
|
7
|
-
padding-top: var(--spacing-
|
|
8
|
-
padding-bottom: var(--spacing-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
padding-top: var(--spacing-64);
|
|
8
|
+
padding-bottom: var(--spacing-64);
|
|
9
|
+
--bd-acc-header-margin-bottom: var(--spacing-8);
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
/* Columns grid */
|
|
@@ -22,7 +21,8 @@ export default css`
|
|
|
22
21
|
.bd-col {
|
|
23
22
|
display: flex;
|
|
24
23
|
flex-direction: column;
|
|
25
|
-
width:
|
|
24
|
+
width: 100%;
|
|
25
|
+
max-width: 400px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Icon wrapper */
|
|
@@ -53,7 +53,7 @@ export default css`
|
|
|
53
53
|
/* Responsive */
|
|
54
54
|
@media (max-width: 992px) {
|
|
55
55
|
.bd-col {
|
|
56
|
-
width:
|
|
56
|
+
max-width: 100%;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -6,13 +6,9 @@ import "../image/image.js";
|
|
|
6
6
|
import "../paragraph/paragraph.js";
|
|
7
7
|
import featuresCSS from "./features.css.js";
|
|
8
8
|
|
|
9
|
-
// ─── BdFeatureCol — Light DOM wrapper ────────────────────────────────────────
|
|
10
|
-
|
|
11
9
|
class BdFeatureCol extends HTMLElement {}
|
|
12
10
|
customElements.define("bd-feature-col", BdFeatureCol);
|
|
13
11
|
|
|
14
|
-
// ─── BdFeatures ──────────────────────────────────────────────────────────────
|
|
15
|
-
|
|
16
12
|
class BdFeatures extends LitElement {
|
|
17
13
|
static properties = {
|
|
18
14
|
_minHeight: { state: true }
|
|
@@ -107,7 +103,7 @@ class BdFeatures extends LitElement {
|
|
|
107
103
|
${descEl
|
|
108
104
|
? html`<div class="col-description"><bd-p kind="regular">${descEl.textContent}</bd-p></div>`
|
|
109
105
|
: ""}
|
|
110
|
-
|
|
106
|
+
${accordionEl
|
|
111
107
|
? (() => {
|
|
112
108
|
const clone = accordionEl.cloneNode(true);
|
|
113
109
|
clone.querySelectorAll("bd-accordion-item").forEach(item => {
|
|
@@ -127,7 +123,7 @@ class BdFeatures extends LitElement {
|
|
|
127
123
|
return html`
|
|
128
124
|
<div
|
|
129
125
|
class="bd-features-container"
|
|
130
|
-
style="grid-template-columns: repeat(${colCount},
|
|
126
|
+
style="grid-template-columns: repeat(${colCount}, 1fr); ${this._minHeight ? `min-height: ${this._minHeight}px;` : ""}"
|
|
131
127
|
>
|
|
132
128
|
${cols.map(col => this._renderCol(col))}
|
|
133
129
|
</div>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LitElement, html } from "lit";
|
|
2
|
+
import { keyed } from "lit/directives/keyed.js";
|
|
2
3
|
import { tokens } from "../../tokens/tokens.js";
|
|
3
4
|
import "../features/features.js";
|
|
4
5
|
import "../heading/heading.js";
|
|
@@ -6,8 +7,6 @@ import "../highlight/highlight.js";
|
|
|
6
7
|
import "../paragraph/paragraph.js";
|
|
7
8
|
import tabsCSS from "./tabs.css.js";
|
|
8
9
|
|
|
9
|
-
// ─── BdTabPanel — Light DOM wrapper ──────────────────────────────────────────
|
|
10
|
-
|
|
11
10
|
class BdTabPanel extends HTMLElement {
|
|
12
11
|
connectedCallback() {
|
|
13
12
|
this.style.display = "none";
|
|
@@ -15,8 +14,6 @@ class BdTabPanel extends HTMLElement {
|
|
|
15
14
|
}
|
|
16
15
|
customElements.define("bd-tab-panel", BdTabPanel);
|
|
17
16
|
|
|
18
|
-
// ─── BdTabs ──────────────────────────────────────────────────────────────────
|
|
19
|
-
|
|
20
17
|
class BdTabs extends LitElement {
|
|
21
18
|
static properties = {
|
|
22
19
|
title : { type: String },
|
|
@@ -61,7 +58,6 @@ class BdTabs extends LitElement {
|
|
|
61
58
|
? html`<bd-p kind="large" class="bd-tabs-subtitle">${this.subtitle}</bd-p>`
|
|
62
59
|
: ""}
|
|
63
60
|
|
|
64
|
-
<!-- Tab buttons -->
|
|
65
61
|
<div class="bd-tabs-container" role="tablist">
|
|
66
62
|
${panels.map((panel, index) => html`
|
|
67
63
|
<button
|
|
@@ -77,16 +73,17 @@ class BdTabs extends LitElement {
|
|
|
77
73
|
`)}
|
|
78
74
|
</div>
|
|
79
75
|
|
|
80
|
-
<!-- Active panel — bd-features cu coloanele panelului activ -->
|
|
81
76
|
<div
|
|
82
77
|
id="tab-panel-${this.selectedTab}"
|
|
83
78
|
role="tabpanel"
|
|
84
79
|
aria-labelledby="tab-btn-${this.selectedTab}"
|
|
85
80
|
class="bd-panel-wrapper"
|
|
86
81
|
>
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
82
|
+
${keyed(this.selectedTab, html`
|
|
83
|
+
<bd-features>
|
|
84
|
+
${cols.map(col => col.cloneNode(true))}
|
|
85
|
+
</bd-features>
|
|
86
|
+
`)}
|
|
90
87
|
</div>
|
|
91
88
|
|
|
92
89
|
</div>
|