@apptegy/nuxt-navigation 0.1.49 → 0.1.51

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.49",
4
+ "version": "0.1.51",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -91,6 +91,7 @@ async function goToWebsite() {
91
91
  justify-content: flex-start;
92
92
  width: 100%;
93
93
  text-transform: uppercase;
94
+ padding-left: 8px;
94
95
  }
95
96
  .help-btn-wrapper .help-articles-btn {
96
97
  cursor: pointer;
@@ -79,7 +79,6 @@
79
79
  <script setup lang="ts">
80
80
  import { useSidebar, useBranding, ref, watch } from '#imports';
81
81
  import type { IApplication, IUser } from "../../types";
82
- import ThrillshareLogo from './Icons/ThrillshareLogo.vue';
83
82
  import ApptegyLogo from './Icons/ApptegyLogo.vue';
84
83
 
85
84
  interface ILogo {
@@ -13,7 +13,7 @@ const component = computed(()=> props.as || resolveComponent("NuxtLink"));
13
13
  <template>
14
14
  <component :is="component" class="a-navbar-item" :class="{expanded, active}">
15
15
  <slot name="icon">
16
- <a-icon :icon="icon" font-size="32px"/>
16
+ <a-icon :icon="icon" font-size="24px"/>
17
17
  </slot>
18
18
  <slot v-if="expanded" />
19
19
  </component>
@@ -26,7 +26,6 @@ const component = computed(()=> props.as || resolveComponent("NuxtLink"));
26
26
  margin: 2px 12px;
27
27
  display: flex;
28
28
  align-items: center;
29
- gap: 4px;
30
29
  text-decoration: none;
31
30
  text-transform: capitalize;
32
31
  padding: 4px;
@@ -34,6 +33,10 @@ const component = computed(()=> props.as || resolveComponent("NuxtLink"));
34
33
  border-radius: 8px;
35
34
  user-select: none;
36
35
  }
36
+ .a-navbar-item svg {
37
+ margin-right: 12px;
38
+ margin-left: 8px;
39
+ }
37
40
  .a-navbar-item:focus-visible {
38
41
  outline: var(--orange) auto 2px;
39
42
  outline-offset: 0px;
@@ -42,9 +45,12 @@ const component = computed(()=> props.as || resolveComponent("NuxtLink"));
42
45
  .a-navbar-item.active, .a-navbar-item.nuxt-link-exact-active, .a-navbar-item.router-link-exact-active {
43
46
  background-color: var(--nav-icon-background, #F7F5F9);
44
47
  font-weight: 500;
48
+ color: #2D2D2D;
45
49
  }
46
50
  .a-navbar-item.active svg path, .a-navbar-item.nuxt-link-exact-active svg path, .a-navbar-item.router-link-exact-active svg path {
47
51
  stroke-width: 1.5px;
52
+ margin-right: 12px;
53
+ margin-left: 8px;
48
54
  }
49
55
  .a-navbar-item:hover {
50
56
  background-color: var(--nav-icon-background, #F7F5F9);
@@ -4,6 +4,7 @@
4
4
  <NuxtLink class="a-nav-section--link" :to="active ? '' : application.url" :aria-label="appText">
5
5
  <span v-if="expanded">{{ appText }}</span>
6
6
  <a-icon v-if="expanded && active" :class="['caret-icon', { 'collapse': !isOpen }]" icon="16:carret-up" @click="isOpen = !isOpen" />
7
+ <a-icon v-if="expanded && !active" :class="['caret-icon', { 'collapse': !isOpen }]" icon="16:carret-down" @click="isOpen = !isOpen" />
7
8
  </NuxtLink>
8
9
  <div :class="['a-nav-section--content', { 'collapse': !isOpen }]">
9
10
  <slot />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -26,7 +26,7 @@
26
26
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
27
27
  },
28
28
  "dependencies": {
29
- "@apptegy/nuxt-intl": "2.1.2",
29
+ "@apptegy/nuxt-intl": "^2.1.3-alpha.0",
30
30
  "@nuxt/kit": "^3.17.0",
31
31
  "@vueuse/components": "12.8.2",
32
32
  "@vueuse/core": "^12.8.2"