@digital-b2c/coreui-kit 0.15.9 → 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/dist/index.css CHANGED
@@ -2220,6 +2220,11 @@ a:hover {
2220
2220
  width: 100%;
2221
2221
  justify-content: flex-start;
2222
2222
  }
2223
+ .UserMenu_module_userButton.UserMenu_module_fullWidth .UserMenu_module_userInner,
2224
+ .UserMenu_module_fullWidth .UserMenu_module_userInner {
2225
+ flex: 1;
2226
+ justify-content: space-between;
2227
+ }
2223
2228
  .UserMenu_module_userChevron {
2224
2229
  display: inline-flex;
2225
2230
  align-items: center;
@@ -2228,6 +2233,12 @@ a:hover {
2228
2233
  .UserMenu_module_userChevronOpen {
2229
2234
  transform: scaleY(-1);
2230
2235
  }
2236
+ .UserMenu_module_userChevronUp {
2237
+ transform: scaleY(-1);
2238
+ }
2239
+ .UserMenu_module_userChevronUp.UserMenu_module_userChevronOpen {
2240
+ transform: scaleY(1);
2241
+ }
2231
2242
  .UserMenu_module_userMenu {
2232
2243
  position: absolute;
2233
2244
  top: calc(100% + 8px);
@@ -2307,6 +2318,52 @@ a:hover {
2307
2318
  white-space: nowrap;
2308
2319
  }
2309
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
+
2310
2367
  /* src/widgets/CardCollection/CardCollection.module.scss */
2311
2368
  .CardCollection_module_card-collection {
2312
2369
  display: block;
@@ -2880,6 +2937,7 @@ a:hover {
2880
2937
  flex-direction: column;
2881
2938
  gap: var(--spacing-sm);
2882
2939
  color: var(--color-white);
2940
+ max-width: 634px;
2883
2941
  }
2884
2942
  .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_titleLogo {
2885
2943
  max-width: 500px;
@@ -2918,6 +2976,22 @@ a:hover {
2918
2976
  width: 32px;
2919
2977
  height: 32px;
2920
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
+ }
2921
2995
  .HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner {
2922
2996
  background-color: transparent;
2923
2997
  padding: 0;
@@ -2929,6 +3003,22 @@ a:hover {
2929
3003
  border-radius: 0;
2930
3004
  overflow: visible;
2931
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
+ }
2932
3022
  .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast {
2933
3023
  padding: 0;
2934
3024
  }
@@ -2946,6 +3036,9 @@ a:hover {
2946
3036
  padding: 0;
2947
3037
  justify-content: center;
2948
3038
  }
3039
+ .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text {
3040
+ max-width: none;
3041
+ }
2949
3042
  .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text .HeroBanner_module_title {
2950
3043
  color: var(--color-black);
2951
3044
  }
@@ -2967,13 +3060,18 @@ a:hover {
2967
3060
  .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_horizontalGradient > * {
2968
3061
  flex: 1;
2969
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
+ }
2970
3071
  @media (max-width: 768px) {
2971
3072
  .HeroBanner_module_heroBanner {
2972
3073
  padding: 24px 16px;
2973
3074
  }
2974
- .HeroBanner_module_heroBanner .HeroBanner_module_container {
2975
- height: calc(100dvh - 96px);
2976
- }
2977
3075
  .HeroBanner_module_heroBanner.HeroBanner_module_mainHeroBanner {
2978
3076
  padding: 0;
2979
3077
  }
@@ -2999,9 +3097,15 @@ a:hover {
2999
3097
  .HeroBanner_module_heroBanner.HeroBanner_module_bannerPodcast .HeroBanner_module_container .HeroBanner_module_logoWrapper .HeroBanner_module_logo {
3000
3098
  width: 100%;
3001
3099
  }
3100
+ .HeroBanner_module_heroBanner .HeroBanner_module_container {
3101
+ height: calc(100dvh - 96px);
3102
+ }
3002
3103
  .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner {
3003
3104
  padding: var(--spacing-lg) var(--spacing-md);
3004
3105
  }
3106
+ .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_text {
3107
+ max-width: none;
3108
+ }
3005
3109
  .HeroBanner_module_heroBanner .HeroBanner_module_container .HeroBanner_module_banner .HeroBanner_module_ctaContainer {
3006
3110
  flex-direction: column;
3007
3111
  }
@@ -4322,11 +4426,16 @@ a:hover {
4322
4426
  color: var(--color-true-black);
4323
4427
  text-decoration: none;
4324
4428
  padding-left: var(--spacing-lg);
4429
+ font-weight: var(--font-weight-medium);
4325
4430
  }
4326
4431
  .Navigation_module_mobileSubLink:hover,
4327
4432
  .Navigation_module_mobileSubLink:focus-visible {
4433
+ font-weight: var(--font-weight-bold);
4328
4434
  text-decoration: none;
4329
4435
  }
4436
+ .Navigation_module_mobileSubLinkActive {
4437
+ font-weight: var(--font-weight-bold);
4438
+ }
4330
4439
  .Navigation_module_mobileMenuCtas {
4331
4440
  position: sticky;
4332
4441
  bottom: 0;
@@ -4587,6 +4696,10 @@ a:hover {
4587
4696
  outline: 3px solid var(--color-link);
4588
4697
  outline-offset: 2px;
4589
4698
  }
4699
+ .Navigation_module_dropdownLinkActive {
4700
+ font-weight: var(--font-weight-bold);
4701
+ color: var(--color-true-black);
4702
+ }
4590
4703
  .Navigation_module_dropdownDivider {
4591
4704
  width: 2px;
4592
4705
  height: 160px;
@@ -4618,28 +4731,83 @@ a:hover {
4618
4731
  }
4619
4732
  .Navigation_module_brandBar {
4620
4733
  display: flex;
4734
+ flex-direction: column;
4621
4735
  align-items: center;
4622
4736
  justify-content: center;
4737
+ overflow: hidden;
4623
4738
  height: 8px;
4624
- transition: height 0.35s ease;
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;
4625
4760
  }
4626
4761
  .Navigation_module_brandBarsUnfolded .Navigation_module_brandBar {
4627
4762
  height: 95px;
4628
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
+ }
4629
4791
  }
4630
4792
  .Navigation_module_brandBarsUnfolded .Navigation_module_brandLogo {
4631
4793
  opacity: 1;
4794
+ transition: opacity 0.35s ease;
4632
4795
  }
4633
4796
  .Navigation_module_brandLogo {
4634
- max-width: 80%;
4797
+ max-width: 100%;
4635
4798
  max-height: 70px;
4636
4799
  width: auto;
4637
4800
  height: auto;
4638
4801
  object-fit: contain;
4639
4802
  opacity: 0;
4640
- transition: opacity 0.35s ease;
4803
+ transition: opacity 0.35s ease 0.3s;
4641
4804
  pointer-events: none;
4642
4805
  }
4806
+ @media (max-width: 768px) {
4807
+ .Navigation_module_brandLogo {
4808
+ max-height: 40px;
4809
+ }
4810
+ }
4643
4811
  .Navigation_module_lenscrafters {
4644
4812
  flex: 366 0 0;
4645
4813
  background-color: var(--color-lenscrafter-blue);
@@ -4680,6 +4848,10 @@ a:hover {
4680
4848
  justify-content: space-between;
4681
4849
  padding: 13px var(--spacing-md);
4682
4850
  }
4851
+ .Navigation_module_mobileBrandBars {
4852
+ display: flex;
4853
+ flex-shrink: 0;
4854
+ }
4683
4855
  .Navigation_module_mobileClose {
4684
4856
  display: flex;
4685
4857
  align-items: center;
@@ -4696,10 +4868,6 @@ a:hover {
4696
4868
  border-radius: 0.25rem;
4697
4869
  outline: 3px solid var(--color-link);
4698
4870
  }
4699
- .Navigation_module_mobileBrandBars {
4700
- display: flex;
4701
- width: 100%;
4702
- }
4703
4871
  .Navigation_module_mobileItems {
4704
4872
  flex: 1;
4705
4873
  display: flex;
@@ -4776,15 +4944,20 @@ a:hover {
4776
4944
  display: block;
4777
4945
  padding-left: var(--spacing-lg);
4778
4946
  font-size: var(--font-size-md);
4779
- font-weight: var(--font-weight-regular);
4947
+ font-weight: var(--font-weight-medium);
4780
4948
  color: var(--color-gray);
4781
4949
  text-decoration: none;
4782
4950
  }
4783
4951
  .Navigation_module_internalMobileSubLink:hover,
4784
4952
  .Navigation_module_internalMobileSubLink:focus-visible {
4953
+ font-weight: var(--font-weight-bold);
4785
4954
  color: var(--color-true-black);
4786
4955
  text-decoration: none;
4787
4956
  }
4957
+ .Navigation_module_internalMobileSubLinkActive {
4958
+ font-weight: var(--font-weight-bold);
4959
+ color: var(--color-true-black);
4960
+ }
4788
4961
  .Navigation_module_mobileFooter {
4789
4962
  position: sticky;
4790
4963
  bottom: 0;
@@ -6433,4 +6606,47 @@ a:hover {
6433
6606
  margin-top: 24px;
6434
6607
  }
6435
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
+ }
6436
6652
  /*# sourceMappingURL=index.css.map */