@momo-kits/native-kits 0.112.1-rc.1 → 0.113.1-beta.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.
@@ -122,7 +122,7 @@ fun PopupNotify(
122
122
  text = error,
123
123
  style = Typography.descriptionXs,
124
124
  color = AppTheme.current.colors.text.hint,
125
- maxLines = 1,
125
+ maxLines = 2,
126
126
  modifier = Modifier.padding(top = Spacing.S)
127
127
  )
128
128
  }
@@ -98,9 +98,8 @@ private extension View {
98
98
  case .secondary:
99
99
  return AnyView(self
100
100
  .background(Colors.card)
101
- .foregroundColor(Colors.text)
101
+ .foregroundColor(Colors.primary)
102
102
  .cornerRadius(8)
103
- .overlay(RoundedRectangle(cornerRadius: Radius.S).stroke(Colors.black06, lineWidth: 1))
104
103
  .padding(2)
105
104
  )
106
105
  case .outline:
@@ -43,6 +43,7 @@ public struct PopupDisplay: View {
43
43
  Image(systemName: "xmark.circle.fill")
44
44
  .resizable()
45
45
  .frame(width: 16, height: 16)
46
+ .overlay(RoundedRectangle(cornerRadius: Radius.S).stroke(Colors.black01, lineWidth: 1))
46
47
  }.foregroundColor(Colors.black20)
47
48
  .background(Colors.black01.cornerRadius(8))
48
49
  .offset(x: 6, y: -6)
@@ -52,15 +53,17 @@ public struct PopupDisplay: View {
52
53
  WebImage(url: URL(string: url), isAnimating: .constant(true))
53
54
  .resizable()
54
55
  .scaledToFill()
55
- .frame(maxWidth: .infinity, maxHeight: 164)
56
+ .frame(maxWidth: .infinity)
56
57
  .clipShape(RoundedCorner(radius: 8, corners: [.topLeft, .topRight]))
58
+ .aspectRatio(2, contentMode: .fit)
57
59
 
58
60
  VStack(alignment: .leading) {
59
61
  Text(title)
60
62
  .foregroundColor(.black)
61
- .font(.headerText1)
62
- .padding(.top, 12)
63
- .padding(.bottom, 24)
63
+ .font(.title3)
64
+ .padding(.top, 16)
65
+ .padding(.bottom, 8)
66
+ .lineLimit(2)
64
67
 
65
68
  Text(description)
66
69
  .foregroundColor(.black)
@@ -87,10 +90,8 @@ public struct PopupDisplay: View {
87
90
  }.clipped()
88
91
  }
89
92
  }
90
- .background(Color.white.cornerRadius(8))
91
- .shadow(color: .black.opacity(0.08), radius: 2, x: 0, y: 0)
92
- .shadow(color: .black.opacity(0.16), radius: 24, x: 0, y: 0)
93
- .padding(.horizontal, 40)
93
+ .background(Color.white.cornerRadius(15))
94
+ .padding(.horizontal, 24)
94
95
  }
95
96
 
96
97
  // MARK: Internal
package/local.properties CHANGED
@@ -4,5 +4,5 @@
4
4
  # Location of the SDK. This is only used by Gradle.
5
5
  # For customization when using a Version Control System, please read the
6
6
  # header note.
7
- #Wed Aug 21 14:20:12 ICT 2024
8
- sdk.dir=/Users/huynhdung/Library/Android/sdk
7
+ #Thu Jan 09 10:43:10 ICT 2025
8
+ sdk.dir=/Users/sophia/Library/Android/sdk
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.112.1-rc.1",
3
+ "version": "0.113.1-beta.1",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},