-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9ba9d3
commit 2c94fdd
Showing
9 changed files
with
63 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
node_modules | ||
.parcel-cache | ||
package-lock.json | ||
.DS_Store | ||
.husky/ | ||
.parcel-cache | ||
build | ||
dist | ||
node_modules | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "stylelint-config-sass-guidelines", | ||
"rules": { | ||
"max-nesting-depth": 5, | ||
"selector-class-pattern": "^[A-Z]{1}[a-z][a-zA-Z0-9]*(?:\\-[a-z][a-zA-Z0-9]*)?(?:\\-\\-[a-z][a-zA-Z0-9]*)?$" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "react-svg-strumming", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"author": "Rubén Martín Lozano <[email protected]>", | ||
"files": ["dist"], | ||
"license": "ISC", | ||
|
@@ -19,18 +19,25 @@ | |
"clean": "rimraf dist", | ||
"dev": "code . && parcel demo/index.html --open --port=1226", | ||
"fenix": "rimraf package-lock.json && rimraf node_modules && npm i -s --prefer-online --no-fund --no-audit", | ||
"lint": "stylelint '**/*.scss' --fix && standard --fix", | ||
"prebuild": "npm run clean", | ||
"prepublishOnly": "npm run build" | ||
"precommit": "npm run lint", | ||
"prepublishOnly": "npm run build", | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"classnames": "2.3.2" | ||
}, | ||
"devDependencies": { | ||
"@parcel/transformer-sass": "2.8.2", | ||
"parcel": "2.8.2", | ||
"@parcel/transformer-sass": "2.9.3", | ||
"husky": "8.0.0", | ||
"parcel": "2.9.3", | ||
"process": "0.11.10", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0" | ||
"react-dom": "18.2.0", | ||
"standard": "17.1.0", | ||
"stylelint-config-sass-guidelines": "10.0.0", | ||
"stylelint": "15.9.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "0.14 || 15 || 16 || 17 || 18" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import React, {Fragment} from 'react' | ||
import React from 'react' | ||
|
||
const Mute = ({ xCenter }) => ( | ||
<Fragment> | ||
<> | ||
<line x1={xCenter - 10} y1={40} x2={xCenter + 10} y2={60} /> | ||
<line x1={xCenter - 10} y1={60} x2={xCenter + 10} y2={40} /> | ||
</Fragment> | ||
</> | ||
) | ||
|
||
export default Mute |