@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.
@@ -0,0 +1,7 @@
1
+ #! /bin/bash
2
+
3
+ mkdir -p public/icons
4
+ mkdir -p public/icons/assets
5
+
6
+ mv node_modules/@dataloop-ai/icons/assets public/icons
7
+
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.19.272",
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
- "dev": "vite",
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
- : `https://raw.githubusercontent.com/dataloop-ai/icons/main/assets/${cleanedIconName.value}.svg`
181
+ : `/icons/assets/${cleanedIconName.value}.svg`
182
182
  } catch (e) {
183
183
  reject(e)
184
184
  }
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div>
2
+ <div class="non-selectable">
3
3
  <component
4
4
  :is="spinnerType"
5
5
  :size="size"