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> */ <mask> title?: ReactNode; <mask> /** </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { CustomProps } from '../../../components/types'; </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "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 type { IBoxProps } from '../../primitives/Box/types'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types'; </s> remove export type ITabProps = IBoxProps<ITabProps> & { </s> add export type ITabProps = InterfaceBoxProps<ITabProps> & { </s> remove export type ITabViewsProps = IBoxProps<ITabViewsProps>; export type ITabViewProps = IBoxProps<ITabViewProps> & { </s> add export type ITabViewsProps = InterfaceBoxProps<ITabViewsProps>; export type ITabViewProps = InterfaceBoxProps<ITabViewProps> & { </s> remove export type ITextFieldProps = componentsSpecificProps & IStackProps & { helperText?: string; errorMessage?: string; _helperTextProps?: any; _errorMessageProps?: any; }; </s> add export type ITextFieldProps = | (componentsSpecificProps & InterfaceStackProps & { helperText?: string; errorMessage?: string; _helperTextProps?: any; _errorMessageProps?: any; }) | CustomProps<'TextField'>;
[ "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'; <mask> import { useId } from '@react-aria/utils'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> <mask> interface ITooltipProps extends IBoxProps<ITooltipProps> { <mask> /** </s> fix: custom prop typing fixes </s> remove interface ITooltipProps extends IBoxProps<ITooltipProps> { </s> add interface InterfaceTooltipProps extends InterfaceBoxProps<ITooltipProps> { </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box'; </s> remove import { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../Box'; </s> add
[ "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 InterfaceBoxProps<ITooltipProps> { <mask> /** <mask> * Text to be placed in the tooltip <mask> */ </s> fix: custom prop typing fixes </s> remove interface ITooltipProps extends IBoxProps<ITooltipProps> { </s> add interface InterfaceTooltipProps extends InterfaceBoxProps<ITooltipProps> { </s> remove import Box, { IBoxProps } from '../../primitives/Box'; </s> add import Box from '../../primitives/Box'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { CustomProps } from '../../../components/types'; </s> remove import { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove export interface IToastProps extends IBoxProps<IToastProps> { </s> add export interface InterfaceToastProps extends InterfaceBoxProps<IToastProps> {
[ "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 in the tooltip <mask> */ <mask> label: string; <mask> /** </s> fix: custom prop typing fixes </s> remove import Box, { IBoxProps } from '../../primitives/Box'; </s> add import Box from '../../primitives/Box'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { CustomProps } from '../../../components/types'; </s> remove export interface IToastProps extends IBoxProps<IToastProps> { </s> add export interface InterfaceToastProps extends InterfaceBoxProps<IToastProps> {
[ "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; </s> fix: custom prop typing fixes </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove export type ITabsProps = IBoxProps<ITabsProps> & { </s> add export type ITabsProps = InterfaceBoxProps<ITabsProps> & { </s> remove export type ICollapseProps = IBoxProps<ICollapseProps> & { </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; // import type { CustomProps } from 'src/components/types'; export type InterfaceCollapseProps = InterfaceBoxProps<ICollapseProps> & { </s> remove import type { SafeAreaProps } from '../../../components/types'; </s> add import type { CustomProps, SafeAreaProps } from '../../../components/types'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "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; <mask> delay?: number; <mask> }; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove export type IScaleFadeProps = IBoxProps<IScaleFadeProps> & { </s> add export type IScaleFadeProps = InterfaceBoxProps<IScaleFadeProps> & { </s> remove export type ITabsProps = IBoxProps<ITabsProps> & { </s> add export type ITabsProps = InterfaceBoxProps<ITabsProps> & { </s> remove export type ICollapseProps = IBoxProps<ICollapseProps> & { </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; // import type { CustomProps } from 'src/components/types'; export type InterfaceCollapseProps = InterfaceBoxProps<ICollapseProps> & { </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "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 typing fixes </s> remove export type ISlideProps = IBoxProps<ISlideProps> & { </s> add export type ISlideProps = InterfaceBoxProps<ISlideProps> & { </s> remove export type ISlideFadeProps = IBoxProps<ISlideFadeProps> & { </s> add export type ISlideFadeProps = InterfaceBoxProps<ISlideFadeProps> & { </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove export type INumberInputProps = IInputProps & IBoxProps<INumberInputProps> & { onChange?: (value: number) => void; min?: number; max?: number; step?: number; precision?: number; isReadOnly?: boolean; isInvalid?: boolean; isDisabled?: boolean; keepWithinRange?: boolean; allowMouseWheel?: boolean; clampValueOnBlur?: boolean; focusInputOnChange?: boolean; getAriaValueText?: boolean; children?: JSX.Element[] | JSX.Element; }; </s> add export type INumberInputProps = | (InterfaceInputProps & InterfaceBoxProps<INumberInputProps> & { onChange?: (value: number) => void; min?: number; max?: number; step?: number; precision?: number; isReadOnly?: boolean; isInvalid?: boolean; isDisabled?: boolean; keepWithinRange?: boolean; allowMouseWheel?: boolean; clampValueOnBlur?: boolean; focusInputOnChange?: boolean; getAriaValueText?: boolean; children?: JSX.Element[] | JSX.Element; }) | CustomProps<'NumberInput'>;
[ "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?: boolean; </s> fix: custom prop typing fixes </s> remove export type ISlideFadeProps = IBoxProps<ISlideFadeProps> & { </s> add export type ISlideFadeProps = InterfaceBoxProps<ISlideFadeProps> & { </s> remove export type IScaleFadeProps = IBoxProps<IScaleFadeProps> & { </s> add export type IScaleFadeProps = InterfaceBoxProps<IScaleFadeProps> & { </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove export type INumberInputProps = IInputProps & IBoxProps<INumberInputProps> & { onChange?: (value: number) => void; min?: number; max?: number; step?: number; precision?: number; isReadOnly?: boolean; isInvalid?: boolean; isDisabled?: boolean; keepWithinRange?: boolean; allowMouseWheel?: boolean; clampValueOnBlur?: boolean; focusInputOnChange?: boolean; getAriaValueText?: boolean; children?: JSX.Element[] | JSX.Element; }; </s> add export type INumberInputProps = | (InterfaceInputProps & InterfaceBoxProps<INumberInputProps> & { onChange?: (value: number) => void; min?: number; max?: number; step?: number; precision?: number; isReadOnly?: boolean; isInvalid?: boolean; isDisabled?: boolean; keepWithinRange?: boolean; allowMouseWheel?: boolean; clampValueOnBlur?: boolean; focusInputOnChange?: boolean; getAriaValueText?: boolean; children?: JSX.Element[] | JSX.Element; }) | CustomProps<'NumberInput'>;
[ "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?: number; </s> fix: custom prop typing fixes </s> remove export type ISlideProps = IBoxProps<ISlideProps> & { </s> add export type ISlideProps = InterfaceBoxProps<ISlideProps> & { </s> remove export type IScaleFadeProps = IBoxProps<IScaleFadeProps> & { </s> add export type IScaleFadeProps = InterfaceBoxProps<IScaleFadeProps> & { </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove export type INumberInputProps = IInputProps & IBoxProps<INumberInputProps> & { onChange?: (value: number) => void; min?: number; max?: number; step?: number; precision?: number; isReadOnly?: boolean; isInvalid?: boolean; isDisabled?: boolean; keepWithinRange?: boolean; allowMouseWheel?: boolean; clampValueOnBlur?: boolean; focusInputOnChange?: boolean; getAriaValueText?: boolean; children?: JSX.Element[] | JSX.Element; }; </s> add export type INumberInputProps = | (InterfaceInputProps & InterfaceBoxProps<INumberInputProps> & { onChange?: (value: number) => void; min?: number; max?: number; step?: number; precision?: number; isReadOnly?: boolean; isInvalid?: boolean; isDisabled?: boolean; keepWithinRange?: boolean; allowMouseWheel?: boolean; clampValueOnBlur?: boolean; focusInputOnChange?: boolean; getAriaValueText?: boolean; children?: JSX.Element[] | JSX.Element; }) | CustomProps<'NumberInput'>; </s> remove export type IAccordionItemProps = IBoxProps<IAccordionItemProps> & { </s> add export type IAccordionItemProps = InterfaceBoxProps<IAccordionItemProps> & {
[ "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 type ITypeaheadProps = IBoxProps<ITypeaheadProps> & { </s> add export type ITypeaheadProps = InterfaceBoxProps<ITypeaheadProps> & { </s> remove export type IPinInputProps = IInputProps & { onChange?: (value: string) => void; children?: JSX.Element[] | JSX.Element; manageFocus?: boolean; }; </s> add export type IPinInputProps = | (InterfaceInputProps & { onChange?: (value: string) => void; children?: JSX.Element[] | JSX.Element; manageFocus?: boolean; }) | CustomProps<'PinInput'>; </s> remove import type { IInputProps } from '../../primitives'; import type { ResponsiveValue } from '../../../components/types'; </s> add import type { InterfaceInputProps } from '../../primitives/Input/types'; import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IInputProps, IBoxProps, IStackProps } from '../../primitives'; </s> add import type { IInputProps, IStackProps } from '../../primitives'; import type { InterfaceInputProps } from '../../primitives/Input/types'; import type { InterfaceBoxProps } from '../../primitives/Box/types'; import type { CustomProps } from '../../../components/types';
[ "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?: number | string; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives/Box/types'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types'; </s> remove export type IPinInputProps = IInputProps & { onChange?: (value: string) => void; children?: JSX.Element[] | JSX.Element; manageFocus?: boolean; }; </s> add export type IPinInputProps = | (InterfaceInputProps & { onChange?: (value: string) => void; children?: JSX.Element[] | JSX.Element; manageFocus?: boolean; }) | CustomProps<'PinInput'>; </s> remove import type { IInputProps } from '../../primitives'; import type { ResponsiveValue } from '../../../components/types'; </s> add import type { InterfaceInputProps } from '../../primitives/Input/types'; import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IInputProps, IBoxProps, IStackProps } from '../../primitives'; </s> add import type { IInputProps, IStackProps } from '../../primitives'; import type { InterfaceInputProps } from '../../primitives/Input/types'; import type { InterfaceBoxProps } from '../../primitives/Box/types'; import type { CustomProps } from '../../../components/types';
[ "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 '../../../hooks/useSafeArea'; <mask> import { useNativeBaseConfig } from '../../../core/NativeBaseContext'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> <mask> const StyledBox = makeStyledComponent(View); </s> fix: custom prop typing fixes </s> remove import { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box'; </s> remove import type { IBoxProps } from '../Box'; </s> add </s> remove import Box, { IBoxProps } from '../../primitives/Box'; </s> add import Box from '../../primitives/Box'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "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 ICenterProps extends IBoxProps<ICenterProps> {} export type ICircleProps = IBoxProps<ICircleProps> & { size?: number | string }; export type ISquareProps = IBoxProps<ISquareProps> & { size?: number | string }; </s> add export interface InterfaceCenterProps extends InterfaceBoxProps<ICenterProps> {} export type ICircleProps = InterfaceBoxProps<ICircleProps> & { size?: number | string; }; export type ISquareProps = InterfaceBoxProps<ISquareProps> & { size?: number | string; }; export type ICenterProps = InterfaceCenterProps | CustomProps<'Center'>; </s> remove export type ITabViewsProps = IBoxProps<ITabViewsProps>; export type ITabViewProps = IBoxProps<ITabViewProps> & { </s> add export type ITabViewsProps = InterfaceBoxProps<ITabViewsProps>; export type ITabViewProps = InterfaceBoxProps<ITabViewProps> & { </s> remove export type IContainerProps = IBoxProps<IContainerProps> & { </s> add export type InterfaceContainerProps = InterfaceBoxProps<IContainerProps> & { </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../../components/primitives/Box/types';
[ "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> /** </s> fix: custom prop typing fixes </s> remove export type IBoxProps<T = null> = BoxProps<T> | CustomProps<'Box'>; </s> add export type IBoxProps<T = null> = InterfaceBoxProps<T> | CustomProps<'Box'>; </s> remove import type { ResponsiveValue } from '../../../components/types'; export interface ISpinnerProps </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; export interface InterfaceSpinnerProps </s> remove export interface ICenterProps extends IBoxProps<ICenterProps> {} export type ICircleProps = IBoxProps<ICircleProps> & { size?: number | string }; export type ISquareProps = IBoxProps<ISquareProps> & { size?: number | string }; </s> add export interface InterfaceCenterProps extends InterfaceBoxProps<ICenterProps> {} export type ICircleProps = InterfaceBoxProps<ICircleProps> & { size?: number | string; }; export type ISquareProps = InterfaceBoxProps<ISquareProps> & { size?: number | string; }; export type ICenterProps = InterfaceCenterProps | CustomProps<'Center'>; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../../components/primitives/Box/types';
[ "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 type { InterfaceBoxProps } from '../Box/types'; // import type { IBoxProps } from '../Box'; </s> remove interface BoxProps<T = null> </s> add export interface InterfaceBoxProps<T = null> </s> remove export type IButtonProps = ButtonProps | CustomProps<'Button'>; </s> add export type IButtonProps = InterfaceButtonProps | CustomProps<'Button'>;
[ "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 } from '../../../theme/base/sizes'; <mask> import type { </s> fix: custom prop typing fixes </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IPressableProps } from '../../primitives/Pressable'; </s> add import type { InterfacePressableProps } from '../../primitives/Pressable/types'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types';
[ "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 '../../../components/types/utils'; <mask> import type { ISpinnerProps } from '../Spinner/types'; </s> fix: custom prop typing fixes </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { IPressableProps } from '../Pressable'; </s> add </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "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 fixes </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../types/utils'; import type { InterfaceBoxProps } from '../Box/types'; // import type { IBoxProps } from '../Box'; </s> remove export type ICollapseProps = IBoxProps<ICollapseProps> & { </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; // import type { CustomProps } from 'src/components/types'; export type InterfaceCollapseProps = InterfaceBoxProps<ICollapseProps> & { </s> remove export type IPinInputProps = IInputProps & { onChange?: (value: string) => void; children?: JSX.Element[] | JSX.Element; manageFocus?: boolean; }; </s> add export type IPinInputProps = | (InterfaceInputProps & { onChange?: (value: string) => void; children?: JSX.Element[] | JSX.Element; manageFocus?: boolean; }) | CustomProps<'PinInput'>;
[ "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: InterfaceIconProps & { ref?: any }) => JSX.Element </s> remove props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> remove props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IModalProps> & { ref?: MutableRefObject<any> }
[ "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> fix: custom prop typing fixes </s> remove export interface ISelectProps extends IBoxProps<ISelectProps> { </s> add export interface InterfaceSelectProps extends IBoxProps<ISelectProps> { </s> remove export type ITabsProps = IBoxProps<ITabsProps> & { </s> add export type ITabsProps = InterfaceBoxProps<ITabsProps> & { </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { InterfaceIconProps } from '../../primitives/Icon/types'; </s> remove export interface IFormControlProps extends IBoxProps<IFormControlProps> { </s> add export interface InterfaceFormControlProps extends IBoxProps<IFormControlProps> {
[ "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 { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box'; </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../Box'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../Box'; </s> add
[ "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> fix: custom prop typing fixes </s> remove size?: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number; </s> add size?: | '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number | ThemeComponentSizeType<'Link'>; </s> remove export interface IAlertProps extends IBoxProps<IAlertProps> { </s> add export interface InterfaceAlertProps extends IBoxProps<IAlertProps> { </s> remove export type ITabBarProps = IBoxProps<ITabBarProps> & { </s> add export type ITabBarProps = InterfaceBoxProps<ITabBarProps> & { </s> remove export type ITabProps = IBoxProps<ITabProps> & { </s> add export type ITabProps = InterfaceBoxProps<ITabProps> & { </s> remove export interface IFormControlProps extends IBoxProps<IFormControlProps> { </s> add export interface InterfaceFormControlProps extends IBoxProps<IFormControlProps> {
[ "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 Omit< <mask> SvgProps, <mask> 'opacity' | 'fill' | 'stroke' | 'height' | 'width' | 'transform' | 'color' <mask> >, <mask> StyledProps, </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue, VariantType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, VariantType } from '../../types'; </s> remove export interface IIconButtonProps extends Omit<IPressableProps, 'children' | 'color'>, </s> add export interface InterfaceIconButtonProps extends Omit<InterfacePressableProps, 'children' | 'color'>, </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives';
[ "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?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Input'>; </s> remove export type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { </s> add export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & {
[ "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 export interface IAlertProps extends IBoxProps<IAlertProps> { </s> add export interface InterfaceAlertProps extends IBoxProps<IAlertProps> { </s> remove export interface ISliderThumbProps extends IBoxProps<ISliderThumbProps> { </s> add export interface ISliderThumbProps extends InterfaceBoxProps<ISliderThumbProps> {
[ "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> extends PlatformProps<IImageProps>, <mask> Omit< <mask> ImageProps, </s> fix: custom prop typing fixes </s> remove export interface IImageProps </s> add export interface InterfaceImageProps </s> remove import type { PlatformProps } from '../../types'; export interface IPressableProps<T = IPressableProps<unknown>> </s> add import type { CustomProps, PlatformProps } from '../../types'; export interface InterfacePressableProps<T = IPressableProps> </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives'; </s> remove import type { SafeAreaProps } from '../../../components/types'; </s> add import type { CustomProps, SafeAreaProps } from '../../../components/types';
[ "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, <mask> | 'borderRadius' <mask> | 'borderTopLeftRadius' </s> fix: custom prop typing fixes </s> remove import type { PlatformProps } from '../../types'; </s> add import type { CustomProps, PlatformProps } from '../../types'; </s> remove import type { PlatformProps } from '../../types'; export interface IPressableProps<T = IPressableProps<unknown>> </s> add import type { CustomProps, PlatformProps } from '../../types'; export interface InterfacePressableProps<T = IPressableProps> </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives'; </s> remove import type { SafeAreaProps } from '../../../components/types'; </s> add import type { CustomProps, SafeAreaProps } from '../../../components/types';
[ "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 IAvatarProps extends IBoxProps<IAvatarProps> { </s> add export interface InterfaceAvatarProps extends IBoxProps<IAvatarProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "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'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IInputProps </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { PlatformProps, ResponsiveValue } from '../../types'; </s> add import type { CustomProps, PlatformProps, ResponsiveValue } from '../../types'; </s> remove import type { PlatformProps } from '../../types'; </s> add import type { CustomProps, PlatformProps } from '../../types'; </s> remove import type { SafeAreaProps } from '../../../components/types'; </s> add import type { CustomProps, SafeAreaProps } 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, 'textAlign'>, <mask> StyledProps { <mask> /** </s> fix: custom prop typing fixes </s> remove export interface IInputProps </s> add export interface InterfaceInputProps </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IInputProps } from '../../primitives'; import type { ResponsiveValue } from '../../../components/types'; </s> add import type { InterfaceInputProps } from '../../primitives/Input/types'; import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "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, 'textAlign'>, <mask> StyledProps { <mask> /** <mask> * If true, the input will indicate an error. </s> fix: custom prop typing fixes </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove export interface IModalProps extends IBoxProps<IModalProps> { </s> add export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IInputProps } from '../../primitives'; import type { ResponsiveValue } from '../../../components/types'; </s> add import type { InterfaceInputProps } from '../../primitives/Input/types'; import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "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> fix: custom prop typing fixes </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Icon'>; </s> remove export interface IRadioProps extends IBoxProps<IRadioProps> { </s> add export interface InterfaceRadioProps extends IBoxProps<IRadioProps> { </s> remove size?: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number; </s> add size?: | '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number | ThemeComponentSizeType<'Link'>; </s> remove export type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { </s> add export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & {
[ "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> | ThemeComponentSizeType<'Input'>; </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Icon'>; </s> remove export type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { </s> add export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & { </s> remove size?: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number; </s> add size?: | '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number | ThemeComponentSizeType<'Link'>;
[ "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 <mask> */ </s> fix: custom prop typing fixes </s> remove export interface ILinkProps extends IBoxProps<ILinkProps> { </s> add export interface InterfaceLinkProps extends InterfaceBoxProps<ILinkProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../Box';
[ "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 <mask> */ <mask> href?: string | undefined; <mask> /** </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps, ThemeComponentSizeType } from '../../types'; import type { InterfaceBoxProps } from '../Box/types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../Box';
[ "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: custom prop typing fixes </s> remove export interface ILinkProps extends IBoxProps<ILinkProps> { </s> add export interface InterfaceLinkProps extends InterfaceBoxProps<ILinkProps> { </s> remove export interface IHiddenProps { </s> add export interface InterfaceHiddenProps { </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Input'>; </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Icon'>;
[ "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> PlatformProps<T> { <mask> /** <mask> * Called when a mouse enters the Pressable </s> fix: custom prop typing fixes </s> remove import type { PlatformProps } from '../../types'; </s> add import type { CustomProps, PlatformProps } from '../../types'; </s> remove export interface IImageProps </s> add export interface InterfaceImageProps </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { SafeAreaProps } from '../../../components/types'; </s> add import type { CustomProps, SafeAreaProps } from '../../../components/types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "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) => any; <mask> <mask> export interface InterfaceRadioProps extends IBoxProps<IRadioProps> { <mask> /** <mask> * The value to be used in the radio input. This is the value that will be returned on form submission </s> fix: custom prop typing fixes </s> remove export interface IRadioProps extends IBoxProps<IRadioProps> { </s> add export interface InterfaceRadioProps extends IBoxProps<IRadioProps> { </s> remove export interface ISliderProps extends IBoxProps<ISliderProps> { </s> add export interface InterfaceSliderProps extends InterfaceBoxProps<ISliderProps> { </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../Box'; </s> remove export interface IMenuProps extends IBoxProps<IMenuProps> { </s> add export interface InterfaceMenuProps extends InterfaceBoxProps<IMenuProps> {
[ "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 form submission <mask> */ <mask> value: IRadioValue; <mask> /** </s> fix: custom prop typing fixes </s> remove export interface ISliderProps extends IBoxProps<ISliderProps> { </s> add export interface InterfaceSliderProps extends InterfaceBoxProps<ISliderProps> { </s> remove export interface IMenuProps extends IBoxProps<IMenuProps> { </s> add export interface InterfaceMenuProps extends InterfaceBoxProps<IMenuProps> {
[ "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/types'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> <mask> export interface ISelectProps extends IBoxProps<ISelectProps> { <mask> /** <mask> * The placeholder that describes the Select. </s> fix: custom prop typing fixes </s> remove export interface ISelectProps extends IBoxProps<ISelectProps> { </s> add export interface InterfaceSelectProps extends IBoxProps<ISelectProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "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> export interface InterfaceSelectProps extends IBoxProps<ISelectProps> { <mask> /** <mask> * The placeholder that describes the Select. <mask> */ </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove export interface ISelectProps extends IBoxProps<ISelectProps> { </s> add export interface InterfaceSelectProps extends IBoxProps<ISelectProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "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 that describes the Select. <mask> */ <mask> placeholder?: string; <mask> /** </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove export interface ISkeletonProps extends IBoxProps<ISkeletonProps> { </s> add export interface InterfaceSkeletonProps extends InterfaceBoxProps<ISkeletonProps> {
[ "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 ITooltipProps extends IBoxProps<ITooltipProps> { </s> add interface InterfaceTooltipProps extends InterfaceBoxProps<ITooltipProps> { </s> remove export interface IRadioProps extends IBoxProps<IRadioProps> { </s> add export interface InterfaceRadioProps extends IBoxProps<IRadioProps> { </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove export interface IPopoverProps { </s> add export interface InterfacePopoverProps {
[ "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: custom prop typing fixes </s> remove export interface ISliderProps extends IBoxProps<ISliderProps> { </s> add export interface InterfaceSliderProps extends InterfaceBoxProps<ISliderProps> { </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove export interface IAvatarProps extends IBoxProps<IAvatarProps> { </s> add export interface InterfaceAvatarProps extends IBoxProps<IAvatarProps> {
[ "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> defaultValue?: number; <mask> /** Handler that is called when the value changes. */ </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../Box'; </s> remove export interface IRadioProps extends IBoxProps<IRadioProps> { </s> add export interface InterfaceRadioProps extends IBoxProps<IRadioProps> { </s> remove export interface ISelectProps extends IBoxProps<ISelectProps> { </s> add export interface InterfaceSelectProps extends IBoxProps<ISelectProps> {
[ "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. */ <mask> _disabled?: any; <mask> /** Props applied if isReadOnly is true. */ </s> fix: custom prop typing fixes </s> remove extends IBoxProps<ISliderTrackFilledProps> { </s> add extends InterfaceBoxProps<ISliderTrackFilledProps> { </s> remove export interface ISliderThumbProps extends IBoxProps<ISliderThumbProps> { </s> add export interface ISliderThumbProps extends InterfaceBoxProps<ISliderThumbProps> { </s> remove export interface ISliderProps extends IBoxProps<ISliderProps> { </s> add export interface InterfaceSliderProps extends InterfaceBoxProps<ISliderProps> { </s> remove export interface IRadioProps extends IBoxProps<IRadioProps> { </s> add export interface InterfaceRadioProps extends IBoxProps<IRadioProps> { </s> remove export interface IFormControlProps extends IBoxProps<IFormControlProps> { </s> add export interface InterfaceFormControlProps extends IBoxProps<IFormControlProps> {
[ "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; <mask> /** Props applied if isReadOnly is true. */ </s> fix: custom prop typing fixes </s> remove export interface ISliderTrackProps extends IBoxProps<ISliderTrackProps> { </s> add export interface ISliderTrackProps extends InterfaceBoxProps<ISliderTrackProps> { </s> remove export interface ISliderThumbProps extends IBoxProps<ISliderThumbProps> { </s> add export interface ISliderThumbProps extends InterfaceBoxProps<ISliderThumbProps> { </s> remove export interface ISliderProps extends IBoxProps<ISliderProps> { </s> add export interface InterfaceSliderProps extends InterfaceBoxProps<ISliderProps> { </s> remove export interface IRadioProps extends IBoxProps<IRadioProps> { </s> add export interface InterfaceRadioProps extends IBoxProps<IRadioProps> { </s> remove export interface IFormControlProps extends IBoxProps<IFormControlProps> { </s> add export interface InterfaceFormControlProps extends IBoxProps<IFormControlProps> {
[ "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?: 'horizontal' | 'vertical'; </s> fix: custom prop typing fixes </s> remove export interface ISliderTrackProps extends IBoxProps<ISliderTrackProps> { </s> add export interface ISliderTrackProps extends InterfaceBoxProps<ISliderTrackProps> { </s> remove extends IBoxProps<ISliderTrackFilledProps> { </s> add extends InterfaceBoxProps<ISliderTrackFilledProps> { </s> remove export interface IDividerProps extends IBoxProps<IDividerProps> { </s> add export interface InterfaceDividerProps extends InterfaceBoxProps<IDividerProps> { </s> remove import type { SpaceType } from '../../../components/types'; import type { IBoxProps } from '../../primitives/Box/types'; </s> add import type { CustomProps, SpaceType } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box/types'; </s> remove export interface ISliderProps extends IBoxProps<ISliderProps> { </s> add export interface InterfaceSliderProps extends InterfaceBoxProps<ISliderProps> {
[ "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<StyledProps, 'size' | 'color'> { <mask> /** <mask> * Size of Spinner <mask> */ </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { SafeAreaProps } from '../../../components/types'; </s> add import type { CustomProps, SafeAreaProps } from '../../../components/types'; </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { PlatformProps } from '../../types'; </s> add import type { CustomProps, PlatformProps } from '../../types'; </s> remove export type IViewProps = ViewProps & StyledProps & SafeAreaProps & { children?: any; }; </s> add export type IViewProps = | (ViewProps & StyledProps & SafeAreaProps & { children?: any; }) | CustomProps<'View'>;
[ "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> | ThemeComponentSizeType<'Icon'>; </s> remove export type IBoxProps<T = null> = BoxProps<T> | CustomProps<'Box'>; </s> add export type IBoxProps<T = null> = InterfaceBoxProps<T> | CustomProps<'Box'>; </s> remove export type ICollapseProps = IBoxProps<ICollapseProps> & { </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; // import type { CustomProps } from 'src/components/types'; export type InterfaceCollapseProps = InterfaceBoxProps<ICollapseProps> & {
[ "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/useHasResponsiveProps'; <mask> export interface IHStackProps extends IStackProps { <mask> /** </s> fix: custom prop typing fixes </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove export interface IHStackProps extends IStackProps { </s> add export interface InterfaceHStackProps extends InterfaceStackProps { </s> remove import type { IBoxProps } from '../Box'; </s> add
[ "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/useHasResponsiveProps'; <mask> export interface IHStackProps extends IStackProps { <mask> /** <mask> * The direction of the Stack Items. <mask> * @default row </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove export interface IHStackProps extends IStackProps { </s> add export interface InterfaceHStackProps extends InterfaceStackProps { </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove export interface IVStackProps extends IStackProps { </s> add export interface InterfaceVStackProps extends InterfaceStackProps { </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack';
[ "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 extends IStackProps { <mask> /** <mask> * The direction of the Stack Items. <mask> * @default row <mask> */ <mask> direction?: ResponsiveValue< </s> fix: custom prop typing fixes </s> remove export interface IVStackProps extends IStackProps { </s> add export interface InterfaceVStackProps extends InterfaceStackProps { </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack';
[ "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> remove (props: IIconProps & { ref?: any }) => JSX.Element </s> add (props: InterfaceIconProps & { ref?: any }) => JSX.Element
[ "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 { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import type { ResponsiveValue, SpaceType } from '../../types'; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../Box'; </s> add </s> remove import type { ResponsiveValue, SpaceType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, SpaceType } from '../../types'; </s> remove import { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack';
[ "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 { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import type { ResponsiveValue, SpaceType } from '../../types'; <mask> import { ResponsiveQueryContext } from '../../../utils/useResponsiveQuery/ResponsiveQueryProvider'; <mask> <mask> export interface IStackProps extends IBoxProps<IStackProps> { </s> fix: custom prop typing fixes </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box'; </s> remove import type { ResponsiveValue, SpaceType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, SpaceType } from '../../types'; </s> remove import { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack';
[ "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 } from '../../types'; <mask> import { ResponsiveQueryContext } from '../../../utils/useResponsiveQuery/ResponsiveQueryProvider'; <mask> <mask> export interface IStackProps extends IBoxProps<IStackProps> { <mask> /** <mask> * The divider element to use between elements. </s> fix: custom prop typing fixes </s> remove export interface IStackProps extends IBoxProps<IStackProps> { </s> add export interface InterfaceStackProps extends InterfaceBoxProps<IStackProps> { </s> remove import type { IBoxProps } from '../Box'; </s> add </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box'; </s> remove export interface IZStackProps extends IBoxProps<IZStackProps> { </s> add export interface InterfaceZStackProps extends IBoxProps<IZStackProps> {
[ "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 IBoxProps<IStackProps> { <mask> /** <mask> * The divider element to use between elements. <mask> */ <mask> divider?: JSX.Element; <mask> /** </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue, SpaceType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, SpaceType } from '../../types'; </s> remove import type { IBoxProps } from '../Box'; </s> add </s> remove export interface IZStackProps extends IBoxProps<IZStackProps> { </s> add export interface InterfaceZStackProps extends IBoxProps<IZStackProps> { </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box';
[ "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/useHasResponsiveProps'; <mask> export interface IVStackProps extends IStackProps { <mask> /** </s> fix: custom prop typing fixes </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove export interface IVStackProps extends IStackProps { </s> add export interface InterfaceVStackProps extends InterfaceStackProps { </s> remove import type { IBoxProps } from '../Box'; </s> add
[ "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/useHasResponsiveProps'; <mask> export interface IVStackProps extends IStackProps { <mask> /** <mask> * The direction of the Stack Items. <mask> * @default column </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove export interface IVStackProps extends IStackProps { </s> add export interface InterfaceVStackProps extends InterfaceStackProps { </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove export interface IHStackProps extends IStackProps { </s> add export interface InterfaceHStackProps extends InterfaceStackProps { </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack';
[ "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 extends IStackProps { <mask> /** <mask> * The direction of the Stack Items. <mask> * @default column <mask> */ <mask> direction?: ResponsiveValue< </s> fix: custom prop typing fixes </s> remove export interface IHStackProps extends IStackProps { </s> add export interface InterfaceHStackProps extends InterfaceStackProps { </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack';
[ "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)) { </s> fix: custom prop typing fixes </s> remove (props: IIconProps & { ref?: any }) => JSX.Element </s> add (props: InterfaceIconProps & { ref?: any }) => JSX.Element
[ "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 '../../../theme/base/colors'; <mask> <mask> export interface ISwitchProps <mask> extends Omit<SwitchProps, 'tintColor'>, </s> fix: custom prop typing fixes </s> remove export interface ISwitchProps </s> add export interface InterfaceSwitchProps </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives'; </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "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> StyledProps { <mask> /** <mask> * The size (width and height) of the switch. <mask> * @default md </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove export interface ISkeletonProps extends IBoxProps<ISkeletonProps> { </s> add export interface InterfaceSkeletonProps extends InterfaceBoxProps<ISkeletonProps> { </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives';
[ "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> extends PlatformProps<ITextProps>, <mask> StyledProps, </s> fix: custom prop typing fixes </s> remove export interface ITextProps </s> add export interface InterfaceTextProps </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { ResponsiveValue, VariantType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, VariantType } from '../../types';
[ "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> TextProps { <mask> /** <mask> * Renders components as Text children. Accepts a JSX.Element or an array of JSX.Element. </s> fix: custom prop typing fixes </s> remove import type { PlatformProps, ResponsiveValue } from '../../types'; </s> add import type { CustomProps, PlatformProps, ResponsiveValue } from '../../types'; </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove import type { PlatformProps } from '../../types'; export interface IPressableProps<T = IPressableProps<unknown>> </s> add import type { CustomProps, PlatformProps } from '../../types'; export interface InterfacePressableProps<T = IPressableProps> </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types';
[ "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> { </s> remove interface ITooltipProps extends IBoxProps<ITooltipProps> { </s> add interface InterfaceTooltipProps extends InterfaceBoxProps<ITooltipProps> { </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove export interface ITagProps extends IBoxProps<ITagProps> { </s> add export interface InterfaceTagProps extends InterfaceBoxProps<ITagProps> {
[ "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 IInputProps { <mask> /** <mask> * Maps to react-native TextInput's numberOfLines. </s> fix: custom prop typing fixes </s> remove export interface ITextAreaProps extends IInputProps { </s> add export interface ITextAreaProps extends InterfaceInputProps { </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "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 IInputProps { <mask> /** <mask> * Maps to react-native TextInput's numberOfLines. <mask> */ <mask> totalLines?: number; <mask> } </s> fix: custom prop typing fixes </s> remove import { Input, IInputProps } from '../Input'; </s> add import { Input } from '../Input'; import type { InterfaceInputProps } from '../Input/types'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import StackMain, { IStackProps } from './Stack'; </s> add import StackMain, { InterfaceStackProps } from './Stack'; </s> remove import { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "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 typing fixes </s> remove export type IViewProps = ViewProps & StyledProps & SafeAreaProps & { children?: any; }; </s> add export type IViewProps = | (ViewProps & StyledProps & SafeAreaProps & { children?: any; }) | CustomProps<'View'>; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { PlatformProps } from '../../types'; </s> add import type { CustomProps, PlatformProps } from '../../types'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "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?: any; <mask> }; </s> fix: custom prop typing fixes </s> remove import type { SafeAreaProps } from '../../../components/types'; </s> add import type { CustomProps, SafeAreaProps } from '../../../components/types'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove import type { PlatformProps } from '../../types'; </s> add import type { CustomProps, PlatformProps } from '../../types';
[ "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 InterfaceZStackProps extends IBoxProps<IZStackProps> { <mask> /** <mask> * The direction to stack the elements. <mask> */ <mask> reversed?: boolean; </s> fix: custom prop typing fixes </s> remove export interface IZStackProps extends IBoxProps<IZStackProps> { </s> add export interface InterfaceZStackProps extends IBoxProps<IZStackProps> { </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box'; </s> remove import type { IBoxProps } from '../Box'; </s> add </s> remove import type { ResponsiveValue, SpaceType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, SpaceType } from '../../types'; </s> remove export interface IHStackProps extends IStackProps { </s> add export interface InterfaceHStackProps extends InterfaceStackProps {
[ "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> /** <mask> * The direction to stack the elements. <mask> */ <mask> reversed?: boolean; <mask> } </s> fix: custom prop typing fixes </s> remove import type { ResponsiveValue, SpaceType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, SpaceType } from '../../types'; </s> remove export interface IHStackProps extends IStackProps { </s> add export interface InterfaceHStackProps extends InterfaceStackProps { </s> remove export interface IVStackProps extends IStackProps { </s> add export interface InterfaceVStackProps extends InterfaceStackProps { </s> remove import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types';
[ "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 isCustom={true} variant="myNewButton" myPadding={1} </s> add
[ "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']> = | SizeType | ThemeComponentSizeType<Component>;
<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]]: ITheme['components'][T][Property]; </s> fix: custom prop typing fixes </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Input'>; </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Icon'>; </s> remove export type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { </s> add export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & { </s> remove export interface ICenterProps extends IBoxProps<ICenterProps> {} export type ICircleProps = IBoxProps<ICircleProps> & { size?: number | string }; export type ISquareProps = IBoxProps<ISquareProps> & { size?: number | string }; </s> add export interface InterfaceCenterProps extends InterfaceBoxProps<ICenterProps> {} export type ICircleProps = InterfaceBoxProps<ICircleProps> & { size?: number | string; }; export type ISquareProps = InterfaceBoxProps<ISquareProps> & { size?: number | string; }; export type ICenterProps = InterfaceCenterProps | CustomProps<'Center'>;
[ "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'; <mask> <mask> const PopoverBody = (props: IBoxProps, ref?: any) => { </s> fix: popover fixes and theme sepration </s> remove let additionalStyles: any = { </s> add const additionalStyles: any = { </s> remove return ( <Box //@ts-ignore accessibilityRole={Platform.OS === 'web' ? 'banner' : undefined} nativeID={headerId} {...resolvedProps} ref={ref} /> ); </s> add return <Box nativeID={headerId} {...resolvedProps} ref={ref} />; </s> remove {...props} </s> add
[ "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> fix: popover fixes and theme sepration </s> remove let additionalStyles: any = { </s> add const additionalStyles: any = { </s> remove return ( <Box //@ts-ignore accessibilityRole={Platform.OS === 'web' ? 'banner' : undefined} nativeID={headerId} {...resolvedProps} ref={ref} /> ); </s> add return <Box nativeID={headerId} {...resolvedProps} ref={ref} />; </s> remove import React from 'react'; </s> add import React, { useContext, memo, forwardRef, useEffect } from 'react';
[ "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> {...resolvedProps} <mask> ref={ref} <mask> /> <mask> ); <mask> }; <mask> <mask> export default memo(forwardRef(PopoverHeader)); </s> fix: popover fixes and theme sepration </s> remove import React from 'react'; </s> add import React, { useContext, memo, forwardRef, useEffect } from 'react'; </s> remove let additionalStyles: any = { </s> add const additionalStyles: any = { </s> remove {...props} </s> add
[ "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 import React from 'react'; </s> add import React, { useContext, memo, forwardRef, useEffect } from 'react'; </s> remove return ( <Box //@ts-ignore accessibilityRole={Platform.OS === 'web' ? 'banner' : undefined} nativeID={headerId} {...resolvedProps} ref={ref} /> ); </s> add return <Box nativeID={headerId} {...resolvedProps} ref={ref} />; </s> remove {...props} </s> add
[ "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: moving space of DownIcon in theme </s> remove customDropdownIconProps: { color: 'muted.500' }, </s> add customDropdownIconProps: { color: 'muted.500', mr: '3' }, </s> remove customDropdownIconProps: { color: 'muted.400' }, </s> add customDropdownIconProps: { color: 'muted.400', mr: '3' },
[ "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: { <mask> borderColor: 'primary.600', </s> fixs: moving space of DownIcon in theme </s> remove customDropdownIconProps: { color: 'muted.400' }, </s> add customDropdownIconProps: { color: 'muted.400', mr: '3' }, </s> remove <ChevronDownIcon {...customDropdownIconProps} mr="3" /> </s> add <ChevronDownIcon {...customDropdownIconProps} />
[ "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 of DownIcon in theme </s> remove customDropdownIconProps: { color: 'muted.500' }, </s> add customDropdownIconProps: { color: 'muted.500', mr: '3' }, </s> remove <ChevronDownIcon {...customDropdownIconProps} mr="3" /> </s> add <ChevronDownIcon {...customDropdownIconProps} />
[ "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> Modified variable values of platform.js </s> remove activeTab: platform === "ios" ? "#007aff" : "#fff", </s> add activeTab: "#fff", </s> remove toolbarBtnTextColor: platform === "ios" ? "#007aff" : "#fff", toolbarDefaultBorder: platform === "ios" ? "#a7a6ab" : "#3F51B5", </s> add toolbarBtnTextColor: "#000", toolbarDefaultBorder: "#a7a6ab", </s> remove tabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5", </s> add tabBarActiveTextColor: "#2874F0", tabActiveBgColor: "#cde1f9", </s> remove toolbarBtnColor: platform === "ios" ? "#007aff" : "#fff", </s> add toolbarBtnColor: "#007aff", </s> remove tabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", </s> add tabBarTextColor: "#2874F0",
[ "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" ? "#007aff" : "#fff", <mask> sTabBarActiveTextColor: "#007aff", <mask> tabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", <mask> tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5", </s> Modified variable values of platform.js </s> remove activeTab: platform === "ios" ? "#007aff" : "#fff", </s> add activeTab: "#fff", </s> remove tabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5", </s> add tabBarActiveTextColor: "#2874F0", tabActiveBgColor: "#cde1f9", </s> remove toolbarBtnColor: platform === "ios" ? "#007aff" : "#fff", </s> add toolbarBtnColor: "#007aff", </s> remove toolbarBtnTextColor: platform === "ios" ? "#007aff" : "#fff", toolbarDefaultBorder: platform === "ios" ? "#a7a6ab" : "#3F51B5", </s> add toolbarBtnTextColor: "#000", toolbarDefaultBorder: "#a7a6ab", </s> remove brandPrimary: platform === "ios" ? "#007aff" : "#3F51B5", </s> add brandPrimary: "#007aff",
[ "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" ? "#007aff" : "#fff", <mask> tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5", <mask> <mask> // Tab </s> Modified variable values of platform.js </s> remove tabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5", </s> add tabBarActiveTextColor: "#2874F0", tabActiveBgColor: "#cde1f9", </s> remove tabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", </s> add tabBarTextColor: "#2874F0", </s> remove toolbarBtnColor: platform === "ios" ? "#007aff" : "#fff", </s> add toolbarBtnColor: "#007aff", </s> remove toolbarBtnTextColor: platform === "ios" ? "#007aff" : "#fff", toolbarDefaultBorder: platform === "ios" ? "#a7a6ab" : "#3F51B5", </s> add toolbarBtnTextColor: "#000", toolbarDefaultBorder: "#a7a6ab", </s> remove brandPrimary: platform === "ios" ? "#007aff" : "#3F51B5", </s> add brandPrimary: "#007aff",
[ "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> tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5", <mask> <mask> // Tab <mask> tabDefaultBg: platform === "ios" ? "#F8F8F8" : "#3F51B5", <mask> topTabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", <mask> topTabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", </s> Modified variable values of platform.js </s> remove activeTab: platform === "ios" ? "#007aff" : "#fff", </s> add activeTab: "#fff", </s> remove toolbarBtnColor: platform === "ios" ? "#007aff" : "#fff", </s> add toolbarBtnColor: "#007aff", </s> remove tabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", </s> add tabBarTextColor: "#2874F0", </s> remove toolbarBtnTextColor: platform === "ios" ? "#007aff" : "#fff", toolbarDefaultBorder: platform === "ios" ? "#a7a6ab" : "#3F51B5", </s> add toolbarBtnTextColor: "#000", toolbarDefaultBorder: "#a7a6ab", </s> remove brandPrimary: platform === "ios" ? "#007aff" : "#3F51B5", </s> add brandPrimary: "#007aff",
[ "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", <mask> toolbarHeight: platform === "ios" ? (isIphoneX ? 88 : 64) : 56, <mask> toolbarSearchIconSize: platform === "ios" ? 20 : 23, <mask> toolbarInputColor: platform === "ios" ? "#CECDD2" : "#fff", <mask> searchBarHeight: platform === "ios" ? 30 : 40, </s> Modified variable values of platform.js </s> remove toolbarBtnTextColor: platform === "ios" ? "#007aff" : "#fff", toolbarDefaultBorder: platform === "ios" ? "#a7a6ab" : "#3F51B5", </s> add toolbarBtnTextColor: "#000", toolbarDefaultBorder: "#a7a6ab", </s> remove tabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5", </s> add tabBarActiveTextColor: "#2874F0", tabActiveBgColor: "#cde1f9", </s> remove activeTab: platform === "ios" ? "#007aff" : "#fff", </s> add activeTab: "#fff", </s> remove tabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", </s> add tabBarTextColor: "#2874F0", </s> remove brandPrimary: platform === "ios" ? "#007aff" : "#3F51B5", </s> add brandPrimary: "#007aff",
[ "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" : "#fff", <mask> toolbarDefaultBorder: platform === "ios" ? "#a7a6ab" : "#3F51B5", <mask> iosStatusbar: platform === "ios" ? "dark-content" : "light-content", <mask> get statusBarColor() { <mask> return color(this.toolbarDefaultBg) <mask> .darken(0.2) <mask> .hex(); </s> Modified variable values of platform.js </s> remove toolbarBtnColor: platform === "ios" ? "#007aff" : "#fff", </s> add toolbarBtnColor: "#007aff", </s> remove tabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5", </s> add tabBarActiveTextColor: "#2874F0", tabActiveBgColor: "#cde1f9", </s> remove tabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", </s> add tabBarTextColor: "#2874F0", </s> remove activeTab: platform === "ios" ? "#007aff" : "#fff", </s> add activeTab: "#fff", </s> remove brandPrimary: platform === "ios" ? "#007aff" : "#3F51B5", </s> add brandPrimary: "#007aff",
[ "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 { IAlertProps } from './Alert'; </s> feat: api and example added
[ "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 FlatList from './flatList'; <mask> import KeyboardAvoidingView from './keyboardAvoidingView'; <mask> import ScrollView from './scrollView'; </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
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'; </s> add import { Switch, VStack } from 'native-base'; </s> remove <> <Switch size="sm" colorScheme="success" /> <Switch size="md" colorScheme="default" /> <Switch size="lg" colorScheme="orange" /> </> </s> add <VStack space={4}> <Switch size="sm" /> <Switch size="md" /> <Switch size="lg" /> </VStack> </s> remove <> <Switch colorScheme="red" /> <Switch colorScheme="teal" size="lg" /> </> </s> add <VStack space={4}> <Switch /> <Switch offTrackColor="rose.200" onTrackColor="lime.200" /> <Switch offThumbColor="rose.200" onThumbColor="lime.200" /> </VStack> </s> remove import get from 'lodash/get'; import { mode, getColorScheme } from '../tools'; </s> add import { mode } from '../tools'; </s> remove function baseStyleTrack(props: Record<string, any>) { const { colorScheme, theme, offTrackColor } = props; const simplifiedColorScheme = getColorScheme(props); return colorScheme && colorScheme !== 'default' ? { false: offTrackColor ? mode( theme.colors[offTrackColor][400], theme.colors[offTrackColor][100] )(props) : mode(theme.colors.light[100], theme.colors.dark[50])(props), true: mode( theme.colors[simplifiedColorScheme][500], theme.colors[simplifiedColorScheme][200] )(props), } : undefined; } function baseStyleThumb(props: Record<string, any>) { return props.checked ? props.onColor ? get(props.theme.colors, props.onColor) : undefined : props.offColor ? get(props.theme.colors, props.offColor) : undefined; } </s> add const baseStyle = (props: Record<string, any>) => { let { onTrackColor, offTrackColor, onThumbColor, offThumbColor } = props;
[ "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> ); <mask> } </s> fix: updated switch api and integrated theme </s> remove <> <Switch colorScheme="red" /> <Switch colorScheme="teal" size="lg" /> </> </s> add <VStack space={4}> <Switch /> <Switch offTrackColor="rose.200" onTrackColor="lime.200" /> <Switch offThumbColor="rose.200" onThumbColor="lime.200" /> </VStack> </s> remove import { Switch } from 'native-base'; </s> add import { Switch, VStack } from 'native-base'; </s> remove import { Switch } from 'native-base'; </s> add import { Switch, VStack } from 'native-base'; </s> remove import get from 'lodash/get'; import { mode, getColorScheme } from '../tools'; </s> add import { mode } from '../tools'; </s> remove colorScheme: 'default', </s> add
[ "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 import { Switch, VStack } from 'native-base'; </s> remove <> <Switch colorScheme="red" /> <Switch colorScheme="teal" size="lg" /> </> </s> add <VStack space={4}> <Switch /> <Switch offTrackColor="rose.200" onTrackColor="lime.200" /> <Switch offThumbColor="rose.200" onThumbColor="lime.200" /> </VStack> </s> remove <> <Switch size="sm" colorScheme="success" /> <Switch size="md" colorScheme="default" /> <Switch size="lg" colorScheme="orange" /> </> </s> add <VStack space={4}> <Switch size="sm" /> <Switch size="md" /> <Switch size="lg" /> </VStack> </s> remove import get from 'lodash/get'; import { mode, getColorScheme } from '../tools'; </s> add import { mode } from '../tools'; </s> remove function baseStyleTrack(props: Record<string, any>) { const { colorScheme, theme, offTrackColor } = props; const simplifiedColorScheme = getColorScheme(props); return colorScheme && colorScheme !== 'default' ? { false: offTrackColor ? mode( theme.colors[offTrackColor][400], theme.colors[offTrackColor][100] )(props) : mode(theme.colors.light[100], theme.colors.dark[50])(props), true: mode( theme.colors[simplifiedColorScheme][500], theme.colors[simplifiedColorScheme][200] )(props), } : undefined; } function baseStyleThumb(props: Record<string, any>) { return props.checked ? props.onColor ? get(props.theme.colors, props.onColor) : undefined : props.offColor ? get(props.theme.colors, props.offColor) : undefined; } </s> add const baseStyle = (props: Record<string, any>) => { let { onTrackColor, offTrackColor, onThumbColor, offThumbColor } = props;
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/6370e2ab4a624675d6de256eec1ae703f634022d
example/storybook/stories/components/primitives/Switch/SwitchBgColor.tsx