@wizishop/angular-components 19.0.0-beta.1 → 19.0.0-beta.3

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/README.md CHANGED
@@ -1,24 +1,87 @@
1
- # AngularComponents
1
+ # Wizi Angular Components Module
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.12.
3
+ ## 1 - Dependencies
4
4
 
5
- ## Code scaffolding
5
+ - Run `npm i @wizishop/angular-components`.
6
6
 
7
- Run `ng generate component component-name --project angular-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project angular-components`.
8
- > Note: Don't forget to add `--project angular-components` or else it will be added to the default project in your `angular.json` file.
7
+ - Then install all the lib dependencies & peerDenpendencies.
8
+ You can find the list, in the `package.json` file in `node_modules/@wizishop/angular-components`.
9
9
 
10
- ## Build
10
+ Run `npm i nameOfTheDependency`.
11
11
 
12
- Run `ng build angular-components` to build the project. The build artifacts will be stored in the `dist/` directory.
12
+ ## 2 - Module & Translation system
13
13
 
14
- ## Publishing
14
+ In `app.module.ts` file :
15
15
 
16
- After building your library with `ng build angular-components`, go to the dist folder `cd dist/angular-components` and run `npm publish`.
16
+ ```
17
+ import { HttpClient, HttpClientModule } from '@angular/common/http';
18
+ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
19
+ import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
17
20
 
18
- ## Running unit tests
21
+ import { WiziComponentsModule } from 'angular-components';
19
22
 
20
- Run `ng test angular-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
23
+ export function HttpLoaderFactory(http: HttpClient) {
24
+ return new TranslateHttpLoader(http, './assets/angular-components/i18n/', '.json');
25
+ }
21
26
 
22
- ## Further help
23
27
 
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
28
+ @NgModule({
29
+ imports: [
30
+ BrowserModule,
31
+ BrowserAnimationsModule,
32
+ CommonModule,
33
+ ReactiveFormsModule,
34
+ FormsModule,
35
+ ...
36
+ HttpClientModule,
37
+ TranslateModule.forRoot({
38
+ defaultLanguage: 'fr',
39
+ loader: {
40
+ provide: TranslateLoader,
41
+ useFactory: (HttpLoaderFactory),
42
+ deps: [HttpClient]
43
+ }
44
+ }),
45
+ WiziComponentsModule
46
+ ]
47
+ ...
48
+ })
49
+
50
+ ```
51
+
52
+ If you already use ngx-translate, maybe you should use [@ngx-translate/multi-http-loader](https://www.npmjs.com/package/ngx-translate-multi-http-loader) in order to load multiple translation source file.
53
+
54
+
55
+ ## 3 - Integration / Assets & Styles
56
+
57
+ - In `angular.json` file add a link to the module assets and a link to calendar script :
58
+
59
+ ```
60
+ assets": [
61
+ ...
62
+ {
63
+ "glob": "**/*",
64
+ "input": "node_modules/@wizishop/angular-components/assets/",
65
+ "output": "./assets/angular-components/"
66
+ }
67
+ ],
68
+ ...
69
+ "scripts": [
70
+ "node_modules/bulma-calendar/dist/js/bulma-calendar.js"
71
+ ]
72
+ ```
73
+
74
+ - Add `<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.12.1/css/all.css" crossorigin="anonymous" />` in your `index.html` file.
75
+
76
+ - Copy/paste the following folder in your app project.
77
+
78
+ [Github link with all scss files to import](https://gitlab.wizishop.com/wizi/angular-components/-/tree/master/projects/showcase/src/scss/includes)
79
+
80
+ - Make the import of the `import.scss` file in your main scss file :
81
+
82
+ `@import '@wizishop/angular-components/angular-components';`
83
+
84
+
85
+ ## 4 - Use components from this module !
86
+
87
+ All the components of this module starts with `wac-` prefix like `<wac-button>`.
@@ -141,7 +141,22 @@ $wac-token-main: #1D2A3B!default;
141
141
  $wac-token-disabled: #EFF2F4!default;
142
142
  $wac-token-disabled-dark: #8A98B2!default;
143
143
 
144
- $wac-tab-colunm-blue: #3ba6ec!default;.zindexToggle {
144
+ $wac-tab-colunm-blue: #3ba6ec!default;
145
+
146
+ // ---- Legacy variables used by library components (provided by consumer themes) ----
147
+ // Defined with !default so they can be overridden by the consuming app
148
+ $border-form: #C9D2D9 !default;
149
+ $color-text-grey: #6b7881 !default;
150
+ $disabled-button-text: #a6aec4 !default;
151
+ $input-border: #C9D2D9 !default;
152
+ $input-radio-border-color: #DEE2ED !default;
153
+ $main-text: #1d2a3b !default;
154
+ $placeholder-color: #b4bdd0 !default;
155
+ $primary-button: #e95656 !default;
156
+ $second-color: #526384 !default;
157
+ $white: #ffffff !default;
158
+ $wizishop-blue: #4baed0 !default;
159
+ $wizishop-blue-button: #52aecd !default;.zindexToggle {
145
160
  z-index: 9!important;
146
161
  position: relative;
147
162
  }
@@ -489,6 +504,52 @@ $wac-tab-colunm-blue: #3ba6ec!default;.zindexToggle {
489
504
  font-size: 1.25rem;
490
505
  }
491
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
+ }
492
553
  .wac-alert-popup {
493
554
  .alert {
494
555
  z-index: 999999;
@@ -772,52 +833,6 @@ $wac-tab-colunm-blue: #3ba6ec!default;.zindexToggle {
772
833
  }
773
834
 
774
835
  }
775
- .wac-back {
776
- width: 40px;
777
- height: 40px;
778
-
779
- &__wrapper {
780
- @include flexbox();
781
- @include justify-content(center);
782
- @include align-items(center);
783
- width: 100%;
784
- height: 100%;
785
- border-radius: 3px;
786
- border: 1px solid $wac-border-light;
787
- background-color: transparent;
788
- transition: border-color 0.3s ease-in-out;
789
-
790
- i {
791
- color: $wac-second-color;
792
- font-size: 11px;
793
- line-height: 14px;
794
- }
795
-
796
- &:hover {
797
- border-color: $wac-back-border-hover;
798
- transition: border-color 0.3s ease-in-out;
799
- }
800
- }
801
- }
802
- wac-block {
803
- .wac-block {
804
- background-color: $white;
805
- @include padding(1.875rem);
806
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.05);
807
- @include simple_transition();
808
- height: 100%;
809
- border-radius: var(--wac-block-border-radius);
810
-
811
- @include media('<tablet') {
812
- @include padding(1.25rem);
813
- }
814
-
815
- &:hover {
816
- box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.2);
817
- }
818
- }
819
- }
820
-
821
836
  .block-with-checkbox {
822
837
  width: 100%;
823
838
  display: flex;
@@ -958,154 +973,7 @@ wac-block {
958
973
  margin-right: 0;
959
974
  }
960
975
  }
961
- .w-border-picker {
962
- display: flex;
963
- flex-direction: column;
964
-
965
- .bp-label {
966
- font-weight: 500;
967
- }
968
-
969
- .w-input {
970
- width: 100%;
971
- min-width: 305px;
972
- height: 40px;
973
- display: flex;
974
- align-items: center;
975
- justify-content: space-between;
976
- gap: 10px;
977
- padding: 8px;
978
- border: 1px solid #dee2ed;
979
- border-radius: 3px;
980
- position: relative;
981
-
982
- @include media ('<tablet') {
983
- min-width: 250px;
984
- }
985
-
986
- .border-preview {
987
- position: relative;
988
- width: 100%;
989
- max-width: 24px;
990
- height: 24px;
991
- border: 2px solid #1d2a3b;
992
- border-radius: 3px;
993
-
994
- .mask1, .mask2 {
995
- background: #fff;
996
- position: absolute;
997
- top: 50%;
998
- left: 50%;
999
- transform: translate(-50%, -50%);
1000
- }
1001
-
1002
- .mask1 {
1003
- width: 30px;
1004
- height: 5px;
1005
- }
1006
-
1007
- .mask2 {
1008
- width: 5px;
1009
- height: 30px;
1010
- }
1011
-
1012
- }
1013
-
1014
- .bp-range {
1015
- width: 100%;
1016
- max-width: 202px;
1017
- height: 4px;
1018
- padding: 0;
1019
- border: none;
1020
- background: transparent;
1021
- -webkit-appearance: none;
1022
- appearance: none;
1023
- margin: 0;
1024
- cursor: pointer;
1025
-
1026
- &::-webkit-slider-runnable-track {
1027
- height: 4px;
1028
- background: #dee2ed;
1029
- border-radius: 20px;
1030
- }
1031
-
1032
- &::-moz-range-track {
1033
- height: 4px;
1034
- background: #dee2ed;
1035
- border-radius: 20px;
1036
- }
1037
-
1038
- &::-ms-track {
1039
- height: 4px;
1040
- background: #dee2ed;
1041
- border-radius: 20px;
1042
- border-color: transparent;
1043
- color: transparent;
1044
- }
1045
-
1046
- // Thumb style
1047
- &::-webkit-slider-thumb {
1048
- -webkit-appearance: none;
1049
- width: 16px;
1050
- height: 16px;
1051
- border-radius: 50%;
1052
- background: #3BA6EC;
1053
- margin-top: -6px; // Centrer verticalement (height of track - height of thumb) / 2
1054
- border: 2px solid white;
1055
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
1056
- transition: all 0.2s ease;
1057
- }
1058
-
1059
- &::-moz-range-thumb {
1060
- width: 16px;
1061
- height: 16px;
1062
- border-radius: 50%;
1063
- background: #3BA6EC;
1064
- border: 2px solid white;
1065
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
1066
- transition: all 0.2s ease;
1067
- }
1068
-
1069
- &::-ms-thumb {
1070
- width: 16px;
1071
- height: 16px;
1072
- border-radius: 50%;
1073
- background: #3BA6EC;
1074
- border: 2px solid white;
1075
- box-shadow: 0 1px 3px rgba(0,0,0,0.2);
1076
- transition: all 0.2s ease;
1077
- }
1078
-
1079
- // Active/hover state
1080
- &:active::-webkit-slider-thumb,
1081
- &:hover::-webkit-slider-thumb {
1082
- transform: scale(1.1);
1083
- }
1084
-
1085
- &:active::-moz-range-thumb,
1086
- &:hover::-moz-range-thumb {
1087
- transform: scale(1.1);
1088
- }
1089
-
1090
- // Fill color before thumb (optional)
1091
- &::-webkit-slider-runnable-track {
1092
- background: linear-gradient(to right, #3BA6EC 0%, #3BA6EC var(--slider-percentage, 0%), #dee2ed var(--slider-percentage, 0%), #dee2ed 100%);
1093
- }
1094
- }
1095
-
1096
- .bp-input {
1097
- width: 100%;
1098
- max-width: 45px;
1099
- height: 100%;
1100
- padding: 0;
1101
- border: none;
1102
- font-size: 14px;
1103
- color: #1d2a3b;
1104
- font-weight: 400;
1105
- }
1106
-
1107
- }
1108
- }.wac-breadcrumbs {
976
+ .wac-breadcrumbs {
1109
977
  width: 100%;
1110
978
  display: flex;
1111
979
  align-items: center;
@@ -2756,19 +2624,166 @@ wac-block {
2756
2624
  bottom: 100%;
2757
2625
  }
2758
2626
  }
2759
- }
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%);
2771
+ }
2772
+ }
2760
2773
 
2761
- &:hover, &:focus {
2762
- .wac-button {
2763
- &__tooltips {
2764
- visibility: visible;
2765
- opacity: .9;
2766
- transition: opacity .3s ease .05s, visibility 0s linear 0s;
2767
- }
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;
2768
2783
  }
2784
+
2769
2785
  }
2770
- }
2771
- wac-calendar {
2786
+ }wac-calendar {
2772
2787
  &.ng-touched.ng-invalid {
2773
2788
  .wac-calendar__wrapper__select, .wac-calendar__wrapper__editInPlace, .wac-calendar__wrapper__select {
2774
2789
  border-color: $wac-form-control-touched-and-invalid-border;
@@ -3597,6 +3612,50 @@ wac-calendar {
3597
3612
  }
3598
3613
  }
3599
3614
  }
3615
+ .wac-charging-bar {
3616
+ width: 100%;
3617
+ margin: 0 0 20px;
3618
+ display: flex;
3619
+ align-items: center;
3620
+ &__wrapLine {
3621
+ width: 100%;
3622
+ height: 16px;
3623
+ display: flex;
3624
+ align-items: center;
3625
+ &__line {
3626
+ width: 100%;
3627
+ height: 6px;
3628
+ border-radius: 43px;
3629
+ background-color: $wac-charging-bar-background;
3630
+ position: relative;
3631
+ &__width {
3632
+ position: absolute;
3633
+ top: 0;
3634
+ left: 0;
3635
+ width: 100%;
3636
+ height: 6px;
3637
+ border-radius: 43px;
3638
+ max-width: 0;
3639
+ background-color: $wac-primary-button;
3640
+ transition: .3s ease;
3641
+ &.complete {
3642
+ background-color: $wac-tag-success;
3643
+ }
3644
+ }
3645
+ }
3646
+ }
3647
+ &__number {
3648
+ width: 2.5rem;
3649
+ min-width: 2.5rem;
3650
+ margin: 0 0 0 0.625rem;
3651
+ line-height: 1;
3652
+ white-space: nowrap;
3653
+ text-align: right;
3654
+ font-size: 0.875rem;
3655
+ color: $wac-main-text;
3656
+ font-weight: 400;
3657
+ }
3658
+ }
3600
3659
  .wac-field-checkbox {
3601
3660
  &.disable-wt {
3602
3661
  .wac-field-checkbox__row {
@@ -3800,50 +3859,6 @@ wac-calendar {
3800
3859
  }
3801
3860
  }
3802
3861
  }
3803
- .wac-charging-bar {
3804
- width: 100%;
3805
- margin: 0 0 20px;
3806
- display: flex;
3807
- align-items: center;
3808
- &__wrapLine {
3809
- width: 100%;
3810
- height: 16px;
3811
- display: flex;
3812
- align-items: center;
3813
- &__line {
3814
- width: 100%;
3815
- height: 6px;
3816
- border-radius: 43px;
3817
- background-color: $wac-charging-bar-background;
3818
- position: relative;
3819
- &__width {
3820
- position: absolute;
3821
- top: 0;
3822
- left: 0;
3823
- width: 100%;
3824
- height: 6px;
3825
- border-radius: 43px;
3826
- max-width: 0;
3827
- background-color: $wac-primary-button;
3828
- transition: .3s ease;
3829
- &.complete {
3830
- background-color: $wac-tag-success;
3831
- }
3832
- }
3833
- }
3834
- }
3835
- &__number {
3836
- width: 2.5rem;
3837
- min-width: 2.5rem;
3838
- margin: 0 0 0 0.625rem;
3839
- line-height: 1;
3840
- white-space: nowrap;
3841
- text-align: right;
3842
- font-size: 0.875rem;
3843
- color: $wac-main-text;
3844
- font-weight: 400;
3845
- }
3846
- }
3847
3862
  .w-color-picker {
3848
3863
  display: flex;
3849
3864
  flex-direction: column;
@@ -4000,39 +4015,6 @@ wac-calendar {
4000
4015
  }
4001
4016
  }
4002
4017
  }
4003
- .wac-delete {
4004
- width: 40px;
4005
- height: 40px;
4006
-
4007
- &__wrapper {
4008
- @include flexbox();
4009
- @include justify-content(center);
4010
- @include align-items(center);
4011
- width: 100%;
4012
- height: 100%;
4013
- border-radius: 3px;
4014
- background-color: transparent;
4015
- transition: background-color 0.3s ease-in-out;
4016
- cursor: pointer;
4017
-
4018
- i {
4019
- color: $wac-border-form;
4020
- font-size: 14px;
4021
- line-height: 23px;
4022
- transition: color 0.3s ease-in-out;
4023
- }
4024
-
4025
- &:hover {
4026
- background-color: $wac-primary-button;
4027
- transition: background-color 0.3s ease-in-out;
4028
-
4029
- i {
4030
- color: $wac-white;
4031
- transition: color 0.3s ease-in-out;
4032
- }
4033
- }
4034
- }
4035
- }
4036
4018
  .wac-draganddrop-list {
4037
4019
  width: 100%;
4038
4020
  background-color: $wac-white;
@@ -4170,6 +4152,39 @@ wac-calendar {
4170
4152
  .wac-draganddrop-list__wrapper.cdk-drop-list-dragging .wac-draganddrop-list__wrapper__item:not(.cdk-drag-placeholder) {
4171
4153
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
4172
4154
  }
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
+ }
4173
4188
  .wac-dropdown {
4174
4189
  display: inline-block;
4175
4190
  width: 40px;
@@ -4480,7 +4495,41 @@ wac-calendar {
4480
4495
  }
4481
4496
  }
4482
4497
  }
4483
- }.wac-expanded-panel {
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 {
4484
4533
  width: 100%;
4485
4534
  display: flex;
4486
4535
  flex-direction: column;
@@ -4538,40 +4587,6 @@ wac-calendar {
4538
4587
  }
4539
4588
  }
4540
4589
  }
4541
- @mixin flex-col-start {
4542
- display: flex;
4543
- flex-direction: column;
4544
- justify-content: flex-start;
4545
- align-items: flex-start;
4546
- }
4547
-
4548
- .wac-faq-section {
4549
- width: 100%;
4550
- @include flex-col-start;
4551
- gap: 32px;
4552
- &__wrapper {
4553
- width: 100%;
4554
- display: flex;
4555
- flex-wrap: wrap;
4556
- justify-content: flex-start;
4557
- align-items: stretch;
4558
- gap: 32px;
4559
- &__item {
4560
- width: calc(50% - 16px);
4561
- @include flex-col-start;
4562
- gap: 16px;
4563
- @include media('<tablet') {
4564
- width: 100%;
4565
- }
4566
- strong {
4567
- font-weight: 700;
4568
- }
4569
- p {
4570
- color: $second-color;
4571
- }
4572
- }
4573
- }
4574
- }
4575
4590
  .wac-filters {
4576
4591
  width: 100%;
4577
4592
  &__wrapper {
@@ -4791,7 +4806,7 @@ wac-calendar {
4791
4806
  }
4792
4807
  }
4793
4808
 
4794
- .wac-free-popin .ps-content > * {
4809
+ .wac-free-popin ::ng-deep .ng-scroll-content > * {
4795
4810
  padding-right: 15px;
4796
4811
  }
4797
4812
  .wac-google-preview {
@@ -6395,7 +6410,7 @@ wac-optional-disable-container {
6395
6410
  }
6396
6411
  }
6397
6412
 
6398
- .wac-free .ps-content > * {
6413
+ .wac-free ::ng-deep .ng-scroll-content > * {
6399
6414
  padding-right: 15px;
6400
6415
  }
6401
6416
  @mixin flex-col-start {
@@ -7409,8 +7424,9 @@ wac-optional-disable-container {
7409
7424
  transition: 0s;
7410
7425
  }
7411
7426
  }
7412
- .ps {
7427
+ ng-scrollbar {
7413
7428
  max-height: 240px;
7429
+ width: 100%;
7414
7430
  }
7415
7431
  &.open,
7416
7432
  &.open.hidden {
@@ -10885,8 +10901,9 @@ div.wac-field-input-search {
10885
10901
  transition: 0s;
10886
10902
  }
10887
10903
  }
10888
- .ps {
10904
+ ng-scrollbar {
10889
10905
  max-height: 240px;
10906
+ width: 100%;
10890
10907
  }
10891
10908
  &.open,
10892
10909
  &.open.hidden {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "19.0.0-beta.1",
3
+ "version": "19.0.0-beta.3",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=19.0.0",
6
6
  "@angular/cdk": ">=19.0.0",