@wizishop/angular-components 15.0.2 → 15.1.1

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.
Files changed (170) hide show
  1. package/angular-components.scss +295 -548
  2. package/esm2020/lib/components/alert/alert.component.mjs +3 -3
  3. package/esm2020/lib/components/alert-popup/alert-popup-module.mjs +4 -4
  4. package/esm2020/lib/components/alert-popup/alert-popup.component.mjs +3 -3
  5. package/esm2020/lib/components/alert-popup/alert-popup.service.mjs +3 -3
  6. package/esm2020/lib/components/back/back.component.mjs +3 -3
  7. package/esm2020/lib/components/block/block-title-legacy/block-title-legacy.component.mjs +3 -3
  8. package/esm2020/lib/components/block/block.component.mjs +7 -7
  9. package/esm2020/lib/components/block/separator/block-separator.component.mjs +3 -3
  10. package/esm2020/lib/components/block-with-checkbox/block-with-checkbox.component.mjs +5 -5
  11. package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
  12. package/esm2020/lib/components/button/button.component.mjs +12 -12
  13. package/esm2020/lib/components/calendar/calendar.component.mjs +26 -26
  14. package/esm2020/lib/components/card-price/card-price.component.mjs +7 -5
  15. package/esm2020/lib/components/charging-bar/charging-bar.component.mjs +3 -3
  16. package/esm2020/lib/components/checkbox/checkbox.component.mjs +15 -14
  17. package/esm2020/lib/components/checkbox/checkbox.module.mjs +4 -4
  18. package/esm2020/lib/components/common/label/label.component.mjs +3 -3
  19. package/esm2020/lib/components/common/placeholder/placeholder.component.mjs +3 -3
  20. package/esm2020/lib/components/confirm-delete/confirm-delete.component.mjs +3 -3
  21. package/esm2020/lib/components/content-with-buttons/content-with-buttons.component.mjs +3 -3
  22. package/esm2020/lib/components/delete/delete.component.mjs +3 -3
  23. package/esm2020/lib/components/draganddrop-list/draganddrop-list.component.mjs +3 -3
  24. package/esm2020/lib/components/dropdown/dropdown.component.mjs +3 -3
  25. package/esm2020/lib/components/edit-in-place/edit-in-place.component.mjs +3 -3
  26. package/esm2020/lib/components/expanded-panel/expanded-panel.component.mjs +3 -3
  27. package/esm2020/lib/components/expansion/accordion/accordion.component.mjs +3 -3
  28. package/esm2020/lib/components/expansion/expansion-panel/expansion-panel-base.mjs +12 -12
  29. package/esm2020/lib/components/expansion/expansion-panel/expansion-panel.component.mjs +7 -7
  30. package/esm2020/lib/components/expansion/expansion-panel/expansion-panel.directive.mjs +3 -3
  31. package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header-base.mjs +7 -7
  32. package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header.component.mjs +7 -7
  33. package/esm2020/lib/components/expansion/expansion-panel-header/expansion-panel-header.directive.mjs +3 -3
  34. package/esm2020/lib/components/expansion/expansion.module.mjs +4 -4
  35. package/esm2020/lib/components/filters/filters.component.mjs +3 -3
  36. package/esm2020/lib/components/free-popin/free-popin.component.mjs +3 -3
  37. package/esm2020/lib/components/google-preview/google-preview.component.mjs +3 -3
  38. package/esm2020/lib/components/header-page/header-page.component.mjs +21 -9
  39. package/esm2020/lib/components/hn/h1/h1.component.mjs +3 -3
  40. package/esm2020/lib/components/hn/h2/h2.component.mjs +3 -3
  41. package/esm2020/lib/components/hn/h3/h3.component.mjs +3 -3
  42. package/esm2020/lib/components/hn/h4/h4.component.mjs +3 -3
  43. package/esm2020/lib/components/image/image.component.mjs +3 -3
  44. package/esm2020/lib/components/info/info.component.mjs +3 -3
  45. package/esm2020/lib/components/inputs/input/input.component.mjs +3 -3
  46. package/esm2020/lib/components/inputs/input/input.module.mjs +4 -4
  47. package/esm2020/lib/components/inputs/input-search/input-search.component.mjs +3 -3
  48. package/esm2020/lib/components/inputs/input-search/input-search.module.mjs +4 -4
  49. package/esm2020/lib/components/inputs/input-with-select/input-with-select.component.mjs +5 -5
  50. package/esm2020/lib/components/link/link.component.mjs +9 -9
  51. package/esm2020/lib/components/loader/loader.component.mjs +3 -3
  52. package/esm2020/lib/components/loader/loader.module.mjs +4 -4
  53. package/esm2020/lib/components/logo/logo.component.mjs +3 -3
  54. package/esm2020/lib/components/mosaic/mosaic.component.mjs +3 -3
  55. package/esm2020/lib/components/multiple-search/multiple-search.component.mjs +3 -3
  56. package/esm2020/lib/components/multiple-search-plus/multiple-search-plus.component.mjs +3 -3
  57. package/esm2020/lib/components/optional-disable-container/optional-disable-container.component.mjs +3 -3
  58. package/esm2020/lib/components/pagination/pagination.component.mjs +7 -7
  59. package/esm2020/lib/components/pagination/pagination.module.mjs +4 -4
  60. package/esm2020/lib/components/pagination/pipes/array-pages.pipe.mjs +3 -3
  61. package/esm2020/lib/components/pagination/pipes/custom-text.pipe.mjs +3 -3
  62. package/esm2020/lib/components/pagination/pipes/is-last-page.pipe.mjs +3 -3
  63. package/esm2020/lib/components/popin/popin.component.mjs +5 -5
  64. package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +3 -3
  65. package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +4 -4
  66. package/esm2020/lib/components/radio/radio-directive.mjs +39 -0
  67. package/esm2020/lib/components/radio/radio-group.directive.mjs +34 -0
  68. package/esm2020/lib/components/radio/radio.component.mjs +3 -3
  69. package/esm2020/lib/components/search/search.component.mjs +3 -3
  70. package/esm2020/lib/components/selected-list/selected-list.component.mjs +3 -3
  71. package/esm2020/lib/components/selects/option/option-selection-handler.interface.mjs +1 -1
  72. package/esm2020/lib/components/selects/option/option.component.mjs +8 -5
  73. package/esm2020/lib/components/selects/option/select-option.directive.mjs +18 -13
  74. package/esm2020/lib/components/selects/option-call-to-action/option-call-to-action.component.mjs +4 -4
  75. package/esm2020/lib/components/selects/select/select.component.mjs +197 -0
  76. package/esm2020/lib/components/selects/select/select.directive.mjs +164 -0
  77. package/esm2020/lib/components/selects/select/value-change.service.mjs +190 -0
  78. package/esm2020/lib/components/selects/select-in-text/select-in-text.component.mjs +11 -11
  79. package/esm2020/lib/components/selects/select-search-trigger/select-search-trigger.component.mjs +3 -3
  80. package/esm2020/lib/components/separator/separator.component.mjs +3 -3
  81. package/esm2020/lib/components/settings/settings.component.mjs +3 -3
  82. package/esm2020/lib/components/shared-components.module.mjs +9 -13
  83. package/esm2020/lib/components/snackbar/snackbar.component.mjs +3 -3
  84. package/esm2020/lib/components/state/state.component.mjs +3 -3
  85. package/esm2020/lib/components/summary/summary.component.mjs +8 -8
  86. package/esm2020/lib/components/switch/switch.component.mjs +3 -3
  87. package/esm2020/lib/components/tab/tab.component.mjs +3 -3
  88. package/esm2020/lib/components/table/directives/checkBoxRow.directive.mjs +13 -13
  89. package/esm2020/lib/components/table/directives/column.directive.mjs +3 -3
  90. package/esm2020/lib/components/table/directives/columnHeader.directive.mjs +11 -11
  91. package/esm2020/lib/components/table/directives/raw.directive.mjs +3 -3
  92. package/esm2020/lib/components/table/shared/filters-table.service.mjs +3 -3
  93. package/esm2020/lib/components/table/shared/table-checkbox-id.service.mjs +3 -3
  94. package/esm2020/lib/components/table/table.component.mjs +4 -4
  95. package/esm2020/lib/components/table/table.module.mjs +4 -4
  96. package/esm2020/lib/components/tag/tag.component.mjs +3 -3
  97. package/esm2020/lib/components/tag-label/tag-label.component.mjs +3 -3
  98. package/esm2020/lib/components/text/text.component.mjs +3 -3
  99. package/esm2020/lib/components/text-area/text-area.component.mjs +3 -3
  100. package/esm2020/lib/components/token-check/token-check.component.mjs +3 -3
  101. package/esm2020/lib/components/tooltip/tooltip.component.mjs +3 -3
  102. package/esm2020/lib/components/tooltip/tooltip.module.mjs +4 -4
  103. package/esm2020/lib/components/tree/tree.component.mjs +11 -9
  104. package/esm2020/lib/components/tree/tree.dto.mjs +1 -1
  105. package/esm2020/lib/components/tree/tree.module.mjs +4 -4
  106. package/esm2020/lib/components/upload/upload.component.mjs +3 -3
  107. package/esm2020/lib/components/wrapper/wrapper.component.mjs +3 -3
  108. package/esm2020/lib/components/wrapper-blocs/wrapper-blocs.component.mjs +3 -3
  109. package/esm2020/lib/components/wrapper-multiple-block/wrapper-multiple-block.component.mjs +3 -3
  110. package/esm2020/lib/components/wrapper-sidebar/wrapper-sidebar.component.mjs +3 -3
  111. package/esm2020/lib/directives/abstract-debounce/abstract-debounce.directive.mjs +3 -3
  112. package/esm2020/lib/directives/abstract-debounce/debounce-keyup.directive.mjs +3 -3
  113. package/esm2020/lib/directives/auto-hide/auto-hide.directive.mjs +3 -3
  114. package/esm2020/lib/directives/keyboard-events/keypress-enter.directive.mjs +8 -8
  115. package/esm2020/lib/directives/keyboard-events/only-numbers.directive.mjs +3 -3
  116. package/esm2020/lib/directives/keyboard-events/two-digital-decimal-number.directive.mjs +3 -3
  117. package/esm2020/lib/directives/ng-var.directive.mjs +12 -12
  118. package/esm2020/lib/directives/shared-directives.module.mjs +17 -9
  119. package/esm2020/lib/directives/zindex-toggle/zindex-toggle.directive.mjs +9 -9
  120. package/esm2020/lib/pipes/call-component-function.pipe.mjs +3 -3
  121. package/esm2020/lib/pipes/find-option-selected-field.pipe.mjs +3 -3
  122. package/esm2020/lib/pipes/select/filter-options.pipe.mjs +3 -3
  123. package/esm2020/lib/pipes/select/select-filters.pipe.mjs +3 -3
  124. package/esm2020/lib/pipes/selected-list/are-all-options-selected.pipe.mjs +3 -3
  125. package/esm2020/lib/pipes/shared-pipes.module.mjs +4 -4
  126. package/esm2020/lib/pipes/tree/format-object-to-recursif-tree.pipe.mjs +3 -3
  127. package/esm2020/lib/pipes/tree/format-object-to-simple-tree.pipe.mjs +3 -3
  128. package/esm2020/lib/services/dom.service.mjs +3 -3
  129. package/esm2020/lib/services/history.service.mjs +53 -0
  130. package/esm2020/lib/services/multiple-selection.service.mjs +3 -3
  131. package/esm2020/lib/utils/array.mjs +2 -0
  132. package/esm2020/lib/utils/uuid.mjs +8 -0
  133. package/esm2020/lib/wizi-components.module.mjs +4 -4
  134. package/esm2020/public-api.mjs +8 -5
  135. package/fesm2015/wizishop-angular-components.mjs +829 -748
  136. package/fesm2015/wizishop-angular-components.mjs.map +1 -1
  137. package/fesm2020/wizishop-angular-components.mjs +828 -747
  138. package/fesm2020/wizishop-angular-components.mjs.map +1 -1
  139. package/lib/components/block/block.component.d.ts +1 -1
  140. package/lib/components/card-price/card-price.component.d.ts +2 -1
  141. package/lib/components/checkbox/checkbox.component.d.ts +1 -1
  142. package/lib/components/header-page/header-page.component.d.ts +8 -2
  143. package/lib/components/inputs/input-with-select/input-with-select.component.d.ts +1 -1
  144. package/lib/components/inputs/input-with-select/option-item.dto.d.ts +1 -1
  145. package/lib/components/mosaic/mosaic.component.d.ts +4 -4
  146. package/lib/components/radio/radio-directive.d.ts +12 -0
  147. package/lib/components/radio/radio-group.directive.d.ts +11 -0
  148. package/lib/components/selects/option/option-selection-handler.interface.d.ts +1 -0
  149. package/lib/components/selects/option/option.component.d.ts +1 -0
  150. package/lib/components/selects/option/select-option.directive.d.ts +3 -1
  151. package/lib/components/selects/{select-test → select}/select.component.d.ts +3 -3
  152. package/lib/components/selects/{select-test → select}/select.directive.d.ts +8 -5
  153. package/lib/components/selects/{select-test → select}/value-change.service.d.ts +15 -5
  154. package/lib/components/shared-components.module.d.ts +79 -80
  155. package/lib/components/tree/tree.component.d.ts +8 -7
  156. package/lib/components/tree/tree.dto.d.ts +1 -1
  157. package/lib/directives/shared-directives.module.d.ts +6 -4
  158. package/lib/pipes/call-component-function.pipe.d.ts +1 -1
  159. package/lib/services/history.service.d.ts +14 -0
  160. package/lib/utils/array.d.ts +1 -0
  161. package/lib/utils/uuid.d.ts +1 -0
  162. package/package.json +1 -1
  163. package/public-api.d.ts +7 -4
  164. package/wizishop-angular-components-15.1.1.tgz +0 -0
  165. package/esm2020/lib/components/selects/legacy-select/select.component.mjs +0 -133
  166. package/esm2020/lib/components/selects/select-test/select.component.mjs +0 -197
  167. package/esm2020/lib/components/selects/select-test/select.directive.mjs +0 -154
  168. package/esm2020/lib/components/selects/select-test/value-change.service.mjs +0 -144
  169. package/lib/components/selects/legacy-select/select.component.d.ts +0 -46
  170. package/wizishop-angular-components-15.0.2.tgz +0 -0
@@ -7,7 +7,7 @@ $wac-table-background-color: #fafafa!default;
7
7
  $wac-bleu-color: #52aecd!default;
8
8
  $wac-red-color: #ff1800!default;
9
9
  $wac-border-color: #cfd4e4!default;
10
- $wac-border-form: #DEE2ED!default;
10
+ $wac-border-form: #C9D2D9!default;
11
11
  $wac-border-light: #cfd4e4!default;
12
12
  $wac-color-loader2: #a2c739!default;
13
13
  $wac-color-loader: #4baed0!default;
@@ -112,7 +112,7 @@ $wac-button-tab-background: #EAEDF5!default;
112
112
 
113
113
  $wac-color-success-popup-alert: #6DCC95!default;
114
114
 
115
- $wac-background-indication: #EDEFF2!default;
115
+ $wac-background-indication: #DEE2ED!default;
116
116
 
117
117
  $wac-grey: #F5F8FA!default;
118
118
  $wac-round-breadcrumbs: #DEE2ED!default;
@@ -123,6 +123,7 @@ $wac-google-preview-url: #202124!default;
123
123
  $wac-google-preview-title: #1A0DAB!default;
124
124
  $wac-google-preview-description: #4D5156!default;
125
125
  $wac-charging-bar-background: #E1E6EA!default;
126
+ $wac-link-active: #38A3F1!default;
126
127
  .zindexToggle {
127
128
  z-index: 9!important;
128
129
  position: relative;
@@ -2602,6 +2603,7 @@ wac-calendar {
2602
2603
  display: flex;
2603
2604
  flex-direction: column;
2604
2605
  border: 1px solid $wac-white;
2606
+ position: relative;
2605
2607
 
2606
2608
  box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
2607
2609
 
@@ -2645,6 +2647,28 @@ wac-calendar {
2645
2647
  font-weight: 600;
2646
2648
  }
2647
2649
 
2650
+ .promo {
2651
+ background-color: $wac-tag-success;
2652
+ width: calc(100% - 20px);
2653
+ position: absolute;
2654
+ text-align: center;
2655
+ border-radius: 3px;
2656
+ padding: 10px;
2657
+ letter-spacing: 0px;
2658
+ text-transform: uppercase;
2659
+ font-size: rem(18);
2660
+ font-weight: 600;
2661
+ color: $wac-white;
2662
+ margin: 10px;
2663
+ top: 0;
2664
+ left: 0;
2665
+
2666
+ sup {
2667
+ font-size: rem(9);
2668
+ font-weight: 500;
2669
+ }
2670
+ }
2671
+
2648
2672
  .price {
2649
2673
  display: flex;
2650
2674
  align-items: flex-end;
@@ -2770,6 +2794,9 @@ wac-calendar {
2770
2794
  position: relative;
2771
2795
  min-width: 100%;
2772
2796
  margin: 0;
2797
+ @include media('<desktop') {
2798
+ display: flex;
2799
+ }
2773
2800
  }
2774
2801
 
2775
2802
  input[type='text'] {
@@ -2888,7 +2915,7 @@ wac-calendar {
2888
2915
  }
2889
2916
  }
2890
2917
  }
2891
- &:checked + label {
2918
+ &:checked + label, &.checked + label {
2892
2919
  color: $wac-input-radio-color-active-label;
2893
2920
  &:before {
2894
2921
  border: 1px solid $wac-input-active-color;
@@ -2896,6 +2923,7 @@ wac-calendar {
2896
2923
  transition: all 0.3s ease-in-out;
2897
2924
  }
2898
2925
  &:after {
2926
+ display: block!important;
2899
2927
  left: 7px;
2900
2928
  top: 8px;
2901
2929
  transition: all 0.3s ease-in-out;
@@ -2976,6 +3004,7 @@ wac-calendar {
2976
3004
  opacity: 1;
2977
3005
  visibility: visible;
2978
3006
  transform: translateX(0);
3007
+ max-width: unset;
2979
3008
  transition: 0s visibility, opacity .3s ease .05s, transform .3s ease .05s;
2980
3009
  }
2981
3010
  > div {
@@ -3902,7 +3931,7 @@ wac-calendar {
3902
3931
  justify-content: center;
3903
3932
  align-items: center;
3904
3933
  i {
3905
- font-size: rem(12);
3934
+ font-size: rem(14);
3906
3935
  font-weight: 400;
3907
3936
  color: $wac-second-color;
3908
3937
  }
@@ -5823,19 +5852,27 @@ wac-optional-disable-container {
5823
5852
  .wac-summary {
5824
5853
  p {
5825
5854
  font-size: rem(14);
5826
- line-height: rem(23);
5827
5855
  color: $wac-main-text;
5828
- margin: 15px 0;
5829
- transition: color .3s ease-in-out;
5856
+ display: flex;
5857
+ margin: 0;
5858
+ min-height: 40px;
5859
+ align-items: center;
5860
+ line-height: 1.4;
5861
+ padding: 5px 20px;
5862
+ transition: .3s ease-in-out;
5830
5863
 
5831
5864
  &.item-link {
5832
5865
  color: $wac-second-color;
5833
5866
  cursor: pointer;
5834
5867
 
5835
5868
  &.active {
5836
- color: $wac-main-text;
5869
+ color: $wac-link-active;
5870
+ background-color: transparentize($wac-link-active, .9);
5837
5871
  transition: color .3s ease-in-out;
5838
5872
  }
5873
+ &:hover, &:focus {
5874
+ background-color: $wac-grey;
5875
+ }
5839
5876
  }
5840
5877
 
5841
5878
  &:first-child {
@@ -7026,7 +7063,7 @@ span.wac-tooltip {
7026
7063
  h1.wac-h1 {
7027
7064
  font-size: rem(30);
7028
7065
  line-height: rem(35);
7029
- font-weight: 500;
7066
+ font-weight: 600;
7030
7067
  color: $wac-main-text;
7031
7068
  @include media('<desktop') {
7032
7069
  font-size: rem(22);
@@ -7470,15 +7507,15 @@ h4.wac-h4 {
7470
7507
  right: 0;
7471
7508
  top: 0;
7472
7509
  height: 40px;
7473
- color: $wac-main-text;
7510
+ color: $wac-second-color;
7474
7511
  font-size: rem(14);
7475
- padding: 7.5px 15px;
7512
+ padding: 7.5px 20px;
7476
7513
  background-color: $wac-background-indication;
7477
7514
  border: none;
7478
7515
  border-radius: 3px 3px 0 0;
7479
7516
  white-space: nowrap;
7480
7517
  transition: .3s ease;
7481
- font-weight: 500;
7518
+ font-weight: 400;
7482
7519
  display: flex;
7483
7520
  align-items: center;
7484
7521
  z-index: 2;
@@ -7667,8 +7704,8 @@ div.wac-field-input-search {
7667
7704
  }
7668
7705
  }
7669
7706
 
7670
- wac-select-test {
7671
- .wac-select-test__header {
7707
+ wac-select {
7708
+ .wac-select__header {
7672
7709
 
7673
7710
  }
7674
7711
 
@@ -7686,7 +7723,7 @@ div.wac-field-input-search {
7686
7723
  }
7687
7724
  }
7688
7725
  }
7689
- .wac-select-test {
7726
+ .wac-select {
7690
7727
  border-width: 0;
7691
7728
  background-color: transparent;
7692
7729
  position: relative;
@@ -7701,7 +7738,7 @@ div.wac-field-input-search {
7701
7738
  transform: translateY(-50%);
7702
7739
  background-color: $input-border;
7703
7740
  }
7704
- .wac-select-test__header {
7741
+ .wac-select__header {
7705
7742
  padding: 0 20px;
7706
7743
  &:focus {
7707
7744
  border: none;
@@ -7723,402 +7760,282 @@ div.wac-field-input-search {
7723
7760
  }
7724
7761
  }
7725
7762
  }
7726
- .wac-select-test__header__chevron {
7763
+ .wac-select__header__chevron {
7764
+ display: none;
7765
+ }
7766
+ }
7767
+
7768
+ .wac-option {
7769
+ width: 100%;
7770
+ font-size: rem(14);
7771
+ line-height: rem(30);
7772
+ cursor: pointer;
7773
+ transition: 0.3s ease;
7774
+ position: relative;
7775
+ display: flex;
7776
+ justify-content: flex-start;
7777
+ align-content: center;
7778
+ align-items: center;
7779
+ color: $wac-second-color;
7780
+ > div {
7781
+ width: 100%;
7782
+ display: flex;
7783
+ align-items: center;
7784
+ align-content: center;
7785
+ }
7786
+ .icon {
7787
+ width: 24px;
7788
+ margin: 0 10px 0 0;
7789
+ height: auto;
7790
+ max-height: 24px;
7791
+ }
7792
+
7793
+ &:empty {
7727
7794
  display: none;
7728
7795
  }
7796
+
7797
+ &:hover:not(.disabled),
7798
+ &:focus:not(.disabled) {
7799
+ background-color: $wac-gray-background;
7800
+ color: $wac-main-text;
7801
+ }
7802
+ &.disabled {
7803
+ cursor: default;
7804
+ color: $disabled-button-text;
7805
+ }
7806
+ > div {
7807
+ padding: 0 10px;
7808
+ &.selected {
7809
+ background-color: $wac-gray-background;
7810
+ color: $wac-main-text;
7811
+ }
7812
+ }
7813
+
7814
+ &__placeholder {
7815
+ display: flex;
7816
+ justify-content: flex-start;
7817
+ align-content: center;
7818
+ align-items: center;
7819
+ color: $wac-second-color;
7820
+ }
7729
7821
  }
7730
7822
 
7731
7823
 
7732
7824
 
7733
- .wac {
7734
- &-select {
7825
+ .wac-option-call-to-action {
7826
+ background-color: $wac-color-CTA-select;
7827
+ border: 1px solid $wac-border-CTA-select;
7828
+ color: $wac-main-text;
7829
+ font-size: rem(14);
7830
+ min-height: rem(40);
7831
+ display: flex;
7832
+ align-items: center;
7833
+ align-content: center;
7834
+ width: 100%;
7835
+ border-radius: 3px;
7836
+ cursor: pointer;
7837
+ transition: 0.3s ease;
7838
+ margin: 0 0 rem(10);
7839
+ padding: 0 20px;
7840
+ > div {
7841
+ display: flex;
7842
+ align-items: center;
7843
+ align-content: center;
7844
+ justify-content: flex-start;
7735
7845
  width: 100%;
7736
7846
  position: relative;
7737
- height: 40px;
7738
- border: 1px solid $wac-border-form;
7739
- margin: 0;
7740
- border-radius: 3px;
7741
- z-index: 2;
7742
- background-color: $wac-white;
7847
+ padding-right: 100px;
7848
+ i {
7849
+ color: $wac-wizishop-blue;
7850
+ margin: 0 8px 0 0;
7851
+ }
7852
+ strong {
7853
+ display: inline-block;
7854
+ margin: 0 20px 0 0;
7855
+ }
7856
+ wac-button {
7857
+ position: absolute;
7858
+ top: 50%;
7859
+ right: -20px;
7860
+ transform: translateY(-50%);
7861
+ }
7862
+ }
7863
+ &:hover,
7864
+ &:focus {
7865
+ background-color: darken($wac-color-CTA-select, 10%);
7866
+ }
7867
+ }
7868
+
7869
+ .wac-select {
7870
+ width: 100%;
7871
+ position: relative;
7872
+ height: 40px;
7873
+ border: 1px solid $wac-border-form;
7874
+ margin: 0;
7875
+ border-radius: 3px;
7876
+ z-index: 2;
7877
+ background-color: $wac-white;
7878
+ max-width: 100%;
7879
+ &:hover,
7880
+ &:focus {
7881
+ z-index: 4;
7882
+ }
7883
+ &__label {
7884
+ padding: 0;
7885
+ font-size: rem(14);
7886
+ line-height: rem(16);
7887
+ margin: 0 0 rem(12);
7888
+ font-weight: 500;
7889
+ }
7890
+ &__header {
7891
+ display: flex;
7892
+ width: 100%;
7893
+ height: 38px;
7894
+ justify-content: space-between;
7895
+ align-items: center;
7896
+ align-content: center;
7897
+ padding: 0 0 0 20px;
7898
+ color: $wac-color-text-grey;
7899
+ font-size: rem(14);
7900
+ line-height: rem(16);
7901
+ cursor: pointer;
7902
+ white-space: nowrap;
7903
+ text-overflow: ellipsis;
7743
7904
  max-width: 100%;
7744
- &:hover,
7905
+ overflow: hidden;
7906
+
7745
7907
  &:focus {
7746
- z-index: 4;
7908
+ border-color: $wizishop-blue !important;
7909
+ box-shadow: 0px 0px 4px $wac-input-box-shadow !important;
7747
7910
  }
7748
- &__label {
7749
- padding: 0;
7750
- font-size: rem(14);
7751
- line-height: rem(16);
7752
- margin: 0 0 rem(12);
7753
- font-weight: 500;
7911
+
7912
+ span.icon {
7913
+ max-width: 24px;
7914
+ margin: 0 10px 0 0;
7915
+ i {
7916
+ font-size: rem(17);
7917
+ }
7918
+ img {
7919
+ display: block;
7920
+ max-width: rem(24);
7921
+ }
7922
+ &:empty {
7923
+ display: none;
7924
+ }
7754
7925
  }
7755
- &__current {
7756
- display: flex;
7926
+ > span:not([class]):not(:last-child) {
7757
7927
  width: 100%;
7928
+ text-align: left;
7929
+ max-width: calc(100% - 58px);
7930
+ overflow: hidden;
7931
+ text-overflow: ellipsis;
7932
+ }
7933
+
7934
+ &__chevron {
7935
+ width: 38px;
7936
+ min-width: 38px;
7758
7937
  height: 38px;
7759
- justify-content: space-between;
7938
+ margin: 0 0 0 20px;
7939
+ display: flex;
7940
+ justify-content: center;
7760
7941
  align-items: center;
7761
7942
  align-content: center;
7762
- padding: 0 0 0 20px;
7763
- color: $wac-color-text-grey;
7764
- font-size: rem(14);
7765
- line-height: rem(16);
7766
- cursor: pointer;
7767
- white-space: nowrap;
7768
- text-overflow: ellipsis;
7769
- max-width: 100%;
7770
- overflow: hidden;
7771
- &--withSearch {
7772
- padding: 0;
7773
- span {
7774
- &:not(.icon):not(:last-child) {
7775
- display: block;
7776
- width: 100%;
7777
- height: rem(38);
7778
- line-height: rem(38);
7779
- padding: 0 20px;
7780
- }
7781
- &.icon {
7782
- & + span {
7783
- padding: 0;
7784
- }
7785
- }
7786
- &:last-child {
7787
- margin: 0;
7788
- }
7789
- }
7790
- &.open-search {
7791
- span {
7792
- &:not(.icon):not(:last-child) {
7793
- display: none;
7794
- }
7795
- &.icon {
7796
- display: none;
7797
- }
7798
- }
7799
- }
7800
- }
7801
- span.icon {
7802
- max-width: 24px;
7803
- margin: 0 10px 0 0;
7804
- i {
7805
- font-size: rem(17);
7806
- }
7807
- img {
7808
- display: block;
7809
- max-width: rem(24);
7810
- }
7811
- &:empty {
7812
- display: none;
7813
- }
7814
- }
7815
- > span:not([class]):not(:last-child) {
7816
- width: 100%;
7817
- text-align: left;
7818
- max-width: calc(100% - 58px);
7819
- overflow: hidden;
7820
- text-overflow: ellipsis;
7821
- }
7822
- span:last-child {
7823
- width: 38px;
7824
- min-width: 38px;
7825
- height: 38px;
7826
- margin: 0 0 0 20px;
7827
- display: flex;
7828
- justify-content: center;
7829
- align-items: center;
7830
- align-content: center;
7831
- background-color: $wac-select-icon-background;
7832
- border-radius: 0 3px 3px 0;
7833
- z-index: 3;
7834
- i {
7835
- font-size: rem(12);
7836
- color: $wac-second-color;
7837
- }
7838
- }
7839
- &__search {
7840
- position: relative;
7841
- top: 0;
7842
- left: 0;
7843
- width: 100%;
7844
- height: rem(38);
7845
- display: flex;
7846
- align-items: center;
7847
- align-content: center;
7848
- z-index: 2;
7849
- padding: 0 0 0 rem(20);
7850
- input {
7851
- border: none;
7852
- width: 100%;
7853
- box-shadow: none;
7854
- margin: 0 0 0 rem(10);
7855
- padding: 0;
7856
- height: rem(38);
7857
- line-height: rem(38);
7858
- &:focus {
7859
- &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
7860
- opacity: 0;
7861
- }
7862
- &::-moz-placeholder { /* Firefox 19+ */
7863
- opacity: 0;
7864
- }
7865
- &:-ms-input-placeholder { /* IE 10+ */
7866
- opacity: 0;
7867
- }
7868
- &:-moz-placeholder { /* Firefox 18- */
7869
- opacity: 0;
7870
- }
7871
-
7872
- }
7873
- }
7943
+ background-color: $wac-select-icon-background;
7944
+ border-radius: 0 3px 3px 0;
7945
+ z-index: 3;
7946
+ i {
7947
+ font-size: rem(12);
7948
+ color: $wac-second-color;
7874
7949
  }
7875
7950
  }
7876
- .select-disabled {
7951
+
7952
+ &.select-disabled {
7877
7953
  background-color: #f5f8fa;
7878
7954
  cursor: not-allowed;
7879
7955
  }
7880
- &__content {
7881
- position: absolute;
7882
- top: 100%;
7883
- margin-top: rem(14);
7884
- left: -1px;
7885
- width: auto;
7886
- min-width: calc(100% - 38px);
7887
- max-width: calc(100% + 2px);
7888
- border: 1px solid $wac-border-light;
7889
- border-radius: 3px;
7890
- display: flex;
7891
- flex-direction: column;
7892
- justify-content: flex-start;
7893
- align-items: flex-start;
7894
- background-color: $wac-white;
7895
- max-height: 260px;
7896
- height: auto;
7897
- visibility: visible;
7898
- opacity: 1;
7899
- box-shadow: 3px 3px 20px $wac-select-box-shadow;
7900
- padding: 10px;
7901
- .to-top & {
7902
- top: auto;
7903
- bottom: 100%;
7904
- margin-top: 0;
7905
- margin-bottom: rem(14);
7956
+ &__selection {
7957
+ > * {
7958
+ background-color: transparent;
7906
7959
  }
7907
- &.hidden {
7908
- visibility: hidden;
7960
+ }
7961
+ }
7962
+ &__content {
7963
+ position: absolute;
7964
+ top: 100%;
7965
+ margin-top: rem(14);
7966
+ left: -1px;
7967
+ width: auto;
7968
+ min-width: calc(100% - 38px);
7969
+ max-width: calc(100% + 2px);
7970
+ border: 1px solid $wac-border-light;
7971
+ border-radius: 3px;
7972
+ display: flex;
7973
+ flex-direction: column;
7974
+ justify-content: flex-start;
7975
+ align-items: flex-start;
7976
+ background-color: $wac-white;
7977
+ max-height: 260px;
7978
+ height: auto;
7979
+ visibility: visible;
7980
+ opacity: 1;
7981
+ box-shadow: 3px 3px 20px $wac-select-box-shadow;
7982
+ padding: 10px;
7983
+ &.hidden {
7984
+ visibility: hidden;
7985
+ opacity: 0;
7986
+ & > * {
7909
7987
  opacity: 0;
7910
- & > * {
7911
- opacity: 0;
7912
- transition: 0s;
7913
- }
7914
- }
7915
- .ps {
7916
- max-height: 240px;
7988
+ transition: 0s;
7917
7989
  }
7918
- &.open,
7919
- &.open.hidden {
7920
- position: relative;
7921
- left: auto;
7922
- top: 0;
7923
- transform: translateX(-1px);
7924
- visibility: visible;
7990
+ }
7991
+ .ps {
7992
+ max-height: 240px;
7993
+ }
7994
+ &.open,
7995
+ &.open.hidden {
7996
+ position: relative;
7997
+ left: auto;
7998
+ top: 0;
7999
+ transform: translateX(-1px);
8000
+ visibility: visible;
8001
+ opacity: 1;
8002
+ & > * {
7925
8003
  opacity: 1;
7926
- & > * {
7927
- opacity: 1;
7928
- transition: 0s;
7929
- }
7930
- }
7931
- &__cta {
7932
- background-color: $wac-color-CTA-select;
7933
- border: 1px solid $wac-border-CTA-select;
7934
- color: $wac-main-text;
7935
- font-size: rem(14);
7936
- min-height: rem(40);
7937
- display: flex;
7938
- align-items: center;
7939
- align-content: center;
7940
- width: 100%;
7941
- border-radius: 3px;
7942
- cursor: pointer;
7943
- transition: 0.3s ease;
7944
- margin: 0 0 rem(10);
7945
- padding: 0 20px;
7946
- > div {
7947
- display: flex;
7948
- align-items: center;
7949
- align-content: center;
7950
- justify-content: flex-start;
7951
- width: 100%;
7952
- i {
7953
- color: $wac-wizishop-blue;
7954
- margin: 0 8px 0 0;
7955
- }
7956
- strong {
7957
- display: inline-block;
7958
- margin: 0 20px 0 0;
7959
- }
7960
- }
7961
- &:hover,
7962
- &:focus {
7963
- background-color: darken($wac-color-CTA-select, 10%);
7964
- }
8004
+ transition: 0s;
7965
8005
  }
7966
- &__item {
7967
- width: 100%;
7968
- font-size: rem(14);
7969
- line-height: rem(30);
7970
- cursor: pointer;
7971
- transition: 0.3s ease;
7972
- position: relative;
7973
- display: flex;
7974
- justify-content: flex-start;
7975
- align-content: center;
7976
- align-items: center;
8006
+ }
8007
+
8008
+ &__empty {
8009
+ display: flex;
8010
+ width: 100%;
8011
+ justify-content: center;
8012
+ align-items: center;
8013
+ padding: 10px;
8014
+ span {
8015
+ font-size: rem(16);
8016
+ font-weight: 400;
8017
+ text-align: center;
7977
8018
  color: $wac-second-color;
7978
- > div {
7979
- width: 100%;
7980
- display: flex;
7981
- align-items: center;
7982
- align-content: center;
7983
- }
7984
- .icon {
7985
- width: 24px;
7986
- margin: 0 10px 0 0;
7987
- height: auto;
7988
- max-height: 24px;
7989
- }
7990
- &:not(:last-child) {
7991
- margin: 0 0 rem(10);
7992
- }
7993
- &:empty {
7994
- display: none;
7995
- }
7996
- &:first-child {
7997
- border-width: 1px 0 1px;
7998
- }
7999
- &:hover,
8000
- &:focus {
8001
- background-color: $wac-gray-background;
8002
- color: $wac-main-text;
8003
- }
8004
- > div {
8005
- padding: 0 10px;
8006
- &.selected {
8007
- background-color: $wac-gray-background;
8008
- color: $wac-main-text;
8009
- }
8010
- }
8011
- }
8012
- &__empty {
8013
- display: flex;
8014
- width: 100%;
8015
- justify-content: center;
8016
- align-items: center;
8017
- padding: 10px;
8018
- span {
8019
- font-size: rem(16);
8020
- font-weight: 400;
8021
- text-align: center;
8022
- color: $wac-second-color;
8023
- display: inline-block;
8024
- line-height: rem(25);
8025
- }
8019
+ display: inline-block;
8020
+ line-height: rem(25);
8026
8021
  }
8027
8022
  }
8028
8023
  }
8029
- }
8030
- .wac-option {
8031
- width: 100%;
8032
- font-size: rem(14);
8033
- line-height: rem(30);
8034
- cursor: pointer;
8035
- transition: 0.3s ease;
8036
- position: relative;
8037
- display: flex;
8038
- justify-content: flex-start;
8039
- align-content: center;
8040
- align-items: center;
8041
- color: $wac-second-color;
8042
- > div {
8043
- width: 100%;
8044
- display: flex;
8045
- align-items: center;
8046
- align-content: center;
8047
- }
8048
- .icon {
8049
- width: 24px;
8050
- margin: 0 10px 0 0;
8051
- height: auto;
8052
- max-height: 24px;
8053
- }
8054
8024
 
8055
- &:empty {
8056
- display: none;
8057
- }
8025
+ wac-option {
8026
+ display: block;
8027
+ &:not(:last-child) {
8028
+ margin: 0 0 rem(10);
8029
+ }
8058
8030
 
8059
- &:hover:not(.disabled),
8060
- &:focus:not(.disabled) {
8061
- background-color: $wac-gray-background;
8062
- color: $wac-main-text;
8063
- }
8064
- &.disabled {
8065
- cursor: default;
8066
- color: $disabled-button-text;
8067
- }
8068
- > div {
8069
- padding: 0 10px;
8070
- &.selected {
8071
- background-color: $wac-gray-background;
8072
- color: $wac-main-text;
8031
+ &:first-child {
8032
+ border-width: 1px 0 1px;
8073
8033
  }
8074
8034
  }
8075
8035
 
8076
- &__placeholder {
8077
- display: flex;
8078
- justify-content: flex-start;
8079
- align-content: center;
8080
- align-items: center;
8081
- color: $wac-second-color;
8082
- }
8083
8036
  }
8084
8037
 
8085
-
8086
-
8087
- .wac-option-call-to-action {
8088
- background-color: $wac-color-CTA-select;
8089
- border: 1px solid $wac-border-CTA-select;
8090
- color: $wac-main-text;
8091
- font-size: rem(14);
8092
- min-height: rem(40);
8093
- display: flex;
8094
- align-items: center;
8095
- align-content: center;
8096
- width: 100%;
8097
- border-radius: 3px;
8098
- cursor: pointer;
8099
- transition: 0.3s ease;
8100
- margin: 0 0 rem(10);
8101
- padding: 0 20px;
8102
- > div {
8103
- display: flex;
8104
- align-items: center;
8105
- align-content: center;
8106
- justify-content: flex-start;
8107
- width: 100%;
8108
- i {
8109
- color: $wac-wizishop-blue;
8110
- margin: 0 8px 0 0;
8111
- }
8112
- strong {
8113
- display: inline-block;
8114
- margin: 0 20px 0 0;
8115
- }
8116
- }
8117
- &:hover,
8118
- &:focus {
8119
- background-color: darken($wac-color-CTA-select, 10%);
8120
- }
8121
- }.wac {
8038
+ .wac {
8122
8039
  &-select-in-text {
8123
8040
  width: auto;
8124
8041
  position: relative;
@@ -8165,9 +8082,8 @@ div.wac-field-input-search {
8165
8082
  bottom: -3px;
8166
8083
  left: 0;
8167
8084
  width: 100%;
8168
- height: 1.5px;
8169
- background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23e95656' stroke-width='1' stroke-dasharray='3%2c 6' stroke-dashoffset='4' stroke-linecap='square'/%3e%3c/svg%3e");
8170
- background-position: left top;
8085
+ height: 0;
8086
+ border-bottom: 1px dashed $wac-primary-button;
8171
8087
  }
8172
8088
  &:after {
8173
8089
  content: '';
@@ -8293,173 +8209,4 @@ div.wac-field-input-search {
8293
8209
 
8294
8210
  }
8295
8211
  }
8296
- }
8297
- .wac-select-test {
8298
- width: 100%;
8299
- position: relative;
8300
- height: 40px;
8301
- border: 1px solid $wac-border-form;
8302
- margin: 0;
8303
- border-radius: 3px;
8304
- z-index: 2;
8305
- background-color: $wac-white;
8306
- max-width: 100%;
8307
- &:hover,
8308
- &:focus {
8309
- z-index: 4;
8310
- }
8311
- &__label {
8312
- padding: 0;
8313
- font-size: rem(14);
8314
- line-height: rem(16);
8315
- margin: 0 0 rem(12);
8316
- font-weight: 500;
8317
- }
8318
- &__header {
8319
- display: flex;
8320
- width: 100%;
8321
- height: 38px;
8322
- justify-content: space-between;
8323
- align-items: center;
8324
- align-content: center;
8325
- padding: 0 0 0 20px;
8326
- color: $wac-color-text-grey;
8327
- font-size: rem(14);
8328
- line-height: rem(16);
8329
- cursor: pointer;
8330
- white-space: nowrap;
8331
- text-overflow: ellipsis;
8332
- max-width: 100%;
8333
- overflow: hidden;
8334
-
8335
- &:focus {
8336
- border-color: $wizishop-blue !important;
8337
- box-shadow: 0px 0px 4px $wac-input-box-shadow !important;
8338
- }
8339
-
8340
- span.icon {
8341
- max-width: 24px;
8342
- margin: 0 10px 0 0;
8343
- i {
8344
- font-size: rem(17);
8345
- }
8346
- img {
8347
- display: block;
8348
- max-width: rem(24);
8349
- }
8350
- &:empty {
8351
- display: none;
8352
- }
8353
- }
8354
- > span:not([class]):not(:last-child) {
8355
- width: 100%;
8356
- text-align: left;
8357
- max-width: calc(100% - 58px);
8358
- overflow: hidden;
8359
- text-overflow: ellipsis;
8360
- }
8361
-
8362
- &__chevron {
8363
- width: 38px;
8364
- min-width: 38px;
8365
- height: 38px;
8366
- margin: 0 0 0 20px;
8367
- display: flex;
8368
- justify-content: center;
8369
- align-items: center;
8370
- align-content: center;
8371
- background-color: $wac-select-icon-background;
8372
- border-radius: 0 3px 3px 0;
8373
- z-index: 3;
8374
- i {
8375
- font-size: rem(12);
8376
- color: $wac-second-color;
8377
- }
8378
- }
8379
-
8380
- &.select-disabled {
8381
- background-color: #f5f8fa;
8382
- cursor: not-allowed;
8383
- }
8384
- &__selection {
8385
- > * {
8386
- background-color: transparent;
8387
- }
8388
- }
8389
- }
8390
- &__content {
8391
- position: absolute;
8392
- top: 100%;
8393
- margin-top: rem(14);
8394
- left: -1px;
8395
- width: auto;
8396
- min-width: calc(100% - 38px);
8397
- max-width: calc(100% + 2px);
8398
- border: 1px solid $wac-border-light;
8399
- border-radius: 3px;
8400
- display: flex;
8401
- flex-direction: column;
8402
- justify-content: flex-start;
8403
- align-items: flex-start;
8404
- background-color: $wac-white;
8405
- max-height: 260px;
8406
- height: auto;
8407
- visibility: visible;
8408
- opacity: 1;
8409
- box-shadow: 3px 3px 20px $wac-select-box-shadow;
8410
- padding: 10px;
8411
- &.hidden {
8412
- visibility: hidden;
8413
- opacity: 0;
8414
- & > * {
8415
- opacity: 0;
8416
- transition: 0s;
8417
- }
8418
- }
8419
- .ps {
8420
- max-height: 240px;
8421
- }
8422
- &.open,
8423
- &.open.hidden {
8424
- position: relative;
8425
- left: auto;
8426
- top: 0;
8427
- transform: translateX(-1px);
8428
- visibility: visible;
8429
- opacity: 1;
8430
- & > * {
8431
- opacity: 1;
8432
- transition: 0s;
8433
- }
8434
- }
8435
-
8436
- &__empty {
8437
- display: flex;
8438
- width: 100%;
8439
- justify-content: center;
8440
- align-items: center;
8441
- padding: 10px;
8442
- span {
8443
- font-size: rem(16);
8444
- font-weight: 400;
8445
- text-align: center;
8446
- color: $wac-second-color;
8447
- display: inline-block;
8448
- line-height: rem(25);
8449
- }
8450
- }
8451
- }
8452
-
8453
- wac-option {
8454
- display: block;
8455
- &:not(:last-child) {
8456
- margin: 0 0 rem(10);
8457
- }
8458
-
8459
- &:first-child {
8460
- border-width: 1px 0 1px;
8461
- }
8462
- }
8463
-
8464
- }
8465
-
8212
+ }