Skip to content

Commit

Permalink
chore: update storybook
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Oct 29, 2023
1 parent 1f3d95c commit 8d0fd3c
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 6 deletions.
26 changes: 22 additions & 4 deletions src/components/ui/markdown/customize.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,23 @@ https://codesandbox.io/s/framer-motion-layoutroot-prop-forked-p39g96
https://codesandbox.io/s/framer-motion-layoutroot-prop-forked-p39g96

```
https://github.com/toeverything/AFFiNE/blob/master/.github/workflows/nx.yml
https://github.com/Innei/Shiro/blob/108d4c3e927e1c9c9304e41a0631f91958477d9f/src/providers/root/modal-stack-provider.tsx
```

https://github.com/toeverything/AFFiNE/blob/master/.github/workflows/nx.yml
https://github.com/Innei/Shiro/blob/108d4c3e927e1c9c9304e41a0631f91958477d9f/src/providers/root/modal-stack-provider.tsx

```
https://github.com/toeverything/AFFiNE/blob/himself65/0710/remove-effect/apps/web/src/atoms/index.ts
https://github.com/Innei/Shiro/pull/129
```

https://github.com/toeverything/AFFiNE/blob/himself65/0710/remove-effect/apps/web/src/atoms/index.ts
https://github.com/Innei/Shiro/pull/129


```
https://github.com/Innei/Shiro/commit/6957e011439eb2d3cbf42bfb67ed81b07d4bcc2a
```

https://github.com/Innei/Shiro/commit/6957e011439eb2d3cbf42bfb67ed81b07d4bcc2a

```
https://trpc.io/docs/client/react/useInfiniteQuery
Expand Down Expand Up @@ -201,6 +208,17 @@ Inline https://github.com/Innei

## Alerts

```
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
```

> [!NOTE]
> Highlights information that users should take into account, even when skimming.
Expand Down
9 changes: 9 additions & 0 deletions storybook/mock-packages/next_navigation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ export const useRouter = () => {
}

export const usePathname = () => location.pathname

export const useSearchParams = () => {
const params = new URLSearchParams(location.search)
return {
get(key) {
return params.get(key)
},
}
}
5 changes: 3 additions & 2 deletions storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"scripts": {
"dev": "vite"
"dev": "vite",
"build": "vite build"
},
"dependencies": {
"@radix-ui/react-scroll-area": "1.0.5",
Expand All @@ -25,4 +26,4 @@
"unplugin-macros": "0.8.3",
"vite-tsconfig-paths": "^4.2.1"
}
}
}

1 comment on commit 8d0fd3c

@vercel
Copy link

@vercel vercel bot commented on 8d0fd3c Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

springtide.vercel.app
shiro-git-main-innei.vercel.app
shiro-innei.vercel.app
innei.in

Please sign in to comment.