From 3982df879dfc35e1a17804f600c0053485285e30 Mon Sep 17 00:00:00 2001 From: Shri Ganesh Jha Date: Wed, 28 Aug 2024 16:33:10 +0530 Subject: [PATCH] fix: typo in template value and shadow value in prop type table in README --- CHANGELOG.md | 6 ++++++ README.md | 28 ++++++++++++++-------------- deno.json | 2 +- package.json | 2 +- 4 files changed, 22 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eea31ed..da95a85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -171,3 +171,9 @@ ### Fixed - Fixed imports, PagesTopLoader imported incorrectly like nextjs-toploader/dist/pages and useEffect like nextjs-toploader/dist/app + +## v3.6.14 + +### Fixed + +- Fixed typo in template value and shadow value in prop type table in README diff --git a/README.md b/README.md index aeb2538..a0655ec 100644 --- a/README.md +++ b/README.md @@ -160,20 +160,20 @@ If no props are passed to ``, below is the default configuratio #### `NextTopLoaderProps` (props passed to the TopLoader) -| **Name** | **Type** | **Default Value** | -| ----------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -| `color` | `string` | `"#29d"` | -| `initialPosition` | `number` | `0.08` | -| `crawlSpeed` | `number` | `200` | -| `height` | `number` | `3` | -| `crawl` | `boolean` | `true` | -| `showSpinner` | `boolean` | `true` | -| `easing` | `string` | `"ease"` | -| `speed` | `number` | `200` | -| `shadow` | `string \| false` | `"0 0 10px ${color}, 0 0 5px ${color}"` | -| `template` | `string` | `"
"` | -| `zIndex` | `number` | `1600` | -| `showAtBottom` | `boolean` | `false` | +| **Name** | **Type** | **Default Value** | +| ----------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| `color` | `string` | `"#2299DD"` | +| `initialPosition` | `number` | `0.08` | +| `crawlSpeed` | `number` | `200` | +| `height` | `number` | `3` | +| `crawl` | `boolean` | `true` | +| `showSpinner` | `boolean` | `true` | +| `easing` | `string` | `"ease"` | +| `speed` | `number` | `200` | +| `shadow` | `string \| false` | `"0 0 10px #2299DD,0 0 5px #2299DD"` | +| `template` | `string` | `
` | +| `zIndex` | `number` | `1600` | +| `showAtBottom` | `boolean` | `false` | ## Contributors diff --git a/deno.json b/deno.json index cd34c31..f8713e3 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@thesgj/nextjs-toploader", - "version": "3.6.13", + "version": "3.6.14", "exports": "./src/index.tsx", "compilerOptions": { "jsx": "react-jsx", diff --git a/package.json b/package.json index 4aafb1a..69c1ea6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nextjs-toploader", - "version": "3.6.13", + "version": "3.6.14", "description": "A Next.js Top Loading Bar component made using nprogress, works with Next.js 14 and React.", "main": "dist/index.js", "types": "dist/index.d.ts",