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 |
|---|---|---|---|---|
<mask> {},
<mask> mapPropsToStyleNames
<mask> )(ActionSheetContainer);
<mask>
<mask> export { StyledActionSheetContainer as ActionSheetContainer }; </s> ActionSheet: Fixed as per design guidelines </s> remove items: [],
</s> add items: [] </s> remove FlatList
</s> add FlatList,
Dimensions ... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca | src/basic/Actionsheet.js | |
accessibilityHidden | <mask> const requiredAsterisk = () => (
<mask> <Text
<mask> //@ts-ignore web only role
<mask> accessibilityRole="presentation"
<mask> aria-hidden
<mask> color={textColor}
<mask> >
<mask> *
<mask> </Text>
<mask> );
</s> feat: add form control test cases </s> remov... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1ab2a58645f9b36183b8e4459ce38879042c6d72 | src/components/composites/FormControl/FormLabel.tsx |
nativeID: props.nativeID ?? field?.nativeID,
disabled: props.isDisabled || field?.isDisabled,
readOnly: props.isReadOnly || field?.isReadOnly,
required: props.isRequired || field?.isRequired,
accessibilityInvalid: ariaAttr(props.isInvalid || field?.isInvalid),
accessibilityRequired: ariaAttr(pro... | <mask> ]);
<mask>
<mask> return {
<mask> ...cleanProps,
<mask> 'nativeID': props.nativeID ?? field?.nativeID,
<mask> 'disabled': props.isDisabled || field?.isDisabled,
<mask> 'readOnly': props.isReadOnly || field?.isReadOnly,
<mask> 'required': props.isRequired || field?.isRequired,
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1ab2a58645f9b36183b8e4459ce38879042c6d72 | src/components/composites/FormControl/useFormControl.tsx |
else if (inputProps.accessibilityInvalid)
updatedBorderColor = errorBorderColor; | <mask>
<mask> let updatedBorderColor = borderColorFromProps;
<mask> if (isHovered) updatedBorderColor = hoverBorderColor;
<mask> else if (isFocused) updatedBorderColor = focusBorderColor;
<mask> else if (inputProps['aria-invalid']) updatedBorderColor = errorBorderColor;
<mask> const focusStyle = {
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1ab2a58645f9b36183b8e4459ce38879042c6d72 | src/components/primitives/Input/index.tsx |
import React, { forwardRef } from 'react'; | <mask> import React from 'react';
<mask> import { View as RNView } from 'react-native';
<mask> import { usePropsResolution } from '../../../hooks';
<mask> import { makeStyledBox } from '../../../utils/styled';
<mask> import type { IViewProps } from './types';
<mask>
</s> fix: added forward ref to view </s> remo... | [
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1bdefd3764da7cb68c65d6fbe00051c6580f3a73 | src/components/basic/View/View.tsx |
export const View = forwardRef((props: IViewProps, ref: any) => { | <mask> import type { IViewProps } from './types';
<mask>
<mask> const StyledView: any = makeStyledBox(RNView);
<mask>
<mask> export const View = (props: IViewProps, ref: any) => {
<mask> const { ...resolvedProps } = usePropsResolution('View', props);
<mask>
<mask> return <StyledView {...resolvedProps} re... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1bdefd3764da7cb68c65d6fbe00051c6580f3a73 | src/components/basic/View/View.tsx |
}); | <mask> export const View = (props: IViewProps, ref: any) => {
<mask> const { ...resolvedProps } = usePropsResolution('View', props);
<mask>
<mask> return <StyledView {...resolvedProps} ref={ref} />;
<mask> };
</s> fix: added forward ref to view </s> remove import React from 'react';
</s> add import React, {... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/1bdefd3764da7cb68c65d6fbe00051c6580f3a73 | src/components/basic/View/View.tsx |
keyboardShouldPersistTaps:this.props.keyboardShouldPersistTaps?this.props.keyboardShouldPersistTaps:'handled', | <mask> automaticallyAdjustContentInsets:false,
<mask> resetScrollToCoords:this.props.disableKBDismissScroll?null:{x:0,y:0},
<mask> ref:function ref(c){
<mask> _this2._scrollview=c;
<mask> _this2._root=c;
<mask> }},
</s> Merged 1414, transpiled, updated version to 2.3.4 </s> remove "version": "2.3.3",
</s> add... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c0f58e5f5c7e8a7620a0f6bbbe46de0d6ba18ce | dist/src/basic/Content.js |
enableResetScrollToCoords:_propTypes2.default.bool,
keyboardShouldPersistTaps:_propTypes2.default.string}; | <mask> Content.propTypes={
<mask> style:_propTypes2.default.oneOfType([_propTypes2.default.object,_propTypes2.default.number,_propTypes2.default.array]),
<mask> padder:_propTypes2.default.bool,
<mask> disableKBDismissScroll:_propTypes2.default.bool,
<mask> enableResetScrollToCoords:_propTypes2.default.bool};
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c0f58e5f5c7e8a7620a0f6bbbe46de0d6ba18ce | dist/src/basic/Content.js |
"version": "2.3.4", | <mask> "transformIgnorePatterns": [
<mask> "node_modules/(?!react-native|@shoutem|react-clone-referenced-element)"
<mask> ]
<mask> },
<mask> "version": "2.3.3",
<mask> "license": "Apache-2.0",
<mask> "private": false,
<mask> "dependencies": {
<mask> "blueimp-md5": "^2.5.0",
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c0f58e5f5c7e8a7620a0f6bbbe46de0d6ba18ce | package.json |
"styled-system": "^5.1.5",
"use-subscription": "^1.8.0" | <mask> "react-native-aria": "^0.2.3",
<mask> "react-native-safe-area-context": "^3.3.2",
<mask> "react-native-svg": "^12.1.1",
<mask> "styled-components": "^5.3.3",
<mask> "styled-system": "^5.1.5"
<mask> },
<mask> "devDependencies": {
<mask> "@expo/next-adapter": "^3.1.3",
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c20eb8a5785b8dd75a861736d7b55d48b65d9ef | next-example/package.json |
"inline-style-prefixer": "^6.0.1", | <mask> "@react-stately/tabs": "3.0.0-alpha.1",
<mask> "@react-stately/toggle": "3.2.1",
<mask> "@types/lodash.has": "^4.5.6",
<mask> "@types/use-subscription": "^1.0.0",
<mask> "lodash.clonedeep": "^4.5.0",
<mask> "lodash.get": "^4.4.2",
<mask> "lodash.has": "^4.5.2",
<mask> "lod... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c20eb8a5785b8dd75a861736d7b55d48b65d9ef | package.json |
// import { atomic } from 'react-native-web/dist/exports/StyleSheet/compiler';
import { atomic } from '../react-native-web-fucntions/atomic';
import preprocess from '../react-native-web-fucntions/preprocess'; | <mask> //@ts-ignore
<mask> import { atomic } from 'react-native-web/dist/exports/StyleSheet/compiler';
<mask> //@ts-ignore
<mask> import { createSheet } from 'react-native-web/dist/exports/StyleSheet/dom';
<mask> //@ts-ignore
<mask> import preprocess from 'react-native-web/dist/exports/StyleSheet/preprocess.js';
... | [
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c20eb8a5785b8dd75a861736d7b55d48b65d9ef | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts |
<mask> import { getResponsiveStylesImpl, useDimensionsWithEnable } from './common';
<mask> import { ResponsiveQueryContext } from './ResponsiveQueryProvider';
<mask> import React from 'react';
<mask>
<mask> // 1. i18nStyle - Does swapping of ltr styles if enabled by user
<mask>
<mask> // 2. createCompileableSt... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/GeekyAnts/NativeBase/commit/1c20eb8a5785b8dd75a861736d7b55d48b65d9ef | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
<mask> *
<mask> * This Implementation is based on asumptions that RNW doesn't change the * function or doesn't re-write them. if there is any change in RNW implmentation * it we'll break and needs to be updated.
<mask> *
<mask> */
<mask> const MEDIA_QUERY_STYLESHEET_GROUP = 3;
<mask>
<mask> export ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c20eb8a5785b8dd75a861736d7b55d48b65d9ef | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
let styleSheet: any;
const insert = (rule: string) => {
if (typeof window !== 'undefined') {
if (!styleSheet) {
const styleEl = document.createElement('style');
styleEl.type = 'text/css';
styleEl.appendChild(document.createTextNode(''));
document.head.appendChild(styleEl);
... | <mask> : undefined;
<mask>
<mask> let dataSet: DataSet = {};
<mask>
<mask> if (queries.query) {
<mask> queries.query.forEach((queryRule) => {
<mask> const queryHash = queriesHash + hash(stableHash(queryRule));
<mask> const dataAttribute = getDataAttribute(queryRule);
</s> fix: adding ... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c20eb8a5785b8dd75a861736d7b55d48b65d9ef | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts |
//@ts-ignore | <mask> const newStyle = preprocess(flattenQueryStyle);
<mask> const [compiledStyle, compiledOrderedRules] = atomic(newStyle);
<mask> delete compiledStyle.$$css; //removing unnecessary $$css property
<mask> Object.keys(compiledStyle).forEach((key) => {
<mask> const oldIdent... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c20eb8a5785b8dd75a861736d7b55d48b65d9ef | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts |
insert(`/*${queryHash}{}*/${mediaQueryRule}`); | <mask> });
<mask> });
<mask> if (mediaRules) {
<mask> const mediaQueryRule = getMediaQueryRule(queryRule, mediaRules);
<mask>
<mask> // Here by prepending the /*${queryHash}{}*/ comment, we're kind of tricking the regex used by rn-web to verify if a rule is inserted ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c20eb8a5785b8dd75a861736d7b55d48b65d9ef | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts |
<mask> //@ts-ignore
<mask> // import createCompileableStyle from 'react-native-web/dist/exports/StyleSheet/createCompileableStyle';
<mask> // //@ts-ignore
<mask> // import i18nStyle from 'react-native-web/dist/exports/StyleSheet/i18nStyle';
<mask>
<mask> //@ts-ignore
<mask> import { atomic } from 'react-native-... | [
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
<mask> // import i18nStyle from 'react-native-web/dist/exports/StyleSheet/i18nStyle';
<mask>
<mask> //@ts-ignore
<mask> import { atomic } from 'react-native-web/dist/exports/StyleSheet/compiler';
<mask>
<mask> // console.log(Test, 'test');
<mask> // //@ts-ignore
<mask> // import styleResolver from 'react-nati... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
<mask> //@ts-ignore
<mask> import { createSheet } from 'react-native-web/dist/exports/StyleSheet/dom';
<mask> //@ts-ignore
<mask> import preprocess from 'react-native-web/dist/exports/StyleSheet/preprocess';
<mask> // import {} from 'react-native-web';
<mask> import type {
<mask> DataSet,
<mask> Query,
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
// @ts-ignore | <mask> UseResponsiveQueryReturnType,
<mask> GetResponsiveStylesParams,
<mask> } from './types';
<mask> import { StyleSheet } from 'react-native';
<mask> //@ts-ignore
<mask> import stableHash from 'stable-hash';
<mask> import hash from './hash';
<mask> import type { GetResponsiveStylesReturnType } from './ty... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts |
<mask> ]
<mask> : undefined;
<mask>
<mask> let dataSet: DataSet = {};
<mask> // console.log(' hello query');
<mask>
<mask> if (queries.query) {
<mask> queries.query.forEach((queryRule) => {
<mask> const queryHash = queriesHash + hash(stableHash(queryRule));
<mask> const dataA... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
<mask>
<mask> let mediaRules = '';
<mask>
<mask> const flattenQueryStyle = StyleSheet.flatten(queryRule.style);
<mask> console.log('flattenQueryStyle', flattenQueryStyle);
<mask> // const newStyle = createCompileableStyle(i18nStyle(flattenQueryStyle));
<mask> const newSt... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
<mask> const flattenQueryStyle = StyleSheet.flatten(queryRule.style);
<mask> console.log('flattenQueryStyle', flattenQueryStyle);
<mask> // const newStyle = createCompileableStyle(i18nStyle(flattenQueryStyle));
<mask> const newStyle = preprocess(flattenQueryStyle);
<mask> co... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
<mask> // );
<mask>
<mask> // const results = atomic(flattenQueryStyle);
<mask> const [compiledStyle, compiledOrderedRules] = atomic(newStyle);
<mask> // console.log('*** atomic', compiledOrderedRules);
<mask> delete compiledStyle.$$css;
<mask> Object.keys(compile... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
compiledOrderedRules.forEach(([rules, _order]: any) => { | <mask> // console.log('*** atomic', compiledOrderedRules);
<mask> delete compiledStyle.$$css;
<mask> Object.keys(compiledStyle).forEach((key) => {
<mask> const oldIdentifier = compiledStyle[key];
<mask> compiledOrderedRules.forEach(([rules, order]) => {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts |
<mask>
<mask> mediaRules += newRule;
<mask> });
<mask> });
<mask>
<mask> // Object.keys(results).forEach((key) => {
<mask> // const oldIdentifier = results[key].identifier;
<mask>
<mask> // // if (process.env.NODE_ENV !== 'production') {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
const sheet = createSheet(); //return a sheet object which is being used doesn't create one | <mask> // Second argument defines the order of the insertion. DataSet and class selectors have same CSS specificity so we need to make sure that media rules have higher precedence. Max precendence in RN web is around 2.2 so 3 ensures styles will be appended later
<mask>
<mask> // const styleshee... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts |
<mask> sheet.insert(
<mask> `/*${queryHash}{}*/${mediaQueryRule}`,
<mask> MEDIA_QUERY_STYLESHEET_GROUP
<mask> );
<mask> // const myOwnStyleSheet = StyleSheet.create({});
<mask> // console.log(myOwnStyleSheet, 'hello 222');
<mask> // styles... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1c376aced426efae7e19244a8a4a5589a96a70fb | src/utils/useResponsiveQuery/useResponsiveQuery.web.ts | |
CloseButton, | <mask> Alert,
<mask> AlertDescription,
<mask> AlertTitle,
<mask> AlertIcon,
<mask> AlertCloseButton,
<mask> Box,
<mask> VStack,
<mask> } from 'native-base';
<mask>
<mask> export default function () {
</s> Fixes for box position and removed AlertCloseButton </s> remove AlertCloseButton,
</s>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/composition.tsx |
{/* <CloseButton /> */} | <mask> <AlertDescription>
<mask> Thanks for submitting your application. Our team will get back to you
<mask> soon.
<mask> </AlertDescription>
<mask>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask>
<mask> <Alert status="success">
<mask> <Ale... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/composition.tsx |
<CloseButton position="absolute" right="8px" /> | <mask> Your application has been received. We will review your application
<mask> and respond within the next 48 hours.
<mask> </AlertDescription>
<mask> </Box>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask> </VStack>
<mask> );
<mask> }
</s> Fi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/composition.tsx |
CloseButton, | <mask> Alert,
<mask> AlertDescription,
<mask> AlertTitle,
<mask> AlertIcon,
<mask> AlertCloseButton,
<mask> } from 'native-base';
<mask> import { select } from '@storybook/addon-knobs';
<mask>
<mask> export default function () {
<mask> return (
</s> Fixes for box position and removed AlertCloseB... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/knobEnabled.tsx |
<CloseButton position="absolute" right="8px" /> | <mask> >
<mask> <AlertIcon />
<mask> <AlertTitle>Error Alert</AlertTitle>
<mask> <AlertDescription>description goes here </AlertDescription>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask> );
<mask> }
</s> Fixes for box position and removed AlertCloseButton </s> remove ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/knobEnabled.tsx |
import { Stack, AlertDescription, Alert, AlertIcon } from 'native-base'; | <mask> import React from 'react';
<mask> import {
<mask> Stack,
<mask> AlertDescription,
<mask> Alert,
<mask> AlertIcon,
<mask> AlertCloseButton,
<mask> } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Stack space={3} mx={3}>
<mask> <Alert stat... | [
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/status.tsx |
<mask> <Stack space={3} mx={3}>
<mask> <Alert status="error">
<mask> <AlertIcon />
<mask> <AlertDescription>There was an error.</AlertDescription>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask>
<mask> <Alert status="success">
<mask> <AlertIcon />
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/status.tsx | |
<mask>
<mask> <Alert status="success">
<mask> <AlertIcon />
<mask> <AlertDescription>Data uploaded to the server.</AlertDescription>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask>
<mask> <Alert status="warning">
<mask> <AlertIcon />
<mask> <Alert... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/status.tsx | |
<mask>
<mask> <Alert status="warning">
<mask> <AlertIcon />
<mask> <AlertDescription>Your account is about expire</AlertDescription>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask>
<mask> <Alert status="default">
<mask> <AlertIcon />
<mask> <Alert... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/status.tsx | |
<mask>
<mask> <Alert status="default">
<mask> <AlertIcon />
<mask> <AlertDescription>NativeBase is going live soon.</AlertDescription>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask> </Stack>
<mask> );
<mask> }
</s> Fixes for box position and removed AlertCloseBut... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/status.tsx | |
CloseButton, | <mask> Alert,
<mask> AlertDescription,
<mask> AlertTitle,
<mask> AlertIcon,
<mask> AlertCloseButton,
<mask> Box,
<mask> } from 'native-base';
<mask> export default function () {
<mask> return (
<mask> <Box mx={3}>
</s> Fixes for box position and removed AlertCloseButton </s> remove AlertC... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/usage.tsx |
<CloseButton /> | <mask> <Alert status="error">
<mask> <AlertIcon />
<mask> <AlertTitle>Error Alert</AlertTitle>
<mask> <AlertDescription>description goes here</AlertDescription>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask> </Box>
<mask> );
<mask> }
</s> Fixes for box pos... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/usage.tsx |
import { Alert, Stack, AlertTitle, AlertIcon } from 'native-base'; | <mask> import React from 'react';
<mask> import {
<mask> Alert,
<mask> Stack,
<mask> AlertTitle,
<mask> AlertIcon,
<mask> AlertCloseButton,
<mask> } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Stack space={4} mx={3}>
<mask> <Alert variant="s... | [
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/variant.tsx |
<mask> <Stack space={4} mx={3}>
<mask> <Alert variant="solid" status="success">
<mask> <AlertIcon />
<mask> <AlertTitle>Alert Solid Variant</AlertTitle>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask> <Alert variant="left-accent" status="success">
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/variant.tsx | |
<mask> </Alert>
<mask> <Alert variant="left-accent" status="success">
<mask> <AlertIcon />
<mask> <AlertTitle>Alert Left Accent Variant</AlertTitle>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask> <Alert variant="top-accent" status="success">
<mask> <Al... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/variant.tsx | |
<mask> </Alert>
<mask> <Alert variant="top-accent" status="success">
<mask> <AlertIcon />
<mask> <AlertTitle>Alert Top Accent Variant</AlertTitle>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask> <Alert status="success">
<mask> <AlertIcon />
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/variant.tsx | |
<mask> </Alert>
<mask> <Alert status="success">
<mask> <AlertIcon />
<mask> <AlertTitle>Alert Default/Subtle Variant</AlertTitle>
<mask> <AlertCloseButton />
<mask> </Alert>
<mask> </Stack>
<mask> );
<mask> }
</s> Fixes for box position and removed AlertCloseBut... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/composites/Alert/variant.tsx | |
CloseButton, | <mask> VStack,
<mask> Alert,
<mask> AlertIcon,
<mask> AlertDescription,
<mask> AlertCloseButton,
<mask> } from 'native-base';
<mask>
<mask> export default function () {
<mask> const { closeOverlay, setOverlay } = useOverlay();
<mask>
</s> Fixes for box position and removed AlertCloseButton </s>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | example/storybook/stories/components/primitives/Overlay/Usage.tsx |
<mask> export { default as Alert } from './Alert';
<mask> export { AlertContext } from './Context';
<mask> export { default as AlertCloseButton } from './AlertCloseButton';
<mask> export { default as AlertDescription } from './AlertDescription';
<mask> export { default as AlertIcon } from './AlertIcon';
<mask> ex... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/composites/Alert/index.tsx | |
export { Alert, AlertTitle, AlertDescription, AlertIcon } from './Alert'; | <mask>
<mask> export { default as IconButton } from './IconButton';
<mask> export type { IIconButtonProps } from './IconButton';
<mask>
<mask> export {
<mask> Alert,
<mask> AlertTitle,
<mask> AlertDescription,
<mask> AlertIcon,
<mask> AlertCloseButton,
<mask> } from './Alert';
<mask> export type... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/composites/index.ts |
position, | <mask> layout,
<mask> space,
<mask> typography,
<mask> } from 'styled-system';
<mask> import {
<mask> customBorder,
<mask> customBackground,
<mask> customOutline,
</s> Fixes for box position and removed AlertCloseButton </s> remove import { border, color, flexbox, layout, space } from 'styled-syste... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Box/index.tsx |
customPosition, | <mask> customExtra,
<mask> customShadow,
<mask> customTypography,
<mask> } from '../../../utils/customProps';
<mask> import type { IBoxProps } from './props';
<mask>
<mask> const StyledBox = styled(View)<IBoxProps>(
<mask> color,
</s> Fixes for box position and removed AlertCloseButton </s> remove imp... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Box/index.tsx |
position, | <mask> layout,
<mask> flexbox,
<mask> border,
<mask> typography,
<mask> customPosition,
<mask> customBorder,
<mask> customBackground,
<mask> customOutline,
</s> Fixes for box position and removed AlertCloseButton </s> remove import { border, color, flexbox, layout, space } from 'styled-system';... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Box/index.tsx |
customPosition, | <mask> position,
<mask> typography,
<mask> customBorder,
<mask> customBackground,
<mask> customOutline,
<mask> customShadow,
</s> Fixes for box position and removed AlertCloseButton </s> remove import { border, color, flexbox, layout, space } from 'styled-system';
</s> add import { border, color, fl... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Box/index.tsx |
import { border, color, flexbox, layout, space, position } from 'styled-system'; | <mask> import React, { forwardRef } from 'react';
<mask> import { TouchableOpacity, TouchableOpacityProps } from 'react-native';
<mask> import styled from 'styled-components/native';
<mask> import { border, color, flexbox, layout, space } from 'styled-system';
<mask> import {
<mask> customBorder,
<mask> cust... | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Button/index.tsx |
customPosition, | <mask> customOutline,
<mask> customLayout,
<mask> customExtra,
<mask> customShadow,
<mask> } from '../../../utils/customProps';
<mask> import Text from '../../primitives/Text';
<mask> import { usePropsConfig } from '../../../hooks';
<mask> import { themeTools } from '../../../theme';
</s> Fixes for box... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Button/index.tsx |
position,
customPosition, | <mask> flexbox,
<mask> border,
<mask> customBorder,
<mask> customBackground,
<mask> customOutline,
<mask> customShadow,
<mask> customExtra,
</s> Fixes for box position and removed AlertCloseButton </s> remove import { border, color, flexbox, layout, space } from 'styled-system';
</s> add import {... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Button/index.tsx |
'left',
'top',
'bottom',
'right',
'position', | <mask> 'marginX',
<mask> 'my',
<mask> 'marginY',
<mask> ]);
<mask>
<mask> let [
<mask> additionalButtonProps,
</s> Fixes for box position and removed AlertCloseButton </s> remove AlertCloseButton,
</s> add </s> remove <AlertCloseButton />
</s> add </s> remove
<AlertCl... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Button/index.tsx |
PositionProps, | <mask> ColorProps,
<mask> FlexboxProps,
<mask> LayoutProps,
<mask> SpaceProps,
<mask> } from 'styled-system';
<mask> import type { AccessibilityRole, AccessibilityState } from 'react-native';
<mask>
<mask> export type IButtonAccessibilityProps = {
<mask> accessible?: boolean;
</s> Fixes for box pos... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Button/props.ts |
<mask> customExtraProps &
<mask> customOutlineProps &
<mask> customShadowProps &
<mask> customLayoutProps &
<mask> BorderProps &
<mask> IButtonAccessibilityProps & {
<mask> style?: ViewStyle;
<mask> children?: any;
<mask> highlight?: number | 0 | 1 | 0.5 | 0.25 | 0.75;
<mask> color... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/components/primitives/Button/props.ts | |
<mask> IIconButtonProps,
<mask> Variants,
<mask> AlertTitle,
<mask> AlertDescription,
<mask> AlertCloseButton,
<mask> AlertIcon,
<mask> Alert,
<mask> IAlertProps,
<mask> AspectRatio,
<mask> IAspectRatioProps,
</s> Fixes for box position and removed AlertCloseButton </s> remove AlertClos... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/index.tsx | |
<mask> AppBar,
<mask> Alert,
<mask> AlertTitle,
<mask> AlertDescription,
<mask> AlertCloseButton,
<mask> AlertIcon,
<mask> AspectRatio,
<mask> Avatar,
<mask> AvatarBadge,
<mask> AvatarGroup,
</s> Fixes for box position and removed AlertCloseButton </s> remove AlertCloseButton,
</s> add... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1cf4688667e32f654d35a18052346dfd5e245daf | src/index.tsx | |
connectStyle:_theme.connectStyle, | <mask> Fab:_Fab.Fab,
<mask> Tabs:_Tabs.Tabs,
<mask> Subtitle:_Subtitle.Subtitle,
<mask> StyleProvider:_theme.StyleProvider,
<mask> getTheme:_components2.default,
<mask> variables:_platform2.default};
<mask> //# sourceMappingURL=index.js.map </s> floating label fix for onFocus </s> remove marginTop:2,
</s> add ... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/backward/index.js |
toValue:-22, | <mask> }},{key:'floatUp',value:function floatUp()
<mask>
<mask> {
<mask> _reactNative.Animated.timing(this.state.topAnim,{
<mask> toValue:-5,
<mask> duration:150}).
<mask> start();
<mask> _reactNative.Animated.timing(this.state.opacAnim,{
<mask> toValue:0.7,
<mask> duration:150}).
</s> floating label fix fo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/basic/Item.js |
if(this.state.isFocused){ | <mask>
<mask> label,labelProps){
<mask> var newLabel=[];
<mask> if(this.props.floatingLabel){
<mask> if(this.state.text){
<mask> newLabel.push(_react2.default.createElement(_Label.Label,_extends({},
<mask>
<mask>
<mask> labelProps,{
<mask> key:'newFLabel',
</s> floating label fix for onFocus </s> remove }... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/basic/Item.js |
float:true,
style:_extends({
fontSize:15,
lineHeight:30},
labelProps.style)})));
| <mask>
<mask>
<mask> labelProps,{
<mask> key:'newFLabel',
<mask> float:true})));
<mask>
<mask>
<mask> this.floatUp();
<mask> }else{
<mask> newLabel.push(label);
</s> floating label fix for onFocus </s> remove }else if(this.state.text){
newLabel.push(_react2.default.createElement(_Label.Label,_extends({},... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/basic/Item.js |
<mask> }else{
<mask> newLabel.push(label);
<mask> this.floatBack();
<mask> }
<mask> }else if(this.state.text){
<mask> newLabel.push(_react2.default.createElement(_Label.Label,_extends({},
<mask>
<mask>
<mask> labelProps,{
<mask> key:'newLabel',
<mask> focused:true})));
<mask>
<mask>
<mask> }else{
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/basic/Item.js | |
newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:undefined,paddingBottom:_reactNative.Platform.OS==='ios'?undefined... | <mask> }
<mask> });
<mask> if(this.props.floatingLabel&&icon.length){
<mask> newChildren.push(_react2.default.createElement(_Icon.Icon,_extends({key:'i1'},iconProps,{style:{top:6}})));
<mask> newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/basic/Item.js |
newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?15:0,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:undefined,paddingBottom:_reactNative.Platform.OS==='ios'?undefined:... | <mask> newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:undefined,paddingBottom:_reactNative.Platform.OS==='ios'?u... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/basic/Item.js |
Object.defineProperty(exports,"__esModule",{value:true});exports.mapPropsToStyleNames=exports.DefaultTabBar=exports.TabContainer=exports.TabHeading=exports.View=exports.TabContent=exports.STabs=exports.Text=exports.Grid=exports.Row=exports.Col=exports.Gravatar=exports.Textarea=exports.Label=exports.Subtitle=exports.Ite... | <mask> Object.defineProperty(exports,"__esModule",{value:true});exports.mapPropsToStyleNames=exports.DefaultTabBar=exports.TabContainer=exports.TabHeading=exports.View=exports.TabContent=exports.STabs=exports.Text=exports.Grid=exports.Row=exports.Col=exports.Gravatar=exports.Textarea=exports.Label=exports.Subtitle=exp... | [
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/index.js |
connectStyle=_theme.connectStyle;exports. | <mask> getTheme=_components2.default;exports.
<mask> variables=_platform2.default;exports.
<mask> StyleProvider=_theme.StyleProvider;exports.
<mask> Drawer=_Drawer2.default;exports.
<mask> Button=_Button.Button;exports.
<mask> IconNB=_IconNB.IconNB;exports.
<mask> Icon=_Icon.Icon;exports.
<mask> Header=_Header.... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/index.js |
top:5, | <mask> '.stackedLabel':{
<mask> 'NativeBase.Label':{
<mask> paddingLeft:null},
<mask>
<mask> 'NativeBase.Input':{
<mask> paddingLeft:null,
<mask> marginLeft:platform==='ios'?undefined:-5},
</s> floating label fix for onFocus </s> remove top:8,
</s> add top:10, </s> remove marginTop:2,
</s> add </s> remove ... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/theme/components/Form.js |
top:10, | <mask>
<mask> '.floatingLabel':{
<mask> 'NativeBase.Input':{
<mask> paddingLeft:null,
<mask> top:8,
<mask> marginLeft:platform==='ios'?undefined:-5},
<mask>
<mask> 'NativeBase.Label':{
<mask> left:0,
<mask> top:8},
</s> floating label fix for onFocus </s> remove marginTop:2,
</s> add </s> remove ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/theme/components/Form.js |
marginTop:15, | <mask> 'NativeBase.Label':{
<mask> left:0,
<mask> top:8},
<mask>
<mask> marginLeft:15},
<mask>
<mask> '.regular':{
<mask> 'NativeBase.Label':{
</s> floating label fix for onFocus </s> remove top:8,
</s> add top:10, </s> remove marginTop: 2,
</s> add </s> remove marginTop:2,
</s> add </s> remov... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/theme/components/Form.js |
<mask> alignSelf:'center'},
<mask>
<mask> 'NativeBase.Input':{
<mask> alignSelf:'center',
<mask> marginTop:2,
<mask> lineHeight:24,
<mask> height:variables.searchBarHeight},
<mask>
<mask> alignSelf:'center',
<mask> alignItems:'center',
</s> floating label fix for onFocus </s> remove top:8,
</s> add top:10... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | dist/src/theme/components/Header.js | |
import { StyleProvider, connectStyle } from '@shoutem/theme'; | <mask> import { Col, Row, Grid } from 'react-native-easy-grid';
<mask> import { StyleProvider } from '@shoutem/theme';
<mask> import getTheme from '../theme/components';
<mask> import setDefaultThemeStyle from '../init';
<mask> import variables from '../theme/variables/platform';
<mask> import Drawer from '../bas... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/backward/index.js |
connectStyle, | <mask> Fab,
<mask> Tabs,
<mask> Subtitle,
<mask> StyleProvider,
<mask> getTheme,
<mask> variables,
<mask> };
</s> floating label fix for onFocus </s> remove import { StyleProvider } from '@shoutem/theme';
</s> add import { StyleProvider, connectStyle } from '@shoutem/theme'; </s> remove import { St... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/backward/index.js |
toValue: -22, | <mask> }
<mask>
<mask> floatUp() {
<mask> Animated.timing(this.state.topAnim, {
<mask> toValue: -5,
<mask> duration: 150,
<mask> }).start();
<mask> Animated.timing(this.state.opacAnim, {
<mask> toValue: 0.7,
<mask> duration: 150,
</s> floating label fix for onFocus </... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/basic/Item.js |
if (this.state.isFocused) { | <mask>
<mask> renderLabel(label, labelProps) {
<mask> const newLabel = [];
<mask> if (this.props.floatingLabel) {
<mask> if (this.state.text) {
<mask> newLabel.push(React.createElement(
<mask> Label,
<mask> {
<mask> ...labelProps,
<mask> key... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/basic/Item.js |
style: {
fontSize: 15,
lineHeight: 30,
...labelProps.style,
} | <mask> ...labelProps,
<mask> key: 'newFLabel',
<mask> float: true,
<mask> }
<mask> ));
<mask> this.floatUp();
<mask> } else {
<mask> newLabel.push(label);
<mask> this.floatBack();
</s> floating label fix for onFocus </s> remov... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/basic/Item.js |
<mask> } else {
<mask> newLabel.push(label);
<mask> this.floatBack();
<mask> }
<mask> } else if (this.state.text) {
<mask> newLabel.push(React.createElement(
<mask> Label,
<mask> {
<mask> ...labelProps,
<mask> key: 'newLabel',
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/basic/Item.js | |
newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label {...labelP... | <mask> }
<mask> });
<mask> if(this.props.floatingLabel && icon.length) {
<mask> newChildren.push(<Icon key="i1" {...iconProps} style={{ top: 6 }} />);
<mask> newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: th... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/basic/Item.js |
newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 15 : 0, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label {...labelPr... | <mask> newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label st... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/basic/Item.js |
import { StyleProvider, connectStyle } from '@shoutem/theme'; | <mask> import { StyleProvider } from '@shoutem/theme';
<mask> import { keys } from 'lodash';
<mask> import { Col, Row, Grid } from 'react-native-easy-grid';
<mask> import { Gravatar } from './backward/Widgets/Gravatar';
<mask> import setDefaultThemeStyle from './init';
<mask> import getTheme from './theme/compone... | [
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/index.js |
connectStyle, | <mask> variables,
<mask> StyleProvider,
<mask> Drawer,
<mask> Button,
<mask> IconNB,
<mask> Icon,
<mask> Header,
<mask> Form,
</s> floating label fix for onFocus </s> remove import { StyleProvider } from '@shoutem/theme';
</s> add import { StyleProvider, connectStyle } from '@shoutem/theme'; <... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/index.js |
top: 5, | <mask> },
<mask> },
<mask> '.stackedLabel': {
<mask> 'NativeBase.Label': {
<mask> paddingLeft: null,
<mask> },
<mask> 'NativeBase.Input': {
<mask> paddingLeft: null,
<mask> marginLeft: (platform === 'ios') ? undefined : -5,
</s> floating label fix for on... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/theme/components/Form.js |
top: 10, | <mask> },
<mask> '.floatingLabel': {
<mask> 'NativeBase.Input': {
<mask> paddingLeft: null,
<mask> top: 8,
<mask> marginLeft: (platform === 'ios') ? undefined : -5,
<mask> },
<mask> 'NativeBase.Label': {
<mask> left: 0,
<mask> top: 8,
</s> flo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/theme/components/Form.js |
marginTop: 15, | <mask> top: 8,
<mask> },
<mask> marginLeft: 15,
<mask> },
<mask> '.regular': {
<mask> 'NativeBase.Label': {
<mask> left: 0,
<mask> },
</s> floating label fix for onFocus </s> remove top: 8,
</s> add top: 10, </s> remove marginTop: 2,
<... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/theme/components/Form.js |
<mask> alignSelf: 'center',
<mask> },
<mask> 'NativeBase.Input': {
<mask> alignSelf: 'center',
<mask> marginTop: 2,
<mask> lineHeight: 24,
<mask> height: variables.searchBarHeight,
<mask> },
<mask> alignSelf: 'center',
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d1e602a8b39f885d7a6af3fbd20b31209e09151 | src/theme/components/Header.js | |
color: variables.toolbarTextColor, | <mask> alignSelf: "center",
<mask> alignItems: "center",
<mask> ".transparent": {
<mask> "NativeBase.Text": {
<mask> color: variables.toolbarBtnColor,
<mask> fontWeight: "600",
<mask> },
<mask> "NativeBase.Icon": {
<mask> color: variables.... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d92737e149e0b2d38d4fa735e8ffceda36c4bd3 | src/theme/components/Header.js |
color: variables.toolbarTextColor, | <mask> marginRight: 5,
<mask> marginLeft: 2,
<mask> },
<mask> "NativeBase.Text": {
<mask> color: variables.toolbarBtnColor,
<mask> fontSize: 17,
<mask> marginLeft: 2,
<mask> lineHeight: 21,
<mask> },
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d92737e149e0b2d38d4fa735e8ffceda36c4bd3 | src/theme/components/Header.js |
color: variables.toolbarTextColor, | <mask> marginRight: 2,
<mask> marginLeft: 2,
<mask> },
<mask> "NativeBase.Text": {
<mask> color: variables.toolbarBtnColor,
<mask> fontSize: 17,
<mask> top: platform === "ios" ? undefined : -1.5,
<mask> },
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d92737e149e0b2d38d4fa735e8ffceda36c4bd3 | src/theme/components/Header.js |
color: variables.toolbarTextColor, | <mask> marginRight: 2,
<mask> marginLeft: 5,
<mask> },
<mask> "NativeBase.Text": {
<mask> color: variables.toolbarBtnColor,
<mask> fontSize: 17,
<mask> lineHeight: 21,
<mask> },
<mask> "NativeBase.IconNB": {
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d92737e149e0b2d38d4fa735e8ffceda36c4bd3 | src/theme/components/Header.js |
color: variables.toolbarTextColor, | <mask> marginLeft: 2,
<mask> marginRight: 2,
<mask> },
<mask> "NativeBase.Text": {
<mask> color: variables.toolbarBtnColor,
<mask> fontSize: 17,
<mask> top: platform === "ios" ? undefined : -1.5,
<mask> },
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d92737e149e0b2d38d4fa735e8ffceda36c4bd3 | src/theme/components/Header.js |
toolbarTextColor: platform === "ios" ? "#007aff" : "#fff", | <mask> toolbarInputColor: platform === "ios" ? "#CECDD2" : "#fff",
<mask> searchBarHeight: platform === "ios" ? 30 : 40,
<mask> searchBarInputHeight: platform === "ios" ? 30 : 50,
<mask> toolbarInverseBg: "#222",
<mask> toolbarTextColor: platform === "ios" ? "#000" : "#fff",
<mask> toolbarDefaultBorde... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1d92737e149e0b2d38d4fa735e8ffceda36c4bd3 | src/theme/variables/platform.js |
export * from './components/primitives/ButtonGroup'; | <mask> // export * from './components/composites/Breadcrumb';
<mask> export * from './components/primitives/Button';
<mask> export * from './components/composites/Center';
<mask> export * from './components/primitives/Checkbox';
<mask> // export * from './components/composites/CircularProgress';
<mask> // export ... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1e4b1712cf96b2197cb3ea666800f7098f776081 | example/storybook/stories/index.ts |
rose: 500,
pink: 500, | <mask> return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
<mask> }
<mask>
<mask> const themeColorsThresholdShades: any = {
<mask> rose: 900,
<mask> pink: 900,
<mask> fuchsia: 800,
<mask> purple: 700,
<mask> violet: 600,
<mask> indigo: 500,
<mask> blue: 400,
</s> fix: adde... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1e4b1712cf96b2197cb3ea666800f7098f776081 | src/hooks/useContrastText.ts |
amber: 500,
orange: 500,
red: 500, | <mask> emerald: 300,
<mask> green: 400,
<mask> lime: 600,
<mask> yellow: 800,
<mask> amber: 900,
<mask> orange: 900,
<mask> red: 900,
<mask> warmGray: 500,
<mask> trueGray: 500,
<mask> gray: 500,
<mask> coolGray: 500,
<mask> blueGray: 500,
</s> fix: added storybook examples for butt... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1e4b1712cf96b2197cb3ea666800f7098f776081 | src/hooks/useContrastText.ts |
danger: 500,
error: 500, | <mask> gray: 500,
<mask> coolGray: 500,
<mask> blueGray: 500,
<mask> dark: 500,
<mask> danger: 900,
<mask> error: 900,
<mask> success: 400,
<mask> warning: 900,
<mask> muted: 500,
<mask> primary: 500,
<mask> info: 400,
</s> fix: added storybook examples for buttongroup separately </s> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1e4b1712cf96b2197cb3ea666800f7098f776081 | src/hooks/useContrastText.ts |
warning: 500, | <mask> dark: 500,
<mask> danger: 900,
<mask> error: 900,
<mask> success: 400,
<mask> warning: 900,
<mask> muted: 500,
<mask> primary: 500,
<mask> info: 400,
<mask> secondary: 500,
<mask> light: 500,
</s> fix: added storybook examples for buttongroup separately </s> remove danger: 900,
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1e4b1712cf96b2197cb3ea666800f7098f776081 | src/hooks/useContrastText.ts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.