Skip to content

Upgrade @mendix/pluggable-widgets-tools to v10.21.1 #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsActions/mobile-resources-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/jsActions/nanoflow-actions-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/atlas-content-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { CSSProperties } from "react";
export interface ActivityIndicatorProps<Style> {
name: string;
style: Style[];

}

export interface ActivityIndicatorPreviewProps {
Expand All @@ -20,6 +19,6 @@ export interface ActivityIndicatorPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";

renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,100 @@ import { ActionValue, DynamicValue } from "mendix";

export type AnimationTypeEnum = "in" | "attention" | "out";

export type AnimationInEnum = "none" | "bounceIn" | "bounceInDown" | "bounceInUp" | "bounceInLeft" | "bounceInRight" | "fadeIn" | "fadeInDown" | "fadeInDownBig" | "fadeInUp" | "fadeInUpBig" | "fadeInLeft" | "fadeInLeftBig" | "fadeInRight" | "fadeInRightBig" | "slideInDown" | "slideInUp" | "slideInLeft" | "slideInRight" | "zoomIn" | "zoomInDown" | "zoomInUp" | "zoomInLeft" | "zoomInRight";
export type AnimationInEnum =
| "none"
| "bounceIn"
| "bounceInDown"
| "bounceInUp"
| "bounceInLeft"
| "bounceInRight"
| "fadeIn"
| "fadeInDown"
| "fadeInDownBig"
| "fadeInUp"
| "fadeInUpBig"
| "fadeInLeft"
| "fadeInLeftBig"
| "fadeInRight"
| "fadeInRightBig"
| "slideInDown"
| "slideInUp"
| "slideInLeft"
| "slideInRight"
| "zoomIn"
| "zoomInDown"
| "zoomInUp"
| "zoomInLeft"
| "zoomInRight";

export type AnimationAttentionEnum = "none" | "bounce" | "flash" | "pulse" | "rotate" | "rubberBand" | "shake" | "swing" | "tada" | "wobble";
export type AnimationAttentionEnum =
| "none"
| "bounce"
| "flash"
| "pulse"
| "rotate"
| "rubberBand"
| "shake"
| "swing"
| "tada"
| "wobble";

export type AnimationOutEnum = "none" | "bounceOut" | "bounceOutDown" | "bounceOutUp" | "bounceOutLeft" | "bounceOutRight" | "fadeOut" | "fadeOutDown" | "fadeOutDownBig" | "fadeOutUp" | "fadeOutUpBig" | "fadeOutLeft" | "fadeOutLeftBig" | "fadeOutRight" | "fadeOutRightBig" | "slideOutDown" | "slideOutUp" | "slideOutLeft" | "slideOutRight" | "zoomOut" | "zoomOutDown" | "zoomOutUp" | "zoomOutLeft" | "zoomOutRight";
export type AnimationOutEnum =
| "none"
| "bounceOut"
| "bounceOutDown"
| "bounceOutUp"
| "bounceOutLeft"
| "bounceOutRight"
| "fadeOut"
| "fadeOutDown"
| "fadeOutDownBig"
| "fadeOutUp"
| "fadeOutUpBig"
| "fadeOutLeft"
| "fadeOutLeftBig"
| "fadeOutRight"
| "fadeOutRightBig"
| "slideOutDown"
| "slideOutUp"
| "slideOutLeft"
| "slideOutRight"
| "zoomOut"
| "zoomOutDown"
| "zoomOutUp"
| "zoomOutLeft"
| "zoomOutRight";

export type EasingEnum = "linear" | "ease" | "ease_in" | "ease_out" | "ease_in_out" | "ease_in_cubic" | "ease_out_cubic" | "ease_in_out_cubic" | "ease_in_circ" | "ease_out_circ" | "ease_in_out_circ" | "ease_in_expo" | "ease_out_expo" | "ease_in_out_expo" | "ease_in_quad" | "ease_out_quad" | "ease_in_out_quad" | "ease_in_quart" | "ease_out_quart" | "ease_in_out_quart" | "ease_in_quint" | "ease_out_quint" | "ease_in_out_quint" | "ease_in_sine" | "ease_out_sine" | "ease_in_out_sine" | "ease_in_back" | "ease_out_back" | "ease_in_out_back";
export type EasingEnum =
| "linear"
| "ease"
| "ease_in"
| "ease_out"
| "ease_in_out"
| "ease_in_cubic"
| "ease_out_cubic"
| "ease_in_out_cubic"
| "ease_in_circ"
| "ease_out_circ"
| "ease_in_out_circ"
| "ease_in_expo"
| "ease_out_expo"
| "ease_in_out_expo"
| "ease_in_quad"
| "ease_out_quad"
| "ease_in_out_quad"
| "ease_in_quart"
| "ease_out_quart"
| "ease_in_out_quart"
| "ease_in_quint"
| "ease_out_quint"
| "ease_in_out_quint"
| "ease_in_sine"
| "ease_out_sine"
| "ease_in_out_sine"
| "ease_in_back"
| "ease_out_back"
| "ease_in_out_back";

export type DirectionEnum = "normal" | "alternate";

Expand Down Expand Up @@ -44,7 +131,8 @@ export interface AnimationPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
content: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
animationType: AnimationTypeEnum;
animationIn: AnimationInEnum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export interface AppEventsPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
onLoadAction: {} | null;
onUnloadAction: {} | null;
onResumeAction: {} | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export interface BackgroundGradientPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
colorList: ColorListPreviewType[];
content: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
onClick: {} | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ export interface BackgroundImagePreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
image: { type: "static"; imageUrl: string; } | { type: "dynamic"; entity: string; } | null;
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
image: { type: "static"; imageUrl: string } | { type: "dynamic"; entity: string } | null;
resizeMode: ResizeModeEnum;
opacity: number | null;
content: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export interface BadgePreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
caption: string;
onClick: {} | null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export interface BarChartPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
presentation: PresentationEnum;
barSeries: BarSeriesPreviewType[];
sortOrder: SortOrderEnum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export interface BarcodeScannerPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
barcode: string;
showMask: boolean;
showAnimatedLine: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export interface BottomSheetPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
type: TypeEnum;
triggerAttribute: string;
modalRendering: ModalRenderingEnum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export interface CarouselPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
contentSource: {} | { caption: string } | { type: string } | null;
content: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
layout: LayoutEnum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export interface ColorPickerPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
color: string;
format: FormatEnum;
showPreview: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export interface ColumnChartPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
presentation: PresentationEnum;
columnSeries: ColumnSeriesPreviewType[];
sortOrder: SortOrderEnum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ export interface FeedbackPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
sprintrapp: string;
allowScreenshot: boolean;
logo: { type: "static"; imageUrl: string; } | { type: "dynamic"; entity: string; } | null;
logo: { type: "static"; imageUrl: string } | { type: "dynamic"; entity: string } | null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export interface SecondaryButtonsType {
}

export interface SecondaryButtonsPreviewType {
icon: { type: "glyph"; iconClass: string; } | { type: "image"; imageUrl: string; iconUrl: string; } | { type: "icon"; iconClass: string; } | undefined;
icon:
| { type: "glyph"; iconClass: string }
| { type: "image"; imageUrl: string; iconUrl: string }
| { type: "icon"; iconClass: string }
| undefined;
caption: string;
onClick: {} | null;
}
Expand All @@ -42,9 +46,18 @@ export interface FloatingActionButtonPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
icon: { type: "glyph"; iconClass: string; } | { type: "image"; imageUrl: string; iconUrl: string; } | { type: "icon"; iconClass: string; } | undefined;
iconActive: { type: "glyph"; iconClass: string; } | { type: "image"; imageUrl: string; iconUrl: string; } | { type: "icon"; iconClass: string; } | undefined;
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
icon:
| { type: "glyph"; iconClass: string }
| { type: "image"; imageUrl: string; iconUrl: string }
| { type: "icon"; iconClass: string }
| undefined;
iconActive:
| { type: "glyph"; iconClass: string }
| { type: "image"; imageUrl: string; iconUrl: string }
| { type: "icon"; iconClass: string }
| undefined;
horizontalPosition: HorizontalPositionEnum;
verticalPosition: VerticalPositionEnum;
onClick: {} | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export interface GalleryPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
renderMode?: "design" | "xray" | "structure";
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
datasource: {} | { caption: string } | { type: string } | null;
content: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
scrollDirection: ScrollDirectionEnum;
Expand Down
Loading
Loading