@digital-b2c/coreui-kit 0.6.0 → 0.7.2
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 +164 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +231 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.mjs +164 -63
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +100 -99
package/dist/index.css
CHANGED
|
@@ -1327,6 +1327,237 @@ a:hover.Card_module_card {
|
|
|
1327
1327
|
}
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
|
+
/* src/widgets/HeroBannerCarousel/HeroBannerCarousel.module.scss */
|
|
1331
|
+
.HeroBannerCarousel_module_heroBannerCarousel {
|
|
1332
|
+
background-color: var(--color-white);
|
|
1333
|
+
padding: 48px 80px;
|
|
1334
|
+
width: 100%;
|
|
1335
|
+
}
|
|
1336
|
+
@media (max-width: 768px) {
|
|
1337
|
+
.HeroBannerCarousel_module_heroBannerCarousel {
|
|
1338
|
+
padding: 24px 16px;
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
.HeroBannerCarousel_module_inner {
|
|
1342
|
+
max-width: 1280px;
|
|
1343
|
+
margin: 0 auto;
|
|
1344
|
+
}
|
|
1345
|
+
.HeroBannerCarousel_module_header {
|
|
1346
|
+
margin-bottom: 32px;
|
|
1347
|
+
}
|
|
1348
|
+
@media (max-width: 768px) {
|
|
1349
|
+
.HeroBannerCarousel_module_header {
|
|
1350
|
+
margin-bottom: 24px;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
.HeroBannerCarousel_module_sectionTitle {
|
|
1354
|
+
margin-bottom: 8px;
|
|
1355
|
+
}
|
|
1356
|
+
.HeroBannerCarousel_module_swiperContainer {
|
|
1357
|
+
position: relative;
|
|
1358
|
+
overflow: hidden;
|
|
1359
|
+
}
|
|
1360
|
+
.HeroBannerCarousel_module_swiperContainer .swiper {
|
|
1361
|
+
overflow: visible;
|
|
1362
|
+
}
|
|
1363
|
+
.HeroBannerCarousel_module_swiperContainer .swiper-slide {
|
|
1364
|
+
width: 87%;
|
|
1365
|
+
height: 552px;
|
|
1366
|
+
}
|
|
1367
|
+
@media (max-width: 768px) {
|
|
1368
|
+
.HeroBannerCarousel_module_swiperContainer .swiper-slide {
|
|
1369
|
+
width: 100%;
|
|
1370
|
+
height: 656px;
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
.HeroBannerCarousel_module_card {
|
|
1374
|
+
position: relative;
|
|
1375
|
+
display: flex;
|
|
1376
|
+
width: 97%;
|
|
1377
|
+
height: 97%;
|
|
1378
|
+
margin: auto;
|
|
1379
|
+
border-radius: 16px;
|
|
1380
|
+
overflow: hidden;
|
|
1381
|
+
box-shadow:
|
|
1382
|
+
0 0 10px 0 rgba(54, 54, 54, 0),
|
|
1383
|
+
0 0 9px 0 rgba(54, 54, 54, 0.01),
|
|
1384
|
+
0 0 8px 0 rgba(54, 54, 54, 0.05),
|
|
1385
|
+
0 0 6px 0 rgba(54, 54, 54, 0.09),
|
|
1386
|
+
0 0 3px 0 rgba(54, 54, 54, 0.1);
|
|
1387
|
+
background:
|
|
1388
|
+
radial-gradient(
|
|
1389
|
+
ellipse at 100% 50%,
|
|
1390
|
+
#dfdfdf,
|
|
1391
|
+
#ffffff);
|
|
1392
|
+
}
|
|
1393
|
+
@media (max-width: 768px) {
|
|
1394
|
+
.HeroBannerCarousel_module_card {
|
|
1395
|
+
width: 100%;
|
|
1396
|
+
height: 100%;
|
|
1397
|
+
flex-direction: column;
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
.HeroBannerCarousel_module_cardCorner {
|
|
1401
|
+
position: absolute;
|
|
1402
|
+
top: 0;
|
|
1403
|
+
left: 0;
|
|
1404
|
+
z-index: 3;
|
|
1405
|
+
}
|
|
1406
|
+
.HeroBannerCarousel_module_cardCornerImage {
|
|
1407
|
+
display: block;
|
|
1408
|
+
}
|
|
1409
|
+
.HeroBannerCarousel_module_cardCornerDot {
|
|
1410
|
+
display: block;
|
|
1411
|
+
width: 16px;
|
|
1412
|
+
height: 16px;
|
|
1413
|
+
border-radius: 50%;
|
|
1414
|
+
background-color: #940000;
|
|
1415
|
+
margin: 10px;
|
|
1416
|
+
}
|
|
1417
|
+
.HeroBannerCarousel_module_cardContent {
|
|
1418
|
+
display: flex;
|
|
1419
|
+
flex-direction: column;
|
|
1420
|
+
justify-content: center;
|
|
1421
|
+
width: 50%;
|
|
1422
|
+
padding: 0 64px;
|
|
1423
|
+
gap: 24px;
|
|
1424
|
+
flex-shrink: 0;
|
|
1425
|
+
}
|
|
1426
|
+
@media (max-width: 768px) {
|
|
1427
|
+
.HeroBannerCarousel_module_cardContent {
|
|
1428
|
+
position: absolute;
|
|
1429
|
+
inset: 0;
|
|
1430
|
+
width: 100%;
|
|
1431
|
+
padding: 52px 24px 24px;
|
|
1432
|
+
justify-content: space-between;
|
|
1433
|
+
z-index: 2;
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
.HeroBannerCarousel_module_cardTitle {
|
|
1437
|
+
font-size: 32px;
|
|
1438
|
+
font-weight: 600;
|
|
1439
|
+
line-height: 1.25;
|
|
1440
|
+
color: var(--color-black);
|
|
1441
|
+
}
|
|
1442
|
+
@media (max-width: 768px) {
|
|
1443
|
+
.HeroBannerCarousel_module_cardTitle {
|
|
1444
|
+
color: var(--color-white);
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
.HeroBannerCarousel_module_cardBottom {
|
|
1448
|
+
display: flex;
|
|
1449
|
+
flex-direction: column;
|
|
1450
|
+
gap: 24px;
|
|
1451
|
+
}
|
|
1452
|
+
.HeroBannerCarousel_module_cardBody {
|
|
1453
|
+
font-size: 20px;
|
|
1454
|
+
font-weight: 500;
|
|
1455
|
+
line-height: 1.4;
|
|
1456
|
+
opacity: 0.7;
|
|
1457
|
+
color: var(--color-black);
|
|
1458
|
+
}
|
|
1459
|
+
@media (max-width: 768px) {
|
|
1460
|
+
.HeroBannerCarousel_module_cardBody {
|
|
1461
|
+
font-size: 18px;
|
|
1462
|
+
line-height: 1.5;
|
|
1463
|
+
color: var(--color-white);
|
|
1464
|
+
opacity: 0.85;
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
.HeroBannerCarousel_module_cardCtaContainer {
|
|
1468
|
+
display: flex;
|
|
1469
|
+
gap: 12px;
|
|
1470
|
+
}
|
|
1471
|
+
@media (max-width: 768px) {
|
|
1472
|
+
.HeroBannerCarousel_module_cardCtaContainer {
|
|
1473
|
+
flex-direction: column;
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
.HeroBannerCarousel_module_cardImageWrapper {
|
|
1477
|
+
position: relative;
|
|
1478
|
+
width: 50%;
|
|
1479
|
+
flex-shrink: 0;
|
|
1480
|
+
}
|
|
1481
|
+
@media (max-width: 768px) {
|
|
1482
|
+
.HeroBannerCarousel_module_cardImageWrapper {
|
|
1483
|
+
position: absolute;
|
|
1484
|
+
inset: 0;
|
|
1485
|
+
width: 100%;
|
|
1486
|
+
height: 100%;
|
|
1487
|
+
}
|
|
1488
|
+
.HeroBannerCarousel_module_cardImageWrapper::after {
|
|
1489
|
+
content: "";
|
|
1490
|
+
position: absolute;
|
|
1491
|
+
inset: 0;
|
|
1492
|
+
background-color: rgba(0, 0, 0, 0.48);
|
|
1493
|
+
z-index: 1;
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
.HeroBannerCarousel_module_cardImage {
|
|
1497
|
+
width: 100%;
|
|
1498
|
+
height: 100%;
|
|
1499
|
+
object-fit: cover;
|
|
1500
|
+
}
|
|
1501
|
+
.HeroBannerCarousel_module_controls {
|
|
1502
|
+
display: flex;
|
|
1503
|
+
align-items: center;
|
|
1504
|
+
justify-content: center;
|
|
1505
|
+
gap: 16px;
|
|
1506
|
+
margin-top: 32px;
|
|
1507
|
+
}
|
|
1508
|
+
@media (max-width: 768px) {
|
|
1509
|
+
.HeroBannerCarousel_module_controls {
|
|
1510
|
+
margin-top: 24px;
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
.HeroBannerCarousel_module_navButton {
|
|
1514
|
+
display: flex;
|
|
1515
|
+
align-items: center;
|
|
1516
|
+
justify-content: center;
|
|
1517
|
+
border: none;
|
|
1518
|
+
background: transparent;
|
|
1519
|
+
cursor: pointer;
|
|
1520
|
+
transition: opacity 0.2s;
|
|
1521
|
+
padding: 0;
|
|
1522
|
+
}
|
|
1523
|
+
.HeroBannerCarousel_module_navButton:disabled {
|
|
1524
|
+
opacity: 0.3;
|
|
1525
|
+
cursor: default;
|
|
1526
|
+
}
|
|
1527
|
+
@media (max-width: 768px) {
|
|
1528
|
+
.HeroBannerCarousel_module_navButton {
|
|
1529
|
+
display: none;
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
.HeroBannerCarousel_module_navIcon {
|
|
1533
|
+
width: 32px;
|
|
1534
|
+
height: 32px;
|
|
1535
|
+
}
|
|
1536
|
+
.HeroBannerCarousel_module_pagination {
|
|
1537
|
+
display: flex;
|
|
1538
|
+
align-items: center;
|
|
1539
|
+
gap: 8px;
|
|
1540
|
+
}
|
|
1541
|
+
.HeroBannerCarousel_module_dot {
|
|
1542
|
+
width: 20px;
|
|
1543
|
+
height: 20px;
|
|
1544
|
+
border-radius: 50%;
|
|
1545
|
+
border: 1px solid var(--color-black);
|
|
1546
|
+
background: transparent;
|
|
1547
|
+
cursor: pointer;
|
|
1548
|
+
padding: 0;
|
|
1549
|
+
transition:
|
|
1550
|
+
width 0.3s,
|
|
1551
|
+
border-radius 0.3s,
|
|
1552
|
+
background-color 0.3s;
|
|
1553
|
+
}
|
|
1554
|
+
.HeroBannerCarousel_module_dot.HeroBannerCarousel_module_dotActive {
|
|
1555
|
+
width: 40px;
|
|
1556
|
+
border-radius: 10px;
|
|
1557
|
+
background-color: var(--color-black);
|
|
1558
|
+
border-color: var(--color-black);
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1330
1561
|
/* src/widgets/MiniBanner/MiniBanner.module.scss */
|
|
1331
1562
|
.MiniBanner_module_minibanner {
|
|
1332
1563
|
width: 100%;
|