@apptegy/nuxt-navigation 0.1.40 → 0.1.42

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.40",
4
+ "version": "0.1.42",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -14,13 +14,13 @@
14
14
  import { computed } from 'vue';
15
15
 
16
16
  const props = defineProps({
17
- isAdmin: {
17
+ useLightLogo: {
18
18
  type: Boolean,
19
19
  default: false,
20
20
  },
21
21
  })
22
22
 
23
23
  const fillColor = computed(() => {
24
- return props.isAdmin ? '#FFFFFF' : '#503462';
24
+ return props.useLightLogo ? '#FFFFFF' : '#503462';
25
25
  });
26
26
  </script>
@@ -124,6 +124,8 @@ onMounted(() => {
124
124
  font-weight: 450;
125
125
  line-height: 16px;
126
126
  letter-spacing: 0.4px;
127
+ overflow: hidden;
128
+ text-overflow: ellipsis;
127
129
  }
128
130
  .a-nav-section--title .a-nav-section-title-wrapper .user-grid .email {
129
131
  grid-column: 2;
@@ -26,7 +26,7 @@
26
26
  :is="useApptegyLogo ? ApptegyLogo : ThrillshareLogo"
27
27
  v-else
28
28
  :alt="$t('navigation.brandLogoAlt')"
29
- :is-admin="isAdmin"
29
+ :use-light-logo="isAdmin || Object.values(getBrandingStyles).length === 0"
30
30
  />
31
31
  <div v-if="!brand?.hide_school_name">
32
32
  <div class="school-name"> {{ brand?.school_name }} </div>
package/package.json CHANGED
@@ -1,49 +1,51 @@
1
1
  {
2
- "name": "@apptegy/nuxt-navigation",
3
- "version": "0.1.40",
4
- "type": "module",
5
- "exports": {
6
- ".": {
7
- "types": "./dist/types.d.ts",
8
- "import": "./dist/module.mjs",
9
- "require": "./dist/module.cjs"
10
- }
11
- },
12
- "main": "./dist/module.cjs",
13
- "types": "./dist/types.d.ts",
14
- "files": [
15
- "dist"
16
- ],
17
- "dependencies": {
18
- "@nuxt/kit": "^3.16.1",
19
- "@vueuse/components": "12.8.2",
20
- "lodash": "^4.17.21",
21
- "@apptegy/nuxt-intl": "2.1.2"
22
- },
23
- "devDependencies": {
24
- "@nuxt/devtools": "^2.3.1",
25
- "@nuxt/eslint-config": "^1.2.0",
26
- "@nuxt/module-builder": "^0.8.4",
27
- "@nuxt/schema": "^3.16.1",
28
- "@nuxt/test-utils": "^3.17.2",
29
- "@types/node": "^20.17.24",
30
- "changelogen": "^0.5.7",
31
- "eslint": "^9.22.0",
32
- "nuxt": "^3.16.1",
33
- "sass": "^1.86.0",
34
- "typescript": "^5.8.2",
35
- "vitest": "^3.0.9",
36
- "vue": "^3.5.13",
37
- "vue-tsc": "^2.2.8"
38
- },
39
- "scripts": {
40
- "dev": "nuxi dev playground",
41
- "dev:build": "nuxi build playground",
42
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
43
- "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
44
- "lint": "eslint .",
45
- "test": "vitest run",
46
- "test:watch": "vitest watch",
47
- "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
48
- }
49
- }
2
+ "name": "@apptegy/nuxt-navigation",
3
+ "version": "0.1.42",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/types.d.ts",
8
+ "import": "./dist/module.mjs",
9
+ "require": "./dist/module.cjs"
10
+ }
11
+ },
12
+ "main": "./dist/module.cjs",
13
+ "types": "./dist/types.d.ts",
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "scripts": {
18
+ "prepack": "nuxt-module-build build",
19
+ "dev": "nuxi dev playground",
20
+ "dev:build": "nuxi build playground",
21
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
22
+ "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
23
+ "lint": "eslint .",
24
+ "test": "vitest run",
25
+ "test:watch": "vitest watch",
26
+ "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
27
+ },
28
+ "dependencies": {
29
+ "@apptegy/nuxt-intl": "2.1.2",
30
+ "@nuxt/kit": "^3.16.1",
31
+ "@vueuse/components": "12.8.2",
32
+ "lodash": "^4.17.21"
33
+ },
34
+ "devDependencies": {
35
+ "@nuxt/devtools": "^2.3.1",
36
+ "@nuxt/eslint-config": "^1.2.0",
37
+ "@nuxt/module-builder": "^0.8.4",
38
+ "@nuxt/schema": "^3.16.1",
39
+ "@nuxt/test-utils": "^3.17.2",
40
+ "@types/node": "^20.17.24",
41
+ "changelogen": "^0.5.7",
42
+ "eslint": "^9.22.0",
43
+ "nuxt": "^3.16.1",
44
+ "sass": "^1.86.0",
45
+ "typescript": "^5.8.2",
46
+ "vitest": "^3.0.9",
47
+ "vue": "^3.5.13",
48
+ "vue-tsc": "^2.2.8"
49
+ },
50
+ "gitHead": "3cecedc1a6fbd47b4eecd76b6a2d97e02ee61737"
51
+ }