@wizishop/angular-components 19.0.0-beta.3 → 19.0.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.
@@ -504,52 +504,6 @@ $wizishop-blue-button: #52aecd !default;.zindexToggle {
504
504
  font-size: 1.25rem;
505
505
  }
506
506
  }
507
- wac-block {
508
- .wac-block {
509
- background-color: $white;
510
- @include padding(1.875rem);
511
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.05);
512
- @include simple_transition();
513
- height: 100%;
514
- border-radius: var(--wac-block-border-radius);
515
-
516
- @include media('<tablet') {
517
- @include padding(1.25rem);
518
- }
519
-
520
- &:hover {
521
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
522
- }
523
- }
524
- }
525
-
526
- .wac-back {
527
- width: 40px;
528
- height: 40px;
529
-
530
- &__wrapper {
531
- @include flexbox();
532
- @include justify-content(center);
533
- @include align-items(center);
534
- width: 100%;
535
- height: 100%;
536
- border-radius: 3px;
537
- border: 1px solid $wac-border-light;
538
- background-color: transparent;
539
- transition: border-color 0.3s ease-in-out;
540
-
541
- i {
542
- color: $wac-second-color;
543
- font-size: 11px;
544
- line-height: 14px;
545
- }
546
-
547
- &:hover {
548
- border-color: $wac-back-border-hover;
549
- transition: border-color 0.3s ease-in-out;
550
- }
551
- }
552
- }
553
507
  .wac-alert-popup {
554
508
  .alert {
555
509
  z-index: 999999;
@@ -833,6 +787,52 @@ wac-block {
833
787
  }
834
788
 
835
789
  }
790
+ .wac-back {
791
+ width: 40px;
792
+ height: 40px;
793
+
794
+ &__wrapper {
795
+ @include flexbox();
796
+ @include justify-content(center);
797
+ @include align-items(center);
798
+ width: 100%;
799
+ height: 100%;
800
+ border-radius: 3px;
801
+ border: 1px solid $wac-border-light;
802
+ background-color: transparent;
803
+ transition: border-color 0.3s ease-in-out;
804
+
805
+ i {
806
+ color: $wac-second-color;
807
+ font-size: 11px;
808
+ line-height: 14px;
809
+ }
810
+
811
+ &:hover {
812
+ border-color: $wac-back-border-hover;
813
+ transition: border-color 0.3s ease-in-out;
814
+ }
815
+ }
816
+ }
817
+ wac-block {
818
+ .wac-block {
819
+ background-color: $white;
820
+ @include padding(1.875rem);
821
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.05);
822
+ @include simple_transition();
823
+ height: 100%;
824
+ border-radius: var(--wac-block-border-radius);
825
+
826
+ @include media('<tablet') {
827
+ @include padding(1.25rem);
828
+ }
829
+
830
+ &:hover {
831
+ box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
832
+ }
833
+ }
834
+ }
835
+
836
836
  .block-with-checkbox {
837
837
  width: 100%;
838
838
  display: flex;
@@ -973,7 +973,154 @@ wac-block {
973
973
  margin-right: 0;
974
974
  }
975
975
  }
976
- .wac-breadcrumbs {
976
+ .w-border-picker {
977
+ display: flex;
978
+ flex-direction: column;
979
+
980
+ .bp-label {
981
+ font-weight: 500;
982
+ }
983
+
984
+ .w-input {
985
+ width: 100%;
986
+ min-width: 305px;
987
+ height: 40px;
988
+ display: flex;
989
+ align-items: center;
990
+ justify-content: space-between;
991
+ gap: 10px;
992
+ padding: 8px;
993
+ border: 1px solid #dee2ed;
994
+ border-radius: 3px;
995
+ position: relative;
996
+
997
+ @include media ('<tablet') {
998
+ min-width: 250px;
999
+ }
1000
+
1001
+ .border-preview {
1002
+ position: relative;
1003
+ width: 100%;
1004
+ max-width: 24px;
1005
+ height: 24px;
1006
+ border: 2px solid #1d2a3b;
1007
+ border-radius: 3px;
1008
+
1009
+ .mask1, .mask2 {
1010
+ background: #fff;
1011
+ position: absolute;
1012
+ top: 50%;
1013
+ left: 50%;
1014
+ transform: translate(-50%, -50%);
1015
+ }
1016
+
1017
+ .mask1 {
1018
+ width: 30px;
1019
+ height: 5px;
1020
+ }
1021
+
1022
+ .mask2 {
1023
+ width: 5px;
1024
+ height: 30px;
1025
+ }
1026
+
1027
+ }
1028
+
1029
+ .bp-range {
1030
+ width: 100%;
1031
+ max-width: 202px;
1032
+ height: 4px;
1033
+ padding: 0;
1034
+ border: none;
1035
+ background: transparent;
1036
+ -webkit-appearance: none;
1037
+ appearance: none;
1038
+ margin: 0;
1039
+ cursor: pointer;
1040
+
1041
+ &::-webkit-slider-runnable-track {
1042
+ height: 4px;
1043
+ background: #dee2ed;
1044
+ border-radius: 20px;
1045
+ }
1046
+
1047
+ &::-moz-range-track {
1048
+ height: 4px;
1049
+ background: #dee2ed;
1050
+ border-radius: 20px;
1051
+ }
1052
+
1053
+ &::-ms-track {
1054
+ height: 4px;
1055
+ background: #dee2ed;
1056
+ border-radius: 20px;
1057
+ border-color: transparent;
1058
+ color: transparent;
1059
+ }
1060
+
1061
+ // Thumb style
1062
+ &::-webkit-slider-thumb {
1063
+ -webkit-appearance: none;
1064
+ width: 16px;
1065
+ height: 16px;
1066
+ border-radius: 50%;
1067
+ background: #3BA6EC;
1068
+ margin-top: -6px; // Centrer verticalement (height of track - height of thumb) / 2
1069
+ border: 2px solid white;
1070
+ box-shadow: 0 1px 3px rgba(0,0,0,0.2);
1071
+ transition: all 0.2s ease;
1072
+ }
1073
+
1074
+ &::-moz-range-thumb {
1075
+ width: 16px;
1076
+ height: 16px;
1077
+ border-radius: 50%;
1078
+ background: #3BA6EC;
1079
+ border: 2px solid white;
1080
+ box-shadow: 0 1px 3px rgba(0,0,0,0.2);
1081
+ transition: all 0.2s ease;
1082
+ }
1083
+
1084
+ &::-ms-thumb {
1085
+ width: 16px;
1086
+ height: 16px;
1087
+ border-radius: 50%;
1088
+ background: #3BA6EC;
1089
+ border: 2px solid white;
1090
+ box-shadow: 0 1px 3px rgba(0,0,0,0.2);
1091
+ transition: all 0.2s ease;
1092
+ }
1093
+
1094
+ // Active/hover state
1095
+ &:active::-webkit-slider-thumb,
1096
+ &:hover::-webkit-slider-thumb {
1097
+ transform: scale(1.1);
1098
+ }
1099
+
1100
+ &:active::-moz-range-thumb,
1101
+ &:hover::-moz-range-thumb {
1102
+ transform: scale(1.1);
1103
+ }
1104
+
1105
+ // Fill color before thumb (optional)
1106
+ &::-webkit-slider-runnable-track {
1107
+ background: linear-gradient(to right, #3BA6EC 0%, #3BA6EC var(--slider-percentage, 0%), #dee2ed var(--slider-percentage, 0%), #dee2ed 100%);
1108
+ }
1109
+ }
1110
+
1111
+ .bp-input {
1112
+ width: 100%;
1113
+ max-width: 45px;
1114
+ height: 100%;
1115
+ padding: 0;
1116
+ border: none;
1117
+ font-size: 14px;
1118
+ color: #1d2a3b;
1119
+ font-weight: 400;
1120
+ }
1121
+
1122
+ }
1123
+ }.wac-breadcrumbs {
977
1124
  width: 100%;
978
1125
  display: flex;
979
1126
  align-items: center;
@@ -2612,178 +2759,31 @@ wac-block {
2612
2759
  left: 0;
2613
2760
  transform: translate(0, 10px);
2614
2761
  top: 100%;
2615
- &:before {
2616
- width: 0;
2617
- height: 0;
2618
- border-style: solid;
2619
- border-width: 0 10px 10px 10px;
2620
- border-color: transparent transparent transparentize($wac-second-color, .1) transparent;
2621
- right: auto;
2622
- top: auto;
2623
- left: 10px;
2624
- bottom: 100%;
2625
- }
2626
- }
2627
- }
2628
-
2629
- &:hover, &:focus {
2630
- .wac-button {
2631
- &__tooltips {
2632
- visibility: visible;
2633
- opacity: .9;
2634
- transition: opacity .3s ease .05s, visibility 0s linear 0s;
2635
- }
2636
- }
2637
- }
2638
- }
2639
- .w-border-picker {
2640
- display: flex;
2641
- flex-direction: column;
2642
-
2643
- .bp-label {
2644
- font-weight: 500;
2645
- }
2646
-
2647
- .w-input {
2648
- width: 100%;
2649
- min-width: 305px;
2650
- height: 40px;
2651
- display: flex;
2652
- align-items: center;
2653
- justify-content: space-between;
2654
- gap: 10px;
2655
- padding: 8px;
2656
- border: 1px solid #dee2ed;
2657
- border-radius: 3px;
2658
- position: relative;
2659
-
2660
- @include media ('<tablet') {
2661
- min-width: 250px;
2662
- }
2663
-
2664
- .border-preview {
2665
- position: relative;
2666
- width: 100%;
2667
- max-width: 24px;
2668
- height: 24px;
2669
- border: 2px solid #1d2a3b;
2670
- border-radius: 3px;
2671
-
2672
- .mask1, .mask2 {
2673
- background: #fff;
2674
- position: absolute;
2675
- top: 50%;
2676
- left: 50%;
2677
- transform: translate(-50%, -50%);
2678
- }
2679
-
2680
- .mask1 {
2681
- width: 30px;
2682
- height: 5px;
2683
- }
2684
-
2685
- .mask2 {
2686
- width: 5px;
2687
- height: 30px;
2688
- }
2689
-
2690
- }
2691
-
2692
- .bp-range {
2693
- width: 100%;
2694
- max-width: 202px;
2695
- height: 4px;
2696
- padding: 0;
2697
- border: none;
2698
- background: transparent;
2699
- -webkit-appearance: none;
2700
- appearance: none;
2701
- margin: 0;
2702
- cursor: pointer;
2703
-
2704
- &::-webkit-slider-runnable-track {
2705
- height: 4px;
2706
- background: #dee2ed;
2707
- border-radius: 20px;
2708
- }
2709
-
2710
- &::-moz-range-track {
2711
- height: 4px;
2712
- background: #dee2ed;
2713
- border-radius: 20px;
2714
- }
2715
-
2716
- &::-ms-track {
2717
- height: 4px;
2718
- background: #dee2ed;
2719
- border-radius: 20px;
2720
- border-color: transparent;
2721
- color: transparent;
2722
- }
2723
-
2724
- // Thumb style
2725
- &::-webkit-slider-thumb {
2726
- -webkit-appearance: none;
2727
- width: 16px;
2728
- height: 16px;
2729
- border-radius: 50%;
2730
- background: #3BA6EC;
2731
- margin-top: -6px; // Centrer verticalement (height of track - height of thumb) / 2
2732
- border: 2px solid white;
2733
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
2734
- transition: all 0.2s ease;
2735
- }
2736
-
2737
- &::-moz-range-thumb {
2738
- width: 16px;
2739
- height: 16px;
2740
- border-radius: 50%;
2741
- background: #3BA6EC;
2742
- border: 2px solid white;
2743
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
2744
- transition: all 0.2s ease;
2745
- }
2746
-
2747
- &::-ms-thumb {
2748
- width: 16px;
2749
- height: 16px;
2750
- border-radius: 50%;
2751
- background: #3BA6EC;
2752
- border: 2px solid white;
2753
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
2754
- transition: all 0.2s ease;
2755
- }
2756
-
2757
- // Active/hover state
2758
- &:active::-webkit-slider-thumb,
2759
- &:hover::-webkit-slider-thumb {
2760
- transform: scale(1.1);
2761
- }
2762
-
2763
- &:active::-moz-range-thumb,
2764
- &:hover::-moz-range-thumb {
2765
- transform: scale(1.1);
2766
- }
2767
-
2768
- // Fill color before thumb (optional)
2769
- &::-webkit-slider-runnable-track {
2770
- background: linear-gradient(to right, #3BA6EC 0%, #3BA6EC var(--slider-percentage, 0%), #dee2ed var(--slider-percentage, 0%), #dee2ed 100%);
2762
+ &:before {
2763
+ width: 0;
2764
+ height: 0;
2765
+ border-style: solid;
2766
+ border-width: 0 10px 10px 10px;
2767
+ border-color: transparent transparent transparentize($wac-second-color, .1) transparent;
2768
+ right: auto;
2769
+ top: auto;
2770
+ left: 10px;
2771
+ bottom: 100%;
2771
2772
  }
2772
2773
  }
2774
+ }
2773
2775
 
2774
- .bp-input {
2775
- width: 100%;
2776
- max-width: 45px;
2777
- height: 100%;
2778
- padding: 0;
2779
- border: none;
2780
- font-size: 14px;
2781
- color: #1d2a3b;
2782
- font-weight: 400;
2776
+ &:hover, &:focus {
2777
+ .wac-button {
2778
+ &__tooltips {
2779
+ visibility: visible;
2780
+ opacity: .9;
2781
+ transition: opacity .3s ease .05s, visibility 0s linear 0s;
2782
+ }
2783
2783
  }
2784
-
2785
2784
  }
2786
- }wac-calendar {
2785
+ }
2786
+ wac-calendar {
2787
2787
  &.ng-touched.ng-invalid {
2788
2788
  .wac-calendar__wrapper__select, .wac-calendar__wrapper__editInPlace, .wac-calendar__wrapper__select {
2789
2789
  border-color: $wac-form-control-touched-and-invalid-border;
@@ -3656,7 +3656,51 @@ wac-block {
3656
3656
  font-weight: 400;
3657
3657
  }
3658
3658
  }
3659
- .wac-field-checkbox {
3659
+ .w-color-picker {
3660
+ display: flex;
3661
+ flex-direction: column;
3662
+
3663
+ .cp-label {
3664
+ font-weight: 500;
3665
+ }
3666
+
3667
+ .w-input {
3668
+ position: relative;
3669
+ width: 210px;
3670
+ height: 40px;
3671
+ display: flex;
3672
+ align-items: center;
3673
+ gap: 10px;
3674
+ padding: 5px;
3675
+ border: 1px solid #dee2ed;
3676
+ border-radius: 3px;
3677
+
3678
+ .color-preview {
3679
+ width: 30px;
3680
+ height: 30px;
3681
+ border: 1px solid #dee2ed;
3682
+ border-radius: 3px;
3683
+ }
3684
+
3685
+ .color-picker {
3686
+ left: 0 !important;
3687
+
3688
+ .arrow-bottom {
3689
+ left: 14px !important;
3690
+ }
3691
+ }
3692
+
3693
+ .cp-input {
3694
+ width: 70%;
3695
+ height: 100%;
3696
+ border: none;
3697
+ font-size: 14px;
3698
+ color: #1d2a3b;
3699
+ font-weight: 400;
3700
+ padding: 0 !important;
3701
+ }
3702
+ }
3703
+ }.wac-field-checkbox {
3660
3704
  &.disable-wt {
3661
3705
  .wac-field-checkbox__row {
3662
3706
  display: flex;
@@ -3859,51 +3903,7 @@ wac-block {
3859
3903
  }
3860
3904
  }
3861
3905
  }
3862
- .w-color-picker {
3863
- display: flex;
3864
- flex-direction: column;
3865
-
3866
- .cp-label {
3867
- font-weight: 500;
3868
- }
3869
-
3870
- .w-input {
3871
- position: relative;
3872
- width: 210px;
3873
- height: 40px;
3874
- display: flex;
3875
- align-items: center;
3876
- gap: 10px;
3877
- padding: 5px;
3878
- border: 1px solid #dee2ed;
3879
- border-radius: 3px;
3880
-
3881
- .color-preview {
3882
- width: 30px;
3883
- height: 30px;
3884
- border: 1px solid #dee2ed;
3885
- border-radius: 3px;
3886
- }
3887
-
3888
- .color-picker {
3889
- left: 0 !important;
3890
-
3891
- .arrow-bottom {
3892
- left: 14px !important;
3893
- }
3894
- }
3895
-
3896
- .cp-input {
3897
- width: 70%;
3898
- height: 100%;
3899
- border: none;
3900
- font-size: 14px;
3901
- color: #1d2a3b;
3902
- font-weight: 400;
3903
- padding: 0 !important;
3904
- }
3905
- }
3906
- }.wac-confirm-delete {
3906
+ .wac-confirm-delete {
3907
3907
  position: absolute;
3908
3908
  right: 0;
3909
3909
  top: 0;
@@ -4015,6 +4015,39 @@ wac-block {
4015
4015
  }
4016
4016
  }
4017
4017
  }
4018
+ .wac-delete {
4019
+ width: 40px;
4020
+ height: 40px;
4021
+
4022
+ &__wrapper {
4023
+ @include flexbox();
4024
+ @include justify-content(center);
4025
+ @include align-items(center);
4026
+ width: 100%;
4027
+ height: 100%;
4028
+ border-radius: 3px;
4029
+ background-color: transparent;
4030
+ transition: background-color 0.3s ease-in-out;
4031
+ cursor: pointer;
4032
+
4033
+ i {
4034
+ color: $wac-border-form;
4035
+ font-size: 14px;
4036
+ line-height: 23px;
4037
+ transition: color 0.3s ease-in-out;
4038
+ }
4039
+
4040
+ &:hover {
4041
+ background-color: $wac-primary-button;
4042
+ transition: background-color 0.3s ease-in-out;
4043
+
4044
+ i {
4045
+ color: $wac-white;
4046
+ transition: color 0.3s ease-in-out;
4047
+ }
4048
+ }
4049
+ }
4050
+ }
4018
4051
  .wac-draganddrop-list {
4019
4052
  width: 100%;
4020
4053
  background-color: $wac-white;
@@ -4152,39 +4185,6 @@ wac-block {
4152
4185
  .wac-draganddrop-list__wrapper.cdk-drop-list-dragging .wac-draganddrop-list__wrapper__item:not(.cdk-drag-placeholder) {
4153
4186
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
4154
4187
  }
4155
- .wac-delete {
4156
- width: 40px;
4157
- height: 40px;
4158
-
4159
- &__wrapper {
4160
- @include flexbox();
4161
- @include justify-content(center);
4162
- @include align-items(center);
4163
- width: 100%;
4164
- height: 100%;
4165
- border-radius: 3px;
4166
- background-color: transparent;
4167
- transition: background-color 0.3s ease-in-out;
4168
- cursor: pointer;
4169
-
4170
- i {
4171
- color: $wac-border-form;
4172
- font-size: 14px;
4173
- line-height: 23px;
4174
- transition: color 0.3s ease-in-out;
4175
- }
4176
-
4177
- &:hover {
4178
- background-color: $wac-primary-button;
4179
- transition: background-color 0.3s ease-in-out;
4180
-
4181
- i {
4182
- color: $wac-white;
4183
- transition: color 0.3s ease-in-out;
4184
- }
4185
- }
4186
- }
4187
- }
4188
4188
  .wac-dropdown {
4189
4189
  display: inline-block;
4190
4190
  width: 40px;
@@ -4495,41 +4495,7 @@ wac-block {
4495
4495
  }
4496
4496
  }
4497
4497
  }
4498
- }@mixin flex-col-start {
4499
- display: flex;
4500
- flex-direction: column;
4501
- justify-content: flex-start;
4502
- align-items: flex-start;
4503
- }
4504
-
4505
- .wac-faq-section {
4506
- width: 100%;
4507
- @include flex-col-start;
4508
- gap: 32px;
4509
- &__wrapper {
4510
- width: 100%;
4511
- display: flex;
4512
- flex-wrap: wrap;
4513
- justify-content: flex-start;
4514
- align-items: stretch;
4515
- gap: 32px;
4516
- &__item {
4517
- width: calc(50% - 16px);
4518
- @include flex-col-start;
4519
- gap: 16px;
4520
- @include media('<tablet') {
4521
- width: 100%;
4522
- }
4523
- strong {
4524
- font-weight: 700;
4525
- }
4526
- p {
4527
- color: $second-color;
4528
- }
4529
- }
4530
- }
4531
- }
4532
- .wac-expanded-panel {
4498
+ }.wac-expanded-panel {
4533
4499
  width: 100%;
4534
4500
  display: flex;
4535
4501
  flex-direction: column;
@@ -4587,6 +4553,40 @@ wac-block {
4587
4553
  }
4588
4554
  }
4589
4555
  }
4556
+ @mixin flex-col-start {
4557
+ display: flex;
4558
+ flex-direction: column;
4559
+ justify-content: flex-start;
4560
+ align-items: flex-start;
4561
+ }
4562
+
4563
+ .wac-faq-section {
4564
+ width: 100%;
4565
+ @include flex-col-start;
4566
+ gap: 32px;
4567
+ &__wrapper {
4568
+ width: 100%;
4569
+ display: flex;
4570
+ flex-wrap: wrap;
4571
+ justify-content: flex-start;
4572
+ align-items: stretch;
4573
+ gap: 32px;
4574
+ &__item {
4575
+ width: calc(50% - 16px);
4576
+ @include flex-col-start;
4577
+ gap: 16px;
4578
+ @include media('<tablet') {
4579
+ width: 100%;
4580
+ }
4581
+ strong {
4582
+ font-weight: 700;
4583
+ }
4584
+ p {
4585
+ color: $second-color;
4586
+ }
4587
+ }
4588
+ }
4589
+ }
4590
4590
  .wac-filters {
4591
4591
  width: 100%;
4592
4592
  &__wrapper {
@@ -10987,6 +10987,12 @@ div.wac-field-input-search {
10987
10987
 
10988
10988
  }
10989
10989
 
10990
+ .wac-option {
10991
+ &__placeholder {
10992
+ pointer-events: none;
10993
+ }
10994
+ }
10995
+
10990
10996
  .wac-select-seacrh-trigger {
10991
10997
  position: relative;
10992
10998
  top: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "19.0.0-beta.3",
3
+ "version": "19.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=19.0.0",
6
6
  "@angular/cdk": ">=19.0.0",