@momo-kits/native-kits 0.162.9-debug → 0.162.10-debug

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.
@@ -40,7 +40,7 @@ kotlin {
40
40
  }
41
41
 
42
42
  cocoapods {
43
- version = "0.162.9-debug"
43
+ version = "0.162.10-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -95,11 +95,13 @@ private fun getStyle(size: Size): TextStyle {
95
95
  return styleCache[size] ?: Typography.actionDefaultBold
96
96
  }
97
97
 
98
- private fun getIconSize(size: Size): Dp = iconSizeCache[size] ?: 24.dp
98
+ @InternalApi
99
+ fun getIconSize(size: Size): Dp = iconSizeCache[size] ?: 24.dp
99
100
  private fun getIconSpace(size: Size): Dp = iconSpaceCache[size] ?: Spacing.S
100
101
 
102
+ @InternalApi
101
103
  @Composable
102
- internal fun getTextColor(loading: Boolean, type: ButtonType): Color {
104
+ fun getTextColor(loading: Boolean, type: ButtonType): Color {
103
105
  val theme = AppTheme.current
104
106
 
105
107
  return remember(type, theme, loading) {
@@ -183,8 +185,9 @@ private fun shouldLoadingOnLeft(iconLeft: String, iconRight: String): Boolean {
183
185
  }
184
186
  }
185
187
 
188
+ @InternalApi
186
189
  @Composable
187
- internal fun getTypeStyle(
190
+ fun getTypeStyle(
188
191
  type: ButtonType,
189
192
  color: Color? = AppTheme.current.colors.primary,
190
193
  size: Size,
@@ -219,8 +222,9 @@ internal fun getTypeStyle(
219
222
  }
220
223
  }
221
224
 
225
+ @InternalApi
222
226
  @Composable
223
- internal fun getButtonBackgroundColor(
227
+ fun getButtonBackgroundColor(
224
228
  loading: Boolean,
225
229
  type: ButtonType
226
230
  ): Color {
@@ -23,7 +23,7 @@ fun NavigationContainer(
23
23
  options: NavigationOptions? = null,
24
24
  initialTheme: Theme = defaultTheme,
25
25
  miniAppContext: MiniAppContext? = null,
26
- maxApi: IMaxApi?,
26
+ maxApi: IMaxApi? = null,
27
27
  setNavigator: ((Navigator) -> Unit)? = null,
28
28
  statusBarHeight: Dp? = null,
29
29
  localize: Localize? = null,
package/gradle.properties CHANGED
@@ -18,7 +18,7 @@ kotlin.apple.xcodeCompatibility.nowarn=true
18
18
  name="ComposeKits"
19
19
  group=vn.momo.kits
20
20
  artifact.id=kits
21
- version=0.162.9
21
+ version=0.162.10
22
22
 
23
23
  repo=GitLab
24
24
  url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.162.9-debug",
3
+ "version": "0.162.10-debug",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},