Skip to content

Commit

Permalink
Merge pull request #82 from squidit/sq-65829-front-padronizar-sq-sele…
Browse files Browse the repository at this point in the history
…ct-multi-tags-e-sq-select-search-no-ngx-css

SQ-65829 [FRONT] padronizar sq-select-multi-tags e sq-select-search no ngx-css
  • Loading branch information
JoaoBianco authored Aug 29, 2024
2 parents f9fc5ea + 3ca391e commit db80fdc
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
<div
class="input-fake-content"
[ngClass]="{
disabled: disabled
disabled: disabled,
readonly: readonly
}"
(click)="doDropDownAction()"
>
Expand All @@ -63,7 +64,7 @@
</span>
</div>
<span *ngIf="value?.length" class="badge">{{ value!.length }}</span>
<i *ngIf="!loading && !readonly" class="icon-down fas fa-chevron-down"></i>
<i *ngIf="!loading" class="icon-down fas fa-chevron-down"></i>
</div>
<div
*ngIf="!loading && !disabled && !readonly && !isMaxTags && renderOptionsList"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
position: absolute;
font-size: 0.86rem;
}
&.readonly {
cursor: not-allowed;
pointer-events: none;
background-color: var(--color_border_input);
border-color: var(--color_border_input_disabled);
}
}

.loading-wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
<div
class="input-fake-content"
[ngClass]="{
disabled: disabled
disabled: disabled,
readonly: readonly
}"
(click)="doDropDownAction()"
>
Expand All @@ -63,7 +64,7 @@
<i *ngIf="!loading" class="icon-down fas fa-chevron-down"></i>
</div>
<div
*ngIf="!disabled && !loading && renderOptionsList"
*ngIf="!disabled && !loading && renderOptionsList && !readonly"
class="input-window scrollbar"
id="sq-select-search-scroll"
[ngClass]="{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
position: absolute;
font-size: 0.86rem;
}
&.readonly {
cursor: not-allowed;
pointer-events: none;
background-color: var(--color_border_input);
border-color: var(--color_border_input_disabled);
}
}
.loading-wrapper {
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@squidit/ngx-css",
"version": "1.3.47",
"version": "1.3.48",
"peerDependencies": {
"@angular/common": ">=15.0.0",
"@angular/core": ">=15.0.0",
Expand Down

0 comments on commit db80fdc

Please sign in to comment.