@digital-b2c/coreui-kit 0.19.2 → 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/dist/index.cjs +532 -270
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +310 -50
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +162 -96
- package/dist/index.d.ts +162 -96
- package/dist/index.mjs +531 -272
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -12
package/dist/index.css
CHANGED
|
@@ -1010,6 +1010,50 @@ a:hover.Card_module_card {
|
|
|
1010
1010
|
color: var(--color-lenscrafter-blue);
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
|
+
/* src/components/Modal/Modal.module.scss */
|
|
1014
|
+
.Modal_module_modal {
|
|
1015
|
+
position: fixed;
|
|
1016
|
+
top: 50%;
|
|
1017
|
+
left: 50%;
|
|
1018
|
+
transform: translate(-50%, -50%);
|
|
1019
|
+
margin: 0;
|
|
1020
|
+
border: none;
|
|
1021
|
+
padding: 0;
|
|
1022
|
+
width: 90vw;
|
|
1023
|
+
max-width: 1080px;
|
|
1024
|
+
background: transparent;
|
|
1025
|
+
overflow: hidden;
|
|
1026
|
+
}
|
|
1027
|
+
.Modal_module_modal::backdrop {
|
|
1028
|
+
background: rgba(0, 0, 0, 0.75);
|
|
1029
|
+
}
|
|
1030
|
+
.Modal_module_modal .Modal_module_inner {
|
|
1031
|
+
display: flex;
|
|
1032
|
+
flex-direction: column;
|
|
1033
|
+
gap: var(--spacing-md);
|
|
1034
|
+
padding: var(--spacing-md);
|
|
1035
|
+
background: var(--color-white);
|
|
1036
|
+
border-radius: 16px 16px 0 0;
|
|
1037
|
+
box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
|
|
1038
|
+
}
|
|
1039
|
+
.Modal_module_modal .Modal_module_header {
|
|
1040
|
+
display: flex;
|
|
1041
|
+
justify-content: flex-end;
|
|
1042
|
+
}
|
|
1043
|
+
.Modal_module_modal .Modal_module_close {
|
|
1044
|
+
width: 44px;
|
|
1045
|
+
height: 44px;
|
|
1046
|
+
padding: 0;
|
|
1047
|
+
}
|
|
1048
|
+
@media (max-width: 768px) {
|
|
1049
|
+
.Modal_module_modal {
|
|
1050
|
+
width: 100vw;
|
|
1051
|
+
}
|
|
1052
|
+
.Modal_module_modal .Modal_module_inner {
|
|
1053
|
+
border-radius: 0;
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1013
1057
|
/* src/components/Pagination/Pagination.module.scss */
|
|
1014
1058
|
.Pagination_module_pagination {
|
|
1015
1059
|
display: flex;
|
|
@@ -2567,6 +2611,74 @@ a:hover {
|
|
|
2567
2611
|
background: var(--color-gradient-white);
|
|
2568
2612
|
}
|
|
2569
2613
|
|
|
2614
|
+
/* src/widgets/CardCarousel/CardCarousel.module.scss */
|
|
2615
|
+
.CardCarousel_module_cardCarousel {
|
|
2616
|
+
background-color: var(--color-white);
|
|
2617
|
+
}
|
|
2618
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_header {
|
|
2619
|
+
display: flex;
|
|
2620
|
+
align-items: flex-end;
|
|
2621
|
+
justify-content: space-between;
|
|
2622
|
+
gap: var(--spacing-xl);
|
|
2623
|
+
margin-bottom: var(--spacing-xl);
|
|
2624
|
+
}
|
|
2625
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_texts {
|
|
2626
|
+
display: flex;
|
|
2627
|
+
flex-direction: column;
|
|
2628
|
+
gap: var(--spacing-sm);
|
|
2629
|
+
max-width: 900px;
|
|
2630
|
+
}
|
|
2631
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_texts h2 {
|
|
2632
|
+
color: var(--color-black);
|
|
2633
|
+
}
|
|
2634
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_texts .CardCarousel_module_subtitle {
|
|
2635
|
+
color: var(--color-gray);
|
|
2636
|
+
}
|
|
2637
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_pagination {
|
|
2638
|
+
flex-shrink: 0;
|
|
2639
|
+
}
|
|
2640
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_pagination > button:disabled {
|
|
2641
|
+
opacity: 0.3;
|
|
2642
|
+
cursor: default;
|
|
2643
|
+
}
|
|
2644
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_swiper .swiper-slide {
|
|
2645
|
+
width: calc((100% - 32px) / 2.5);
|
|
2646
|
+
height: auto;
|
|
2647
|
+
}
|
|
2648
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_video {
|
|
2649
|
+
display: block;
|
|
2650
|
+
width: 100%;
|
|
2651
|
+
aspect-ratio: 16/9;
|
|
2652
|
+
}
|
|
2653
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_footnote {
|
|
2654
|
+
margin-top: var(--spacing-xl);
|
|
2655
|
+
color: var(--color-gray);
|
|
2656
|
+
}
|
|
2657
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_card {
|
|
2658
|
+
height: 100%;
|
|
2659
|
+
}
|
|
2660
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_card > a,
|
|
2661
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_card > button {
|
|
2662
|
+
margin-top: auto;
|
|
2663
|
+
}
|
|
2664
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_card > div:empty {
|
|
2665
|
+
display: none;
|
|
2666
|
+
}
|
|
2667
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_card.CardCarousel_module_locked > div {
|
|
2668
|
+
filter: blur(9.8px);
|
|
2669
|
+
pointer-events: none;
|
|
2670
|
+
user-select: none;
|
|
2671
|
+
}
|
|
2672
|
+
@media (max-width: 768px) {
|
|
2673
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_swiper .swiper-slide {
|
|
2674
|
+
width: 88%;
|
|
2675
|
+
}
|
|
2676
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_card > a,
|
|
2677
|
+
.CardCarousel_module_cardCarousel .CardCarousel_module_card > button {
|
|
2678
|
+
width: 100%;
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2570
2682
|
/* src/widgets/CardCollection/CardCollection.module.scss */
|
|
2571
2683
|
.CardCollection_module_card-collection {
|
|
2572
2684
|
display: block;
|
|
@@ -6665,56 +6777,6 @@ a:hover {
|
|
|
6665
6777
|
.TextCenterWithMedia_module_playButton img {
|
|
6666
6778
|
display: block;
|
|
6667
6779
|
}
|
|
6668
|
-
.TextCenterWithMedia_module_modal {
|
|
6669
|
-
position: fixed;
|
|
6670
|
-
top: 50%;
|
|
6671
|
-
left: 50%;
|
|
6672
|
-
transform: translate(-50%, -50%);
|
|
6673
|
-
margin: 0;
|
|
6674
|
-
border: none;
|
|
6675
|
-
padding: 0;
|
|
6676
|
-
width: 90vw;
|
|
6677
|
-
max-width: 1080px;
|
|
6678
|
-
background: transparent;
|
|
6679
|
-
overflow: hidden;
|
|
6680
|
-
}
|
|
6681
|
-
.TextCenterWithMedia_module_modal::backdrop {
|
|
6682
|
-
background: rgba(0, 0, 0, 0.75);
|
|
6683
|
-
}
|
|
6684
|
-
@media (max-width: 768px) {
|
|
6685
|
-
.TextCenterWithMedia_module_modal {
|
|
6686
|
-
width: 100vw;
|
|
6687
|
-
}
|
|
6688
|
-
}
|
|
6689
|
-
.TextCenterWithMedia_module_modalInner {
|
|
6690
|
-
display: flex;
|
|
6691
|
-
flex-direction: column;
|
|
6692
|
-
gap: var(--spacing-md);
|
|
6693
|
-
padding: var(--spacing-md);
|
|
6694
|
-
background: var(--color-white);
|
|
6695
|
-
border-radius: 16px 16px 0 0;
|
|
6696
|
-
box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
|
|
6697
|
-
}
|
|
6698
|
-
@media (max-width: 768px) {
|
|
6699
|
-
.TextCenterWithMedia_module_modalInner {
|
|
6700
|
-
border-radius: 0;
|
|
6701
|
-
}
|
|
6702
|
-
}
|
|
6703
|
-
.TextCenterWithMedia_module_modalHeader {
|
|
6704
|
-
display: flex;
|
|
6705
|
-
justify-content: flex-end;
|
|
6706
|
-
}
|
|
6707
|
-
.TextCenterWithMedia_module_closeButton {
|
|
6708
|
-
display: flex;
|
|
6709
|
-
align-items: center;
|
|
6710
|
-
justify-content: center;
|
|
6711
|
-
width: 44px;
|
|
6712
|
-
height: 44px;
|
|
6713
|
-
background: none;
|
|
6714
|
-
border: none;
|
|
6715
|
-
cursor: pointer;
|
|
6716
|
-
padding: 0;
|
|
6717
|
-
}
|
|
6718
6780
|
.TextCenterWithMedia_module_video {
|
|
6719
6781
|
display: block;
|
|
6720
6782
|
width: 100%;
|
|
@@ -7267,4 +7329,202 @@ a:hover {
|
|
|
7267
7329
|
text-overflow: ellipsis;
|
|
7268
7330
|
white-space: nowrap;
|
|
7269
7331
|
}
|
|
7332
|
+
|
|
7333
|
+
/* src/widgets/TimelineCards/TimelineCards.module.scss */
|
|
7334
|
+
html,
|
|
7335
|
+
body {
|
|
7336
|
+
font-family: "Instrument Sans", sans-serif;
|
|
7337
|
+
font-size: 1rem;
|
|
7338
|
+
font-weight: 500;
|
|
7339
|
+
line-height: 1.5;
|
|
7340
|
+
color: #4d4d4d;
|
|
7341
|
+
}
|
|
7342
|
+
h1,
|
|
7343
|
+
.TimelineCards_module_h1 {
|
|
7344
|
+
font-size: 3rem;
|
|
7345
|
+
font-weight: 600;
|
|
7346
|
+
line-height: 1.17;
|
|
7347
|
+
}
|
|
7348
|
+
@media (max-width: 768px) {
|
|
7349
|
+
h1,
|
|
7350
|
+
.TimelineCards_module_h1 {
|
|
7351
|
+
font-size: 2rem;
|
|
7352
|
+
}
|
|
7353
|
+
}
|
|
7354
|
+
h2,
|
|
7355
|
+
.TimelineCards_module_h2 {
|
|
7356
|
+
font-size: 2.5rem;
|
|
7357
|
+
font-weight: 600;
|
|
7358
|
+
line-height: 1.2;
|
|
7359
|
+
}
|
|
7360
|
+
@media (max-width: 768px) {
|
|
7361
|
+
h2,
|
|
7362
|
+
.TimelineCards_module_h2 {
|
|
7363
|
+
font-size: 1.5rem;
|
|
7364
|
+
}
|
|
7365
|
+
}
|
|
7366
|
+
h3,
|
|
7367
|
+
.TimelineCards_module_h3,
|
|
7368
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps .TimelineCards_module_step-container .TimelineCards_module_step-content {
|
|
7369
|
+
font-size: 2rem;
|
|
7370
|
+
font-weight: 600;
|
|
7371
|
+
line-height: 1.25;
|
|
7372
|
+
}
|
|
7373
|
+
@media (max-width: 768px) {
|
|
7374
|
+
h3,
|
|
7375
|
+
.TimelineCards_module_h3,
|
|
7376
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps .TimelineCards_module_step-container .TimelineCards_module_step-content {
|
|
7377
|
+
font-size: 1.25rem;
|
|
7378
|
+
}
|
|
7379
|
+
}
|
|
7380
|
+
h4,
|
|
7381
|
+
.TimelineCards_module_h4,
|
|
7382
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-cards-container .TimelineCards_module_timeline-card-item .TimelineCards_module_card .TimelineCards_module_card-text {
|
|
7383
|
+
font-size: 1.5rem;
|
|
7384
|
+
font-weight: 600;
|
|
7385
|
+
line-height: 1.33;
|
|
7386
|
+
}
|
|
7387
|
+
@media (max-width: 768px) {
|
|
7388
|
+
h4,
|
|
7389
|
+
.TimelineCards_module_h4,
|
|
7390
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-cards-container .TimelineCards_module_timeline-card-item .TimelineCards_module_card .TimelineCards_module_card-text {
|
|
7391
|
+
font-size: 18px;
|
|
7392
|
+
}
|
|
7393
|
+
}
|
|
7394
|
+
h5,
|
|
7395
|
+
.TimelineCards_module_h5 {
|
|
7396
|
+
font-size: 1.25rem;
|
|
7397
|
+
font-weight: 500;
|
|
7398
|
+
line-height: 1.4;
|
|
7399
|
+
}
|
|
7400
|
+
@media (max-width: 768px) {
|
|
7401
|
+
h5,
|
|
7402
|
+
.TimelineCards_module_h5 {
|
|
7403
|
+
font-size: 18px;
|
|
7404
|
+
}
|
|
7405
|
+
}
|
|
7406
|
+
.TimelineCards_module_subheading {
|
|
7407
|
+
font-size: 1.25rem;
|
|
7408
|
+
font-weight: 500;
|
|
7409
|
+
line-height: 1.4;
|
|
7410
|
+
}
|
|
7411
|
+
@media (max-width: 768px) {
|
|
7412
|
+
.TimelineCards_module_subheading {
|
|
7413
|
+
font-size: 18px;
|
|
7414
|
+
}
|
|
7415
|
+
}
|
|
7416
|
+
.TimelineCards_module_subheading strong {
|
|
7417
|
+
font-weight: 500;
|
|
7418
|
+
color: #000000;
|
|
7419
|
+
}
|
|
7420
|
+
.TimelineCards_module_body,
|
|
7421
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-cards-text {
|
|
7422
|
+
font-size: 1rem;
|
|
7423
|
+
font-weight: 500;
|
|
7424
|
+
line-height: 1.5;
|
|
7425
|
+
}
|
|
7426
|
+
small,
|
|
7427
|
+
.TimelineCards_module_small {
|
|
7428
|
+
font-size: 0.875rem;
|
|
7429
|
+
font-weight: 500;
|
|
7430
|
+
line-height: 1.5;
|
|
7431
|
+
}
|
|
7432
|
+
.TimelineCards_module_smallest {
|
|
7433
|
+
font-size: 0.75rem;
|
|
7434
|
+
font-weight: 500;
|
|
7435
|
+
line-height: 1.5;
|
|
7436
|
+
}
|
|
7437
|
+
a {
|
|
7438
|
+
color: var(--color-link);
|
|
7439
|
+
text-decoration: none;
|
|
7440
|
+
cursor: pointer;
|
|
7441
|
+
}
|
|
7442
|
+
a:hover {
|
|
7443
|
+
text-decoration: underline;
|
|
7444
|
+
}
|
|
7445
|
+
.TimelineCards_module_timeline-cards {
|
|
7446
|
+
background: var(--color-gradient-graytowhite);
|
|
7447
|
+
}
|
|
7448
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_container {
|
|
7449
|
+
display: flex;
|
|
7450
|
+
flex-direction: column;
|
|
7451
|
+
gap: var(--spacing-xl);
|
|
7452
|
+
}
|
|
7453
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_wrapper {
|
|
7454
|
+
display: flex;
|
|
7455
|
+
flex-direction: column;
|
|
7456
|
+
align-items: center;
|
|
7457
|
+
gap: 20px;
|
|
7458
|
+
}
|
|
7459
|
+
@media (max-width: 768px) {
|
|
7460
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_wrapper {
|
|
7461
|
+
flex-direction: row;
|
|
7462
|
+
gap: var(--spacing-md);
|
|
7463
|
+
}
|
|
7464
|
+
}
|
|
7465
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-cards-container .TimelineCards_module_timeline-card-item .TimelineCards_module_card {
|
|
7466
|
+
height: 100%;
|
|
7467
|
+
display: flex;
|
|
7468
|
+
flex-direction: column;
|
|
7469
|
+
gap: var(--spacing-2xl);
|
|
7470
|
+
background-color: var(--color-white);
|
|
7471
|
+
padding: var(--spacing-xl);
|
|
7472
|
+
border-radius: var(--rounded-md);
|
|
7473
|
+
box-shadow: 0px 0px 3px 0px rgba(54, 54, 54, 0.1);
|
|
7474
|
+
}
|
|
7475
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-cards-container .TimelineCards_module_timeline-card-item .TimelineCards_module_card .TimelineCards_module_card-logo {
|
|
7476
|
+
height: 40px;
|
|
7477
|
+
width: 40px;
|
|
7478
|
+
object-fit: cover;
|
|
7479
|
+
}
|
|
7480
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-cards-container .TimelineCards_module_timeline-card-item .TimelineCards_module_card .TimelineCards_module_card-text {
|
|
7481
|
+
color: var(--color-black);
|
|
7482
|
+
}
|
|
7483
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps {
|
|
7484
|
+
display: flex;
|
|
7485
|
+
align-items: center;
|
|
7486
|
+
gap: var(--spacing-md);
|
|
7487
|
+
list-style: none;
|
|
7488
|
+
}
|
|
7489
|
+
@media (max-width: 768px) {
|
|
7490
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps {
|
|
7491
|
+
flex-direction: column;
|
|
7492
|
+
}
|
|
7493
|
+
}
|
|
7494
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps .TimelineCards_module_step-container {
|
|
7495
|
+
display: grid;
|
|
7496
|
+
place-items: center;
|
|
7497
|
+
width: var(--spacing-5xl);
|
|
7498
|
+
height: var(--spacing-5xl);
|
|
7499
|
+
background-color: var(--color-white);
|
|
7500
|
+
border-radius: 50%;
|
|
7501
|
+
box-shadow: 0px 0px 3px 0px rgba(54, 54, 54, 0.1);
|
|
7502
|
+
}
|
|
7503
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps .TimelineCards_module_step-container .TimelineCards_module_step-content {
|
|
7504
|
+
color: var(--color-black);
|
|
7505
|
+
font-weight: var(--font-weight-medium);
|
|
7506
|
+
}
|
|
7507
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps .TimelineCards_module_step-divider {
|
|
7508
|
+
min-width: 0;
|
|
7509
|
+
width: 337px;
|
|
7510
|
+
max-width: 100%;
|
|
7511
|
+
height: 8px;
|
|
7512
|
+
border-radius: 32px;
|
|
7513
|
+
background-color: #d1d1d1;
|
|
7514
|
+
}
|
|
7515
|
+
@media (max-width: 1024px) {
|
|
7516
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps .TimelineCards_module_step-divider {
|
|
7517
|
+
height: 8px;
|
|
7518
|
+
width: 190px;
|
|
7519
|
+
}
|
|
7520
|
+
}
|
|
7521
|
+
@media (max-width: 768px) {
|
|
7522
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-steps .TimelineCards_module_step-divider {
|
|
7523
|
+
height: 178px;
|
|
7524
|
+
width: 8px;
|
|
7525
|
+
}
|
|
7526
|
+
}
|
|
7527
|
+
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-cards-text {
|
|
7528
|
+
color: var(--color-black);
|
|
7529
|
+
}
|
|
7270
7530
|
/*# sourceMappingURL=index.css.map */
|