├── .all-contributorsrc ├── .env.example ├── .eslintrc.js ├── .github ├── CODEOWNERS ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── question.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── auto-merge.yml │ ├── ci.yml │ └── release.yml ├── .gitignore ├── .npmignore ├── .prettierrc.js ├── .watchmanconfig ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── example ├── .expo-shared │ └── assets.json ├── .gitignore ├── App.tsx ├── app.json ├── assets │ ├── adaptive-icon.png │ ├── favicon.png │ ├── icon.png │ └── splash.png ├── babel.config.js ├── metro.config.js ├── package.json ├── tsconfig.json ├── webpack.config.js └── yarn.lock ├── jest.config.js ├── jest.setupFilesAfterEnv.ts ├── package.json ├── src ├── @types │ ├── AutoCapitalizeOptions.ts │ ├── FormatType.ts │ ├── MaskOptions.ts │ ├── StyleObj.ts │ ├── TextDecorationOptions.ts │ └── index.ts ├── components │ ├── MaskedText.test.tsx │ ├── MaskedText.tsx │ ├── MaskedTextInput.test.tsx │ ├── MaskedTextInput.tsx │ └── __snapshots__ │ │ ├── MaskedText.test.tsx.snap │ │ └── MaskedTextInput.test.tsx.snap ├── index.ts └── utils │ ├── addPlaceholder.ts │ ├── constants.ts │ ├── mask.test.ts │ ├── mask.ts │ └── toPattern.ts ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | GITHUB_TOKEN= -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @akinncar 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.github/ISSUE_TEMPLATE/question.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/auto-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.github/workflows/auto-merge.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/.watchmanconfig -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/README.md -------------------------------------------------------------------------------- /example/.expo-shared/assets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/.expo-shared/assets.json -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/App.tsx -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/app.json -------------------------------------------------------------------------------- /example/assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/assets/adaptive-icon.png -------------------------------------------------------------------------------- /example/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/assets/favicon.png -------------------------------------------------------------------------------- /example/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/assets/icon.png -------------------------------------------------------------------------------- /example/assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/assets/splash.png -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/package.json -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/webpack.config.js -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.setupFilesAfterEnv.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-native/extend-expect' -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/package.json -------------------------------------------------------------------------------- /src/@types/AutoCapitalizeOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/@types/AutoCapitalizeOptions.ts -------------------------------------------------------------------------------- /src/@types/FormatType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/@types/FormatType.ts -------------------------------------------------------------------------------- /src/@types/MaskOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/@types/MaskOptions.ts -------------------------------------------------------------------------------- /src/@types/StyleObj.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/@types/StyleObj.ts -------------------------------------------------------------------------------- /src/@types/TextDecorationOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/@types/TextDecorationOptions.ts -------------------------------------------------------------------------------- /src/@types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/@types/index.ts -------------------------------------------------------------------------------- /src/components/MaskedText.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/components/MaskedText.test.tsx -------------------------------------------------------------------------------- /src/components/MaskedText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/components/MaskedText.tsx -------------------------------------------------------------------------------- /src/components/MaskedTextInput.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/components/MaskedTextInput.test.tsx -------------------------------------------------------------------------------- /src/components/MaskedTextInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/components/MaskedTextInput.tsx -------------------------------------------------------------------------------- /src/components/__snapshots__/MaskedText.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/components/__snapshots__/MaskedText.test.tsx.snap -------------------------------------------------------------------------------- /src/components/__snapshots__/MaskedTextInput.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/components/__snapshots__/MaskedTextInput.test.tsx.snap -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/utils/addPlaceholder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/utils/addPlaceholder.ts -------------------------------------------------------------------------------- /src/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/utils/constants.ts -------------------------------------------------------------------------------- /src/utils/mask.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/utils/mask.test.ts -------------------------------------------------------------------------------- /src/utils/mask.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/utils/mask.ts -------------------------------------------------------------------------------- /src/utils/toPattern.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/src/utils/toPattern.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akinncar/react-native-mask-text/HEAD/yarn.lock --------------------------------------------------------------------------------