@tagplus/components 4.9.0 → 4.9.1

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
@@ -8,7 +8,7 @@
8
8
  "email": "bruno@tagplus.com.br"
9
9
  }
10
10
  ],
11
- "version": "4.9.0",
11
+ "version": "4.9.1",
12
12
  "main": "./dist/tp.common.js",
13
13
  "directories": {
14
14
  "lib": "src/lib"
@@ -538,10 +538,12 @@ export default {
538
538
 
539
539
  if (option) return option
540
540
 
541
- const label = !isObject && !isNull && !isUndefined ? value : ''
541
+ const possuiValor = !isObject && !isNull && !isUndefined
542
+ const label = value
543
+
542
544
  const newOption = {
543
545
  value,
544
- currentLabel: this.modifiedLabel || label
546
+ currentLabel: possuiValor ? this.modifiedLabel || label : ''
545
547
  }
546
548
 
547
549
  if (this.multiple) {
@@ -183,6 +183,13 @@ $numIcons: 8;
183
183
  right: 0;
184
184
  bottom: 0;
185
185
  z-index: 5000;
186
+ transition: all ease-in-out 300ms;
187
+
188
+ &.hidden {
189
+ opacity: 0;
190
+ z-index: -10;
191
+ display: none;
192
+ }
186
193
 
187
194
  > .overlay {
188
195
  position: absolute;
@@ -193,7 +200,8 @@ $numIcons: 8;
193
200
  left: 0;
194
201
  right: 0;
195
202
  background-color: #fff;
196
- opacity: 1;
203
+ border-radius: 8px 0 0 8px;
204
+ opacity: 0.5;
197
205
  }
198
206
  .wrapper {
199
207
  text-align: center;