@dataloop-ai/components 0.17.29 → 0.17.31

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": "@dataloop-ai/components",
3
- "version": "0.17.29",
3
+ "version": "0.17.31",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -220,7 +220,6 @@ export default defineComponent({
220
220
  text-overflow: ellipsis;
221
221
  white-space: nowrap;
222
222
  overflow: hidden;
223
- padding: 3px 5px 3px 5px;
224
223
  }
225
224
  }
226
225
 
@@ -59,17 +59,17 @@ export const setPadding = ({
59
59
  const right = removable ? 20 : 5
60
60
 
61
61
  if (hasLabel && (removable || hasIcon)) {
62
- return `3px ${right}px 3px ${left}px`
62
+ return `5px ${right}px 5px ${left}px`
63
63
  }
64
64
 
65
65
  if (!hasLabel && hasIcon && removable) {
66
- return `3px ${right}px 3px 0`
66
+ return `5px ${right}px 5px 0`
67
67
  }
68
68
  if (removable || hasIcon) {
69
- return '3px 0'
69
+ return '5px 0'
70
70
  }
71
71
 
72
- return '3px 5px'
72
+ return '5px'
73
73
  }
74
74
 
75
75
  export const setRemoveIconWidth = ({
@@ -487,4 +487,23 @@ export default defineComponent({
487
487
  .popup-footer {
488
488
  padding: 20px 16px 0px;
489
489
  }
490
+
491
+ // Fade Related transition
492
+ .fade-enter,
493
+ .fade-enter-active {
494
+ animation: fade-in var(--dl-transition-duration);
495
+ }
496
+
497
+ .fade-leave-active,
498
+ .fade-leave-to {
499
+ animation: fade-in var(--dl-transition-duration) reverse;
500
+ }
501
+ @keyframes fade-in {
502
+ 0% {
503
+ opacity: 0;
504
+ }
505
+ 100% {
506
+ opacity: 1;
507
+ }
508
+ }
490
509
  </style>