-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Kotlin core dependencies (#2844)
- removed deprecated api - fixed test for JS - @OptIn(ExperimentalNativeApi::class) - fixed import @jsmodule("@react-sigma/*") --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nariman Abdullin <nulls.narik@gmail.com>
- Loading branch information
1 parent
36b5690
commit 967f4db
Showing
8 changed files
with
23 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
7 changes: 2 additions & 5 deletions
7
...main/kotlin/com/saveourtool/save/frontend/externals/graph/sigma/layouts/LayoutCircular.kt
This file contains 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 |
---|---|---|
@@ -1,15 +1,12 @@ | ||
@file:Suppress("FILE_NAME_MATCH_CLASS", "HEADER_MISSING_IN_NON_SINGLE_CLASS_FILE") | ||
@file:JsModule("@react-sigma/layout-circular") | ||
@file:JsNonModule | ||
|
||
package com.saveourtool.save.frontend.externals.graph.sigma.layouts | ||
|
||
import react.* | ||
|
||
/** | ||
* @param settings | ||
* @return [LayoutInstance] with positions and assign functions | ||
*/ | ||
@JsName("useLayoutCircular") | ||
@JsModule("@react-sigma/layout-circular") | ||
@JsNonModule | ||
@JsExport | ||
external fun useLayoutCircular(settings: dynamic = definedExternally): LayoutInstance |
8 changes: 3 additions & 5 deletions
8
...n/kotlin/com/saveourtool/save/frontend/externals/graph/sigma/layouts/LayoutForceAtlas2.kt
This file contains 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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
@file:Suppress("FILE_NAME_MATCH_CLASS", "HEADER_MISSING_IN_NON_SINGLE_CLASS_FILE") | ||
@file:JsModule("@react-sigma/layout-forceatlas2") | ||
@file:JsNonModule | ||
|
||
package com.saveourtool.save.frontend.externals.graph.sigma.layouts | ||
|
||
import react.* | ||
|
||
/** | ||
* @param settings | ||
* @return [LayoutInstance] with positions and assign functions | ||
*/ | ||
@JsName("useLayoutForceAtlas2") | ||
@JsModule("@react-sigma/layout-forceatlas2") | ||
@JsNonModule | ||
@JsExport | ||
external fun useLayoutForceAtlas2(settings: dynamic = definedExternally): LayoutInstance |
7 changes: 2 additions & 5 deletions
7
...c/main/kotlin/com/saveourtool/save/frontend/externals/graph/sigma/layouts/LayoutRandom.kt
This file contains 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 |
---|---|---|
@@ -1,15 +1,12 @@ | ||
@file:Suppress("FILE_NAME_MATCH_CLASS", "HEADER_MISSING_IN_NON_SINGLE_CLASS_FILE") | ||
@file:JsModule("@react-sigma/layout-random") | ||
@file:JsNonModule | ||
|
||
package com.saveourtool.save.frontend.externals.graph.sigma.layouts | ||
|
||
import react.* | ||
|
||
/** | ||
* @param settings | ||
* @return [LayoutInstance] with positions and assign functions | ||
*/ | ||
@JsName("useLayoutRandom") | ||
@JsModule("@react-sigma/layout-random") | ||
@JsNonModule | ||
@JsExport | ||
external fun useLayoutRandom(settings: dynamic = definedExternally): LayoutInstance |