@openmrs/ngx-formentry 5.0.1-pre.380 → 5.0.1-pre.385

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/ngx-formentry",
3
- "version": "5.0.1-pre.380",
3
+ "version": "5.0.1-pre.385",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,8 +1,18 @@
1
1
  .ng-select {
2
- padding-bottom: 1.25em;
2
+ padding-bottom: 0.25em;
3
3
  min-width: 16rem;
4
4
  }
5
5
 
6
+ /* error state */
7
+ .ng-select.invalid > .ng-select-container {
8
+ outline: 2px solid #da1e28;
9
+ outline-offset: -2px;
10
+ }
11
+
12
+ .ng-select.invalid > .ng-select-container::after {
13
+ border: none;
14
+ }
15
+
6
16
  .ng-select.ng-select-disabled .ng-select-container:after {
7
17
  border-bottom-color: transparent;
8
18
  }
@@ -89,8 +99,7 @@
89
99
  width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
90
100
  }
91
101
 
92
- .ng-select .ng-select-container .ng-value-container .ng-input {
93
- bottom: 0.4375em;
102
+ .ng-select .ng-select-container .ng-input {
94
103
  padding: 0 1rem;
95
104
  }
96
105
 
@@ -228,7 +237,7 @@
228
237
  }
229
238
 
230
239
  .ng-dropdown-panel {
231
- margin-top: -1rem;
240
+ margin-top: 0;
232
241
  background: #fff;
233
242
  left: 0;
234
243
  }
@@ -353,6 +362,7 @@
353
362
  padding-left: 5px;
354
363
  padding-right: 0;
355
364
  }
365
+
356
366
  .ng-select-container {
357
367
  background-color: #f4f4f4;
358
368
  }