Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# react-native-loader-kit

## 5.0.0-rc.0

### Major Changes

- ccde85f: Version 5 renders every indicator from a LoaderKit spec, with the same engine on iOS and Android, so indicators now look and move the same on both platforms. It requires the New Architecture and React Native 0.76 or newer (version 4 stays available as `react-native-loader-kit@v4-lts`). New props: `spec` for custom indicators made with `defineIndicator`, `params`, `colors`, `animating`, `hidesWhenStopped`, `cycleProgress` and `reduceMotion`. `animationSpeedMultiplier` is renamed to `speed`, and `IndicatorName` to `BuiltinIndicatorName`. All 33 indicators of version 4 keep their names and now work on both platforms, including `BallRotateChase` and `CircleStrokeSpin`, which were iOS-only. Writing your own spec is experimental in 5.x.

### Minor Changes

- ccde85f: `LoaderKitProgress` shows the progress of a task on iOS and Android, drawn by LoaderKit: 50 designs across 10 types (linear, circular, pie, gauge, liquid, border, bars, grid, battery and hourglass), with variants such as `wavy`, `segmented`, `striped`, `gradient`, `needle` and `heart`. Without a `value` (or with null) it shows the indeterminate animation, and new values glide smoothly unless `smooth` is false. Children are drawn over the indicator (a stop button in a circular progress, for example) or, with `border`, inside it, and screen readers announce a progress bar with its percentage. LoaderKit also adds 17 built-in indicators, 50 in total.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-loader-kit",
"version": "4.1.0",
"version": "5.0.0-rc.0",
"description": "Beautiful native loading indicators for React Native: one JSON spec per indicator, rendered identically on iOS and Android, with custom indicators, params and playback control",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
Expand Down