diff --git a/package.json b/package.json index 957f77b49..3206c2034 100644 --- a/package.json +++ b/package.json @@ -48,11 +48,10 @@ "@commitlint/cli": "^18.6.1", "@commitlint/config-conventional": "^18.6.3", "@react-native/babel-preset": "0.75.4", - "@rollup/plugin-node-resolve": "^13.3.0", - "@rollup/plugin-typescript": "^8.5.0", + "@rollup/plugin-node-resolve": "^15.3.0", + "@rollup/plugin-typescript": "^12.1.1", "@testing-library/jest-native": "^5.4.3", - "@testing-library/react": "^16.0.1", - "@testing-library/react-native": "^11.5.4", + "@testing-library/react-native": "^12.9.0", "@types/big.js": "^6.2.2", "@types/concurrently": "^6.3.0", "@types/enzyme": "^3.10.18", @@ -81,7 +80,8 @@ "pretty-quick": "^3.3.1", "react-dom": "18.3.1", "recursive-copy": "^2.0.14", - "rollup": "^2.79.2", + "rollup": "^3.29.5", + "ts-jest": "^29.0.0", "ts-node": "^10.9.2" }, "commitlint": { @@ -93,7 +93,7 @@ "node": ">=20" }, "resolutions": { - "@mendix/pluggable-widgets-tools": "10.15.0", + "@mendix/pluggable-widgets-tools": "10.21.1", "mendix": "10.15.46408", "@types/react": "^18", "react": "18.2.0", diff --git a/packages/jsActions/mobile-resources-native/package.json b/packages/jsActions/mobile-resources-native/package.json index 960c8bc25..18aac7073 100644 --- a/packages/jsActions/mobile-resources-native/package.json +++ b/packages/jsActions/mobile-resources-native/package.json @@ -45,7 +45,7 @@ "url-parse": "^1.4.7" }, "devDependencies": { - "@mendix/pluggable-widgets-tools": "^10.0.1", + "@mendix/pluggable-widgets-tools": "^10.15.0", "@types/querystringify": "^2.0.0", "@types/react-native-push-notification": "8.1.1", "@types/url-parse": "^1.4.3", diff --git a/packages/jsActions/nanoflow-actions-native/package.json b/packages/jsActions/nanoflow-actions-native/package.json index d9df3c3b2..d6656afa2 100644 --- a/packages/jsActions/nanoflow-actions-native/package.json +++ b/packages/jsActions/nanoflow-actions-native/package.json @@ -31,7 +31,7 @@ "react-native-geocoder": "0.5.0" }, "devDependencies": { - "@mendix/pluggable-widgets-tools": "^10.0.1", + "@mendix/pluggable-widgets-tools": "^10.15.0", "eslint": "^7.32.0", "mendix": "~10.0.9976", "rollup": "^2.79.2" diff --git a/packages/modules/atlas-content-native/package.json b/packages/modules/atlas-content-native/package.json index 0835cf6fa..96c85076d 100644 --- a/packages/modules/atlas-content-native/package.json +++ b/packages/modules/atlas-content-native/package.json @@ -21,7 +21,7 @@ "release:marketplace": "node ../../../scripts/release/marketplaceRelease.js" }, "devDependencies": { - "@mendix/pluggable-widgets-tools": "^9.0.0", + "@mendix/pluggable-widgets-tools": "^10.15.0", "concurrently": "^6.0.0", "copy-and-watch": "^0.1.5", "ts-node": "^10.9.1" diff --git a/packages/pluggableWidgets/accordion-native/typings/AccordionProps.d.ts b/packages/pluggableWidgets/accordion-native/typings/AccordionProps.d.ts index 9b5db096d..22c1e10c0 100644 --- a/packages/pluggableWidgets/accordion-native/typings/AccordionProps.d.ts +++ b/packages/pluggableWidgets/accordion-native/typings/AccordionProps.d.ts @@ -62,11 +62,20 @@ export interface AccordionPreviewProps { style: string; styleObject?: CSSProperties; readOnly: boolean; - renderMode?: "design" | "xray" | "structure"; + renderMode: "design" | "xray" | "structure"; + translate: (text: string) => string; groups: GroupsPreviewType[]; collapsible: boolean; collapseBehavior: CollapseBehaviorEnum; icon: IconEnum; - iconCollapsed: { type: "glyph"; iconClass: string; } | { type: "image"; imageUrl: string; iconUrl: string; } | { type: "icon"; iconClass: string; } | undefined; - iconExpanded: { type: "glyph"; iconClass: string; } | { type: "image"; imageUrl: string; iconUrl: string; } | { type: "icon"; iconClass: string; } | undefined; + iconCollapsed: + | { type: "glyph"; iconClass: string } + | { type: "image"; imageUrl: string; iconUrl: string } + | { type: "icon"; iconClass: string } + | undefined; + iconExpanded: + | { type: "glyph"; iconClass: string } + | { type: "image"; imageUrl: string; iconUrl: string } + | { type: "icon"; iconClass: string } + | undefined; } diff --git a/packages/pluggableWidgets/activity-indicator-native/typings/ActivityIndicatorProps.d.ts b/packages/pluggableWidgets/activity-indicator-native/typings/ActivityIndicatorProps.d.ts index 4c4b805e0..50a869b3e 100644 --- a/packages/pluggableWidgets/activity-indicator-native/typings/ActivityIndicatorProps.d.ts +++ b/packages/pluggableWidgets/activity-indicator-native/typings/ActivityIndicatorProps.d.ts @@ -8,7 +8,6 @@ import { CSSProperties } from "react"; export interface ActivityIndicatorProps