@apptegy/nuxt-navigation 0.1.106 → 0.1.108

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
@@ -4,7 +4,7 @@
4
4
  "nuxt": ">=3.0.0"
5
5
  },
6
6
  "configKey": "@apptegy/nuxt-navigation",
7
- "version": "0.1.106",
7
+ "version": "0.1.108",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.1",
10
10
  "unbuild": "unknown"
@@ -74,7 +74,7 @@
74
74
  @update:active-filter-id="handleFilterChange"
75
75
  @clear-all="(payload) => $emit('notifications-clear-all', payload)"
76
76
  @dismiss="(payload) => $emit('notifications-dismiss', payload)"
77
- @select="(payload) => $emit('notifications-select', payload)"
77
+ @select="handleNotificationSelect"
78
78
  />
79
79
  </Popover>
80
80
 
@@ -94,7 +94,7 @@
94
94
  @update:active-filter-id="handleFilterChange"
95
95
  @clear-all="(payload) => $emit('notifications-clear-all', payload)"
96
96
  @dismiss="(payload) => $emit('notifications-dismiss', payload)"
97
- @select="(payload) => $emit('notifications-select', payload)"
97
+ @select="handleNotificationSelect"
98
98
  @close="closeNotificationsPanel"
99
99
  />
100
100
  </Teleport>
@@ -230,6 +230,9 @@ watch(
230
230
  );
231
231
  watch(panelOpen, (value) => {
232
232
  emit("update:notificationPanelOpen", value);
233
+ if (!value && !isMobilePanel.value) {
234
+ popoverRef.value?.hide();
235
+ }
233
236
  });
234
237
  watch(
235
238
  () => props.activeTabId,
@@ -270,6 +273,10 @@ function onPanelHide() {
270
273
  function closeNotificationsPanel() {
271
274
  panelOpen.value = false;
272
275
  }
276
+ function handleNotificationSelect(payload) {
277
+ closeNotificationsPanel();
278
+ emit("notifications-select", payload);
279
+ }
273
280
  function handleTabChange(id) {
274
281
  activeTabId.value = id;
275
282
  emit("update:activeTabId", id);
@@ -410,6 +410,9 @@ function scrollFilters() {
410
410
  border-bottom: 1px solid var(--grey-20, #e5e7eb);
411
411
  background: transparent;
412
412
  }
413
+ .notifications-panel__tabs :deep(.p-tablist-active-bar) {
414
+ display: none;
415
+ }
413
416
  .notifications-panel__tabs :deep(.p-tab) {
414
417
  padding: 0 0 12px;
415
418
  border: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
- "version": "0.1.106",
3
+ "version": "0.1.108",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -35,20 +35,19 @@
35
35
  "primevue": "^4.2.5"
36
36
  },
37
37
  "devDependencies": {
38
- "@nuxt/devtools": "^2.6.2",
39
- "@nuxt/eslint-config": "^1.6.0",
40
- "@nuxt/module-builder": "^1.0.1",
41
- "@nuxt/schema": "^3.17.0",
42
- "@nuxt/test-utils": "^3.17.0",
43
- "@types/node": "^22.0.0",
44
- "eslint": "^9.31.0",
45
- "nuxt": "^3.17.0",
38
+ "@nuxt/devtools": "catalog:",
39
+ "@nuxt/eslint-config": "catalog:",
40
+ "@nuxt/module-builder": "catalog:",
41
+ "@nuxt/schema": "catalog:",
42
+ "@nuxt/test-utils": "catalog:",
43
+ "@types/node": "catalog:",
44
+ "eslint": "catalog:",
45
+ "nuxt": "catalog:",
46
46
  "primevue": "^4.5.4",
47
- "sass": "^1.89.2",
48
- "typescript": "~5.8.0",
49
- "vitest": "^3.2.4",
50
- "vue": "^3.5.13",
51
- "vue-tsc": "^3.0.3"
52
- },
53
- "gitHead": "4a69cd943d4e30d94b74f25311ea5b627a4fd568"
47
+ "sass": "catalog:",
48
+ "typescript": "catalog:",
49
+ "vitest": "catalog:",
50
+ "vue": "catalog:",
51
+ "vue-tsc": "catalog:"
52
+ }
54
53
  }