diff --git a/infrastructure/eid-wallet/src/lib/fragments/AppNav/AppNav.stories.ts b/infrastructure/eid-wallet/src/lib/fragments/AppNav/AppNav.stories.ts new file mode 100644 index 00000000..60d4a38f --- /dev/null +++ b/infrastructure/eid-wallet/src/lib/fragments/AppNav/AppNav.stories.ts @@ -0,0 +1,21 @@ +import type { ComponentProps } from "svelte"; +import AppNav from "./AppNav.svelte"; + +export default { + title: "Fragments/AppNav", + component: AppNav, + tags: ["autodocs"], + render: (args: { + Component: AppNav; + props: ComponentProps; + }) => ({ + Component: AppNav, + props: args, + }), +}; + +export const Basic = { + args: { + title: "Settings", + }, +}; diff --git a/infrastructure/eid-wallet/src/lib/fragments/AppNav/AppNav.svelte b/infrastructure/eid-wallet/src/lib/fragments/AppNav/AppNav.svelte new file mode 100644 index 00000000..318bec58 --- /dev/null +++ b/infrastructure/eid-wallet/src/lib/fragments/AppNav/AppNav.svelte @@ -0,0 +1,37 @@ + + + + + \ No newline at end of file diff --git a/infrastructure/eid-wallet/src/lib/fragments/IdentityCard/IdentityCard.svelte b/infrastructure/eid-wallet/src/lib/fragments/IdentityCard/IdentityCard.svelte index eb0811f2..69d07112 100644 --- a/infrastructure/eid-wallet/src/lib/fragments/IdentityCard/IdentityCard.svelte +++ b/infrastructure/eid-wallet/src/lib/fragments/IdentityCard/IdentityCard.svelte @@ -59,7 +59,7 @@ $effect(() => { {:else if variant === 'eVault'} -
{state.progressWidth} Used
+

{state.progressWidth} Used

{/if}
@@ -83,7 +83,7 @@ $effect(() => {

{usedStorage}GB Used

-

{totalStorage}GB Used

+

{totalStorage}GB total storage

diff --git a/infrastructure/eid-wallet/src/lib/fragments/index.ts b/infrastructure/eid-wallet/src/lib/fragments/index.ts index fa153456..482770ac 100644 --- a/infrastructure/eid-wallet/src/lib/fragments/index.ts +++ b/infrastructure/eid-wallet/src/lib/fragments/index.ts @@ -1,3 +1,4 @@ export { default as Hero } from "./Hero/Hero.svelte"; export { default as IdentityCard } from "./IdentityCard/IdentityCard.svelte"; export { default as SettingsNavigationBtn } from "./SettingsNavigationBtn/SettingsNavigationBtn.svelte"; +export { default as AppNav } from "./AppNav/AppNav.svelte"; diff --git a/infrastructure/eid-wallet/src/lib/ui/InputPin/InputPin.svelte b/infrastructure/eid-wallet/src/lib/ui/InputPin/InputPin.svelte index 5b63fac9..f75e7fac 100644 --- a/infrastructure/eid-wallet/src/lib/ui/InputPin/InputPin.svelte +++ b/infrastructure/eid-wallet/src/lib/ui/InputPin/InputPin.svelte @@ -144,8 +144,9 @@ const cBase =