@ojiepermana/angular-chart 22.0.45 → 22.0.47

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.
@@ -165,6 +165,7 @@ class AreaChart {
165
165
  [attr.r]="dotRadius()"
166
166
  [attr.fill]="s.color"
167
167
  [attr.aria-label]="pointAriaLabel(p)"
168
+ role="img"
168
169
  tabindex="0"
169
170
  (focus)="setActivePoint($event, p)"
170
171
  (blur)="clearActivePoint()"
@@ -241,6 +242,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImpor
241
242
  [attr.r]="dotRadius()"
242
243
  [attr.fill]="s.color"
243
244
  [attr.aria-label]="pointAriaLabel(p)"
245
+ role="img"
244
246
  tabindex="0"
245
247
  (focus)="setActivePoint($event, p)"
246
248
  (blur)="clearActivePoint()"
@@ -582,6 +582,7 @@ class BarChart {
582
582
  [attr.stroke]="bar.active ? 'hsl(var(--foreground))' : null"
583
583
  [attr.stroke-width]="bar.active ? 1.5 : null"
584
584
  [attr.aria-label]="barAriaLabel(bar)"
585
+ role="img"
585
586
  tabindex="0"
586
587
  (focus)="setActivePoint($event, bar)"
587
588
  (blur)="clearActivePoint()"
@@ -696,6 +697,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImpor
696
697
  [attr.stroke]="bar.active ? 'hsl(var(--foreground))' : null"
697
698
  [attr.stroke-width]="bar.active ? 1.5 : null"
698
699
  [attr.aria-label]="barAriaLabel(bar)"
700
+ role="img"
699
701
  tabindex="0"
700
702
  (focus)="setActivePoint($event, bar)"
701
703
  (blur)="clearActivePoint()"
@@ -172,6 +172,7 @@ class LineChart {
172
172
  [attr.stroke]="dotStrokeColor()"
173
173
  [attr.stroke-width]="dotStrokeWidth() || null"
174
174
  [attr.aria-label]="pointAriaLabel(p)"
175
+ role="img"
175
176
  tabindex="0"
176
177
  (focus)="setActivePoint($event, p)"
177
178
  (blur)="clearActivePoint()"
@@ -245,6 +246,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImpor
245
246
  [attr.stroke]="dotStrokeColor()"
246
247
  [attr.stroke-width]="dotStrokeWidth() || null"
247
248
  [attr.aria-label]="pointAriaLabel(p)"
249
+ role="img"
248
250
  tabindex="0"
249
251
  (focus)="setActivePoint($event, p)"
250
252
  (blur)="clearActivePoint()"
@@ -160,6 +160,7 @@ class PieChart {
160
160
  [attr.fill]="s.color"
161
161
  [attr.transform]="sliceTransform(s)"
162
162
  [attr.aria-label]="sliceAriaLabel(s)"
163
+ role="img"
163
164
  tabindex="0"
164
165
  (click)="emitClick(s)"
165
166
  (keydown.enter)="emitClick(s)"
@@ -216,6 +217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImpor
216
217
  [attr.fill]="s.color"
217
218
  [attr.transform]="sliceTransform(s)"
218
219
  [attr.aria-label]="sliceAriaLabel(s)"
220
+ role="img"
219
221
  tabindex="0"
220
222
  (click)="emitClick(s)"
221
223
  (keydown.enter)="emitClick(s)"
@@ -235,6 +235,7 @@ class RadarChart {
235
235
  [attr.fill]="s.color"
236
236
  tabindex="0"
237
237
  [attr.aria-label]="dotAriaLabel(s.seriesKey, p)"
238
+ role="img"
238
239
  (pointerenter)="setActive($event, s.seriesKey, i)"
239
240
  (pointermove)="setActive($event, s.seriesKey, i)"
240
241
  (pointerleave)="clearActive()"
@@ -335,6 +336,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImpor
335
336
  [attr.fill]="s.color"
336
337
  tabindex="0"
337
338
  [attr.aria-label]="dotAriaLabel(s.seriesKey, p)"
339
+ role="img"
338
340
  (pointerenter)="setActive($event, s.seriesKey, i)"
339
341
  (pointermove)="setActive($event, s.seriesKey, i)"
340
342
  (pointerleave)="clearActive()"
@@ -169,6 +169,7 @@ class RadialChart {
169
169
  [attr.d]="b.arcPath"
170
170
  [attr.fill]="b.color"
171
171
  [attr.aria-label]="barAriaLabel(b)"
172
+ role="img"
172
173
  tabindex="0"
173
174
  (click)="emitClick(b)"
174
175
  (keydown.enter)="emitClick(b)"
@@ -225,6 +226,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImpor
225
226
  [attr.d]="b.arcPath"
226
227
  [attr.fill]="b.color"
227
228
  [attr.aria-label]="barAriaLabel(b)"
229
+ role="img"
228
230
  tabindex="0"
229
231
  (click)="emitClick(b)"
230
232
  (keydown.enter)="emitClick(b)"
@@ -189,6 +189,7 @@ class ScatterChart {
189
189
  [attr.r]="p.radius"
190
190
  [attr.fill]="p.color"
191
191
  [attr.aria-label]="pointAriaLabel(p)"
192
+ role="img"
192
193
  tabindex="0"
193
194
  (click)="emitClick(p)"
194
195
  (keydown.enter)="emitClick(p)"
@@ -232,6 +233,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImpor
232
233
  [attr.r]="p.radius"
233
234
  [attr.fill]="p.color"
234
235
  [attr.aria-label]="pointAriaLabel(p)"
236
+ role="img"
235
237
  tabindex="0"
236
238
  (click)="emitClick(p)"
237
239
  (keydown.enter)="emitClick(p)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ojiepermana/angular-chart",
3
- "version": "22.0.45",
3
+ "version": "22.0.47",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/edsis/angular.git"
@@ -12,7 +12,7 @@
12
12
  "peerDependencies": {
13
13
  "@angular/common": ">=22.0.0",
14
14
  "@angular/core": ">=22.0.0",
15
- "@ojiepermana/angular-component": "^22.0.45"
15
+ "@ojiepermana/angular-component": "^22.0.47"
16
16
  },
17
17
  "dependencies": {
18
18
  "d3-array": "^3.2.4",