-
Notifications
You must be signed in to change notification settings - Fork 879
feat(joint-react): sync with @joint/react-plus + general updates #3077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
samuelgja
wants to merge
14
commits into
clientIO:master
Choose a base branch
from
samuelgja:feat/joint-react-plus-sync-and-updates
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5311d16
feat(joint-react): sync with react plus and general fixes + remove pa…
samuelgja fdfff64
chore(joint-react): enhance graph provider and store with new methods…
samuelgja 273e570
refactor(joint-react): clean up code by removing unused methods and s…
samuelgja 751a252
Merge remote-tracking branch 'upstream/master' into feat/joint-react-…
samuelgja 8896f66
chore(joint-react): sync yarn lock + update tests snapshots
samuelgja ce40cbb
feat(joint-react): add use-combined-ref hook export
samuelgja 5ef0956
feat(joint-react): improve size measurement accuracy and prevent floa…
samuelgja 29d9a17
feat(joint-react): enhance Paper component with improved dimension ha…
samuelgja 8b035ed
Merge remote-tracking branch 'upstream/master' into feat/joint-react-…
samuelgja 0321376
feat(joint-react): update dependencies, enhance GraphProvider, and ad…
samuelgja 0fe069f
feat(joint-react): enhance GraphProvider for controlled mode and add …
samuelgja 8d9dbc0
feat(joint-react): update dependencies, refactor components, and enha…
samuelgja 32c1254
chore(joint-react): add empty lines to test files for consistency
samuelgja be7367a
feat(joint-react): - work only with json -remove dia.element and dia…
samuelgja File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2583,17 +2583,17 @@ export namespace dia { | |
|
|
||
| export namespace highlighters { | ||
|
|
||
| import HighlighterView = dia.HighlighterView; | ||
| type HighlighterView = dia.HighlighterView; | ||
|
|
||
| interface AddClassHighlighterArguments extends HighlighterView.Options { | ||
| interface AddClassHighlighterArguments extends dia.HighlighterView.Options { | ||
| className?: string; | ||
| } | ||
|
|
||
| interface OpacityHighlighterArguments extends HighlighterView.Options { | ||
| interface OpacityHighlighterArguments extends dia.HighlighterView.Options { | ||
| alphaValue?: number; | ||
| } | ||
|
|
||
| interface StrokeHighlighterArguments extends HighlighterView.Options { | ||
| interface StrokeHighlighterArguments extends dia.HighlighterView.Options { | ||
| padding?: number; | ||
| rx?: number; | ||
| ry?: number; | ||
|
|
@@ -2602,7 +2602,7 @@ export namespace highlighters { | |
| attrs?: attributes.NativeSVGAttributes; | ||
| } | ||
|
|
||
| interface MaskHighlighterArguments extends HighlighterView.Options { | ||
| interface MaskHighlighterArguments extends dia.HighlighterView.Options { | ||
| padding?: number; | ||
| maskClip?: number; | ||
| deep?: boolean; | ||
|
|
@@ -4505,8 +4505,8 @@ export namespace attributes { | |
| filter?: string | dia.SVGFilterJSON; | ||
| fill?: string | dia.SVGPatternJSON | dia.SVGGradientJSON; | ||
| stroke?: string | dia.SVGPatternJSON | dia.SVGGradientJSON; | ||
| sourceMarker?: dia.SVGMarkerJSON; | ||
| targetMarker?: dia.SVGMarkerJSON; | ||
| sourceMarker?: dia.SVGMarkerJSON | null; | ||
| targetMarker?: dia.SVGMarkerJSON | null; | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added this type, because it return null in some cases. |
||
| vertexMarker?: dia.SVGMarkerJSON; | ||
| props?: SVGAttributeProps; | ||
| text?: string; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,28 +6,31 @@ | |
| "module": "./eslint.config.mjs", | ||
| "sideEffects": false, | ||
| "devDependencies": { | ||
| "@eslint-react/eslint-plugin": "^1.28.0", | ||
| "@eslint/compat": "^1.1.1", | ||
| "@eslint/js": "9.24.0", | ||
| "@stylistic/eslint-plugin": "4.2.0", | ||
| "@stylistic/eslint-plugin-jsx": "4.2.0", | ||
| "@stylistic/eslint-plugin-ts": "4.2.0", | ||
| "@typescript-eslint/eslint-plugin": "8.29.0", | ||
| "@typescript-eslint/parser": "8.29.0", | ||
| "eslint": "9.24.0", | ||
| "eslint-plugin-depend": "0.12.0", | ||
| "eslint-plugin-jest": "^28.8.3", | ||
| "eslint-plugin-jsdoc": "^50.6.9", | ||
| "eslint-plugin-react": "^7.37.4", | ||
| "eslint-plugin-react-hooks": "5.1.0", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. update to latest versions. |
||
| "@eslint-react/eslint-plugin": "1.52.4", | ||
| "@eslint/compat": "^1.3.2", | ||
| "@eslint/js": "9.33.0", | ||
| "@stylistic/eslint-plugin": "5.2.3", | ||
| "@stylistic/eslint-plugin-jsx": "4.4.1", | ||
| "@stylistic/eslint-plugin-ts": "4.4.1", | ||
| "@typescript-eslint/eslint-plugin": "8.39.1", | ||
| "@typescript-eslint/parser": "8.39.1", | ||
| "eslint": "9.33.0", | ||
| "eslint-plugin-depend": "1.2.0", | ||
| "eslint-plugin-jest": "29.0.1", | ||
| "eslint-plugin-jsdoc": "54.0.0", | ||
| "eslint-plugin-react": "7.37.5", | ||
| "eslint-plugin-react-hooks": "5.2.0", | ||
| "eslint-plugin-react-perf": "^3.3.3", | ||
| "eslint-plugin-security": "3.0.1", | ||
| "eslint-plugin-sonarjs": "3.0.2", | ||
| "eslint-plugin-unicorn": "58.0.0", | ||
| "typescript-eslint": "8.29.0" | ||
| "eslint-plugin-sonarjs": "3.0.4", | ||
| "eslint-plugin-unicorn": "60.0.0", | ||
| "typescript-eslint": "8.39.1" | ||
| }, | ||
| "peerDependencies": { | ||
| "eslint": "9.24.0", | ||
| "typescript": "^5.0.0" | ||
| "eslint": "9.33.0", | ||
| "typescript": "^5.9.2" | ||
| }, | ||
| "scripts": { | ||
| "lint": "eslint . --ext .js,.jsx,.ts,.tsx" | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This typing should be the same, but I had to change from that legacy Import to type because of a bundling issue.