@smitag/angular-shared-ui 0.0.9 → 0.0.11

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/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # shared/ui
2
2
 
3
- #### Anbindung
4
- @use '@smitag/angular-shared-ui/src/lib/styles/styles.scss';
5
-
6
- @use '@smitag/angular-shared-ui/src/lib/styles/themes/default.scss';
7
-
8
- #### styles
9
-
10
- - **components**: Anpassung des Designs von Material Design-Komponenten.
11
- - **fonts**: Schriftarten werden hier abgelegt.
12
- - **themes**: enthält das Standard-Theme.
3
+ ## Installation
4
+
5
+ * Install Angular Material and it's peer dependencies as described on [material.angular.io](https://material.angular.io/guide/getting-started)
6
+ * Skip including a prebuild theme
7
+ * Install theme via npm `npm install @smitag/angular-shared-ui`
8
+ * Add following code to your global style.scss
9
+ ```scss
10
+ @use '@smitag/angular-shared-ui/src/lib/styles/styles.scss';
11
+ @use '@smitag/angular-shared-ui/src/lib/styles/themes/default';
12
+
13
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@smitag/angular-shared-ui",
3
3
  "email": "benjamin.speidel@smartinsurtech.de",
4
- "version": "0.0.9",
4
+ "version": "0.0.11",
5
5
  "license": "MIT",
6
6
  "description": "Styling elements and methods shared by all frontends",
7
7
  "man": "README.md",
@@ -11,8 +11,12 @@
11
11
  "author": {
12
12
  "name": "Benjamin Speidel"
13
13
  },
14
- "dependencies": {
15
- "@angular/material": "^17.3.6"
14
+ "peerDependencies": {
15
+ "@angular/material": ">=17"
16
+ },
17
+ "devDependencies": {
18
+ "@angular/cdk": ">=17",
19
+ "@angular/material": ">=17"
16
20
  },
17
21
  "sideEffects": false
18
22
  }
@@ -1,5 +1,5 @@
1
+ @use '@angular/material' as mat;
1
2
  @use 'sass:map';
2
- @use 'node_modules/@angular/material' as mat;
3
3
  @use '../components/base';
4
4
  @use '../components/helper';
5
5