diff --git a/packages/types-android/package.json b/packages/types-android/package.json index bc2d9dfc1..1d19fd281 100644 --- a/packages/types-android/package.json +++ b/packages/types-android/package.json @@ -1,6 +1,6 @@ { "name": "@nativescript/types-android", - "version": "8.4.0", + "version": "8.5.0", "description": "NativeScript Types for Android.", "homepage": "https://nativescript.org", "repository": { diff --git a/packages/types-ios/package.json b/packages/types-ios/package.json index 423f7cba8..be8d504a5 100644 --- a/packages/types-ios/package.json +++ b/packages/types-ios/package.json @@ -1,6 +1,6 @@ { "name": "@nativescript/types-ios", - "version": "8.4.0", + "version": "8.5.0", "description": "NativeScript Types for iOS.", "homepage": "https://nativescript.org", "repository": { diff --git a/packages/types-ios/src/lib/ios/ios.d.ts b/packages/types-ios/src/lib/ios/ios.d.ts index 00bf95b8d..2f8d28902 100644 --- a/packages/types-ios/src/lib/ios/ios.d.ts +++ b/packages/types-ios/src/lib/ios/ios.d.ts @@ -120,7 +120,6 @@ /// /// /// -/// /// /// /// diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!GameKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!GameKit.d.ts index 253077334..c5b01f6b9 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!GameKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!GameKit.d.ts @@ -1067,7 +1067,11 @@ declare class GKMatchmaker extends NSObject { startBrowsingForNearbyPlayersWithReachableHandler(reachableHandler: (p1: string, p2: boolean) => void): void; + startGroupActivityWithPlayerHandler(handler: (p1: GKPlayer) => void): void; + stopBrowsingForNearbyPlayers(): void; + + stopGroupActivity(): void; } declare class GKMatchmakerViewController extends UINavigationController { diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Intents.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Intents.d.ts index 7a2bcd9d1..3776ef5dc 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Intents.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Intents.d.ts @@ -499,6 +499,62 @@ declare const enum INAmountType { StatementBalance = 6 } +declare class INAnswerCallIntent extends INIntent { + + static alloc(): INAnswerCallIntent; // inherited from NSObject + + static new(): INAnswerCallIntent; // inherited from NSObject + + constructor(o: { audioRoute: INCallAudioRoute; callIdentifier: string; }); + + initWithAudioRouteCallIdentifier(audioRoute: INCallAudioRoute, callIdentifier: string): this; +} + +interface INAnswerCallIntentHandling extends NSObjectProtocol { + + confirmAnswerCallCompletion?(intent: INAnswerCallIntent, completion: (p1: INAnswerCallIntentResponse) => void): void; + + handleAnswerCallCompletion(intent: INAnswerCallIntent, completion: (p1: INAnswerCallIntentResponse) => void): void; +} +declare var INAnswerCallIntentHandling: { + + prototype: INAnswerCallIntentHandling; +}; + +declare var INAnswerCallIntentIdentifier: string; + +declare class INAnswerCallIntentResponse extends INIntentResponse { + + static alloc(): INAnswerCallIntentResponse; // inherited from NSObject + + static new(): INAnswerCallIntentResponse; // inherited from NSObject + + callRecords: NSArray; + + readonly code: INAnswerCallIntentResponseCode; + + constructor(o: { code: INAnswerCallIntentResponseCode; userActivity: NSUserActivity; }); + + initWithCodeUserActivity(code: INAnswerCallIntentResponseCode, userActivity: NSUserActivity): this; +} + +declare const enum INAnswerCallIntentResponseCode { + + Unspecified = 0, + + Ready = 1, + + ContinueInApp = 2, + + InProgress = 3, + + Success = 4, + + Failure = 5, + + FailureRequiringAppLaunch = 6 +} + declare class INAppendToNoteIntent extends INIntent { static alloc(): INAppendToNoteIntent; // inherited from NSObject @@ -3150,6 +3206,60 @@ declare const enum INGetVisualCodeIntentResponseCode { FailureAppConfigurationRequired = 7 } +declare class INHangUpCallIntent extends INIntent { + + static alloc(): INHangUpCallIntent; // inherited from NSObject + + static new(): INHangUpCallIntent; // inherited from NSObject + + constructor(o: { callIdentifier: string; }); + + initWithCallIdentifier(callIdentifier: string): this; +} + +interface INHangUpCallIntentHandling extends NSObjectProtocol { + + confirmHangUpCallCompletion?(intent: INHangUpCallIntent, completion: (p1: INHangUpCallIntentResponse) => void): void; + + handleHangUpCallCompletion(intent: INHangUpCallIntent, completion: (p1: INHangUpCallIntentResponse) => void): void; +} +declare var INHangUpCallIntentHandling: { + + prototype: INHangUpCallIntentHandling; +}; + +declare var INHangUpCallIntentIdentifier: string; + +declare class INHangUpCallIntentResponse extends INIntentResponse { + + static alloc(): INHangUpCallIntentResponse; // inherited from NSObject + + static new(): INHangUpCallIntentResponse; // inherited from NSObject + + readonly code: INHangUpCallIntentResponseCode; + + constructor(o: { code: INHangUpCallIntentResponseCode; userActivity: NSUserActivity; }); + + initWithCodeUserActivity(code: INHangUpCallIntentResponseCode, userActivity: NSUserActivity): this; +} + +declare const enum INHangUpCallIntentResponseCode { + + Unspecified = 0, + + Ready = 1, + + InProgress = 2, + + Success = 3, + + Failure = 4, + + FailureRequiringAppLaunch = 5, + + FailureNoCallToHangUp = 6 +} + declare class INImage extends NSObject implements NSCopying, NSSecureCoding { static alloc(): INImage; // inherited from NSObject diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts index 65b52378c..e088e44fb 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts @@ -7250,6 +7250,8 @@ declare class MTRBaseClusterTestCluster extends MTRCluster { static readAttributeVendorIdWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: number, queue: NSObject, completionHandler: (p1: number, p2: NSError) => void): void; + static readAttributeWriteOnlyInt8uWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: number, queue: NSObject, completionHandler: (p1: number, p2: NSError) => void): void; + constructor(o: { device: MTRBaseDevice; endpoint: number; queue: NSObject; }); initWithDeviceEndpointQueue(device: MTRBaseDevice, endpoint: number, queue: NSObject): this; @@ -7426,6 +7428,8 @@ declare class MTRBaseClusterTestCluster extends MTRCluster { readAttributeVendorIdWithCompletionHandler(completionHandler: (p1: number, p2: NSError) => void): void; + readAttributeWriteOnlyInt8uWithCompletionHandler(completionHandler: (p1: number, p2: NSError) => void): void; + simpleStructEchoRequestWithParamsCompletionHandler(params: MTRTestClusterClusterSimpleStructEchoRequestParams, completionHandler: (p1: MTRTestClusterClusterSimpleStructResponseParams, p2: NSError) => void): void; subscribeAttributeAcceptedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: number, maxInterval: number, params: MTRSubscribeParams, subscriptionEstablishedHandler: () => void, reportHandler: (p1: NSArray, p2: NSError) => void): void; @@ -7600,6 +7604,8 @@ declare class MTRBaseClusterTestCluster extends MTRCluster { subscribeAttributeVendorIdWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: number, maxInterval: number, params: MTRSubscribeParams, subscriptionEstablishedHandler: () => void, reportHandler: (p1: number, p2: NSError) => void): void; + subscribeAttributeWriteOnlyInt8uWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: number, maxInterval: number, params: MTRSubscribeParams, subscriptionEstablishedHandler: () => void, reportHandler: (p1: number, p2: NSError) => void): void; + testAddArgumentsWithParamsCompletionHandler(params: MTRTestClusterClusterTestAddArgumentsParams, completionHandler: (p1: MTRTestClusterClusterTestAddArgumentsResponseParams, p2: NSError) => void): void; testComplexNullableOptionalRequestWithParamsCompletionHandler(params: MTRTestClusterClusterTestComplexNullableOptionalRequestParams, completionHandler: (p1: MTRTestClusterClusterTestComplexNullableOptionalResponseParams, p2: NSError) => void): void; @@ -7975,6 +7981,10 @@ declare class MTRBaseClusterTestCluster extends MTRCluster { writeAttributeVendorIdWithValueCompletionHandler(value: number, completionHandler: (p1: NSError) => void): void; writeAttributeVendorIdWithValueParamsCompletionHandler(value: number, params: MTRWriteParams, completionHandler: (p1: NSError) => void): void; + + writeAttributeWriteOnlyInt8uWithValueCompletionHandler(value: number, completionHandler: (p1: NSError) => void): void; + + writeAttributeWriteOnlyInt8uWithValueParamsCompletionHandler(value: number, params: MTRWriteParams, completionHandler: (p1: NSError) => void): void; } declare class MTRBaseClusterThermostat extends MTRCluster { @@ -9470,6 +9480,8 @@ declare class MTRBaseDevice extends NSObject { invokeCommandWithEndpointIdClusterIdCommandIdCommandFieldsTimedInvokeTimeoutClientQueueCompletion(endpointId: number, clusterId: number, commandId: number, commandFields: any, timeoutMs: number, clientQueue: NSObject, completion: (p1: NSArray>, p2: NSError) => void): void; + openCommissioningWindowWithSetupPasscodeDiscriminatorDurationQueueCompletion(setupPasscode: number, discriminator: number, duration: number, queue: NSObject, completion: (p1: MTRSetupPayload, p2: NSError) => void): void; + readAttributeWithEndpointIdClusterIdAttributeIdParamsClientQueueCompletion(endpointId: number, clusterId: number, attributeId: number, params: MTRReadParams, clientQueue: NSObject, completion: (p1: NSArray>, p2: NSError) => void): void; subscribeAttributeWithEndpointIdClusterIdAttributeIdMinIntervalMaxIntervalParamsClientQueueReportHandlerSubscriptionEstablished(endpointId: number, clusterId: number, attributeId: number, minInterval: number, maxInterval: number, params: MTRSubscribeParams, clientQueue: NSObject, reportHandler: (p1: NSArray>, p2: NSError) => void, subscriptionEstablishedHandler: () => void): void; @@ -10154,6 +10166,8 @@ declare const enum MTRClusterAttributeIDType { PulseWidthModulationAttributeClusterRevisionID = 65533, + DescriptorAttributeDeviceTypeListID = 0, + DescriptorAttributeDeviceListID = 0, DescriptorAttributeServerListID = 1, @@ -12228,6 +12242,8 @@ declare const enum MTRClusterAttributeIDType { TestClusterAttributeNullableRangeRestrictedInt16sID = 16425, + TestClusterAttributeWriteOnlyInt8uID = 16426, + TestClusterAttributeGeneratedCommandListID = 65528, TestClusterAttributeAcceptedCommandListID = 65529, @@ -15945,6 +15961,8 @@ declare class MTRClusterTestCluster extends MTRCluster { readAttributeVendorIdWithParams(params: MTRReadParams): NSDictionary; + readAttributeWriteOnlyInt8uWithParams(params: MTRReadParams): NSDictionary; + simpleStructEchoRequestWithParamsExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRTestClusterClusterSimpleStructEchoRequestParams, expectedDataValueDictionaries: NSArray> | NSDictionary[], expectedValueIntervalMs: number, completionHandler: (p1: MTRTestClusterClusterSimpleStructResponseParams, p2: NSError) => void): void; testAddArgumentsWithParamsExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRTestClusterClusterTestAddArgumentsParams, expectedDataValueDictionaries: NSArray> | NSDictionary[], expectedValueIntervalMs: number, completionHandler: (p1: MTRTestClusterClusterTestAddArgumentsResponseParams, p2: NSError) => void): void; @@ -16322,6 +16340,10 @@ declare class MTRClusterTestCluster extends MTRCluster { writeAttributeVendorIdWithValueExpectedValueInterval(dataValueDictionary: NSDictionary, expectedValueIntervalMs: number): void; writeAttributeVendorIdWithValueExpectedValueIntervalParams(dataValueDictionary: NSDictionary, expectedValueIntervalMs: number, params: MTRWriteParams): void; + + writeAttributeWriteOnlyInt8uWithValueExpectedValueInterval(dataValueDictionary: NSDictionary, expectedValueIntervalMs: number): void; + + writeAttributeWriteOnlyInt8uWithValueExpectedValueIntervalParams(dataValueDictionary: NSDictionary, expectedValueIntervalMs: number, params: MTRWriteParams): void; } declare class MTRClusterThermostat extends MTRCluster { @@ -17805,6 +17827,19 @@ declare class MTRDescriptorClusterDeviceType extends NSObject implements NSCopyi copyWithZone(zone: interop.Pointer | interop.Reference): any; } +declare class MTRDescriptorClusterDeviceTypeStruct extends NSObject implements NSCopying { + + static alloc(): MTRDescriptorClusterDeviceTypeStruct; // inherited from NSObject + + static new(): MTRDescriptorClusterDeviceTypeStruct; // inherited from NSObject + + revision: number; + + type: number; + + copyWithZone(zone: interop.Pointer | interop.Reference): any; +} + declare class MTRDevice extends NSObject { static alloc(): MTRDevice; // inherited from NSObject @@ -17817,6 +17852,8 @@ declare class MTRDevice extends NSObject { invokeCommandWithEndpointIDClusterIDCommandIDCommandFieldsExpectedValuesExpectedValueIntervalTimedInvokeTimeoutClientQueueCompletion(endpointID: number, clusterID: number, commandID: number, commandFields: any, expectedValues: NSArray> | NSDictionary[], expectedValueInterval: number, timeout: number, clientQueue: NSObject, completion: (p1: NSArray>, p2: NSError) => void): void; + openCommissioningWindowWithSetupPasscodeDiscriminatorDurationQueueCompletion(setupPasscode: number, discriminator: number, duration: number, queue: NSObject, completion: (p1: MTRSetupPayload, p2: NSError) => void): void; + readAttributeWithEndpointIDClusterIDAttributeIDParams(endpointID: number, clusterID: number, attributeID: number, params: MTRReadParams): NSDictionary; setDelegateQueue(delegate: MTRDeviceDelegate, queue: NSObject): void; @@ -17898,6 +17935,8 @@ declare class MTRDeviceController extends NSObject { setPairingDelegateQueue(delegate: MTRDevicePairingDelegate, queue: NSObject): void; + setupCommissioningSessionWithPayloadNewNodeIDError(payload: MTRSetupPayload, newNodeID: number): boolean; + shutdown(): void; stopDevicePairingError(deviceID: number): boolean; @@ -20875,6 +20914,13 @@ declare class MTRMediaPlaybackClusterStopPlaybackParams extends NSObject impleme copyWithZone(zone: interop.Pointer | interop.Reference): any; } +declare const enum MTRMediaPlaybackFeature { + + AdvancedSeek = 1, + + VariableSpeed = 2 +} + declare const enum MTRMediaPlaybackPlaybackState { Playing = 0, @@ -22729,8 +22775,12 @@ declare class MTRSetupPayload extends NSObject implements NSSecureCoding { static generateRandomPIN(): number; + static generateRandomSetupPasscode(): number; + static new(): MTRSetupPayload; // inherited from NSObject + static setupPayloadWithOnboardingPayloadError(onboardingPayload: string): MTRSetupPayload; + commissioningFlow: MTRCommissioningFlow; discriminator: number; @@ -22753,13 +22803,19 @@ declare class MTRSetupPayload extends NSObject implements NSSecureCoding { constructor(o: { coder: NSCoder; }); // inherited from NSCoding + constructor(o: { setupPasscode: number; discriminator: number; }); + encodeWithCoder(coder: NSCoder): void; getAllOptionalVendorData(): NSArray; initWithCoder(coder: NSCoder): this; + initWithSetupPasscodeDiscriminator(setupPasscode: number, discriminator: number): this; + manualEntryCode(): string; + + qrCodeString(): string; } declare var MTRSignedIntegerValueType: string; @@ -22916,6 +22972,19 @@ declare class MTRSwitchClusterSwitchLatchedEvent extends NSObject implements NSC copyWithZone(zone: interop.Pointer | interop.Reference): any; } +declare const enum MTRSwitchFeature { + + LatchingSwitch = 1, + + MomentarySwitch = 2, + + MomentarySwitchRelease = 4, + + MomentarySwitchLongPress = 8, + + MomentarySwitchMultiPress = 16 +} + declare class MTRTargetNavigatorClusterNavigateTargetParams extends NSObject implements NSCopying { static alloc(): MTRTargetNavigatorClusterNavigateTargetParams; // inherited from NSObject diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!MetalPerformanceShadersGraph.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!MetalPerformanceShadersGraph.d.ts index eda9c58bd..ccb7018fb 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!MetalPerformanceShadersGraph.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!MetalPerformanceShadersGraph.d.ts @@ -481,6 +481,10 @@ declare class MPSGraph extends NSObject { runWithMTLCommandQueueFeedsTargetTensorsTargetOperations(commandQueue: MTLCommandQueue, feeds: NSDictionary, targetTensors: NSArray | MPSGraphTensor[], targetOperations: NSArray | MPSGraphOperation[]): NSDictionary; + sampleGridWithSourceTensorCoordinateTensorLayoutNormalizeCoordinatesRelativeCoordinatesAlignCornersPaddingModeNearestRoundingModeConstantValueName(source: MPSGraphTensor, coordinates: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, normalizeCoordinates: boolean, relativeCoordinates: boolean, alignCorners: boolean, paddingMode: MPSGraphPaddingMode, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, constantValue: number, name: string): MPSGraphTensor; + + sampleGridWithSourceTensorCoordinateTensorLayoutNormalizeCoordinatesRelativeCoordinatesAlignCornersPaddingModeSamplingModeConstantValueName(source: MPSGraphTensor, coordinates: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, normalizeCoordinates: boolean, relativeCoordinates: boolean, alignCorners: boolean, paddingMode: MPSGraphPaddingMode, samplingMode: MPSGraphResizeMode, constantValue: number, name: string): MPSGraphTensor; + scatterAlongAxisTensorWithDataTensorUpdatesTensorIndicesTensorModeName(axisTensor: MPSGraphTensor, dataTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, mode: MPSGraphScatterMode, name: string): MPSGraphTensor; scatterAlongAxisTensorWithUpdatesTensorIndicesTensorShapeModeName(axisTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: NSArray | number[], mode: MPSGraphScatterMode, name: string): MPSGraphTensor; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!NativeScriptUtils.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!NativeScriptUtils.d.ts index d77b2074a..0f553becf 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!NativeScriptUtils.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!NativeScriptUtils.d.ts @@ -11,7 +11,7 @@ declare class NativeScriptUtils extends NSObject { static getImageDataFormatQuality(image: UIImage, format: string, quality: number): NSData; - static getSystemFontWeightItalicSymbolicTraits(size: number, weight: number, italic: boolean, symbolicTraits: number): UIFont; + static getSystemFontWeightItalicSymbolicTraits(size: number, weight: number, italic: boolean, symbolicTraits: UIFontDescriptorSymbolicTraits): UIFont; static new(): NativeScriptUtils; // inherited from NSObject diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Pods_iostypingsprj.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!Pods_iostypingsprj.d.ts deleted file mode 100644 index d73cdc52e..000000000 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!Pods_iostypingsprj.d.ts +++ /dev/null @@ -1,4 +0,0 @@ - -declare var Pods_iostypingsprjVersionNumber: number; - -declare var Pods_iostypingsprjVersionString: interop.Reference; diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!SensorKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!SensorKit.d.ts index f0ab75ff5..1dc5a24e2 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!SensorKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!SensorKit.d.ts @@ -57,6 +57,8 @@ declare class SRApplicationUsage extends NSObject { readonly reportApplicationIdentifier: string; + readonly supplementalCategories: NSArray; + readonly textInputSessions: NSArray; readonly usageTime: number; @@ -315,6 +317,8 @@ declare class SRKeyboardMetrics extends NSObject { readonly longWordTouchDownUp: NSArray>; + readonly longWordTouchUpDown: NSArray>; + readonly longWordUpErrorDistance: NSArray>; readonly pathErrorDistanceRatio: NSArray; @@ -407,6 +411,8 @@ declare class SRKeyboardMetrics extends NSObject { readonly touchDownUp: SRKeyboardProbabilityMetric; + readonly touchUpDown: SRKeyboardProbabilityMetric; + readonly typingSpeed: number; readonly upErrorDistance: SRKeyboardProbabilityMetric; @@ -625,6 +631,25 @@ declare var SRSensorTelephonySpeechMetrics: string; declare var SRSensorVisits: string; +declare class SRSupplementalCategory extends NSObject implements NSCopying, NSSecureCoding { + + static alloc(): SRSupplementalCategory; // inherited from NSObject + + static new(): SRSupplementalCategory; // inherited from NSObject + + readonly identifier: string; + + static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding + + constructor(o: { coder: NSCoder; }); // inherited from NSCoding + + copyWithZone(zone: interop.Pointer | interop.Reference): any; + + encodeWithCoder(coder: NSCoder): void; + + initWithCoder(coder: NSCoder): this; +} + declare class SRTextInputSession extends NSObject { static alloc(): SRTextInputSession; // inherited from NSObject diff --git a/packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts b/packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts index 8603b0f67..2d36451ee 100644 --- a/packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts +++ b/packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts @@ -5835,7 +5835,9 @@ declare const enum UICalendarViewDecorationSize { interface UICalendarViewDelegate extends NSObjectProtocol { - calendarViewDecorationForDateComponents(calendarView: UICalendarView, dateComponents: NSDateComponents): UICalendarViewDecoration; + calendarViewDecorationForDateComponents?(calendarView: UICalendarView, dateComponents: NSDateComponents): UICalendarViewDecoration; + + calendarViewDidChangeVisibleDateComponentsFrom?(calendarView: UICalendarView, previousDateComponents: NSDateComponents): void; } declare var UICalendarViewDelegate: { @@ -24087,7 +24089,7 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U layoutSubviews(): void; - nativeScriptSetFormattedTextDecorationAndTransform(details: NSDictionary): void; + nativeScriptSetFormattedTextDecorationAndTransformLetterSpacingLineHeight(details: NSDictionary, letterSpacing: number, lineHeight: number): void; nativeScriptSetTextDecorationAndTransformTextDecorationLetterSpacingLineHeight(text: string, textDecoration: string, letterSpacing: number, lineHeight: number): void; diff --git a/packages/types-minimal/package.json b/packages/types-minimal/package.json index 5ba6d056f..a1b1314c2 100644 --- a/packages/types-minimal/package.json +++ b/packages/types-minimal/package.json @@ -1,6 +1,6 @@ { "name": "@nativescript/types-minimal", - "version": "8.4.0", + "version": "8.5.0", "description": "NativeScript 'Minimal' Types for only the latest Android and iOS sdks.", "homepage": "https://nativescript.org", "repository": { diff --git a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!UIKit.d.ts b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!UIKit.d.ts index 8603b0f67..2d36451ee 100644 --- a/packages/types-minimal/src/lib/ios/objc-x86_64/objc!UIKit.d.ts +++ b/packages/types-minimal/src/lib/ios/objc-x86_64/objc!UIKit.d.ts @@ -5835,7 +5835,9 @@ declare const enum UICalendarViewDecorationSize { interface UICalendarViewDelegate extends NSObjectProtocol { - calendarViewDecorationForDateComponents(calendarView: UICalendarView, dateComponents: NSDateComponents): UICalendarViewDecoration; + calendarViewDecorationForDateComponents?(calendarView: UICalendarView, dateComponents: NSDateComponents): UICalendarViewDecoration; + + calendarViewDidChangeVisibleDateComponentsFrom?(calendarView: UICalendarView, previousDateComponents: NSDateComponents): void; } declare var UICalendarViewDelegate: { @@ -24087,7 +24089,7 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U layoutSubviews(): void; - nativeScriptSetFormattedTextDecorationAndTransform(details: NSDictionary): void; + nativeScriptSetFormattedTextDecorationAndTransformLetterSpacingLineHeight(details: NSDictionary, letterSpacing: number, lineHeight: number): void; nativeScriptSetTextDecorationAndTransformTextDecorationLetterSpacingLineHeight(text: string, textDecoration: string, letterSpacing: number, lineHeight: number): void; diff --git a/packages/types/package.json b/packages/types/package.json index 03e2f47ee..4f1a2e883 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@nativescript/types", - "version": "8.4.0", + "version": "8.5.0", "description": "NativeScript Types for all supported platforms.", "homepage": "https://nativescript.org", "repository": { @@ -12,7 +12,7 @@ ], "license": "Apache-2.0", "dependencies": { - "@nativescript/types-ios": "~8.4.0", - "@nativescript/types-android": "~8.4.0" + "@nativescript/types-ios": "~8.5.0", + "@nativescript/types-android": "~8.5.0" } }