@dataloop-ai/components 0.20.269 → 0.20.271

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.20.269",
3
+ "version": "0.20.271",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -1731,6 +1731,10 @@ export default defineComponent({
1731
1731
  }
1732
1732
 
1733
1733
  &:focus {
1734
+ text-overflow: clip;
1735
+ }
1736
+
1737
+ &:focus:empty {
1734
1738
  text-overflow: ellipsis;
1735
1739
  }
1736
1740
 
@@ -48,11 +48,11 @@ const getLighterGradient = (color: string, magnitude = MAGNITUDE) => {
48
48
  color = nextColor
49
49
  }
50
50
  }
51
- let newColor =
51
+ const originalColor =
52
52
  color in allColorNames
53
53
  ? allColorNames[color as keyof typeof allColorNames]
54
54
  : color
55
- newColor = newColor.replace(`#`, ``).trim()
55
+ const newColor = originalColor.replace(`#`, ``).trim()
56
56
  if (newColor.length === 6) {
57
57
  const decimalColor = parseInt(newColor, 16)
58
58
 
@@ -67,7 +67,7 @@ const getLighterGradient = (color: string, magnitude = MAGNITUDE) => {
67
67
  if (b < 0) b = 0
68
68
  return `#${(g | (b << 8) | (r << 16)).toString(16)}`
69
69
  } else {
70
- return newColor
70
+ return originalColor
71
71
  }
72
72
  }
73
73