@imgly/editor-react-native 1.74.0 → 1.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/src/main/kotlin/ly/img/editor/configuration/apparel/ApparelConfigurationBuilder.kt +5 -5
- package/android/src/main/kotlin/ly/img/editor/configuration/apparel/callback/OnCreate.kt +1 -0
- package/android/src/main/kotlin/ly/img/editor/configuration/design/DesignConfigurationBuilder.kt +5 -5
- package/android/src/main/kotlin/ly/img/editor/configuration/design/callback/OnCreate.kt +1 -0
- package/android/src/main/kotlin/ly/img/editor/configuration/photo/PhotoConfigurationBuilder.kt +5 -5
- package/android/src/main/kotlin/ly/img/editor/configuration/postcard/PostcardConfigurationBuilder.kt +5 -5
- package/android/src/main/kotlin/ly/img/editor/configuration/postcard/callback/OnCreate.kt +1 -0
- package/android/src/main/kotlin/ly/img/editor/configuration/video/VideoConfigurationBuilder.kt +6 -6
- package/android/src/main/kotlin/ly/img/editor/configuration/video/callback/OnCreate.kt +1 -0
- package/package.json +1 -1
- package/src/NativeIMGLYEditor.ts +1 -1
package/android/build.gradle
CHANGED
package/android/src/main/kotlin/ly/img/editor/configuration/apparel/ApparelConfigurationBuilder.kt
CHANGED
|
@@ -65,7 +65,7 @@ class ApparelConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
65
65
|
* The configuration of the component that is displayed as horizontal list of items at the bottom of the editor.
|
|
66
66
|
* Check parent class declaration for more details.
|
|
67
67
|
*/
|
|
68
|
-
override var dock: ScopedProperty<EditorScope, EditorComponent
|
|
68
|
+
override var dock: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
69
69
|
rememberDock()
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -73,7 +73,7 @@ class ApparelConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
73
73
|
* The configuration of the component that is displayed as horizontal list of items at the top of the editor.
|
|
74
74
|
* Check parent class declaration for more details.
|
|
75
75
|
*/
|
|
76
|
-
override var navigationBar: ScopedProperty<EditorScope, EditorComponent
|
|
76
|
+
override var navigationBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
77
77
|
rememberNavigationBar()
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -82,7 +82,7 @@ class ApparelConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
82
82
|
* bottom of the editor when a design block is selected.
|
|
83
83
|
* Check parent class declaration for more details.
|
|
84
84
|
*/
|
|
85
|
-
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent
|
|
85
|
+
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
86
86
|
rememberInspectorBar()
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -91,7 +91,7 @@ class ApparelConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
91
91
|
* the selected design block.
|
|
92
92
|
* Check parent class declaration for more details.
|
|
93
93
|
*/
|
|
94
|
-
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent
|
|
94
|
+
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
95
95
|
rememberCanvasMenu()
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -100,7 +100,7 @@ class ApparelConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
100
100
|
* overlay.
|
|
101
101
|
* Check parent class declaration for more details.
|
|
102
102
|
*/
|
|
103
|
-
override var overlay: ScopedProperty<EditorScope, EditorComponent
|
|
103
|
+
override var overlay: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
104
104
|
rememberOverlay()
|
|
105
105
|
}
|
|
106
106
|
|
package/android/src/main/kotlin/ly/img/editor/configuration/design/DesignConfigurationBuilder.kt
CHANGED
|
@@ -65,7 +65,7 @@ class DesignConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
65
65
|
* The configuration of the component that is displayed as horizontal list of items at the bottom of the editor.
|
|
66
66
|
* Check parent class declaration for more details.
|
|
67
67
|
*/
|
|
68
|
-
override var dock: ScopedProperty<EditorScope, EditorComponent
|
|
68
|
+
override var dock: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
69
69
|
rememberDock()
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -73,7 +73,7 @@ class DesignConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
73
73
|
* The configuration of the component that is displayed as horizontal list of items at the top of the editor.
|
|
74
74
|
* Check parent class declaration for more details.
|
|
75
75
|
*/
|
|
76
|
-
override var navigationBar: ScopedProperty<EditorScope, EditorComponent
|
|
76
|
+
override var navigationBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
77
77
|
rememberNavigationBar()
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -82,7 +82,7 @@ class DesignConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
82
82
|
* bottom of the editor when a design block is selected.
|
|
83
83
|
* Check parent class declaration for more details.
|
|
84
84
|
*/
|
|
85
|
-
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent
|
|
85
|
+
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
86
86
|
rememberInspectorBar()
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -91,7 +91,7 @@ class DesignConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
91
91
|
* the selected design block.
|
|
92
92
|
* Check parent class declaration for more details.
|
|
93
93
|
*/
|
|
94
|
-
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent
|
|
94
|
+
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
95
95
|
rememberCanvasMenu()
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -100,7 +100,7 @@ class DesignConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
100
100
|
* overlay.
|
|
101
101
|
* Check parent class declaration for more details.
|
|
102
102
|
*/
|
|
103
|
-
override var overlay: ScopedProperty<EditorScope, EditorComponent
|
|
103
|
+
override var overlay: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
104
104
|
rememberOverlay()
|
|
105
105
|
}
|
|
106
106
|
}
|
package/android/src/main/kotlin/ly/img/editor/configuration/photo/PhotoConfigurationBuilder.kt
CHANGED
|
@@ -65,7 +65,7 @@ class PhotoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
65
65
|
* The configuration of the component that is displayed as horizontal list of items at the bottom of the editor.
|
|
66
66
|
* Check parent class declaration for more details.
|
|
67
67
|
*/
|
|
68
|
-
override var dock: ScopedProperty<EditorScope, EditorComponent
|
|
68
|
+
override var dock: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
69
69
|
rememberDock()
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -73,7 +73,7 @@ class PhotoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
73
73
|
* The configuration of the component that is displayed as horizontal list of items at the top of the editor.
|
|
74
74
|
* Check parent class declaration for more details.
|
|
75
75
|
*/
|
|
76
|
-
override var navigationBar: ScopedProperty<EditorScope, EditorComponent
|
|
76
|
+
override var navigationBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
77
77
|
rememberNavigationBar()
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -82,7 +82,7 @@ class PhotoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
82
82
|
* bottom of the editor when a design block is selected.
|
|
83
83
|
* Check parent class declaration for more details.
|
|
84
84
|
*/
|
|
85
|
-
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent
|
|
85
|
+
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
86
86
|
rememberInspectorBar()
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -91,7 +91,7 @@ class PhotoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
91
91
|
* the selected design block.
|
|
92
92
|
* Check parent class declaration for more details.
|
|
93
93
|
*/
|
|
94
|
-
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent
|
|
94
|
+
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
95
95
|
rememberCanvasMenu()
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -100,7 +100,7 @@ class PhotoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
100
100
|
* overlay.
|
|
101
101
|
* Check parent class declaration for more details.
|
|
102
102
|
*/
|
|
103
|
-
override var overlay: ScopedProperty<EditorScope, EditorComponent
|
|
103
|
+
override var overlay: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
104
104
|
rememberOverlay()
|
|
105
105
|
}
|
|
106
106
|
}
|
package/android/src/main/kotlin/ly/img/editor/configuration/postcard/PostcardConfigurationBuilder.kt
CHANGED
|
@@ -65,7 +65,7 @@ class PostcardConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
65
65
|
* The configuration of the component that is displayed as horizontal list of items at the bottom of the editor.
|
|
66
66
|
* Check parent class declaration for more details.
|
|
67
67
|
*/
|
|
68
|
-
override var dock: ScopedProperty<EditorScope, EditorComponent
|
|
68
|
+
override var dock: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
69
69
|
rememberDock()
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -73,7 +73,7 @@ class PostcardConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
73
73
|
* The configuration of the component that is displayed as horizontal list of items at the top of the editor.
|
|
74
74
|
* Check parent class declaration for more details.
|
|
75
75
|
*/
|
|
76
|
-
override var navigationBar: ScopedProperty<EditorScope, EditorComponent
|
|
76
|
+
override var navigationBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
77
77
|
rememberNavigationBar()
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -82,7 +82,7 @@ class PostcardConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
82
82
|
* bottom of the editor when a design block is selected.
|
|
83
83
|
* Check parent class declaration for more details.
|
|
84
84
|
*/
|
|
85
|
-
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent
|
|
85
|
+
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
86
86
|
rememberInspectorBar()
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -91,7 +91,7 @@ class PostcardConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
91
91
|
* the selected design block.
|
|
92
92
|
* Check parent class declaration for more details.
|
|
93
93
|
*/
|
|
94
|
-
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent
|
|
94
|
+
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
95
95
|
rememberCanvasMenu()
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -100,7 +100,7 @@ class PostcardConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
100
100
|
* overlay.
|
|
101
101
|
* Check parent class declaration for more details.
|
|
102
102
|
*/
|
|
103
|
-
override var overlay: ScopedProperty<EditorScope, EditorComponent
|
|
103
|
+
override var overlay: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
104
104
|
rememberOverlay()
|
|
105
105
|
}
|
|
106
106
|
}
|
package/android/src/main/kotlin/ly/img/editor/configuration/video/VideoConfigurationBuilder.kt
CHANGED
|
@@ -85,7 +85,7 @@ class VideoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
85
85
|
* The configuration of the component that is displayed as horizontal list of items at the bottom of the editor.
|
|
86
86
|
* Check parent class declaration for more details.
|
|
87
87
|
*/
|
|
88
|
-
override var dock: ScopedProperty<EditorScope, EditorComponent
|
|
88
|
+
override var dock: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
89
89
|
rememberDock()
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -93,7 +93,7 @@ class VideoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
93
93
|
* The configuration of the component that is displayed as horizontal list of items at the top of the editor.
|
|
94
94
|
* Check parent class declaration for more details.
|
|
95
95
|
*/
|
|
96
|
-
override var navigationBar: ScopedProperty<EditorScope, EditorComponent
|
|
96
|
+
override var navigationBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
97
97
|
rememberNavigationBar()
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -102,7 +102,7 @@ class VideoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
102
102
|
* bottom of the editor when a design block is selected.
|
|
103
103
|
* Check parent class declaration for more details.
|
|
104
104
|
*/
|
|
105
|
-
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent
|
|
105
|
+
override var inspectorBar: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
106
106
|
rememberInspectorBar()
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -111,7 +111,7 @@ class VideoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
111
111
|
* the selected design block.
|
|
112
112
|
* Check parent class declaration for more details.
|
|
113
113
|
*/
|
|
114
|
-
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent
|
|
114
|
+
override var canvasMenu: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
115
115
|
rememberCanvasMenu()
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -120,7 +120,7 @@ class VideoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
120
120
|
* overlay.
|
|
121
121
|
* Check parent class declaration for more details.
|
|
122
122
|
*/
|
|
123
|
-
override var bottomPanel: ScopedProperty<EditorScope, EditorComponent
|
|
123
|
+
override var bottomPanel: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
124
124
|
rememberBottomPanel()
|
|
125
125
|
}
|
|
126
126
|
|
|
@@ -129,7 +129,7 @@ class VideoConfigurationBuilder : BasicConfigurationBuilder() {
|
|
|
129
129
|
* overlay.
|
|
130
130
|
* Check parent class declaration for more details.
|
|
131
131
|
*/
|
|
132
|
-
override var overlay: ScopedProperty<EditorScope, EditorComponent
|
|
132
|
+
override var overlay: ScopedProperty<EditorScope, EditorComponent<*>?>? = {
|
|
133
133
|
rememberOverlay()
|
|
134
134
|
}
|
|
135
135
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imgly/editor-react-native",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.75.1",
|
|
4
4
|
"description": "CreativeEditor SDK for React Native - enable photo, video and design editing for your users on iOS and Android.",
|
|
5
5
|
"react-native": "index.js",
|
|
6
6
|
"source": "index.js",
|
package/src/NativeIMGLYEditor.ts
CHANGED
|
@@ -96,7 +96,7 @@ export class EditorSettingsModel implements EditorSettings {
|
|
|
96
96
|
* sources (stickers, filters, and more).
|
|
97
97
|
*/
|
|
98
98
|
baseUri: string =
|
|
99
|
-
'https://cdn.img.ly/packages/imgly/cesdk-react-native/1.
|
|
99
|
+
'https://cdn.img.ly/packages/imgly/cesdk-react-native/1.75.1/assets';
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* Unique ID tied to your application's user.
|