djedi-json
Advanced tools
Comparing version 0.5.7 to 0.5.8
@@ -11,2 +11,3 @@ import React, { RefObject } from 'react'; | ||
editing: boolean; | ||
move: (steps: number) => void; | ||
}; | ||
@@ -13,0 +14,0 @@ declare const EditContext: React.Context<EditContextType>; |
@@ -1,5 +0,6 @@ | ||
import React from 'react'; | ||
import React, { ReactNode } from 'react'; | ||
export interface CMSProps { | ||
config: Config; | ||
tree?: NodeTreeItem; | ||
children?: ReactNode; | ||
} | ||
@@ -6,0 +7,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import React, { ReactNode } from 'react'; | ||
/** | ||
@@ -12,3 +12,5 @@ * Editable, wraps the child component with some tooling for talking to the admin. | ||
path: string[]; | ||
movable: boolean; | ||
children?: ReactNode; | ||
}>; | ||
export default Editable; |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import React, { ReactNode } from 'react'; | ||
/** | ||
@@ -12,3 +12,5 @@ * | ||
path?: string[]; | ||
movable?: boolean; | ||
children?: ReactNode; | ||
}>; | ||
export default EditorTree; |
@@ -22,2 +22,7 @@ export declare type ReplaceAction = { | ||
}; | ||
export declare type TreeReducerAction = ReplaceAction | EmptyAction | PatchAction | DeleteAction | AddAction; | ||
export declare type MoveAction = { | ||
type: 'move'; | ||
path: string[] | string; | ||
steps: number; | ||
}; | ||
export declare type TreeReducerAction = MoveAction | ReplaceAction | EmptyAction | PatchAction | DeleteAction | AddAction; |
{ | ||
"name": "djedi-json", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"main": "build/index.js", | ||
@@ -37,2 +37,4 @@ "module": "build/index.esm.js", | ||
"@svgr/rollup": "^5.5.0", | ||
"@types/react": "^18.0.15", | ||
"autoprefixer": "^10.4.7", | ||
"postcss": "^8.3.3", | ||
@@ -39,0 +41,0 @@ "postcss-extend": "^1.0.5", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
399306
4018
17
3