@su-labs/theme 20.3.0 → 20.3.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/CHANGELOG.md +10 -0
- package/README.md +7 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [22.3.2] - 2026-11-17
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- 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
|
|
14
|
+
|
|
15
|
+
## [22.3.1] - 2026-11-16
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Uses `@su-labs/core` 1.9.0 (was 1.6.0), the same version as every other `@su-labs` package, so apps using several of them install core once
|
|
19
|
+
|
|
10
20
|
## [22.3.0] - 2026-11-11
|
|
11
21
|
|
|
12
22
|
### Added
|
package/README.md
CHANGED
|
@@ -100,22 +100,24 @@ that share one saved theme (see `storage`) can offer different sets.
|
|
|
100
100
|
You can install this library via npm:
|
|
101
101
|
|
|
102
102
|
```sh
|
|
103
|
-
npm install @su-labs/theme
|
|
103
|
+
npm install @su-labs/theme@ng20
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
+
This is the Angular 20 version. For the newest Angular, install `@su-labs/theme` without a tag.
|
|
107
|
+
|
|
106
108
|
## Peer Dependencies
|
|
107
109
|
|
|
108
110
|
This library requires the following peer dependencies:
|
|
109
111
|
|
|
110
112
|
```sh
|
|
111
|
-
npm install @angular/common@^
|
|
113
|
+
npm install @angular/common@^20 @angular/core@^20
|
|
112
114
|
```
|
|
113
115
|
|
|
114
116
|
## Quick Start
|
|
115
117
|
|
|
116
118
|
```typescript
|
|
117
119
|
// 1. Install
|
|
118
|
-
npm install @su-labs/theme
|
|
120
|
+
npm install @su-labs/theme@ng20
|
|
119
121
|
|
|
120
122
|
// 2. Initialize in app.config.ts
|
|
121
123
|
import { provideAppInitializer, inject } from '@angular/core';
|
|
@@ -287,7 +289,7 @@ Works in all modern browsers that support:
|
|
|
287
289
|
- CSS Custom Properties
|
|
288
290
|
- localStorage API
|
|
289
291
|
- matchMedia (for system theme)
|
|
290
|
-
- Angular
|
|
292
|
+
- Angular 20
|
|
291
293
|
- ES2022+
|
|
292
294
|
|
|
293
295
|
| Browser | Version |
|
|
@@ -322,7 +324,7 @@ Check that your OS has a theme preference set and your browser supports `prefers
|
|
|
322
324
|
|
|
323
325
|
### TypeScript errors?
|
|
324
326
|
|
|
325
|
-
Ensure you have Angular
|
|
327
|
+
Ensure you have Angular 20 and TypeScript 5.8+ installed.
|
|
326
328
|
|
|
327
329
|
## Support
|
|
328
330
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@su-labs/theme",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"angular",
|
|
6
6
|
"theme",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@angular/core": "^20.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@su-labs/core": "1.
|
|
40
|
+
"@su-labs/core": "1.10.0",
|
|
41
41
|
"tslib": "^2.3.0"
|
|
42
42
|
},
|
|
43
43
|
"sideEffects": false,
|