This commit is contained in:
Rahim
2025-09-22 23:39:30 +10:00
parent d3221ec211
commit d2b2dd4868
132 changed files with 860 additions and 969 deletions
@@ -40,4 +40,4 @@
"publishConfig": {
"access": "public"
}
}
}
@@ -15,30 +15,23 @@ export const Icon: React.FC<IconProps> = () => {
};
// Placeholder icon components
export const PlayIcon: React.FC<Omit<IconProps, 'name'>> = () => (
React.createElement('div', { children: 'Play Icon - Coming Soon' })
);
export const PlayIcon: React.FC<Omit<IconProps, 'name'>> = () =>
React.createElement('div', { children: 'Play Icon - Coming Soon' });
export const PauseIcon: React.FC<Omit<IconProps, 'name'>> = () => (
React.createElement('div', { children: 'Pause Icon - Coming Soon' })
);
export const PauseIcon: React.FC<Omit<IconProps, 'name'>> = () =>
React.createElement('div', { children: 'Pause Icon - Coming Soon' });
export const StopIcon: React.FC<Omit<IconProps, 'name'>> = () => (
React.createElement('div', { children: 'Stop Icon - Coming Soon' })
);
export const StopIcon: React.FC<Omit<IconProps, 'name'>> = () =>
React.createElement('div', { children: 'Stop Icon - Coming Soon' });
export const VolumeUpIcon: React.FC<Omit<IconProps, 'name'>> = () => (
React.createElement('div', { children: 'Volume Up Icon - Coming Soon' })
);
export const VolumeUpIcon: React.FC<Omit<IconProps, 'name'>> = () =>
React.createElement('div', { children: 'Volume Up Icon - Coming Soon' });
export const VolumeOffIcon: React.FC<Omit<IconProps, 'name'>> = () => (
React.createElement('div', { children: 'Volume Off Icon - Coming Soon' })
);
export const VolumeOffIcon: React.FC<Omit<IconProps, 'name'>> = () =>
React.createElement('div', { children: 'Volume Off Icon - Coming Soon' });
export const FullscreenIcon: React.FC<Omit<IconProps, 'name'>> = () => (
React.createElement('div', { children: 'Fullscreen Icon - Coming Soon' })
);
export const FullscreenIcon: React.FC<Omit<IconProps, 'name'>> = () =>
React.createElement('div', { children: 'Fullscreen Icon - Coming Soon' });
export const ExitFullscreenIcon: React.FC<Omit<IconProps, 'name'>> = () => (
React.createElement('div', { children: 'Exit Fullscreen Icon - Coming Soon' })
);
export const ExitFullscreenIcon: React.FC<Omit<IconProps, 'name'>> = () =>
React.createElement('div', { children: 'Exit Fullscreen Icon - Coming Soon' });
@@ -10,4 +10,4 @@
},
"include": ["src/**/*"],
"exclude": ["dist", "node_modules"]
}
}
@@ -18,4 +18,4 @@ export default defineConfig({
incremental: false,
},
},
});
});
@@ -40,4 +40,4 @@
"publishConfig": {
"access": "public"
}
}
}
@@ -29,7 +29,7 @@ export interface MediaElementRef {
playbackRate: number;
readyState: number;
networkState: number;
play(): Promise<void>;
pause(): void;
load(): void;
@@ -37,10 +37,8 @@ export interface MediaElementRef {
}
// Placeholder component - will be implemented later
export const VideoElement = React.forwardRef<MediaElementRef, MediaElementProps>(
(_, __) => {
return React.createElement('div', { children: 'React Native VideoElement - Coming Soon' });
}
);
export const VideoElement = React.forwardRef<MediaElementRef, MediaElementProps>((_, __) => {
return React.createElement('div', { children: 'React Native VideoElement - Coming Soon' });
});
VideoElement.displayName = 'VideoElement';
VideoElement.displayName = 'VideoElement';
@@ -10,4 +10,4 @@
},
"include": ["src/**/*"],
"exclude": ["dist", "node_modules"]
}
}
@@ -18,4 +18,4 @@ export default defineConfig({
incremental: false,
},
},
});
});
@@ -43,4 +43,4 @@
"publishConfig": {
"access": "public"
}
}
}
@@ -31,5 +31,5 @@ export const Player: React.FC<PlayerProps> = () => {
// Re-export placeholder packages (will be available at runtime)
// @ts-ignore - Package imports for placeholder stubs
export * from '@vjs-10/react-native-icons';
// @ts-ignore - Package imports for placeholder stubs
export * from '@vjs-10/react-native-media-elements';
// @ts-ignore - Package imports for placeholder stubs
export * from '@vjs-10/react-native-media-elements';
@@ -10,4 +10,4 @@
},
"include": ["src/**/*"],
"exclude": ["dist", "node_modules"]
}
}
@@ -18,4 +18,4 @@ export default defineConfig({
incremental: false,
},
},
});
});