@repobit/dex-system-design 0.21.2 → 0.22.0
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 +11 -0
- package/package.json +4 -2
- package/src/components/Button/Button.js +7 -2
- package/src/components/Button/button.css.js +30 -0
- package/src/components/accordion/accordion-bg.stories.js +341 -171
- package/src/components/accordion/accordion.stories.js +345 -0
- package/src/components/anchor/anchor.stories.js +134 -76
- package/src/components/back/back.css.js +1 -1
- package/src/components/back/back.stories.js +301 -63
- package/src/components/badge/badge.js +4 -7
- package/src/components/badge/badge.stories.js +89 -96
- package/src/components/breadcrumb/breadcrumb.stories.js +167 -3
- package/src/components/cards/card.stories.js +153 -3
- package/src/components/display/display.css.js +7 -10
- package/src/components/display/display.js +14 -2
- package/src/components/display/display.stories.js +213 -219
- package/src/components/divider/divider.stories.js +337 -30
- package/src/components/footer/footer-lp.stories.js +346 -3
- package/src/components/footer/footer.js +0 -3
- package/src/components/footer/footer.stories.js +267 -4
- package/src/components/header/header.css.js +1 -1
- package/src/components/header/header.js +77 -56
- package/src/components/header/header.stories.js +298 -22
- package/src/components/heading/heading.css.js +1 -1
- package/src/components/heading/heading.stories.js +355 -113
- package/src/components/image/image.css.js +146 -98
- package/src/components/image/image.js +13 -2
- package/src/components/image/image.stories.js +546 -160
- package/src/components/input/custom-form.stories.js +209 -12
- package/src/components/link/link.css.js +2 -2
- package/src/components/link/link.stories.js +383 -53
- package/src/components/paragraph/paragraph.css.js +1 -1
- package/src/components/paragraph/paragraph.stories.js +365 -157
- package/src/components/picture/picture.css.js +209 -0
- package/src/components/picture/picture.js +16 -2
- package/src/components/picture/picture.stories.js +525 -180
- package/src/components/pricing-cards/new-pricing-card.js +19 -4
- package/src/components/pricing-cards/new-pricing-card.stories.js +422 -0
- package/src/components/pricing-cards/new-pricing.css.js +8 -0
- package/src/components/pricing-cards/pricing-card-actions.js +49 -9
- package/src/components/pricing-cards/pricing-card-container.css.js +1 -1
- package/src/components/pricing-cards/pricing-card-header.css.js +73 -63
- package/src/components/pricing-cards/pricing-card-header.js +44 -10
- package/src/components/pricing-cards/pricing-card-pricing.js +63 -64
- package/src/components/pricing-cards/pricing-card.css.js +7 -15
- package/src/components/pricing-cards/pricing-card.js +353 -270
- package/src/components/pricing-cards/pricing-card.stories.js +3 -3
- package/src/tokens/fonts.stories.js +335 -8
- package/src/tokens/spacing.stories.js +701 -34
- package/src/tokens/tokens-grid.stories.js +897 -48
- package/src/tokens/typography.stories.js +980 -38
- package/src/components/accordion/accordion-light.stories.js +0 -241
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.22.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.21.2...@repobit/dex-system-design@0.22.0) (2025-12-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **DEX-1005:** button component and design system updates ([0cbe990](https://github.com/bitdefender/dex-core/commit/0cbe990bf1d7640b07b56d2c37e98a0cd29fef4c))
|
|
12
|
+
* **DEX-1006:** modifications of data-layer-event prop ([0cff595](https://github.com/bitdefender/dex-core/commit/0cff595643870ed75d324fc7eba67afb46b1065d))
|
|
13
|
+
* **DEX-1007:** changing header options for pricing section and title ([d08ad14](https://github.com/bitdefender/dex-core/commit/d08ad1403eb84e418f487d0736cc0614e4e09d64))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.21.2](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.21.1...@repobit/dex-system-design@0.21.2) (2025-11-18)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repobit/dex-system-design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
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",
|
|
@@ -66,6 +66,8 @@
|
|
|
66
66
|
"url": "https://github.com/bitdefender/dex-core/issues"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
+
"@repobit/dex-store": "*",
|
|
70
|
+
"@repobit/dex-store-elements": "*",
|
|
69
71
|
"lit": "^3.2.1",
|
|
70
72
|
"lit-query": "^0.0.1"
|
|
71
73
|
},
|
|
@@ -83,5 +85,5 @@
|
|
|
83
85
|
"volta": {
|
|
84
86
|
"node": "22.14.0"
|
|
85
87
|
},
|
|
86
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "4a851c1caab08b168d0e10960f28e8c1fff54c2e"
|
|
87
89
|
}
|
|
@@ -112,7 +112,9 @@ class ButtonLink extends LitElement {
|
|
|
112
112
|
fullWidth : { type: Boolean },
|
|
113
113
|
strong : { type: Boolean },
|
|
114
114
|
fontSize : { type: String, attribute: "font-size" },
|
|
115
|
-
fontWeight : { type: String, attribute: "font-weight" }
|
|
115
|
+
fontWeight : { type: String, attribute: "font-weight" },
|
|
116
|
+
buyLink : { type: Boolean },
|
|
117
|
+
shadow : { type: Boolean, reflect: true }
|
|
116
118
|
};
|
|
117
119
|
|
|
118
120
|
constructor() {
|
|
@@ -125,6 +127,8 @@ class ButtonLink extends LitElement {
|
|
|
125
127
|
this.strong = false;
|
|
126
128
|
this.fontSize = "";
|
|
127
129
|
this.fontWeight = "";
|
|
130
|
+
this.buyLink = false;
|
|
131
|
+
this.shadow = true;
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
get sizeClass() {
|
|
@@ -176,6 +180,8 @@ class ButtonLink extends LitElement {
|
|
|
176
180
|
${this.fontSize ? `font-size: ${this.fontSize};` : ""}
|
|
177
181
|
${this.fontWeight ? `font-weight: ${this.fontWeight};` : ""}
|
|
178
182
|
"
|
|
183
|
+
?data-store-render="${this.buyLink}"
|
|
184
|
+
?data-store-buy-link="${this.buyLink}"
|
|
179
185
|
>
|
|
180
186
|
<slot>${this.label}</slot>
|
|
181
187
|
</a>
|
|
@@ -185,7 +191,6 @@ class ButtonLink extends LitElement {
|
|
|
185
191
|
_handleClick() {
|
|
186
192
|
this.dispatchEvent(new Event("custom-click"));
|
|
187
193
|
}
|
|
188
|
-
|
|
189
194
|
}
|
|
190
195
|
|
|
191
196
|
|
|
@@ -174,4 +174,34 @@ a.button {
|
|
|
174
174
|
.button.max--width {
|
|
175
175
|
width: 100%;
|
|
176
176
|
}
|
|
177
|
+
|
|
178
|
+
.button,
|
|
179
|
+
a.button {
|
|
180
|
+
display: inline-flex;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
align-items: center;
|
|
183
|
+
text-align: center;
|
|
184
|
+
text-decoration: none;
|
|
185
|
+
// color: white;
|
|
186
|
+
// border: none;
|
|
187
|
+
cursor: pointer;
|
|
188
|
+
transition: background-color 0.3s ease, transform 0.2s ease,
|
|
189
|
+
box-shadow 0.2s ease;
|
|
190
|
+
gap: 10px;
|
|
191
|
+
vertical-align: middle;
|
|
192
|
+
line-height: 1;
|
|
193
|
+
box-sizing: border-box;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/* Pentru link-uri care sunt butoane */
|
|
197
|
+
a.button {
|
|
198
|
+
text-decoration: none;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* Asigură-te că slot-ul ocupă întreg spațiul */
|
|
202
|
+
.button > ::slotted(*) {
|
|
203
|
+
display: inline-block;
|
|
204
|
+
width: 100%;
|
|
205
|
+
text-align: center;
|
|
206
|
+
}
|
|
177
207
|
`;
|