-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0984ca2
commit 97ef13d
Showing
20 changed files
with
299 additions
and
544 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
import type { GlobalMenuProps } from "../lib"; | ||
import { accountMenu } from "./index"; | ||
import type { GlobalMenuProps } from '../lib'; | ||
import { accountMenu } from './index'; | ||
|
||
export const globalMenu: GlobalMenuProps = { | ||
...accountMenu, | ||
menuLabel: "Meny", | ||
backLabel: "Tilbake", | ||
logoutButton: { label: "Logg ut" }, | ||
changeLabel: "Endre", | ||
menuLabel: 'Meny', | ||
backLabel: 'Tilbake', | ||
logoutButton: { label: 'Logg ut' }, | ||
changeLabel: 'Endre', | ||
groups: { | ||
apps: { | ||
defaultIconTheme: "surface", | ||
defaultIconTheme: 'surface', | ||
divider: true, | ||
}, | ||
}, | ||
items: [ | ||
{ | ||
id: "inbox", | ||
groupId: "apps", | ||
size: "lg", | ||
icon: "inbox", | ||
title: "Innboks", | ||
id: 'inbox', | ||
groupId: 'apps', | ||
size: 'lg', | ||
icon: 'inbox', | ||
title: 'Innboks', | ||
selected: true, | ||
badge: { | ||
label: "4", | ||
label: '4', | ||
}, | ||
iconBadge: { | ||
color: "alert", | ||
theme: "base", | ||
size: "xs", | ||
label: "2", | ||
color: 'alert', | ||
theme: 'base', | ||
size: 'xs', | ||
label: '2', | ||
}, | ||
}, | ||
{ | ||
id: "access", | ||
groupId: "apps", | ||
size: "lg", | ||
icon: "bookmark", | ||
title: "Tilganger", | ||
id: 'access', | ||
groupId: 'apps', | ||
size: 'lg', | ||
icon: 'bookmark', | ||
title: 'Tilganger', | ||
}, | ||
{ | ||
id: "access", | ||
groupId: "apps", | ||
size: "lg", | ||
icon: "menu-grid", | ||
title: "Alle skjema", | ||
id: 'access', | ||
groupId: 'apps', | ||
size: 'lg', | ||
icon: 'menu-grid', | ||
title: 'Alle skjema', | ||
}, | ||
{ | ||
id: "startup", | ||
groupId: "help", | ||
size: "sm", | ||
icon: "buildings2", | ||
title: "Starte og drive bedrift", | ||
id: 'startup', | ||
groupId: 'help', | ||
size: 'sm', | ||
icon: 'buildings2', | ||
title: 'Starte og drive bedrift', | ||
}, | ||
{ | ||
id: "help", | ||
groupId: "help", | ||
size: "sm", | ||
icon: "chat-exclamationmark", | ||
title: "Trenger du hjelp?", | ||
id: 'help', | ||
groupId: 'help', | ||
size: 'sm', | ||
icon: 'chat-exclamationmark', | ||
title: 'Trenger du hjelp?', | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,62 @@ | ||
import type { MenuProps } from "../lib"; | ||
import type { MenuProps } from '../lib'; | ||
|
||
export const inboxMenu: MenuProps = { | ||
groups: {}, | ||
defaultIconTheme: "default", | ||
defaultIconTheme: 'default', | ||
items: [ | ||
{ | ||
id: "1", | ||
groupId: "1", | ||
size: "lg", | ||
icon: { name: "inbox", theme: "base", variant: "solid" }, | ||
id: '1', | ||
groupId: '1', | ||
size: 'lg', | ||
icon: { name: 'inbox', theme: 'base', variant: 'solid' }, | ||
iconBadge: { | ||
size: "xs", | ||
theme: "base", | ||
label: "2 uleste", | ||
size: 'xs', | ||
theme: 'base', | ||
color: 'alert', | ||
label: '2 uleste', | ||
}, | ||
selected: true, | ||
title: "Innboks", | ||
title: 'Innboks', | ||
badge: { | ||
label: "12", | ||
label: '12', | ||
}, | ||
}, | ||
{ | ||
id: "2", | ||
groupId: "2", | ||
icon: "doc-pencil", | ||
title: "Utkast", | ||
id: '2', | ||
groupId: '2', | ||
icon: 'doc-pencil', | ||
title: 'Utkast', | ||
badge: { | ||
label: "2", | ||
label: '2', | ||
}, | ||
}, | ||
{ | ||
id: "3", | ||
groupId: "2", | ||
icon: "file-checkmark", | ||
title: "Sendt", | ||
id: '3', | ||
groupId: '2', | ||
icon: 'file-checkmark', | ||
title: 'Sendt', | ||
}, | ||
{ | ||
id: "4", | ||
groupId: "3", | ||
icon: "bookmark", | ||
title: "Lagrede søk", | ||
id: '4', | ||
groupId: '3', | ||
icon: 'bookmark', | ||
title: 'Lagrede søk', | ||
badge: { | ||
label: "5", | ||
label: '5', | ||
}, | ||
}, | ||
{ | ||
id: "5", | ||
groupId: "4", | ||
icon: "archive", | ||
title: "Arkivert", | ||
id: '5', | ||
groupId: '4', | ||
icon: 'archive', | ||
title: 'Arkivert', | ||
}, | ||
{ | ||
id: "6", | ||
groupId: "4", | ||
id: '6', | ||
groupId: '4', | ||
disabled: true, | ||
icon: "trash", | ||
title: "Papirkurv", | ||
icon: 'trash', | ||
title: 'Papirkurv', | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
import type { MenuProps } from "../lib"; | ||
import type { MenuProps } from '../lib'; | ||
|
||
export const loginMenu: MenuProps = { | ||
items: [ | ||
{ | ||
id: "login", | ||
groupId: "login", | ||
size: "lg", | ||
icon: { name: "padlock-locked", theme: "base", variant: "solid" }, | ||
title: "Logg inn", | ||
id: 'login', | ||
groupId: 'login', | ||
size: 'lg', | ||
icon: { name: 'padlock-locked', theme: 'base', variant: 'solid' }, | ||
title: 'Logg inn', | ||
}, | ||
{ | ||
id: "startup", | ||
groupId: "help", | ||
size: "sm", | ||
icon: "buildings2", | ||
title: "Starte og drive bedrift", | ||
id: 'startup', | ||
groupId: 'help', | ||
size: 'sm', | ||
icon: 'buildings2', | ||
title: 'Starte og drive bedrift', | ||
}, | ||
{ | ||
id: "help", | ||
groupId: "help", | ||
size: "sm", | ||
icon: "chat-exclamationmark", | ||
title: "Trenger du hjelp?", | ||
id: 'help', | ||
groupId: 'help', | ||
size: 'sm', | ||
icon: 'chat-exclamationmark', | ||
title: 'Trenger du hjelp?', | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.