@visuallyjs/browser-ui 1.2.9 → 1.2.10

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visuallyjs/browser-ui",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "license": "Commercial",
5
5
  "main": "js/visuallyjs.browser-ui.cjs.js",
6
6
  "module": "js/visuallyjs.browser-ui.esm.js",
@@ -60,7 +60,7 @@ export declare function getClass(el: BrowserElement): string;
60
60
  * @param el
61
61
  * @param clazz
62
62
  */
63
- export declare function addClass(el: BrowserElement | NodeListOf<BrowserElement>, clazz: string): void;
63
+ export declare function addClass(el: BrowserElement | NodeListOf<BrowserElement>, clazz: string | Array<string>): void;
64
64
  /**
65
65
  * @internal
66
66
  * @param el
package/types/index.d.ts CHANGED
@@ -14,3 +14,4 @@ export * from './core';
14
14
  export * from './test-support';
15
15
  export { HeadlessRecado, Recado, processExpression, evaluateExpression } from './core/templates';
16
16
  export * from './charts';
17
+ export * from "./perf";
@@ -0,0 +1,16 @@
1
+ export declare class VisuallyJsPerformance {
2
+ static p: VisuallyJsPerformance;
3
+ metrics: Map<string, number>;
4
+ track: Map<string, number>;
5
+ counts: Map<string, number>;
6
+ level: number;
7
+ _disabled: boolean;
8
+ static get(): VisuallyJsPerformance;
9
+ private padTopic;
10
+ disable(): void;
11
+ enable(): void;
12
+ begin(topic: string): void;
13
+ end(topic: string): void;
14
+ reset(): void;
15
+ log(): void;
16
+ }
@@ -1 +1 @@
1
- export declare const VERSION = "1.2.9";
1
+ export declare const VERSION = "1.2.10";