@dragonworks/ngx-dashboard-widgets 20.0.2 → 20.0.4

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 +11 -11
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -18,8 +18,8 @@ npm install @dragonworks/ngx-dashboard-widgets @dragonworks/ngx-dashboard
18
18
  ## Usage
19
19
 
20
20
  ```typescript
21
- import { DashboardService } from '@dragonworks/ngx-dashboard';
22
- import { ArrowWidgetComponent } from '@dragonworks/ngx-dashboard-widgets';
21
+ import { DashboardService } from "@dragonworks/ngx-dashboard";
22
+ import { ArrowWidgetComponent } from "@dragonworks/ngx-dashboard-widgets";
23
23
 
24
24
  export class AppComponent {
25
25
  constructor(dashboardService: DashboardService) {
@@ -33,26 +33,26 @@ export class AppComponent {
33
33
 
34
34
  ```typescript
35
35
  @Component({
36
- selector: 'my-widget',
36
+ selector: "my-widget",
37
37
  template: `<div>{{ state?.text }}</div>`,
38
- standalone: true
38
+ standalone: true,
39
39
  })
40
40
  export class MyWidgetComponent {
41
41
  state = signal<any>({});
42
-
42
+
43
43
  static readonly metadata = {
44
- widgetTypeId: 'my-widget',
45
- displayName: 'My Widget',
46
- iconName: 'star',
47
- description: 'Custom widget example'
44
+ widgetTypeId: "my-widget",
45
+ displayName: "My Widget",
46
+ iconName: "star",
47
+ description: "Custom widget example",
48
48
  };
49
49
  }
50
50
  ```
51
51
 
52
52
  ## Documentation
53
53
 
54
- See the [main repository](https://github.com/dragonworks/ngx-dashboard) for full documentation.
54
+ See the [main repository](https://github.com/TobyBackstrom/ngx-dashboard) for full documentation.
55
55
 
56
56
  ## License
57
57
 
58
- MIT
58
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dragonworks/ngx-dashboard-widgets",
3
- "version": "20.0.2",
3
+ "version": "20.0.4",
4
4
  "description": "Widget collection for ngx-dashboard with Material Design 3 compliance including arrow, label, clock widgets and responsive text directive",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.0.0",
@@ -16,7 +16,7 @@
16
16
  "url": "git+https://github.com/TobyBackstrom/ngx-dashboard.git"
17
17
  },
18
18
  "author": "Toby Backstrom",
19
- "license": "Apache-2.0",
19
+ "license": "MIT",
20
20
  "bugs": {
21
21
  "url": "https://github.com/TobyBackstrom/ngx-dashboard/issues"
22
22
  },