ngx-edu-sharing-metaqs2 0.9.11 → 0.9.13

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.
Files changed (2) hide show
  1. package/README.md +9 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -5,15 +5,22 @@ This library provides the widgets for the MetaDataQualityService.
5
5
  A running version of the widgets can be found [here](https://metaqs-2-ng.staging.openeduhub.net/).
6
6
 
7
7
  ## Dependencies
8
- - Angular 18 _should run with versions down to 16_
8
+ - Angular 18 or 17 (16 is not supported due to using input() signals in the library)
9
9
  - [ng2-charts](https://valor-software.com/ng2-charts/)
10
10
 
11
11
  These are not enforced as peer dependencies, but are required for the widgets to work:
12
12
  - [Angular Material](https://material.angular.io/)
13
13
  - [ngx-translate](https://github.com/ngx-translate)
14
+
14
15
  ## Installation
15
- `npm install ngx-edu-sharing-metaqs2`
16
+ As the library uses the MatLuxonDateModule, you need to install the adapter according to your material version:
17
+
18
+ `npx ng add @angular/material-luxon-adapter`
19
+ Then install the library via npm:
20
+
21
+ `npm install ngx-edu-sharing-metaqs2 --save`
16
22
 
23
+ _(declaring it in peerDependencies would always install the newest version)_
17
24
  ## Usage
18
25
  This library is provided as an Angular module.
19
26
  To use it in your application, import the `NgMetaWidgetsModule` in your `app.module.ts` file:
package/package.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "name": "ngx-edu-sharing-metaqs2",
3
3
  "description": "OEH MetaQS widgets library",
4
4
  "license": "GNU GPL v2",
5
- "version": "0.9.11",
5
+ "version": "0.9.13",
6
6
  "author": "Torsten Simon",
7
7
  "peerDependencies": {
8
- "@angular/common": "^16.0.00 || ^17.0.0 || ^18.0.0",
9
- "@angular/core": "^16.0.00 || ^17.0.0 || ^18.0.0",
8
+ "@angular/common": "^17.0.0 || ^18.0.0",
9
+ "@angular/core": "^17.0.0 || ^18.0.0",
10
10
  "ng2-charts": "^6.0.1"
11
11
  },
12
12
  "dependencies": {