@digital-b2c/coreui-kit 0.15.10 → 0.16.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 +284 -217
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +215 -10
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +106 -83
- package/dist/index.d.ts +106 -83
- package/dist/index.mjs +282 -217
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -100
package/dist/index.css
CHANGED
|
@@ -2318,6 +2318,52 @@ a:hover {
|
|
|
2318
2318
|
white-space: nowrap;
|
|
2319
2319
|
}
|
|
2320
2320
|
|
|
2321
|
+
/* src/components/Loader/Loader.module.scss */
|
|
2322
|
+
.Loader_module_loader {
|
|
2323
|
+
--d: 22px;
|
|
2324
|
+
width: 4px;
|
|
2325
|
+
height: 4px;
|
|
2326
|
+
border-radius: 50%;
|
|
2327
|
+
color: #000;
|
|
2328
|
+
box-shadow:
|
|
2329
|
+
calc(1 * var(--d)) calc(0 * var(--d)) 0 0,
|
|
2330
|
+
calc(0.707 * var(--d)) calc(0.707 * var(--d)) 0 1px,
|
|
2331
|
+
calc(0 * var(--d)) calc(1 * var(--d)) 0 2px,
|
|
2332
|
+
calc(-0.707 * var(--d)) calc(0.707 * var(--d)) 0 3px,
|
|
2333
|
+
calc(-1 * var(--d)) calc(0 * var(--d)) 0 4px,
|
|
2334
|
+
calc(-0.707 * var(--d)) calc(-0.707 * var(--d)) 0 5px,
|
|
2335
|
+
calc(0 * var(--d)) calc(-1 * var(--d)) 0 6px;
|
|
2336
|
+
animation: Loader_module_l27 1s infinite steps(8);
|
|
2337
|
+
}
|
|
2338
|
+
@media (max-width: 768px) {
|
|
2339
|
+
.Loader_module_loader {
|
|
2340
|
+
--d: 16px;
|
|
2341
|
+
width: 3px;
|
|
2342
|
+
height: 3px;
|
|
2343
|
+
box-shadow:
|
|
2344
|
+
calc(1 * var(--d)) calc(0 * var(--d)) 0 0,
|
|
2345
|
+
calc(0.707 * var(--d)) calc(0.707 * var(--d)) 0 0.5px,
|
|
2346
|
+
calc(0 * var(--d)) calc(1 * var(--d)) 0 1px,
|
|
2347
|
+
calc(-0.707 * var(--d)) calc(0.707 * var(--d)) 0 1.5px,
|
|
2348
|
+
calc(-1 * var(--d)) calc(0 * var(--d)) 0 2px,
|
|
2349
|
+
calc(-0.707 * var(--d)) calc(-0.707 * var(--d)) 0 3px,
|
|
2350
|
+
calc(0 * var(--d)) calc(-1 * var(--d)) 0 2px;
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
@keyframes Loader_module_l27 {
|
|
2354
|
+
100% {
|
|
2355
|
+
transform: rotate(1turn);
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
@keyframes Loader_module_fadeIn {
|
|
2359
|
+
from {
|
|
2360
|
+
opacity: 0;
|
|
2361
|
+
}
|
|
2362
|
+
to {
|
|
2363
|
+
opacity: 1;
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2321
2367
|
/* src/widgets/CardCollection/CardCollection.module.scss */
|
|
2322
2368
|
.CardCollection_module_card-collection {
|
|
2323
2369
|
display: block;
|
|
@@ -2891,6 +2937,7 @@ a:hover {
|
|
|
2891
2937
|
flex-direction: column;
|
|
2892
2938
|
gap: var(--spacing-sm);
|
|
2893
2939
|
color: var(--color-white);
|
|
2940
|
+
max-width: 634px;
|
|
2894
2941
|
}
|
|
2895
2942
|
.HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_titleLogo {
|
|
2896
2943
|
max-width: 500px;
|
|
@@ -2929,6 +2976,22 @@ a:hover {
|
|
|
2929
2976
|
width: 32px;
|
|
2930
2977
|
height: 32px;
|
|
2931
2978
|
}
|
|
2979
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_internal .HeroBanner_module_container {
|
|
2980
|
+
height: calc(100dvh - 332px);
|
|
2981
|
+
}
|
|
2982
|
+
@media (max-width: 768px) {
|
|
2983
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_internal .HeroBanner_module_container {
|
|
2984
|
+
height: calc(100dvh - 247px);
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2987
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_external .HeroBanner_module_container {
|
|
2988
|
+
height: calc(100dvh - 243px);
|
|
2989
|
+
}
|
|
2990
|
+
@media (max-width: 768px) {
|
|
2991
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_external .HeroBanner_module_container {
|
|
2992
|
+
height: calc(100dvh - 152px);
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2932
2995
|
.HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner {
|
|
2933
2996
|
background-color: transparent;
|
|
2934
2997
|
padding: 0;
|
|
@@ -2940,6 +3003,22 @@ a:hover {
|
|
|
2940
3003
|
border-radius: 0;
|
|
2941
3004
|
overflow: visible;
|
|
2942
3005
|
}
|
|
3006
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner.HeroBanner_module_external .HeroBanner_module_container {
|
|
3007
|
+
height: calc(100dvh - 195px);
|
|
3008
|
+
}
|
|
3009
|
+
@media (max-width: 768px) {
|
|
3010
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner.HeroBanner_module_external .HeroBanner_module_container {
|
|
3011
|
+
height: calc(100dvh - 104px);
|
|
3012
|
+
}
|
|
3013
|
+
}
|
|
3014
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner.home-mainHeroBanner-external .HeroBanner_module_container {
|
|
3015
|
+
height: calc(100dvh - 64px);
|
|
3016
|
+
}
|
|
3017
|
+
@media (max-width: 768px) {
|
|
3018
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner.home-mainHeroBanner-external .HeroBanner_module_container {
|
|
3019
|
+
height: calc(100dvh - 48px);
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
2943
3022
|
.HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast {
|
|
2944
3023
|
padding: 0;
|
|
2945
3024
|
}
|
|
@@ -2957,6 +3036,9 @@ a:hover {
|
|
|
2957
3036
|
padding: 0;
|
|
2958
3037
|
justify-content: center;
|
|
2959
3038
|
}
|
|
3039
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text {
|
|
3040
|
+
max-width: none;
|
|
3041
|
+
}
|
|
2960
3042
|
.HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_title {
|
|
2961
3043
|
color: var(--color-black);
|
|
2962
3044
|
}
|
|
@@ -2978,13 +3060,18 @@ a:hover {
|
|
|
2978
3060
|
.HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_horizontalGradient > * {
|
|
2979
3061
|
flex: 1;
|
|
2980
3062
|
}
|
|
3063
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast.HeroBanner_module_external .HeroBanner_module_container {
|
|
3064
|
+
height: calc(100dvh - 139px);
|
|
3065
|
+
}
|
|
3066
|
+
@media (max-width: 768px) {
|
|
3067
|
+
.HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast.HeroBanner_module_external .HeroBanner_module_container {
|
|
3068
|
+
height: calc(100dvh - 64px);
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
2981
3071
|
@media (max-width: 768px) {
|
|
2982
3072
|
.HeroBanner_module_heroBanner {
|
|
2983
3073
|
padding: 24px 16px;
|
|
2984
3074
|
}
|
|
2985
|
-
.HeroBanner_module_heroBanner .HeroBanner_module_container {
|
|
2986
|
-
height: calc(100dvh - 96px);
|
|
2987
|
-
}
|
|
2988
3075
|
.HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner {
|
|
2989
3076
|
padding: 0;
|
|
2990
3077
|
}
|
|
@@ -3010,9 +3097,15 @@ a:hover {
|
|
|
3010
3097
|
.HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_logoWrapper .HeroBanner_module_logo {
|
|
3011
3098
|
width: 100%;
|
|
3012
3099
|
}
|
|
3100
|
+
.HeroBanner_module_heroBanner .HeroBanner_module_container {
|
|
3101
|
+
height: calc(100dvh - 96px);
|
|
3102
|
+
}
|
|
3013
3103
|
.HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner {
|
|
3014
3104
|
padding: var(--spacing-lg) var(--spacing-md);
|
|
3015
3105
|
}
|
|
3106
|
+
.HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text {
|
|
3107
|
+
max-width: none;
|
|
3108
|
+
}
|
|
3016
3109
|
.HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_ctaContainer {
|
|
3017
3110
|
flex-direction: column;
|
|
3018
3111
|
}
|
|
@@ -4333,11 +4426,16 @@ a:hover {
|
|
|
4333
4426
|
color: var(--color-true-black);
|
|
4334
4427
|
text-decoration: none;
|
|
4335
4428
|
padding-left: var(--spacing-lg);
|
|
4429
|
+
font-weight: var(--font-weight-medium);
|
|
4336
4430
|
}
|
|
4337
4431
|
.Navigation_module_mobileSubLink:hover,
|
|
4338
4432
|
.Navigation_module_mobileSubLink:focus-visible {
|
|
4433
|
+
font-weight: var(--font-weight-bold);
|
|
4339
4434
|
text-decoration: none;
|
|
4340
4435
|
}
|
|
4436
|
+
.Navigation_module_mobileSubLinkActive {
|
|
4437
|
+
font-weight: var(--font-weight-bold);
|
|
4438
|
+
}
|
|
4341
4439
|
.Navigation_module_mobileMenuCtas {
|
|
4342
4440
|
position: sticky;
|
|
4343
4441
|
bottom: 0;
|
|
@@ -4598,6 +4696,10 @@ a:hover {
|
|
|
4598
4696
|
outline: 3px solid var(--color-link);
|
|
4599
4697
|
outline-offset: 2px;
|
|
4600
4698
|
}
|
|
4699
|
+
.Navigation_module_dropdownLinkActive {
|
|
4700
|
+
font-weight: var(--font-weight-bold);
|
|
4701
|
+
color: var(--color-true-black);
|
|
4702
|
+
}
|
|
4601
4703
|
.Navigation_module_dropdownDivider {
|
|
4602
4704
|
width: 2px;
|
|
4603
4705
|
height: 160px;
|
|
@@ -4629,20 +4731,70 @@ a:hover {
|
|
|
4629
4731
|
}
|
|
4630
4732
|
.Navigation_module_brandBar {
|
|
4631
4733
|
display: flex;
|
|
4734
|
+
flex-direction: column;
|
|
4632
4735
|
align-items: center;
|
|
4633
4736
|
justify-content: center;
|
|
4737
|
+
overflow: hidden;
|
|
4634
4738
|
height: 8px;
|
|
4635
|
-
|
|
4739
|
+
padding: 0 51px;
|
|
4740
|
+
transition:
|
|
4741
|
+
height 0.35s ease 0.3s,
|
|
4742
|
+
padding 0.35s ease 0.3s,
|
|
4743
|
+
box-shadow 0.35s ease 0.3s;
|
|
4744
|
+
}
|
|
4745
|
+
@media (max-width: 768px) {
|
|
4746
|
+
.Navigation_module_brandBar {
|
|
4747
|
+
padding: 0 var(--spacing-md);
|
|
4748
|
+
}
|
|
4749
|
+
}
|
|
4750
|
+
.Navigation_module_brandBar:first-child {
|
|
4751
|
+
align-items: flex-end;
|
|
4752
|
+
padding-left: 0;
|
|
4753
|
+
}
|
|
4754
|
+
.Navigation_module_brandBar:last-child {
|
|
4755
|
+
align-items: flex-start;
|
|
4756
|
+
padding-right: 0;
|
|
4757
|
+
}
|
|
4758
|
+
.Navigation_module_brandBar:not(:first-child):not(:last-child) {
|
|
4759
|
+
max-width: 360px;
|
|
4636
4760
|
}
|
|
4637
4761
|
.Navigation_module_brandBarsUnfolded .Navigation_module_brandBar {
|
|
4638
4762
|
height: 95px;
|
|
4639
4763
|
box-shadow: 0px 0px 4px rgba(54, 54, 54, 0.1);
|
|
4764
|
+
padding: 24px 51px;
|
|
4765
|
+
transition:
|
|
4766
|
+
height 0.35s ease,
|
|
4767
|
+
padding 0.35s ease,
|
|
4768
|
+
box-shadow 0.35s ease;
|
|
4769
|
+
}
|
|
4770
|
+
@media (max-width: 768px) {
|
|
4771
|
+
.Navigation_module_brandBarsUnfolded .Navigation_module_brandBar {
|
|
4772
|
+
height: 64px;
|
|
4773
|
+
padding: var(--spacing-md);
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4776
|
+
.Navigation_module_brandBarsUnfolded .Navigation_module_brandBar:first-child {
|
|
4777
|
+
padding-left: 0;
|
|
4778
|
+
}
|
|
4779
|
+
@media (max-width: 768px) {
|
|
4780
|
+
.Navigation_module_brandBarsUnfolded .Navigation_module_brandBar:first-child {
|
|
4781
|
+
padding-left: var(--spacing-md);
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
.Navigation_module_brandBarsUnfolded .Navigation_module_brandBar:last-child {
|
|
4785
|
+
padding-right: 0;
|
|
4786
|
+
}
|
|
4787
|
+
@media (max-width: 768px) {
|
|
4788
|
+
.Navigation_module_brandBarsUnfolded .Navigation_module_brandBar:last-child {
|
|
4789
|
+
padding-right: var(--spacing-md);
|
|
4790
|
+
}
|
|
4640
4791
|
}
|
|
4641
4792
|
.Navigation_module_brandBarsUnfolded .Navigation_module_brandLogo {
|
|
4642
4793
|
opacity: 1;
|
|
4794
|
+
transition: opacity 0.35s ease;
|
|
4643
4795
|
}
|
|
4644
4796
|
.Navigation_module_brandLogo {
|
|
4645
|
-
max-width:
|
|
4797
|
+
max-width: 100%;
|
|
4646
4798
|
max-height: 70px;
|
|
4647
4799
|
width: auto;
|
|
4648
4800
|
height: auto;
|
|
@@ -4651,6 +4803,11 @@ a:hover {
|
|
|
4651
4803
|
transition: opacity 0.35s ease 0.3s;
|
|
4652
4804
|
pointer-events: none;
|
|
4653
4805
|
}
|
|
4806
|
+
@media (max-width: 768px) {
|
|
4807
|
+
.Navigation_module_brandLogo {
|
|
4808
|
+
max-height: 40px;
|
|
4809
|
+
}
|
|
4810
|
+
}
|
|
4654
4811
|
.Navigation_module_lenscrafters {
|
|
4655
4812
|
flex: 366 0 0;
|
|
4656
4813
|
background-color: var(--color-lenscrafter-blue);
|
|
@@ -4691,6 +4848,10 @@ a:hover {
|
|
|
4691
4848
|
justify-content: space-between;
|
|
4692
4849
|
padding: 13px var(--spacing-md);
|
|
4693
4850
|
}
|
|
4851
|
+
.Navigation_module_mobileBrandBars {
|
|
4852
|
+
display: flex;
|
|
4853
|
+
flex-shrink: 0;
|
|
4854
|
+
}
|
|
4694
4855
|
.Navigation_module_mobileClose {
|
|
4695
4856
|
display: flex;
|
|
4696
4857
|
align-items: center;
|
|
@@ -4707,10 +4868,6 @@ a:hover {
|
|
|
4707
4868
|
border-radius: 0.25rem;
|
|
4708
4869
|
outline: 3px solid var(--color-link);
|
|
4709
4870
|
}
|
|
4710
|
-
.Navigation_module_mobileBrandBars {
|
|
4711
|
-
display: flex;
|
|
4712
|
-
width: 100%;
|
|
4713
|
-
}
|
|
4714
4871
|
.Navigation_module_mobileItems {
|
|
4715
4872
|
flex: 1;
|
|
4716
4873
|
display: flex;
|
|
@@ -4787,15 +4944,20 @@ a:hover {
|
|
|
4787
4944
|
display: block;
|
|
4788
4945
|
padding-left: var(--spacing-lg);
|
|
4789
4946
|
font-size: var(--font-size-md);
|
|
4790
|
-
font-weight: var(--font-weight-
|
|
4947
|
+
font-weight: var(--font-weight-medium);
|
|
4791
4948
|
color: var(--color-gray);
|
|
4792
4949
|
text-decoration: none;
|
|
4793
4950
|
}
|
|
4794
4951
|
.Navigation_module_internalMobileSubLink:hover,
|
|
4795
4952
|
.Navigation_module_internalMobileSubLink:focus-visible {
|
|
4953
|
+
font-weight: var(--font-weight-bold);
|
|
4796
4954
|
color: var(--color-true-black);
|
|
4797
4955
|
text-decoration: none;
|
|
4798
4956
|
}
|
|
4957
|
+
.Navigation_module_internalMobileSubLinkActive {
|
|
4958
|
+
font-weight: var(--font-weight-bold);
|
|
4959
|
+
color: var(--color-true-black);
|
|
4960
|
+
}
|
|
4799
4961
|
.Navigation_module_mobileFooter {
|
|
4800
4962
|
position: sticky;
|
|
4801
4963
|
bottom: 0;
|
|
@@ -6444,4 +6606,47 @@ a:hover {
|
|
|
6444
6606
|
margin-top: 24px;
|
|
6445
6607
|
}
|
|
6446
6608
|
}
|
|
6609
|
+
|
|
6610
|
+
/* src/widgets/PageLoader/PageLoader.module.scss */
|
|
6611
|
+
.PageLoader_module_container {
|
|
6612
|
+
min-height: 100svh;
|
|
6613
|
+
display: grid;
|
|
6614
|
+
place-items: center;
|
|
6615
|
+
animation: PageLoader_module_fadeIn 0.3s ease-in forwards;
|
|
6616
|
+
}
|
|
6617
|
+
.PageLoader_module_container .PageLoader_module_wrapper {
|
|
6618
|
+
display: flex;
|
|
6619
|
+
flex-direction: column;
|
|
6620
|
+
align-items: center;
|
|
6621
|
+
gap: 30px;
|
|
6622
|
+
}
|
|
6623
|
+
.PageLoader_module_container .PageLoader_module_wrapper .PageLoader_module_image-logo {
|
|
6624
|
+
height: 40px;
|
|
6625
|
+
min-width: 314px;
|
|
6626
|
+
}
|
|
6627
|
+
.PageLoader_module_container .PageLoader_module_wrapper .PageLoader_module_loader-wrapper {
|
|
6628
|
+
width: 70px;
|
|
6629
|
+
height: 70px;
|
|
6630
|
+
display: flex;
|
|
6631
|
+
justify-content: center;
|
|
6632
|
+
align-items: center;
|
|
6633
|
+
}
|
|
6634
|
+
.PageLoader_module_container .PageLoader_module_wrapper .PageLoader_module_loader-text {
|
|
6635
|
+
font-size: 18px;
|
|
6636
|
+
}
|
|
6637
|
+
@media (max-width: 768px) {
|
|
6638
|
+
.PageLoader_module_container .PageLoader_module_wrapper .PageLoader_module_image-logo {
|
|
6639
|
+
min-width: 0;
|
|
6640
|
+
width: auto;
|
|
6641
|
+
height: 35px;
|
|
6642
|
+
}
|
|
6643
|
+
}
|
|
6644
|
+
@keyframes PageLoader_module_fadeIn {
|
|
6645
|
+
from {
|
|
6646
|
+
opacity: 0;
|
|
6647
|
+
}
|
|
6648
|
+
to {
|
|
6649
|
+
opacity: 1;
|
|
6650
|
+
}
|
|
6651
|
+
}
|
|
6447
6652
|
/*# sourceMappingURL=index.css.map */
|