@dangl/angular-material-shared 2.6.2-beta0016 → 2.7.0

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 +17 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,20 +1,31 @@
1
+
1
2
  # angular-material-shared
2
3
 
3
4
  Shared components & styles to be used in Angular Material apps.
4
5
 
6
+ ## Installation
7
+
8
+ Install as a dev dependency via [npm](https://www.npmjs.com/):
9
+
10
+ ```bash
11
+ npm install --save-dev @dangl/angular-material-shared
12
+ ```
13
+
5
14
  ## Usage
15
+ To use these components in an Angular app, import components to your module or component.
6
16
 
7
- To use these styles in an Angular app, add this package to your project. It's published as `@dangl/angular-material-shared`.
8
- Then, simply import the module:
17
+ ```javascript
18
+ import { FooterComponent, FooterOptions, HeaderComponent } from '@dangl/angular-material-shared';
19
+ import { GuidGenerator } from '@dangl/angular-material-shared/guid-generator';
20
+ import { TinyMceComponent } from '@dangl/angular-material-shared/tiny-mce';
21
+ ```
9
22
 
10
- import { AngularMaterialSharedModule } from '@dangl/angular-material-shared';
11
23
 
12
24
  ### Demo
13
25
 
14
26
  You can run `ng serve` in the `src/angular-material-shared-demo` folder to run a
15
27
  demo locally. Make sure that the library was built first with `npm run build:library`.
16
28
 
17
- ## Functionality
18
29
 
19
30
  ## Styles
20
31
 
@@ -123,3 +134,5 @@ Available languages can be found here: https://www.tiny.cloud/get-tiny/language-
123
134
  ### GuidGenerator
124
135
 
125
136
  The `GuidGenerator` provides a static method to create pseudo-random Guids.
137
+
138
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dangl/angular-material-shared",
3
- "version": "2.6.2-beta0016",
3
+ "version": "2.7.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=17.0.8",
6
6
  "@angular/common": ">=17.0.8",