New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-box-lite

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-box-lite - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6-beta.1

src/animations/useAnimationPlaceholder.tsx

2

package.json
{
"name": "react-native-box-lite",
"version": "0.1.5",
"version": "0.1.6-beta.1",
"scripts": {

@@ -5,0 +5,0 @@ "lint": "eslint .",

@@ -0,0 +0,0 @@ # react-native-box-lite

@@ -0,0 +0,0 @@ export const COLORS = {

@@ -0,0 +0,0 @@ import {BORDER_RADIUS, LINE_HEIGHT_SIZE, SIZE_SPACE, TEXT_SIZE} from './Spaces';

@@ -0,0 +0,0 @@ export const SIZE_SPACE = {

@@ -0,0 +0,0 @@ declare module '*.png' {

export {default as withElementBox} from './withElementBox';
export {default as withButtonBox} from './withButtonBox';

@@ -0,0 +0,0 @@ import useClassName from './useClassName';

@@ -0,0 +0,0 @@ import {useMemo} from 'react';

export * from './utils';
export * from './components';
export * from './atomic';
export * from './model';
export * from './hook';
export * from './config';

@@ -313,1 +313,32 @@ export type Varian = 'primary' | 'outline' | 'secondary' | 'dark' | 'light';

}
export interface AnimationPlaceholderType {
animationType?: 'opacity' | 'shine';
classShine?: string;
}
export interface PlaceholderProps extends AnimationPlaceholderType {
className?: string;
placeholderType?: 'line' | 'media' | 'none';
randomWidth?: boolean;
disableAnimation?: boolean;
children?: ReactNode;
}
export interface PlaceholderBaseProps {
classLine?: string;
classCard?: string;
classMedia?: string;
classContainerLine?: string;
numberLine?: number;
halfWidth?: boolean;
randomWidth?: boolean;
}
export interface PlaceholderBoxProps extends AnimationPlaceholderType {
length?: number;
classContainer?: string;
placeholderType?: 'line' | 'media' | 'card';
placeholderItem?: PlaceholderBaseProps;
disableAnimation?: boolean;
}

@@ -0,0 +0,0 @@ import {StyleSheet} from 'react-native';

@@ -0,0 +0,0 @@ import {styleConfig} from './Theme.styles';

@@ -0,0 +0,0 @@ import {StyleSheet} from 'react-native';

@@ -22,1 +22,4 @@ import {OnEndReachedProps} from '../model';

export const isNumber = (value: any) => typeof value === 'number';
export const randomIndex = (length: number) =>
Math.floor(Math.random() * length);
export * from './resize.util';
export * from './helper.util';

@@ -1,2 +0,2 @@

import {Dimensions, NativeModules, Platform} from 'react-native';
import {Dimensions, StatusBar, Platform} from 'react-native';

@@ -9,4 +9,3 @@ const {width, height} = Dimensions.get('window');

const guidelineBaseHeight = 812;
const {StatusBarManager} = NativeModules;
const heightStatusbar = StatusBarManager.HEIGHT;
const heightStatusbar = StatusBar.currentHeight || 0;

@@ -13,0 +12,0 @@ const horizontalScale = (size: number) =>

@@ -0,0 +0,0 @@ import {CONFIG_BOX} from '../config';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc