From 3818c4c130bf05978c755fe73a13a54e5b64ff36 Mon Sep 17 00:00:00 2001 From: sudheepdivakargithub Date: Mon, 10 Jan 2022 20:05:02 +0530 Subject: [PATCH 01/40] Update go-button.component.scss Changes for split button option text not to wrap and grow towards left. --- .../src/lib/components/go-button/go-button.component.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/go-lib/src/lib/components/go-button/go-button.component.scss b/projects/go-lib/src/lib/components/go-button/go-button.component.scss index a5194aa35..55b03321b 100644 --- a/projects/go-lib/src/lib/components/go-button/go-button.component.scss +++ b/projects/go-lib/src/lib/components/go-button/go-button.component.scss @@ -468,6 +468,7 @@ $button-shadow-secondary-active: 0 0 0 3px transparentize($theme-light-bg-hover, right: 0; top: calc(2rem + 2px); visibility: hidden; + white-space: nowrap; &--active { opacity: 1; @@ -482,7 +483,6 @@ $button-shadow-secondary-active: 0 0 0 3px transparentize($theme-light-bg-hover, cursor: pointer; font-size: .875rem; font-weight: normal; - max-width: 10rem; padding: .75rem; &:hover { From e5a6c86231d572c020043cea684aedea8166b65b Mon Sep 17 00:00:00 2001 From: adhiyan-tangoe Date: Mon, 26 Sep 2022 23:29:09 +0530 Subject: [PATCH 02/40] GOP-877-BUG-minimum_height_for_textarea Fixed GOP-876 uniform card margins, GOP-877 set minimum_height_for_textarea and GOP-847 file uploading component bug fix. --- .../go-file-upload.component.ts | 4 ++- .../go-text-area/go-text-area.component.html | 2 +- projects/go-lib/styles/_forms.scss | 29 +++++++++++-------- projects/go-lib/styles/_typography.scss | 4 +++ 4 files changed, 25 insertions(+), 14 deletions(-) diff --git a/projects/go-lib/src/lib/components/go-file-upload/go-file-upload.component.ts b/projects/go-lib/src/lib/components/go-file-upload/go-file-upload.component.ts index 6f40606e5..526f0e810 100644 --- a/projects/go-lib/src/lib/components/go-file-upload/go-file-upload.component.ts +++ b/projects/go-lib/src/lib/components/go-file-upload/go-file-upload.component.ts @@ -1,4 +1,4 @@ -import { Component, Input, OnDestroy, OnInit } from '@angular/core'; +import { Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { AbstractControl, FormArray, FormBuilder, FormGroup } from '@angular/forms'; import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @@ -20,6 +20,7 @@ export class GoFileUploadComponent extends GoFormBaseComponent implements OnInit @Input() isLoading: boolean = false; @Input() multiple: boolean = false; @Input() state: 'selecting' | 'selected' = 'selecting'; + @ViewChild('filePicker') filePicker: any; ngOnInit(): void { this.fb = new FormBuilder(); @@ -51,6 +52,7 @@ export class GoFileUploadComponent extends GoFormBaseComponent implements OnInit this.filePreview.push(file.name); }); } + this.filePicker.nativeElement.value = ''; } removeFile(index: number): void { diff --git a/projects/go-lib/src/lib/components/go-text-area/go-text-area.component.html b/projects/go-lib/src/lib/components/go-text-area/go-text-area.component.html index 0cc74e6a5..741651ca6 100644 --- a/projects/go-lib/src/lib/components/go-text-area/go-text-area.component.html +++ b/projects/go-lib/src/lib/components/go-text-area/go-text-area.component.html @@ -9,7 +9,7 @@