New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

astro-loading-indicator

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro-loading-indicator - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

14

CHANGELOG.md
# astro-loading-indicator
## 0.5.0
### Minor Changes
- 515dc78: Adds a `threshold` prop. If the page loads in less than the specified duration (in ms), the indicator will not be shown. It can be set to `false` to always show it. Defaults to `200`.
```tsx
<LoadingIndicator
color="..."
threshold={600}
// threshold={false}
/>
```
## 0.4.0

@@ -4,0 +18,0 @@

2

package.json
{
"name": "astro-loading-indicator",
"version": "0.4.0",
"version": "0.5.0",
"description": "Display a progress bar between page navigations when using View Transitions",

@@ -5,0 +5,0 @@ "author": {

@@ -93,2 +93,13 @@ # `astro-loading-indicator`

To override the default styles provided by the component, you can use [global styles](https://docs.astro.build/en/guides/styling/#global-styles) with higher specificity.
```astro
<style is:global>
:root .astro-loading-indicator {
top: 45px;
z-index: 2000;
}
</style>
```
#### `animationDuration`

@@ -105,2 +116,14 @@

#### `threshold`
If the page loads in less than the specified duration (in ms), the indicator will not be shown. It can be set to `false` to always show it. Defaults to `200`.
```tsx
<LoadingIndicator
color="..."
threshold={600}
// threshold={false}
/>
```
## Contributing

@@ -130,5 +153,1 @@

[MIT Licensed](https://github.com/florian-lefebvre/astro-loading-indicator/blob/main/LICENSE). Made with ❤️ by [Florian Lefebvre](https://github.com/florian-lefebvre).
## Acknowledgements
- https://swup.js.org/plugins/progress-plugin/

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc