OpenCerts / admin-website

Reference UI for viewing and administration of certificates
https://opencerts.github.io/certificate-web-ui/
Apache License 2.0
9 stars 11 forks source link

Bump react-spinners from 0.5.12 to 0.11.0 #338

Open dependabot-preview[bot] opened 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps react-spinners from 0.5.12 to 0.11.0.

Release notes

Sourced from react-spinners's releases.

Simplify API by removing unit props

The component API has been simplified. The length prop can now accept number or string.

Major Changes

  • all unit props are deprecated, including sizeUnit, heightUnit, widthUnit, and radiusUnit. The size, height, width, and radius props now accepts number and string.
    • If value is number, default to px
    • If value is string with valid css unit, return the input value
    • If value is string with invalid css unit, output warning console log and default to px
  • margin prop now works the same way as other length props. Can accept number and string

Minor Changes

  • css prop default is now "". No functionality change here.
  • fix margin prop functionality on FadeLoader and RotateLoader so it actually expands the spacing between the elements.
  • update the README color prop section to include a list of available color words accepted.
  • clean up README formatting using the prettier plugin
  • add yarn installation instruction to the README.

Rewrite Package in TypeScript

The entire package has been rewritten in TypeScript. The package will now support individual loader imports with types.

Major changes:

  • Add support for types for individual loader imports
  • Add support for using the basic color name as props instead of only color hashes
  • Reduced total package size from around 850kb to 135gb
  • Fix main key value in package.json to point to the correct index.js
  • Removed prop-types and recompose from dependencies
  • Added tests to get to 100% code coverage

Minor changes:

  • Update PacmanLoader css top property to respect sizeUnit prop.
  • Update README to include radius and radiusUnit.
  • Add missing transform key to the RiseLoader animation.
  • Setup tslint and prettier to enforce code consistency.
  • Add missing " to .babelrc in README.
Changelog

Sourced from react-spinners's changelog.

0.11.0

  • Feature: added speedMultiplier prop to allow controlling the speed of animations.

0.11.0-beta.1

  • No changes, just promoting to beta

0.11.0-alpha.8

  • Update readme to include speed multiplier prop

0.11.0-alpha.7

  • Implemented speedMultiplier props to all loaders
  • Added feature flag to demo site. adding a url param speed-multiplier=true will enable to input

0.11.0-alpha.6

  • Refactored all the tests using shared specs to reduce maintenance cost.
  • Removed unnecessary type in colors.ts to let typescript infer.

0.11.0-alpha.5

  • Implement speedMultipler prop to PulseLoader. This is done to test the API for a single loader before adding to the rest.

0.11.0-alpha.4

  • Clean up BarLoader by marking the props using Required utility to avoid having to do width || Loader.defaultProps.width.

0.11.0-alpha.3

  • Implement speedMultipler prop to BarLoader. This is done to test the API for a single loader before adding to the rest.

0.11.0-alpha.2

  • Update readme usage section to use @emotion for .babelrc plugins

0.11.0-alpha.1

0.10.6

  • bugfix: Fixed MoonLoader display issue #342

0.10.4

  • Add .eslintrc.* to .npmignore to reduce packge size.

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)