@wizishop/angular-components 0.0.216 → 0.0.218
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 +22 -7
- package/bundles/wizishop-angular-components.umd.js +1 -1
- 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/input.component.js +2 -2
- package/fesm2015/wizishop-angular-components.js +1 -1
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.218.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.216.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -2174,9 +2174,7 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
2174
2174
|
align-items: center;
|
|
2175
2175
|
width: 100%;
|
|
2176
2176
|
@include media('<tablet') {
|
|
2177
|
-
|
|
2178
|
-
justify-content: flex-start;
|
|
2179
|
-
align-items: flex-start;
|
|
2177
|
+
margin: 0 0 20px;
|
|
2180
2178
|
}
|
|
2181
2179
|
&__text {
|
|
2182
2180
|
width: 100%;
|
|
@@ -2209,9 +2207,6 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
2209
2207
|
> div {
|
|
2210
2208
|
margin: 0 0 0 20px;
|
|
2211
2209
|
}
|
|
2212
|
-
@include media('<tablet') {
|
|
2213
|
-
margin: 15px 0 0;
|
|
2214
|
-
}
|
|
2215
2210
|
}
|
|
2216
2211
|
}
|
|
2217
2212
|
|
|
@@ -3182,12 +3177,21 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
3182
3177
|
margin: 0 0 rem(30);
|
|
3183
3178
|
&.grey {
|
|
3184
3179
|
color: $wac-second-color;
|
|
3180
|
+
* {
|
|
3181
|
+
color: $wac-second-color!important;
|
|
3182
|
+
}
|
|
3185
3183
|
}
|
|
3186
3184
|
&.yellow {
|
|
3187
3185
|
color: $wac-warning-color;
|
|
3186
|
+
* {
|
|
3187
|
+
color: $wac-warning-color!important;
|
|
3188
|
+
}
|
|
3188
3189
|
}
|
|
3189
3190
|
&.red {
|
|
3190
3191
|
color: $wac-primary;
|
|
3192
|
+
* {
|
|
3193
|
+
color: $wac-primary!important;
|
|
3194
|
+
}
|
|
3191
3195
|
}
|
|
3192
3196
|
&.label {
|
|
3193
3197
|
color: $placeholder-color;
|
|
@@ -5719,7 +5723,7 @@ span.wac-tooltip {
|
|
|
5719
5723
|
display: none;
|
|
5720
5724
|
}
|
|
5721
5725
|
&:not(:empty) {
|
|
5722
|
-
margin:
|
|
5726
|
+
margin: -5px 0 0;
|
|
5723
5727
|
}
|
|
5724
5728
|
}
|
|
5725
5729
|
> *:not(a) {
|
|
@@ -6870,6 +6874,11 @@ div.wac-field-input-search {
|
|
|
6870
6874
|
}
|
|
6871
6875
|
.field-label {
|
|
6872
6876
|
position: relative;
|
|
6877
|
+
&.has-padding-right-mobile {
|
|
6878
|
+
@include media('<tablet') {
|
|
6879
|
+
padding-right: 50px!important;
|
|
6880
|
+
}
|
|
6881
|
+
}
|
|
6873
6882
|
}
|
|
6874
6883
|
|
|
6875
6884
|
&.with-progress-bar {
|
|
@@ -7199,6 +7208,9 @@ div.wac-field-input-search {
|
|
|
7199
7208
|
position: absolute;
|
|
7200
7209
|
top: 0;
|
|
7201
7210
|
right: rem(-24);
|
|
7211
|
+
@include media('<tablet') {
|
|
7212
|
+
right: 0;
|
|
7213
|
+
}
|
|
7202
7214
|
strong {
|
|
7203
7215
|
font-weight: 600;
|
|
7204
7216
|
color: $wac-main-text;
|
|
@@ -7431,6 +7443,9 @@ div.wac-field-input-search {
|
|
|
7431
7443
|
display: flex;
|
|
7432
7444
|
align-items: center;
|
|
7433
7445
|
cursor: pointer;
|
|
7446
|
+
@include media('<tablet') {
|
|
7447
|
+
margin: 0 0 20px;
|
|
7448
|
+
}
|
|
7434
7449
|
}
|
|
7435
7450
|
&__center {
|
|
7436
7451
|
width: 100%;
|
|
@@ -2225,7 +2225,7 @@
|
|
|
2225
2225
|
InputComponent.decorators = [
|
|
2226
2226
|
{ type: i0.Component, args: [{
|
|
2227
2227
|
selector: 'wac-input',
|
|
2228
|
-
template: "<div\n class=\"field wac-input\"\n [ngClass]=\"{ 'has-no-block': withoutBlock, 'is-big': big, 'is-medium': medium, 'with-padding': padding, 'indication-left': indicationLeft, 'with-progress-bar': progressBar }\"\n>\n <div class=\"field-label is-normal has-text-left\" *ngIf=\"!withoutBlock\">\n <label\n [ngClass]=\"[boldLabel == 'true' ? 'label has-text-weight-bold' : 'label has-text-weight-normal', showTooltip ? 'label-inline' : '']\"\n [innerHTML]=\"label\"\n [for]=\"id\"\n ></label>\n <wac-tooltip\n *ngIf=\"showTooltip\"\n [tooltipIcon]=\"iconTooltip\"\n [tooltipText]=\"textTooltip\"\n [tooltipLink]=\"linkTooltip\"\n [tooltipUrl]=\"urlTooltip\"\n ></wac-tooltip>\n <!-- Size -->\n <span *ngIf=\"size && !progressBar\" class=\"is-size-7 wac-input__size\">\n <strong>{{ !value ? 0 : value.toString().length }}</strong> / {{ size }}\n </span>\n </div>\n <div class=\"field-body\">\n <div class=\"field\">\n <p\n class=\"control\"\n [ngClass]=\"{ 'has-icons-right': textError || success || error, 'has-icons-left': icon !== '', 'has-input-group': textAppend || textPrepend }\"\n >\n <!-- Text Prepend -->\n <span *ngIf=\"textPrepend\" class=\"has-input-group\">\n <span class=\"has-input-group-text prepend\">{{ textPrepend }}</span>\n <span *ngIf=\"icon !== ''\" class=\"icon is-small is-left\">\n <i [class]=\"icon\"></i>\n </span>\n </span>\n\n <!-- Input -->\n <input\n [class]=\"'input ' + extraClasses\"\n [id]=\"id\"\n [ngClass]=\"{\n 'is-danger': (textError || error) && !disabled,\n 'is-large': big,\n 'is-number': isNumber,\n 'remove-margin': disableMargin,\n 'text-append': textAppend\n }\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n [disabled]=\"disabled\"\n (focusout)=\"onFocusOut()\"\n [min]=\"min\"\n [max]=\"max\"\n [maxlength]=\"maxlength ? maxlength : 524288\"\n [minlength]=\"minlength ? minlength : 0\"\n (keypress)=\"keyPress($event)\"\n />\n\n <!-- Indication at the end of the input -->\n <span class=\"indication\" *ngIf=\"indication\" [ngClass]=\"{'reverse': indicationLeft}\">\n <span [innerHTML]=\"indication\"></span>\n </span>\n\n <!-- Text Append -->\n <span *ngIf=\"textAppend && !indicationLeft\" class=\"has-input-group\">\n <span class=\"has-input-group-text append\">{{ textAppend }}</span>\n <!-- error if text append not empty -->\n <span *ngIf=\"textError\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n </span>\n\n <!-- Icon Left -->\n <span *ngIf=\"icon !== '' && !textPrepend && !indicationLeft\" class=\"icon is-small is-left\">\n <i [class]=\"icon\"></i>\n </span>\n\n <!-- Icon error if textAppend empty -->\n <span *ngIf=\"(textError || error) && !textAppend && !indicationLeft && !disabled\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n\n <!-- Icon success -->\n <span *ngIf=\"success && !disabled\" class=\"icon is-small is-right\">\n <i class=\"fas fa-check has-text-success\"></i>\n </span>\n\n <!-- Text Info -->\n <span\n *ngIf=\"textInfo && (textError === null || textError === '') && !progressBar && !indicationLeft\"\n class=\"is-size-7 wac-input__info text-info\"\n [innerHtml]=\"textInfo\"\n ></span>\n\n <!-- Text Error -->\n <span *ngIf=\"textError && !progressBar && !indicationLeft\" class=\"is-size-7 wac-input__error has-text-danger\" [innerHtml]=\"textError\"></span>\n </p>\n\n <!-- Progress Bar -->\n <wac-progress-bar *ngIf=\"progressBar && !indicationLeft\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\n </div>\n </div>\n</div>\n",
|
|
2228
|
+
template: "<div\n class=\"field wac-input\"\n [ngClass]=\"{ 'has-no-block': withoutBlock, 'is-big': big, 'is-medium': medium, 'with-padding': padding, 'indication-left': indicationLeft, 'with-progress-bar': progressBar }\"\n>\n <div class=\"field-label is-normal has-text-left\" *ngIf=\"!withoutBlock\">\n <label\n [ngClass]=\"[boldLabel == 'true' ? 'label has-text-weight-bold' : 'label has-text-weight-normal', showTooltip ? 'label-inline' : '', size && !progressBar ? 'has-padding-right-mobile' : '']\"\n [innerHTML]=\"label\"\n [for]=\"id\"\n ></label>\n <wac-tooltip\n *ngIf=\"showTooltip\"\n [tooltipIcon]=\"iconTooltip\"\n [tooltipText]=\"textTooltip\"\n [tooltipLink]=\"linkTooltip\"\n [tooltipUrl]=\"urlTooltip\"\n ></wac-tooltip>\n <!-- Size -->\n <span *ngIf=\"size && !progressBar\" class=\"is-size-7 wac-input__size\">\n <strong>{{ !value ? 0 : value.toString().length }}</strong> / {{ size }}\n </span>\n </div>\n <div class=\"field-body\">\n <div class=\"field\">\n <p\n class=\"control\"\n [ngClass]=\"{ 'has-icons-right': textError || success || error, 'has-icons-left': icon !== '', 'has-input-group': textAppend || textPrepend }\"\n >\n <!-- Text Prepend -->\n <span *ngIf=\"textPrepend\" class=\"has-input-group\">\n <span class=\"has-input-group-text prepend\">{{ textPrepend }}</span>\n <span *ngIf=\"icon !== ''\" class=\"icon is-small is-left\">\n <i [class]=\"icon\"></i>\n </span>\n </span>\n\n <!-- Input -->\n <input\n [class]=\"'input ' + extraClasses\"\n [id]=\"id\"\n [ngClass]=\"{\n 'is-danger': (textError || error) && !disabled,\n 'is-large': big,\n 'is-number': isNumber,\n 'remove-margin': disableMargin,\n 'text-append': textAppend\n }\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n [disabled]=\"disabled\"\n (focusout)=\"onFocusOut()\"\n [min]=\"min\"\n [max]=\"max\"\n [maxlength]=\"maxlength ? maxlength : 524288\"\n [minlength]=\"minlength ? minlength : 0\"\n (keypress)=\"keyPress($event)\"\n />\n\n <!-- Indication at the end of the input -->\n <span class=\"indication\" *ngIf=\"indication\" [ngClass]=\"{'reverse': indicationLeft}\">\n <span [innerHTML]=\"indication\"></span>\n </span>\n\n <!-- Text Append -->\n <span *ngIf=\"textAppend && !indicationLeft\" class=\"has-input-group\">\n <span class=\"has-input-group-text append\">{{ textAppend }}</span>\n <!-- error if text append not empty -->\n <span *ngIf=\"textError\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n </span>\n\n <!-- Icon Left -->\n <span *ngIf=\"icon !== '' && !textPrepend && !indicationLeft\" class=\"icon is-small is-left\">\n <i [class]=\"icon\"></i>\n </span>\n\n <!-- Icon error if textAppend empty -->\n <span *ngIf=\"(textError || error) && !textAppend && !indicationLeft && !disabled\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n\n <!-- Icon success -->\n <span *ngIf=\"success && !disabled\" class=\"icon is-small is-right\">\n <i class=\"fas fa-check has-text-success\"></i>\n </span>\n\n <!-- Text Info -->\n <span\n *ngIf=\"textInfo && (textError === null || textError === '') && !progressBar && !indicationLeft\"\n class=\"is-size-7 wac-input__info text-info\"\n [innerHtml]=\"textInfo\"\n ></span>\n\n <!-- Text Error -->\n <span *ngIf=\"textError && !progressBar && !indicationLeft\" class=\"is-size-7 wac-input__error has-text-danger\" [innerHtml]=\"textError\"></span>\n </p>\n\n <!-- Progress Bar -->\n <wac-progress-bar *ngIf=\"progressBar && !indicationLeft\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\n </div>\n </div>\n</div>\n",
|
|
2229
2229
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: InputComponent, multi: true }]
|
|
2230
2230
|
},] }
|
|
2231
2231
|
];
|