@deriv-web-design/ui 0.0.22 → 0.0.25
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/dist/index.css +71 -71
- package/dist/index.css.map +1 -1
- package/dist/index.js +126 -135
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -79
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -370,14 +370,14 @@
|
|
|
370
370
|
flex-shrink: 0;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
/* primitives/Accordion/Accordion.
|
|
373
|
+
/* primitives/Accordion/Accordion.css */
|
|
374
374
|
.accordion {
|
|
375
375
|
position: relative;
|
|
376
376
|
width: 100%;
|
|
377
377
|
max-width: 846px;
|
|
378
378
|
box-sizing: border-box;
|
|
379
379
|
}
|
|
380
|
-
.
|
|
380
|
+
.accordion__header {
|
|
381
381
|
display: flex;
|
|
382
382
|
align-items: center;
|
|
383
383
|
gap: var(--spacing-24);
|
|
@@ -391,31 +391,31 @@
|
|
|
391
391
|
text-align: left;
|
|
392
392
|
box-sizing: border-box;
|
|
393
393
|
}
|
|
394
|
-
.
|
|
394
|
+
.accordion__header:focus-visible::after {
|
|
395
395
|
content: "";
|
|
396
396
|
position: absolute;
|
|
397
397
|
inset: -2px;
|
|
398
398
|
border: 2px solid var(--accordion-focus-ring-color);
|
|
399
399
|
pointer-events: none;
|
|
400
400
|
}
|
|
401
|
-
.
|
|
401
|
+
.accordion__focus-ring {
|
|
402
402
|
position: absolute;
|
|
403
403
|
inset: -2px;
|
|
404
404
|
border: 2px solid var(--accordion-focus-ring-color);
|
|
405
405
|
pointer-events: none;
|
|
406
406
|
}
|
|
407
|
-
.
|
|
407
|
+
.accordion__title-wrapper {
|
|
408
408
|
flex: 1 0 0;
|
|
409
409
|
min-width: 1px;
|
|
410
410
|
}
|
|
411
|
-
.
|
|
411
|
+
.accordion__title {
|
|
412
412
|
font-family: var(--font-family-base);
|
|
413
413
|
font-size: var(--font-size-lg);
|
|
414
414
|
font-weight: var(--font-weight-semi-bold);
|
|
415
415
|
line-height: var(--line-height-normal);
|
|
416
416
|
color: var(--accordion-title-color);
|
|
417
417
|
}
|
|
418
|
-
.
|
|
418
|
+
.accordion__chevron {
|
|
419
419
|
display: flex;
|
|
420
420
|
align-items: center;
|
|
421
421
|
justify-content: center;
|
|
@@ -425,21 +425,21 @@
|
|
|
425
425
|
color: var(--accordion-chevron-color);
|
|
426
426
|
transition: transform 200ms ease;
|
|
427
427
|
}
|
|
428
|
-
.
|
|
428
|
+
.accordion__chevron--rotated {
|
|
429
429
|
transform: rotate(180deg);
|
|
430
430
|
}
|
|
431
|
-
.
|
|
431
|
+
.accordion__body-wrapper {
|
|
432
432
|
display: grid;
|
|
433
433
|
grid-template-rows: 0fr;
|
|
434
434
|
transition: grid-template-rows 200ms ease;
|
|
435
435
|
}
|
|
436
|
-
.
|
|
436
|
+
.accordion__body-wrapper--open {
|
|
437
437
|
grid-template-rows: 1fr;
|
|
438
438
|
}
|
|
439
|
-
.
|
|
439
|
+
.accordion__body-inner {
|
|
440
440
|
overflow: hidden;
|
|
441
441
|
}
|
|
442
|
-
.
|
|
442
|
+
.accordion__body {
|
|
443
443
|
padding-bottom: var(--spacing-24);
|
|
444
444
|
font-family: var(--font-family-base);
|
|
445
445
|
font-size: var(--font-size-md);
|
|
@@ -1548,17 +1548,17 @@
|
|
|
1548
1548
|
font-weight: var(--font-weight-regular);
|
|
1549
1549
|
}
|
|
1550
1550
|
|
|
1551
|
-
/* templates/FaqAccordion/FaqAccordion.
|
|
1552
|
-
.
|
|
1551
|
+
/* templates/FaqAccordion/FaqAccordion.css */
|
|
1552
|
+
.faq-accordion {
|
|
1553
1553
|
width: 100%;
|
|
1554
1554
|
}
|
|
1555
|
-
.
|
|
1555
|
+
.faq-accordion--white {
|
|
1556
1556
|
background-color: var(--color-slate-50);
|
|
1557
1557
|
}
|
|
1558
|
-
.
|
|
1558
|
+
.faq-accordion--slate {
|
|
1559
1559
|
background-color: var(--color-slate-75);
|
|
1560
1560
|
}
|
|
1561
|
-
.
|
|
1561
|
+
.faq-accordion__container {
|
|
1562
1562
|
display: flex;
|
|
1563
1563
|
flex-direction: column;
|
|
1564
1564
|
gap: var(--spacing-24);
|
|
@@ -1569,12 +1569,12 @@
|
|
|
1569
1569
|
width: 100%;
|
|
1570
1570
|
}
|
|
1571
1571
|
@media (min-width: 992px) {
|
|
1572
|
-
.
|
|
1572
|
+
.faq-accordion__container {
|
|
1573
1573
|
gap: var(--spacing-48);
|
|
1574
1574
|
padding: var(--spacing-112) var(--spacing-24);
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
|
-
.
|
|
1577
|
+
.faq-accordion__header {
|
|
1578
1578
|
display: flex;
|
|
1579
1579
|
flex-direction: column;
|
|
1580
1580
|
align-items: flex-start;
|
|
@@ -1582,12 +1582,12 @@
|
|
|
1582
1582
|
width: 100%;
|
|
1583
1583
|
}
|
|
1584
1584
|
@media (min-width: 992px) {
|
|
1585
|
-
.
|
|
1585
|
+
.faq-accordion__header {
|
|
1586
1586
|
align-items: center;
|
|
1587
1587
|
gap: var(--spacing-24);
|
|
1588
1588
|
}
|
|
1589
1589
|
}
|
|
1590
|
-
.
|
|
1590
|
+
.faq-accordion__title {
|
|
1591
1591
|
font-family: var(--typography-h2-font-family);
|
|
1592
1592
|
font-size: var(--typography-h2-font-size);
|
|
1593
1593
|
font-weight: var(--typography-h2-font-weight);
|
|
@@ -1597,16 +1597,16 @@
|
|
|
1597
1597
|
width: 100%;
|
|
1598
1598
|
}
|
|
1599
1599
|
@media (min-width: 992px) {
|
|
1600
|
-
.
|
|
1600
|
+
.faq-accordion__title {
|
|
1601
1601
|
text-align: center;
|
|
1602
1602
|
}
|
|
1603
1603
|
}
|
|
1604
|
-
.
|
|
1604
|
+
.faq-accordion__list {
|
|
1605
1605
|
display: flex;
|
|
1606
1606
|
flex-direction: column;
|
|
1607
1607
|
width: 100%;
|
|
1608
1608
|
}
|
|
1609
|
-
.
|
|
1609
|
+
.faq-accordion__list > * {
|
|
1610
1610
|
max-width: 100%;
|
|
1611
1611
|
}
|
|
1612
1612
|
|
|
@@ -1979,12 +1979,12 @@
|
|
|
1979
1979
|
}
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
-
/* templates/FeatureBullets/FeatureBullets.
|
|
1983
|
-
.
|
|
1982
|
+
/* templates/FeatureBullets/FeatureBullets.css */
|
|
1983
|
+
.feature-bullets {
|
|
1984
1984
|
width: 100%;
|
|
1985
1985
|
background-color: var(--color-slate-50);
|
|
1986
1986
|
}
|
|
1987
|
-
.
|
|
1987
|
+
.feature-bullets__container {
|
|
1988
1988
|
display: flex;
|
|
1989
1989
|
flex-direction: column;
|
|
1990
1990
|
max-width: var(--content-width-1280);
|
|
@@ -1994,11 +1994,11 @@
|
|
|
1994
1994
|
width: 100%;
|
|
1995
1995
|
}
|
|
1996
1996
|
@media (min-width: 992px) {
|
|
1997
|
-
.
|
|
1997
|
+
.feature-bullets__container {
|
|
1998
1998
|
padding: var(--spacing-112) var(--spacing-24);
|
|
1999
1999
|
}
|
|
2000
2000
|
}
|
|
2001
|
-
.
|
|
2001
|
+
.feature-bullets__split {
|
|
2002
2002
|
display: flex;
|
|
2003
2003
|
flex-direction: column;
|
|
2004
2004
|
align-items: stretch;
|
|
@@ -2006,16 +2006,16 @@
|
|
|
2006
2006
|
width: 100%;
|
|
2007
2007
|
}
|
|
2008
2008
|
@media (min-width: 992px) {
|
|
2009
|
-
.
|
|
2009
|
+
.feature-bullets__split {
|
|
2010
2010
|
flex-direction: row;
|
|
2011
2011
|
align-items: center;
|
|
2012
2012
|
gap: 8rem;
|
|
2013
2013
|
}
|
|
2014
|
-
.
|
|
2014
|
+
.feature-bullets__split--image-left {
|
|
2015
2015
|
flex-direction: row-reverse;
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
|
-
.
|
|
2018
|
+
.feature-bullets__content {
|
|
2019
2019
|
display: flex;
|
|
2020
2020
|
flex-direction: column;
|
|
2021
2021
|
align-items: flex-start;
|
|
@@ -2023,13 +2023,13 @@
|
|
|
2023
2023
|
width: 100%;
|
|
2024
2024
|
}
|
|
2025
2025
|
@media (min-width: 992px) {
|
|
2026
|
-
.
|
|
2026
|
+
.feature-bullets__content {
|
|
2027
2027
|
gap: var(--spacing-32);
|
|
2028
2028
|
width: 540px;
|
|
2029
2029
|
flex-shrink: 0;
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
|
-
.
|
|
2032
|
+
.feature-bullets__title {
|
|
2033
2033
|
font-family: var(--typography-h2-font-family);
|
|
2034
2034
|
font-size: var(--typography-h2-font-size);
|
|
2035
2035
|
font-weight: var(--typography-h2-font-weight);
|
|
@@ -2037,26 +2037,26 @@
|
|
|
2037
2037
|
color: var(--text-primary);
|
|
2038
2038
|
margin: 0;
|
|
2039
2039
|
}
|
|
2040
|
-
.
|
|
2040
|
+
.feature-bullets__bullet-list {
|
|
2041
2041
|
display: flex;
|
|
2042
2042
|
flex-direction: column;
|
|
2043
2043
|
width: 100%;
|
|
2044
2044
|
}
|
|
2045
|
-
.
|
|
2045
|
+
.feature-bullets__bullet-item {
|
|
2046
2046
|
display: flex;
|
|
2047
2047
|
align-items: flex-start;
|
|
2048
2048
|
gap: var(--spacing-16);
|
|
2049
2049
|
padding: var(--spacing-16) 0;
|
|
2050
2050
|
border-bottom: 1px solid var(--color-slate-100);
|
|
2051
2051
|
}
|
|
2052
|
-
.
|
|
2052
|
+
.feature-bullets__bullet-item:first-child {
|
|
2053
2053
|
padding-top: 0;
|
|
2054
2054
|
}
|
|
2055
|
-
.
|
|
2055
|
+
.feature-bullets__bullet-item:last-child {
|
|
2056
2056
|
border-bottom: none;
|
|
2057
2057
|
padding-bottom: 0;
|
|
2058
2058
|
}
|
|
2059
|
-
.
|
|
2059
|
+
.feature-bullets__icon-wrapper {
|
|
2060
2060
|
display: flex;
|
|
2061
2061
|
align-items: center;
|
|
2062
2062
|
justify-content: center;
|
|
@@ -2066,12 +2066,12 @@
|
|
|
2066
2066
|
color: var(--color-slate-1200);
|
|
2067
2067
|
margin-top: 2px;
|
|
2068
2068
|
}
|
|
2069
|
-
.
|
|
2069
|
+
.feature-bullets__icon {
|
|
2070
2070
|
width: 100%;
|
|
2071
2071
|
height: 100%;
|
|
2072
2072
|
display: block;
|
|
2073
2073
|
}
|
|
2074
|
-
.
|
|
2074
|
+
.feature-bullets__bullet-text {
|
|
2075
2075
|
font-family: var(--typography-body-md-font-family);
|
|
2076
2076
|
font-size: var(--typography-body-md-font-size);
|
|
2077
2077
|
font-weight: var(--typography-body-md-font-weight);
|
|
@@ -2079,7 +2079,7 @@
|
|
|
2079
2079
|
color: var(--color-slate-1200);
|
|
2080
2080
|
margin: 0;
|
|
2081
2081
|
}
|
|
2082
|
-
.
|
|
2082
|
+
.feature-bullets__image-wrapper {
|
|
2083
2083
|
width: 100%;
|
|
2084
2084
|
aspect-ratio: 1 / 1;
|
|
2085
2085
|
border-radius: var(--radius-2xl);
|
|
@@ -2089,13 +2089,13 @@
|
|
|
2089
2089
|
background-color: transparent;
|
|
2090
2090
|
}
|
|
2091
2091
|
@media (min-width: 992px) {
|
|
2092
|
-
.
|
|
2092
|
+
.feature-bullets__image-wrapper {
|
|
2093
2093
|
flex: 1 0 0;
|
|
2094
2094
|
width: auto;
|
|
2095
2095
|
border-radius: 2rem;
|
|
2096
2096
|
}
|
|
2097
2097
|
}
|
|
2098
|
-
.
|
|
2098
|
+
.feature-bullets__image {
|
|
2099
2099
|
position: absolute;
|
|
2100
2100
|
inset: 0;
|
|
2101
2101
|
width: 100%;
|
|
@@ -6277,12 +6277,12 @@
|
|
|
6277
6277
|
}
|
|
6278
6278
|
}
|
|
6279
6279
|
|
|
6280
|
-
/* templates/Leaders/Leaders.
|
|
6281
|
-
.
|
|
6280
|
+
/* templates/Leaders/Leaders.css */
|
|
6281
|
+
.leaders {
|
|
6282
6282
|
width: 100%;
|
|
6283
6283
|
background-color: var(--color-slate-50);
|
|
6284
6284
|
}
|
|
6285
|
-
.
|
|
6285
|
+
.leaders__container {
|
|
6286
6286
|
display: flex;
|
|
6287
6287
|
flex-direction: column;
|
|
6288
6288
|
max-width: var(--content-width-1280);
|
|
@@ -6294,12 +6294,12 @@
|
|
|
6294
6294
|
gap: var(--spacing-48);
|
|
6295
6295
|
}
|
|
6296
6296
|
@media (min-width: 992px) {
|
|
6297
|
-
.
|
|
6297
|
+
.leaders__container {
|
|
6298
6298
|
padding: var(--spacing-112) var(--spacing-24);
|
|
6299
6299
|
gap: var(--spacing-80);
|
|
6300
6300
|
}
|
|
6301
6301
|
}
|
|
6302
|
-
.
|
|
6302
|
+
.leaders__header {
|
|
6303
6303
|
display: flex;
|
|
6304
6304
|
flex-direction: column;
|
|
6305
6305
|
align-items: center;
|
|
@@ -6307,7 +6307,7 @@
|
|
|
6307
6307
|
width: 100%;
|
|
6308
6308
|
max-width: var(--content-width-846);
|
|
6309
6309
|
}
|
|
6310
|
-
.
|
|
6310
|
+
.leaders__title {
|
|
6311
6311
|
font-family: var(--typography-h2-font-family);
|
|
6312
6312
|
font-size: var(--typography-h2-font-size);
|
|
6313
6313
|
font-weight: var(--typography-h2-font-weight);
|
|
@@ -6315,38 +6315,38 @@
|
|
|
6315
6315
|
color: var(--color-slate-1200);
|
|
6316
6316
|
margin: 0;
|
|
6317
6317
|
}
|
|
6318
|
-
.
|
|
6318
|
+
.leaders__grid-wrapper {
|
|
6319
6319
|
display: flex;
|
|
6320
6320
|
flex-direction: column;
|
|
6321
6321
|
width: 100%;
|
|
6322
6322
|
}
|
|
6323
|
-
.
|
|
6323
|
+
.leaders__grid {
|
|
6324
6324
|
display: grid;
|
|
6325
6325
|
grid-template-columns: 1fr;
|
|
6326
6326
|
gap: var(--spacing-24);
|
|
6327
6327
|
width: 100%;
|
|
6328
6328
|
}
|
|
6329
6329
|
@media (min-width: 768px) {
|
|
6330
|
-
.
|
|
6330
|
+
.leaders__grid {
|
|
6331
6331
|
grid-template-columns: repeat(2, 1fr);
|
|
6332
6332
|
}
|
|
6333
6333
|
}
|
|
6334
6334
|
@media (min-width: 992px) {
|
|
6335
|
-
.
|
|
6335
|
+
.leaders__grid {
|
|
6336
6336
|
grid-template-columns: repeat(4, 1fr);
|
|
6337
6337
|
gap: var(--spacing-32);
|
|
6338
6338
|
}
|
|
6339
6339
|
}
|
|
6340
|
-
.
|
|
6340
|
+
.leaders__extra-cards {
|
|
6341
6341
|
display: grid;
|
|
6342
6342
|
grid-template-rows: 0fr;
|
|
6343
6343
|
transition: grid-template-rows 0.8s cubic-bezier(0.16, 1, 0.3, 1);
|
|
6344
6344
|
width: 100%;
|
|
6345
6345
|
}
|
|
6346
|
-
.
|
|
6346
|
+
.leaders__extra-cards--open {
|
|
6347
6347
|
grid-template-rows: 1fr;
|
|
6348
6348
|
}
|
|
6349
|
-
.
|
|
6349
|
+
.leaders__extra-grid {
|
|
6350
6350
|
min-height: 0;
|
|
6351
6351
|
overflow: hidden;
|
|
6352
6352
|
display: grid;
|
|
@@ -6355,27 +6355,27 @@
|
|
|
6355
6355
|
padding-top: var(--spacing-24);
|
|
6356
6356
|
}
|
|
6357
6357
|
@media (min-width: 768px) {
|
|
6358
|
-
.
|
|
6358
|
+
.leaders__extra-grid {
|
|
6359
6359
|
grid-template-columns: repeat(2, 1fr);
|
|
6360
6360
|
}
|
|
6361
6361
|
}
|
|
6362
6362
|
@media (min-width: 992px) {
|
|
6363
|
-
.
|
|
6363
|
+
.leaders__extra-grid {
|
|
6364
6364
|
grid-template-columns: repeat(4, 1fr);
|
|
6365
6365
|
gap: var(--spacing-32);
|
|
6366
6366
|
padding-top: var(--spacing-32);
|
|
6367
6367
|
}
|
|
6368
6368
|
}
|
|
6369
|
-
.
|
|
6369
|
+
.leaders__extra-card {
|
|
6370
6370
|
opacity: 0;
|
|
6371
6371
|
transform: translateY(16px);
|
|
6372
6372
|
transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
|
|
6373
6373
|
}
|
|
6374
|
-
.
|
|
6374
|
+
.leaders__extra-card--visible {
|
|
6375
6375
|
opacity: 1;
|
|
6376
6376
|
transform: translateY(0);
|
|
6377
6377
|
}
|
|
6378
|
-
.
|
|
6378
|
+
.leaders__card {
|
|
6379
6379
|
display: flex;
|
|
6380
6380
|
flex-direction: column;
|
|
6381
6381
|
align-items: flex-start;
|
|
@@ -6384,7 +6384,7 @@
|
|
|
6384
6384
|
border-radius: var(--radius-2xl);
|
|
6385
6385
|
width: 100%;
|
|
6386
6386
|
}
|
|
6387
|
-
.
|
|
6387
|
+
.leaders__image-wrapper {
|
|
6388
6388
|
width: 100%;
|
|
6389
6389
|
aspect-ratio: 1 / 1;
|
|
6390
6390
|
border-radius: var(--radius-2xl);
|
|
@@ -6392,7 +6392,7 @@
|
|
|
6392
6392
|
position: relative;
|
|
6393
6393
|
background-color: var(--color-slate-100);
|
|
6394
6394
|
}
|
|
6395
|
-
.
|
|
6395
|
+
.leaders__image {
|
|
6396
6396
|
position: absolute;
|
|
6397
6397
|
inset: 0;
|
|
6398
6398
|
width: 100%;
|
|
@@ -6401,14 +6401,14 @@
|
|
|
6401
6401
|
object-position: center;
|
|
6402
6402
|
display: block;
|
|
6403
6403
|
}
|
|
6404
|
-
.
|
|
6404
|
+
.leaders__content {
|
|
6405
6405
|
display: flex;
|
|
6406
6406
|
flex-direction: column;
|
|
6407
6407
|
align-items: flex-start;
|
|
6408
6408
|
gap: var(--spacing-8);
|
|
6409
6409
|
width: 100%;
|
|
6410
6410
|
}
|
|
6411
|
-
.
|
|
6411
|
+
.leaders__name {
|
|
6412
6412
|
font-family: var(--typography-h5-font-family);
|
|
6413
6413
|
font-size: var(--typography-h5-font-size);
|
|
6414
6414
|
font-weight: var(--typography-h5-font-weight);
|
|
@@ -6416,7 +6416,7 @@
|
|
|
6416
6416
|
color: var(--color-slate-1200);
|
|
6417
6417
|
margin: 0;
|
|
6418
6418
|
}
|
|
6419
|
-
.
|
|
6419
|
+
.leaders__role {
|
|
6420
6420
|
font-family: var(--typography-body-md-font-family);
|
|
6421
6421
|
font-size: var(--typography-body-md-font-size);
|
|
6422
6422
|
font-weight: var(--typography-body-md-font-weight);
|
|
@@ -6424,16 +6424,16 @@
|
|
|
6424
6424
|
color: var(--color-slate-1200);
|
|
6425
6425
|
margin: 0;
|
|
6426
6426
|
}
|
|
6427
|
-
.
|
|
6427
|
+
.leaders__link {
|
|
6428
6428
|
margin-top: calc(var(--spacing-8) * -1);
|
|
6429
6429
|
}
|
|
6430
|
-
.
|
|
6430
|
+
.leaders__link .icon {
|
|
6431
6431
|
color: #0072B1 !important;
|
|
6432
6432
|
}
|
|
6433
|
-
.
|
|
6433
|
+
.leaders__link:hover .icon {
|
|
6434
6434
|
color: #005582 !important;
|
|
6435
6435
|
}
|
|
6436
|
-
.
|
|
6436
|
+
.leaders__actions {
|
|
6437
6437
|
display: flex;
|
|
6438
6438
|
justify-content: center;
|
|
6439
6439
|
width: 100%;
|