@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.
Files changed (52) hide show
  1. package/CHANGELOG.md +11 -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
@@ -0,0 +1,345 @@
1
+ import { html } from 'lit';
2
+ import '../paragraph/paragraph.js';
3
+ import './accordion.js';
4
+
5
+ export default {
6
+ title : 'Components/Accordion Simple',
7
+ component : 'bd-accordion-section',
8
+ tags : ['autodocs'],
9
+ subcomponents: {
10
+ 'bd-accordion-item' : 'bd-accordion-item',
11
+ 'bd-accordion-section': 'bd-accordion-section'
12
+ },
13
+ argTypes: {
14
+ title: {
15
+ control : 'text',
16
+ description: 'Title of the accordion section',
17
+ table : {
18
+ type : { summary: 'string' },
19
+ defaultValue: { summary: '' }
20
+ }
21
+ },
22
+ guideIcon: {
23
+ control : 'text',
24
+ description: 'URL for the guide icon image',
25
+ table : {
26
+ type : { summary: 'string' },
27
+ defaultValue: { summary: '' }
28
+ }
29
+ },
30
+ guideLabel: {
31
+ control : 'text',
32
+ description: 'Text label for the guide link',
33
+ table : {
34
+ type : { summary: 'string' },
35
+ defaultValue: { summary: '' }
36
+ }
37
+ },
38
+ guideHref: {
39
+ control : 'text',
40
+ description: 'URL for the guide link',
41
+ table : {
42
+ type : { summary: 'string' },
43
+ defaultValue: { summary: '#' }
44
+ }
45
+ }
46
+ },
47
+ parameters: {
48
+ docs: {
49
+ description: {
50
+ component: 'A simple, lightweight accordion component with minimal styling. Perfect for basic expandable content sections without complex styling requirements.'
51
+ }
52
+ }
53
+ }
54
+ };
55
+
56
+ const BasicTemplate = ({ title, guideIcon, guideLabel, guideHref }) => html`
57
+ <bd-accordion-section
58
+ title="${title}"
59
+ guide-icon="${guideIcon}"
60
+ guide-label="${guideLabel}"
61
+ guide-href="${guideHref}"
62
+ >
63
+ <bd-accordion-item title="What is Bitdefender?">
64
+ <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>
65
+ </bd-accordion-item>
66
+
67
+ <bd-accordion-item title="System Requirements">
68
+ <bd-p kind="regular"><strong>Operating Systems:</strong> Windows 10/11, macOS 10.12+, Android 5.0+, iOS 12+</bd-p>
69
+ <bd-p kind="regular"><strong>Hardware:</strong> 1GB RAM minimum, 2.5GB free disk space</bd-p>
70
+ </bd-accordion-item>
71
+
72
+ <bd-accordion-item title="Installation Process">
73
+ <bd-p kind="regular">Download the installation file, run the installer, and follow on-screen instructions to activate with your product key.</bd-p>
74
+ </bd-accordion-item>
75
+ </bd-accordion-section>
76
+ `;
77
+
78
+ // ============ STORIES ============
79
+
80
+ export const Default = BasicTemplate.bind({});
81
+ Default.args = {
82
+ title : 'Product Information',
83
+ guideIcon : '',
84
+ guideLabel: '',
85
+ guideHref : '#'
86
+ };
87
+ Default.parameters = {
88
+ docs: {
89
+ description: {
90
+ story: 'Default simple accordion with clean, minimal design using basic toggle indicators (+/-).'
91
+ }
92
+ }
93
+ };
94
+
95
+ export const WithUserGuide = BasicTemplate.bind({});
96
+ WithUserGuide.args = {
97
+ title : 'Installation Guide',
98
+ guideIcon : '/assets/guide-icon.svg',
99
+ guideLabel: 'View Complete User Guide',
100
+ guideHref : '/user-guide'
101
+ };
102
+ WithUserGuide.parameters = {
103
+ docs: {
104
+ description: {
105
+ story: 'Simple accordion with optional user guide link for additional documentation and help resources.'
106
+ }
107
+ }
108
+ };
109
+
110
+ export const WithoutTitle = () => html`
111
+ <bd-accordion-section>
112
+ <bd-accordion-item title="Frequently Asked Questions">
113
+ <bd-p kind="regular">Find answers to common questions about our products and services.</bd-p>
114
+ </bd-accordion-item>
115
+
116
+ <bd-accordion-item title="Technical Support">
117
+ <bd-p kind="regular">Contact our support team for technical assistance and troubleshooting.</bd-p>
118
+ </bd-accordion-item>
119
+
120
+ <bd-accordion-item title="Product Updates">
121
+ <bd-p kind="regular">Stay informed about the latest features and security updates.</bd-p>
122
+ </bd-accordion-item>
123
+ </bd-accordion-section>
124
+ `;
125
+ WithoutTitle.parameters = {
126
+ docs: {
127
+ description: {
128
+ story: 'Simple accordion without a section title, useful for standalone expandable content areas.'
129
+ }
130
+ }
131
+ };
132
+
133
+ export const SingleAccordionItem = () => html`
134
+ <bd-accordion-section title="Security Information">
135
+ <bd-accordion-item title="How does real-time protection work?" open>
136
+ <bd-p kind="regular">
137
+ Bitdefender's real-time protection continuously monitors your system for suspicious activity
138
+ and potential threats. It uses advanced behavioral analysis and machine learning to detect
139
+ and block malware, ransomware, and other cyber threats before they can cause harm.
140
+ </bd-p>
141
+ <bd-p kind="regular">
142
+ The protection runs in the background with minimal impact on system performance, ensuring
143
+ your device remains secure without slowing down your work or entertainment.
144
+ </bd-p>
145
+ </bd-accordion-item>
146
+ </bd-accordion-section>
147
+ `;
148
+ SingleAccordionItem.parameters = {
149
+ docs: {
150
+ description: {
151
+ story: 'Single accordion item in open state, perfect for highlighting important information that should be immediately visible.'
152
+ }
153
+ }
154
+ };
155
+
156
+ export const MultipleSections = () => html`
157
+ <div style="display: flex; flex-direction: column; gap: 2rem;">
158
+ <bd-accordion-section title="Getting Started">
159
+ <bd-accordion-item title="System Requirements">
160
+ <bd-p kind="regular">Check if your device meets the minimum requirements for optimal performance.</bd-p>
161
+ </bd-accordion-item>
162
+ <bd-accordion-item title="Installation Steps">
163
+ <bd-p kind="regular">Follow our simple installation guide to get started quickly.</bd-p>
164
+ </bd-accordion-item>
165
+ </bd-accordion-section>
166
+
167
+ <bd-accordion-section
168
+ title="Advanced Features"
169
+ guide-label="Explore All Features"
170
+ guide-href="/features"
171
+ >
172
+ <bd-accordion-item title="VPN Configuration">
173
+ <bd-p kind="regular">Set up and customize your VPN for secure browsing.</bd-p>
174
+ </bd-accordion-item>
175
+ <bd-accordion-item title="Parental Controls">
176
+ <bd-p kind="regular">Manage and monitor your family's online safety.</bd-p>
177
+ </bd-accordion-item>
178
+ </bd-accordion-section>
179
+ </div>
180
+ `;
181
+ MultipleSections.parameters = {
182
+ docs: {
183
+ description: {
184
+ story: 'Multiple accordion sections grouped together, demonstrating how to organize related content into different categories.'
185
+ }
186
+ }
187
+ };
188
+
189
+ export const TechnicalSpecifications = () => html`
190
+ <bd-accordion-section title="Technical Specifications">
191
+ <bd-accordion-item title="Compatibility">
192
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;">
193
+ <div>
194
+ <bd-p kind="regular"><strong>Windows</strong></bd-p>
195
+ <bd-p kind="small">10/11 (64-bit)</bd-p>
196
+ </div>
197
+ <div>
198
+ <bd-p kind="regular"><strong>macOS</strong></bd-p>
199
+ <bd-p kind="small">10.14+</bd-p>
200
+ </div>
201
+ <div>
202
+ <bd-p kind="regular"><strong>Android</strong></bd-p>
203
+ <bd-p kind="small">6.0+</bd-p>
204
+ </div>
205
+ <div>
206
+ <bd-p kind="regular"><strong>iOS</strong></bd-p>
207
+ <bd-p kind="small">13.0+</bd-p>
208
+ </div>
209
+ </div>
210
+ </bd-accordion-item>
211
+
212
+ <bd-accordion-item title="Performance Impact">
213
+ <bd-p kind="regular">Bitdefender is designed for minimal system impact:</bd-p>
214
+ <div style="display: flex; gap: 1rem; margin-top: 1rem;">
215
+ <div style="text-align: center;">
216
+ <bd-p kind="large" style="color: #059669; margin: 0;">&lt;2%</bd-p>
217
+ <bd-p kind="small" style="color: #64748b;">CPU Usage</bd-p>
218
+ </div>
219
+ <div style="text-align: center;">
220
+ <bd-p kind="large" style="color: #3b82f6; margin: 0;">~150MB</bd-p>
221
+ <bd-p kind="small" style="color: #64748b;">Memory</bd-p>
222
+ </div>
223
+ <div style="text-align: center;">
224
+ <bd-p kind="large" style="color: #8b5cf6; margin: 0;">+0.3s</bd-p>
225
+ <bd-p kind="small" style="color: #64748b;">Boot Time</bd-p>
226
+ </div>
227
+ </div>
228
+ </bd-accordion-item>
229
+
230
+ <bd-accordion-item title="Security Features">
231
+ <bd-p kind="regular">Comprehensive protection includes:</bd-p>
232
+ <bd-p kind="small" style="color: #64748b; margin-top: 0.5rem;">
233
+ • Real-time antivirus • Advanced threat defense • Behavioral analysis • Firewall protection •
234
+ Web protection • Anti-phishing • Ransomware remediation • Vulnerability assessment
235
+ </bd-p>
236
+ </bd-accordion-item>
237
+ </bd-accordion-section>
238
+ `;
239
+ TechnicalSpecifications.parameters = {
240
+ docs: {
241
+ description: {
242
+ story: 'Technical specifications presented in a simple accordion format with grid layouts and performance metrics.'
243
+ }
244
+ }
245
+ };
246
+
247
+ export const FAQExample = () => html`
248
+ <bd-accordion-section
249
+ title="Frequently Asked Questions"
250
+ guide-label="Visit Help Center"
251
+ guide-href="/help"
252
+ >
253
+ <bd-accordion-item title="How do I activate my product?">
254
+ <bd-p kind="regular">
255
+ After installation, open Bitdefender and click on the activation button. Enter your
256
+ product key or sign in to your Bitdefender account to activate your subscription.
257
+ </bd-p>
258
+ </bd-accordion-item>
259
+
260
+ <bd-accordion-item title="Can I use Bitdefender on multiple devices?">
261
+ <bd-p kind="regular">
262
+ Yes, depending on your subscription plan. Most plans allow protection for multiple
263
+ devices simultaneously. Check your specific plan details for the exact number of
264
+ devices covered.
265
+ </bd-p>
266
+ </bd-accordion-item>
267
+
268
+ <bd-accordion-item title="How often are virus definitions updated?">
269
+ <bd-p kind="regular">
270
+ Bitdefender updates its virus definitions multiple times per day to ensure protection
271
+ against the latest threats. Updates are automatic and require an internet connection.
272
+ </bd-p>
273
+ </bd-accordion-item>
274
+
275
+ <bd-accordion-item title="What should I do if I find a virus?">
276
+ <bd-p kind="regular">
277
+ Bitdefender will automatically detect and quarantine most threats. If you suspect an
278
+ infection, run a full system scan and follow the recommended actions provided by the software.
279
+ </bd-p>
280
+ </bd-accordion-item>
281
+ </bd-accordion-section>
282
+ `;
283
+ FAQExample.parameters = {
284
+ docs: {
285
+ description: {
286
+ story: 'Classic FAQ implementation using the simple accordion component with clear, concise answers to common questions.'
287
+ }
288
+ }
289
+ };
290
+
291
+ export const AccessibilityDemo = () => html`
292
+ <div style="max-width: 800px; margin: 0 auto; padding: 2rem;">
293
+ <bd-p kind="regular" style="margin-bottom: 2rem;">
294
+ The simple accordion includes built-in accessibility features:
295
+ </bd-p>
296
+
297
+ <bd-accordion-section title="Accessibility Features">
298
+ <bd-accordion-item title="Keyboard Navigation">
299
+ <bd-p kind="regular">
300
+ Use <strong>Tab</strong> to navigate between accordion items and <strong>Enter/Space</strong>
301
+ to toggle them open and closed.
302
+ </bd-p>
303
+ </bd-accordion-item>
304
+
305
+ <bd-accordion-item title="Screen Reader Support">
306
+ <bd-p kind="regular">
307
+ Proper ARIA attributes ensure screen readers can announce the accordion state and
308
+ structure correctly.
309
+ </bd-p>
310
+ </bd-accordion-item>
311
+
312
+ <bd-accordion-item title="Focus Management">
313
+ <bd-p kind="regular">
314
+ Clear focus indicators make it easy to track your position when navigating with a keyboard.
315
+ </bd-p>
316
+ </bd-accordion-item>
317
+ </bd-accordion-section>
318
+
319
+ <bd-p kind="small" style="color: #64748b; margin-top: 2rem;">
320
+ Try using keyboard navigation to interact with the accordion above.
321
+ </bd-p>
322
+ </div>
323
+ `;
324
+ AccessibilityDemo.parameters = {
325
+ docs: {
326
+ description: {
327
+ story: 'Accessibility demonstration showing keyboard navigation and screen reader support in the simple accordion component.'
328
+ }
329
+ }
330
+ };
331
+
332
+ export const InteractivePlayground = BasicTemplate.bind({});
333
+ InteractivePlayground.args = {
334
+ title : 'Customize This Accordion',
335
+ guideIcon : '',
336
+ guideLabel: '',
337
+ guideHref : '#'
338
+ };
339
+ InteractivePlayground.parameters = {
340
+ docs: {
341
+ description: {
342
+ story: 'Interactive playground to test the simple accordion component with different configurations and properties.'
343
+ }
344
+ }
345
+ };
@@ -4,130 +4,188 @@ import '../anchor/anchor-nav.js';
4
4
  import '../carousel/carousel.js';
5
5
  import '../heading/heading.js';
6
6
  import '../pricing-cards/pricing-card.js';
7
-
8
7
  import '../tabs/tabs.js';
9
8
 
10
9
  export default {
11
- title : 'Navigation/Anchor - Navbar',
12
- component : 'bd-anchor-nav',
10
+ title : 'Navigation/Anchor - Navbar',
11
+ component : 'bd-anchor-nav',
12
+ subcomponents: {
13
+ 'bd-anchor-nav-item': 'bd-anchor-nav-item'
14
+ },
15
+ tags: ['autodocs'],
16
+
17
+ argTypes: {
18
+ // Proprietăți pentru bd-anchor-nav
19
+ position: {
20
+ control : { type: 'select' },
21
+ options : ['fixed', 'sticky', 'relative'],
22
+ description: 'Position of the navigation bar',
23
+ table : {
24
+ type : { summary: 'string' },
25
+ defaultValue: { summary: 'fixed' },
26
+ category : 'bd-anchor-nav'
27
+ }
28
+ },
29
+ theme: {
30
+ control : { type: 'select' },
31
+ options : ['light', 'dark'],
32
+ description: 'Color theme of the navigation bar',
33
+ table : {
34
+ type : { summary: 'string' },
35
+ defaultValue: { summary: 'light' },
36
+ category : 'bd-anchor-nav'
37
+ }
38
+ },
39
+ offset: {
40
+ control : { type: 'number', min: 0, max: 200, step: 10 },
41
+ description: 'Offset in pixels from the top when scrolling',
42
+ table : {
43
+ type : { summary: 'number' },
44
+ defaultValue: { summary: '0' },
45
+ category : 'bd-anchor-nav'
46
+ }
47
+ }
48
+ },
49
+
13
50
  parameters: {
14
51
  docs: {
15
52
  description: {
16
53
  component: `
17
- **bd-anchor-nav** este o componentă de navigare care oferă linkuri către secțiuni din pagină cu scroll lin.
18
- Folosește elemente \`<bd-anchor-nav-item>\` pentru fiecare link, ce trebuie să aibă \`title\` și \`id\`.
54
+ # bd-anchor-nav & bd-anchor-nav-item
19
55
 
20
- ---
56
+ Navigation component for smooth scrolling to page sections.
21
57
 
22
- ### Cum se folosește
58
+ ## Usage
23
59
 
24
60
  \`\`\`html
25
61
  <bd-anchor-nav>
26
- <bd-anchor-nav-item title="Anchor 1" id="anchor-1"></bd-anchor-nav-item>
27
- <bd-anchor-nav-item title="Anchor 2" id="anchor-2"></bd-anchor-nav-item>
28
- <bd-anchor-nav-item title="Anchor 3" id="anchor-3"></bd-anchor-nav-item>
62
+ <bd-anchor-nav-item title="Features" id="features"></bd-anchor-nav-item>
63
+ <bd-anchor-nav-item title="Pricing" id="pricing"></bd-anchor-nav-item>
64
+ <bd-anchor-nav-item title="FAQ" id="faq"></bd-anchor-nav-item>
29
65
  </bd-anchor-nav>
30
-
31
- <section id="anchor-1-section">Conținut secțiune 1</section>
32
- <section id="anchor-2-section">Conținut secțiune 2</section>
33
- <section id="anchor-3-section">Conținut secțiune 3</section>
34
66
  \`\`\`
35
67
 
36
- ---
37
-
38
- ### Ce conține demo-ul din acest story
39
-
40
- - Navbar cu 3 ancore
41
- - Secțiuni cu FAQ, Tabs și Carousel pentru testarea scroll-ului și layout-ului
42
- - Secțiune de pricing la final
43
-
44
- ---
45
-
46
- ### Alte componente utilizate
47
-
48
- - \`bd-accordion-bg\`, \`bd-accordion-bg-item\`
49
- - \`bd-tabs-component\`
50
- - \`bd-carousel-section\`, \`bd-carousel-item\`
51
- - \`bd-pricing-container\`
52
-
53
- ---
68
+ ## Properties
69
+
70
+ ### bd-anchor-nav
71
+ | Attribute | Type | Default | Description |
72
+ |-----------|------|---------|-------------|
73
+ | \`position\` | 'fixed' \| 'sticky' \| 'relative' | \`fixed\` | CSS position |
74
+ | \`theme\` | 'light' \| 'dark' | \`light\` | Color theme |
75
+ | \`offset\` | number | \`0\` | Scroll offset from top |
76
+
77
+ ### bd-anchor-nav-item
78
+ | Attribute | Type | Required | Description |
79
+ |-----------|------|----------|-------------|
80
+ | \`title\` | string | Yes | Navigation link text |
81
+ | \`id\` | string | Yes | Target section ID |
82
+
83
+ ## Features
84
+ - Smooth scrolling to sections
85
+ - Active state highlighting
86
+ - Responsive design
87
+ - Keyboard navigation support
54
88
  `
55
89
  }
56
90
  }
57
91
  }
58
92
  };
59
93
 
60
- const Template = () => html`
61
- <bd-anchor-nav>
94
+ const Template = (args) => html`
95
+ <bd-anchor-nav
96
+ position="${args.position}"
97
+ theme="${args.theme}"
98
+ offset="${args.offset}"
99
+ >
62
100
  <bd-anchor-nav-item title="Anchor 1" id="anchor-1"></bd-anchor-nav-item>
63
101
  <bd-anchor-nav-item title="Anchor 2" id="anchor-2"></bd-anchor-nav-item>
64
102
  <bd-anchor-nav-item title="Anchor 3" id="anchor-3"></bd-anchor-nav-item>
65
103
  </bd-anchor-nav>
66
104
 
67
105
  <bd-container>
68
- <section id="anchor-1-section" style="height: 800px;">
106
+ <section id="anchor-1" style="height: 800px; padding-top: 80px;">
69
107
  <hr />
70
- <bd-accordion-bg title="Questions? Answers." id="anchor-1-section">
108
+ <bd-accordion-bg title="Questions? Answers.">
71
109
  <bd-accordion-bg-item title="How does Bitdefender Internet Security protect me?">
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>
75
- </bd-accordion-bg-item>
76
-
77
- <bd-accordion-bg-item title="Does Bitdefender protect me against ransomware?">
78
- <bd-p kind="small">
79
- Yes! Bitdefender Internet Security offers unbeatable ransomware
80
- protection...
81
- </bd-p>
110
+ <bd-p kind="small">Provides comprehensive protection against online threats.</bd-p>
82
111
  </bd-accordion-bg-item>
83
-
84
- <bd-accordion-bg-item title="Do I get a VPN with Bitdefender Internet Security?">
85
- <bd-p kind="small">
86
- Bitdefender Internet Security includes a basic VPN with 200MB per day.
87
- </bd-p>
112
+ <bd-accordion-bg-item title="Does Bitdefender protect against ransomware?">
113
+ <bd-p kind="small">Yes, with multi-layered defense mechanisms.</bd-p>
88
114
  </bd-accordion-bg-item>
89
- </bd-faq-section>
115
+ </bd-accordion-bg>
90
116
  </section>
91
117
 
92
- <section id="anchor-2-section" style="height: 800px;">
118
+ <section id="anchor-2" style="height: 800px; padding-top: 80px;">
93
119
  <hr />
94
- <div class="tabs">
95
- <bd-tabs-component id="anchor-2-section"></bd-tabs-component>
96
- </div>
120
+ <bd-tabs-component></bd-tabs-component>
97
121
  </section>
98
122
 
99
- <section id="anchor-3-section" style="height: 800px;">
123
+ <section id="anchor-3" style="height: 800px; padding-top: 80px;">
100
124
  <hr />
101
- <bd-carousel-section title="Need help? We've got answers!" id="anchor-3-section">
125
+ <bd-carousel-section title="Need help? We've got answers!">
102
126
  <bd-carousel-item
103
127
  title="Scam Copilot Bot"
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"
128
+ subTitle="AI chatbot for suspicious interaction detection"
106
129
  icon="/assets/light-carousel-img1.png"
107
130
  >
108
131
  <bd-h as="h4">Scam Copilot Bot</bd-h>
109
- <bd-p kind="small">
110
- Specialized AI chatbot that helps you identify suspicious online
111
- interactions so you don't become a victim.
112
- </bd-p>
113
- <bd-p kind="small">
114
- Specialized AI chatbot that helps you identify suspicious online
115
- interactions so you don't become a victim.
116
- </bd-p>
117
- <bd-p kind="small">
118
- Specialized AI chatbot that helps you identify suspicious online
119
- interactions so you don't become a victim.
120
- </bd-p>
121
- <bd-h as="h6">Testare Scam Copilot</bd-h>
132
+ <bd-p kind="small">Helps identify suspicious online interactions.</bd-p>
122
133
  </bd-carousel-item>
123
134
  </bd-carousel-section>
124
135
  </section>
125
136
 
126
- <section id="section-pricing" style="height: 800px;">
127
- <bd-pricing-container id="section-pricing"></bd-pricing-container>
137
+ <section id="section-pricing" style="height: 800px; padding-top: 80px;">
138
+ <bd-pricing-container></bd-pricing-container>
128
139
  </section>
129
140
  </bd-container>
130
141
  `;
131
142
 
132
143
  export const Default = Template.bind({});
133
- Default.args = {};
144
+ Default.args = {
145
+ position: 'fixed',
146
+ theme : 'light',
147
+ offset : 0
148
+ };
149
+
150
+ export const Sticky = Template.bind({});
151
+ Sticky.args = {
152
+ ...Default.args,
153
+ position: 'sticky'
154
+ };
155
+
156
+ export const DarkTheme = Template.bind({});
157
+ DarkTheme.args = {
158
+ ...Default.args,
159
+ theme: 'dark'
160
+ };
161
+
162
+ export const WithOffset = Template.bind({});
163
+ WithOffset.args = {
164
+ ...Default.args,
165
+ offset: 80
166
+ };
167
+
168
+ export const MinimalExample = () => html`
169
+ <bd-anchor-nav>
170
+ <bd-anchor-nav-item title="Home" id="home"></bd-anchor-nav-item>
171
+ <bd-anchor-nav-item title="About" id="about"></bd-anchor-nav-item>
172
+ <bd-anchor-nav-item title="Contact" id="contact"></bd-anchor-nav-item>
173
+ </bd-anchor-nav>
174
+
175
+ <bd-container>
176
+ <section id="home" style="height: 400px; padding-top: 80px;">
177
+ <bd-h as="h2">Home</bd-h>
178
+ <bd-p>Home section content.</bd-p>
179
+ </section>
180
+
181
+ <section id="about" style="height: 400px;">
182
+ <bd-h as="h2">About</bd-h>
183
+ <bd-p>About section content.</bd-p>
184
+ </section>
185
+
186
+ <section id="contact" style="height: 400px;">
187
+ <bd-h as="h2">Contact</bd-h>
188
+ <bd-p>Contact section content.</bd-p>
189
+ </section>
190
+ </bd-container>
191
+ `;
@@ -11,7 +11,7 @@ export default css`
11
11
  font-family: var(--typography-fontFamily-sans);
12
12
  font-size: var(--typography-body-regular-fontSize);
13
13
  font-weight: var(--typography-fontWeight-bold);
14
- color: var(--color-neutral-1000);
14
+ // color: var(--color-neutral-1000);
15
15
  cursor: pointer;
16
16
  border-radius: 0.5rem;
17
17
  transition: all 0.2s ease;