@digital-b2c/coreui-kit 0.4.2 → 0.4.4
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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +311 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +213 -33
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +35 -5
- package/dist/index.d.ts +35 -5
- package/dist/index.mjs +311 -68
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +99 -99
package/dist/index.css
CHANGED
|
@@ -20,6 +20,7 @@ html {
|
|
|
20
20
|
--color-light-gray: #cec3c3;
|
|
21
21
|
--color-link: #0035ba;
|
|
22
22
|
--color-darkerbg: #f1f1f1;
|
|
23
|
+
--color-extra-light-gray: #dbdbdb;
|
|
23
24
|
--color-gradient-black:
|
|
24
25
|
radial-gradient(
|
|
25
26
|
98.36% 208.67% at 2.71% 100%,
|
|
@@ -448,27 +449,15 @@ a:hover {
|
|
|
448
449
|
.BrandsStrip_module_brandsStrip .BrandsStrip_module_logos {
|
|
449
450
|
display: flex;
|
|
450
451
|
gap: 120px;
|
|
451
|
-
}
|
|
452
|
-
.BrandsStrip_module_brandsStrip .BrandsStrip_module_logos.BrandsStrip_module_marquee {
|
|
453
|
-
position: relative;
|
|
454
|
-
display: flex;
|
|
455
452
|
align-items: center;
|
|
456
|
-
width: 100%;
|
|
457
|
-
height: 100%;
|
|
458
453
|
}
|
|
459
|
-
.BrandsStrip_module_brandsStrip .BrandsStrip_module_logos.
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
--marquee-gap: 120px;
|
|
463
|
-
--total-distance: calc( (var(--marquee-item-width) + var(--marquee-gap)) * var(--total-items) );
|
|
464
|
-
position: absolute;
|
|
465
|
-
inset-inline-start: 100%;
|
|
466
|
-
width: var(--marquee-item-width);
|
|
467
|
-
animation: BrandsStrip_module_scrollIndividual var(--marquee-duration) linear infinite;
|
|
468
|
-
animation-delay: calc(var(--marquee-duration) / var(--total-items) * var(--item-index) * -1);
|
|
454
|
+
.BrandsStrip_module_brandsStrip .BrandsStrip_module_logos.BrandsStrip_module_marqueeGSAP {
|
|
455
|
+
justify-content: flex-start;
|
|
456
|
+
width: max-content;
|
|
469
457
|
}
|
|
470
|
-
.BrandsStrip_module_brandsStrip .BrandsStrip_module_logos.
|
|
471
|
-
|
|
458
|
+
.BrandsStrip_module_brandsStrip .BrandsStrip_module_logos.BrandsStrip_module_marqueeGSAP .BrandsStrip_module_logoWrapper {
|
|
459
|
+
position: relative;
|
|
460
|
+
flex-shrink: 0;
|
|
472
461
|
}
|
|
473
462
|
.BrandsStrip_module_brandsStrip .BrandsStrip_module_logoWrapper {
|
|
474
463
|
flex-shrink: 0;
|
|
@@ -491,11 +480,6 @@ a:hover {
|
|
|
491
480
|
z-index: 10;
|
|
492
481
|
max-width: 295px;
|
|
493
482
|
}
|
|
494
|
-
@keyframes BrandsStrip_module_scrollIndividual {
|
|
495
|
-
to {
|
|
496
|
-
transform: translateX(calc(var(--total-distance) * -1));
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
483
|
|
|
500
484
|
/* src/components/Card/Card.module.scss */
|
|
501
485
|
.Card_module_card {
|
|
@@ -1290,16 +1274,16 @@ a:hover {
|
|
|
1290
1274
|
|
|
1291
1275
|
/* src/widgets/MiniBanner/MiniBanner.module.scss */
|
|
1292
1276
|
.MiniBanner_module_minibanner {
|
|
1293
|
-
display:
|
|
1277
|
+
display: flex;
|
|
1278
|
+
flex-direction: column;
|
|
1279
|
+
align-items: center;
|
|
1294
1280
|
width: 100%;
|
|
1295
1281
|
background-color: #f3f3f3;
|
|
1296
1282
|
min-height: 192px;
|
|
1297
1283
|
position: relative;
|
|
1298
1284
|
color: var(--color-white);
|
|
1299
1285
|
text-align: center;
|
|
1300
|
-
|
|
1301
|
-
.MiniBanner_module_minibanner .h1 {
|
|
1302
|
-
font-weight: 400;
|
|
1286
|
+
gap: var(--spacing-xl);
|
|
1303
1287
|
}
|
|
1304
1288
|
.MiniBanner_module_minibanner .MiniBanner_module_background {
|
|
1305
1289
|
position: absolute;
|
|
@@ -1310,29 +1294,68 @@ a:hover {
|
|
|
1310
1294
|
object-fit: cover;
|
|
1311
1295
|
z-index: 1;
|
|
1312
1296
|
}
|
|
1313
|
-
.MiniBanner_module_minibanner .
|
|
1297
|
+
.MiniBanner_module_minibanner .MiniBanner_module_textContainer {
|
|
1298
|
+
position: relative;
|
|
1314
1299
|
display: flex;
|
|
1315
1300
|
flex-direction: column;
|
|
1316
|
-
|
|
1317
|
-
justify-content: center;
|
|
1301
|
+
justify-items: center;
|
|
1318
1302
|
gap: var(--spacing-lg);
|
|
1319
1303
|
z-index: 2;
|
|
1320
1304
|
}
|
|
1321
|
-
.MiniBanner_module_minibanner .
|
|
1305
|
+
.MiniBanner_module_minibanner .MiniBanner_module_textContainer .MiniBanner_module_logo {
|
|
1306
|
+
max-width: 384px;
|
|
1307
|
+
}
|
|
1308
|
+
.MiniBanner_module_minibanner .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper {
|
|
1309
|
+
display: flex;
|
|
1310
|
+
gap: var(--spacing-md);
|
|
1311
|
+
}
|
|
1312
|
+
.MiniBanner_module_minibanner .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper .MiniBanner_module_title {
|
|
1313
|
+
font-weight: 400;
|
|
1314
|
+
}
|
|
1315
|
+
.MiniBanner_module_minibanner .MiniBanner_module_textContainer * {
|
|
1322
1316
|
max-width: 100%;
|
|
1323
1317
|
}
|
|
1318
|
+
.MiniBanner_module_minibanner .MiniBanner_module_ctaContainer {
|
|
1319
|
+
position: relative;
|
|
1320
|
+
width: 100%;
|
|
1321
|
+
z-index: 2;
|
|
1322
|
+
}
|
|
1324
1323
|
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG {
|
|
1325
1324
|
color: var(--color-black);
|
|
1326
1325
|
}
|
|
1327
|
-
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .
|
|
1326
|
+
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_textContainer {
|
|
1328
1327
|
gap: var(--spacing-lg);
|
|
1329
1328
|
padding: var(--spacing-5xl) 0;
|
|
1330
1329
|
}
|
|
1330
|
+
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper {
|
|
1331
|
+
gap: var(--spacing-sm);
|
|
1332
|
+
}
|
|
1333
|
+
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper .MiniBanner_module_title {
|
|
1334
|
+
font-weight: 600;
|
|
1335
|
+
}
|
|
1331
1336
|
@media (max-width: 768px) {
|
|
1332
|
-
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .
|
|
1337
|
+
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_textContainer {
|
|
1333
1338
|
padding: var(--spacing-5xl) var(--spacing-md);
|
|
1334
1339
|
}
|
|
1335
1340
|
}
|
|
1341
|
+
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft {
|
|
1342
|
+
align-items: flex-start;
|
|
1343
|
+
text-align: left;
|
|
1344
|
+
padding: var(--spacing-5xl) var(--spacing-7xl);
|
|
1345
|
+
}
|
|
1346
|
+
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft .MiniBanner_module_textContainer {
|
|
1347
|
+
gap: var(--spacing-sm);
|
|
1348
|
+
max-width: unset;
|
|
1349
|
+
}
|
|
1350
|
+
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft .MiniBanner_module_textContainer .MiniBanner_module_title {
|
|
1351
|
+
font-weight: 600;
|
|
1352
|
+
}
|
|
1353
|
+
@media (max-width: 768px) {
|
|
1354
|
+
.MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft {
|
|
1355
|
+
padding: var(--spacing-md) var(--spacing-lg);
|
|
1356
|
+
gap: var(--spacing-xl);
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1336
1359
|
|
|
1337
1360
|
/* src/widgets/MiniSectionCta/MiniSectionCta.module.scss */
|
|
1338
1361
|
.MiniSectionCta_module_miniSectionCta {
|
|
@@ -1565,4 +1588,161 @@ a:hover {
|
|
|
1565
1588
|
width: 100%;
|
|
1566
1589
|
}
|
|
1567
1590
|
}
|
|
1591
|
+
|
|
1592
|
+
/* src/components/UpcomingEventCard/UpcomingEventCard.module.scss */
|
|
1593
|
+
article {
|
|
1594
|
+
display: flex;
|
|
1595
|
+
flex-direction: row-reverse;
|
|
1596
|
+
border: 1px solid var(--color-extra-light-gray);
|
|
1597
|
+
overflow: hidden;
|
|
1598
|
+
border-radius: 0.5rem;
|
|
1599
|
+
align-items: center;
|
|
1600
|
+
background-color: var(--color-white);
|
|
1601
|
+
flex: 1;
|
|
1602
|
+
height: 100%;
|
|
1603
|
+
}
|
|
1604
|
+
article.grey {
|
|
1605
|
+
flex-direction: column;
|
|
1606
|
+
height: 100%;
|
|
1607
|
+
}
|
|
1608
|
+
@media (max-width: 768px) {
|
|
1609
|
+
article {
|
|
1610
|
+
flex-direction: column;
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
article button {
|
|
1614
|
+
margin-right: 1rem;
|
|
1615
|
+
min-width: 195px;
|
|
1616
|
+
}
|
|
1617
|
+
article button.UpcomingEventCard_module_show {
|
|
1618
|
+
display: block !important;
|
|
1619
|
+
}
|
|
1620
|
+
article button.UpcomingEventCard_module_hidden {
|
|
1621
|
+
display: none !important;
|
|
1622
|
+
}
|
|
1623
|
+
article .UpcomingEventCard_module_image {
|
|
1624
|
+
padding-right: 1rem;
|
|
1625
|
+
height: 153px;
|
|
1626
|
+
min-width: 346px;
|
|
1627
|
+
object-position: center;
|
|
1628
|
+
object-fit: cover;
|
|
1629
|
+
}
|
|
1630
|
+
article .UpcomingEventCard_module_image.grey {
|
|
1631
|
+
padding: 0;
|
|
1632
|
+
min-height: 277.26px;
|
|
1633
|
+
padding: 0;
|
|
1634
|
+
min-width: 100%;
|
|
1635
|
+
}
|
|
1636
|
+
@media (max-width: 768px) {
|
|
1637
|
+
article .UpcomingEventCard_module_image {
|
|
1638
|
+
padding: 0;
|
|
1639
|
+
width: 100%;
|
|
1640
|
+
height: 229px;
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
article .UpcomingEventCard_module_text-content {
|
|
1644
|
+
display: flex;
|
|
1645
|
+
flex-direction: column;
|
|
1646
|
+
gap: 0.5rem;
|
|
1647
|
+
padding: 1rem;
|
|
1648
|
+
height: 100%;
|
|
1649
|
+
}
|
|
1650
|
+
article .UpcomingEventCard_module_text-content.grey {
|
|
1651
|
+
height: 100%;
|
|
1652
|
+
}
|
|
1653
|
+
article .UpcomingEventCard_module_text-content.grey .UpcomingEventCard_module_cta {
|
|
1654
|
+
margin-top: auto;
|
|
1655
|
+
}
|
|
1656
|
+
article .UpcomingEventCard_module_text-content h3 {
|
|
1657
|
+
line-height: 140%;
|
|
1658
|
+
color: var(--color-black);
|
|
1659
|
+
font-size: var(--font-size-xl);
|
|
1660
|
+
}
|
|
1661
|
+
@media (max-width: 768px) {
|
|
1662
|
+
article .UpcomingEventCard_module_text-content h3 {
|
|
1663
|
+
line-height: 130%;
|
|
1664
|
+
font-size: var(--font-size-lg);
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_date {
|
|
1668
|
+
color: var(--color-gray);
|
|
1669
|
+
line-height: 150%;
|
|
1670
|
+
font-size: var(--font-size-sm);
|
|
1671
|
+
}
|
|
1672
|
+
article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_location {
|
|
1673
|
+
color: var(--color-black);
|
|
1674
|
+
line-height: 140%;
|
|
1675
|
+
font-size: var(--font-size-lg);
|
|
1676
|
+
}
|
|
1677
|
+
@media (max-width: 768px) {
|
|
1678
|
+
article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_location {
|
|
1679
|
+
line-height: 130%;
|
|
1680
|
+
font-size: 18px;
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_description {
|
|
1684
|
+
font-size: var(--font-size-md);
|
|
1685
|
+
line-height: 150%;
|
|
1686
|
+
}
|
|
1687
|
+
@media (max-width: 768px) {
|
|
1688
|
+
article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_description {
|
|
1689
|
+
font-size: var(--font-size-sm);
|
|
1690
|
+
display: -webkit-box;
|
|
1691
|
+
line-clamp: 5;
|
|
1692
|
+
-webkit-line-clamp: 5;
|
|
1693
|
+
-webkit-box-orient: vertical;
|
|
1694
|
+
overflow: hidden;
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/* src/components/Carousel/Carousel.module.scss */
|
|
1699
|
+
.Carousel_module_carousel-item {
|
|
1700
|
+
display: flex;
|
|
1701
|
+
flex-direction: row;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
/* src/widgets/EventList/EventList.module.scss */
|
|
1705
|
+
.EventList_module_section {
|
|
1706
|
+
padding: 1.5rem 1rem;
|
|
1707
|
+
}
|
|
1708
|
+
.EventList_module_section h2 {
|
|
1709
|
+
color: var(--color-black);
|
|
1710
|
+
font-size: var(--font-size-3xl);
|
|
1711
|
+
}
|
|
1712
|
+
@media (max-width: 768px) {
|
|
1713
|
+
.EventList_module_section h2 {
|
|
1714
|
+
font-size: var(--font-size-lg);
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
.EventList_module_section ul {
|
|
1718
|
+
display: flex;
|
|
1719
|
+
flex-direction: column;
|
|
1720
|
+
gap: var(--spacing-md);
|
|
1721
|
+
list-style: none;
|
|
1722
|
+
}
|
|
1723
|
+
.EventList_module_section ul.EventList_module_grey {
|
|
1724
|
+
flex-direction: row;
|
|
1725
|
+
flex: 1;
|
|
1726
|
+
}
|
|
1727
|
+
.EventList_module_section .EventList_module_header-container {
|
|
1728
|
+
display: flex;
|
|
1729
|
+
justify-content: space-between;
|
|
1730
|
+
align-items: center;
|
|
1731
|
+
gap: 12px var(--spacing-md);
|
|
1732
|
+
margin-bottom: var(--spacing-xl);
|
|
1733
|
+
}
|
|
1734
|
+
.EventList_module_section li .grey {
|
|
1735
|
+
flex: 1;
|
|
1736
|
+
}
|
|
1737
|
+
@media (max-width: 768px) {
|
|
1738
|
+
.EventList_module_section li .grey {
|
|
1739
|
+
flex: 1;
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
.EventList_module_section.EventList_module_grey {
|
|
1743
|
+
background-color: #f3f3f3;
|
|
1744
|
+
}
|
|
1745
|
+
.EventList_module_section.EventList_module_grey .swiper-wrapper {
|
|
1746
|
+
flex-direction: row;
|
|
1747
|
+
}
|
|
1568
1748
|
/*# sourceMappingURL=index.css.map */
|