@dataloop-ai/components 0.19.272 → 0.19.274
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/moveToPublic.sh
ADDED
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataloop-ai/components",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.274",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": "./index.ts",
|
|
6
6
|
"./models": "./models.ts",
|
|
7
7
|
"./types": "./types.ts"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
|
-
"
|
|
10
|
+
"preserve": "./moveToPublic.sh",
|
|
11
|
+
"dev": "npm run preserve && vite",
|
|
11
12
|
"dev:2": "./misc/unpackAndRunV2.sh",
|
|
12
|
-
"build": "vue-tsc --noEmit --skipLibCheck && vite build",
|
|
13
|
+
"build": "npm run preserve && vue-tsc --noEmit --skipLibCheck && vite build",
|
|
13
14
|
"preview": "vite preview",
|
|
14
15
|
"storybook": "storybook dev -p 6006",
|
|
15
16
|
"build:storybook": "storybook build",
|
|
@@ -178,7 +178,7 @@ export default defineComponent({
|
|
|
178
178
|
try {
|
|
179
179
|
svgElement.src = svgSource.value
|
|
180
180
|
? `${svgSource.value}/${cleanedIconName.value}.svg`
|
|
181
|
-
:
|
|
181
|
+
: `/icons/assets/${cleanedIconName.value}.svg`
|
|
182
182
|
} catch (e) {
|
|
183
183
|
reject(e)
|
|
184
184
|
}
|