diff --git a/.storybook/main.ts b/.storybook/main.ts
index 6b84524..7186a40 100644
--- a/.storybook/main.ts
+++ b/.storybook/main.ts
@@ -1,4 +1,6 @@
import type { StorybookConfig } from '@storybook/react-vite';
+import { resolve } from 'node:path';
+import { mergeConfig } from 'vite';
const config: StorybookConfig = {
stories: [
@@ -17,5 +19,17 @@ const config: StorybookConfig = {
name: '@storybook/react-vite',
options: {},
},
+ viteFinal: (config) => {
+ return mergeConfig(config, {
+ resolve: {
+ alias: [
+ {
+ find: /^@do-ob\/ui(\/?.*)/,
+ replacement: resolve('packages/ui/src$1'),
+ },
+ ],
+ },
+ });
+ },
};
export default config;
diff --git a/packages/ui/src/Navigation/Navigation.stories.tsx b/packages/ui/src/Navigation/Navigation.stories.tsx
index c2f53dc..98baf5a 100644
--- a/packages/ui/src/Navigation/Navigation.stories.tsx
+++ b/packages/ui/src/Navigation/Navigation.stories.tsx
@@ -30,6 +30,26 @@ const links: Link[] = [
{
title: 'Location',
url: '#location',
+ links: [
+ {
+ title: 'Address',
+ url: '#address',
+ },
+ {
+ title: 'Map',
+ url: '#map',
+ links: [
+ {
+ title: 'Google Map',
+ url: '#google-map',
+ },
+ {
+ title: 'Apple Map',
+ url: '#apple-map',
+ },
+ ]
+ },
+ ],
},
{
title: 'Email',
diff --git a/packages/ui/src/Navigation/Navigation.tsx b/packages/ui/src/Navigation/Navigation.tsx
index 8edc383..c4912de 100644
--- a/packages/ui/src/Navigation/Navigation.tsx
+++ b/packages/ui/src/Navigation/Navigation.tsx
@@ -1,4 +1,4 @@
-import type { Link, ThemeColor } from '../types';
+import type { Link, ThemeColor } from '@do-ob/ui/types';
import { NavigationStandard } from './NavigationStandard';
import { NavigationIsland } from './NavigationIsland';
diff --git a/packages/ui/src/Navigation/NavigationIsland.tsx b/packages/ui/src/Navigation/NavigationIsland.tsx
index c110927..83ac14a 100644
--- a/packages/ui/src/Navigation/NavigationIsland.tsx
+++ b/packages/ui/src/Navigation/NavigationIsland.tsx
@@ -21,7 +21,7 @@ export function NavigationIsland({