obsidian-typings 2.23.2 → 2.23.3
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
|
@@ -21,8 +21,23 @@ index 24b2706..d8b1c78 100644
|
|
|
21
21
|
"types": "src/style-mod.d.ts",
|
|
22
22
|
diff --git a/node_modules/style-mod/src/style-mod.d.cts b/node_modules/style-mod/src/style-mod.d.cts
|
|
23
23
|
new file mode 100644
|
|
24
|
-
index 0000000..
|
|
24
|
+
index 0000000..081f0f2
|
|
25
25
|
--- /dev/null
|
|
26
26
|
+++ b/node_modules/style-mod/src/style-mod.d.cts
|
|
27
|
-
@@ -0,0 +1 @@
|
|
28
|
-
+export
|
|
27
|
+
@@ -0,0 +1,16 @@
|
|
28
|
+
+export class StyleModule {
|
|
29
|
+
+ constructor(spec: {[selector: string]: StyleSpec}, options?: {
|
|
30
|
+
+ finish?(sel: string): string
|
|
31
|
+
+ })
|
|
32
|
+
+ getRules(): string
|
|
33
|
+
+ static mount(
|
|
34
|
+
+ root: Document | ShadowRoot | DocumentOrShadowRoot,
|
|
35
|
+
+ module: StyleModule | ReadonlyArray<StyleModule>,
|
|
36
|
+
+ options?: {nonce?: string}
|
|
37
|
+
+ ): void
|
|
38
|
+
+ static newName(): string
|
|
39
|
+
+}
|
|
40
|
+
+
|
|
41
|
+
+export type StyleSpec = {
|
|
42
|
+
+ [propOrSelector: string]: string | number | StyleSpec | null
|
|
43
|
+
+}
|