Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): update website to webpack 5 and cssnano 5
* run cssnano 5 in the playground Can only use the lite config as postcss-declaration-sorter does not work in the browser * Remove unsupported stylesheets config * update to new React Monaco editor API * correct invalid React inline style property * get rid of console warning on home page * Remove dependency on old Styled Components release * Remove example blog posts
- Loading branch information
1 parent
be7d06f
commit b7babf8
Showing
15 changed files
with
3,657 additions
and
4,810 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react'; | ||
import styles from './RingSpinner.module.css'; | ||
|
||
/* eslint-disable import/prefer-default-export */ | ||
export function RingSpinner() { | ||
return ( | ||
<div className={styles.wrapper}> | ||
<div className={styles.circle}></div> | ||
</div> | ||
); | ||
} |
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,60 @@ | ||
/* Original styles by https://dmitrymorozoff.github.io/react-spinners-kit/ */ | ||
.wrapper { | ||
width: 30px; | ||
height: 30px; | ||
} | ||
|
||
.circle { | ||
position: relative; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
max-width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.circle::before, .circle::after { | ||
width: 100%; | ||
height: 100%; | ||
content: ""; | ||
position: absolute; | ||
border-radius: 50%; | ||
animation-duration: 2s; | ||
animation-iteration-count: infinite; | ||
animation-timing-function: ease-in-out; | ||
} | ||
|
||
.circle::before { | ||
box-shadow: inset 0 0 0 3px #00ff89; | ||
animation-name: firstPulse; | ||
} | ||
|
||
.circle::after { | ||
box-shadow: 0 0 0 0 #00ff89; | ||
animation-name: secondPulse; | ||
} | ||
|
||
@keyframes firstPulse { | ||
0% { | ||
box-shadow: inset 0 0 0 3px #00ff89; | ||
opacity: 1; | ||
} | ||
|
||
50%, 100% { | ||
box-shadow: inset 0 0 0 0 #00ff89; | ||
opacity: 0 | ||
} | ||
} | ||
|
||
@keyframes secondPulse { | ||
0%, 50% { | ||
box-shadow: inset 0 0 0 0 #00ff89; | ||
opacity: 0; | ||
} | ||
|
||
100% { | ||
box-shadow: inset 0 0 0 3px #00ff89; | ||
opacity: 1 | ||
} | ||
} |
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
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
Oops, something went wrong.