@triniwiz/nativescript-masonkit 1.0.0-alpha.16 → 1.0.0-alpha.18

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.
Files changed (35) hide show
  1. package/common.d.ts +4 -0
  2. package/common.js +39 -15
  3. package/common.js.map +1 -1
  4. package/index.android.d.ts +12 -1
  5. package/index.android.js +41 -2
  6. package/index.android.js.map +1 -1
  7. package/index.d.ts +49 -1
  8. package/index.ios.d.ts +14 -1
  9. package/index.ios.js +83 -2
  10. package/index.ios.js.map +1 -1
  11. package/package.json +1 -1
  12. package/platforms/android/include.gradle +5 -1
  13. package/platforms/android/masonkit-release.aar +0 -0
  14. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +26 -3
  15. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  16. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  17. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +1195 -88
  18. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +33 -0
  19. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +33 -0
  20. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  21. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2416 -2260
  22. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +52 -6
  23. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  24. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  25. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  26. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +1195 -88
  27. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +33 -0
  28. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +33 -0
  29. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +1195 -88
  30. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +33 -0
  31. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +33 -0
  32. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +22 -22
  33. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  34. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +2416 -2260
  35. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +2352 -2198
@@ -144,6 +144,7 @@ public struct Line<T> {
144
144
  @objc public func createView() -> Mason.MasonUIView
145
145
  @objc public func createTextView() -> Mason.MasonText
146
146
  @objc public func createTextView(type: Mason.MasonTextType) -> Mason.MasonText
147
+ @objc public func createImageView() -> Mason.MasonImg
147
148
  @objc public func createNode() -> Mason.MasonNode
148
149
  public func createNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
149
150
  @objc public func printTree(_ node: Mason.MasonNode)
@@ -335,6 +336,10 @@ extension UIKit.UIColor {
335
336
  @objc @_Concurrency.MainActor @preconcurrency public func updateText(_ value: Swift.String?)
336
337
  @objc @_Concurrency.MainActor @preconcurrency public var txtToRender: Foundation.NSMutableAttributedString
337
338
  @objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
339
+ @_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
340
+ get
341
+ set
342
+ }
338
343
  @objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
339
344
  @objc get
340
345
  @objc set
@@ -871,6 +876,25 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
871
876
  }
872
877
  @objc deinit
873
878
  }
879
+ @_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class MasonImg : UIKit.UIImageView, Mason.MasonView {
880
+ @objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
881
+ @objc get
882
+ }
883
+ @objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
884
+ @objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
885
+ @objc @_Concurrency.MainActor @preconcurrency public func configure(_ block: (Mason.MasonNode) -> Swift.Void)
886
+ @objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
887
+ @objc get
888
+ }
889
+ @objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
890
+ @objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
891
+ @objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
892
+ @objc get
893
+ @objc set
894
+ }
895
+ @objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
896
+ @objc deinit
897
+ }
874
898
  @objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
875
899
  case Auto
876
900
  case Points
@@ -1232,6 +1256,7 @@ public enum GridPlacement : Swift.Codable {
1232
1256
  case Pre
1233
1257
  case PreWrap
1234
1258
  case PreLine
1259
+ case Nowrap
1235
1260
  public typealias RawValue = Swift.Int32
1236
1261
  public var rawValue: Mason.WhiteSpace.RawValue {
1237
1262
  get
@@ -1255,6 +1280,14 @@ public enum GridPlacement : Swift.Codable {
1255
1280
  get
1256
1281
  }
1257
1282
  }
1283
+ public enum TextOverflow : Swift.CustomStringConvertible {
1284
+ case Clip
1285
+ case Ellipse(Swift.String?)
1286
+ case Custom(Swift.String)
1287
+ public var description: Swift.String {
1288
+ get
1289
+ }
1290
+ }
1258
1291
  public protocol MasonView {
1259
1292
  var style: Mason.MasonStyle { get }
1260
1293
  var node: Mason.MasonNode { get }
@@ -144,6 +144,7 @@ public struct Line<T> {
144
144
  @objc public func createView() -> Mason.MasonUIView
145
145
  @objc public func createTextView() -> Mason.MasonText
146
146
  @objc public func createTextView(type: Mason.MasonTextType) -> Mason.MasonText
147
+ @objc public func createImageView() -> Mason.MasonImg
147
148
  @objc public func createNode() -> Mason.MasonNode
148
149
  public func createNode(measure: @escaping Mason.MasonNode.MeasureFunc) -> Mason.MasonNode
149
150
  @objc public func printTree(_ node: Mason.MasonNode)
@@ -335,6 +336,10 @@ extension UIKit.UIColor {
335
336
  @objc @_Concurrency.MainActor @preconcurrency public func updateText(_ value: Swift.String?)
336
337
  @objc @_Concurrency.MainActor @preconcurrency public var txtToRender: Foundation.NSMutableAttributedString
337
338
  @objc @_Concurrency.MainActor @preconcurrency public func invalidateStyle(_ state: Swift.Int64)
339
+ @_Concurrency.MainActor @preconcurrency public var textOverflow: Mason.TextOverflow {
340
+ get
341
+ set
342
+ }
338
343
  @objc @_Concurrency.MainActor @preconcurrency public var textTransform: Mason.TextTransform {
339
344
  @objc get
340
345
  @objc set
@@ -871,6 +876,25 @@ public let MasonLengthPercentageRectZero: Mason.MasonRect<Mason.MasonLengthPerce
871
876
  }
872
877
  @objc deinit
873
878
  }
879
+ @_hasMissingDesignatedInitializers @objcMembers @objc(MasonImg) @_Concurrency.MainActor @preconcurrency public class MasonImg : UIKit.UIImageView, Mason.MasonView {
880
+ @objc @_Concurrency.MainActor @preconcurrency public var style: Mason.MasonStyle {
881
+ @objc get
882
+ }
883
+ @objc @_Concurrency.MainActor @preconcurrency public func markNodeDirty()
884
+ @objc @_Concurrency.MainActor @preconcurrency public func isNodeDirty() -> Swift.Bool
885
+ @objc @_Concurrency.MainActor @preconcurrency public func configure(_ block: (Mason.MasonNode) -> Swift.Void)
886
+ @objc @_Concurrency.MainActor @preconcurrency public var uiView: UIKit.UIView {
887
+ @objc get
888
+ }
889
+ @objc @_Concurrency.MainActor @preconcurrency final public let node: Mason.MasonNode
890
+ @objc @_Concurrency.MainActor @preconcurrency final public let mason: Mason.NSCMason
891
+ @objc @_Concurrency.MainActor @preconcurrency public var src: Swift.String? {
892
+ @objc get
893
+ @objc set
894
+ }
895
+ @objc @_Concurrency.MainActor @preconcurrency public func syncStyle(_ state: Swift.String)
896
+ @objc deinit
897
+ }
874
898
  @objc(MasonDimensionCompatType) public enum MasonDimensionCompatType : Swift.Int, Swift.RawRepresentable, Swift.Codable {
875
899
  case Auto
876
900
  case Points
@@ -1232,6 +1256,7 @@ public enum GridPlacement : Swift.Codable {
1232
1256
  case Pre
1233
1257
  case PreWrap
1234
1258
  case PreLine
1259
+ case Nowrap
1235
1260
  public typealias RawValue = Swift.Int32
1236
1261
  public var rawValue: Mason.WhiteSpace.RawValue {
1237
1262
  get
@@ -1255,6 +1280,14 @@ public enum GridPlacement : Swift.Codable {
1255
1280
  get
1256
1281
  }
1257
1282
  }
1283
+ public enum TextOverflow : Swift.CustomStringConvertible {
1284
+ case Clip
1285
+ case Ellipse(Swift.String?)
1286
+ case Custom(Swift.String)
1287
+ public var description: Swift.String {
1288
+ get
1289
+ }
1290
+ }
1258
1291
  public protocol MasonView {
1259
1292
  var style: Mason.MasonStyle { get }
1260
1293
  var node: Mason.MasonNode { get }