@abi-software/map-side-bar 2.17.0 → 2.18.0

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,9 +1,9 @@
1
1
  {
2
2
  "name": "@abi-software/map-side-bar",
3
- "version": "2.17.0",
3
+ "version": "2.18.0",
4
4
  "license": "Apache-2.0",
5
5
  "engines": {
6
- "node": ">=20"
6
+ "node": "^24.20.0"
7
7
  },
8
8
  "repository": {
9
9
  "type": "git",
@@ -47,9 +47,9 @@
47
47
  "./src/*": "./src/*"
48
48
  },
49
49
  "dependencies": {
50
- "@abi-software/gallery": "1.4.0",
51
- "@abi-software/map-utilities": "1.10.0",
52
- "@abi-software/svg-sprite": "1.2.0",
50
+ "@abi-software/gallery": "1.6.0",
51
+ "@abi-software/map-utilities": "1.11.0",
52
+ "@abi-software/svg-sprite": "1.4.0",
53
53
  "@element-plus/icons-vue": "^2.3.2",
54
54
  "algoliasearch": "^4.27.0",
55
55
  "element-plus": "^2.14.5",
@@ -91,5 +91,11 @@
91
91
  "@rollup/rollup-darwin-arm64": "4.63.0",
92
92
  "@rollup/rollup-linux-x64-gnu": "4.63.0",
93
93
  "@rollup/rollup-win32-x64-msvc": "4.63.0"
94
+ },
95
+ "allowScripts": {
96
+ "@parcel/watcher@2.6.0": true,
97
+ "cypress@15.21.1": true,
98
+ "fsevents@2.3.3": true,
99
+ "esbuild@0.21.5": true
94
100
  }
95
101
  }
package/src/App.vue CHANGED
@@ -1,9 +1,5 @@
1
1
  <template>
2
2
  <div id="app">
3
- <link
4
- rel="stylesheet"
5
- href="https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap"
6
- />
7
3
  <div class="options-container">
8
4
  <div>Click arrow to open sidebar</div>
9
5
  <el-button @click="openSearch">search Uberon from refs</el-button>
@@ -389,6 +385,7 @@ export default {
389
385
  }
390
386
  body {
391
387
  margin: 0px;
388
+ font-family: $font-family;
392
389
  }
393
390
  .map-icon {
394
391
  color: $app-primary-color;
@@ -0,0 +1,3 @@
1
+ @use 'variables' as *;
2
+ @import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
3
+
@@ -1,7 +1,5 @@
1
1
  @use '_variables' as *;
2
2
  @forward '_variables';
3
3
 
4
- @import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
5
-
6
4
  /* icon font path, required */
7
5
  $--color-primary: $app-primary-color !default;
@@ -1,4 +1,5 @@
1
1
  import SideBar from "./SideBar.vue"
2
+ import "../assets/fonts.scss";
2
3
 
3
4
  export {
4
5
  SideBar
package/src/main.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { createApp } from 'vue'
2
2
  import App from './App.vue'
3
+ import "./assets/fonts.scss"
3
4
  import MapSideBar from './components/SideBar.vue'
4
5
 
5
6
  const app = createApp(App);
package/vite.config.js CHANGED
@@ -38,7 +38,12 @@ export default defineConfig({
38
38
  fileName: 'map-side-bar',
39
39
  },
40
40
  rollupOptions: {
41
- external: ["vue", "@abi-software/map-utilities", "@element-plus/icons-vue"],
41
+ external: [
42
+ "vue",
43
+ "@abi-software/map-utilities",
44
+ "@element-plus/icons-vue",
45
+ "@abi-software/map-utilities/dist/style.css"
46
+ ],
42
47
  output: {
43
48
  globals: {
44
49
  vue: "Vue",