@dataloop-ai/components 0.17.8 → 0.17.9
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
|
@@ -101,7 +101,7 @@ export default defineComponent({
|
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
inlineStyles(): Record<string, string> {
|
|
104
|
-
return { display: this.inline ? 'inline' : 'flex' }
|
|
104
|
+
return { display: this.inline ? 'inline-flex' : 'flex' }
|
|
105
105
|
},
|
|
106
106
|
// needed to allow external source of icons that do not use class based
|
|
107
107
|
externalIcon(): boolean {
|
|
@@ -144,7 +144,7 @@ export default defineComponent({
|
|
|
144
144
|
try {
|
|
145
145
|
svgElement.src = this.svgSource
|
|
146
146
|
? `${this.svgSource}/${this.icon}.svg`
|
|
147
|
-
:
|
|
147
|
+
: `https://raw.githubusercontent.com/dataloop-ai/icons/main/assets/${this.icon}.svg`
|
|
148
148
|
} catch (e) {
|
|
149
149
|
reject(e)
|
|
150
150
|
}
|