@digital-b2c/coreui-kit 0.17.19 → 0.18.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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +361 -258
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +85 -93
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +128 -100
- package/dist/index.d.ts +128 -100
- package/dist/index.mjs +376 -275
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -101
package/dist/index.css
CHANGED
|
@@ -49,7 +49,7 @@ html {
|
|
|
49
49
|
rgba(0, 0, 0, 0));
|
|
50
50
|
--color-lenscrafter-blue: #192c50;
|
|
51
51
|
--color-lenscrafter-desctext: #475673;
|
|
52
|
-
--color-foreyes-brown: #
|
|
52
|
+
--color-foreyes-brown: #fe5000;
|
|
53
53
|
--color-foreyes-icontext: #a52e0d;
|
|
54
54
|
--color-foreyes-desctext: #884634;
|
|
55
55
|
--color-targetoptical-red: #d71b32;
|
|
@@ -2475,6 +2475,45 @@ a:hover {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
2478
|
+
/* src/components/BrandCard/BrandCard.module.scss */
|
|
2479
|
+
.BrandCard_module_brand-card {
|
|
2480
|
+
display: flex;
|
|
2481
|
+
flex-direction: column;
|
|
2482
|
+
justify-content: space-between;
|
|
2483
|
+
gap: var(--spacing-xl);
|
|
2484
|
+
min-height: 213px;
|
|
2485
|
+
border-radius: var(--rounded-md);
|
|
2486
|
+
padding: var(--spacing-lg);
|
|
2487
|
+
box-shadow: 0px 1px 3px 1px rgba(255, 255, 255, 0.15);
|
|
2488
|
+
box-shadow: 0px 1px 2px 0px rgba(255, 255, 255, 0.3);
|
|
2489
|
+
}
|
|
2490
|
+
.BrandCard_module_brand-card .BrandCard_module_content-wrapper {
|
|
2491
|
+
display: flex;
|
|
2492
|
+
flex-direction: column;
|
|
2493
|
+
color: var(--color-white);
|
|
2494
|
+
}
|
|
2495
|
+
.BrandCard_module_brand-card .BrandCard_module_content-wrapper .BrandCard_module_content-title {
|
|
2496
|
+
font-weight: var(--font-weight-medium);
|
|
2497
|
+
}
|
|
2498
|
+
.BrandCard_module_brand-card .BrandCard_module_content-wrapper .BrandCard_module_content-subtitle {
|
|
2499
|
+
font-weight: var(--font-weight-bold);
|
|
2500
|
+
line-height: 1.5;
|
|
2501
|
+
}
|
|
2502
|
+
.BrandCard_module_brand-card .BrandCard_module_brand-image {
|
|
2503
|
+
width: 70%;
|
|
2504
|
+
}
|
|
2505
|
+
@media (max-width: 425px) {
|
|
2506
|
+
.BrandCard_module_brand-card .BrandCard_module_brand-image {
|
|
2507
|
+
width: 100%;
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
.BrandCard_module_brand-card.BrandCard_module_dark {
|
|
2511
|
+
background: var(--color-gradient-black);
|
|
2512
|
+
}
|
|
2513
|
+
.BrandCard_module_brand-card.BrandCard_module_light {
|
|
2514
|
+
background: var(--color-gradient-white);
|
|
2515
|
+
}
|
|
2516
|
+
|
|
2478
2517
|
/* src/widgets/CardCollection/CardCollection.module.scss */
|
|
2479
2518
|
.CardCollection_module_card-collection {
|
|
2480
2519
|
display: block;
|
|
@@ -4265,99 +4304,11 @@ a:hover {
|
|
|
4265
4304
|
overflow: hidden;
|
|
4266
4305
|
}
|
|
4267
4306
|
.NavigationBrandBars_module_brandBar {
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
align-items: center;
|
|
4271
|
-
justify-content: center;
|
|
4272
|
-
overflow: hidden;
|
|
4307
|
+
flex: 1 1 0;
|
|
4308
|
+
min-width: 0;
|
|
4273
4309
|
height: 8px;
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
height 0.35s ease,
|
|
4277
|
-
padding 0.35s ease,
|
|
4278
|
-
box-shadow 0.35s ease;
|
|
4279
|
-
}
|
|
4280
|
-
@media (max-width: 768px) {
|
|
4281
|
-
.NavigationBrandBars_module_brandBar {
|
|
4282
|
-
padding: 0 var(--spacing-md);
|
|
4283
|
-
}
|
|
4284
|
-
}
|
|
4285
|
-
.NavigationBrandBars_module_brandBar:first-child {
|
|
4286
|
-
align-items: flex-end;
|
|
4287
|
-
padding-left: 0;
|
|
4288
|
-
}
|
|
4289
|
-
.NavigationBrandBars_module_brandBar:last-child {
|
|
4290
|
-
align-items: flex-start;
|
|
4291
|
-
padding-right: 0;
|
|
4292
|
-
}
|
|
4293
|
-
.NavigationBrandBars_module_brandBar:not(:first-child):not(:last-child) {
|
|
4294
|
-
max-width: 360px;
|
|
4295
|
-
}
|
|
4296
|
-
.NavigationBrandBars_module_brandBarsUnfolded .NavigationBrandBars_module_brandBar {
|
|
4297
|
-
height: 95px;
|
|
4298
|
-
box-shadow: 0 0 4px rgba(54, 54, 54, 0.1);
|
|
4299
|
-
padding: 24px 51px;
|
|
4300
|
-
transition:
|
|
4301
|
-
height 0.35s ease 0.3s,
|
|
4302
|
-
padding 0.35s ease 0.3s,
|
|
4303
|
-
box-shadow 0.35s ease 0.3s;
|
|
4304
|
-
}
|
|
4305
|
-
@media (max-width: 768px) {
|
|
4306
|
-
.NavigationBrandBars_module_brandBarsUnfolded .NavigationBrandBars_module_brandBar {
|
|
4307
|
-
height: 64px;
|
|
4308
|
-
padding: var(--spacing-md);
|
|
4309
|
-
}
|
|
4310
|
-
}
|
|
4311
|
-
.NavigationBrandBars_module_brandBarsUnfolded .NavigationBrandBars_module_brandBar:first-child {
|
|
4312
|
-
padding-left: 0;
|
|
4313
|
-
}
|
|
4314
|
-
@media (max-width: 768px) {
|
|
4315
|
-
.NavigationBrandBars_module_brandBarsUnfolded .NavigationBrandBars_module_brandBar:first-child {
|
|
4316
|
-
padding-left: var(--spacing-md);
|
|
4317
|
-
}
|
|
4318
|
-
}
|
|
4319
|
-
.NavigationBrandBars_module_brandBarsUnfolded .NavigationBrandBars_module_brandBar:last-child {
|
|
4320
|
-
padding-right: 0;
|
|
4321
|
-
}
|
|
4322
|
-
@media (max-width: 768px) {
|
|
4323
|
-
.NavigationBrandBars_module_brandBarsUnfolded .NavigationBrandBars_module_brandBar:last-child {
|
|
4324
|
-
padding-right: var(--spacing-md);
|
|
4325
|
-
}
|
|
4326
|
-
}
|
|
4327
|
-
.NavigationBrandBars_module_brandBarsUnfolded .NavigationBrandBars_module_brandLogo {
|
|
4328
|
-
opacity: 1;
|
|
4329
|
-
transition: opacity 0.35s ease 0.3s;
|
|
4330
|
-
}
|
|
4331
|
-
.NavigationBrandBars_module_brandLogo {
|
|
4332
|
-
max-width: 100%;
|
|
4333
|
-
max-height: 70px;
|
|
4334
|
-
width: auto;
|
|
4335
|
-
height: auto;
|
|
4336
|
-
object-fit: contain;
|
|
4337
|
-
opacity: 0;
|
|
4338
|
-
transition: opacity 0.35s ease;
|
|
4339
|
-
pointer-events: none;
|
|
4340
|
-
}
|
|
4341
|
-
@media (max-width: 768px) {
|
|
4342
|
-
.NavigationBrandBars_module_brandLogo {
|
|
4343
|
-
max-height: 40px;
|
|
4344
|
-
}
|
|
4345
|
-
}
|
|
4346
|
-
.NavigationBrandBars_module_lenscrafters {
|
|
4347
|
-
flex: 366 0 0;
|
|
4348
|
-
background-color: var(--color-lenscrafter-blue);
|
|
4349
|
-
}
|
|
4350
|
-
.NavigationBrandBars_module_forEyes {
|
|
4351
|
-
flex: 360 0 0;
|
|
4352
|
-
background-color: var(--color-foreyes-brown);
|
|
4353
|
-
}
|
|
4354
|
-
.NavigationBrandBars_module_optical {
|
|
4355
|
-
flex: 360 0 0;
|
|
4356
|
-
background-color: var(--color-targetoptical-red);
|
|
4357
|
-
}
|
|
4358
|
-
.NavigationBrandBars_module_pearleVision {
|
|
4359
|
-
flex: 354 0 0;
|
|
4360
|
-
background-color: var(--color-pearlevision-green);
|
|
4310
|
+
min-height: 8px;
|
|
4311
|
+
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
|
|
4361
4312
|
}
|
|
4362
4313
|
|
|
4363
4314
|
/* src/widgets/Navigation/NavigationDesktop.module.scss */
|
|
@@ -6925,4 +6876,45 @@ a:hover {
|
|
|
6925
6876
|
padding: 0;
|
|
6926
6877
|
list-style: none;
|
|
6927
6878
|
}
|
|
6879
|
+
|
|
6880
|
+
/* src/widgets/LocationsBrandCards/LocationsBrandCards.module.scss */
|
|
6881
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container {
|
|
6882
|
+
display: flex;
|
|
6883
|
+
flex-direction: column;
|
|
6884
|
+
gap: var(--spacing-xl);
|
|
6885
|
+
}
|
|
6886
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container .LocationsBrandCards_module_heading-wrapper {
|
|
6887
|
+
display: flex;
|
|
6888
|
+
flex-direction: column;
|
|
6889
|
+
gap: var(--spacing-sm);
|
|
6890
|
+
}
|
|
6891
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container .LocationsBrandCards_module_heading-wrapper .LocationsBrandCards_module_locations-brand-title {
|
|
6892
|
+
color: var(--color-black);
|
|
6893
|
+
}
|
|
6894
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container .LocationsBrandCards_module_heading-wrapper .LocationsBrandCards_module_locations-brand-subtitle {
|
|
6895
|
+
color: var(--color-gray);
|
|
6896
|
+
line-height: 1.5;
|
|
6897
|
+
}
|
|
6898
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container .LocationsBrandCards_module_content-wrapper {
|
|
6899
|
+
display: flex;
|
|
6900
|
+
align-items: center;
|
|
6901
|
+
gap: var(--spacing-sm);
|
|
6902
|
+
}
|
|
6903
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container .LocationsBrandCards_module_content-wrapper .LocationsBrandCards_module_locations-image {
|
|
6904
|
+
object-fit: cover;
|
|
6905
|
+
flex: 1;
|
|
6906
|
+
width: 100%;
|
|
6907
|
+
min-width: 0;
|
|
6908
|
+
}
|
|
6909
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container .LocationsBrandCards_module_content-wrapper .LocationsBrandCards_module_card-wrapper {
|
|
6910
|
+
flex: 1;
|
|
6911
|
+
}
|
|
6912
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container .LocationsBrandCards_module_content-wrapper .LocationsBrandCards_module_card-wrapper .LocationsBrandCards_module_card {
|
|
6913
|
+
height: 100%;
|
|
6914
|
+
}
|
|
6915
|
+
@media (max-width: 768px) {
|
|
6916
|
+
.LocationsBrandCards_module_locations-brand-cards .LocationsBrandCards_module_container .LocationsBrandCards_module_content-wrapper {
|
|
6917
|
+
flex-direction: column;
|
|
6918
|
+
}
|
|
6919
|
+
}
|
|
6928
6920
|
/*# sourceMappingURL=index.css.map */
|