Skip to content

Commit

Permalink
Merge pull request #3596 from udecode/registry
Browse files Browse the repository at this point in the history
Update Registry
  • Loading branch information
zbeyens authored Oct 1, 2024
2 parents 6b5573e + 0856c6f commit 5bead98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/www/public/r/styles/default/paragraph-element.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": [
{
"content": "import { cn } from '@udecode/cn';\nimport { withRef } from '@udecode/plate-common/react';\n\nimport { PlateElement } from './plate-element';\n\nexport const ParagraphElement = withRef<typeof PlateElement>(\n ({ children, className, ...props }, ref) => {\n return (\n <PlateElement\n ref={ref}\n className={cn('m-0 px-0 py-1', className)}\n {...props}\n >\n {children}\n </PlateElement>\n );\n }\n);\n",
"content": "import React from 'react';\n\nimport { cn } from '@udecode/cn';\nimport { withRef } from '@udecode/plate-common/react';\n\nimport { PlateElement } from './plate-element';\n\nexport const ParagraphElement = withRef<typeof PlateElement>(\n ({ children, className, ...props }, ref) => {\n return (\n <PlateElement\n ref={ref}\n className={cn('m-0 px-0 py-1', className)}\n {...props}\n >\n {children}\n </PlateElement>\n );\n }\n);\n",
"path": "plate-ui/paragraph-element.tsx",
"target": "",
"type": "registry:ui"
Expand Down
3 changes: 1 addition & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3145,7 +3145,7 @@ __metadata:
languageName: node
linkType: hard

"@radix-ui/react-compose-refs@npm:1.1.0, @radix-ui/react-compose-refs@npm:^1.1.0":
"@radix-ui/react-compose-refs@npm:1.1.0":
version: 1.1.0
resolution: "@radix-ui/react-compose-refs@npm:1.1.0"
peerDependencies:
Expand Down Expand Up @@ -6966,7 +6966,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@udecode/react-utils@workspace:packages/react-utils"
dependencies:
"@radix-ui/react-compose-refs": "npm:^1.1.0"
"@radix-ui/react-slot": "npm:^1.1.0"
"@udecode/utils": "npm:37.0.0"
clsx: "npm:^2.1.1"
Expand Down

0 comments on commit 5bead98

Please sign in to comment.