@repobit/dex-system-design 0.17.0 → 0.18.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 +15 -0
- package/package.json +3 -3
- package/src/components/header/header.stories.js +53 -27
- package/src/components/{Input → input}/custom-form.stories.js +1 -1
- /package/src/components/{Input → input}/index.js +0 -0
- /package/src/components/{Input → input}/input-clipboard.css.js +0 -0
- /package/src/components/{Input → input}/input-clipboard.js +0 -0
- /package/src/components/{Input → input}/input.css.js +0 -0
- /package/src/components/{Input/Input.js → input/input.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
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.18.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.17.0...@repobit/dex-system-design@0.18.0) (2025-09-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **DEX-1001:** update header.stories.js + fix for input issue on build ([44cb5df](https://github.com/bitdefender/dex-core/commit/44cb5dfc74c45d3c6835d47a09694006517864b3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **DEX-1001:** rename Input file -> input ([c05257c](https://github.com/bitdefender/dex-core/commit/c05257c690eeef94ee035a69feef8e393cffe5ea))
|
|
17
|
+
* **DEX-1001:** rename Input folder -> input ([940877d](https://github.com/bitdefender/dex-core/commit/940877dceabc897918a56dfa37f4e7107397229b))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
## [0.17.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@0.16.0...@repobit/dex-system-design@0.17.0) (2025-09-11)
|
|
7
22
|
|
|
8
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repobit/dex-system-design",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.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",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"./faq": "./src/components/FAQ/faq.js",
|
|
26
26
|
"./header": "./src/components/header/header.js",
|
|
27
27
|
"./highlight": "./src/components/highlight/highlight.js",
|
|
28
|
-
"./input": "./src/components/
|
|
28
|
+
"./input": "./src/components/input/input.js",
|
|
29
29
|
"./light-carousel": "./src/components/light-carousel/light-carousel.js",
|
|
30
30
|
"./paragraph": "./src/components/paragraph/paragraph.js",
|
|
31
31
|
"./pricing-cards": "./src/components/pricing-cards/pricing-card.js",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"volta": {
|
|
69
69
|
"node": "22.14.0"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "c1703cc9842c8865680663be250e49206986f44e"
|
|
72
72
|
}
|
|
@@ -2,16 +2,21 @@ import { html } from 'lit';
|
|
|
2
2
|
import './header.js';
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
|
-
title: 'Sections/Header',
|
|
5
|
+
title : 'Sections/Header',
|
|
6
6
|
component: 'bd-header',
|
|
7
|
-
argTypes: {
|
|
8
|
-
productName: { control: 'text' },
|
|
9
|
-
valueProp: { control: 'text' },
|
|
10
|
-
description: { control: 'text' },
|
|
11
|
-
fullPrice: { control: 'text' },
|
|
12
|
-
discount: { control: 'text' },
|
|
13
|
-
finalPrice: { control: 'text' },
|
|
14
|
-
|
|
7
|
+
argTypes : {
|
|
8
|
+
productName : { control: 'text' },
|
|
9
|
+
valueProp : { control: 'text' },
|
|
10
|
+
description : { control: 'text' },
|
|
11
|
+
fullPrice : { control: 'text' },
|
|
12
|
+
discount : { control: 'text' },
|
|
13
|
+
finalPrice : { control: 'text' },
|
|
14
|
+
headerImage : { control: 'text' },
|
|
15
|
+
disclaimerTop : { control: 'text' },
|
|
16
|
+
disclaimerBottomStart: { control: 'text' },
|
|
17
|
+
disclaimerBottomLink : { control: 'text' },
|
|
18
|
+
disclaimerBottomEnd : { control: 'text' }
|
|
19
|
+
}
|
|
15
20
|
};
|
|
16
21
|
|
|
17
22
|
const Template = (args) => html`
|
|
@@ -23,35 +28,56 @@ const Template = (args) => html`
|
|
|
23
28
|
.discount=${args.discount}
|
|
24
29
|
.finalPrice=${args.finalPrice}
|
|
25
30
|
>
|
|
31
|
+
${args.headerImage
|
|
32
|
+
? html`<img slot="header-image" src="${args.headerImage}" alt="Header Image">`
|
|
33
|
+
: ''}
|
|
34
|
+
|
|
35
|
+
${args.disclaimerTop
|
|
36
|
+
? html`<span slot="disclaimer-top">${args.disclaimerTop}</span>`
|
|
37
|
+
: ''}
|
|
38
|
+
|
|
39
|
+
${args.disclaimerBottomStart || args.disclaimerBottomLink || args.disclaimerBottomEnd
|
|
40
|
+
? html`
|
|
41
|
+
<span slot="disclaimer-bottom-text-start">${args.disclaimerBottomStart || ''}</span>
|
|
42
|
+
<a slot="disclaimer-bottom-link" href="#">${args.disclaimerBottomLink || ''}</a>
|
|
43
|
+
<span slot="disclaimer-bottom-text-end">${args.disclaimerBottomEnd || ''}</span>
|
|
44
|
+
`
|
|
45
|
+
: ''}
|
|
26
46
|
</bd-header>
|
|
27
47
|
`;
|
|
28
48
|
|
|
29
49
|
export const Default = Template.bind({});
|
|
30
50
|
Default.args = {
|
|
31
|
-
productName: 'Bitdefender Ultimate Security',
|
|
32
|
-
valueProp: 'Complete Security, Advanced Privacy, and Identity Protection',
|
|
33
|
-
description: 'All in one plan to incorporate multi-awarded device protection, solid password management, unlimited VPN traffic & personalized protection for your online identity.',
|
|
34
|
-
fullPrice: '$139.99',
|
|
35
|
-
discount: 'Save 44%',
|
|
36
|
-
finalPrice: '$79.99*',
|
|
51
|
+
productName : 'Bitdefender Ultimate Security',
|
|
52
|
+
valueProp : 'Complete Security, Advanced Privacy, and Identity Protection',
|
|
53
|
+
description : 'All in one plan to incorporate multi-awarded device protection, solid password management, unlimited VPN traffic & personalized protection for your online identity.',
|
|
54
|
+
fullPrice : '$139.99',
|
|
55
|
+
discount : 'Save 44%',
|
|
56
|
+
finalPrice : '$79.99*',
|
|
57
|
+
headerImage : '/assets/bd-header-us.jpg',
|
|
58
|
+
disclaimerTop : 'Protection for 1 account & 5 PCs, Macs, tablets, or smartphones. Windows® | macOS® | Android™ | iOS®',
|
|
59
|
+
disclaimerBottomStart: 'Learn more about',
|
|
60
|
+
disclaimerBottomLink : 'Terms & Conditions',
|
|
61
|
+
disclaimerBottomEnd : 'before purchasing.'
|
|
37
62
|
};
|
|
38
63
|
|
|
39
64
|
export const WithCustomImage = Template.bind({});
|
|
40
65
|
WithCustomImage.args = {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
description: 'All in one plan to incorporate multi-awarded device protection, solid password management, unlimited VPN traffic & personalized protection for your online identity.',
|
|
44
|
-
fullPrice: '$139.99',
|
|
45
|
-
discount: 'Save 44%',
|
|
46
|
-
finalPrice: '$79.99*',
|
|
66
|
+
...Default.args,
|
|
67
|
+
headerImage: '/assets/bd-header-us.jpg'
|
|
47
68
|
};
|
|
48
69
|
|
|
49
70
|
export const WithDiscountedPrice = Template.bind({});
|
|
50
71
|
WithDiscountedPrice.args = {
|
|
51
|
-
productName: 'Bitdefender Premium Security',
|
|
52
|
-
valueProp: 'Advanced Security, Privacy & Identity Protection',
|
|
53
|
-
description: 'Comprehensive security for all your devices with enhanced features and privacy options.',
|
|
54
|
-
fullPrice: '$199.99',
|
|
55
|
-
discount: 'Save 35%',
|
|
56
|
-
finalPrice: '$129.99*',
|
|
72
|
+
productName : 'Bitdefender Premium Security',
|
|
73
|
+
valueProp : 'Advanced Security, Privacy & Identity Protection',
|
|
74
|
+
description : 'Comprehensive security for all your devices with enhanced features and privacy options.',
|
|
75
|
+
fullPrice : '$199.99',
|
|
76
|
+
discount : 'Save 35%',
|
|
77
|
+
finalPrice : '$129.99*',
|
|
78
|
+
headerImage : '/assets/bd-header-us.jpg',
|
|
79
|
+
disclaimerTop : 'Protection for 1 account & 5 devices.',
|
|
80
|
+
disclaimerBottomStart: 'See',
|
|
81
|
+
disclaimerBottomLink : 'Details',
|
|
82
|
+
disclaimerBottomEnd : 'for more info.'
|
|
57
83
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|