Skip to content

Commit

Permalink
moved DEF_VIDEO_PROPS to client code
Browse files Browse the repository at this point in the history
  • Loading branch information
artemis-prime committed Jun 3, 2024
1 parent 59c7562 commit 5e209f8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 20 deletions.
6 changes: 3 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hanzo/ui",
"version": "3.8.18",
"version": "3.8.20",
"description": "Library that contains shared UI primitives, support for a common design system, and other boilerplate support.",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
Expand Down Expand Up @@ -43,6 +43,7 @@
"./util-client": "./util/index-client.ts"
},
"dependencies": {
"@hanzo/react-drawer": "0.1.7",
"@next/third-parties": "^14.1.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-aspect-ratio": "^1.0.3",
Expand Down Expand Up @@ -83,8 +84,7 @@
"sonner": "^1.4.41",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"tailwindcss-interaction-media": "^0.1.0",
"@hanzo/react-drawer": "0.1.6"
"tailwindcss-interaction-media": "^0.1.0"
},
"peerDependencies": {
"@hookform/resolvers": "^3.3.2",
Expand Down
7 changes: 0 additions & 7 deletions packages/ui/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ export const cn = (...inputs: ClassValue[]) => (
twMerge(clsx(inputs))
)

export const DEF_VIDEO_PROPS = {
autoPlay: true,
loop: true,
muted: true,
playsInline: true
}

export const markdown = (s: string, options?: any): JSX.Element => (
mdCompiler(s, {
wrapper: null,
Expand Down
36 changes: 26 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5e209f8

Please sign in to comment.