react-native-box-lite
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "react-native-box-lite", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "lint": "eslint .", |
@@ -0,0 +0,0 @@ # react-native-box-lite |
export {default as RadioGroup} from './RadioGroup'; | ||
export {default as CheckboxGroup} from './CheckboxGroup'; |
@@ -1,4 +0,1 @@ | ||
import Text from './text'; | ||
import Button from './button'; | ||
import Box from './box'; | ||
import RadioButton from './radioButton'; | ||
@@ -13,14 +10,10 @@ import Checkbox from './checkbox'; | ||
import MultiSelectDropdown from './multiSelectDropdown'; | ||
import ScrollViewBox from './scrollViewBox'; | ||
import FlatListBox from './flatListBox'; | ||
export * from './groups'; | ||
export * from './textInput'; | ||
export * from './box'; | ||
export * from './button'; | ||
export { | ||
Text, | ||
Button, | ||
RadioButton, | ||
Checkbox, | ||
ImageBox, | ||
Box, | ||
SwitchBox, | ||
@@ -32,4 +25,2 @@ ProgressBar, | ||
MultiSelectDropdown, | ||
ScrollViewBox, | ||
FlatListBox, | ||
}; |
export {default as TextInputBox} from './TextInput'; |
@@ -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' { |
@@ -7,2 +7,3 @@ import useClassName from './useClassName'; | ||
import useStateVisible from './useStateVisible'; | ||
import useClassVirtualizedList from './useClassVirtualizedList'; | ||
@@ -16,2 +17,3 @@ export { | ||
useStateVisible, | ||
useClassVirtualizedList, | ||
}; |
@@ -0,0 +0,0 @@ export * from './utils'; |
@@ -0,0 +0,0 @@ export enum ScaleType { |
import { | ||
GestureResponderEvent, | ||
ImageResizeMode, | ||
@@ -10,4 +11,4 @@ ImageSourcePropType, | ||
TextProps, | ||
TouchableOpacityProps, | ||
ViewProps, | ||
ViewStyle, | ||
} from 'react-native'; | ||
@@ -25,3 +26,4 @@ import {ImageModuleType, Varian, VarianCheckbox, VarianColor} from '.'; | ||
export interface ButtonComponentProps extends TouchableOpacityProps { | ||
export interface ButtonComponentProps { | ||
style?: StyleProp<ViewStyle>; | ||
className?: string; | ||
@@ -36,2 +38,4 @@ classNameText?: string; | ||
rightContent?: ReactNode; | ||
children?: ReactNode; | ||
onPress?: (e: GestureResponderEvent) => void; | ||
} | ||
@@ -143,3 +147,3 @@ | ||
pickLabel?: keyof ItemT; | ||
onChange?: (value?: ItemT) => void; | ||
onChange?: (value: ItemT) => void; | ||
} | ||
@@ -272,2 +276,3 @@ | ||
value?: Array<number | string>; | ||
classContentSelected?: VirtualListClassProps; | ||
onPressSelectedItem?: (item: ItemT) => void; | ||
@@ -280,1 +285,10 @@ renderButtonAction?: ( | ||
} | ||
export interface VirtualListClassProps { | ||
className?: string; | ||
classContent?: string; | ||
classColWrapper?: string; | ||
classIndicator?: string; | ||
classHeader?: string; | ||
classFooter?: string; | ||
} |
export * from './classStyle'; | ||
export * from './component'; | ||
export type Varian = 'primary' | 'outline' | 'dark' | 'light'; | ||
export type Varian = 'primary' | 'outline' | 'secondary' | 'dark' | 'light'; | ||
@@ -6,0 +6,0 @@ export type VarianCheckbox = |
@@ -0,0 +0,0 @@ import {StyleSheet} from 'react-native'; |
@@ -9,2 +9,3 @@ import {flexStyles} from './Flex.styles'; | ||
import {createSizeCustomStyles} from '../utils/styles'; | ||
import {StyleProp} from 'react-native'; | ||
@@ -21,3 +22,3 @@ const classStyles = { | ||
export const getClassNameStyles = (className: string): Object => { | ||
export const getClassNameStyles = (className: string): StyleProp<any> => { | ||
try { | ||
@@ -24,0 +25,0 @@ if (className.length > 0) { |
@@ -0,0 +0,0 @@ import {StyleSheet} from 'react-native'; |
export * from './ClassStyles'; |
@@ -0,0 +0,0 @@ import {StyleSheet} from 'react-native'; |
@@ -0,0 +0,0 @@ import {StyleSheet} from 'react-native'; |
@@ -0,0 +0,0 @@ import {StyleSheet} from 'react-native'; |
@@ -0,0 +0,0 @@ import {StyleSheet} from 'react-native'; |
@@ -0,0 +0,0 @@ import {OnEndReachedProps} from '../model'; |
export * from './resize.util'; | ||
export * from './helper.util'; |
@@ -0,0 +0,0 @@ import {Dimensions, NativeModules, Platform} from 'react-native'; |
@@ -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 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 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
434521
7639
72