@nova-ui/charts 20.0.7 → 20.0.9
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/fesm2022/nova-ui-charts.mjs +86 -11
- package/fesm2022/nova-ui-charts.mjs.map +1 -1
- package/index.d.ts +15 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1573,6 +1573,10 @@ declare enum LegendOrientation {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
1575
|
declare class LegendComponent implements OnChanges, OnDestroy {
|
|
1576
|
+
/**
|
|
1577
|
+
* The accessible name of the legend. Defaults to "Legend".
|
|
1578
|
+
*/
|
|
1579
|
+
ariaLabel: string;
|
|
1576
1580
|
/**
|
|
1577
1581
|
* EventEmitter for notifying subscribers of a change in the active state
|
|
1578
1582
|
*/
|
|
@@ -1604,7 +1608,7 @@ declare class LegendComponent implements OnChanges, OnDestroy {
|
|
|
1604
1608
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1605
1609
|
ngOnDestroy(): void;
|
|
1606
1610
|
static ɵfac: i0.ɵɵFactoryDeclaration<LegendComponent, never>;
|
|
1607
|
-
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>;
|
|
1611
|
+
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>;
|
|
1608
1612
|
}
|
|
1609
1613
|
|
|
1610
1614
|
/** @ignore */
|
|
@@ -1662,6 +1666,9 @@ declare class LegendSeriesComponent implements AfterContentInit {
|
|
|
1662
1666
|
get isInteractiveClassApplied(): boolean;
|
|
1663
1667
|
isHorizontalClassApplied: boolean;
|
|
1664
1668
|
get isActiveClassApplied(): boolean;
|
|
1669
|
+
get role(): string | null;
|
|
1670
|
+
get interactiveTabIndex(): number | null;
|
|
1671
|
+
get interactiveAriaChecked(): boolean | null;
|
|
1665
1672
|
private _seriesRenderState;
|
|
1666
1673
|
private _active;
|
|
1667
1674
|
private _interactive;
|
|
@@ -1671,6 +1678,8 @@ declare class LegendSeriesComponent implements AfterContentInit {
|
|
|
1671
1678
|
* Emits an isSelectedChange event on series click if the series is in interactive mode
|
|
1672
1679
|
*/
|
|
1673
1680
|
onClick(): void;
|
|
1681
|
+
onEnterKey(): void;
|
|
1682
|
+
onSpaceKey(event: Event): void;
|
|
1674
1683
|
/**
|
|
1675
1684
|
* @returns boolean indicating whether the series has a primary or secondary description
|
|
1676
1685
|
*/
|
|
@@ -1723,6 +1732,10 @@ declare class ChartComponent implements OnInit, AfterContentInit, AfterViewInit,
|
|
|
1723
1732
|
private ngZone;
|
|
1724
1733
|
private cd;
|
|
1725
1734
|
chart: IChart;
|
|
1735
|
+
/** Accessible name for the chart. Should be a localized string describing the chart content (WCAG 1.1.1). */
|
|
1736
|
+
ariaLabel: string;
|
|
1737
|
+
get role(): string | null;
|
|
1738
|
+
get a11yLabel(): string | null;
|
|
1726
1739
|
resizeObserver?: ResizeObserver;
|
|
1727
1740
|
private resizeHandler;
|
|
1728
1741
|
private intersectionObserver;
|
|
@@ -1735,7 +1748,7 @@ declare class ChartComponent implements OnInit, AfterContentInit, AfterViewInit,
|
|
|
1735
1748
|
redraw: () => void;
|
|
1736
1749
|
private intersectionObserverCallback;
|
|
1737
1750
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
|
|
1738
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "nui-chart", never, { "chart": { "alias": "chart"; "required": false; }; }, {}, never, never, false, never>;
|
|
1751
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "nui-chart", never, { "chart": { "alias": "chart"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
1739
1752
|
}
|
|
1740
1753
|
|
|
1741
1754
|
/**
|
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"license": "Apache-2.0",
|
|
44
44
|
"name": "@nova-ui/charts",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@nova-ui/bits": "~20.0.
|
|
46
|
+
"@nova-ui/bits": "~20.0.9",
|
|
47
47
|
"tslib": "^2.3.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"type": "git",
|
|
59
59
|
"url": "https://github.com/solarwinds/nova.git"
|
|
60
60
|
},
|
|
61
|
-
"version": "20.0.
|
|
61
|
+
"version": "20.0.9",
|
|
62
62
|
"module": "fesm2022/nova-ui-charts.mjs",
|
|
63
63
|
"typings": "index.d.ts",
|
|
64
64
|
"sideEffects": false
|