@digital-b2c/coreui-kit 0.8.0 → 0.10.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.css CHANGED
@@ -168,7 +168,6 @@ h4,
168
168
  font-size: 18px;
169
169
  }
170
170
  }
171
- p,
172
171
  .body {
173
172
  font-size: 1rem;
174
173
  font-weight: 500;
@@ -829,6 +828,43 @@ a:hover.Card_module_card {
829
828
  }
830
829
  }
831
830
 
831
+ /* src/components/LogoBar/LogoBar.module.scss */
832
+ .LogoBar_module_logoBar {
833
+ display: flex;
834
+ flex-wrap: nowrap;
835
+ overflow-x: auto;
836
+ align-items: center;
837
+ justify-content: space-between;
838
+ gap: var(--spacing-sm);
839
+ max-width: 303px;
840
+ }
841
+ .LogoBar_module_logoBar a {
842
+ position: relative;
843
+ flex-shrink: 0;
844
+ }
845
+ .LogoBar_module_logoBar a .LogoBar_module_logoWrapper {
846
+ position: relative;
847
+ display: flex;
848
+ align-items: center;
849
+ justify-content: center;
850
+ }
851
+ .LogoBar_module_logoBar a .LogoBar_module_logoWrapper .LogoBar_module_logo {
852
+ display: block;
853
+ object-fit: contain;
854
+ max-height: 48px;
855
+ }
856
+ .LogoBar_module_logoBar a .LogoBar_module_logoWrapper .LogoBar_module_logoHover {
857
+ position: absolute;
858
+ inset: 0;
859
+ opacity: 0;
860
+ transition: opacity 0.3s ease-in-out;
861
+ object-fit: contain;
862
+ max-height: 48px;
863
+ }
864
+ .LogoBar_module_logoBar a:hover .LogoBar_module_logoHover {
865
+ opacity: 1;
866
+ }
867
+
832
868
  /* src/widgets/CardCollection/CardCollection.module.scss */
833
869
  .CardCollection_module_card-collection {
834
870
  display: block;
@@ -1278,72 +1314,27 @@ a:hover.Card_module_card {
1278
1314
  .HeroBanner_module_heroBanner {
1279
1315
  width: 100%;
1280
1316
  position: relative;
1281
- }
1282
- .HeroBanner_module_heroBanner.HeroBanner_module_pageHeroBanner {
1283
1317
  background-color: #f3f3f3;
1284
1318
  padding: 48px 80px 0 80px;
1285
1319
  }
1286
- .HeroBanner_module_heroBanner.HeroBanner_module_pageHeroBanner .HeroBanner_module_container {
1287
- max-width: 1280px;
1288
- height: calc(100dvh - 112px);
1289
- margin: 0 auto;
1290
- border-radius: 16px;
1291
- overflow: hidden;
1292
- }
1293
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container {
1294
- flex-direction: row;
1295
- align-items: center;
1296
- justify-content: center;
1297
- height: 100dvh;
1298
- padding: var(--spacing-7xl);
1299
- gap: 64px;
1300
- }
1301
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner {
1302
- padding: 0;
1303
- justify-content: center;
1304
- }
1305
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_title {
1306
- color: var(--color-black);
1307
- }
1308
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_subtitle {
1309
- color: var(--color-gray);
1310
- }
1311
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_logoWrapper {
1312
- z-index: 2;
1313
- }
1314
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_logoWrapper .HeroBanner_module_logo {
1315
- object-fit: contain;
1316
- max-width: 466px;
1317
- }
1318
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_horizontalGradient {
1319
- display: flex;
1320
- height: 8px;
1321
- }
1322
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_horizontalGradient .HeroBanner_module_lensCrafters {
1323
- background-color: var(--color-lenscrafter-blue);
1324
- }
1325
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_horizontalGradient .HeroBanner_module_forEyes {
1326
- background-color: var(--color-foreyes-brown);
1327
- }
1328
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_horizontalGradient .HeroBanner_module_optical {
1329
- background-color: var(--color-targetoptical-red);
1330
- }
1331
- .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_horizontalGradient .HeroBanner_module_pearleVision {
1332
- background-color: var(--color-pearlevision-green);
1333
- }
1334
1320
  .HeroBanner_module_heroBanner .HeroBanner_module_container {
1335
1321
  position: relative;
1336
1322
  display: flex;
1337
1323
  flex-direction: column;
1338
1324
  justify-content: end;
1339
- height: calc(100dvh - 64px);
1325
+ max-width: 1280px;
1326
+ height: calc(100dvh - 112px);
1327
+ margin: 0 auto;
1328
+ border-radius: 16px;
1329
+ overflow: hidden;
1340
1330
  }
1341
1331
  .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner {
1342
1332
  display: flex;
1343
1333
  flex-direction: column;
1344
1334
  justify-content: end;
1335
+ max-width: 1440px;
1336
+ margin: 0 auto;
1345
1337
  width: 100%;
1346
- max-width: 661px;
1347
1338
  height: 100%;
1348
1339
  gap: var(--spacing-lg);
1349
1340
  padding: var(--spacing-7xl);
@@ -1355,6 +1346,16 @@ a:hover.Card_module_card {
1355
1346
  gap: var(--spacing-sm);
1356
1347
  color: var(--color-white);
1357
1348
  }
1349
+ .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_titleLogo {
1350
+ max-width: 500px;
1351
+ }
1352
+ .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_title {
1353
+ letter-spacing: -0.02em;
1354
+ }
1355
+ .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_subtitle {
1356
+ color: var(--color-light-gray-2);
1357
+ letter-spacing: -0.01em;
1358
+ }
1358
1359
  .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_ctaContainer {
1359
1360
  display: flex;
1360
1361
  gap: var(--spacing-sm);
@@ -1382,12 +1383,67 @@ a:hover.Card_module_card {
1382
1383
  width: 32px;
1383
1384
  height: 32px;
1384
1385
  }
1386
+ .HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner {
1387
+ background-color: transparent;
1388
+ padding: 0;
1389
+ }
1390
+ .HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner .HeroBanner_module_container {
1391
+ max-width: unset;
1392
+ height: calc(100dvh - 64px);
1393
+ margin: unset;
1394
+ border-radius: 0;
1395
+ overflow: visible;
1396
+ }
1397
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast {
1398
+ padding: 0;
1399
+ }
1400
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container {
1401
+ flex-direction: row;
1402
+ align-items: center;
1403
+ justify-content: center;
1404
+ max-width: 1440px;
1405
+ margin: 0 auto;
1406
+ height: calc(100dvh - 8px);
1407
+ padding: var(--spacing-7xl);
1408
+ gap: 64px;
1409
+ }
1410
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner {
1411
+ padding: 0;
1412
+ justify-content: center;
1413
+ }
1414
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_title {
1415
+ color: var(--color-black);
1416
+ }
1417
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_subtitle {
1418
+ color: var(--color-gray);
1419
+ }
1420
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_logoWrapper {
1421
+ z-index: 2;
1422
+ }
1423
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_logoWrapper .HeroBanner_module_logo {
1424
+ object-fit: contain;
1425
+ max-width: 466px;
1426
+ }
1427
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_horizontalGradient {
1428
+ position: relative;
1429
+ display: flex;
1430
+ height: 8px;
1431
+ }
1432
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_horizontalGradient > * {
1433
+ flex: 1;
1434
+ }
1385
1435
  @media (max-width: 768px) {
1386
- .HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner {
1436
+ .HeroBanner_module_heroBanner {
1387
1437
  padding: 24px 16px;
1388
1438
  }
1439
+ .HeroBanner_module_heroBanner .HeroBanner_module_container {
1440
+ height: calc(100dvh - 96px);
1441
+ }
1442
+ .HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner {
1443
+ padding: 0;
1444
+ }
1389
1445
  .HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner .HeroBanner_module_container {
1390
- height: calc(100dvh - 88px);
1446
+ height: calc(100dvh - 64px);
1391
1447
  }
1392
1448
  .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container {
1393
1449
  flex-direction: column;
@@ -1397,6 +1453,10 @@ a:hover.Card_module_card {
1397
1453
  .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner {
1398
1454
  order: 2;
1399
1455
  height: unset;
1456
+ gap: 16px;
1457
+ }
1458
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_logoBar {
1459
+ margin: 0 auto;
1400
1460
  }
1401
1461
  .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_logoWrapper {
1402
1462
  order: 1;
@@ -1410,6 +1470,9 @@ a:hover.Card_module_card {
1410
1470
  .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_ctaContainer {
1411
1471
  flex-direction: column;
1412
1472
  }
1473
+ .HeroBanner_module_heroBanner .HeroBanner_module_scrollDown {
1474
+ height: 48px;
1475
+ }
1413
1476
  }
1414
1477
 
1415
1478
  /* src/widgets/HeroBannerCarousel/HeroBannerCarousel.module.scss */
@@ -1710,7 +1773,6 @@ h4,
1710
1773
  font-size: 18px;
1711
1774
  }
1712
1775
  }
1713
- p,
1714
1776
  .Accordion_module_body,
1715
1777
  .Accordion_module_accordionTitle {
1716
1778
  font-size: 1rem;
@@ -1873,7 +1935,6 @@ h4,
1873
1935
  font-size: 18px;
1874
1936
  }
1875
1937
  }
1876
- p,
1877
1938
  .InternalBrandsTab_module_body,
1878
1939
  .InternalBrandsTab_module_internalBrandsTab .InternalBrandsTab_module_contentArea .InternalBrandsTab_module_bottomContent .InternalBrandsTab_module_bottomContentLeftSide .InternalBrandsTab_module_bottomContentTitle,
1879
1940
  .InternalBrandsTab_module_internalBrandsTab .InternalBrandsTab_module_contentArea .InternalBrandsTab_module_bottomContent .InternalBrandsTab_module_bottomContentLeftSide bottomContentTextList,
@@ -2838,7 +2899,6 @@ h4,
2838
2899
  font-size: 18px;
2839
2900
  }
2840
2901
  }
2841
- p,
2842
2902
  .TextEvent_module_body {
2843
2903
  font-size: 1rem;
2844
2904
  font-weight: 500;
@@ -3105,7 +3165,6 @@ h4,
3105
3165
  font-size: 18px;
3106
3166
  }
3107
3167
  }
3108
- p,
3109
3168
  .TextBody_module_body {
3110
3169
  font-size: 1rem;
3111
3170
  font-weight: 500;
@@ -3489,6 +3548,20 @@ a:hover {
3489
3548
  .ResourcesGridList_module_searchInput::placeholder {
3490
3549
  color: #9e9e9e;
3491
3550
  }
3551
+ .ResourcesGridList_module_searchClear {
3552
+ flex-shrink: 0;
3553
+ display: flex;
3554
+ align-items: center;
3555
+ justify-content: center;
3556
+ padding: 2px;
3557
+ border: none;
3558
+ background: transparent;
3559
+ color: #4d4d4d;
3560
+ cursor: pointer;
3561
+ }
3562
+ .ResourcesGridList_module_searchClear:hover {
3563
+ color: var(--base-black, #080808);
3564
+ }
3492
3565
  .ResourcesGridList_module_dropdownPanel {
3493
3566
  position: absolute;
3494
3567
  top: calc(100% + 6px);
@@ -3508,6 +3581,25 @@ a:hover {
3508
3581
  flex-direction: column;
3509
3582
  gap: 4px;
3510
3583
  }
3584
+ .ResourcesGridList_module_searchPanel {
3585
+ position: absolute;
3586
+ top: calc(100% + 6px);
3587
+ right: 0;
3588
+ z-index: 100;
3589
+ display: flex;
3590
+ align-items: center;
3591
+ gap: 8px;
3592
+ width: min(240px, 100vw - 32px);
3593
+ padding: 8px 16px;
3594
+ background: white;
3595
+ border: 1px solid #4d4d4d;
3596
+ border-radius: 16px;
3597
+ box-shadow:
3598
+ 0 0 3px rgba(54, 54, 54, 0.1),
3599
+ 0 0 6px rgba(54, 54, 54, 0.09),
3600
+ 0 0 8px rgba(54, 54, 54, 0.05),
3601
+ 0 0 9px rgba(54, 54, 54, 0.01);
3602
+ }
3511
3603
  .ResourcesGridList_module_dropdownOption {
3512
3604
  display: flex;
3513
3605
  align-items: center;
@@ -3684,6 +3776,13 @@ a:hover {
3684
3776
  display: flex;
3685
3777
  flex-direction: column;
3686
3778
  }
3779
+ .ResourcesGridList_module_cardLink {
3780
+ display: block;
3781
+ width: 100%;
3782
+ color: inherit;
3783
+ text-decoration: none;
3784
+ cursor: pointer;
3785
+ }
3687
3786
  .ResourcesGridList_module_cardGrid {
3688
3787
  width: 100%;
3689
3788
  border-radius: 8px;
@@ -3831,11 +3930,18 @@ a:hover {
3831
3930
  justify-content: center;
3832
3931
  border: none;
3833
3932
  }
3933
+ .ResourcesGridList_module_pageArrow:disabled {
3934
+ cursor: not-allowed;
3935
+ opacity: 0.4;
3936
+ }
3834
3937
  .ResourcesGridList_module_pageDotActive {
3835
3938
  width: 40px;
3836
3939
  height: 20px;
3837
3940
  border-radius: 10px;
3838
3941
  background: #080808;
3942
+ padding: 0;
3943
+ border: none;
3944
+ cursor: pointer;
3839
3945
  }
3840
3946
  .ResourcesGridList_module_pageDot {
3841
3947
  width: 20px;
@@ -3843,5 +3949,7 @@ a:hover {
3843
3949
  border-radius: 10px;
3844
3950
  border: 1px solid #cecece;
3845
3951
  background: white;
3952
+ padding: 0;
3953
+ cursor: pointer;
3846
3954
  }
3847
3955
  /*# sourceMappingURL=index.css.map */