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
// title={state.toString()}
<mask> const [state, setState] = React.useState(1); <mask> return ( <mask> <Box style={{ position: 'absolute', top: 10, left: 20 }} m={2} bg="red.100"> <mask> <Button <mask> title={state.toString()} <mask> onPress={() => setState(state + 1)} <mask> isCustom={true} <mask> variant="myNewButton" <mask> myPadding={1} <mask> /> </s> fix: custom prop typing fixes </s> remove isCustom={true} variant="myNewButton" myPadding={1} </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
example/storybook/stories/components/Wrapper.tsx
<mask> <Box style={{ position: 'absolute', top: 10, left: 20 }} m={2} bg="red.100"> <mask> <Button <mask> title={state.toString()} <mask> onPress={() => setState(state + 1)} <mask> isCustom={true} <mask> variant="myNewButton" <mask> myPadding={1} <mask> /> <mask> </Box> <mask> ); <mask> } <mask> export default ({ children, theme }: any) => { </s> fix: custom prop typing fixes </s> remove title={state.toString()} </s> add // title={state.toString()} </s> remove export type { IBoxProps }; </s> add export type { IBoxProps, InterfaceBoxProps };
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
example/storybook/stories/components/Wrapper.tsx
import type { IIconProps } from '../../primitives';
<mask> import type { IBoxProps, IIconProps } from '../../primitives'; <mask> import type { ICollapseProps } from '../../composites/Collapse'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export type IAccordionProps = ICollapseProps & { <mask> allowMultiple?: boolean; </s> fix: custom prop typing fixes </s> remove import type { SpaceType } from '../../types'; </s> add import type { CustomProps, SpaceType } from '../../types'; </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 { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { InterfaceIconProps } from '../../primitives/Icon/types';
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Accordion/types.ts
import type { InterfaceBoxProps } from '../../primitives/Box/types';
<mask> import type { IIconProps } from '../../primitives'; <mask> import type { ICollapseProps } from '../../composites/Collapse'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export type IAccordionProps = ICollapseProps & { <mask> allowMultiple?: boolean; <mask> allowToggle?: boolean; <mask> index?: number[]; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { IIconProps } from '../../primitives'; </s> remove import type { SpaceType } from '../../types'; </s> add import type { CustomProps, SpaceType } from '../../types'; </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 ITabsProps = IBoxProps<ITabsProps> & { </s> add export type ITabsProps = InterfaceBoxProps<ITabsProps> & { </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Accordion/types.ts
export type IAccordionItemProps = InterfaceBoxProps<IAccordionItemProps> & {
<mask> index?: number[]; <mask> defaultIndex?: number[]; <mask> onChange?: (index?: number[]) => void; <mask> }; <mask> export type IAccordionItemProps = IBoxProps<IAccordionItemProps> & { <mask> index?: number; <mask> defaultIsOpen?: boolean; <mask> isDisabled?: boolean; <mask> id?: number; <mask> }; </s> fix: custom prop typing fixes </s> remove export type IAccordionSummaryProps = IBoxProps<IAccordionSummaryProps> & { </s> add export type IAccordionSummaryProps = InterfaceBoxProps<IAccordionSummaryProps> & { </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 ITabsProps = IBoxProps<ITabsProps> & { </s> add export type ITabsProps = InterfaceBoxProps<ITabsProps> & { </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", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Accordion/types.ts
export type IAccordionSummaryProps = InterfaceBoxProps<IAccordionSummaryProps> & {
<mask> defaultIsOpen?: boolean; <mask> isDisabled?: boolean; <mask> id?: number; <mask> }; <mask> export type IAccordionSummaryProps = IBoxProps<IAccordionSummaryProps> & { <mask> _expanded?: Omit<IAccordionSummaryProps, '_expanded'>; <mask> _disabled?: Omit<IAccordionSummaryProps, '_disabled'>; <mask> _hover?: Omit<IAccordionSummaryProps, '_hover'>; <mask> }; <mask> export type IAccordionDetailsProps = ICollapseProps & {}; </s> fix: custom prop typing fixes </s> remove export type INumberInputStepperProps = IBoxProps<INumberInputStepperProps> & { </s> add export type INumberInputStepperProps = InterfaceBoxProps<INumberInputStepperProps> & { </s> remove export type IAccordionItemProps = IBoxProps<IAccordionItemProps> & { </s> add export type IAccordionItemProps = InterfaceBoxProps<IAccordionItemProps> & { </s> remove export type ITabProps = IBoxProps<ITabProps> & { </s> add export type ITabProps = InterfaceBoxProps<ITabProps> & { </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 ITabViewsProps = IBoxProps<ITabViewsProps>; export type ITabViewProps = IBoxProps<ITabViewProps> & { </s> add export type ITabViewsProps = InterfaceBoxProps<ITabViewsProps>; export type ITabViewProps = InterfaceBoxProps<ITabViewProps> & {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Accordion/types.ts
import type { InterfaceButtonProps } from '../../primitives/Button/types';
<mask> import type { IButtonProps } from '../../primitives/Button'; <mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { <mask> /** </s> fix: custom prop typing fixes </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove import type { IBoxProps } from '../../primitives/Box'; </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 { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types';
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Actionsheet/types.tsx
import type { CustomProps } from '../../../components/types';
<mask> import type { InterfaceButtonProps } from '../../primitives/Button/types'; <mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export interface InterfaceActionsheetProps <mask> extends IBoxProps<IActionsheetProps> { <mask> /** </s> fix: custom prop typing fixes </s> remove import type { IButtonProps } from '../../primitives/Button'; </s> add import type { InterfaceButtonProps } from '../../primitives/Button/types'; </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove import type { IButtonProps } from '../../primitives/Button/types'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceButtonProps } from '../../primitives/Button/types'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Actionsheet/types.tsx
export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> {
<mask> import type { IButtonProps } from '../../primitives/Button'; <mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { <mask> /** <mask> * If true, the ActionSheet will open. Useful for controllable state behaviour <mask> */ <mask> isOpen?: boolean; <mask> /** </s> fix: custom prop typing fixes </s> remove export interface IAlertDialogProps extends IBoxProps { </s> add export interface InterfaceAlertDialogProps extends IBoxProps { </s> remove export interface IModalProps extends IBoxProps<IModalProps> { </s> add export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> { </s> remove import type { IButtonProps } from '../../primitives/Button'; </s> add import type { InterfaceButtonProps } from '../../primitives/Button/types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Actionsheet/types.tsx
export interface IActionsheetItemProps extends InterfaceButtonProps {}
<mask> export interface IActionsheetFooterProps <mask> extends IBoxProps<IActionsheetFooterProps> {} <mask> export interface IActionsheetHeaderProps <mask> extends IBoxProps<IActionsheetHeaderProps> {} <mask> export interface IActionsheetItemProps extends IButtonProps {} <mask> <mask> export type IActionsheetComponentType = (( <mask> props: IActionsheetProps & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element) & { <mask> Content: React.MemoExoticComponent< </s> fix: custom prop typing fixes </s> remove export interface IPopoverContentProps extends IBoxProps<IPopoverContentProps> {} </s> add export interface IPopoverContentProps extends InterfaceBoxProps<IPopoverContentProps> {} </s> remove props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> remove props: IBoxProps<IModalProps> & { _scrollview?: IScrollViewProps } & { </s> add props: InterfaceBoxProps<IModalProps> & { _scrollview?: IScrollViewProps; } & { </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", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Actionsheet/types.tsx
import type { CustomProps, VariantType } from '../../types';
<mask> import type { MutableRefObject } from 'react'; <mask> import type { IBoxProps, IIconProps } from '../../primitives'; <mask> import type { VariantType } from '../../types'; <mask> <mask> export interface IAlertProps extends IBoxProps<IAlertProps> { <mask> /** The status of the alert <mask> * @default info <mask> */ </s> fix: custom prop typing fixes </s> remove export interface IAlertProps extends IBoxProps<IAlertProps> { </s> add export interface InterfaceAlertProps extends IBoxProps<IAlertProps> { </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { IIconProps } from '../../primitives'; </s> remove export interface IBadgeProps extends IBoxProps<IBadgeProps> { </s> add export interface InterfaceBadgeProps extends IBoxProps<IBadgeProps> { </s> remove import type { SpaceType } from '../../types'; </s> add import type { CustomProps, SpaceType } from '../../types';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Alert/types.tsx
export interface InterfaceAlertProps extends IBoxProps<IAlertProps> {
<mask> import type { MutableRefObject } from 'react'; <mask> import type { IBoxProps, IIconProps } from '../../primitives'; <mask> import type { VariantType } from '../../types'; <mask> <mask> export interface IAlertProps extends IBoxProps<IAlertProps> { <mask> /** The status of the alert <mask> * @default info <mask> */ <mask> status?: 'info' | 'warning' | 'success' | 'error' | (string & {}); <mask> /** The variant of the alert style to use. </s> fix: custom prop typing fixes </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove export interface IBadgeProps extends IBoxProps<IBadgeProps> { </s> add export interface InterfaceBadgeProps extends IBoxProps<IBadgeProps> { </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { IIconProps } from '../../primitives'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { CustomProps } from '../../../components/types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Alert/types.tsx
import type { CustomProps } from 'src/components/types';
<mask> import type { IIconButtonProps } from '../IconButton'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export interface InterfaceAlertDialogProps extends IBoxProps { <mask> /** <mask> * If true, the AlertDialog will open. Useful for controllable state behaviour <mask> */ <mask> isOpen?: boolean; </s> fix: custom prop typing fixes </s> remove export interface IAlertDialogProps extends IBoxProps { </s> add export interface InterfaceAlertDialogProps extends IBoxProps { </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove export interface IModalProps extends IBoxProps<IModalProps> { </s> add export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> { </s> remove export interface IInputProps </s> add export interface InterfaceInputProps
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/AlertDialog/types.ts
export interface InterfaceAlertDialogProps extends IBoxProps {
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { IIconButtonProps } from '../IconButton'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export interface IAlertDialogProps extends IBoxProps { <mask> /** <mask> * If true, the AlertDialog will open. Useful for controllable state behaviour <mask> */ <mask> isOpen?: boolean; <mask> /** </s> fix: custom prop typing fixes </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove export interface IModalProps extends IBoxProps<IModalProps> { </s> add export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> { </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove export interface IInputProps </s> add export interface InterfaceInputProps
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/AlertDialog/types.ts
import type { InterfaceStackProps } from '../../primitives/Stack/Stack';
<mask> import type { IStackProps } from '../../primitives'; <mask> <mask> export type IAppBarProps = IStackProps & { <mask> colorScheme?: string; <mask> statusBarHeight?: number; <mask> space?: number; </s> fix: custom prop typing fixes </s> remove export type IAppBarProps = IStackProps & { </s> add export type IAppBarProps = InterfaceStackProps & { </s> remove export type ITabsProps = IBoxProps<ITabsProps> & { </s> add export type ITabsProps = InterfaceBoxProps<ITabsProps> & { </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'; </s> remove import type { IBoxProps } from '../../primitives/Box/types'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types'; </s> remove export type ISimpleGridProps = IBoxProps<ISimpleGridProps> & { </s> add export type ISimpleGridProps = InterfaceBoxProps<ISimpleGridProps> & {
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/AppBar/types.tsx
export type IAppBarProps = InterfaceStackProps & {
<mask> import type { IStackProps } from '../../primitives'; <mask> <mask> export type IAppBarProps = IStackProps & { <mask> colorScheme?: string; <mask> statusBarHeight?: number; <mask> space?: number; <mask> }; <mask> </s> fix: custom prop typing fixes </s> remove import type { IStackProps } from '../../primitives'; </s> add import type { InterfaceStackProps } from '../../primitives/Stack/Stack'; </s> remove export type ITabsProps = IBoxProps<ITabsProps> & { </s> add export type ITabsProps = InterfaceBoxProps<ITabsProps> & { </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'; </s> remove import type { IBoxProps } from '../../primitives/Box/types'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types'; </s> remove export type ISimpleGridProps = IBoxProps<ISimpleGridProps> & { </s> add export type ISimpleGridProps = InterfaceBoxProps<ISimpleGridProps> & {
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/AppBar/types.tsx
Left: React.MemoExoticComponent<(props: InterfaceStackProps) => JSX.Element>; Right: React.MemoExoticComponent<(props: InterfaceStackProps) => JSX.Element>; Content: React.MemoExoticComponent< (props: InterfaceStackProps) => JSX.Element >;
<mask> space?: number; <mask> }; <mask> <mask> export type IAppBarComponentType = ((props: IAppBarProps) => JSX.Element) & { <mask> Left: React.MemoExoticComponent<(props: IStackProps) => JSX.Element>; <mask> Right: React.MemoExoticComponent<(props: IStackProps) => JSX.Element>; <mask> Content: React.MemoExoticComponent<(props: IStackProps) => JSX.Element>; <mask> }; </s> fix: custom prop typing fixes </s> remove export interface IActionsheetItemProps extends IButtonProps {} </s> add export interface IActionsheetItemProps extends InterfaceButtonProps {} </s> remove export type IAccordionItemProps = IBoxProps<IAccordionItemProps> & { </s> add export type IAccordionItemProps = InterfaceBoxProps<IAccordionItemProps> & { </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 export type IAppBarProps = IStackProps & { </s> add export type IAppBarProps = InterfaceStackProps & { </s> remove export interface IPopoverContentProps extends IBoxProps<IPopoverContentProps> {} </s> add export interface IPopoverContentProps extends InterfaceBoxProps<IPopoverContentProps> {}
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/AppBar/types.tsx
import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> <mask> export interface IAspectRatioProps extends IBoxProps<IAspectRatioProps> { <mask> /** <mask> * The aspect ratio of the container. Some examples are `16/9`, `16/10`, `9/16`, `4/3` <mask> * @default 4/3 </s> fix: custom prop typing fixes </s> remove export interface IAspectRatioProps extends IBoxProps<IAspectRatioProps> { </s> add export interface InterfaceAspectRatioProps extends IBoxProps<IAspectRatioProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove export interface ISwitchProps </s> add export interface InterfaceSwitchProps </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 import type { ResponsiveValue } from '../../types'; </s> add import type { CustomProps, ResponsiveValue } from '../../types';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/AspectRatio/types.ts
export interface InterfaceAspectRatioProps extends IBoxProps<IAspectRatioProps> {
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> <mask> export interface IAspectRatioProps extends IBoxProps<IAspectRatioProps> { <mask> /** <mask> * The aspect ratio of the container. Some examples are `16/9`, `16/10`, `9/16`, `4/3` <mask> * @default 4/3 <mask> */ <mask> ratio?: ResponsiveValue<number>; </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 export interface ISwitchProps </s> add export interface InterfaceSwitchProps </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 import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { CustomProps } from '../../../components/types';
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/AspectRatio/types.ts
import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { ImageSourcePropType } from 'react-native'; <mask> import type { MutableRefObject } from 'react'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IAvatarProps extends IBoxProps<IAvatarProps> { <mask> /** <mask> * The image source of the avatar. </s> fix: custom prop typing fixes </s> remove export interface IAvatarProps extends IBoxProps<IAvatarProps> { </s> add export interface InterfaceAvatarProps extends IBoxProps<IAvatarProps> { </s> remove import type { IBoxProps } from '../../primitives/Box'; </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'; </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", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Avatar/types.tsx
export interface InterfaceAvatarProps extends IBoxProps<IAvatarProps> {
<mask> import type { MutableRefObject } from 'react'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IAvatarProps extends IBoxProps<IAvatarProps> { <mask> /** <mask> * The image source of the avatar. <mask> */ <mask> source?: ImageSourcePropType; <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 { 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 '../../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/Avatar/types.tsx
import type { CustomProps, VariantType } from '../../types';
<mask> import type { VariantType } from '../../types'; <mask> import type { IBoxProps } from '../../primitives'; <mask> <mask> export interface IBadgeProps extends IBoxProps<IBadgeProps> { <mask> /** <mask> * The style variant of the badge. </s> fix: custom prop typing fixes </s> remove export interface IBadgeProps extends IBoxProps<IBadgeProps> { </s> add export interface InterfaceBadgeProps extends IBoxProps<IBadgeProps> { </s> remove export interface IAlertProps extends IBoxProps<IAlertProps> { </s> add export interface InterfaceAlertProps extends IBoxProps<IAlertProps> { </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { ResponsiveValue, VariantType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, VariantType } from '../../types';
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Badge/types.tsx
export interface InterfaceBadgeProps extends IBoxProps<IBadgeProps> {
<mask> import type { VariantType } from '../../types'; <mask> import type { IBoxProps } from '../../primitives'; <mask> <mask> export interface IBadgeProps extends IBoxProps<IBadgeProps> { <mask> /** <mask> * The style variant of the badge. <mask> * @default subtle <mask> */ <mask> variant?: VariantType<'Badge'>; </s> fix: custom prop typing fixes </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove export interface IAlertProps extends IBoxProps<IAlertProps> { </s> add export interface InterfaceAlertProps extends IBoxProps<IAlertProps> { </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </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';
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Badge/types.tsx
export type IBadgeProps = InterfaceBadgeProps | CustomProps<'Badge'>;
<mask> * The color scheme to use for the badge. Must be a key in theme.colors. <mask> */ <mask> colorScheme?: 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 IToastProps extends IBoxProps<IToastProps> { </s> add export interface InterfaceToastProps extends InterfaceBoxProps<IToastProps> {
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Badge/types.tsx
import type { CustomProps, SpaceType } from '../../types';
<mask> import type { IHStackProps } from '../../primitives/Stack/HStack'; <mask> import type { ITextProps, ILinkProps, IIconProps } from '../../primitives'; <mask> import type { MutableRefObject } from 'react'; <mask> import type { SpaceType } from '../../types'; <mask> export interface IBreadcrumbItemContext { <mask> isCurrent?: boolean; <mask> allChildren?: boolean; <mask> } <mask> </s> fix: custom prop typing fixes </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { IIconProps } from '../../primitives'; </s> remove import type { VariantType } from '../../types'; </s> add import type { CustomProps, VariantType } from '../../types'; </s> remove import type { IPressableProps } from '../Pressable'; </s> add </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/composites/Breadcrumb/types.ts
export interface InterfaceBreadcrumbProps extends IHStackProps {
<mask> isCurrent?: boolean; <mask> allChildren?: boolean; <mask> } <mask> <mask> export interface IBreadcrumbProps extends IHStackProps { <mask> spacing?: SpaceType; <mask> separator?: string | JSX.Element | JSX.Element[] | any; <mask> maxItems?: number | number[]; <mask> _button?: any; <mask> isCollapsed?: boolean; </s> fix: custom prop typing fixes </s> remove import type { SpaceType } from '../../types'; </s> add import type { CustomProps, SpaceType } from '../../types'; </s> remove export type ITabProps = IBoxProps<ITabProps> & { </s> add export type ITabProps = InterfaceBoxProps<ITabProps> & { </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 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 IPinInputFieldProps = IInputProps & { </s> add export type IPinInputFieldProps = InterfaceInputProps & {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Breadcrumb/types.ts
export type IBreadcrumbProps = | InterfaceBreadcrumbProps | CustomProps<'Breadcrumb'>;
<mask> Text: React.MemoExoticComponent< <mask> (props: IBreadcrumbTextProps & { ref?: any }) => JSX.Element <mask> >; <mask> }; </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> } </s> remove export type IButtonProps = ButtonProps | CustomProps<'Button'>; </s> add export type IButtonProps = InterfaceButtonProps | CustomProps<'Button'>;
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Breadcrumb/types.ts
import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../../components/primitives/Box/types';
<mask> import type { IBoxProps } from '../../primitives'; <mask> <mask> export interface ICenterProps extends IBoxProps<ICenterProps> {} <mask> export type ICircleProps = IBoxProps<ICircleProps> & { size?: number | string }; <mask> export type ISquareProps = IBoxProps<ISquareProps> & { size?: number | string }; </s> fix: custom prop typing fixes </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 ICodeProps = IBoxProps<ICodeProps> & { </s> add export type InterfaceCodeProps = InterfaceBoxProps<ICodeProps> & { </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box'; </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 export interface ITagProps extends IBoxProps<ITagProps> { </s> add export interface InterfaceTagProps extends InterfaceBoxProps<ITagProps> {
[ "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Center/types.ts
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'>;
<mask> import type { IBoxProps } from '../../primitives'; <mask> <mask> export interface ICenterProps extends IBoxProps<ICenterProps> {} <mask> export type ICircleProps = IBoxProps<ICircleProps> & { size?: number | string }; <mask> export type ISquareProps = IBoxProps<ISquareProps> & { size?: number | string }; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../../components/primitives/Box/types'; </s> remove export type ICodeProps = IBoxProps<ICodeProps> & { </s> add export type InterfaceCodeProps = InterfaceBoxProps<ICodeProps> & { </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box'; </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 export interface ITagProps extends IBoxProps<ITagProps> { </s> add export interface InterfaceTagProps extends InterfaceBoxProps<ITagProps> {
[ "keep", "keep", "replace", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Center/types.ts
import type { ITextProps } from '../../primitives';
<mask> import type { IBoxProps, ITextProps } from '../../primitives'; <mask> import type { ViewStyle } from 'react-native'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IColors } from '../../../theme/base/colors'; <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 import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IPressableProps } from '../Pressable'; </s> add
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/CircularProgress/types.ts
import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import type { IBoxProps, ITextProps } from '../../primitives'; <mask> import type { ViewStyle } from 'react-native'; <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 type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { <mask> style?: ViewStyle; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives'; </s> remove export type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { </s> add export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & { </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", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/CircularProgress/types.ts
import type { InterfaceBoxProps } from '../../../components/primitives/Box/types';
<mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> <mask> export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & { <mask> style?: ViewStyle; <mask> children?: JSX.Element | JSX.Element[] | string; </s> fix: custom prop typing fixes </s> remove export type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { </s> add export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/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 { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives';
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/CircularProgress/types.ts
export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & {
<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 type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { <mask> style?: ViewStyle; <mask> children?: JSX.Element | JSX.Element[] | string; <mask> value: number; <mask> size?: ResponsiveValue<ISizes | (string & {}) | number>; <mask> thickness?: number; </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 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 { 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/composites/CircularProgress/types.ts
export type ICircularProgressProps = | InterfaceCircularProgressProps | CustomProps<'CircularProgress'>;
<mask> max?: number; <mask> min?: number; <mask> _text?: ITextProps; <mask> }; </s> fix: custom prop typing fixes </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 IScaleFadeProps = IBoxProps<IScaleFadeProps> & { </s> add export type IScaleFadeProps = InterfaceBoxProps<IScaleFadeProps> & { </s> remove _filledTrack?: IBoxProps<IProgressProps>; </s> add _filledTrack?: InterfaceBoxProps<IProgressProps>; </s> remove export type ISlideProps = IBoxProps<ISlideProps> & { </s> add export type ISlideProps = InterfaceBoxProps<ISlideProps> & {
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/CircularProgress/types.ts
import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> <mask> export type ICodeProps = IBoxProps<ICodeProps> & { <mask> colorScheme?: string | undefined; <mask> }; </s> fix: custom prop typing fixes </s> remove export type ICodeProps = IBoxProps<ICodeProps> & { </s> add export type InterfaceCodeProps = InterfaceBoxProps<ICodeProps> & { </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../../components/primitives/Box/types'; </s> remove export interface ITagProps extends IBoxProps<ITagProps> { </s> add export interface InterfaceTagProps extends InterfaceBoxProps<ITagProps> { </s> remove export interface ILinkProps extends IBoxProps<ILinkProps> { </s> add export interface InterfaceLinkProps extends InterfaceBoxProps<ILinkProps> {
[ "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Code/types.ts
export type InterfaceCodeProps = InterfaceBoxProps<ICodeProps> & {
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> <mask> export type ICodeProps = IBoxProps<ICodeProps> & { <mask> colorScheme?: string | undefined; <mask> }; </s> fix: custom prop typing fixes </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 '../../primitives/Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../../components/primitives/Box/types'; </s> remove export interface ITagProps extends IBoxProps<ITagProps> { </s> add export interface InterfaceTagProps extends InterfaceBoxProps<ITagProps> { </s> remove export interface ILinkProps extends IBoxProps<ILinkProps> { </s> add export interface InterfaceLinkProps extends InterfaceBoxProps<ILinkProps> {
[ "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Code/types.ts
import { Box } from '../../primitives';
<mask> import isNil from 'lodash.isnil'; <mask> import React, { useEffect, useRef, forwardRef } from 'react'; <mask> import { ViewStyle, LayoutAnimation, UIManager, Platform } from 'react-native'; <mask> import { Box, IBoxProps } from '../../primitives'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> <mask> export type ICollapseProps = IBoxProps<ICollapseProps> & { <mask> style?: ViewStyle; <mask> endingHeight?: number; </s> fix: custom prop typing fixes </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 { 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'; </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Collapse/index.tsx
import type { InterfaceBoxProps } from '../../primitives/Box'; // import type { CustomProps } from 'src/components/types'; export type InterfaceCollapseProps = InterfaceBoxProps<ICollapseProps> & {
<mask> import React, { useEffect, useRef, forwardRef } from 'react'; <mask> import { ViewStyle, LayoutAnimation, UIManager, Platform } from 'react-native'; <mask> import { Box, IBoxProps } from '../../primitives'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> <mask> export type ICollapseProps = IBoxProps<ICollapseProps> & { <mask> style?: ViewStyle; <mask> endingHeight?: number; <mask> startingHeight?: number; <mask> duration?: number; <mask> animateOpacity?: boolean; </s> fix: custom prop typing fixes </s> remove import { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; </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'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../Box';
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Collapse/index.tsx
export type ICollapseProps = InterfaceCollapseProps;
<mask> onAnimationStart?: Function; <mask> }; <mask> <mask> function usePrevious(value: any) { <mask> const ref = useRef(); <mask> function updatePrevious(newVal: any) { <mask> ref.current = newVal; <mask> } </s> fix: custom prop typing fixes
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Collapse/index.tsx
import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import type { IBoxProps } from '../../primitives'; <mask> <mask> export type IContainerProps = IBoxProps<IContainerProps> & { <mask> centerContent?: boolean; <mask> }; </s> fix: custom prop typing fixes </s> remove export type IContainerProps = IBoxProps<IContainerProps> & { </s> add export type InterfaceContainerProps = InterfaceBoxProps<IContainerProps> & { </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { IIconProps } from '../../primitives'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Container/types.tsx
export type InterfaceContainerProps = InterfaceBoxProps<IContainerProps> & {
<mask> import type { IBoxProps } from '../../primitives'; <mask> <mask> export type IContainerProps = IBoxProps<IContainerProps> & { <mask> centerContent?: boolean; <mask> }; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { IIconProps } from '../../primitives'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Container/types.tsx
export type IContainerProps = | InterfaceContainerProps | CustomProps<'Container'>;
<mask> <mask> export type InterfaceContainerProps = InterfaceBoxProps<IContainerProps> & { <mask> centerContent?: boolean; <mask> }; </s> fix: custom prop typing fixes </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 '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove export type IAccordionSummaryProps = IBoxProps<IAccordionSummaryProps> & { </s> add export type IAccordionSummaryProps = InterfaceBoxProps<IAccordionSummaryProps> & { </s> remove export type INumberInputStepperProps = IBoxProps<INumberInputStepperProps> & { </s> add export type INumberInputStepperProps = InterfaceBoxProps<INumberInputStepperProps> & { </s> remove export type IAccordionItemProps = IBoxProps<IAccordionItemProps> & { </s> add export type IAccordionItemProps = InterfaceBoxProps<IAccordionItemProps> & {
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Container/types.tsx
import type { CustomProps, SpaceType } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box/types';
<mask> import type { SpaceType } from '../../../components/types'; <mask> import type { IBoxProps } from '../../primitives/Box/types'; <mask> <mask> export interface IDividerProps extends IBoxProps<IDividerProps> { <mask> /** <mask> * The orientation of the divider. <mask> */ </s> fix: custom prop typing fixes </s> remove export interface IDividerProps extends IBoxProps<IDividerProps> { </s> add export interface InterfaceDividerProps extends InterfaceBoxProps<IDividerProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../Box'; </s> remove import type { ResponsiveValue, SpaceType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, SpaceType } from '../../types'; </s> remove export interface IAvatarProps extends IBoxProps<IAvatarProps> { </s> add export interface InterfaceAvatarProps extends IBoxProps<IAvatarProps> {
[ "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Divider/types.ts
export interface InterfaceDividerProps extends InterfaceBoxProps<IDividerProps> {
<mask> import type { SpaceType } from '../../../components/types'; <mask> import type { IBoxProps } from '../../primitives/Box/types'; <mask> <mask> export interface IDividerProps extends IBoxProps<IDividerProps> { <mask> /** <mask> * The orientation of the divider. <mask> */ <mask> orientation?: 'vertical' | 'horizontal'; <mask> /** </s> fix: custom prop typing fixes </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 import type { IBoxProps } from '../Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../Box'; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { ResponsiveValue, SpaceType } from '../../types'; </s> add import type { CustomProps, ResponsiveValue, SpaceType } from '../../types'; </s> remove export interface IAvatarProps extends IBoxProps<IAvatarProps> { </s> add export interface InterfaceAvatarProps extends IBoxProps<IAvatarProps> {
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Divider/types.ts
export type IDividerProps = InterfaceDividerProps | CustomProps<'Divider'>;
<mask> * The thickness of the divider. <mask> */ <mask> thickness?: SpaceType; <mask> } </s> fix: custom prop typing fixes </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 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> {
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Divider/types.ts
import type { CustomProps } from 'src/components/types'; import type { InterfaceButtonProps } from '../../primitives/Button/types';
<mask> import type { IButtonProps } from '../../primitives/Button/types'; <mask> <mask> export interface IFabProps extends IButtonProps { <mask> /** <mask> * Placement of the Fab <mask> * @default bottom-right </s> fix: custom prop typing fixes </s> remove export interface IFabProps extends IButtonProps { </s> add export interface InterfaceFabProps extends InterfaceButtonProps { </s> remove import type { IButtonProps } from '../../primitives/Button'; </s> add import type { InterfaceButtonProps } from '../../primitives/Button/types'; </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove export interface ISwitchProps </s> add export interface InterfaceSwitchProps
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Fab/types.tsx
export interface InterfaceFabProps extends InterfaceButtonProps {
<mask> import type { IButtonProps } from '../../primitives/Button/types'; <mask> <mask> export interface IFabProps extends IButtonProps { <mask> /** <mask> * Placement of the Fab <mask> * @default bottom-right <mask> */ <mask> placement?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; </s> fix: custom prop typing fixes </s> remove import type { IButtonProps } from '../../primitives/Button/types'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceButtonProps } from '../../primitives/Button/types'; </s> remove import type { IButtonProps } from '../../primitives/Button'; </s> add import type { InterfaceButtonProps } from '../../primitives/Button/types'; </s> remove export interface IAlertProps extends IBoxProps<IAlertProps> { </s> add export interface InterfaceAlertProps extends IBoxProps<IAlertProps> { </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Fab/types.tsx
export type IFabProps = InterfaceFabProps | CustomProps<'FAB'>;
<mask> * @default true <mask> */ <mask> renderInPortal?: boolean; <mask> } </s> fix: custom prop typing fixes </s> remove _filledTrack?: IBoxProps<IProgressProps>; </s> add _filledTrack?: InterfaceBoxProps<IProgressProps>; </s> remove size?: ResponsiveValue<ISizes | (string & {}) | number>; </s> add size?: | ResponsiveValue<ISizes | (string & {}) | number> | ThemeComponentSizeType<'Input'>; </s> remove export interface IProgressProps extends IBoxProps<IProgressProps> { </s> add export interface InterfaceProgressProps extends InterfaceBoxProps<IProgressProps> { </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/composites/Fab/types.tsx
export interface InterfaceFormControlProps extends IBoxProps<IFormControlProps> {
<mask> import type { IBoxProps, IStackProps } from '../../primitives'; <mask> <mask> export interface IFormControlProps extends IBoxProps<IFormControlProps> { <mask> /** <mask> * If provided, this prop is passed to its children. <mask> */ <mask> nativeID?: string; <mask> /** </s> fix: custom prop typing fixes </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'; </s> remove import type { IStackProps } from '../../primitives'; </s> add import type { InterfaceStackProps } from '../../primitives/Stack/Stack'; </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 ICheckboxProps extends IBoxProps<ICheckboxProps> { </s> add export interface InterfaceCheckbox extends InterfaceBoxProps<ICheckboxProps> {
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/FormControl/types.tsx
import type { InterfacePressableProps } from '../../primitives/Pressable/types';
<mask> import type { IPressableProps } from '../../primitives/Pressable'; <mask> import type { IIconProps } from '../../primitives/Icon'; <mask> import type { ResponsiveValue, VariantType } from '../../types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IIconButtonProps </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 { IPressableProps } from '../Pressable'; </s> add </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types';
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/IconButton/types.ts
import type { CustomProps, ResponsiveValue, VariantType } from '../../types';
<mask> import type { IPressableProps } from '../../primitives/Pressable'; <mask> import type { IIconProps } from '../../primitives/Icon'; <mask> import type { ResponsiveValue, VariantType } from '../../types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IIconButtonProps <mask> extends Omit<IPressableProps, 'children' | 'color'>, <mask> Omit< </s> fix: custom prop typing fixes </s> remove export interface IIconButtonProps extends Omit<IPressableProps, 'children' | 'color'>, </s> add export interface InterfaceIconButtonProps extends Omit<InterfacePressableProps, 'children' | 'color'>, </s> remove import type { IPressableProps } from '../../primitives/Pressable'; </s> add import type { InterfacePressableProps } from '../../primitives/Pressable/types'; </s> remove import type { IPressableProps } from '../Pressable'; </s> add </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/IconButton/types.ts
export interface InterfaceIconButtonProps extends Omit<InterfacePressableProps, 'children' | 'color'>,
<mask> import type { IIconProps } from '../../primitives/Icon'; <mask> import type { ResponsiveValue, VariantType } from '../../types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IIconButtonProps <mask> extends Omit<IPressableProps, 'children' | 'color'>, <mask> Omit< <mask> IIconProps, <mask> | 'delayLongPress' <mask> | 'disabled' <mask> | 'hitSlop' </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 import type { IPressableProps } from '../../primitives/Pressable'; </s> add import type { InterfacePressableProps } from '../../primitives/Pressable/types'; </s> remove export interface IIconProps </s> add import type { CustomProps, ThemeComponentSizeType } from '../../types/utils'; export interface InterfaceIconProps </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove export interface IImageProps </s> add export interface InterfaceImageProps
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/IconButton/types.ts
export type IIconButtonProps = InterfaceIconButtonProps | CustomProps<'Icon'>;
<mask> * <mask> */ <mask> _focus?: IIconButtonProps; <mask> } </s> fix: custom prop typing fixes </s> remove export interface IProgressProps extends IBoxProps<IProgressProps> { </s> add export interface InterfaceProgressProps extends InterfaceBoxProps<IProgressProps> { </s> remove export interface IZStackProps extends IBoxProps<IZStackProps> { </s> add export interface InterfaceZStackProps extends IBoxProps<IZStackProps> {
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/IconButton/types.ts
import type { InterfaceBoxProps } from '../../primitives/Box/types';
<mask> import type { ITextProps } from '../../primitives/Text'; <mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { IPressableProps } from '../../primitives/Pressable'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export interface IMenuProps extends IBoxProps<IMenuProps> { <mask> /** </s> fix: custom prop typing fixes </s> remove import type { IPressableProps } from '../Pressable'; </s> add </s> remove export interface IMenuProps extends IBoxProps<IMenuProps> { </s> add export interface InterfaceMenuProps extends InterfaceBoxProps<IMenuProps> { </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'; </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Menu/types.ts
import type { CustomProps } from '../../../components/types';
<mask> import type { InterfaceBoxProps } from '../../primitives/Box/types'; <mask> import type { IPressableProps } from '../../primitives/Pressable'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export interface InterfaceMenuProps extends InterfaceBoxProps<IMenuProps> { <mask> /** <mask> * Function that returns a React Element. This element will be used as a Trigger for the menu </s> fix: custom prop typing fixes </s> remove export interface IMenuProps extends IBoxProps<IMenuProps> { </s> add export interface InterfaceMenuProps extends InterfaceBoxProps<IMenuProps> { </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types'; </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 { IPressableProps } from '../../primitives/Pressable'; </s> add import type { InterfacePressableProps } from '../../primitives/Pressable/types';
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Menu/types.ts
export interface InterfaceMenuProps extends InterfaceBoxProps<IMenuProps> {
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { IPressableProps } from '../../primitives/Pressable'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export interface IMenuProps extends IBoxProps<IMenuProps> { <mask> /** <mask> * Function that returns a React Element. This element will be used as a Trigger for the menu <mask> */ <mask> trigger: (_props: any, state: { open: boolean }) => JSX.Element; <mask> /** </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types'; </s> remove export interface IAlertDialogProps extends IBoxProps { </s> add export interface InterfaceAlertDialogProps extends IBoxProps { </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Menu/types.ts
export type IMenuProps = InterfaceMenuProps | CustomProps<'Menu'>;
<mask> closeMenu?: () => void; <mask> open?: boolean; <mask> closeOnSelect?: boolean; <mask> }; </s> fix: custom prop typing fixes </s> remove export type IAccordionItemProps = IBoxProps<IAccordionItemProps> & { </s> add export type IAccordionItemProps = InterfaceBoxProps<IAccordionItemProps> & { </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 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 export type ITabBarProps = IBoxProps<ITabBarProps> & { </s> add export type ITabBarProps = InterfaceBoxProps<ITabBarProps> & {
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Menu/types.ts
import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { IIconButtonProps } from '../../composites/IconButton'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; </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 { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </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'; </s> remove import type { IPressableProps } from '../Pressable'; </s> add
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Modal/types.ts
import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { IIconButtonProps } from '../../composites/IconButton'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IScrollViewProps } from '../../basic/ScrollView'; <mask> <mask> export interface IModalProps extends IBoxProps<IModalProps> { <mask> /** </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives/Box'; </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 export interface IModalProps extends IBoxProps<IModalProps> { </s> add export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> { </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/composites/Modal/types.ts
export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> {
<mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IScrollViewProps } from '../../basic/ScrollView'; <mask> <mask> export interface IModalProps extends IBoxProps<IModalProps> { <mask> /** <mask> * If true, the modal will open. Useful for controllable state behaviour <mask> */ <mask> isOpen?: boolean; <mask> /** </s> fix: custom prop typing fixes </s> remove export interface IAlertDialogProps extends IBoxProps { </s> add export interface InterfaceAlertDialogProps extends IBoxProps { </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove export interface IInputProps </s> add export interface InterfaceInputProps
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Modal/types.ts
props: InterfaceBoxProps<IModalProps> & { _scrollview?: IScrollViewProps; } & {
<mask> props: IModalProps & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element) & { <mask> Body: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IModalProps> & { _scrollview?: IScrollViewProps } & { <mask> ref?: MutableRefObject<any>; <mask> } <mask> ) => JSX.Element <mask> >; <mask> CloseButton: React.MemoExoticComponent< </s> fix: custom prop typing fixes </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> } </s> remove props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </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> }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Modal/types.ts
props: InterfaceBoxProps<IModalProps> & { ref?: MutableRefObject<any> }
<mask> (props: IIconButtonProps & { ref?: MutableRefObject<any> }) => JSX.Element <mask> >; <mask> Content: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element <mask> >; <mask> Footer: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> fix: custom prop typing fixes </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> } </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Modal/types.ts
props: InterfaceBoxProps<IModalProps> & { ref?: MutableRefObject<any> }
<mask> ) => JSX.Element <mask> >; <mask> Footer: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element <mask> >; <mask> Header: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> fix: custom prop typing fixes </s> remove props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IModalProps> & { ref?: MutableRefObject<any> } </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<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Modal/types.ts
props: InterfaceBoxProps<IModalProps> & { ref?: MutableRefObject<any> }
<mask> ) => JSX.Element <mask> >; <mask> Header: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IModalProps> & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element <mask> >; <mask> }; </s> fix: custom prop typing fixes </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<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> } </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Modal/types.ts
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';
<mask> import type { IInputProps, IBoxProps, IStackProps } from '../../primitives'; <mask> <mask> export type INumberInputProps = IInputProps & <mask> IBoxProps<INumberInputProps> & { <mask> onChange?: (value: number) => void; <mask> min?: number; </s> fix: custom prop typing fixes </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 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 { IBoxProps } from '../../primitives/Box/types'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types'; </s> remove export type ITypeaheadProps = IBoxProps<ITypeaheadProps> & { </s> add export type ITypeaheadProps = InterfaceBoxProps<ITypeaheadProps> & {
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/NumberInput/types.tsx
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'>;
<mask> import type { IInputProps, IBoxProps, IStackProps } from '../../primitives'; <mask> <mask> export type INumberInputProps = IInputProps & <mask> IBoxProps<INumberInputProps> & { <mask> onChange?: (value: number) => void; <mask> min?: number; <mask> max?: number; <mask> step?: number; <mask> precision?: number; <mask> isReadOnly?: boolean; <mask> isInvalid?: boolean; <mask> isDisabled?: boolean; <mask> keepWithinRange?: boolean; <mask> allowMouseWheel?: boolean; <mask> clampValueOnBlur?: boolean; <mask> focusInputOnChange?: boolean; <mask> getAriaValueText?: boolean; <mask> children?: JSX.Element[] | JSX.Element; <mask> }; <mask> <mask> export type INumberInputFieldProps = IInputProps & {}; <mask> export type INumberInputSteppersProps = IStackProps & { <mask> children: JSX.Element[] | JSX.Element; <mask> }; </s> fix: custom prop typing fixes </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 export type INumberInputStepperProps = IBoxProps<INumberInputStepperProps> & { </s> add export type INumberInputStepperProps = InterfaceBoxProps<INumberInputStepperProps> & { </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'; </s> remove export type IPinInputFieldProps = IInputProps & { </s> add export type IPinInputFieldProps = InterfaceInputProps & { </s> remove export type IAccordionItemProps = IBoxProps<IAccordionItemProps> & { </s> add export type IAccordionItemProps = InterfaceBoxProps<IAccordionItemProps> & {
[ "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/NumberInput/types.tsx
export type INumberInputStepperProps = InterfaceBoxProps<INumberInputStepperProps> & {
<mask> export type INumberInputFieldProps = IInputProps & {}; <mask> export type INumberInputSteppersProps = IStackProps & { <mask> children: JSX.Element[] | JSX.Element; <mask> }; <mask> export type INumberInputStepperProps = IBoxProps<INumberInputStepperProps> & { <mask> isDisabled?: boolean; <mask> _disabled?: Omit<INumberInputStepperProps, '_disabled'>; <mask> _active?: Omit<INumberInputStepperProps, '_active'>; <mask> }; <mask> export type INumberInputContext = INumberInputProps & { </s> fix: custom prop typing fixes </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 IAccordionSummaryProps = IBoxProps<IAccordionSummaryProps> & { </s> add export type IAccordionSummaryProps = InterfaceBoxProps<IAccordionSummaryProps> & { </s> remove export type IPinInputFieldProps = IInputProps & { </s> add export type IPinInputFieldProps = InterfaceInputProps & { </s> remove export type ITabProps = IBoxProps<ITabProps> & { </s> add export type ITabProps = InterfaceBoxProps<ITabProps> & { </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", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/NumberInput/types.tsx
import type { InterfaceInputProps } from '../../primitives/Input/types'; import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import type { MutableRefObject } from 'react'; <mask> import type { IInputProps } from '../../primitives'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export type IPinInputProps = IInputProps & { <mask> onChange?: (value: string) => void; <mask> children?: JSX.Element[] | JSX.Element; </s> fix: custom prop typing fixes </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, 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'; </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types'; </s> remove import type { IBoxProps } from '../../primitives/Box/types'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box/types'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box';
[ "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/PinInput/types.tsx
export type IPinInputProps = | (InterfaceInputProps & { onChange?: (value: string) => void; children?: JSX.Element[] | JSX.Element; manageFocus?: boolean; }) | CustomProps<'PinInput'>;
<mask> import type { IInputProps } from '../../primitives'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export type IPinInputProps = IInputProps & { <mask> onChange?: (value: string) => void; <mask> children?: JSX.Element[] | JSX.Element; <mask> manageFocus?: boolean; <mask> }; <mask> <mask> export type IPinInputFieldProps = IInputProps & { <mask> fieldIndex?: number; <mask> inputSize?: number | string; <mask> }; </s> fix: custom prop typing fixes </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 export type IPinInputFieldProps = IInputProps & { </s> add export type IPinInputFieldProps = InterfaceInputProps & { </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 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'; </s> remove export type ICircularProgressProps = IBoxProps<ICircularProgressProps> & { </s> add export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & {
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/PinInput/types.tsx
export type IPinInputFieldProps = InterfaceInputProps & {
<mask> children?: JSX.Element[] | JSX.Element; <mask> manageFocus?: boolean; <mask> }; <mask> <mask> export type IPinInputFieldProps = IInputProps & { <mask> fieldIndex?: number; <mask> inputSize?: number | string; <mask> }; <mask> export type IPinInputComponentType = (( <mask> props: IPinInputProps & { ref?: MutableRefObject<any> } </s> fix: custom prop typing fixes </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 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 interface IPopoverContentProps extends IBoxProps<IPopoverContentProps> {} </s> add export interface IPopoverContentProps extends InterfaceBoxProps<IPopoverContentProps> {} </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 export type INumberInputStepperProps = IBoxProps<INumberInputStepperProps> & { </s> add export type INumberInputStepperProps = InterfaceBoxProps<INumberInputStepperProps> & {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/PinInput/types.tsx
import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import type { ColorValue } from 'react-native'; <mask> import type { IBoxProps } from '../../primitives/Box'; <mask> import type { IIconButtonProps } from '../../composites/IconButton'; <mask> import type { MutableRefObject } from 'react'; <mask> <mask> export type IPopoverArrowProps = { <mask> height?: number; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives/Box'; </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'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </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", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Popover/types.ts
} & InterfaceBoxProps;
<mask> export type IPopoverArrowProps = { <mask> height?: number; <mask> width?: number; <mask> color?: ColorValue; <mask> } & IBoxProps; <mask> <mask> export type IPopoverArrowImplProps = { <mask> placement?: string; <mask> arrowProps: IArrowProps; <mask> height: number; </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove export type ISlideFadeProps = IBoxProps<ISlideFadeProps> & { </s> add export type ISlideFadeProps = InterfaceBoxProps<ISlideFadeProps> & { </s> remove export type ISlideProps = IBoxProps<ISlideProps> & { </s> add export type ISlideProps = InterfaceBoxProps<ISlideProps> & { </s> remove export type IAppBarProps = IStackProps & { </s> add export type IAppBarProps = InterfaceStackProps & { </s> remove import type { IStackProps } from '../../primitives'; </s> add import type { InterfaceStackProps } from '../../primitives/Stack/Stack';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Popover/types.ts
export interface InterfacePopoverProps {
<mask> export type IArrowProps = { <mask> style: Object; <mask> }; <mask> <mask> export interface IPopoverProps { <mask> /** <mask> * If true, the popover will be opened by default <mask> */ <mask> defaultIsOpen?: boolean; <mask> /** </s> fix: custom prop typing fixes </s> remove export interface IModalProps extends IBoxProps<IModalProps> { </s> add export interface InterfaceModalProps extends InterfaceBoxProps<IModalProps> { </s> remove export interface IAlertDialogProps extends IBoxProps { </s> add export interface InterfaceAlertDialogProps extends IBoxProps { </s> remove export interface IActionsheetProps extends IBoxProps<IActionsheetProps> { </s> add export interface InterfaceActionsheetProps extends IBoxProps<IActionsheetProps> { </s> remove export interface IInputProps </s> add export interface InterfaceInputProps
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Popover/types.ts
export interface IPopoverContentProps extends InterfaceBoxProps<IPopoverContentProps> {}
<mask> arrowHeight: number; <mask> arrowWidth: number; <mask> }; <mask> <mask> export interface IPopoverContentProps extends IBoxProps<IPopoverContentProps> {} <mask> <mask> export type IPopoverComponentType = (( <mask> props: IPopoverProps & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element & { ref?: MutableRefObject<any> }) & { <mask> Body: React.MemoExoticComponent< </s> fix: custom prop typing fixes </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> } </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> } </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Popover/types.ts
props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
<mask> props: IPopoverProps & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element & { ref?: MutableRefObject<any> }) & { <mask> Body: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element <mask> >; <mask> CloseButton: React.MemoExoticComponent< <mask> ( <mask> props: Omit<IIconButtonProps, 'icon'> & { ref?: MutableRefObject<any> } </s> fix: custom prop typing fixes </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { 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> } </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> }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Popover/types.ts
props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
<mask> ) => JSX.Element <mask> >; <mask> Footer: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element <mask> >; <mask> Header: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> fix: custom prop typing fixes </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> } </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { 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", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Popover/types.ts
props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
<mask> ) => JSX.Element <mask> >; <mask> Header: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element <mask> >; <mask> Arrow: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> fix: custom prop typing fixes </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { 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> } </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", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Popover/types.ts
props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
<mask> ) => JSX.Element <mask> >; <mask> Arrow: React.MemoExoticComponent< <mask> ( <mask> props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } <mask> ) => JSX.Element <mask> >; <mask> }; </s> fix: custom prop typing fixes </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { 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> } </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> }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Popover/types.ts
import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import { Box, IBoxProps } from '../../primitives'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <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 { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../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'; </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/composites/Progress/index.tsx
import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import { Box, IBoxProps } from '../../primitives'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IProgressProps extends IBoxProps<IProgressProps> { <mask> /** <mask> * Value of Progress. </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 export interface IProgressProps extends IBoxProps<IProgressProps> { </s> add export interface InterfaceProgressProps extends InterfaceBoxProps<IProgressProps> { </s> remove import { default as Box } from '../Box'; </s> add import { default as Box, InterfaceBoxProps } from '../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/composites/Progress/index.tsx
export interface InterfaceProgressProps extends InterfaceBoxProps<IProgressProps> {
<mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> <mask> export interface IProgressProps extends IBoxProps<IProgressProps> { <mask> /** <mask> * Value of Progress. <mask> * @default 0 <mask> */ <mask> value?: number; </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 { Box, IBoxProps } from '../../primitives'; </s> add import { Box } from '../../primitives'; import type { InterfaceBoxProps } from '../../primitives/Box'; </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';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Progress/index.tsx
_filledTrack?: InterfaceBoxProps<IProgressProps>;
<mask> // isIndeterminate?: boolean; <mask> /** <mask> * Pseudo prop to give Prop to filled track <mask> */ <mask> _filledTrack?: IBoxProps<IProgressProps>; <mask> /** <mask> * Min progress value <mask> * @default 0 <mask> */ <mask> min?: number; </s> fix: custom prop typing fixes </s> remove export interface IFormControlProps extends IBoxProps<IFormControlProps> { </s> add export interface InterfaceFormControlProps extends IBoxProps<IFormControlProps> { </s> remove export interface IRadioProps extends IBoxProps<IRadioProps> { </s> add export interface InterfaceRadioProps extends IBoxProps<IRadioProps> { </s> remove export interface IProgressProps extends IBoxProps<IProgressProps> { </s> add export interface InterfaceProgressProps extends InterfaceBoxProps<IProgressProps> { </s> remove export interface ISliderProps extends IBoxProps<ISliderProps> { </s> add export interface InterfaceSliderProps extends InterfaceBoxProps<ISliderProps> { </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/composites/Progress/index.tsx
export type IProgressProps = InterfaceProgressProps | CustomProps<'Progress'>;
<mask> max?: number; <mask> } <mask> <mask> const Progress = (props: IProgressProps, ref?: any) => { <mask> const { <mask> min, <mask> max, <mask> value, <mask> _filledTrack, </s> fix: custom prop typing fixes
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Progress/index.tsx
import type { InterfaceBoxProps } from '../../primitives/Box/types';
<mask> import type { IBoxProps } from '../../primitives/Box/types'; <mask> <mask> export type ISimpleGridProps = IBoxProps<ISimpleGridProps> & { <mask> space?: number; <mask> columns?: number; <mask> minChildWidth?: number; </s> fix: custom prop typing fixes </s> remove export type ISimpleGridProps = IBoxProps<ISimpleGridProps> & { </s> add export type ISimpleGridProps = InterfaceBoxProps<ISimpleGridProps> & { </s> remove import type { IStackProps } from '../../primitives'; </s> add import type { InterfaceStackProps } from '../../primitives/Stack/Stack'; </s> remove export type IAppBarProps = IStackProps & { </s> add export type IAppBarProps = InterfaceStackProps & { </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';
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/SimpleGrid/types.ts
export type ISimpleGridProps = InterfaceBoxProps<ISimpleGridProps> & {
<mask> import type { IBoxProps } from '../../primitives/Box/types'; <mask> <mask> export type ISimpleGridProps = IBoxProps<ISimpleGridProps> & { <mask> space?: number; <mask> columns?: number; <mask> minChildWidth?: number; <mask> spacingX?: number; <mask> spacingY?: number; </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 import type { IStackProps } from '../../primitives'; </s> add import type { InterfaceStackProps } from '../../primitives/Stack/Stack'; </s> remove export type IAppBarProps = IStackProps & { </s> add export type IAppBarProps = InterfaceStackProps & { </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';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/SimpleGrid/types.ts
import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import type { MutableRefObject } from 'react'; <mask> import type { IBoxProps } from '../../primitives'; <mask> import type { IStackProps } from '../../primitives/Stack/Stack'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> export interface ISkeletonProps extends IBoxProps<ISkeletonProps> { </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 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'; </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';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Skeleton/types.tsx
import type { CustomProps, ResponsiveValue } from '../../../components/types';
<mask> import type { MutableRefObject } from 'react'; <mask> import type { IBoxProps } from '../../primitives'; <mask> import type { IStackProps } from '../../primitives/Stack/Stack'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> export interface ISkeletonProps extends IBoxProps<ISkeletonProps> { <mask> /** <mask> * The fadeIn duration in seconds </s> fix: custom prop typing fixes </s> remove export interface ISkeletonProps extends IBoxProps<ISkeletonProps> { </s> add export interface InterfaceSkeletonProps extends InterfaceBoxProps<ISkeletonProps> { </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </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 } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types';
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Skeleton/types.tsx
export interface InterfaceSkeletonProps extends InterfaceBoxProps<ISkeletonProps> {
<mask> import type { IStackProps } from '../../primitives/Stack/Stack'; <mask> import type { ResponsiveValue } from '../../../components/types'; <mask> import type { ISizes } from '../../../theme/base/sizes'; <mask> import type { IColors } from '../../../theme/base/colors'; <mask> export interface ISkeletonProps extends IBoxProps<ISkeletonProps> { <mask> /** <mask> * The fadeIn duration in seconds <mask> */ <mask> fadeDuration?: number; <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 { 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'; </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/composites/Skeleton/types.tsx
import type { InterfaceBoxProps } from '../../primitives/Box'; import type { InterfaceIconProps } from '../../primitives/Icon/types';
<mask> import type { RefObject } from 'react'; <mask> import type { ViewProps } from 'react-native'; <mask> import type { IBoxProps, IIconProps } from '../../primitives'; <mask> <mask> export type ITabsProps = IBoxProps<ITabsProps> & { <mask> align?: 'center' | 'end' | 'start'; <mask> id?: string; <mask> colorScheme?: string; </s> fix: custom prop typing fixes </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 { IIconProps } from '../../primitives'; </s> remove import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { SafeAreaProps } from '../../../components/types'; </s> add import type { CustomProps, SafeAreaProps } from '../../../components/types'; </s> remove import type { IBoxProps, ITextProps } from '../../primitives'; </s> add import type { ITextProps } from '../../primitives';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tabs/types.tsx
export type ITabsProps = InterfaceBoxProps<ITabsProps> & {
<mask> import type { RefObject } from 'react'; <mask> import type { ViewProps } from 'react-native'; <mask> import type { IBoxProps, IIconProps } from '../../primitives'; <mask> <mask> export type ITabsProps = IBoxProps<ITabsProps> & { <mask> align?: 'center' | 'end' | 'start'; <mask> id?: string; <mask> colorScheme?: string; <mask> index?: number; <mask> defaultIndex?: number; </s> fix: custom prop typing fixes </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 import type { IBoxProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; </s> remove import type { IStackProps } from '../../primitives'; </s> add import type { InterfaceStackProps } from '../../primitives/Stack/Stack'; </s> remove export type IFadeProps = IBoxProps<IFadeProps> & { </s> add export type IFadeProps = InterfaceBoxProps<IFadeProps> & { </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { IIconProps } from '../../primitives';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tabs/types.tsx
export type ITabBarProps = InterfaceBoxProps<ITabBarProps> & {
<mask> onChange?: (index: number) => void; <mask> keyboardActivation?: 'manual' | 'automatic'; <mask> }; <mask> <mask> export type ITabBarProps = IBoxProps<ITabBarProps> & { <mask> align?: 'center' | 'end' | 'start'; <mask> isFitted?: boolean; <mask> size?: 'sm' | 'md' | 'lg'; <mask> tablistRef?: RefObject<any>; <mask> tabListProps?: ViewProps; </s> fix: custom prop typing fixes </s> remove export type ITabProps = IBoxProps<ITabProps> & { </s> add export type ITabProps = InterfaceBoxProps<ITabProps> & { </s> remove export type ITabsProps = IBoxProps<ITabsProps> & { </s> add export type ITabsProps = InterfaceBoxProps<ITabsProps> & { </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 import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { InterfaceIconProps } from '../../primitives/Icon/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'>;
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tabs/types.tsx
export type ITabProps = InterfaceBoxProps<ITabProps> & {
<mask> size?: 'sm' | 'md' | 'lg'; <mask> tablistRef?: RefObject<any>; <mask> tabListProps?: ViewProps; <mask> }; <mask> export type ITabProps = IBoxProps<ITabProps> & { <mask> isDisabled?: boolean; <mask> _active?: any; <mask> _disabled?: any; <mask> _hover?: any; <mask> item?: any; </s> fix: custom prop typing fixes </s> remove export type ITabBarProps = IBoxProps<ITabBarProps> & { </s> add export type ITabBarProps = InterfaceBoxProps<ITabBarProps> & { </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'>; </s> remove export interface IBreadcrumbProps extends IHStackProps { </s> add export interface InterfaceBreadcrumbProps extends IHStackProps {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tabs/types.tsx
export type ITabViewsProps = InterfaceBoxProps<ITabViewsProps>; export type ITabViewProps = InterfaceBoxProps<ITabViewProps> & {
<mask> _hover?: any; <mask> item?: any; <mask> }; <mask> <mask> export type ITabViewsProps = IBoxProps<ITabViewsProps>; <mask> export type ITabViewProps = IBoxProps<ITabViewProps> & { <mask> index?: number; <mask> }; <mask> <mask> export type ITabsContextProps = { <mask> activeIconProps?: any; </s> fix: custom prop typing fixes </s> remove export type ITabProps = IBoxProps<ITabProps> & { </s> add export type ITabProps = InterfaceBoxProps<ITabProps> & { </s> remove export type IViewProps = ViewProps & StyledProps & SafeAreaProps & { children?: any; }; </s> add export type IViewProps = | (ViewProps & StyledProps & SafeAreaProps & { children?: any; }) | CustomProps<'View'>; </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'>; </s> remove export type IAccordionItemProps = IBoxProps<IAccordionItemProps> & { </s> add export type IAccordionItemProps = InterfaceBoxProps<IAccordionItemProps> & {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tabs/types.tsx
(props: InterfaceIconProps & { ref?: any }) => JSX.Element
<mask> View: React.MemoExoticComponent< <mask> (props: ITabViewProps & { ref?: any }) => JSX.Element <mask> >; <mask> Icon: React.MemoExoticComponent< <mask> (props: IIconProps & { ref?: any }) => JSX.Element <mask> >; <mask> }; </s> fix: custom prop typing fixes </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> } </s> remove props: IBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> } </s> add props: InterfaceBoxProps<IPopoverProps> & { ref?: MutableRefObject<any> }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tabs/types.tsx
import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box';
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> <mask> export interface ITagProps extends IBoxProps<ITagProps> { <mask> variant?: 'solid' | 'subtle' | 'outline'; <mask> colorScheme?: string; <mask> size?: string | number; </s> fix: custom prop typing fixes </s> remove export interface ITagProps extends IBoxProps<ITagProps> { </s> add export interface InterfaceTagProps extends InterfaceBoxProps<ITagProps> { </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 export type ICodeProps = IBoxProps<ICodeProps> & { </s> add export type InterfaceCodeProps = InterfaceBoxProps<ICodeProps> & { </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';
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tag/types.ts
export interface InterfaceTagProps extends InterfaceBoxProps<ITagProps> {
<mask> import type { IBoxProps } from '../../primitives/Box'; <mask> <mask> export interface ITagProps extends IBoxProps<ITagProps> { <mask> variant?: 'solid' | 'subtle' | 'outline'; <mask> colorScheme?: string; <mask> size?: string | number; <mask> } </s> fix: custom prop typing fixes </s> remove import type { IBoxProps } from '../../primitives/Box'; </s> add import type { CustomProps } from '../../../components/types'; import type { InterfaceBoxProps } from '../../primitives/Box'; </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 '../../primitives'; </s> add import type { CustomProps } from 'src/components/types'; import type { InterfaceBoxProps } from '../../../components/primitives/Box/types'; </s> remove export type ICodeProps = IBoxProps<ICodeProps> & { </s> add export type InterfaceCodeProps = InterfaceBoxProps<ICodeProps> & { </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", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Tag/types.ts
import type { InterfaceStackProps } from '../../primitives/Stack/Stack';
<mask> import type { IInputProps } from '../../primitives/Input'; <mask> import type { IStackProps } from '../../primitives/Stack'; <mask> import type { ISelectProps } from '../../primitives/Select'; <mask> import type { ITextAreaProps } from '../../primitives/TextArea'; <mask> <mask> type componentsSpecificProps = <mask> | ({ component?: 'input' } & IInputProps) </s> fix: custom prop typing fixes </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'; </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 { IPressableProps } from '../Pressable'; </s> add </s> remove import type { PlatformProps, VariantType } from '../../types'; </s> add import type { PlatformProps, ThemeComponentSizeType, VariantType, } from '../../types';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/TextField/types.tsx
import type { CustomProps } from '../../../components/types';
<mask> import type { ISelectProps } from '../../primitives/Select'; <mask> import type { ITextAreaProps } from '../../primitives/TextArea'; <mask> <mask> type componentsSpecificProps = <mask> | ({ component?: 'input' } & IInputProps) <mask> | ({ component?: 'textarea' } & ITextAreaProps) </s> fix: custom prop typing fixes </s> remove import type { IStackProps } from '../../primitives/Stack'; </s> add import type { InterfaceStackProps } from '../../primitives/Stack/Stack'; </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'>; </s> remove import type { ResponsiveValue } from '../../../components/types'; </s> add import type { CustomProps, ResponsiveValue } from '../../../components/types'; </s> remove import type { IBoxProps, IIconProps } from '../../primitives'; </s> add import type { InterfaceBoxProps } from '../../primitives/Box'; import type { InterfaceIconProps } from '../../primitives/Icon/types';
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/TextField/types.tsx
export type ITextFieldProps = | (componentsSpecificProps & InterfaceStackProps & { helperText?: string; errorMessage?: string; _helperTextProps?: any; _errorMessageProps?: any; }) | CustomProps<'TextField'>;
<mask> | ({ component?: 'input' } & IInputProps) <mask> | ({ component?: 'textarea' } & ITextAreaProps) <mask> | ({ component?: 'select' } & ISelectProps); <mask> <mask> export type ITextFieldProps = componentsSpecificProps & <mask> IStackProps & { <mask> helperText?: string; <mask> errorMessage?: string; <mask> _helperTextProps?: any; <mask> _errorMessageProps?: any; <mask> }; </s> fix: custom prop typing fixes </s> remove import type { IStackProps } from '../../primitives/Stack'; </s> add import type { InterfaceStackProps } from '../../primitives/Stack/Stack'; </s> remove export type IViewProps = ViewProps & StyledProps & SafeAreaProps & { children?: any; }; </s> add export type IViewProps = | (ViewProps & StyledProps & SafeAreaProps & { children?: any; }) | CustomProps<'View'>; </s> remove export type ITypeaheadProps = IBoxProps<ITypeaheadProps> & { </s> add export type ITypeaheadProps = InterfaceBoxProps<ITypeaheadProps> & { </s> remove export type IAppBarProps = IStackProps & { </s> add export type IAppBarProps = InterfaceStackProps & {
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/TextField/types.tsx
import type { InterfaceBoxProps } from '../../primitives/Box'; import type { CustomProps } from '../../../components/types';
<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> */ </s> fix: custom prop typing fixes </s> remove export interface IToastProps extends IBoxProps<IToastProps> { </s> add export interface InterfaceToastProps extends InterfaceBoxProps<IToastProps> { </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", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
src/components/composites/Toast/types.ts