@design-edito/tools 0.0.26 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export default function getDocument(): Promise<
|
1
|
+
export default function getDocument(): Promise<Document>;
|
@@ -1 +1 @@
|
|
1
|
-
export default function selectorToElement(selector: string, documentObj?: Document): Promise<
|
1
|
+
export default function selectorToElement(selector: string, documentObj?: Document): Promise<HTMLElement>;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
export declare function makeTextBlock(text: string, vPadding?: number, hPadding?: number): string;
|
2
2
|
export declare const styles: {
|
3
3
|
regular: (text: string) => string;
|
4
|
-
light: (text: string) =>
|
5
|
-
danger: (text: string) =>
|
6
|
-
important: (text: string) =>
|
4
|
+
light: (text: string) => string;
|
5
|
+
danger: (text: string) => string;
|
6
|
+
important: (text: string) => string;
|
7
7
|
title: (text: string) => string;
|
8
|
-
info: (text: string) =>
|
9
|
-
error: (text: string) =>
|
10
|
-
warning: (text: string) =>
|
8
|
+
info: (text: string) => string;
|
9
|
+
error: (text: string) => string;
|
10
|
+
warning: (text: string) => string;
|
11
11
|
};
|
12
12
|
type ConsoleMethod = 'assert' | 'count' | 'countReset' | 'debug' | 'dir' | 'dirxml' | 'error' | 'group' | 'groupCollapsed' | 'groupEnd' | 'info' | 'log' | 'table' | 'time' | 'timeEnd' | 'trace' | 'warn';
|
13
13
|
type ConsoleMethodsParams = {
|