@deriv-web-design/ui 0.0.29 → 0.1.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/block-registry.json +1406 -0
- package/dist/index.css +0 -168
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1 -34
- package/dist/index.d.ts +1 -34
- package/dist/index.js +0 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -53
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -5
package/dist/index.css
CHANGED
|
@@ -7477,172 +7477,4 @@
|
|
|
7477
7477
|
display: block;
|
|
7478
7478
|
}
|
|
7479
7479
|
}
|
|
7480
|
-
|
|
7481
|
-
/* templates/SpotlightHero/SpotlightHero.css */
|
|
7482
|
-
.sh-root {
|
|
7483
|
-
position: relative;
|
|
7484
|
-
display: block;
|
|
7485
|
-
overflow: hidden;
|
|
7486
|
-
isolation: isolate;
|
|
7487
|
-
padding: var(--spacing-64);
|
|
7488
|
-
min-height: 420px;
|
|
7489
|
-
background: var(--color-slate-1300);
|
|
7490
|
-
color: var(--color-slate-50);
|
|
7491
|
-
text-decoration: none;
|
|
7492
|
-
border-radius: var(--radius-xl);
|
|
7493
|
-
--sh-accent: var(--color-coral-700);
|
|
7494
|
-
}
|
|
7495
|
-
.sh-emerald {
|
|
7496
|
-
--sh-accent: var(--color-emerald-700);
|
|
7497
|
-
}
|
|
7498
|
-
.sh-blue {
|
|
7499
|
-
--sh-accent: var(--color-blue-600);
|
|
7500
|
-
}
|
|
7501
|
-
.sh-slate {
|
|
7502
|
-
--sh-accent: var(--color-slate-600);
|
|
7503
|
-
}
|
|
7504
|
-
.sh-glow {
|
|
7505
|
-
position: absolute;
|
|
7506
|
-
inset: 0;
|
|
7507
|
-
z-index: 0;
|
|
7508
|
-
pointer-events: none;
|
|
7509
|
-
background:
|
|
7510
|
-
radial-gradient(
|
|
7511
|
-
120% 140% at 84% 16%,
|
|
7512
|
-
var(--sh-accent) 0%,
|
|
7513
|
-
transparent 58%),
|
|
7514
|
-
linear-gradient(
|
|
7515
|
-
90deg,
|
|
7516
|
-
var(--color-slate-1400) 0%,
|
|
7517
|
-
transparent 72%);
|
|
7518
|
-
opacity: 0.95;
|
|
7519
|
-
}
|
|
7520
|
-
.sh-pattern {
|
|
7521
|
-
position: absolute;
|
|
7522
|
-
inset: 0;
|
|
7523
|
-
z-index: 1;
|
|
7524
|
-
display: grid;
|
|
7525
|
-
grid-template-columns: repeat(auto-fill, var(--sh-tile));
|
|
7526
|
-
grid-auto-rows: var(--sh-tile);
|
|
7527
|
-
align-content: start;
|
|
7528
|
-
justify-content: end;
|
|
7529
|
-
color: var(--color-slate-50);
|
|
7530
|
-
opacity: var(--sh-pattern-opacity, 0.12);
|
|
7531
|
-
pointer-events: none;
|
|
7532
|
-
-webkit-mask-image:
|
|
7533
|
-
linear-gradient(
|
|
7534
|
-
100deg,
|
|
7535
|
-
transparent 24%,
|
|
7536
|
-
#000 74%);
|
|
7537
|
-
mask-image:
|
|
7538
|
-
linear-gradient(
|
|
7539
|
-
100deg,
|
|
7540
|
-
transparent 24%,
|
|
7541
|
-
#000 74%);
|
|
7542
|
-
}
|
|
7543
|
-
.sh-patternIcon {
|
|
7544
|
-
display: flex;
|
|
7545
|
-
align-items: center;
|
|
7546
|
-
justify-content: center;
|
|
7547
|
-
width: var(--sh-tile);
|
|
7548
|
-
height: var(--sh-tile);
|
|
7549
|
-
font-size: calc(var(--sh-tile) * 0.68);
|
|
7550
|
-
line-height: 0;
|
|
7551
|
-
}
|
|
7552
|
-
.sh-patternIcon svg {
|
|
7553
|
-
width: 1em;
|
|
7554
|
-
height: 1em;
|
|
7555
|
-
display: block;
|
|
7556
|
-
}
|
|
7557
|
-
.sh-content {
|
|
7558
|
-
position: relative;
|
|
7559
|
-
z-index: 2;
|
|
7560
|
-
max-width: 620px;
|
|
7561
|
-
display: flex;
|
|
7562
|
-
flex-direction: column;
|
|
7563
|
-
gap: var(--spacing-16);
|
|
7564
|
-
}
|
|
7565
|
-
.sh-eyebrow {
|
|
7566
|
-
display: inline-flex;
|
|
7567
|
-
align-items: center;
|
|
7568
|
-
gap: var(--spacing-12);
|
|
7569
|
-
}
|
|
7570
|
-
.sh-eyebrowLine {
|
|
7571
|
-
width: 32px;
|
|
7572
|
-
height: 2px;
|
|
7573
|
-
background: var(--sh-accent);
|
|
7574
|
-
border-radius: var(--radius-full);
|
|
7575
|
-
}
|
|
7576
|
-
.sh-eyebrowText {
|
|
7577
|
-
font-family: var(--font-family-base);
|
|
7578
|
-
font-size: var(--font-size-xs);
|
|
7579
|
-
font-weight: var(--font-weight-semi-bold);
|
|
7580
|
-
letter-spacing: 0.08em;
|
|
7581
|
-
text-transform: uppercase;
|
|
7582
|
-
color: var(--color-opacity-white-72);
|
|
7583
|
-
}
|
|
7584
|
-
.sh-title {
|
|
7585
|
-
margin: 0;
|
|
7586
|
-
font-family: var(--typography-h2-font-family);
|
|
7587
|
-
font-size: var(--typography-h2-font-size);
|
|
7588
|
-
font-weight: var(--typography-h2-font-weight);
|
|
7589
|
-
line-height: var(--typography-h2-line-height);
|
|
7590
|
-
letter-spacing: var(--typography-h2-letter-spacing);
|
|
7591
|
-
color: var(--color-slate-50);
|
|
7592
|
-
}
|
|
7593
|
-
.sh-summary {
|
|
7594
|
-
margin: 0;
|
|
7595
|
-
max-width: 30rem;
|
|
7596
|
-
font-family: var(--typography-body-md-font-family);
|
|
7597
|
-
font-size: var(--typography-body-md-font-size);
|
|
7598
|
-
font-weight: var(--typography-body-md-font-weight);
|
|
7599
|
-
line-height: var(--typography-body-md-line-height);
|
|
7600
|
-
color: var(--color-opacity-white-72);
|
|
7601
|
-
}
|
|
7602
|
-
.sh-footer {
|
|
7603
|
-
display: inline-flex;
|
|
7604
|
-
align-items: center;
|
|
7605
|
-
gap: var(--spacing-12);
|
|
7606
|
-
margin-top: var(--spacing-8);
|
|
7607
|
-
}
|
|
7608
|
-
.sh-arrow {
|
|
7609
|
-
display: inline-flex;
|
|
7610
|
-
font-size: 20px;
|
|
7611
|
-
color: var(--color-slate-50);
|
|
7612
|
-
transition: transform 0.2s ease;
|
|
7613
|
-
}
|
|
7614
|
-
.sh-meta {
|
|
7615
|
-
font-size: var(--font-size-xs);
|
|
7616
|
-
font-weight: var(--font-weight-semi-bold);
|
|
7617
|
-
letter-spacing: 0.08em;
|
|
7618
|
-
text-transform: uppercase;
|
|
7619
|
-
color: var(--color-opacity-white-48);
|
|
7620
|
-
}
|
|
7621
|
-
.sh-interactive {
|
|
7622
|
-
cursor: pointer;
|
|
7623
|
-
}
|
|
7624
|
-
.sh-interactive:hover .sh-arrow {
|
|
7625
|
-
transform: translateX(4px);
|
|
7626
|
-
}
|
|
7627
|
-
@media (max-width: 768px) {
|
|
7628
|
-
.sh-root {
|
|
7629
|
-
padding: var(--spacing-32) var(--spacing-24);
|
|
7630
|
-
min-height: 340px;
|
|
7631
|
-
}
|
|
7632
|
-
.sh-content {
|
|
7633
|
-
max-width: 100%;
|
|
7634
|
-
}
|
|
7635
|
-
.sh-pattern {
|
|
7636
|
-
-webkit-mask-image:
|
|
7637
|
-
linear-gradient(
|
|
7638
|
-
180deg,
|
|
7639
|
-
transparent 6%,
|
|
7640
|
-
#000 70%);
|
|
7641
|
-
mask-image:
|
|
7642
|
-
linear-gradient(
|
|
7643
|
-
180deg,
|
|
7644
|
-
transparent 6%,
|
|
7645
|
-
#000 70%);
|
|
7646
|
-
}
|
|
7647
|
-
}
|
|
7648
7480
|
/*# sourceMappingURL=index.css.map */
|