@dataloop-ai/components 0.19.188 → 0.19.189

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.19.188",
3
+ "version": "0.19.189",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -96,10 +96,14 @@ export default defineComponent({
96
96
  ? stringStyleToRecord(styles.value)
97
97
  : styles.value
98
98
 
99
- return Object.assign({}, generatedStyles, {
100
- width: size.value,
101
- height: size.value
102
- })
99
+ if (isSVG.value) {
100
+ return Object.assign({}, generatedStyles, {
101
+ width: size.value,
102
+ height: size.value
103
+ })
104
+ }
105
+
106
+ return generatedStyles
103
107
  })
104
108
 
105
109
  const cssIconVars = computed<Record<string, string>>(() => {