@uiw/react-github-corners
Advanced tools
+40
-15
| .github-corner:hover .octo-arm { | ||
| animation: octocat-wave 560ms ease-in-out; | ||
| -webkit-animation: octocat-wave 560ms ease-in-out; | ||
| animation: octocat-wave 560ms ease-in-out; | ||
| } | ||
| @keyframes octocat-wave{ | ||
| 0%, 100%{ | ||
| transform: rotate(0); | ||
| @-webkit-keyframes octocat-wave { | ||
| 0%, | ||
| 100% { | ||
| -webkit-transform: rotate(0); | ||
| transform: rotate(0); | ||
| } | ||
| 20%, 60%{ | ||
| transform: rotate(-25deg); | ||
| 20%, | ||
| 60% { | ||
| -webkit-transform: rotate(-25deg); | ||
| transform: rotate(-25deg); | ||
| } | ||
| 40%, 80%{ | ||
| transform: rotate(10deg); | ||
| 40%, | ||
| 80% { | ||
| -webkit-transform: rotate(10deg); | ||
| transform: rotate(10deg); | ||
| } | ||
| } | ||
| @media (max-width:500px){ | ||
| .github-corner:hover .octo-arm{ | ||
| animation: none; | ||
| @keyframes octocat-wave { | ||
| 0%, | ||
| 100% { | ||
| -webkit-transform: rotate(0); | ||
| transform: rotate(0); | ||
| } | ||
| .github-corner .octo-arm{ | ||
| animation: octocat-wave 560ms ease-in-out; | ||
| 20%, | ||
| 60% { | ||
| -webkit-transform: rotate(-25deg); | ||
| transform: rotate(-25deg); | ||
| } | ||
| } | ||
| 40%, | ||
| 80% { | ||
| -webkit-transform: rotate(10deg); | ||
| transform: rotate(10deg); | ||
| } | ||
| } | ||
| @media (max-width: 500px) { | ||
| .github-corner:hover .octo-arm { | ||
| -webkit-animation: none; | ||
| animation: none; | ||
| } | ||
| .github-corner .octo-arm { | ||
| -webkit-animation: octocat-wave 560ms ease-in-out; | ||
| animation: octocat-wave 560ms ease-in-out; | ||
| } | ||
| } |
+2
-3
| { | ||
| "name": "@uiw/react-github-corners", | ||
| "version": "1.5.0", | ||
| "version": "1.5.1", | ||
| "description": "Add a Github corner to your project page, This GitHub corners for react component.", | ||
@@ -9,3 +9,2 @@ "main": "cjs/index.js", | ||
| "prepare": "npm run build", | ||
| "released": "npm run build && npm run doc", | ||
| "doc": "kkt build --app-src ./website", | ||
@@ -17,3 +16,3 @@ "start": "kkt start --app-src ./website", | ||
| "watch": "tsbb watch", | ||
| "build": "tsbb build" | ||
| "build": "tsbb build && npm run css:build && npm run css:build:dist" | ||
| }, | ||
@@ -20,0 +19,0 @@ "homepage": "https://uiwjs.github.io/react-github-corners", |
+3
-2
@@ -94,3 +94,3 @@ react-github-corners | ||
| # Step 1, run first, listen to the component compile and output the .js file | ||
| npm run ts:watch | ||
| npm run build | ||
| # Step 2, listen for compilation output type .d.ts file | ||
@@ -105,3 +105,4 @@ npm run types:watch | ||
| ```bash | ||
| npm run released | ||
| npm run build | ||
| npm run doc | ||
| ``` | ||
@@ -108,0 +109,0 @@ |
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
29986
2.15%411
7.03%114
0.88%0
-100%