ranui 0.1.10-alpha.17 → 0.1.10-alpha.18

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/dist/index.d.ts CHANGED
@@ -110,22 +110,24 @@ interface MathJax {
110
110
  tex2chtmlPromise: (x: string, y: object) => Promise<Element>;
111
111
  }
112
112
 
113
- declare interface Window {
114
- ranui: Partial<Ranui>;
115
- message: Partial<Ran.Message>;
116
- MathJax: MathJax;
117
- katex: {
118
- render: (x: string, y: HTMLElement, z: object) => void;
119
- };
120
- pdfjsLib: {
121
- GlobalWorkerOptions: {
122
- workerSrc: string;
123
- };
124
- getDocument: (x: string | ArrayBuffer) => {
125
- promise: Promise<PDFDocumentProxy>;
126
- };
127
- };
128
- Hls: HLS;
113
+ declare global {
114
+ interface Window {
115
+ ranui: Partial<Ranui>;
116
+ message: Partial<Ran.Message>;
117
+ MathJax: MathJax;
118
+ katex: {
119
+ render: (x: string, y: HTMLElement, z: object) => void;
120
+ };
121
+ pdfjsLib: {
122
+ GlobalWorkerOptions: {
123
+ workerSrc: string;
124
+ };
125
+ getDocument: (x: string | ArrayBuffer) => {
126
+ promise: Promise<PDFDocumentProxy>;
127
+ };
128
+ };
129
+ Hls: HLS;
130
+ }
129
131
  }
130
132
 
131
133
  namespace JSX {
package/dist/typings.d.ts CHANGED
@@ -91,22 +91,24 @@ interface MathJax {
91
91
  tex2chtmlPromise: (x: string, y: object) => Promise<Element>;
92
92
  }
93
93
 
94
- declare interface Window {
95
- ranui: Partial<Ranui>;
96
- message: Partial<Ran.Message>;
97
- MathJax: MathJax;
98
- katex: {
99
- render: (x: string, y: HTMLElement, z: object) => void;
100
- };
101
- pdfjsLib: {
102
- GlobalWorkerOptions: {
103
- workerSrc: string;
104
- };
105
- getDocument: (x: string | ArrayBuffer) => {
106
- promise: Promise<PDFDocumentProxy>;
107
- };
108
- };
109
- Hls: HLS;
94
+ declare global {
95
+ interface Window {
96
+ ranui: Partial<Ranui>;
97
+ message: Partial<Ran.Message>;
98
+ MathJax: MathJax;
99
+ katex: {
100
+ render: (x: string, y: HTMLElement, z: object) => void;
101
+ };
102
+ pdfjsLib: {
103
+ GlobalWorkerOptions: {
104
+ workerSrc: string;
105
+ };
106
+ getDocument: (x: string | ArrayBuffer) => {
107
+ promise: Promise<PDFDocumentProxy>;
108
+ };
109
+ };
110
+ Hls: HLS;
111
+ }
110
112
  }
111
113
 
112
114
  namespace JSX {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ranui",
3
- "version": "0.1.10-alpha.17",
3
+ "version": "0.1.10-alpha.18",
4
4
  "description": "UI Component library based on `Web Component`",
5
5
  "main": "dist/umd/index.umd.cjs",
6
6
  "module": "dist/index.js",
package/typings.d.ts CHANGED
@@ -91,22 +91,24 @@ interface MathJax {
91
91
  tex2chtmlPromise: (x: string, y: object) => Promise<Element>;
92
92
  }
93
93
 
94
- declare interface Window {
95
- ranui: Partial<Ranui>;
96
- message: Partial<Ran.Message>;
97
- MathJax: MathJax;
98
- katex: {
99
- render: (x: string, y: HTMLElement, z: object) => void;
100
- };
101
- pdfjsLib: {
102
- GlobalWorkerOptions: {
103
- workerSrc: string;
104
- };
105
- getDocument: (x: string | ArrayBuffer) => {
106
- promise: Promise<PDFDocumentProxy>;
107
- };
108
- };
109
- Hls: HLS;
94
+ declare global {
95
+ interface Window {
96
+ ranui: Partial<Ranui>;
97
+ message: Partial<Ran.Message>;
98
+ MathJax: MathJax;
99
+ katex: {
100
+ render: (x: string, y: HTMLElement, z: object) => void;
101
+ };
102
+ pdfjsLib: {
103
+ GlobalWorkerOptions: {
104
+ workerSrc: string;
105
+ };
106
+ getDocument: (x: string | ArrayBuffer) => {
107
+ promise: Promise<PDFDocumentProxy>;
108
+ };
109
+ };
110
+ Hls: HLS;
111
+ }
110
112
  }
111
113
 
112
114
  namespace JSX {