@nova-ui/charts 21.0.1 → 21.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.
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  }
7
7
  ],
8
8
  "dependencies": {
9
- "@nova-ui/bits": "~21.0.1",
9
+ "@nova-ui/bits": "~21.0.4",
10
10
  "tslib": "^2.3.0"
11
11
  },
12
12
  "exports": {
@@ -50,7 +50,7 @@
50
50
  "type": "git",
51
51
  "url": "https://github.com/solarwinds/nova.git"
52
52
  },
53
- "version": "21.0.1",
53
+ "version": "21.0.4",
54
54
  "module": "fesm2022/nova-ui-charts.mjs",
55
55
  "typings": "types/nova-ui-charts.d.ts",
56
56
  "sideEffects": false,
@@ -1574,6 +1574,10 @@ declare enum LegendOrientation {
1574
1574
  }
1575
1575
 
1576
1576
  declare class LegendComponent implements OnChanges, OnDestroy {
1577
+ /**
1578
+ * The accessible name of the legend. Defaults to "Legend".
1579
+ */
1580
+ ariaLabel: string;
1577
1581
  /**
1578
1582
  * EventEmitter for notifying subscribers of a change in the active state
1579
1583
  */
@@ -1605,7 +1609,7 @@ declare class LegendComponent implements OnChanges, OnDestroy {
1605
1609
  ngOnChanges(changes: SimpleChanges): void;
1606
1610
  ngOnDestroy(): void;
1607
1611
  static ɵfac: i0.ɵɵFactoryDeclaration<LegendComponent, never>;
1608
- static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "nui-legend", never, { "active": { "alias": "active"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "seriesColor": { "alias": "seriesColor"; "required": false; }; "seriesIcon": { "alias": "seriesIcon"; "required": false; }; "seriesUnitLabel": { "alias": "seriesUnitLabel"; "required": false; }; }, {}, never, ["*"], false, never>;
1612
+ static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "nui-legend", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "active": { "alias": "active"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "seriesColor": { "alias": "seriesColor"; "required": false; }; "seriesIcon": { "alias": "seriesIcon"; "required": false; }; "seriesUnitLabel": { "alias": "seriesUnitLabel"; "required": false; }; }, {}, never, ["*"], false, never>;
1609
1613
  }
1610
1614
 
1611
1615
  /** @ignore */
@@ -1667,6 +1671,9 @@ declare class LegendSeriesComponent implements AfterContentInit {
1667
1671
  get isDeemphasizedClassApplied(): boolean;
1668
1672
  get isHiddenStateClassApplied(): boolean;
1669
1673
  get isActiveClassApplied(): boolean;
1674
+ get role(): string | null;
1675
+ get interactiveTabIndex(): number | null;
1676
+ get interactiveAriaChecked(): boolean | null;
1670
1677
  private _seriesRenderState;
1671
1678
  private _active;
1672
1679
  private _interactive;
@@ -1676,6 +1683,8 @@ declare class LegendSeriesComponent implements AfterContentInit {
1676
1683
  * Emits an isSelectedChange event on series click if the series is in interactive mode
1677
1684
  */
1678
1685
  onClick(): void;
1686
+ onEnterKey(): void;
1687
+ onSpaceKey(event: Event): void;
1679
1688
  /**
1680
1689
  * @returns boolean indicating whether the series has a primary or secondary description
1681
1690
  */
@@ -1728,6 +1737,10 @@ declare class ChartComponent implements OnInit, AfterContentInit, AfterViewInit,
1728
1737
  private ngZone;
1729
1738
  private cd;
1730
1739
  chart: IChart;
1740
+ /** Accessible name for the chart. Should be a localized string describing the chart content (WCAG 1.1.1). */
1741
+ ariaLabel: string;
1742
+ get role(): string | null;
1743
+ get a11yLabel(): string | null;
1731
1744
  resizeObserver?: ResizeObserver;
1732
1745
  private resizeHandler;
1733
1746
  private intersectionObserver;
@@ -1740,7 +1753,7 @@ declare class ChartComponent implements OnInit, AfterContentInit, AfterViewInit,
1740
1753
  redraw: () => void;
1741
1754
  private intersectionObserverCallback;
1742
1755
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
1743
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "nui-chart", never, { "chart": { "alias": "chart"; "required": false; }; }, {}, never, never, false, never>;
1756
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "nui-chart", never, { "chart": { "alias": "chart"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, false, never>;
1744
1757
  }
1745
1758
 
1746
1759
  /**