Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ff64d02
npx codemod@latest react/19/migration-recipe
M-i-k-e-l Dec 30, 2025
7bead8f
npx types-react-codemod@latest preset-19 .
M-i-k-e-l Dec 31, 2025
0197485
Remove DemoScreen (unused)
M-i-k-e-l Dec 31, 2025
de980b7
Remove prop-types
M-i-k-e-l Dec 31, 2025
6aba785
Remove @types/prop-types
M-i-k-e-l Dec 31, 2025
ef23b8b
Remove unneeded defaultProps
M-i-k-e-l Dec 31, 2025
7bf1c08
defaultProps on asBaseComponent
M-i-k-e-l Dec 31, 2025
e8d7c96
Remove defaultProps (unused af far as we can tell)
M-i-k-e-l Dec 31, 2025
46aaff7
Remove DocsGenerator (unused)
M-i-k-e-l Dec 31, 2025
049b17a
Fix (most) typescript issue
M-i-k-e-l Jan 1, 2026
a3aa72d
Fix button and update @testing-library/react-native version
M-i-k-e-l Jan 1, 2026
d458955
Remove unsupported modifiers methods, add docs and fix tests
M-i-k-e-l Jan 1, 2026
1a38b27
Merge branch 'v9' into infra/v9-codemod
M-i-k-e-l Jan 1, 2026
7ac2031
Merge branch 'infra/v9-codemod' into infra/v9-prop-types
M-i-k-e-l Jan 1, 2026
214b135
Merge branch 'infra/v9-prop-types' into infra/v9-default-props
M-i-k-e-l Jan 1, 2026
9f46721
Merge branch 'infra/v9-default-props' into infra/v9-lint-and-typescript
M-i-k-e-l Jan 1, 2026
60a747e
Merge branch 'infra/v9-lint-and-typescript' into infra/v9-tests
M-i-k-e-l Jan 1, 2026
8fed761
KeyboardTrackingView - support defaultProps
M-i-k-e-l Jan 4, 2026
b029680
Bump uilib-native version
M-i-k-e-l Jan 4, 2026
23fdc2f
uilib-native - fix npm package of uilib-native
M-i-k-e-l Jan 5, 2026
fabaab7
Update project.pbxproj
M-i-k-e-l Jan 5, 2026
6b679e7
Add check for do not merge
M-i-k-e-l Jan 5, 2026
297a3c3
Remove (will be added in master)
M-i-k-e-l Jan 5, 2026
8addd40
Fix types
M-i-k-e-l Jan 5, 2026
294362f
Checkbox - fix label's type
M-i-k-e-l Jan 5, 2026
3134a01
Update uilib-native to snapshot
M-i-k-e-l Jan 5, 2026
a336e59
"Force" defaultProps on forwardRef
M-i-k-e-l Jan 6, 2026
21e762b
Merge branch 'v9' into infra/v9-fixes
M-i-k-e-l Jan 7, 2026
9573344
Merge branch 'v9' into infra/v9-fixes
M-i-k-e-l Jan 15, 2026
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
15 changes: 11 additions & 4 deletions lib/components/Keyboard/KeyboardTrackingView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,22 @@ export type KeyboardTrackingViewProps = ViewProps & {
children?: React.ReactNode;
};

const defaultProps: KeyboardTrackingViewProps = {};
const KeyboardTrackingView = forwardRef(({children, ...others}: KeyboardTrackingViewProps, ref: any) => {
const KeyboardTrackingViewContainer = isAndroid ? KeyboardTrackingViewAndroid : KeyboardTrackingViewIOS;
return (
<KeyboardTrackingViewContainer {...others} ref={ref}>
<KeyboardTrackingViewContainer {...defaultProps} {...others} ref={ref}>
{children}
</KeyboardTrackingViewContainer>
);
});

export default KeyboardTrackingView as (typeof KeyboardTrackingView & {scrollBehaviors: typeof SCROLL_BEHAVIORS});
// @ts-expect-error
KeyboardTrackingView.scrollBehaviors = SCROLL_BEHAVIORS;
type KeyboardTrackingViewType = typeof KeyboardTrackingView & {
scrollBehaviors: typeof SCROLL_BEHAVIORS;
defaultProps: typeof defaultProps;
};

(KeyboardTrackingView as KeyboardTrackingViewType).defaultProps = defaultProps;
(KeyboardTrackingView as KeyboardTrackingViewType).scrollBehaviors = SCROLL_BEHAVIORS;

export default KeyboardTrackingView as KeyboardTrackingViewType;
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uilib-native",
"version": "5.0.1",
"version": "5.1.0",
"homepage": "https://github.com/wix/react-native-ui-lib",
"description": "uilib native components (separated from js components)",
"main": "components/index",
Expand Down
98 changes: 49 additions & 49 deletions packages/react-native-ui-lib/ios/rnuilib.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
10C29C852DCE7AED0050BB15 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 10C29C842DCE7AED0050BB15 /* main.m */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
6EAFD7E7529D6AB2A14B24D0 /* libPods-rnuilib.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A5F4BED900EB839D3EF75D75 /* libPods-rnuilib.a */; };
47EF422756B5B59E050F6650 /* libPods-rnuilib.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 915D61EED47E4EEAC9E3939E /* libPods-rnuilib.a */; };
8E52CBDF2887DD21009D5EC5 /* DesignTokens.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8E52CBDE2887DD21009D5EC5 /* DesignTokens.xcassets */; };
8E8B0D662744D9CD0026B520 /* void.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E8B0D652744D9CD0026B520 /* void.swift */; };
8EA1FC8C2519E7F7008B4B36 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8EA1FC8B2519E7F7008B4B36 /* LaunchScreen.storyboard */; };
Expand Down Expand Up @@ -50,13 +50,13 @@
2D02E47B1E0B4A5D006451C7 /* rnuilib-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "rnuilib-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
2D02E4901E0B4A5D006451C7 /* rnuilib-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "rnuilib-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
411699F1CD4A37F8779A4620 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = rnuilib/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
89D43FD524252AEE9A5E7F9C /* Pods-rnuilib.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rnuilib.debug.xcconfig"; path = "Target Support Files/Pods-rnuilib/Pods-rnuilib.debug.xcconfig"; sourceTree = "<group>"; };
67B8F278E58645A4FFC68F0C /* Pods-rnuilib.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rnuilib.release.xcconfig"; path = "Target Support Files/Pods-rnuilib/Pods-rnuilib.release.xcconfig"; sourceTree = "<group>"; };
8E52CBDE2887DD21009D5EC5 /* DesignTokens.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = DesignTokens.xcassets; sourceTree = "<group>"; };
8E8B0D652744D9CD0026B520 /* void.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = void.swift; sourceTree = "<group>"; };
8EA1FC8B2519E7F7008B4B36 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = rnuilib/LaunchScreen.storyboard; sourceTree = "<group>"; };
9EA158686F413620FCD02168 /* Pods-rnuilib.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rnuilib.release.xcconfig"; path = "Target Support Files/Pods-rnuilib/Pods-rnuilib.release.xcconfig"; sourceTree = "<group>"; };
A5F4BED900EB839D3EF75D75 /* libPods-rnuilib.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-rnuilib.a"; sourceTree = BUILT_PRODUCTS_DIR; };
915D61EED47E4EEAC9E3939E /* libPods-rnuilib.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-rnuilib.a"; sourceTree = BUILT_PRODUCTS_DIR; };
DED5A85D4BF49DFA47437893 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = rnuilib/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
EC2782D69A183B3AC6D25662 /* Pods-rnuilib.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rnuilib.debug.xcconfig"; path = "Target Support Files/Pods-rnuilib/Pods-rnuilib.debug.xcconfig"; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
/* End PBXFileReference section */
Expand All @@ -73,7 +73,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
6EAFD7E7529D6AB2A14B24D0 /* libPods-rnuilib.a in Frameworks */,
47EF422756B5B59E050F6650 /* libPods-rnuilib.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -117,7 +117,7 @@
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
A5F4BED900EB839D3EF75D75 /* libPods-rnuilib.a */,
915D61EED47E4EEAC9E3939E /* libPods-rnuilib.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -158,8 +158,8 @@
D99C980AB24A05601E0007F9 /* Pods */ = {
isa = PBXGroup;
children = (
89D43FD524252AEE9A5E7F9C /* Pods-rnuilib.debug.xcconfig */,
9EA158686F413620FCD02168 /* Pods-rnuilib.release.xcconfig */,
EC2782D69A183B3AC6D25662 /* Pods-rnuilib.debug.xcconfig */,
67B8F278E58645A4FFC68F0C /* Pods-rnuilib.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
Expand Down Expand Up @@ -189,14 +189,14 @@
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "rnuilib" */;
buildPhases = (
2B3E3342862A1D4E28900479 /* [CP] Check Pods Manifest.lock */,
D78E9F4BA4EF6F012B5BDA3E /* [CP] Check Pods Manifest.lock */,
FD10A7F022414F080027D42C /* Start Packager */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
1B61ADD6D1E9D386513664AA /* [CP] Embed Pods Frameworks */,
E08E7F233B2BD017DCECEA3C /* [CP] Copy Pods Resources */,
F7959C68F26F6BEE34F78D43 /* [CP] Embed Pods Frameworks */,
1516A2CEA36A1193FED081AC /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -345,86 +345,86 @@
shellPath = /bin/sh;
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
};
1B61ADD6D1E9D386513664AA /* [CP] Embed Pods Frameworks */ = {
1516A2CEA36A1193FED081AC /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes",
"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly/RCT-Folly_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/RNSVG/RNSVGFilters.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/boost/boost_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/glog/glog_privacy.bundle",
);
name = "[CP] Embed Pods Frameworks";
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCT-Folly_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNSVGFilters.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/boost_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/glog_privacy.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-resources.sh\"\n";
showEnvVarsInLog = 0;
};
2B3E3342862A1D4E28900479 /* [CP] Check Pods Manifest.lock */ = {
2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
name = "Bundle React Native Code And Images";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-rnuilib-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
};
2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
D78E9F4BA4EF6F012B5BDA3E /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
name = "Bundle React Native Code And Images";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-rnuilib-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
E08E7F233B2BD017DCECEA3C /* [CP] Copy Pods Resources */ = {
F7959C68F26F6BEE34F78D43 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/RCT-Folly/RCT-Folly_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/RNSVG/RNSVGFilters.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/boost/boost_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/glog/glog_privacy.bundle",
"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes",
);
name = "[CP] Copy Pods Resources";
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCT-Folly_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNSVGFilters.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/boost_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/glog_privacy.bundle",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-resources.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-rnuilib/Pods-rnuilib-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
FD10A7F022414F080027D42C /* Start Packager */ = {
Expand Down Expand Up @@ -562,7 +562,7 @@
};
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 89D43FD524252AEE9A5E7F9C /* Pods-rnuilib.debug.xcconfig */;
baseConfigurationReference = EC2782D69A183B3AC6D25662 /* Pods-rnuilib.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down Expand Up @@ -594,7 +594,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9EA158686F413620FCD02168 /* Pods-rnuilib.release.xcconfig */;
baseConfigurationReference = 67B8F278E58645A4FFC68F0C /* Pods-rnuilib.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-ui-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@
"setimmediate": "^1.0.5",
"shell-utils": "^1.0.10",
"typescript": "5.0.4",
"uilib-native": "^5.0.1"
"uilib-native": "5.1.0-snapshot.7635"
},
"peerDependencies": {
"react": ">=19.0.0",
"react-native": ">=0.77.3",
"react-native-gesture-handler": ">=2.24.0",
"react-native-reanimated": ">=3.19.4",
"react-native-ui-lib": "*",
"uilib-native": "^5.0.1"
"uilib-native": "5.1.0-snapshot.7635"
},
"jest": {
"preset": "react-native",
Expand Down
5 changes: 4 additions & 1 deletion packages/react-native-ui-lib/scripts/build/build.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const childProcess = require('child_process');
const fs = require('fs');

const BABEL_OPTIONS = `--config-file ./scripts/build/.babelrc.json --extensions '.ts,.tsx' --ignore "src/**/*.d.ts"`;
const BABEL_OPTIONS = `--config-file ./scripts/build/.babelrc.json --extensions '.ts,.tsx' --ignore "src/**/*.d.ts,**/node_modules/**,lib/**/*.d.ts,../../lib/node_modules/**"`;
const BABEL_INDEX_EXPORTS_OPTIONS = `--config-file ./scripts/build/.babelrc.exports.js`;

console.info('## Start RNUILib Build ##');
Expand All @@ -21,6 +21,9 @@ childProcess.execSync(`../../node_modules/.bin/babel src --out-dir src ${BABEL_O
console.info('## Build lib (native component) files - convert TS to JS files ##');
childProcess.execSync(`../../node_modules/.bin/babel lib --out-dir lib ${BABEL_OPTIONS}`);

console.info('## in uilib-native - Build lib (native component) files - convert TS to JS files ##');
childProcess.execSync(`../../node_modules/.bin/babel ../../lib --out-dir ../../lib ${BABEL_OPTIONS}`);

console.info('## Build main index file - for lazy load exports ##');
childProcess.execSync(`../../node_modules/.bin/babel ./src/index.js -o ./src/index.js ${BABEL_INDEX_EXPORTS_OPTIONS}`);

Expand Down
2 changes: 2 additions & 0 deletions packages/react-native-ui-lib/src/commons/forwardRef.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export default function forwardRef<P, STATICS = {}, RefInterface = any>(WrappedC

hoistStatics(ForwardedComponent, WrappedComponent);
ForwardedComponent.displayName = WrappedComponent.displayName;
// @ts-expect-error
ForwardedComponent.defaultProps = WrappedComponent.defaultProps;

return ForwardedComponent as typeof ForwardedComponent & STATICS;
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export interface CheckboxProps extends TouchableOpacityProps {
/**
* The label of the checkbox
*/
label?: string;
label?: string | React.ReactElement<Text>;
/**
* The style of the label
*/
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"include": [
"packages/react-native-ui-lib/src/**/*",
"packages/react-native-ui-lib/lib/**/*",
"lib/**/*",
"typings/**/*",
"packages/unicorn-demo-app/**/*",
"packages/uilib-native/components/**/*"
Expand Down
19 changes: 9 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9302,7 +9302,7 @@ __metadata:
languageName: node
linkType: hard

"prop-types@npm:15.8.1, prop-types@npm:15.x.x, prop-types@npm:^15.5.10, prop-types@npm:^15.8.1":
"prop-types@npm:15.8.1, prop-types@npm:15.x.x, prop-types@npm:^15.8.1":
version: 15.8.1
resolution: "prop-types@npm:15.8.1"
dependencies:
Expand Down Expand Up @@ -9733,7 +9733,7 @@ __metadata:
shell-utils: "npm:^1.0.10"
tinycolor2: "npm:^1.4.2"
typescript: "npm:5.0.4"
uilib-native: "npm:^5.0.1"
uilib-native: "npm:5.1.0-snapshot.7635"
url-parse: "npm:^1.2.0"
wix-react-native-text-size: "npm:1.0.9"
peerDependencies:
Expand All @@ -9742,7 +9742,7 @@ __metadata:
react-native-gesture-handler: ">=2.24.0"
react-native-reanimated: ">=3.19.4"
react-native-ui-lib: "*"
uilib-native: ^5.0.1
uilib-native: 5.1.0-snapshot.7635
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -11285,16 +11285,15 @@ __metadata:
languageName: node
linkType: hard

"uilib-native@npm:^5.0.1":
version: 5.0.1
resolution: "uilib-native@npm:5.0.1"
"uilib-native@npm:5.1.0-snapshot.7635":
version: 5.1.0-snapshot.7635
resolution: "uilib-native@npm:5.1.0-snapshot.7635"
dependencies:
lodash: "npm:^4.17.21"
prop-types: "npm:^15.5.10"
peerDependencies:
react: ">=18.3.1"
react-native: ">=0.77.3"
checksum: 10c0/234d02fd8dd5005c816b2a292d87d205b37e45885eccdf545ab80052ad6eb2761034af6acb58ae31468d66b59a4c869b25a670a5a2a784d26206c92e7f27025d
react: ">=19.0.0"
react-native: ">=0.78.3"
checksum: 10c0/f98238f78e3c291cda5111459dc08d3acddbf38f37f2febb6e7743f0c663c47ab9e0cb9e2558dd044710365640b6c52ada47aec925dfee1386b05fd34e7becad
languageName: node
linkType: hard

Expand Down
Loading