@brickclay-org/ui 0.0.38 → 0.0.40
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/package.json
CHANGED
package/src/lib/input/input.html
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
<div class="input-container">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
@if(label){
|
|
3
|
+
<label [for]="id" class="input-label">
|
|
4
|
+
{{ label }}
|
|
5
|
+
@if(required){
|
|
6
|
+
<span class="input-label-required">*</span>
|
|
7
|
+
}
|
|
8
|
+
</label>
|
|
9
|
+
}
|
|
8
10
|
|
|
9
11
|
<div class="input-wrapper" [ngClass]="{
|
|
10
12
|
'input-wrapper--url': type === 'url',
|
package/src/lib/input/input.ts
CHANGED
|
@@ -129,7 +129,7 @@ export class BkInput implements OnInit, OnDestroy, ControlValueAccessor {
|
|
|
129
129
|
@Input() name!: string ;
|
|
130
130
|
@Input() mask: string | null= null;
|
|
131
131
|
@Input() autoComplete : BkInputAutoComplete = 'off';
|
|
132
|
-
@Input() label: string = '
|
|
132
|
+
@Input() label: string = '';
|
|
133
133
|
@Input() placeholder: string = 'stephend@i2cinc.com';
|
|
134
134
|
@Input() hint: string = '';
|
|
135
135
|
@Input() required: boolean = false;
|