react-credit-cards-2
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "react-credit-cards-2", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Beautiful credit cards for your payment forms", | ||
@@ -119,3 +119,3 @@ "author": "AMARO Fashion <tech@amaro.com>", | ||
"watch": "npm run build && watch-run -p 'src/**/.{ts,tsx,scss}' npm run build", | ||
"clean": "rimraf dist", | ||
"clean": "rimraf dist/ es/ lib/ coverage/ .tmp/", | ||
"lint": "eslint --max-warnings=0 src", | ||
@@ -122,0 +122,0 @@ "format": "prettier --write './src/**/*.{js,jsx,ts,tsx,css,md,json}' --config ./prettier.config.cjs", |
@@ -1,4 +0,4 @@ | ||
# React Credit Cards 2 | ||
# React Credit Cards 2 - Community Package | ||
> This repository is a hard-fork from the original [react-credit-cards](https://github.com/amaroteam/react-credit-cards) package, and it does not intend to add any new functionality. The main purpose of this fork is to refresh dependencies from the original, to make it usable with React 17 and 18, and to clear the out installation warnings. | ||
> This repository is a hard-fork from the original [react-credit-cards](https://github.com/amaroteam/react-credit-cards) package. The main purpose is to update dependencies, make it usable with React 17 and 18 and clear installation warnings. | ||
@@ -45,3 +45,3 @@ [](https://www.npmjs.com/package/react-credit-cards-2) [](https://bundlephobia.com/package/react-credit-cards-2) [](https://travis-ci.org/amarofashion/react-credit-cards) [](https://codeclimate.com/github/amarofashion/react-credit-cards/maintainability) [](https://codeclimate.com/github/amarofashion/react-credit-cards/test_coverage) | ||
return ( | ||
<div id='PaymentForm'> | ||
<div> | ||
<Cards | ||
@@ -72,5 +72,6 @@ number={state.number} | ||
Don't forget to import the `react-credit-cards-2/lib/styles.scss` if you are using SASS in your project. | ||
If you are using SASS, import the CSS `react-credit-cards-2/dist/lib/styles.scss` | ||
Or you can import the CSS: | ||
`import 'react-credit-cards-2/es/styles-compiled.css';` | ||
`import 'react-credit-cards-2/dist/es/styles-compiled.css';` | ||
@@ -193,1 +194,2 @@ ### Features | ||
###### Made with ❤️ at [AMARO](https://amaro.com). | ||
###### Maintained with ❤️ by the community |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
193
0
438403