All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
data-testid
propHashLoader
@emotion
with vanilla javascript and inline style to reduce component size by 75%. This project now have 0 dependencies, while continuing to support server side rendering.aria-label
css
prop to cssOverride
to avoid type conflicts with css-in-js libraries.css
prop has been renamed to cssOverride
to avoid type conflicts with css-in-js libraries such as emotion and styled-componentsdocument is not defined
when rendering server side.npmignore
to ignore stories
folder, yarn error logtsconfig.json
to ignore stories
folder. This caused the outputted files to not be in the root directory and breaking the imports.GridLoader
width prop.GridLoader
height/width with important
tag to prevent overwrites from outside css.@emotion/react
as a dependency.RiseLoader
rise amount of use size
prop instead of hardcoded as 30px.display: inherit
on barloader to fix issue where nothing shows up on page./** @jsxImportSource @emotion/react */
to fix issue with the new jsx runtime.speedMultiplier
prop to allow controlling the speed of animations.speedMultiplier
props to all loadersspeed-multiplier=true
will enable to inputcolors.ts
to let typescript infer.speedMultipler
prop to PulseLoader
. This is done to test the API for a single loader before adding to the rest.BarLoader
by marking the props using Required
utility to avoid having to do width || Loader.defaultProps.width
.speedMultipler
prop to BarLoader
. This is done to test the API for a single loader before adding to the rest.@emotion
for .babelrc
plugins.eslintrc.*
to .npmignore
to reduce packge size.type:module
change in package.json
due to issue #336. This is causing a Must use import to load ES Module
error.Note: this release has a critical issue and was deprecated. Please update to 0.10.3 or higher.
Note: this release has a critical issue and was deprecated. Please update to 0.10.3 or higher.
Note: this release has a critical issue and was deprecated. Please update to 0.10.3 or higher.
div
to span
to fix <div> cannot appear as a descendant of <p>
per #159. PR #325type: module
to package.json
as an attempt to implement tree shaking via PR #327..npmignore
to ignore the .cjs
files so they are not included in the published build..yarn
and .yarnrc
to .npmignore
.Old:
npm notice version: 0.10.0-beta.2
npm notice package size: 1.2 MB
npm notice unpacked size: 5.3 MB
npm notice total files: 69
New:
npm notice version: 0.10.0-beta.3
npm notice package size: 21.3 kB
npm notice unpacked size: 167.1 kB
npm notice total files: 65
type: module
to package.json
as an attempt to fix tree shaking via PR #327..js
files to .cjs
so they are treated as CommonJs. Otherwise we get errors like ReferenceError: module is not defined
when running certain commands, like yarn
.react ^17.0.0
and react-dom ^17.0.0
into peerDependencies to fix #321div
to span
to fix <div> cannot appear as a descendant of <p>
per #159. PR #325Keyframes
typing to allow for inferring PR #326react-color
, react
, react-dom
, and @motion/core
. These 4 packages have caused issues during the update and will save them for another time.sideEffects
property to package.json
to fix tree shakingPuffLoader
. Thanks to @dsaw via PR #200Regular Expression Denial of Service
. Details herebox-sizing: content-box;
to MoonLoader. See PR for more details.ClockLoader
npm audit fix
to fix vulnerability in serialslize-javascript
package0.7.0-alpha.1
for more detailscss
prop on README to be ""
instead of {}
color
prop acceptsFadeLoader
does what we expect it to do, expand the spacing between the linesRotateLoader
does what we expect it to do, expand the spacing between the dotssizeUnit
, heightUnit
, widthUnit
, and radiusUnit
. The size
, height
, width
, and radius
props now accepts number
and string
px
px
margin
prop now work the same way as other length props. Can accept number
and string
css
prop default is now ""
. No functionality change hereMath.random
is stubbed out in the GridLoader
component instead in the tests, causing Math.random
to not work properly if GridLoader
is usedmain
key value in package.json
to point to the correct index.js
prop-types
and recompose
from dependenciesdevDependencies
to latest versionsrecompose
from the list of dependencies. We currently wants the component to update for all prop changes, so the onlyUpdateForKeys
was passed in all the props anyways, so it wasn't doing muchPacmanLoader
top
css property does not respect the sizeUnit
prop. It was hardcoded to be px
instead of using sizeUnit
propradius
and radiusUnit
prop description.npmignore
to further reduce package sizetslint.json
jest.config.js
CODEOWNERS
CODE_OF_CONDUCT.md
CONTRIBUTING.md
CHANGELOG.md
Old:
npm notice version: 0.6.0-alpha.6
npm notice package size: 19.8 kB
npm notice unpacked size: 138.5 kB
New:
npm notice version: 0.6.0-alpha.7
npm notice package size: 16.7 kB
npm notice unpacked size: 132.1 kB
src
folder to npmignore
. Previous version wasn't ruthless enough in saving dataOld:
npm notice version: 0.6.0-alpha.5
npm notice package size: 26.1 kB
npm notice unpacked size: 191.2 kB
New:
npm notice version: 0.6.0-alpha.6
npm notice package size: 19.8 kB
npm notice unpacked size: 138.5 kB
npmignore
to include __tests__
, .github
, .circleci
, coverage
. This helped to reduce package size. Help to save some dataOld:
npm notice version: 0.6.0-alpha.4
npm notice package size: 85.6 kB
npm notice unpacked size: 850.4 kB
New:
npm notice version: 0.6.0-alpha.5
npm notice package size: 26.1 kB
npm notice unpacked size: 191.2 kB
package.json
main
value from dist/index.js
to index.js
to fix codeSandbox import issuetransform
key to the 25%
keyframe in RiseLoader. It was just 25% {translateY(-${riseAmount}px)}
before. Now it is corrected"
from .babelrc
in readme per PR #77ClipLoader
, DotLoader
, FadeLoader
, GridLoader
, HashLoader
, and MoonLoader
tsconfig.json
module
property to commonjs
instead of esnext
. This caused import errors as seen in issue 74BarLoader
, BeatLoader
, BounceLoader
, CircleLoader
, and ClimbingBoxLoader
prop-types
has been removed as a dependency. This is now handled by typingsts-lint
and prettier
to help ensure code consistencyNote: this release has a critical issue and was deprecated. Please use <= 0.5.12 or > 0.6.0.
export default
to export const
.babelrc
example to use @babel/<name>
syntax in accordance to latest babel packagestslint
as part of the typescript conversion.index.js
import from module.exports = {...}
to export default {...}
html-webpack-plugin
to inject the script tags to index.html
CommonProps
interface css
prop to used PrecompiledCss
and string
. Update PropTypes helper to be able to accept both PrecompiledCss
and string
. This is to fix the validation error for the css
propcss
prop to {}
instead of ""
to fix console errorcss
proptype to PropTypes.shape({ ... })
instead of PropTypes.string
to fix console error.https://www.react-spinners.com
className
prop with css
prop to match Emotion 10package.json
to include wider range of version for recompose
loaders
and spinners
keyword to package.jsononlyUpdateForKeys
is imported from recompose
. Reduced import cost from 26kb
to 19kb
.babelrc
to use env
presetclassName
to index.d.ts
Note: this release has a critical issue and was deprecated. Please update to 0.4.1 or higher.
className
prop to loadersloaderStyle
prop for loaders to follow Emotion module standardNote: this release was deprecated through removing loaderStyle
prop. Please update to 0.4.1 or higher.
loaderStyle
prop to loaders to allow more customized loaderbabel-plugin-emotion
to devDependencies and updates to 9.1.0unit
props to each loader to allow %
units on csspx
for border-radius
in ScaleLoader
stylingminor
and major
versioning scripts to package.json
ISSUE_TEMPLATE.md
and PULL_REQUEST_TEMPLATE.MD
package.json
^16.0.0
to react
and react-dom
peerDependenciesborderRadius
to border-radius
in RingLoader
so the browser will recognize the cssprop-types
to from devDependencies to dependencies. This fixes the Package not found
error for projects that do not include prop-types
as a dependencyNote: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
Note: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
emotion
from devDependency to dependency. This fixed the Package not found
errorNote: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
emotion
package version from 7.2.0
to 8.0.6
Note: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
Note: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
Note: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
Note: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
PulseLoader
size default prop to be the correct typeNote: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
recompose
from devDependency to dependencypackage.json
Note: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
package.json
Note: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
react-emotion
plugin for babelNote: this release has a critical issue and was deprecated. Please update to 0.2.1 or higher.
domkit
as a dependency and replaced it with emotion
. This package now officially supports `Server Side Rendering