@repobit/dex-system-design 0.23.8 → 0.23.9
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 +7 -0
- package/package.json +2 -2
- package/src/components/accordion/accordion-bg.css.js +119 -100
- package/src/components/accordion/accordion-bg.js +53 -41
- package/src/components/accordion/accordion-bg.stories.js +140 -269
- package/src/components/accordion/accordion.css.js +202 -31
- package/src/components/accordion/accordion.js +73 -31
- package/src/components/accordion/accordion.stories.js +182 -278
- package/src/components/awards/awards-icon.js +44 -32
- package/src/components/awards/awards.css.js +219 -216
- package/src/components/awards/awards.js +156 -132
- package/src/components/awards/awards.stories.js +229 -243
- package/src/components/carousel/carousel.stories.js +13 -13
- package/src/components/pricing-cards/new-pricing-card.stories.js +4 -0
- package/src/components/pricing-cards/pricing-card-pricing.js +3 -1
- package/src/tokens/tokens.css +8 -0
- package/src/tokens/tokens.js +9 -0
|
@@ -16,7 +16,7 @@ export default {
|
|
|
16
16
|
### Usage
|
|
17
17
|
\`\`\`html
|
|
18
18
|
<bd-carousel-section title="Security Features">
|
|
19
|
-
<bd-carousel-item title="VPN" icon="/assets/
|
|
19
|
+
<bd-carousel-item title="VPN" icon="/assets/analysis.svg" modalText="Our VPN protects your connection.">
|
|
20
20
|
<p>Unlimited VPN included</p>
|
|
21
21
|
</bd-carousel-item>
|
|
22
22
|
</bd-carousel-section>
|
|
@@ -61,12 +61,12 @@ export default {
|
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
const sampleItems = [
|
|
64
|
-
{ title: 'VPN Protection', icon: '/assets/
|
|
65
|
-
{ title: 'Antivirus', icon: '/assets/
|
|
66
|
-
{ title: 'Password Manager', icon: '/assets/
|
|
67
|
-
{ title: 'Parental Controls', icon: '/assets/
|
|
68
|
-
{ title: 'Anti-Phishing', icon: '/assets/
|
|
69
|
-
{ title: 'Webcam Protection', icon: '/assets/
|
|
64
|
+
{ title: 'VPN Protection', icon: '/assets/analysis.svg', modalText: 'Our VPN encrypts your internet traffic and hides your IP address.', content: 'Unlimited encrypted VPN traffic' },
|
|
65
|
+
{ title: 'Antivirus', icon: '/assets/analysis.svg', modalText: 'Real-time antivirus protection against all known and emerging threats.', content: 'Award-winning threat detection' },
|
|
66
|
+
{ title: 'Password Manager', icon: '/assets/analysis.svg', modalText: 'Store and autofill all your passwords securely across all devices.', content: 'Secure password vault' },
|
|
67
|
+
{ title: 'Parental Controls', icon: '/assets/analysis.svg', modalText: 'Monitor and control your children\'s online activity and screen time.', content: 'Advanced content filtering' },
|
|
68
|
+
{ title: 'Anti-Phishing', icon: '/assets/analysis.svg', modalText: 'Detects and blocks phishing websites before they can steal your data.', content: 'Real-time phishing protection' },
|
|
69
|
+
{ title: 'Webcam Protection', icon: '/assets/analysis.svg', modalText: 'Prevents unauthorized apps from accessing your webcam.', content: 'Webcam & mic access control' }
|
|
70
70
|
];
|
|
71
71
|
|
|
72
72
|
const renderItem = (item) => html`
|
|
@@ -135,18 +135,18 @@ export const RichSlottedContent = {
|
|
|
135
135
|
name : 'Rich Slotted Content',
|
|
136
136
|
render: () => html`
|
|
137
137
|
<bd-carousel-section title="Features">
|
|
138
|
-
<bd-carousel-item title="VPN" icon="/assets/
|
|
138
|
+
<bd-carousel-item title="VPN" icon="/assets/analysis.svg" modalText="Full VPN details here.">
|
|
139
139
|
<ul>
|
|
140
140
|
<li>Unlimited bandwidth</li>
|
|
141
141
|
<li>200+ server locations</li>
|
|
142
142
|
<li>No-log policy</li>
|
|
143
143
|
</ul>
|
|
144
144
|
</bd-carousel-item>
|
|
145
|
-
<bd-carousel-item title="Antivirus" icon="/assets/
|
|
145
|
+
<bd-carousel-item title="Antivirus" icon="/assets/analysis.svg" modalText="Antivirus details here.">
|
|
146
146
|
<p>Real-time protection</p>
|
|
147
147
|
<a href="#">Learn more</a>
|
|
148
148
|
</bd-carousel-item>
|
|
149
|
-
<bd-carousel-item title="Parental Controls" icon="/assets/
|
|
149
|
+
<bd-carousel-item title="Parental Controls" icon="/assets/analysis.svg" modalText="Parental control details.">
|
|
150
150
|
<p>Safe browsing for kids</p>
|
|
151
151
|
<p>Screen time management</p>
|
|
152
152
|
</bd-carousel-item>
|
|
@@ -184,7 +184,7 @@ export const Playground = {
|
|
|
184
184
|
args: {
|
|
185
185
|
title : 'Security Features',
|
|
186
186
|
itemTitle: 'VPN Protection',
|
|
187
|
-
itemIcon : '/assets/
|
|
187
|
+
itemIcon : '/assets/analysis.svg',
|
|
188
188
|
modalText: 'Our VPN encrypts your connection and protects your privacy.'
|
|
189
189
|
},
|
|
190
190
|
render: (args) => html`
|
|
@@ -192,10 +192,10 @@ export const Playground = {
|
|
|
192
192
|
<bd-carousel-item title="${args.itemTitle}" icon="${args.itemIcon}" modalText="${args.modalText}">
|
|
193
193
|
<p>Slotted content for this item.</p>
|
|
194
194
|
</bd-carousel-item>
|
|
195
|
-
<bd-carousel-item title="Antivirus" icon="/assets/
|
|
195
|
+
<bd-carousel-item title="Antivirus" icon="/assets/analysis.svg" modalText="Real-time antivirus protection.">
|
|
196
196
|
<p>Award-winning threat detection</p>
|
|
197
197
|
</bd-carousel-item>
|
|
198
|
-
<bd-carousel-item title="Parental Controls" icon="/assets/
|
|
198
|
+
<bd-carousel-item title="Parental Controls" icon="/assets/analysis.svg" modalText="Monitor your children's activity.">
|
|
199
199
|
<p>Advanced content filtering</p>
|
|
200
200
|
</bd-carousel-item>
|
|
201
201
|
</bd-carousel-section>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
+
import "../heading/heading.js";
|
|
3
|
+
import "../image/image.js";
|
|
4
|
+
import "../link/link.js";
|
|
5
|
+
import "../paragraph/paragraph.js";
|
|
2
6
|
import './new-pricing-card.js';
|
|
3
7
|
import './pricing-card-actions.js';
|
|
4
8
|
import './pricing-card-container.js';
|
|
@@ -78,7 +78,9 @@ class PricingCardPricing extends LitElement {
|
|
|
78
78
|
|
|
79
79
|
<bd-p kind="small" class="terms">
|
|
80
80
|
First year price. Plus applicable sales tax. See
|
|
81
|
-
|
|
81
|
+
<bd-link href="#" target="_blank" font-size="14px" color="var(--color-neutral-900)" underline>
|
|
82
|
+
terms of use
|
|
83
|
+
</bd-link>
|
|
82
84
|
</bd-p>
|
|
83
85
|
</div>
|
|
84
86
|
|
package/src/tokens/tokens.css
CHANGED
|
@@ -28,6 +28,14 @@
|
|
|
28
28
|
--typography-fontWeight-medium: 500;
|
|
29
29
|
--typography-fontWeight-semibold: 600;
|
|
30
30
|
--typography-fontWeight-bold: 700;
|
|
31
|
+
/* Awards section — Orbit Frame 14 (node 1882:9342) */
|
|
32
|
+
--layout-awards-section-background: var(--color-blue-50);
|
|
33
|
+
--layout-awards-banner-max-width: 37.5rem; /* legacy narrow cap; prefer cluster */
|
|
34
|
+
--layout-awards-cluster-max-width: 49.5625rem; /* 793px — trust banner column */
|
|
35
|
+
--layout-awards-intro-max-width: 39.4375rem; /* 631px — headline stack */
|
|
36
|
+
/* Legacy: narrow lower block from Orbit; prefer --layout-ensemble-content-max for compare-aligned grids */
|
|
37
|
+
--layout-awards-content-max-width: 53.0625rem; /* 849px */
|
|
38
|
+
--layout-ensemble-inline-padding: var(--spacing-24);
|
|
31
39
|
|
|
32
40
|
--typography-lineHeight-none: 1;
|
|
33
41
|
--typography-lineHeight-tight: 1.25;
|
package/src/tokens/tokens.js
CHANGED
|
@@ -1038,5 +1038,14 @@ export const tokens = css`
|
|
|
1038
1038
|
|
|
1039
1039
|
--font-style-sans-normal: normal;
|
|
1040
1040
|
--font-style-sans-italic: italic;
|
|
1041
|
+
/* Awards section — Orbit Frame 14 (node 1882:9342) */
|
|
1042
|
+
--layout-awards-section-background: var(--color-blue-50);
|
|
1043
|
+
--layout-awards-banner-max-width: 37.5rem; /* legacy narrow cap; prefer cluster */
|
|
1044
|
+
--layout-awards-cluster-max-width: 49.5625rem; /* 793px — trust banner column */
|
|
1045
|
+
--layout-awards-intro-max-width: 39.4375rem; /* 631px — headline stack */
|
|
1046
|
+
/* Legacy: narrow lower block from Orbit; prefer --layout-ensemble-content-max for compare-aligned grids */
|
|
1047
|
+
--layout-awards-content-max-width: 53.0625rem; /* 849px */
|
|
1048
|
+
--layout-ensemble-inline-padding: var(--spacing-24);
|
|
1049
|
+
|
|
1041
1050
|
}
|
|
1042
1051
|
`;
|