loader-pack 1.1.2 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -7,9 +7,13 @@ export type LoaderPackProps = {
7
7
  theme?: "dark" | "light";
8
8
  /** Play click/ambient sound effects. Default: false */
9
9
  sound?: boolean;
10
- /** Path to the ambient sound file played on mount. Default: "/loader-sound.mp3" */
10
+ /** Show an inverted-color circle cursor on the intro screen. Default: true */
11
+ cursor?: boolean;
12
+ /** Diameter of the cursor circle in pixels. Default: 34 */
13
+ cursorSize?: number;
14
+ /** Path to the ambient sound file played on mount. Uses bundled audio by default. */
11
15
  ambientSoundSrc?: string;
12
- /** Path to the click sound file played on Start. Default: "/click.mp3" */
16
+ /** Path to the click sound file played on Start. Uses bundled audio by default. */
13
17
  clickSoundSrc?: string;
14
18
  /** Custom marquee text. Has a built-in multilingual default. */
15
19
  marqueeText?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loader-pack",
3
- "version": "1.1.2",
3
+ "version": "1.2.2",
4
4
  "description": "A beautiful animated intro/loader screen for React apps",
5
5
  "type": "module",
6
6
  "main": "dist/loader-pack.umd.cjs",