@bnsights/bbsf-controls 1.0.149 → 1.0.150

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.
@@ -36,9 +36,9 @@ export declare class TextAreaComponent implements OnInit {
36
36
  isMicOn: boolean;
37
37
  textDir: any;
38
38
  isFocused: boolean;
39
- isSpeechLanguageOpened: boolean;
40
39
  currentLanguage: String;
41
40
  subscription: Subscription;
41
+ selectedSpeechLanguageDisplayText: string;
42
42
  ngOnInit(): void;
43
43
  ngAfterViewInit(): void;
44
44
  resetError: () => void;
@@ -60,8 +60,7 @@ export declare class TextAreaComponent implements OnInit {
60
60
  stopSpeechRecognition(): void;
61
61
  ngOnDestroy(): void;
62
62
  onSpeechLanguageChange(event: any): void;
63
- onSpeechLanguageBlur(): void;
64
- onSpeechLanguageMouseDown(): void;
63
+ enableOrDisableLanguageSelect(isEnabled?: boolean): void;
65
64
  static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, [null, { optional: true; }, null, null, null, null, null, null]>;
66
65
  static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "BBSF-TextArea", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
67
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bnsights/bbsf-controls",
3
- "version": "1.0.149",
3
+ "version": "1.0.150",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^17.0.5",
6
6
  "@angular/cdk": "^17.0.2",
@@ -12,7 +12,7 @@
12
12
  "@angular/router": "^17.0.5"
13
13
  },
14
14
  "dependencies": {
15
- "@bnsights/bbsf-utilities": "^1.0.56",
15
+ "@bnsights/bbsf-utilities": "^1.0.57",
16
16
  "@danielmoncada/angular-datetime-picker": "^17.0.0",
17
17
  "@fullcalendar/angular": "^6.1.10",
18
18
  "@fullcalendar/core": "^6.1.10",
@@ -29,6 +29,7 @@
29
29
  }
30
30
  }
31
31
  }
32
+
32
33
  &.p-80px {
33
34
  input,
34
35
  textarea {
@@ -40,6 +41,7 @@
40
41
  }
41
42
  }
42
43
  }
44
+
43
45
  &.p-120px {
44
46
  input,
45
47
  textarea {
@@ -51,6 +53,7 @@
51
53
  }
52
54
  }
53
55
  }
56
+
54
57
  input:disabled {
55
58
  cursor: not-allowed !important;
56
59
  }
@@ -76,7 +79,7 @@
76
79
  }
77
80
 
78
81
  &[dir="rtl"] {
79
- +.copy-clipboard {
82
+ + .copy-clipboard {
80
83
  left: 0px;
81
84
  right: auto;
82
85
  border-top-left-radius: $bbsf-rounded;
@@ -91,7 +94,6 @@
91
94
  border-color: #d5d5d5;
92
95
  box-shadow: none;
93
96
  }
94
-
95
97
  /* input with icon*/
96
98
  .bbsf-icon {
97
99
  z-index: 4;
@@ -112,7 +114,7 @@
112
114
  left: 0px;
113
115
  margin-left: 0.7rem !important;
114
116
 
115
- +input {
117
+ + input {
116
118
  padding-left: 2.7rem !important;
117
119
  }
118
120
  }
@@ -124,11 +126,10 @@
124
126
  right: 0px;
125
127
  margin-right: 0.7rem !important;
126
128
 
127
- +input {
129
+ + input {
128
130
  padding-right: 2.7rem !important;
129
131
  }
130
132
  }
131
-
132
133
  //copy to clipboard
133
134
  .copy-clipboard {
134
135
  position: absolute;
@@ -153,6 +154,7 @@
153
154
  background: #e5e5e5
154
155
  }
155
156
  }
157
+
156
158
  .language-container {
157
159
  position: absolute;
158
160
  right: 10%;
@@ -166,28 +168,37 @@
166
168
  background: $mic-bg;
167
169
  gap: .4rem;
168
170
  align-items: center;
169
-
171
+
170
172
  &:hover {
171
173
  background: $mic-bg-hover;
172
174
  }
173
-
175
+
176
+ .language-text {
177
+ color: $mic-text;
178
+ font-size: 0.8rem;
179
+ font-weight: 700;
180
+ }
181
+
174
182
  .language-select {
175
183
  color: $mic-text;
176
184
  padding: 0;
177
185
  margin: 0 auto;
178
186
  border: 0;
179
- max-width: 36px;
187
+ max-width: 16px;
180
188
  text-align: center;
181
189
  background: transparent;
182
190
  line-height: 0;
183
191
  cursor: pointer;
184
192
  font-size: .8rem;
185
193
  font-weight: 700;
194
+ &:focus-visible {
195
+ outline: none;
196
+ }
186
197
  }
187
- }
188
-
189
198
 
199
+ }
190
200
  }
201
+
191
202
  .bbsf-input-container > .language-container:nth-child(2) {
192
203
  right: 2% !important;
193
204
  }
@@ -222,7 +233,6 @@
222
233
  display: flex;
223
234
  justify-content: space-between;
224
235
  flex-wrap: wrap;
225
-
226
236
  //validation
227
237
  .bbsf-validation,
228
238
  .bbsf-character-count,
@@ -237,7 +247,6 @@
237
247
  .bbsf-character-count {
238
248
  color: $danger;
239
249
  }
240
-
241
250
  //word count and description
242
251
  .bbsf-word-count,
243
252
  .bbsf-control-desc {
@@ -322,9 +331,12 @@ input::-webkit-inner-spin-button {
322
331
  top: 25% !important;
323
332
  }
324
333
 
334
+
335
+
325
336
  //responsive
326
337
  @media screen and (max-width: 767px) {
327
338
  .bbsf-control.form-group .bbsf-input-container .language-container {
328
339
  right: 14%;
329
340
  }
330
- }
341
+ }
342
+
Binary file