@repobit/dex-system-design 0.21.2 → 0.22.1

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +4 -2
  3. package/src/components/Button/Button.js +7 -2
  4. package/src/components/Button/button.css.js +30 -0
  5. package/src/components/accordion/accordion-bg.stories.js +341 -171
  6. package/src/components/accordion/accordion.stories.js +345 -0
  7. package/src/components/anchor/anchor.stories.js +134 -76
  8. package/src/components/back/back.css.js +1 -1
  9. package/src/components/back/back.stories.js +301 -63
  10. package/src/components/badge/badge.js +4 -7
  11. package/src/components/badge/badge.stories.js +89 -96
  12. package/src/components/breadcrumb/breadcrumb.stories.js +167 -3
  13. package/src/components/cards/card.stories.js +153 -3
  14. package/src/components/display/display.css.js +7 -10
  15. package/src/components/display/display.js +14 -2
  16. package/src/components/display/display.stories.js +213 -219
  17. package/src/components/divider/divider.stories.js +337 -30
  18. package/src/components/footer/footer-lp.stories.js +346 -3
  19. package/src/components/footer/footer.js +0 -3
  20. package/src/components/footer/footer.stories.js +267 -4
  21. package/src/components/header/header.css.js +1 -1
  22. package/src/components/header/header.js +77 -56
  23. package/src/components/header/header.stories.js +298 -22
  24. package/src/components/heading/heading.css.js +1 -1
  25. package/src/components/heading/heading.stories.js +355 -113
  26. package/src/components/image/image.css.js +146 -98
  27. package/src/components/image/image.js +13 -2
  28. package/src/components/image/image.stories.js +546 -160
  29. package/src/components/input/custom-form.stories.js +209 -12
  30. package/src/components/link/link.css.js +2 -2
  31. package/src/components/link/link.stories.js +383 -53
  32. package/src/components/paragraph/paragraph.css.js +1 -1
  33. package/src/components/paragraph/paragraph.stories.js +365 -157
  34. package/src/components/picture/picture.css.js +209 -0
  35. package/src/components/picture/picture.js +16 -2
  36. package/src/components/picture/picture.stories.js +525 -180
  37. package/src/components/pricing-cards/new-pricing-card.js +19 -4
  38. package/src/components/pricing-cards/new-pricing-card.stories.js +422 -0
  39. package/src/components/pricing-cards/new-pricing.css.js +8 -0
  40. package/src/components/pricing-cards/pricing-card-actions.js +49 -9
  41. package/src/components/pricing-cards/pricing-card-container.css.js +1 -1
  42. package/src/components/pricing-cards/pricing-card-header.css.js +73 -63
  43. package/src/components/pricing-cards/pricing-card-header.js +44 -10
  44. package/src/components/pricing-cards/pricing-card-pricing.js +63 -64
  45. package/src/components/pricing-cards/pricing-card.css.js +7 -15
  46. package/src/components/pricing-cards/pricing-card.js +353 -270
  47. package/src/components/pricing-cards/pricing-card.stories.js +3 -3
  48. package/src/tokens/fonts.stories.js +335 -8
  49. package/src/tokens/spacing.stories.js +701 -34
  50. package/src/tokens/tokens-grid.stories.js +897 -48
  51. package/src/tokens/typography.stories.js +980 -38
  52. package/src/components/accordion/accordion-light.stories.js +0 -241
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
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.1](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.22.0...@repobit/dex-system-design@0.22.1) (2026-01-19)
7
+
8
+ **Note:** Version bump only for package @repobit/dex-system-design
9
+
10
+
11
+
12
+
13
+
14
+ ## [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)
15
+
16
+
17
+ ### Features
18
+
19
+ * **DEX-1005:** button component and design system updates ([0cbe990](https://github.com/bitdefender/dex-core/commit/0cbe990bf1d7640b07b56d2c37e98a0cd29fef4c))
20
+ * **DEX-1006:** modifications of data-layer-event prop ([0cff595](https://github.com/bitdefender/dex-core/commit/0cff595643870ed75d324fc7eba67afb46b1065d))
21
+ * **DEX-1007:** changing header options for pricing section and title ([d08ad14](https://github.com/bitdefender/dex-core/commit/d08ad1403eb84e418f487d0736cc0614e4e09d64))
22
+
23
+
24
+
6
25
  ## [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
26
 
8
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repobit/dex-system-design",
3
- "version": "0.21.2",
3
+ "version": "0.22.1",
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": "^1.3.2",
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": "9eaded413b63ef26ea84fbfab95359397be9f140"
88
+ "gitHead": "6fcaf5133ff6a150fd7d2d3e8a261f9b88b35bc1"
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
  `;