@wizishop/angular-components 0.0.104 → 0.0.107
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/angular-components.scss +172 -0
- package/bundles/wizishop-angular-components.umd.js +4 -6
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/inputs/input-search/input-search.component.js +4 -4
- package/esm2015/lib/components/link/link.component.js +2 -4
- package/fesm2015/wizishop-angular-components.js +4 -6
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/inputs/input-search/input-search.component.d.ts +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.107.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.104.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -34,6 +34,13 @@ $wac-link-color: #52aecd!default;
|
|
|
34
34
|
$wac-main-text: #1d2a3b!default;
|
|
35
35
|
$wac-main-text-lighten: lighten($main-text, 15%)!default;
|
|
36
36
|
$wac-orange-color: #f39c12!default;
|
|
37
|
+
$wac-orange-color-disabled: lighten(#f39c12, 10%)!default;
|
|
38
|
+
$wac-orange-color-darken: darken(#f39c12, 10%)!default;
|
|
39
|
+
$wac-orange-color-focus: darken(#f39c12, 10%)!default;
|
|
40
|
+
$wac-pink-color: #f83c60!default;
|
|
41
|
+
$wac-pink-color-disabled: lighten(#f83c60, 10%)!default;
|
|
42
|
+
$wac-pink-color-darken: darken(#f83c60, 10%)!default;
|
|
43
|
+
$wac-pink-color-focus: darken(#f83c60, 10%)!default;
|
|
37
44
|
$wac-p-alert-color-default: #1e5568!default;
|
|
38
45
|
$wac-p-alert-color-success: #11552e!default;
|
|
39
46
|
$wac-p-alert-color-warning: #3a0505!default;
|
|
@@ -100,6 +107,7 @@ $wac-select-box-shadow: #0000000d!default;
|
|
|
100
107
|
$wac-button-tab-background: #EAEDF5!default;
|
|
101
108
|
|
|
102
109
|
$wac-color-success-popup-alert: #6DCC95!default;
|
|
110
|
+
|
|
103
111
|
.zindexToggle {
|
|
104
112
|
z-index: 9!important;
|
|
105
113
|
position: relative;
|
|
@@ -885,6 +893,170 @@ $wac-color-success-popup-alert: #6DCC95!default;
|
|
|
885
893
|
}
|
|
886
894
|
}
|
|
887
895
|
|
|
896
|
+
&.is-orange {
|
|
897
|
+
background-color: $wac-orange-color;
|
|
898
|
+
border-color: $wac-orange-color;
|
|
899
|
+
transition: background-color 0.3s ease-in-out;
|
|
900
|
+
|
|
901
|
+
.wac-button__loader {
|
|
902
|
+
background-color: $wac-orange-color-darken;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
&:hover,
|
|
906
|
+
&.hover {
|
|
907
|
+
background-color: $wac-orange-color-darken;
|
|
908
|
+
border-color: $wac-orange-color-darken;
|
|
909
|
+
transition: background-color 0.3s ease-in-out;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
&:focus,
|
|
913
|
+
&.focus {
|
|
914
|
+
background-color: $wac-orange-color-focus;
|
|
915
|
+
border-color: $wac-orange-color-focus;
|
|
916
|
+
transition: background-color 0.3s ease-in-out;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
&.is-outlined {
|
|
920
|
+
background-color: transparent;
|
|
921
|
+
border-color: $wac-orange-color;
|
|
922
|
+
|
|
923
|
+
.wac-button__loader {
|
|
924
|
+
background-color: $wac-orange-color-darken;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.wac-button__wrapper, .wac-button__animation {
|
|
928
|
+
color: $wac-orange-color;
|
|
929
|
+
transition: color 0.3s ease-in-out;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
&:hover,
|
|
933
|
+
&.hover {
|
|
934
|
+
background-color: $wac-orange-color;
|
|
935
|
+
border-color: $wac-orange-color;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
&:focus,
|
|
939
|
+
&.focus {
|
|
940
|
+
background-color: $wac-orange-color-focus;
|
|
941
|
+
border-color: $wac-orange-color-focus;
|
|
942
|
+
transition: background-color 0.3s ease-in-out;
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
&.is-loading {
|
|
947
|
+
&:hover,
|
|
948
|
+
&.hover {
|
|
949
|
+
background-color: $wac-orange-color;
|
|
950
|
+
transition: background-color 0.3s ease-in-out;
|
|
951
|
+
}
|
|
952
|
+
&:focus,
|
|
953
|
+
&.focus {
|
|
954
|
+
background-color: $wac-orange-color-focus;
|
|
955
|
+
border-color: $wac-orange-color-focus;
|
|
956
|
+
transition: background-color 0.3s ease-in-out;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
&.disabled {
|
|
961
|
+
background-color: $wac-orange-color-disabled;
|
|
962
|
+
border-color: $wac-orange-color-disabled;
|
|
963
|
+
transition: 0s;
|
|
964
|
+
cursor: default;
|
|
965
|
+
.wac-button__wrapper, .wac-button__animation {
|
|
966
|
+
color: $wac-white;
|
|
967
|
+
}
|
|
968
|
+
&:hover,
|
|
969
|
+
&:focus,
|
|
970
|
+
&.hover,
|
|
971
|
+
&.focus {
|
|
972
|
+
background-color: $wac-orange-color-disabled;
|
|
973
|
+
border-color: $wac-orange-color-disabled;
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
&.is-pink {
|
|
979
|
+
background-color: $wac-pink-color;
|
|
980
|
+
border-color: $wac-pink-color;
|
|
981
|
+
transition: background-color 0.3s ease-in-out;
|
|
982
|
+
|
|
983
|
+
.wac-button__loader {
|
|
984
|
+
background-color: $wac-pink-color-darken;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
&:hover,
|
|
988
|
+
&.hover {
|
|
989
|
+
background-color: $wac-pink-color-darken;
|
|
990
|
+
border-color: $wac-pink-color-darken;
|
|
991
|
+
transition: background-color 0.3s ease-in-out;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
&:focus,
|
|
995
|
+
&.focus {
|
|
996
|
+
background-color: $wac-pink-color-focus;
|
|
997
|
+
border-color: $wac-pink-color-focus;
|
|
998
|
+
transition: background-color 0.3s ease-in-out;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
&.is-outlined {
|
|
1002
|
+
background-color: transparent;
|
|
1003
|
+
border-color: $wac-pink-color;
|
|
1004
|
+
|
|
1005
|
+
.wac-button__loader {
|
|
1006
|
+
background-color: $wac-pink-color-darken;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
.wac-button__wrapper, .wac-button__animation {
|
|
1010
|
+
color: $wac-pink-color;
|
|
1011
|
+
transition: color 0.3s ease-in-out;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
&:hover,
|
|
1015
|
+
&.hover {
|
|
1016
|
+
background-color: $wac-pink-color;
|
|
1017
|
+
border-color: $wac-pink-color;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
&:focus,
|
|
1021
|
+
&.focus {
|
|
1022
|
+
background-color: $wac-pink-color-focus;
|
|
1023
|
+
border-color: $wac-pink-color-focus;
|
|
1024
|
+
transition: background-color 0.3s ease-in-out;
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
&.is-loading {
|
|
1029
|
+
&:hover,
|
|
1030
|
+
&.hover {
|
|
1031
|
+
background-color: $wac-pink-color;
|
|
1032
|
+
transition: background-color 0.3s ease-in-out;
|
|
1033
|
+
}
|
|
1034
|
+
&:focus,
|
|
1035
|
+
&.focus {
|
|
1036
|
+
background-color: $wac-pink-color-focus;
|
|
1037
|
+
border-color: $wac-pink-color-focus;
|
|
1038
|
+
transition: background-color 0.3s ease-in-out;
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
&.disabled {
|
|
1043
|
+
background-color: $wac-pink-color-disabled;
|
|
1044
|
+
border-color: $wac-pink-color-disabled;
|
|
1045
|
+
transition: 0s;
|
|
1046
|
+
cursor: default;
|
|
1047
|
+
.wac-button__wrapper, .wac-button__animation {
|
|
1048
|
+
color: $wac-white;
|
|
1049
|
+
}
|
|
1050
|
+
&:hover,
|
|
1051
|
+
&:focus,
|
|
1052
|
+
&.hover,
|
|
1053
|
+
&.focus {
|
|
1054
|
+
background-color: $wac-pink-color-disabled;
|
|
1055
|
+
border-color: $wac-pink-color-disabled;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
|
|
888
1060
|
&.is-grey {
|
|
889
1061
|
background-color: $wac-background-color;
|
|
890
1062
|
border-color: $wac-background-color;
|
|
@@ -368,15 +368,15 @@
|
|
|
368
368
|
InputSearchComponent.prototype.registerOnTouched = function (fn) {
|
|
369
369
|
this.onTouchedCallback = fn;
|
|
370
370
|
};
|
|
371
|
-
InputSearchComponent.prototype.handleDebouncedKeyUp = function (
|
|
372
|
-
this.changeDebounced.emit(
|
|
371
|
+
InputSearchComponent.prototype.handleDebouncedKeyUp = function () {
|
|
372
|
+
this.changeDebounced.emit(this.value);
|
|
373
373
|
};
|
|
374
374
|
return InputSearchComponent;
|
|
375
375
|
}());
|
|
376
376
|
InputSearchComponent.decorators = [
|
|
377
377
|
{ type: i0.Component, args: [{
|
|
378
378
|
selector: 'wac-input-search',
|
|
379
|
-
template: "<div class=\"wac-field-input-search\" [ngClass]=\"smallPadding ? 'small-padding' : ''\">\n <p class=\"control has-icons-left has-icons-right\">\n <input\n [placeholder]=\"placeholder\"\n value=\"\"\n class=\"input\"\n type=\"text\"\n [attr.id]=\"id\"\n [(ngModel)]=\"value\"\n debounceKeyUp\n [debounceTime]=\"1000\"\n (onEventChange)=\"handleDebouncedKeyUp(
|
|
379
|
+
template: "<div class=\"wac-field-input-search\" [ngClass]=\"smallPadding ? 'small-padding' : ''\">\n <p class=\"control has-icons-left has-icons-right\">\n <input\n [placeholder]=\"placeholder\"\n value=\"\"\n class=\"input\"\n type=\"text\"\n [attr.id]=\"id\"\n [(ngModel)]=\"value\"\n debounceKeyUp\n [debounceTime]=\"1000\"\n (onEventChange)=\"handleDebouncedKeyUp()\"\n />\n <i class=\"icon fal fa-search\"></i>\n </p>\n</div>\n",
|
|
380
380
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: InputSearchComponent, multi: true }]
|
|
381
381
|
},] }
|
|
382
382
|
];
|
|
@@ -1917,9 +1917,7 @@
|
|
|
1917
1917
|
},
|
|
1918
1918
|
set: function (link) {
|
|
1919
1919
|
this._link = link;
|
|
1920
|
-
|
|
1921
|
-
this.setAttributesLink();
|
|
1922
|
-
}
|
|
1920
|
+
this.setAttributesLink();
|
|
1923
1921
|
},
|
|
1924
1922
|
enumerable: false,
|
|
1925
1923
|
configurable: true
|