@repobit/dex-system-design 0.20.0 → 0.21.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 +9 -0
- package/package.json +2 -2
- package/src/components/Button/button.stories.js +51 -51
- package/src/components/accordion/accordion-bg.css.js +141 -123
- package/src/components/accordion/accordion-bg.stories.js +102 -72
- package/src/components/accordion/accordion-light.stories.js +78 -53
- package/src/components/anchor/anchor.stories.js +24 -22
- package/src/components/back/back.css.js +56 -0
- package/src/components/back/back.js +39 -0
- package/src/components/back/back.stories.js +184 -0
- package/src/components/badge/badge.stories.js +3 -10
- package/src/components/breadcrumb/breadcrumb.css.js +98 -0
- package/src/components/breadcrumb/breadcrumb.js +136 -0
- package/src/components/breadcrumb/breadcrumb.stories.js +109 -0
- package/src/components/cards/card.js +2 -1
- package/src/components/cards/card.stories.js +49 -49
- package/src/components/carousel/carousel.css.js +8 -1
- package/src/components/carousel/carousel.js +0 -1
- package/src/components/carousel/carousel.stories.js +21 -17
- package/src/components/display/display.css.js +68 -0
- package/src/components/display/display.js +26 -0
- package/src/components/display/display.stories.js +339 -0
- package/src/components/divider/divider-horizontal.js +1 -1
- package/src/components/footer/footer-links-group.js +3 -3
- package/src/components/footer/footer-lp.stories.js +0 -1
- package/src/components/footer/footer.css.js +0 -6
- package/src/components/footer/footer.js +21 -41
- package/src/components/footer/footer.stories.js +0 -1
- package/src/components/header/header.js +11 -11
- package/src/components/header/header.stories.js +36 -4
- package/src/components/heading/heading.css.js +79 -0
- package/src/components/heading/heading.js +79 -0
- package/src/components/heading/heading.stories.js +260 -0
- package/src/components/highlight/highlight.stories.js +1 -1
- package/src/components/image/image.css.js +101 -0
- package/src/components/image/image.js +57 -0
- package/src/components/image/image.stories.js +245 -0
- package/src/components/light-carousel/light-carousel-simple.js +3 -2
- package/src/components/light-carousel/light-carousel.js +3 -7
- package/src/components/light-carousel/light-carousel.stories.js +12 -13
- package/src/components/link/link.css.js +107 -18
- package/src/components/link/link.js +16 -12
- package/src/components/link/link.stories.js +177 -0
- package/src/components/list/list-item/list-item.css.js +106 -0
- package/src/components/list/list-item/list-item.js +43 -0
- package/src/components/list/list-item/list-item.stories.js +79 -0
- package/src/components/list/list.css.js +175 -0
- package/src/components/list/list.js +44 -0
- package/src/components/modal/modal.js +6 -5
- package/src/components/paragraph/paragraph.css.js +41 -11
- package/src/components/paragraph/paragraph.js +7 -45
- package/src/components/paragraph/paragraph.stories.js +235 -0
- package/src/components/picture/picture.css.js +0 -0
- package/src/components/picture/picture.js +46 -0
- package/src/components/picture/picture.stories.js +275 -0
- package/src/components/pricing-cards/pricing-card-header.js +9 -7
- package/src/components/pricing-cards/pricing-card-pricing.js +11 -12
- package/src/components/pricing-cards/pricing-card.js +37 -36
- package/src/components/tabs/tabs.js +44 -47
- package/src/components/termsOfUse/terms.js +77 -161
- package/src/components/termsOfUse/terms.stories.js +4 -3
- package/src/stories/Header.js +6 -6
- package/src/tokens/tokens.stories.js +9 -8
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
// accordion-bg.stories.js
|
|
2
|
-
|
|
3
1
|
import { html } from 'lit';
|
|
2
|
+
import '../heading/heading.js';
|
|
3
|
+
import '../list/list-item/list-item.js';
|
|
4
|
+
import '../list/list.js'; // Componenta unificată bd-list
|
|
5
|
+
import '../paragraph/paragraph.js';
|
|
6
|
+
|
|
4
7
|
import './accordion-bg.js';
|
|
5
8
|
|
|
6
9
|
export default {
|
|
@@ -29,38 +32,38 @@ export default {
|
|
|
29
32
|
const Template = ({ title, noBg }) => html`
|
|
30
33
|
<bd-accordion-bg title="${title}" ?no-bg="${noBg}">
|
|
31
34
|
<bd-accordion-bg-item title="How does Bitdefender Internet Security protect me?" ?no-bg="${noBg}">
|
|
32
|
-
<p>Bitdefender Internet Security provides the best protection against all e-threats, combining antimalware, e-mail, and web protection with firewall and privacy features.</p>
|
|
33
|
-
<p>It uses advanced behavioral detection to close the window of zero-day vulnerability and keeps you safe from ransomware, spyware, and advanced persistent threats.</p>
|
|
35
|
+
<bd-p kind="regular">Bitdefender Internet Security provides the best protection against all e-threats, combining antimalware, e-mail, and web protection with firewall and privacy features.</bd-p>
|
|
36
|
+
<bd-p kind="regular">It uses advanced behavioral detection to close the window of zero-day vulnerability and keeps you safe from ransomware, spyware, and advanced persistent threats.</bd-p>
|
|
34
37
|
</bd-accordion-bg-item>
|
|
35
38
|
|
|
36
39
|
<bd-accordion-bg-item title="Does Bitdefender protect me against ransomware?" ?no-bg="${noBg}">
|
|
37
|
-
<p>Yes! Bitdefender Internet Security offers unbeatable ransomware protection by safeguarding your most important files from encryption by ransomware.</p>
|
|
38
|
-
<p>Our multi-layer ransomware protection includes:</p>
|
|
39
|
-
<
|
|
40
|
-
<li>Behavioral detection of ransomware</li>
|
|
41
|
-
<li>Safe Files feature to protect important folders</li>
|
|
42
|
-
<li>Real-time protection against encryption attempts</li>
|
|
43
|
-
</
|
|
40
|
+
<bd-p kind="regular">Yes! Bitdefender Internet Security offers unbeatable ransomware protection by safeguarding your most important files from encryption by ransomware.</bd-p>
|
|
41
|
+
<bd-p kind="regular">Our multi-layer ransomware protection includes:</bd-p>
|
|
42
|
+
<bd-list type="unordered" spacing="md" variant="default" orientation="vertical">
|
|
43
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Behavioral detection of ransomware</bd-p></bd-li>
|
|
44
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Safe Files feature to protect important folders</bd-p></bd-li>
|
|
45
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Real-time protection against encryption attempts</bd-p></bd-li>
|
|
46
|
+
</bd-list>
|
|
44
47
|
</bd-accordion-bg-item>
|
|
45
48
|
|
|
46
49
|
<bd-accordion-bg-item title="Do I get a VPN with Bitdefender Internet Security?" ?no-bg="${noBg}">
|
|
47
|
-
<p>Bitdefender Internet Security includes a basic VPN with 200MB per day to protect your privacy when browsing on public Wi-Fi networks.</p>
|
|
48
|
-
<p>For unlimited VPN traffic, you can upgrade to Bitdefender Premium VPN or Bitdefender Total Security which includes unlimited VPN.</p>
|
|
50
|
+
<bd-p kind="regular">Bitdefender Internet Security includes a basic VPN with 200MB per day to protect your privacy when browsing on public Wi-Fi networks.</bd-p>
|
|
51
|
+
<bd-p kind="regular">For unlimited VPN traffic, you can upgrade to Bitdefender Premium VPN or Bitdefender Total Security which includes unlimited VPN.</bd-p>
|
|
49
52
|
</bd-accordion-bg-item>
|
|
50
53
|
|
|
51
54
|
<bd-accordion-bg-item title="Can I use Bitdefender on multiple devices?" ?no-bg="${noBg}">
|
|
52
|
-
<p>Yes, depending on your subscription. Bitdefender offers multi-device plans that allow you to protect:</p>
|
|
53
|
-
<
|
|
54
|
-
<li>Windows computers</li>
|
|
55
|
-
<li>Mac computers</li>
|
|
56
|
-
<li>Android devices</li>
|
|
57
|
-
<li>iOS devices</li>
|
|
58
|
-
</
|
|
55
|
+
<bd-p kind="regular">Yes, depending on your subscription. Bitdefender offers multi-device plans that allow you to protect:</bd-p>
|
|
56
|
+
<bd-list type="unordered" spacing="md" variant="default" orientation="vertical">
|
|
57
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Windows computers</bd-p></bd-li>
|
|
58
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Mac computers</bd-p></bd-li>
|
|
59
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Android devices</bd-p></bd-li>
|
|
60
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">iOS devices</bd-p></bd-li>
|
|
61
|
+
</bd-list>
|
|
59
62
|
</bd-accordion-bg-item>
|
|
60
63
|
|
|
61
64
|
<bd-accordion-bg-item title="How often are virus definitions updated?" ?no-bg="${noBg}">
|
|
62
|
-
<p>Bitdefender updates its virus definitions multiple times per day to ensure you're protected against the latest threats.</p>
|
|
63
|
-
<p>Our cloud-based threat intelligence network processes over 500 million queries daily, providing real-time protection against emerging threats.</p>
|
|
65
|
+
<bd-p kind="regular">Bitdefender updates its virus definitions multiple times per day to ensure you're protected against the latest threats.</bd-p>
|
|
66
|
+
<bd-p kind="regular">Our cloud-based threat intelligence network processes over 500 million queries daily, providing real-time protection against emerging threats.</bd-p>
|
|
64
67
|
</bd-accordion-bg-item>
|
|
65
68
|
</bd-accordion-bg>
|
|
66
69
|
`;
|
|
@@ -94,18 +97,18 @@ NoBackground.parameters = {
|
|
|
94
97
|
export const MixedBackground = () => html`
|
|
95
98
|
<bd-accordion-bg title="Mixed Background Accordion">
|
|
96
99
|
<bd-accordion-bg-item title="Item with background">
|
|
97
|
-
<p>This item has the default background styling.</p>
|
|
98
|
-
<p>It uses the blue background color as defined in the CSS.</p>
|
|
100
|
+
<bd-p kind="regular">This item has the default background styling.</bd-p>
|
|
101
|
+
<bd-p kind="regular">It uses the blue background color as defined in the CSS.</bd-p>
|
|
99
102
|
</bd-accordion-bg-item>
|
|
100
103
|
|
|
101
104
|
<bd-accordion-bg-item title="Item without background" no-bg>
|
|
102
|
-
<p>This item has no background styling.</p>
|
|
103
|
-
<p>It appears transparent and integrates seamlessly with the page background.</p>
|
|
105
|
+
<bd-p kind="regular">This item has no background styling.</bd-p>
|
|
106
|
+
<bd-p kind="regular">It appears transparent and integrates seamlessly with the page background.</bd-p>
|
|
104
107
|
</bd-accordion-bg-item>
|
|
105
108
|
|
|
106
109
|
<bd-accordion-bg-item title="Another item with background">
|
|
107
|
-
<p>This item returns to the default background styling.</p>
|
|
108
|
-
<p>You can mix and match background styles within the same accordion.</p>
|
|
110
|
+
<bd-p kind="regular">This item returns to the default background styling.</bd-p>
|
|
111
|
+
<bd-p kind="regular">You can mix and match background styles within the same accordion.</bd-p>
|
|
109
112
|
</bd-accordion-bg-item>
|
|
110
113
|
</bd-accordion-bg>
|
|
111
114
|
`;
|
|
@@ -120,15 +123,15 @@ MixedBackground.parameters = {
|
|
|
120
123
|
export const ContainerNoBackground = () => html`
|
|
121
124
|
<bd-accordion-bg title="Container without Background" no-bg>
|
|
122
125
|
<bd-accordion-bg-item title="First question">
|
|
123
|
-
<p>When the container has no-bg, all items inherit the transparent background unless specifically overridden.</p>
|
|
126
|
+
<bd-p kind="regular">When the container has no-bg, all items inherit the transparent background unless specifically overridden.</bd-p>
|
|
124
127
|
</bd-accordion-bg-item>
|
|
125
128
|
|
|
126
129
|
<bd-accordion-bg-item title="Second question">
|
|
127
|
-
<p>All items in this accordion have transparent backgrounds because the container has no-bg set.</p>
|
|
130
|
+
<bd-p kind="regular">All items in this accordion have transparent backgrounds because the container has no-bg set.</bd-p>
|
|
128
131
|
</bd-accordion-bg-item>
|
|
129
132
|
|
|
130
133
|
<bd-accordion-bg-item title="Third question">
|
|
131
|
-
<p>This creates a clean, minimalist look that blends with the page background.</p>
|
|
134
|
+
<bd-p kind="regular">This creates a clean, minimalist look that blends with the page background.</bd-p>
|
|
132
135
|
</bd-accordion-bg-item>
|
|
133
136
|
</bd-accordion-bg>
|
|
134
137
|
`;
|
|
@@ -144,34 +147,34 @@ export const WithCustomContent = () => html`
|
|
|
144
147
|
<bd-accordion-bg title="Product Features">
|
|
145
148
|
<bd-accordion-bg-item title="Advanced Threat Defense">
|
|
146
149
|
<div>
|
|
147
|
-
<h4>Multi-layer Protection</
|
|
148
|
-
<p>Our advanced threat defense uses multiple layers of protection:</p>
|
|
149
|
-
<
|
|
150
|
-
<li>Behavioral detection</li>
|
|
151
|
-
<li>Machine learning algorithms</li>
|
|
152
|
-
<li>Cloud-based analysis</li>
|
|
153
|
-
<li>Real-time scanning</li>
|
|
154
|
-
</
|
|
155
|
-
<p><strong>System Requirements:</strong> Windows 10/11, 2GB RAM, 2.5GB free space</p>
|
|
150
|
+
<bd-h as="h4">Multi-layer Protection</bd-h>
|
|
151
|
+
<bd-p kind="regular">Our advanced threat defense uses multiple layers of protection:</bd-p>
|
|
152
|
+
<bd-list type="unordered" spacing="md" variant="default" orientation="vertical">
|
|
153
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Behavioral detection</bd-p></bd-li>
|
|
154
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Machine learning algorithms</bd-p></bd-li>
|
|
155
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Cloud-based analysis</bd-p></bd-li>
|
|
156
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Real-time scanning</bd-p></bd-li>
|
|
157
|
+
</bd-list>
|
|
158
|
+
<bd-p kind="regular"><strong>System Requirements:</strong> Windows 10/11, 2GB RAM, 2.5GB free space</bd-p>
|
|
156
159
|
</div>
|
|
157
160
|
</bd-accordion-bg-item>
|
|
158
161
|
|
|
159
162
|
<bd-accordion-bg-item title="Privacy Protection" no-bg>
|
|
160
163
|
<div>
|
|
161
|
-
<h4>Complete Privacy Suite</
|
|
162
|
-
<p>Protect your online privacy with our comprehensive tools:</p>
|
|
164
|
+
<bd-h as="h4">Complete Privacy Suite</bd-h>
|
|
165
|
+
<bd-p kind="regular">Protect your online privacy with our comprehensive tools:</bd-p>
|
|
163
166
|
<div style="display: flex; gap: 20px; margin-top: 15px;">
|
|
164
167
|
<div>
|
|
165
|
-
<
|
|
166
|
-
<p>200MB/day included</p>
|
|
168
|
+
<bd-h as="h4">VPN</bd-h>
|
|
169
|
+
<bd-p kind="regular">200MB/day included</bd-p>
|
|
167
170
|
</div>
|
|
168
171
|
<div>
|
|
169
|
-
<
|
|
170
|
-
<p>Secure credential storage</p>
|
|
172
|
+
<bd-h as="h4">Password Manager</bd-h>
|
|
173
|
+
<bd-p kind="regular">Secure credential storage</bd-p>
|
|
171
174
|
</div>
|
|
172
175
|
<div>
|
|
173
|
-
<
|
|
174
|
-
<p>Block unauthorized access</p>
|
|
176
|
+
<bd-h as="h4">Webcam Protection</bd-h>
|
|
177
|
+
<bd-p kind="regular">Block unauthorized access</bd-p>
|
|
175
178
|
</div>
|
|
176
179
|
</div>
|
|
177
180
|
</div>
|
|
@@ -179,8 +182,8 @@ export const WithCustomContent = () => html`
|
|
|
179
182
|
|
|
180
183
|
<bd-accordion-bg-item title="Performance Impact">
|
|
181
184
|
<div>
|
|
182
|
-
<h4>Lightweight Design</
|
|
183
|
-
<p>Bitdefender is designed to have minimal impact on system performance:</p>
|
|
185
|
+
<bd-h as="h4">Lightweight Design</bd-h>
|
|
186
|
+
<bd-p kind="regular">Bitdefender is designed to have minimal impact on system performance:</bd-p>
|
|
184
187
|
<table style="width: 100%; border-collapse: collapse; margin-top: 10px;">
|
|
185
188
|
<tr>
|
|
186
189
|
<th style="text-align: left; padding: 8px; border-bottom: 1px solid #ccc;">Resource</th>
|
|
@@ -188,15 +191,15 @@ export const WithCustomContent = () => html`
|
|
|
188
191
|
</tr>
|
|
189
192
|
<tr>
|
|
190
193
|
<td style="padding: 8px; border-bottom: 1px solid #ccc;">CPU</td>
|
|
191
|
-
<td style="padding: 8px; border-bottom: 1px solid #ccc;">< 2% average</td>
|
|
194
|
+
<td style="padding: 8px; border-bottom: 1px solid #ccc;"><bd-p kind="regular">< 2% average</bd-p></td>
|
|
192
195
|
</tr>
|
|
193
196
|
<tr>
|
|
194
197
|
<td style="padding: 8px; border-bottom: 1px solid #ccc;">Memory</td>
|
|
195
|
-
<td style="padding: 8px; border-bottom: 1px solid #ccc;">~150MB</td>
|
|
198
|
+
<td style="padding: 8px; border-bottom: 1px solid #ccc;"><bd-p kind="regular">~150MB</bd-p></td>
|
|
196
199
|
</tr>
|
|
197
200
|
<tr>
|
|
198
201
|
<td style="padding: 8px;">Disk</td>
|
|
199
|
-
<td style="padding: 8px;">< 500MB</td>
|
|
202
|
+
<td style="padding: 8px;"><bd-p kind="regular">< 500MB</bd-p></td>
|
|
200
203
|
</tr>
|
|
201
204
|
</table>
|
|
202
205
|
</div>
|
|
@@ -214,31 +217,31 @@ WithCustomContent.parameters = {
|
|
|
214
217
|
export const AccessibilityDemo = () => html`
|
|
215
218
|
<bd-accordion-bg title="Accessibility Features">
|
|
216
219
|
<bd-accordion-bg-item title="Keyboard Navigation">
|
|
217
|
-
<p>This accordion supports full keyboard navigation:</p>
|
|
218
|
-
<
|
|
219
|
-
<li>Use <kbd>Tab</kbd> to navigate between accordion items</li>
|
|
220
|
-
<li>Press <kbd>Enter</kbd> or <kbd>Space</kbd> to toggle items</li>
|
|
221
|
-
<li>Proper ARIA attributes for screen readers</li>
|
|
222
|
-
</
|
|
220
|
+
<bd-p kind="regular">This accordion supports full keyboard navigation:</bd-p>
|
|
221
|
+
<bd-list type="unordered" spacing="md" variant="default" orientation="vertical">
|
|
222
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Use <kbd>Tab</kbd> to navigate between accordion items</bd-p></bd-li>
|
|
223
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Press <kbd>Enter</kbd> or <kbd>Space</kbd> to toggle items</bd-p></bd-li>
|
|
224
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Proper ARIA attributes for screen readers</bd-p></bd-li>
|
|
225
|
+
</bd-list>
|
|
223
226
|
</bd-accordion-bg-item>
|
|
224
227
|
|
|
225
228
|
<bd-accordion-bg-item title="Screen Reader Support">
|
|
226
|
-
<p>All accordion items include proper ARIA attributes:</p>
|
|
227
|
-
<
|
|
228
|
-
<li><code>role="button"</code> for the clickable header</li>
|
|
229
|
-
<li><code>aria-expanded</code> to indicate state</li>
|
|
230
|
-
<li><code>aria-controls</code> to associate with content</li>
|
|
231
|
-
<li><code>role="region"</code> for the content area</li>
|
|
232
|
-
</
|
|
229
|
+
<bd-p kind="regular">All accordion items include proper ARIA attributes:</bd-p>
|
|
230
|
+
<bd-list type="unordered" spacing="md" variant="default" orientation="vertical">
|
|
231
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular"><code>role="button"</code> for the clickable header</bd-p></bd-li>
|
|
232
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular"><code>aria-expanded</code> to indicate state</bd-p></bd-li>
|
|
233
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular"><code>aria-controls</code> to associate with content</bd-p></bd-li>
|
|
234
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular"><code>role="region"</code> for the content area</bd-p></bd-li>
|
|
235
|
+
</bd-list>
|
|
233
236
|
</bd-accordion-bg-item>
|
|
234
237
|
|
|
235
238
|
<bd-accordion-bg-item title="Focus Management">
|
|
236
|
-
<p>Focus indicators are clearly visible for keyboard users:</p>
|
|
237
|
-
<
|
|
238
|
-
<li>Clear focus outline</li>
|
|
239
|
-
<li>High contrast colors</li>
|
|
240
|
-
<li>Smooth transitions</li>
|
|
241
|
-
</
|
|
239
|
+
<bd-p kind="regular">Focus indicators are clearly visible for keyboard users:</bd-p>
|
|
240
|
+
<bd-list type="unordered" spacing="md" variant="default" orientation="vertical">
|
|
241
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Clear focus outline</bd-p></bd-li>
|
|
242
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">High contrast colors</bd-p></bd-li>
|
|
243
|
+
<bd-li kind="bullet" size="md"><bd-p kind="regular">Smooth transitions</bd-p></bd-li>
|
|
244
|
+
</bd-list>
|
|
242
245
|
</bd-accordion-bg-item>
|
|
243
246
|
</bd-accordion-bg>
|
|
244
247
|
`;
|
|
@@ -248,4 +251,31 @@ AccessibilityDemo.parameters = {
|
|
|
248
251
|
story: 'Demonstration of accessibility features including keyboard navigation and ARIA attributes.'
|
|
249
252
|
}
|
|
250
253
|
}
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
export const WithDifferentParagraphTypes = () => html`
|
|
257
|
+
<bd-accordion-bg title="Different Paragraph Styles">
|
|
258
|
+
<bd-accordion-bg-item title="Regular Paragraph">
|
|
259
|
+
<bd-p kind="regular">This is a regular paragraph with standard styling.</bd-p>
|
|
260
|
+
<bd-p kind="regular">It uses the default font size and weight for body text.</bd-p>
|
|
261
|
+
</bd-accordion-bg-item>
|
|
262
|
+
|
|
263
|
+
<bd-accordion-bg-item title="Small Paragraph">
|
|
264
|
+
<bd-p kind="small">This is a small paragraph for less important information.</bd-p>
|
|
265
|
+
<bd-p kind="small">Perfect for captions, footnotes, or secondary content.</bd-p>
|
|
266
|
+
</bd-accordion-bg-item>
|
|
267
|
+
|
|
268
|
+
<bd-accordion-bg-item title="Mixed Paragraph Styles">
|
|
269
|
+
<bd-p kind="regular">Main content goes here with regular styling.</bd-p>
|
|
270
|
+
<bd-p kind="small">Additional details or notes in small text.</bd-p>
|
|
271
|
+
<bd-p kind="regular">Back to regular text for important information.</bd-p>
|
|
272
|
+
</bd-accordion-bg-item>
|
|
273
|
+
</bd-accordion-bg>
|
|
274
|
+
`;
|
|
275
|
+
WithDifferentParagraphTypes.parameters = {
|
|
276
|
+
docs: {
|
|
277
|
+
description: {
|
|
278
|
+
story: 'Accordion demonstrating different paragraph styles (regular and small).'
|
|
279
|
+
}
|
|
280
|
+
}
|
|
251
281
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
// accordion-light.stories.js
|
|
2
|
-
|
|
3
1
|
import { html } from 'lit';
|
|
2
|
+
import '../list/list-item/list-item.js'; // Păstrăm bd-li
|
|
3
|
+
import '../list/list.js'; // Importul nou pentru componenta unificată bd-list
|
|
4
|
+
import '../paragraph/paragraph.js';
|
|
4
5
|
import './accordion.js';
|
|
5
6
|
|
|
6
7
|
export default {
|
|
@@ -8,7 +9,8 @@ export default {
|
|
|
8
9
|
component : 'bd-accordion-section',
|
|
9
10
|
subcomponents: {
|
|
10
11
|
'bd-accordion-item' : 'bd-accordion-item',
|
|
11
|
-
'bd-accordion-section': 'bd-accordion-section'
|
|
12
|
+
'bd-accordion-section': 'bd-accordion-section',
|
|
13
|
+
'bd-li' : 'bd-li'
|
|
12
14
|
},
|
|
13
15
|
argTypes: {
|
|
14
16
|
title: {
|
|
@@ -37,7 +39,6 @@ export default {
|
|
|
37
39
|
}
|
|
38
40
|
};
|
|
39
41
|
|
|
40
|
-
// Template for basic accordion items
|
|
41
42
|
const BasicTemplate = ({ title, guideIcon, guideLabel, guideHref }) => html`
|
|
42
43
|
<bd-accordion-section
|
|
43
44
|
title="${title}"
|
|
@@ -46,24 +47,24 @@ const BasicTemplate = ({ title, guideIcon, guideLabel, guideHref }) => html`
|
|
|
46
47
|
guide-href="${guideHref}"
|
|
47
48
|
>
|
|
48
49
|
<bd-accordion-item title="What is Bitdefender?">
|
|
49
|
-
<p>Bitdefender is a leading cybersecurity company delivering robust security solutions to over 500 million users in more than 150 countries.</p>
|
|
50
|
-
<p>Our products protect devices, data, and privacy against the full spectrum of cyberthreats.</p>
|
|
50
|
+
<bd-p kind="regular">Bitdefender is a leading cybersecurity company delivering robust security solutions to over 500 million users in more than 150 countries.</bd-p>
|
|
51
|
+
<bd-p kind="regular">Our products protect devices, data, and privacy against the full spectrum of cyberthreats.</bd-p>
|
|
51
52
|
</bd-accordion-item>
|
|
52
53
|
|
|
53
54
|
<bd-accordion-item title="System Requirements">
|
|
54
|
-
<p><strong>Operating Systems:</strong> Windows 10/11, macOS 10.12+, Android 5.0+, iOS 12+</p>
|
|
55
|
-
<p><strong>Hardware:</strong> 1GB RAM minimum, 2.5GB free disk space</p>
|
|
56
|
-
<p><strong>Internet:</strong> Required for activation and updates</p>
|
|
55
|
+
<bd-p kind="regular"><strong>Operating Systems:</strong> Windows 10/11, macOS 10.12+, Android 5.0+, iOS 12+</bd-p>
|
|
56
|
+
<bd-p kind="regular"><strong>Hardware:</strong> 1GB RAM minimum, 2.5GB free disk space</bd-p>
|
|
57
|
+
<bd-p kind="regular"><strong>Internet:</strong> Required for activation and updates</bd-p>
|
|
57
58
|
</bd-accordion-item>
|
|
58
59
|
|
|
59
60
|
<bd-accordion-item title="Installation Process">
|
|
60
|
-
<p>Follow these simple steps to install Bitdefender:</p>
|
|
61
|
-
<
|
|
62
|
-
<li>Download the installation file from our website</li>
|
|
63
|
-
<li>Run the installer and follow on-screen instructions</li>
|
|
64
|
-
<li>Activate with your product key</li>
|
|
65
|
-
<li>Run your first scan</li>
|
|
66
|
-
</
|
|
61
|
+
<bd-p kind="regular">Follow these simple steps to install Bitdefender:</bd-p>
|
|
62
|
+
<bd-list type="unordered" spacing="md" variant="default" orientation="vertical">
|
|
63
|
+
<bd-li kind="bullet" size="md">Download the installation file from our website</bd-li>
|
|
64
|
+
<bd-li kind="bullet" size="md">Run the installer and follow on-screen instructions</bd-li>
|
|
65
|
+
<bd-li kind="bullet" size="md">Activate with your product key</bd-li>
|
|
66
|
+
<bd-li kind="bullet" size="md">Run your first scan</bd-li>
|
|
67
|
+
</bd-list>
|
|
67
68
|
</bd-accordion-item>
|
|
68
69
|
</bd-accordion-section>
|
|
69
70
|
`;
|
|
@@ -101,28 +102,28 @@ WithUserGuide.parameters = {
|
|
|
101
102
|
export const TermsOfUse = () => html`
|
|
102
103
|
<bd-accordion-section title="Terms of Use">
|
|
103
104
|
<bd-accordion-item title="Acceptance of Terms">
|
|
104
|
-
<p>By accessing and using Bitdefender products, you accept and agree to be bound by the terms and provision of this agreement.</p>
|
|
105
|
-
<p><strong>Last Updated:</strong> January 15, 2024</p>
|
|
105
|
+
<bd-p kind="regular">By accessing and using Bitdefender products, you accept and agree to be bound by the terms and provision of this agreement.</bd-p>
|
|
106
|
+
<bd-p kind="regular"><strong>Last Updated:</strong> January 15, 2024</bd-p>
|
|
106
107
|
</bd-accordion-item>
|
|
107
108
|
|
|
108
109
|
<bd-accordion-item title="License Grant">
|
|
109
|
-
<p>Bitdefender grants you a limited, non-exclusive, non-transferable license to use the software for personal or internal business purposes.</p>
|
|
110
|
-
<
|
|
111
|
-
<li>Single-user license for personal use</li>
|
|
112
|
-
<li>Multi-device options available</li>
|
|
113
|
-
<li>Non-commercial use unless specified</li>
|
|
114
|
-
</
|
|
110
|
+
<bd-p kind="regular">Bitdefender grants you a limited, non-exclusive, non-transferable license to use the software for personal or internal business purposes.</bd-p>
|
|
111
|
+
<bd-list type="unordered" spacing="md" variant="default" orientation="vertical">
|
|
112
|
+
<bd-li kind="bullet" size="md">Single-user license for personal use</bd-li>
|
|
113
|
+
<bd-li kind="bullet" size="md">Multi-device options available</bd-li>
|
|
114
|
+
<bd-li kind="bullet" size="md">Non-commercial use unless specified</bd-li>
|
|
115
|
+
</bd-list>
|
|
115
116
|
</bd-accordion-item>
|
|
116
117
|
|
|
117
118
|
<bd-accordion-item title="Privacy Policy">
|
|
118
|
-
<p>Our privacy policy explains how we collect, use, and protect your personal information.</p>
|
|
119
|
-
<p><strong>Data Collection:</strong> We collect minimal data necessary for security functionality.</p>
|
|
120
|
-
<p><strong>Data Usage:</strong> Data is used solely for threat detection and product improvement.</p>
|
|
119
|
+
<bd-p kind="regular">Our privacy policy explains how we collect, use, and protect your personal information.</bd-p>
|
|
120
|
+
<bd-p kind="regular"><strong>Data Collection:</strong> We collect minimal data necessary for security functionality.</bd-p>
|
|
121
|
+
<bd-p kind="regular"><strong>Data Usage:</strong> Data is used solely for threat detection and product improvement.</bd-p>
|
|
121
122
|
</bd-accordion-item>
|
|
122
123
|
|
|
123
124
|
<bd-accordion-item title="Limitation of Liability">
|
|
124
|
-
<p>To the maximum extent permitted by law, Bitdefender shall not be liable for any indirect, special, incidental, or consequential damages.</p>
|
|
125
|
-
<p>This includes but is not limited to damages for loss of profits, business interruption, or loss of information.</p>
|
|
125
|
+
<bd-p kind="regular">To the maximum extent permitted by law, Bitdefender shall not be liable for any indirect, special, incidental, or consequential damages.</bd-p>
|
|
126
|
+
<bd-p kind="regular">This includes but is not limited to damages for loss of profits, business interruption, or loss of information.</bd-p>
|
|
126
127
|
</bd-accordion-item>
|
|
127
128
|
</bd-accordion-section>
|
|
128
129
|
`;
|
|
@@ -137,30 +138,54 @@ TermsOfUse.parameters = {
|
|
|
137
138
|
export const NavigationMenu = () => html`
|
|
138
139
|
<bd-accordion-section>
|
|
139
140
|
<bd-accordion-item title="Products">
|
|
140
|
-
<
|
|
141
|
-
<li
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
<li
|
|
145
|
-
|
|
141
|
+
<bd-list type="unordered" spacing="sm" variant="default" orientation="vertical">
|
|
142
|
+
<bd-li kind="none" size="md">
|
|
143
|
+
<a href="/antivirus" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Antivirus Plus</a>
|
|
144
|
+
</bd-li>
|
|
145
|
+
<bd-li kind="none" size="md">
|
|
146
|
+
<a href="/internet-security" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Internet Security</a>
|
|
147
|
+
</bd-li>
|
|
148
|
+
<bd-li kind="none" size="md">
|
|
149
|
+
<a href="/total-security" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Total Security</a>
|
|
150
|
+
</bd-li>
|
|
151
|
+
<bd-li kind="none" size="md">
|
|
152
|
+
<a href="/premium-security" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Premium Security</a>
|
|
153
|
+
</bd-li>
|
|
154
|
+
</bd-list>
|
|
146
155
|
</bd-accordion-item>
|
|
147
156
|
|
|
148
157
|
<bd-accordion-item title="Support">
|
|
149
|
-
<
|
|
150
|
-
<li
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
<li
|
|
154
|
-
|
|
158
|
+
<bd-list type="unordered" spacing="sm" variant="default" orientation="vertical">
|
|
159
|
+
<bd-li kind="none" size="md">
|
|
160
|
+
<a href="/downloads" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Downloads</a>
|
|
161
|
+
</bd-li>
|
|
162
|
+
<bd-li kind="none" size="md">
|
|
163
|
+
<a href="/knowledge-base" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Knowledge Base</a>
|
|
164
|
+
</bd-li>
|
|
165
|
+
<bd-li kind="none" size="md">
|
|
166
|
+
<a href="/contact" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Contact Support</a>
|
|
167
|
+
</bd-li>
|
|
168
|
+
<bd-li kind="none" size="md">
|
|
169
|
+
<a href="/community" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Community Forum</a>
|
|
170
|
+
</bd-li>
|
|
171
|
+
</bd-list>
|
|
155
172
|
</bd-accordion-item>
|
|
156
173
|
|
|
157
174
|
<bd-accordion-item title="Company">
|
|
158
|
-
<
|
|
159
|
-
<li
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<li
|
|
163
|
-
|
|
175
|
+
<bd-list type="unordered" spacing="sm" variant="default" orientation="vertical">
|
|
176
|
+
<bd-li kind="none" size="md">
|
|
177
|
+
<a href="/about" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">About Us</a>
|
|
178
|
+
</bd-li>
|
|
179
|
+
<bd-li kind="none" size="md">
|
|
180
|
+
<a href="/press" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Press Center</a>
|
|
181
|
+
</bd-li>
|
|
182
|
+
<bd-li kind="none" size="md">
|
|
183
|
+
<a href="/careers" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Careers</a>
|
|
184
|
+
</bd-li>
|
|
185
|
+
<bd-li kind="none" size="md">
|
|
186
|
+
<a href="/partners" style="text-decoration: none; color: #0066cc; display: block; padding: 8px 0;">Partners</a>
|
|
187
|
+
</bd-li>
|
|
188
|
+
</bd-list>
|
|
164
189
|
</bd-accordion-item>
|
|
165
190
|
</bd-accordion-section>
|
|
166
191
|
`;
|
|
@@ -176,10 +201,10 @@ export const MultipleSections = () => html`
|
|
|
176
201
|
<div style="display: flex; flex-direction: column; gap: 40px;">
|
|
177
202
|
<bd-accordion-section title="Getting Started">
|
|
178
203
|
<bd-accordion-item title="System Requirements">
|
|
179
|
-
<p>Minimum requirements for optimal performance...</p>
|
|
204
|
+
<bd-p kind="regular">Minimum requirements for optimal performance...</bd-p>
|
|
180
205
|
</bd-accordion-item>
|
|
181
206
|
<bd-accordion-item title="Installation Guide">
|
|
182
|
-
<p>Step-by-step installation instructions...</p>
|
|
207
|
+
<bd-p kind="regular">Step-by-step installation instructions...</bd-p>
|
|
183
208
|
</bd-accordion-item>
|
|
184
209
|
</bd-accordion-section>
|
|
185
210
|
|
|
@@ -190,19 +215,19 @@ export const MultipleSections = () => html`
|
|
|
190
215
|
guide-href="/troubleshooting"
|
|
191
216
|
>
|
|
192
217
|
<bd-accordion-item title="Common Installation Issues">
|
|
193
|
-
<p>Solutions for frequent installation problems...</p>
|
|
218
|
+
<bd-p kind="regular">Solutions for frequent installation problems...</bd-p>
|
|
194
219
|
</bd-accordion-item>
|
|
195
220
|
<bd-accordion-item title="Performance Optimization">
|
|
196
|
-
<p>Tips to improve system performance...</p>
|
|
221
|
+
<bd-p kind="regular">Tips to improve system performance...</bd-p>
|
|
197
222
|
</bd-accordion-item>
|
|
198
223
|
</bd-accordion-section>
|
|
199
224
|
|
|
200
225
|
<bd-accordion-section title="Advanced Features">
|
|
201
226
|
<bd-accordion-item title="VPN Configuration">
|
|
202
|
-
<p>How to set up and use the included VPN...</p>
|
|
227
|
+
<bd-p kind="regular">How to set up and use the included VPN...</bd-p>
|
|
203
228
|
</bd-accordion-item>
|
|
204
229
|
<bd-accordion-item title="Parental Controls">
|
|
205
|
-
<p>Setting up and managing parental controls...</p>
|
|
230
|
+
<bd-p kind="regular">Setting up and managing parental controls...</bd-p>
|
|
206
231
|
</bd-accordion-item>
|
|
207
232
|
</bd-accordion-section>
|
|
208
233
|
</div>
|
|
@@ -2,11 +2,13 @@ import { html } from 'lit';
|
|
|
2
2
|
import '../accordion/accordion-bg.js';
|
|
3
3
|
import '../anchor/anchor-nav.js';
|
|
4
4
|
import '../carousel/carousel.js';
|
|
5
|
+
import '../heading/heading.js';
|
|
5
6
|
import '../pricing-cards/pricing-card.js';
|
|
7
|
+
|
|
6
8
|
import '../tabs/tabs.js';
|
|
7
9
|
|
|
8
10
|
export default {
|
|
9
|
-
title : 'Navigation/Navbar',
|
|
11
|
+
title : 'Navigation/Anchor - Navbar',
|
|
10
12
|
component : 'bd-anchor-nav',
|
|
11
13
|
parameters: {
|
|
12
14
|
docs: {
|
|
@@ -67,22 +69,22 @@ const Template = () => html`
|
|
|
67
69
|
<hr />
|
|
68
70
|
<bd-accordion-bg title="Questions? Answers." id="anchor-1-section">
|
|
69
71
|
<bd-accordion-bg-item title="How does Bitdefender Internet Security protect me?">
|
|
70
|
-
<p>Bitdefender Internet Security provides the best protection...</p>
|
|
71
|
-
<p>Bitdefender Internet Security provides the best protection...</p>
|
|
72
|
-
<p>Bitdefender Internet Security provides the best protection...</p>
|
|
72
|
+
<bd-p kind="small">Bitdefender Internet Security provides the best protection...</bd-p>
|
|
73
|
+
<bd-p kind="small">Bitdefender Internet Security provides the best protection...</bd-p>
|
|
74
|
+
<bd-p kind="small">Bitdefender Internet Security provides the best protection...</bd-p>
|
|
73
75
|
</bd-accordion-bg-item>
|
|
74
76
|
|
|
75
77
|
<bd-accordion-bg-item title="Does Bitdefender protect me against ransomware?">
|
|
76
|
-
<p>
|
|
78
|
+
<bd-p kind="small">
|
|
77
79
|
Yes! Bitdefender Internet Security offers unbeatable ransomware
|
|
78
80
|
protection...
|
|
79
|
-
</p>
|
|
81
|
+
</bd-p>
|
|
80
82
|
</bd-accordion-bg-item>
|
|
81
83
|
|
|
82
84
|
<bd-accordion-bg-item title="Do I get a VPN with Bitdefender Internet Security?">
|
|
83
|
-
<p>
|
|
85
|
+
<bd-p kind="small">
|
|
84
86
|
Bitdefender Internet Security includes a basic VPN with 200MB per day.
|
|
85
|
-
</p>
|
|
87
|
+
</bd-p>
|
|
86
88
|
</bd-accordion-bg-item>
|
|
87
89
|
</bd-faq-section>
|
|
88
90
|
</section>
|
|
@@ -99,24 +101,24 @@ const Template = () => html`
|
|
|
99
101
|
<bd-carousel-section title="Need help? We've got answers!" id="anchor-3-section">
|
|
100
102
|
<bd-carousel-item
|
|
101
103
|
title="Scam Copilot Bot"
|
|
102
|
-
subTitle="Specialized AI chatbot that helps you identify suspicious online interactions so you don
|
|
103
|
-
modalText="Specialized AI chatbot that helps you identify suspicious online interactions so you don
|
|
104
|
+
subTitle="Specialized AI chatbot that helps you identify suspicious online interactions so you don't become a victim"
|
|
105
|
+
modalText="Specialized AI chatbot that helps you identify suspicious online interactions so you don't become a victim"
|
|
104
106
|
icon="/assets/light-carousel-img1.png"
|
|
105
107
|
>
|
|
106
|
-
<
|
|
107
|
-
<p>
|
|
108
|
+
<bd-h as="h4">Scam Copilot Bot</bd-h>
|
|
109
|
+
<bd-p kind="small">
|
|
108
110
|
Specialized AI chatbot that helps you identify suspicious online
|
|
109
|
-
interactions so you don
|
|
110
|
-
</p>
|
|
111
|
-
<p>
|
|
111
|
+
interactions so you don't become a victim.
|
|
112
|
+
</bd-p>
|
|
113
|
+
<bd-p kind="small">
|
|
112
114
|
Specialized AI chatbot that helps you identify suspicious online
|
|
113
|
-
interactions so you don
|
|
114
|
-
</p>
|
|
115
|
-
<p>
|
|
115
|
+
interactions so you don't become a victim.
|
|
116
|
+
</bd-p>
|
|
117
|
+
<bd-p kind="small">
|
|
116
118
|
Specialized AI chatbot that helps you identify suspicious online
|
|
117
|
-
interactions so you don
|
|
118
|
-
</p>
|
|
119
|
-
<h6>Testare Scam Copilot</
|
|
119
|
+
interactions so you don't become a victim.
|
|
120
|
+
</bd-p>
|
|
121
|
+
<bd-h as="h6">Testare Scam Copilot</bd-h>
|
|
120
122
|
</bd-carousel-item>
|
|
121
123
|
</bd-carousel-section>
|
|
122
124
|
</section>
|
|
@@ -128,4 +130,4 @@ const Template = () => html`
|
|
|
128
130
|
`;
|
|
129
131
|
|
|
130
132
|
export const Default = Template.bind({});
|
|
131
|
-
Default.args = {};
|
|
133
|
+
Default.args = {};
|