@triniwiz/nativescript-masonkit 1.0.0-alpha.2 → 1.0.0-alpha.5

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 (28) hide show
  1. package/helpers.js +2 -2
  2. package/helpers.js.map +1 -1
  3. package/index.ios.js +54 -6
  4. package/index.ios.js.map +1 -1
  5. package/package.json +1 -1
  6. package/platforms/android/masonkit-release.aar +0 -0
  7. package/platforms/ios/Mason.xcframework/Info.plist +5 -5
  8. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +3 -0
  9. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
  10. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  11. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  12. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +181 -76
  13. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +5 -0
  14. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +5 -0
  15. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  16. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +6 -0
  17. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
  18. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  19. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  20. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  21. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +181 -76
  22. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +5 -0
  23. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +5 -0
  24. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +181 -76
  25. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +5 -0
  26. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +5 -0
  27. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +34 -34
  28. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
@@ -145,6 +145,7 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
145
145
  @objc public func rootComputeMaxContent()
146
146
  @objc public func rootComputeMinContent()
147
147
  @objc public func rootComputeWithViewSize()
148
+ @objc public func rootComputeWithViewSize(layout: Swift.Bool)
148
149
  @objc public func rootComputeWithMaxContent()
149
150
  @objc public func compute()
150
151
  @objc public func compute(_ width: Swift.Float, _ height: Swift.Float)
@@ -152,6 +153,7 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
152
153
  @objc public func computeMinContent()
153
154
  @objc public func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
154
155
  @objc public func computeWithViewSize()
156
+ @objc public func computeWithViewSize(layout: Swift.Bool)
155
157
  @objc public func computeWithMaxContent()
156
158
  @objc public func computeWithMinContent()
157
159
  @objc public func attachAndApply()
@@ -983,6 +985,9 @@ public enum GridPlacement : Swift.Codable {
983
985
  @objc deinit
984
986
  }
985
987
  extension UIKit.UIView {
988
+ @objc @_Concurrency.MainActor(unsafe) dynamic public var rootView: UIKit.UIView? {
989
+ @objc get
990
+ }
986
991
  @objc @_Concurrency.MainActor(unsafe) public static func createGridView() -> UIKit.UIView
987
992
  @objc @_Concurrency.MainActor(unsafe) public static func createFlexView() -> UIKit.UIView
988
993
  @objc @_Concurrency.MainActor(unsafe) dynamic public var mason: Mason.MasonNode {
@@ -145,6 +145,7 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
145
145
  @objc public func rootComputeMaxContent()
146
146
  @objc public func rootComputeMinContent()
147
147
  @objc public func rootComputeWithViewSize()
148
+ @objc public func rootComputeWithViewSize(layout: Swift.Bool)
148
149
  @objc public func rootComputeWithMaxContent()
149
150
  @objc public func compute()
150
151
  @objc public func compute(_ width: Swift.Float, _ height: Swift.Float)
@@ -152,6 +153,7 @@ public let MasonLengthPercentageSizeZero: Mason.MasonSize<Mason.MasonLengthPerce
152
153
  @objc public func computeMinContent()
153
154
  @objc public func computeWithSize(_ width: Swift.Float, _ height: Swift.Float)
154
155
  @objc public func computeWithViewSize()
156
+ @objc public func computeWithViewSize(layout: Swift.Bool)
155
157
  @objc public func computeWithMaxContent()
156
158
  @objc public func computeWithMinContent()
157
159
  @objc public func attachAndApply()
@@ -983,6 +985,9 @@ public enum GridPlacement : Swift.Codable {
983
985
  @objc deinit
984
986
  }
985
987
  extension UIKit.UIView {
988
+ @objc @_Concurrency.MainActor(unsafe) dynamic public var rootView: UIKit.UIView? {
989
+ @objc get
990
+ }
986
991
  @objc @_Concurrency.MainActor(unsafe) public static func createGridView() -> UIKit.UIView
987
992
  @objc @_Concurrency.MainActor(unsafe) public static func createFlexView() -> UIKit.UIView
988
993
  @objc @_Concurrency.MainActor(unsafe) dynamic public var mason: Mason.MasonNode {
@@ -573,6 +573,7 @@ SWIFT_CLASS_NAMED("MasonNode")
573
573
  - (void)rootComputeMaxContent;
574
574
  - (void)rootComputeMinContent;
575
575
  - (void)rootComputeWithViewSize;
576
+ - (void)rootComputeWithViewSizeWithLayout:(BOOL)layout;
576
577
  - (void)rootComputeWithMaxContent;
577
578
  - (void)compute;
578
579
  - (void)compute:(float)width :(float)height;
@@ -580,6 +581,7 @@ SWIFT_CLASS_NAMED("MasonNode")
580
581
  - (void)computeMinContent;
581
582
  - (void)computeWithSize:(float)width :(float)height;
582
583
  - (void)computeWithViewSize;
584
+ - (void)computeWithViewSizeWithLayout:(BOOL)layout;
583
585
  - (void)computeWithMaxContent;
584
586
  - (void)computeWithMinContent;
585
587
  - (void)attachAndApply;
@@ -901,6 +903,7 @@ SWIFT_CLASS_NAMED("TrackSizingFunction")
901
903
 
902
904
 
903
905
  @interface UIView (SWIFT_EXTENSION(Mason))
906
+ @property (nonatomic, readonly, strong) UIView * _Nullable rootView;
904
907
  + (UIView * _Nonnull)createGridView SWIFT_WARN_UNUSED_RESULT;
905
908
  + (UIView * _Nonnull)createFlexView SWIFT_WARN_UNUSED_RESULT;
906
909
  @property (nonatomic, readonly, strong) MasonNode * _Nonnull mason;
@@ -1591,6 +1594,7 @@ SWIFT_CLASS_NAMED("MasonNode")
1591
1594
  - (void)rootComputeMaxContent;
1592
1595
  - (void)rootComputeMinContent;
1593
1596
  - (void)rootComputeWithViewSize;
1597
+ - (void)rootComputeWithViewSizeWithLayout:(BOOL)layout;
1594
1598
  - (void)rootComputeWithMaxContent;
1595
1599
  - (void)compute;
1596
1600
  - (void)compute:(float)width :(float)height;
@@ -1598,6 +1602,7 @@ SWIFT_CLASS_NAMED("MasonNode")
1598
1602
  - (void)computeMinContent;
1599
1603
  - (void)computeWithSize:(float)width :(float)height;
1600
1604
  - (void)computeWithViewSize;
1605
+ - (void)computeWithViewSizeWithLayout:(BOOL)layout;
1601
1606
  - (void)computeWithMaxContent;
1602
1607
  - (void)computeWithMinContent;
1603
1608
  - (void)attachAndApply;
@@ -1919,6 +1924,7 @@ SWIFT_CLASS_NAMED("TrackSizingFunction")
1919
1924
 
1920
1925
 
1921
1926
  @interface UIView (SWIFT_EXTENSION(Mason))
1927
+ @property (nonatomic, readonly, strong) UIView * _Nullable rootView;
1922
1928
  + (UIView * _Nonnull)createGridView SWIFT_WARN_UNUSED_RESULT;
1923
1929
  + (UIView * _Nonnull)createFlexView SWIFT_WARN_UNUSED_RESULT;
1924
1930
  @property (nonatomic, readonly, strong) MasonNode * _Nonnull mason;