@apptegy/nuxt-navigation 0.1.27 → 0.1.28

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
3
  "configKey": "@apptegy/nuxt-navigation",
4
- "version": "0.1.27",
4
+ "version": "0.1.28",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -20,7 +20,8 @@
20
20
  <NuxtLink v-if="expanded" class="no-link-style" :to="homepageUrl">
21
21
  <slot name="logo">
22
22
  <div class="navbar--logo">
23
- <img :src="brandLogo">
23
+ <img v-if="brandLogo" :src="brandLogo">
24
+ <ThrillshareLogo v-else />
24
25
  <div v-if="!brand?.hide_school_name">
25
26
  <div class="school-name"> {{ brand?.school_name }} </div>
26
27
  <div v-if="brand?.school_tag_line" class="school-tag">{{ brand.school_tag_line }}</div>
@@ -72,7 +73,7 @@
72
73
  <script setup lang="ts">
73
74
  import { useSidebar, useBranding, ref, watch } from '#imports';
74
75
  import type { IApplication, IUser } from "../../types";
75
- import tsBrandLogo from '../../assets/thrillshare-logo-white.svg';
76
+ import ThrillshareLogo from './Icons/ThrillshareLogo.vue';
76
77
 
77
78
  interface ILogo {
78
79
  alt: string;
@@ -121,7 +122,7 @@ const emit = defineEmits<{
121
122
  const { state: expanded } = useSidebar();
122
123
  const { brand, getBrandingStyles } = await useBranding(props.clientId);
123
124
 
124
- const brandLogo = ref(brand.value?.logo_light || tsBrandLogo);
125
+ const brandLogo = ref(brand.value?.logo_light);
125
126
 
126
127
  // Emit event when expanded changes with the
127
128
  // width of the component.
@@ -14,7 +14,7 @@
14
14
  <script setup lang="ts">
15
15
  import { useSidebar } from "#imports";
16
16
  import type { IApplication } from "../../types";
17
- import icons from "./Icons/iconPaths.json";
17
+ import icons from "../../assets/iconPaths.json";
18
18
 
19
19
  const props = defineProps<{
20
20
  application: IApplication;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -26,26 +26,26 @@
26
26
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
27
27
  },
28
28
  "dependencies": {
29
- "@apptegy/nuxt-intl": "2.0.0-next.9",
29
+ "@apptegy/nuxt-intl": "2.1.2",
30
30
  "@nuxt/kit": "^3.15.4",
31
- "@vueuse/components": "11.3.0",
31
+ "@vueuse/components": "12.5.0",
32
32
  "lodash": "^4.17.21"
33
33
  },
34
34
  "devDependencies": {
35
- "@nuxt/devtools": "^1.7.0",
36
- "@nuxt/eslint-config": "^0.7.6",
35
+ "@nuxt/devtools": "^2.0.0",
36
+ "@nuxt/eslint-config": "^1.0.1",
37
37
  "@nuxt/module-builder": "^0.8.4",
38
38
  "@nuxt/schema": "^3.15.4",
39
39
  "@nuxt/test-utils": "^3.15.4",
40
- "@types/node": "^20.17.9",
40
+ "@types/node": "^20.17.17",
41
41
  "changelogen": "^0.5.7",
42
- "eslint": "^9.15.0",
42
+ "eslint": "^9.20.0",
43
43
  "nuxt": "^3.15.4",
44
- "sass": "^1.81.0",
45
- "typescript": "^5.7.2",
46
- "vitest": "^2.1.6",
44
+ "sass": "^1.84.0",
45
+ "typescript": "^5.6.3",
46
+ "vitest": "^2.1.9",
47
47
  "vue": "^3.5.13",
48
- "vue-tsc": "^2.1.10"
48
+ "vue-tsc": "^2.2.0"
49
49
  },
50
- "gitHead": "3f80f24cbe3b00bc1c234dd31484dd28d35f42a9"
50
+ "gitHead": "5b4a6d2e7c7db960b48e86b8056967f70547c784"
51
51
  }