@su-labs/scroll-spy 19.1.1 → 19.1.3

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/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [22.1.3] - 2026-11-17
9
+
10
+ ### Changed
11
+ - Uses `@su-labs/core` 1.10.0 (was 1.9.0), the same version as every other `@su-labs` package, so apps using several of them install core once
12
+
13
+ ## [22.1.2] - 2026-11-16
14
+
15
+ ### Changed
16
+ - Uses `@su-labs/core` 1.9.0 (was 1.8.0), the same version as every other `@su-labs` package, so apps using several of them install core once
17
+
8
18
  ## [22.1.1] - 2026-11-14
9
19
 
10
20
  ### Changed
package/README.md CHANGED
@@ -56,22 +56,24 @@ A lightweight Angular service and directive for managing active sections based o
56
56
  You can install this library via npm:
57
57
 
58
58
  ```sh
59
- npm install @su-labs/scroll-spy
59
+ npm install @su-labs/scroll-spy@ng19
60
60
  ```
61
61
 
62
+ This is the Angular 19 version. For the newest Angular, install `@su-labs/scroll-spy` without a tag.
63
+
62
64
  ## Peer Dependencies
63
65
 
64
66
  This library requires the following peer dependencies:
65
67
 
66
68
  ```sh
67
- npm install @angular/common@^22 @angular/core@^22
69
+ npm install @angular/common@^19 @angular/core@^19
68
70
  ```
69
71
 
70
72
  ## Quick Start
71
73
 
72
74
  ```typescript
73
75
  // 1. Install
74
- npm install @su-labs/scroll-spy
76
+ npm install @su-labs/scroll-spy@ng19
75
77
 
76
78
  // 2. Add directive to your sections
77
79
  @for (section of sections; track section.id) {
@@ -202,7 +204,7 @@ The `ScrollSpyDirective` uses the browser's native [IntersectionObserver API](ht
202
204
 
203
205
  Works in all modern browsers that support:
204
206
  - IntersectionObserver API
205
- - Angular 22+
207
+ - Angular 19
206
208
  - ES2022+
207
209
 
208
210
  | Browser | Version |
@@ -237,7 +239,7 @@ Make sure you've imported `ScrollSpyDirective` in your component's imports array
237
239
 
238
240
  ### TypeScript errors?
239
241
 
240
- Ensure you have Angular 22+ and TypeScript 6.0+ installed.
242
+ Ensure you have Angular 19 and TypeScript 5.5+ installed.
241
243
 
242
244
  ## Support
243
245
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-labs/scroll-spy",
3
- "version": "19.1.1",
3
+ "version": "19.1.3",
4
4
  "description": "An Angular scroll spy utility based on IntersectionObserver for tracking active sections or menu items.",
5
5
  "keywords": [
6
6
  "angular",
@@ -33,7 +33,7 @@
33
33
  "@angular/core": "^19.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "@su-labs/core": "1.8.0",
36
+ "@su-labs/core": "1.10.0",
37
37
  "tslib": "^2.3.0"
38
38
  },
39
39
  "sideEffects": false,