From 880558c8545bccdf1c1687c38344379f910e57fb Mon Sep 17 00:00:00 2001 From: MOO Date: Wed, 11 Oct 2023 08:52:25 +0000 Subject: [PATCH] chore(mobile-resources-native): update changelogs --- .../jsActions/mobile-resources-native/CHANGELOG.md | 8 ++++++++ .../jsActions/mobile-resources-native/package.json | 4 ++-- packages/pluggableWidgets/image-native/CHANGELOG.md | 2 ++ .../image-native/typings/ImageProps.d.ts | 10 +++------- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/jsActions/mobile-resources-native/CHANGELOG.md b/packages/jsActions/mobile-resources-native/CHANGELOG.md index 3f2657bcf..8b4d427c2 100644 --- a/packages/jsActions/mobile-resources-native/CHANGELOG.md +++ b/packages/jsActions/mobile-resources-native/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [5.1.0] Native Mobile Resources - 2023-10-11 + + +## [1.1.0] Image +### Added + +- Added accessibility. + ## [5.0.2] Native Mobile Resources - 2023-8-22 ### Fixed diff --git a/packages/jsActions/mobile-resources-native/package.json b/packages/jsActions/mobile-resources-native/package.json index 80d409f76..f48d76a36 100644 --- a/packages/jsActions/mobile-resources-native/package.json +++ b/packages/jsActions/mobile-resources-native/package.json @@ -1,7 +1,7 @@ { "name": "mobile-resources-native", "moduleName": "Native Mobile Resources", - "version": "5.0.2", + "version": "5.1.0", "license": "Apache-2.0", "copyright": "© Mendix Technology BV 2022. All rights reserved.", "repository": { @@ -52,4 +52,4 @@ "rimraf": "^2.7.1", "rollup": "^2.68.0" } -} +} \ No newline at end of file diff --git a/packages/pluggableWidgets/image-native/CHANGELOG.md b/packages/pluggableWidgets/image-native/CHANGELOG.md index 6b52df2da..096b5db72 100644 --- a/packages/pluggableWidgets/image-native/CHANGELOG.md +++ b/packages/pluggableWidgets/image-native/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [1.1.0] - 2023-10-11 + ### Added - Added accessibility. diff --git a/packages/pluggableWidgets/image-native/typings/ImageProps.d.ts b/packages/pluggableWidgets/image-native/typings/ImageProps.d.ts index 405d30cfb..416f9f2e0 100644 --- a/packages/pluggableWidgets/image-native/typings/ImageProps.d.ts +++ b/packages/pluggableWidgets/image-native/typings/ImageProps.d.ts @@ -52,14 +52,10 @@ export interface ImagePreviewProps { styleObject?: CSSProperties; readOnly: boolean; datasource: DatasourceEnum; - imageObject: { type: "static"; imageUrl: string } | { type: "dynamic"; entity: string } | null; - defaultImageDynamic: { type: "static"; imageUrl: string } | { type: "dynamic"; entity: string } | null; + imageObject: { type: "static"; imageUrl: string; } | { type: "dynamic"; entity: string; } | null; + defaultImageDynamic: { type: "static"; imageUrl: string; } | { type: "dynamic"; entity: string; } | null; imageUrl: string; - imageIcon: - | { type: "glyph"; iconClass: string } - | { type: "image"; imageUrl: string; iconUrl: string } - | { type: "icon"; iconClass: string } - | undefined; + imageIcon: { type: "glyph"; iconClass: string; } | { type: "image"; imageUrl: string; iconUrl: string; } | { type: "icon"; iconClass: string; } | undefined; isBackgroundImage: boolean; children: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> }; resizeMode: ResizeModeEnum;