@apptegy/nuxt-navigation 0.1.119 → 0.1.120

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.119",
7
+ "version": "0.1.120",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.1",
10
10
  "unbuild": "unknown"
@@ -9,11 +9,13 @@
9
9
  </div>
10
10
  <slot name="org-select" />
11
11
  <slot name="user-controls" />
12
- <div class="user-control-actions">
13
- <div
14
- v-if="showNotifications"
15
- class="header__notifications"
16
- >
12
+ <div class="header__end">
13
+ <slot name="searchbar" />
14
+ <div class="user-control-actions">
15
+ <div
16
+ v-if="showNotifications"
17
+ class="header__notifications"
18
+ >
17
19
  <Button
18
20
  type="button"
19
21
  severity="secondary"
@@ -136,6 +138,7 @@
136
138
  />
137
139
  </NuxtLink>
138
140
  </template>
141
+ </div>
139
142
  </div>
140
143
  </header>
141
144
  </template>
@@ -313,10 +316,18 @@ header.header {
313
316
  background-color: var(--primary-white);
314
317
  font: var(--font-regular);
315
318
  }
319
+ header.header .header__end {
320
+ display: flex;
321
+ align-items: center;
322
+ justify-content: flex-end;
323
+ gap: 24px;
324
+ min-width: 0;
325
+ }
316
326
  header.header .user-control-actions {
317
327
  display: flex;
318
328
  align-items: center;
319
329
  gap: 8px;
330
+ flex-shrink: 0;
320
331
  }
321
332
  header.header .header__notifications {
322
333
  position: relative;
@@ -17,7 +17,7 @@ interface IUserDropdown {
17
17
  userDropdownOptions: Array<unknown>;
18
18
  }
19
19
  type __VLS_Props = IHeaderProps & IUserDropdown;
20
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_15: {};
20
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_17: {};
21
21
  type __VLS_Slots = {} & {
22
22
  breadcrumbs?: (props: typeof __VLS_1) => any;
23
23
  } & {
@@ -25,7 +25,9 @@ type __VLS_Slots = {} & {
25
25
  } & {
26
26
  'user-controls'?: (props: typeof __VLS_5) => any;
27
27
  } & {
28
- notifications?: (props: typeof __VLS_15) => any;
28
+ searchbar?: (props: typeof __VLS_7) => any;
29
+ } & {
30
+ notifications?: (props: typeof __VLS_17) => any;
29
31
  };
30
32
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
33
  "selected-option": (...args: any[]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
- "version": "0.1.119",
3
+ "version": "0.1.120",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {