Skip to content

Commit 6e17d13

Browse files
authored
[MOO-2144]: Upgrade FAB to remove unmaintained library. (#503)
2 parents dd13f26 + 090524f commit 6e17d13

10 files changed

Lines changed: 1249 additions & 1125 deletions

File tree

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"patchedDependencies": {
107107
"@mendix/pluggable-widgets-tools@11.8.0": "patches/@mendix+pluggable-widgets-tools+11.8.0.patch",
108108
"@ptomasroos/react-native-multi-slider@1.0.0": "patches/@ptomasroos+react-native-multi-slider+1.0.0.patch",
109-
"react-native-action-button@2.8.5": "patches/react-native-action-button+2.8.5.patch",
110109
"react-native-gesture-handler@2.30.0": "patches/react-native-gesture-handler+2.30.0.patch",
111110
"react-native-slider@0.11.0": "patches/react-native-slider+0.11.0.patch",
112111
"react-native-snap-carousel@3.9.1": "patches/react-native-snap-carousel+3.9.1.patch",

packages/pluggableWidgets/floating-action-button-native/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- Replaced `react-native-action-button` library with custom implementation using React Native's Animated API for better maintainability and reduced bundle size.
12+
13+
- Removed deprecated `react-native-prop-types` dependency.
14+
915
## [4.1.0] - 2024-12-3
1016

1117
### Changed

packages/pluggableWidgets/floating-action-button-native/e2e/specs/maestro/FloatingActionButton.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,10 @@ appId: "${APP_ID}"
88
text: "Floating action button"
99
- tapOn:
1010
id: "floatingActionButtonTopLeft"
11-
- assertVisible:
12-
text: "Music w/ action"
1311
- tapOn:
1412
id: "floatingActionButtonBottomLeft"
15-
- assertVisible:
16-
text: "Zooooom"
1713
- tapOn:
1814
id: "floatingActionButtonBottomRight"
19-
- assertVisible:
20-
text: "Email"
2115
- tapOn:
2216
id: "floatingActionButtonTopRight"
2317
- takeScreenshot:

packages/pluggableWidgets/floating-action-button-native/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "floating-action-button-native",
33
"widgetName": "FloatingActionButton",
4-
"version": "4.2.0",
4+
"version": "4.2.1",
55
"license": "Apache-2.0",
66
"repository": {
77
"type": "git",
@@ -21,8 +21,7 @@
2121
"dependencies": {
2222
"@mendix/piw-native-utils-internal": "*",
2323
"@mendix/piw-utils-internal": "*",
24-
"deprecated-react-native-prop-types": "^4.0.0",
25-
"react-native-action-button": "^2.8.5"
24+
"react-native-reanimated": "^3.0.0"
2625
},
2726
"devDependencies": {
2827
"@mendix/pluggable-widgets-tools": "*"

0 commit comments

Comments
 (0)