docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
listlengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
export interface InterfaceToastProps extends InterfaceBoxProps<IToastProps> {
<mask> import type { IAlertProps } from '../Alert/types'; <mask> import type { ReactNode } from 'react'; <mask> import type { IBoxProps } from '../../primitives/Box'; <mask> <mask> export interface IToastProps extends IBoxProps<IToastProps> { <mask> /** <mask> * The title to be rendered in the Toast <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Toast/types.ts
export type IToastProps = InterfaceToastProps | CustomProps<'Toast'>;
<mask> visibleToasts: any; <mask> setVisibleToasts: any; <mask> hideToast: (id: any) => void; <mask> }; </s> fix: custom prop typing fixes </s> remove export type ITypeaheadProps = IBoxProps<ITypeaheadProps> & { </s> add export type ITypeaheadProps = InterfaceBoxProps<ITypeaheadProps> & { </s> remove import...
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Toast/types.ts
import Box from '../../primitives/Box'; import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import { composeEventHandlers, mergeRefs } from '../../../utils'; <mask> import { PresenceTransition } from '../Transitions'; <mask> import { Platform, StyleSheet } from 'react-native'; <mask> import { usePropsResolution } from '../../../hooks'; <mask> import Box, { IBoxProps } from '../../primitives/Box'; ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tooltip/Tooltip.tsx
import type { CustomProps } from 'src/components/types';
<mask> import Box from '../../primitives/Box'; <mask> import type { InterfaceBoxProps } from '../../primitives/Box'; <mask> import { useId } from '@react-aria/utils'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> <mask> interface InterfaceTooltipProps extends Interfa...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tooltip/Tooltip.tsx
interface InterfaceTooltipProps extends InterfaceBoxProps<ITooltipProps> {
<mask> import Box, { IBoxProps } from '../../primitives/Box'; <mask> import { useId } from '@react-aria/utils'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> <mask> interface ITooltipProps extends IBoxProps<ITooltipProps> { <mask> /** <mask> * Text to be placed...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tooltip/Tooltip.tsx
export type ITooltipProps = InterfaceTooltipProps | CustomProps<'Tooltip'>;
<mask> */ <mask> offset?: number; <mask> } <mask> <mask> export const Tooltip = ({ <mask> label, <mask> children, <mask> onClose, </s> fix: custom prop typing fixes </s> remove isCustom={true} variant="myNewButton" myPadding={1} </s> add
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tooltip/Tooltip.tsx
import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import type { ReactNode } from 'react'; <mask> import type { ViewProps } from 'react-native'; <mask> import type { IBoxProps } from '../../primitives'; <mask> <mask> export type IFadeProps = IBoxProps<IFadeProps> & { <mask> in?: boolean; <mask> entryDuration?: number; <mask> exitDuration?: number;...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Transitions/types.tsx
export type IFadeProps = InterfaceBoxProps<IFadeProps> & {
<mask> import type { ReactNode } from 'react'; <mask> import type { ViewProps } from 'react-native'; <mask> import type { IBoxProps } from '../../primitives'; <mask> <mask> export type IFadeProps = IBoxProps<IFadeProps> & { <mask> in?: boolean; <mask> entryDuration?: number; <mask> exitDuration?: number;...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Transitions/types.tsx
export type IScaleFadeProps = InterfaceBoxProps<IScaleFadeProps> & {
<mask> entryDuration?: number; <mask> exitDuration?: number; <mask> delay?: number; <mask> }; <mask> export type IScaleFadeProps = IBoxProps<IScaleFadeProps> & { <mask> in?: boolean; <mask> duration?: number; <mask> delay?: number; <mask> initialScale?: number; <mask> }; </s> fix: custom prop t...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Transitions/types.tsx
export type ISlideProps = InterfaceBoxProps<ISlideProps> & {
<mask> duration?: number; <mask> delay?: number; <mask> initialScale?: number; <mask> }; <mask> export type ISlideProps = IBoxProps<ISlideProps> & { <mask> in?: boolean; <mask> duration?: number; <mask> delay?: number; <mask> placement?: 'top' | 'bottom' | 'right' | 'left'; <mask> overlay?: bo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Transitions/types.tsx
export type ISlideFadeProps = InterfaceBoxProps<ISlideFadeProps> & {
<mask> delay?: number; <mask> placement?: 'top' | 'bottom' | 'right' | 'left'; <mask> overlay?: boolean; <mask> }; <mask> export type ISlideFadeProps = IBoxProps<ISlideFadeProps> & { <mask> in?: boolean; <mask> delay?: number; <mask> duration?: number; <mask> offsetX?: number; <mask> offsetY?:...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Transitions/types.tsx
import type { InterfaceBoxProps } from '../../primitives/Box/types';
<mask> import type { IBoxProps } from '../../primitives/Box/types'; <mask> <mask> export type ITypeaheadProps = IBoxProps<ITypeaheadProps> & { <mask> options: any[]; <mask> renderItem?: (item: any) => any; <mask> onChange?: (value: string) => void; </s> fix: custom prop typing fixes </s> remove export typ...
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Typeahead/types.ts
export type ITypeaheadProps = InterfaceBoxProps<ITypeaheadProps> & {
<mask> import type { IBoxProps } from '../../primitives/Box/types'; <mask> <mask> export type ITypeaheadProps = IBoxProps<ITypeaheadProps> & { <mask> options: any[]; <mask> renderItem?: (item: any) => any; <mask> onChange?: (value: string) => void; <mask> toggleIcon?: any; <mask> dropdownHeight?: num...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Typeahead/types.ts
import type { IBoxProps, InterfaceBoxProps } from './types';
<mask> import { View } from 'react-native'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import Text from './../Text'; <mask> import { makeStyledComponent } from '../../../utils/styled'; <mask> import type { IBoxProps } from './types'; <mask> import { useSafeArea } from '../../...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Box/index.tsx
export type { IBoxProps, InterfaceBoxProps };
<mask> </StyledBox> <mask> ); <mask> }; <mask> <mask> export type { IBoxProps }; <mask> <mask> export default memo(forwardRef(Box)); </s> fix: custom prop typing fixes </s> remove export interface IPopoverProps { </s> add export interface InterfacePopoverProps { </s> remove export interface ICenterProp...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Box/index.tsx
export interface InterfaceBoxProps<T = null>
<mask> location?: Array<number>; <mask> }; <mask> } <mask> <mask> interface BoxProps<T = null> <mask> extends ViewProps, <mask> SafeAreaProps, <mask> PlatformProps<T extends null ? IBoxProps<any> : T>, <mask> Omit<StyledProps, 'bgColor' | 'background' | 'bg' | 'backgroundColor'> { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Box/types.ts
export type IBoxProps<T = null> = InterfaceBoxProps<T> | CustomProps<'Box'>;
<mask> >; <mask> // gap?: ResponsiveValue<number | string>; <mask> } <mask> <mask> export type IBoxProps<T = null> = BoxProps<T> | CustomProps<'Box'>; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../types/utils'; import...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Box/types.ts
<mask> import type { ITextProps } from './../Text/types'; <mask> import type { IPressableProps } from '../Pressable'; <mask> import type { IStackProps } from '../Stack'; <mask> import type { ResponsiveValue } from '../../types'; <mask> import type { MutableRefObject } from 'react'; <mask> import type { ISizes } f...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Button/types.ts
CombinedSizeType,
<mask> import type { ResponsiveValue } from '../../types'; <mask> import type { MutableRefObject } from 'react'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { <mask> CustomProps, <mask> VariantType, <mask> // VariantType, <mask> // VariantTypeTest, <mask> } from '...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Button/types.ts
import type { InterfacePressableProps } from '../Pressable/types';
<mask> } from '../../../components/types/utils'; <mask> import type { ISpinnerProps } from '../Spinner/types'; <mask> <mask> // const myFunction = ({ a, b }) => { <mask> // return { a: a, b: b }; <mask> // }; <mask> <mask> // type returnType = ReturnType<typeof myFunction>; </s> fix: custom prop typing fix...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Button/types.ts
export type IButtonProps = InterfaceButtonProps | CustomProps<'Button'>;
<mask> (props: IButtonGroupProps & { ref?: MutableRefObject<any> }) => JSX.Element <mask> >; <mask> }; <mask> <mask> export type IButtonProps = ButtonProps | CustomProps<'Button'>; </s> fix: custom prop typing fixes </s> remove (props: IIconProps & { ref?: any }) => JSX.Element </s> add (props: In...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Button/types.ts
export interface InterfaceCheckbox extends InterfaceBoxProps<ICheckboxProps> {
<mask> import type { ResponsiveValue } from '../../../components/types'; <mask> <mask> export type ICheckboxValue = string; <mask> <mask> export interface ICheckboxProps extends IBoxProps<ICheckboxProps> { <mask> /** <mask> * assign id to checkbox <mask> */ <mask> id?: string; <mask> /** </s> f...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Checkbox/types.tsx
import type { CustomProps } from '../../types/utils'; import type { InterfaceBoxProps } from '../Box/types'; // import type { IBoxProps } from '../Box';
<mask> import type * as CSS from 'csstype'; <mask> import type { IBoxProps } from '../Box'; <mask> <mask> export type IGridItemProps = IBoxProps<IGridItemProps> & { <mask> gap?: CSS.Property.Gap; <mask> rowSpan?: number; <mask> colSpan?: number; </s> fix: custom prop typing fixes </s> remove import { def...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/GridItem/props.ts
export interface InterfaceHiddenProps {
<mask> type LiteralUnion<T extends U, U = string> = T | (U & {}); <mask> <mask> export interface IHiddenProps { <mask> /** <mask> * The from prop takes breakpoint from which the wrapped component is hidden. <mask> */ <mask> from?: LiteralUnion<'base' | 'sm' | 'md' | 'lg' | 'xl'>; <mask> /** </s> f...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Hidden/types.ts
import type { CustomProps, ThemeComponentSizeType } from '../../types/utils'; export interface InterfaceIconProps
<mask> import type { ResponsiveValue } from '../../types/responsiveValue'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { SvgProps } from 'react-native-svg'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> export interface IIconProps <mask> extends ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Icon/types.ts
size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Icon'>;
<mask> // viewBox?: string; <mask> /** <mask> * The size of the icon. <mask> */ <mask> size?: ResponsiveValue<ISizes | (string & {}) | number>; <mask> <mask> /** <mask> * The color of the icon. <mask> */ <mask> // color?: string; </s> fix: custom prop typing fixes </s> remove size?: ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Icon/types.ts
export type IIconProps = InterfaceIconProps | CustomProps<'Icon'>;
<mask> * The path of the SVG icon. <mask> */ <mask> d?: string; <mask> } </s> fix: custom prop typing fixes </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Icon'>; </s> remove expo...
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Icon/types.ts
import type { CustomProps, PlatformProps } from '../../types';
<mask> import type { ImageProps, ImageSourcePropType } from 'react-native'; <mask> import type { StyledProps } from '../../../theme/types'; <mask> import type { ITextProps } from '../../primitives'; <mask> import type { PlatformProps } from '../../types'; <mask> <mask> export interface IImageProps <mask> exte...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Image/types.ts
export interface InterfaceImageProps
<mask> import type { StyledProps } from '../../../theme/types'; <mask> import type { ITextProps } from '../../primitives'; <mask> import type { PlatformProps } from '../../types'; <mask> <mask> export interface IImageProps <mask> extends PlatformProps<IImageProps>, <mask> Omit< <mask> ImageProps, ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Image/types.ts
export type IImageProps = InterfaceImageProps | CustomProps<'Image'>;
<mask> * specify a source for image. <mask> */ <mask> src?: string; <mask> } </s> fix: custom prop typing fixes </s> remove export interface IMenuProps extends IBoxProps<IMenuProps> { </s> add export interface InterfaceMenuProps extends InterfaceBoxProps<IMenuProps> { </s> remove export interface IAvatarP...
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Image/types.ts
import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types';
<mask> import type { TextInputProps } from 'react-native'; <mask> import type { StyledProps } from '../../../theme/types'; <mask> import type { PlatformProps, VariantType } from '../../types'; <mask> import type { IBoxProps } from '../Box'; <mask> import type { ResponsiveValue } from '../../../components/types'; ...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Input/types.ts
import type { CustomProps } from '../../types';
<mask> import type { IBoxProps } from '../Box'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface InterfaceInputProps <mask> extends PlatformProps<IInputProps>, <mask> Omit<TextInputProps,...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Input/types.ts
export interface InterfaceInputProps
<mask> import type { IBoxProps } from '../Box'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IInputProps <mask> extends PlatformProps<IInputProps>, <mask> Omit<TextInputProps, 'textAl...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Input/types.ts
size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Input'>;
<mask> /** <mask> * The size of the input. <mask> * @default 'md' <mask> */ <mask> size?: ResponsiveValue<ISizes | (string & {}) | number>; <mask> /** <mask> * This will set aria-required="true" on web when passed in formcontrol. <mask> */ <mask> isRequired?: boolean; <mask> /** </s>...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Input/types.ts
export type IInputProps = InterfaceInputProps | CustomProps<'Input'>;
<mask> * @default 'md' <mask> */ <mask> size?: ResponsiveValue<ISizes | (string & {}) | number>; <mask> } </s> fix: custom prop typing fixes </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentS...
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Input/types.ts
import type { CustomProps, ThemeComponentSizeType } from '../../types'; import type { InterfaceBoxProps } from '../Box/types';
<mask> import type { MutableRefObject } from 'react'; <mask> import type { GestureResponderEvent } from 'react-native'; <mask> import type { IBoxProps } from '../Box'; <mask> <mask> export interface ILinkProps extends IBoxProps<ILinkProps> { <mask> /** <mask> * URL that should be opened on Link press <mas...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Link/types.ts
export interface InterfaceLinkProps extends InterfaceBoxProps<ILinkProps> {
<mask> import type { MutableRefObject } from 'react'; <mask> import type { GestureResponderEvent } from 'react-native'; <mask> import type { IBoxProps } from '../Box'; <mask> <mask> export interface ILinkProps extends IBoxProps<ILinkProps> { <mask> /** <mask> * URL that should be opened on Link press <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Link/types.ts
size?: | '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number | ThemeComponentSizeType<'Link'>;
<mask> href?: string | undefined; <mask> /** <mask> * Size of the link <mask> */ <mask> size?: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number; <mask> /** <mask> * Whether Link text should be underlined <mask> */ <mask> isUnderlined?: boolean | undefined; <mask> /** </s> fix: custo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Link/types.ts
import type { CustomProps, PlatformProps } from '../../types'; export interface InterfacePressableProps<T = IPressableProps>
<mask> import type { PressableProps } from 'react-native'; <mask> import type { StyledProps } from '../../../theme/types'; <mask> import type { PlatformProps } from '../../types'; <mask> export interface IPressableProps<T = IPressableProps<unknown>> <mask> extends PressableProps, <mask> StyledProps, <mask>...
[ "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Pressable/types.ts
import type { CustomProps } from '../../types';
<mask> import type { MutableRefObject } from 'react'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> export type IRadioValue = string; <mask> <mask> export type IRadioGroupOnChangeHandler = (value: IRadioValue) => an...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Radio/types.tsx
export interface InterfaceRadioProps extends IBoxProps<IRadioProps> {
<mask> export type IRadioValue = string; <mask> <mask> export type IRadioGroupOnChangeHandler = (value: IRadioValue) => any; <mask> <mask> export interface IRadioProps extends IBoxProps<IRadioProps> { <mask> /** <mask> * The value to be used in the radio input. This is the value that will be returned on f...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Radio/types.tsx
import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import type { IBoxProps } from '../Box'; <mask> import type { IButtonProps } from '../Button'; <mask> import type { IActionsheetContentProps } from '../../composites/Actionsheet/types'; <mask> import type { MutableRefObject } from 'react'; <mask> import type { ResponsiveValue } from '../../../components/typ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Select/types.ts
import type { InterfaceButtonProps } from '../Button/types';
<mask> import type { IActionsheetContentProps } from '../../composites/Actionsheet/types'; <mask> import type { MutableRefObject } from 'react'; <mask> import type { CustomProps, ResponsiveValue } from '../../../components/types'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> <mask> ex...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Select/types.ts
export interface InterfaceSelectProps extends IBoxProps<ISelectProps> {
<mask> import type { MutableRefObject } from 'react'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> <mask> export interface ISelectProps extends IBoxProps<ISelectProps> { <mask> /** <mask> * The placeholder ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Select/types.ts
export interface ISelectItemProps extends InterfaceButtonProps {
<mask> */ <mask> wrapperRef?: MutableRefObject<any>; <mask> } <mask> <mask> export interface ISelectItemProps extends IButtonProps { <mask> /** <mask> * The label which will be displayed. <mask> */ <mask> label: string; <mask> /** </s> fix: custom prop typing fixes </s> remove interface ITo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Select/types.ts
import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../Box';
<mask> import type { MutableRefObject } from 'react'; <mask> import type { IBoxProps } from '../Box'; <mask> <mask> export interface ISliderProps extends IBoxProps<ISliderProps> { <mask> /** The current value of the Slider */ <mask> value?: number; <mask> /** The default value (uncontrolled). */ </s> fix...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Slider/types.tsx
export interface InterfaceSliderProps extends InterfaceBoxProps<ISliderProps> {
<mask> import type { MutableRefObject } from 'react'; <mask> import type { IBoxProps } from '../Box'; <mask> <mask> export interface ISliderProps extends IBoxProps<ISliderProps> { <mask> /** The current value of the Slider */ <mask> value?: number; <mask> /** The default value (uncontrolled). */ <mask> ...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Slider/types.tsx
export interface ISliderTrackProps extends InterfaceBoxProps<ISliderTrackProps> {
<mask> /** Props applied if isReadOnly is true. */ <mask> _readOnly?: any; <mask> } <mask> <mask> export interface ISliderTrackProps extends IBoxProps<ISliderTrackProps> { <mask> /** Whether the whole Slider is readonly. */ <mask> isReadOnly?: boolean; <mask> /** Props applied if isDisabled is true. ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Slider/types.tsx
extends InterfaceBoxProps<ISliderTrackFilledProps> {
<mask> _readOnly?: any; <mask> } <mask> <mask> export interface ISliderTrackFilledProps <mask> extends IBoxProps<ISliderTrackFilledProps> { <mask> /** Whether the whole Slider is readonly. */ <mask> isReadOnly?: boolean; <mask> /** Props applied if isDisabled is true. */ <mask> _disabled?: any; <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Slider/types.tsx
export interface ISliderThumbProps extends InterfaceBoxProps<ISliderThumbProps> {
<mask> /** Props applied if isReadOnly is true. */ <mask> _readOnly?: any; <mask> } <mask> <mask> export interface ISliderThumbProps extends IBoxProps<ISliderThumbProps> { <mask> /** <mask> * The orientation of the Slider. <mask> * @default 'horizontal' <mask> */ <mask> orientation?: 'horizo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Slider/types.tsx
import type { CustomProps, ResponsiveValue } from '../../../components/types'; export interface InterfaceSpinnerProps
<mask> import type { ActivityIndicatorProps } from 'react-native'; <mask> import type { StyledProps } from '../../../theme/types'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> export interface ISpinnerProps <mask> extends Omit<ActivityIndicatorProps, 'size'>, <mask> Omit<S...
[ "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Spinner/types.tsx
export type ISpinnerProps = InterfaceSpinnerProps | CustomProps<'Spinner'>;
<mask> // | 'squareDotted'; <mask> // duration?: number; <mask> // renderProp?: JSX.Element | JSX.Element[]; <mask> } </s> fix: custom prop typing fixes </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | The...
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Spinner/types.tsx
import StackMain, { InterfaceStackProps } from './Stack';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import StackMain, { IStackProps } from './Stack'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { ResponsiveValue } from '../../types'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasRe...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/HStack.tsx
import type { CustomProps, ResponsiveValue } from '../../types';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import StackMain, { IStackProps } from './Stack'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { ResponsiveValue } from '../../types'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasRe...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/HStack.tsx
export interface InterfaceHStackProps extends InterfaceStackProps {
<mask> import StackMain, { IStackProps } from './Stack'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { ResponsiveValue } from '../../types'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> export interface IHStackProps ext...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/HStack.tsx
export type IHStackProps = InterfaceHStackProps | CustomProps<'HStack'>;
<mask> >; <mask> } <mask> <mask> const HStack = (props: IHStackProps, ref?: any) => { <mask> const resolvedProps = usePropsResolution('HStack', props); <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(props)) { <mask> return null; </s> fix: custom prop typing fixes </s>...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/HStack.tsx
import { default as Box, InterfaceBoxProps } from '../Box';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import { default as Box } from '../Box'; <mask> import { getSpacedChildren } from '../../../utils'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { IBoxProps } from '../Box'; <mask> import { useHasRespons...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/Stack.tsx
<mask> import React, { memo, forwardRef } from 'react'; <mask> import { default as Box } from '../Box'; <mask> import { getSpacedChildren } from '../../../utils'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { IBoxProps } from '../Box'; <mask> import { useHasRespons...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/Stack.tsx
import type { CustomProps, ResponsiveValue, SpaceType } from '../../types';
<mask> import { getSpacedChildren } from '../../../utils'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { IBoxProps } from '../Box'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import type { ResponsiveValue, SpaceType }...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/Stack.tsx
export interface InterfaceStackProps extends InterfaceBoxProps<IStackProps> {
<mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import type { ResponsiveValue, SpaceType } from '../../types'; <mask> import { ResponsiveQueryContext } from '../../../utils/useResponsiveQuery/ResponsiveQueryProvider'; <mask> <mask> export interface IStackProps extends I...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/Stack.tsx
export type IStackProps = InterfaceStackProps | CustomProps<'Stack'>;
<mask> } <mask> <mask> const Stack = ({ space, ...props }: IStackProps, ref?: any) => { <mask> const dir = props.direction; <mask> const { <mask> children, <mask> direction, </s> fix: custom prop typing fixes
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/Stack.tsx
import StackMain, { InterfaceStackProps } from './Stack';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import StackMain, { IStackProps } from './Stack'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { ResponsiveValue } from '../../types'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasRe...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/VStack.tsx
import type { CustomProps, ResponsiveValue } from '../../types';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import StackMain, { IStackProps } from './Stack'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { ResponsiveValue } from '../../types'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasRe...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/VStack.tsx
export interface InterfaceVStackProps extends InterfaceStackProps {
<mask> import StackMain, { IStackProps } from './Stack'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { ResponsiveValue } from '../../types'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> export interface IVStackProps ext...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/VStack.tsx
export type IVStackProps = InterfaceVStackProps | CustomProps<'VStack'>;
<mask> 'column' | 'row' | 'column-reverse' | 'row-reverse' <mask> >; <mask> } <mask> <mask> const VStack = (props: IVStackProps, ref?: any) => { <mask> const resolvedProps = usePropsResolution('VStack', props); <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(props)) { ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Stack/VStack.tsx
import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import type { SwitchProps } from 'react-native'; <mask> import type { StyledProps } from '../../../theme/types'; <mask> <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IColors } from '../../../the...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Switch/types.ts
export interface InterfaceSwitchProps
<mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> <mask> export interface ISwitchProps <mask> extends Omit<SwitchProps, 'tintColor'>, <mask> Style...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Switch/types.ts
import type { CustomProps, PlatformProps, ResponsiveValue } from '../../types';
<mask> IFontWeight, <mask> ILetterSpacing, <mask> ILineHeight, <mask> } from '../../../theme/base/typography'; <mask> import type { PlatformProps, ResponsiveValue } from '../../types'; <mask> import type { VariantType } from '../../../components/types'; <mask> <mask> export interface ITextProps <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Text/types.tsx
export interface InterfaceTextProps
<mask> } from '../../../theme/base/typography'; <mask> import type { PlatformProps, ResponsiveValue } from '../../types'; <mask> import type { VariantType } from '../../../components/types'; <mask> <mask> export interface ITextProps <mask> extends PlatformProps<ITextProps>, <mask> StyledProps, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Text/types.tsx
export type ITextProps = InterfaceTextProps | CustomProps<'Text'>;
<mask> * Text component variant typings. Refer extendTheme <mask> */ <mask> variant?: VariantType<'Text'>; <mask> } </s> fix: custom prop typing fixes </s> remove export interface IBadgeProps extends IBoxProps<IBadgeProps> { </s> add export interface InterfaceBadgeProps extends IBoxProps<IBadgeProps> { </...
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/Text/types.tsx
import { Input } from '../Input'; import type { InterfaceInputProps } from '../Input/types';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import { Input, IInputProps } from '../Input'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> export interface ITextAreaProps extends...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/TextArea/index.tsx
export interface ITextAreaProps extends InterfaceInputProps {
<mask> import React, { memo, forwardRef } from 'react'; <mask> import { Input, IInputProps } from '../Input'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> export interface ITextAreaProps extends...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/TextArea/index.tsx
import type { CustomProps, SafeAreaProps } from '../../../components/types';
<mask> import type { ViewProps } from 'react-native'; <mask> import type { SafeAreaProps } from '../../../components/types'; <mask> import type { StyledProps } from '../../../theme/types'; <mask> <mask> export type IViewProps = ViewProps & <mask> StyledProps & <mask> SafeAreaProps & { </s> fix: custom prop...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/View/types.ts
export type IViewProps = | (ViewProps & StyledProps & SafeAreaProps & { children?: any; }) | CustomProps<'View'>;
<mask> import type { ViewProps } from 'react-native'; <mask> import type { SafeAreaProps } from '../../../components/types'; <mask> import type { StyledProps } from '../../../theme/types'; <mask> <mask> export type IViewProps = ViewProps & <mask> StyledProps & <mask> SafeAreaProps & { <mask> children?:...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/View/types.ts
import type { CustomProps } from '../../../components/types';
<mask> import { default as Box, IBoxProps } from '../Box'; <mask> import { getAbsoluteChildren } from '../../../utils'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> <mask> export interface Int...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/ZStack/index.tsx
export interface InterfaceZStackProps extends IBoxProps<IZStackProps> {
<mask> import { getAbsoluteChildren } from '../../../utils'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> <mask> export interface IZStackProps extends IBoxProps<IZStackProps> { <mask> /** <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/ZStack/index.tsx
export type IZStackProps = InterfaceZStackProps | CustomProps<'ZStack'>;
<mask> } <mask> <mask> const ZStack = ({ children, reversed, ...props }: IZStackProps, ref?: any) => { <mask> const resolvedProps = usePropsResolution('ZStack', props); <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(props)) { </s> fix: custom prop typing fixes </s> remove ...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/primitives/ZStack/index.tsx
export type ThemeComponentSizeType< Component extends keyof ITheme['components'] > = 'sizes' extends keyof ITheme['components'][Component] ? ResponsiveValue< keyof ITheme['components'][Component]['sizes'] | (string & {}) > : never; export type CombinedSizeType<Component extends keyof ITheme['components...
<mask> keyof ITheme['sizes'] | (string & {}) | number <mask> >; <mask> <mask> export type ColorType = ResponsiveValue< <mask> Leaves<ITheme['colors']> | (string & {}) <mask> >; <mask> <mask> type ComponentType<T extends keyof ITheme['components']> = { <mask> [Property in keyof ITheme['components'][T]]:...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/types/utils.ts
import React, { useContext, memo, forwardRef, useEffect } from 'react';
<mask> import { usePropsResolution } from '../../../hooks'; <mask> import React from 'react'; <mask> import { default as Box, IBoxProps } from '../../primitives/Box'; <mask> import { PopoverContext } from './PopoverContext'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mas...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/60c1031d232c2662716f6811f6e49e8d98975189
src/components/composites/Popover/PopoverBody.tsx
<mask> <Popper.Content <mask> nativeID={popoverContentId} <mask> {...accessibilityProps} <mask> {...resolvedProps} <mask> {...props} <mask> ref={ref} <mask> > <mask> {arrowElement} <mask> {restChildren} <mask> </Popper.Content> </s> fi...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/60c1031d232c2662716f6811f6e49e8d98975189
src/components/composites/Popover/PopoverContent.tsx
return <Box nativeID={headerId} {...resolvedProps} ref={ref} />;
<mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(props)) { <mask> return null; <mask> } <mask> return ( <mask> <Box <mask> //@ts-ignore <mask> accessibilityRole={Platform.OS === 'web' ? 'banner' : undefined} <mask> nativeID={headerId} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/60c1031d232c2662716f6811f6e49e8d98975189
src/components/composites/Popover/PopoverHeader.tsx
const additionalStyles: any = {
<mask> } <mask> ); <mask> <mask> const getArrowStyles = (props: IArrowStyles) => { <mask> let additionalStyles: any = { <mask> transform: [], <mask> }; <mask> <mask> const diagonalLength = getDiagonalLength( <mask> defaultArrowHeight, </s> fix: popover fixes and theme sepration </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/60c1031d232c2662716f6811f6e49e8d98975189
src/components/composites/Popper/Popper.tsx
<ChevronDownIcon {...customDropdownIconProps} />
<mask> dropdownCloseIcon <mask> ) : dropdownIcon ? ( <mask> dropdownIcon <mask> ) : ( <mask> <ChevronDownIcon {...customDropdownIconProps} mr="3" /> <mask> ); <mask> <mask> const handleClose = () => { <mask> setIsOpen(false); <mask> onClose && onClose(); </s> fixs: mo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6124a7953290969c54b85bd1e2fd1167b368f7b7
src/components/primitives/Select/Select.tsx
customDropdownIconProps: { color: 'muted.500', mr: '3' },
<mask> baseStyle: (props: Record<string, any>) => { <mask> const { theme } = props; <mask> return { <mask> _light: { <mask> customDropdownIconProps: { color: 'muted.500' }, <mask> _hover: { <mask> borderColor: 'primary.600', <mask> }, <mask> _focus: { ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6124a7953290969c54b85bd1e2fd1167b368f7b7
src/theme/components/select.ts
customDropdownIconProps: { color: 'muted.400', mr: '3' },
<mask> }, <mask> }, <mask> <mask> _dark: { <mask> customDropdownIconProps: { color: 'muted.400' }, <mask> _hover: { <mask> borderColor: 'primary.500', <mask> }, <mask> _focus: { <mask> borderColor: 'primary.500', </s> fixs: moving space...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6124a7953290969c54b85bd1e2fd1167b368f7b7
src/theme/components/select.ts
brandPrimary: "#007aff",
<mask> // Card <mask> cardDefaultBg: "#fff", <mask> <mask> // Color <mask> brandPrimary: platform === "ios" ? "#007aff" : "#3F51B5", <mask> brandInfo: "#62B1F6", <mask> brandSuccess: "#5cb85c", <mask> brandDanger: "#d9534f", <mask> brandWarning: "#f0ad4e", <mask> brandDark: "#000", </s> Mo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6162acb0a41e2f87a5d62bb5f71a505815f7dffc
src/theme/variables/platform.js
tabBarTextColor: "#2874F0",
<mask> footerDefaultBg: platform === "ios" ? "#F8F8F8" : "#4179F7", <mask> footerPaddingBottom: isIphoneX ? 34 : 0, <mask> <mask> // FooterTab <mask> tabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", <mask> tabBarTextSize: platform === "ios" ? 14 : 11, <mask> activeTab: platform === "ios"...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6162acb0a41e2f87a5d62bb5f71a505815f7dffc
src/theme/variables/platform.js
activeTab: "#fff",
<mask> <mask> // FooterTab <mask> tabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", <mask> tabBarTextSize: platform === "ios" ? 14 : 11, <mask> activeTab: platform === "ios" ? "#007aff" : "#fff", <mask> sTabBarActiveTextColor: "#007aff", <mask> tabBarActiveTextColor: platform === "ios" ? ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6162acb0a41e2f87a5d62bb5f71a505815f7dffc
src/theme/variables/platform.js
tabBarActiveTextColor: "#2874F0", tabActiveBgColor: "#cde1f9",
<mask> tabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", <mask> tabBarTextSize: platform === "ios" ? 14 : 11, <mask> activeTab: platform === "ios" ? "#007aff" : "#fff", <mask> sTabBarActiveTextColor: "#007aff", <mask> tabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", <mask> ta...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6162acb0a41e2f87a5d62bb5f71a505815f7dffc
src/theme/variables/platform.js
toolbarBtnColor: "#007aff",
<mask> topTabBarBorderColor: platform === "ios" ? "#a7a6ab" : "#fff", <mask> topTabBarActiveBorderColor: platform === "ios" ? "#007aff" : "#fff", <mask> <mask> // Header <mask> toolbarBtnColor: platform === "ios" ? "#007aff" : "#fff", <mask> toolbarDefaultBg: platform === "ios" ? "#F8F8F8" : "#3F51B5",...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6162acb0a41e2f87a5d62bb5f71a505815f7dffc
src/theme/variables/platform.js
toolbarBtnTextColor: "#000", toolbarDefaultBorder: "#a7a6ab",
<mask> toolbarSearchIconSize: platform === "ios" ? 20 : 23, <mask> toolbarInputColor: platform === "ios" ? "#CECDD2" : "#fff", <mask> searchBarHeight: platform === "ios" ? 30 : 40, <mask> searchBarInputHeight: platform === "ios" ? 30 : 50, <mask> toolbarBtnTextColor: platform === "ios" ? "#007aff" : "#ff...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6162acb0a41e2f87a5d62bb5f71a505815f7dffc
src/theme/variables/platform.js
// export * from './components/composites/Card'; export * from './components/composites/Card';
<mask> // export * from './components/composites/Wrap'; <mask> export * from './components/primitives/ZStack'; <mask> <mask> // Hooks <mask> export * from './hooks/useBreakpointValue'; <mask> export * from './hooks/useClipboard'; </s> feat: api and example added
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/619eb823b2285adb05b15d2828f99f6f0ff448a3
example/storybook/stories/index.ts
export { default as Card } from "./Card";
<mask> <mask> export { default as Badge } from './Badge'; <mask> export type { IBadgeProps } from './Badge'; <mask> <mask> export { default as IconButton } from './IconButton'; <mask> export type { IIconButtonProps } from './IconButton'; <mask> <mask> export { Alert } from './Alert'; <mask> export type { IA...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/619eb823b2285adb05b15d2828f99f6f0ff448a3
src/components/composites/index.ts
Card,
<mask> IAspectRatioProps, <mask> Avatar, <mask> Breadcrumb, <mask> IBreadcrumbProps, <mask> Container, <mask> IContainerProps, <mask> Divider, <mask> IDividerProps, <mask> Kbd, <mask> Progress, </s> feat: api and example added
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/619eb823b2285adb05b15d2828f99f6f0ff448a3
src/index.tsx
Card,
<mask> Badge, <mask> Button, <mask> IconButton, <mask> Heading, <mask> // View, <mask> Text, <mask> Code, </s> feat: api and example added
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/619eb823b2285adb05b15d2828f99f6f0ff448a3
src/index.tsx
import Card from './card';
<mask> import AvatarGroup from './avatar-group'; <mask> import Badge from './badge'; <mask> import Breadcrumb from './breadcrumb'; <mask> import Button, { ButtonGroup } from './button'; <mask> import Center from './center'; <mask> import Checkbox from './checkbox'; <mask> import Box from './box'; <mask> import ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/619eb823b2285adb05b15d2828f99f6f0ff448a3
src/theme/components/index.ts
Card,
<mask> Box, <mask> Breadcrumb, <mask> Button, <mask> ButtonGroup, <mask> Center, <mask> Checkbox, <mask> CircularProgress, <mask> Code, <mask> Container, <mask> Divider, </s> feat: api and example added
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/619eb823b2285adb05b15d2828f99f6f0ff448a3
src/theme/components/index.ts
import { Switch, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Switch } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <> <mask> <Switch size="sm" colorScheme="success" /> </s> fix: updated switch api and integrated theme </s> remove import { Switch } from 'native-base'; ...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6370e2ab4a624675d6de256eec1ae703f634022d
example/storybook/stories/components/primitives/Switch/Sizes.tsx
<VStack space={4}> <Switch size="sm" /> <Switch size="md" /> <Switch size="lg" /> </VStack>
<mask> import { Switch } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <> <mask> <Switch size="sm" colorScheme="success" /> <mask> <Switch size="md" colorScheme="default" /> <mask> <Switch size="lg" colorScheme="orange" /> <mask> </> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6370e2ab4a624675d6de256eec1ae703f634022d
example/storybook/stories/components/primitives/Switch/Sizes.tsx
import { Switch, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Switch } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <> <mask> <Switch colorScheme="red" /> </s> fix: updated switch api and integrated theme </s> remove import { Switch } from 'native-base'; </s> add impor...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6370e2ab4a624675d6de256eec1ae703f634022d
example/storybook/stories/components/primitives/Switch/SwitchBgColor.tsx