reykit 1.0.14 → 1.0.16
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 +7 -2
- package/dist/index.js +7 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { renderReact } from './react';
|
|
2
|
+
import { default as Storager } from './storage';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
renderReact: typeof renderReact;
|
|
5
|
+
Storager: typeof Storager;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -27217,13 +27217,13 @@ function t3() {
|
|
|
27217
27217
|
}
|
|
27218
27218
|
var e3 = t3();
|
|
27219
27219
|
let oS = null;
|
|
27220
|
-
function
|
|
27220
|
+
function l3(J, Wt = "root") {
|
|
27221
27221
|
const Ft = document.getElementById(Wt);
|
|
27222
27222
|
if (!Ft)
|
|
27223
27223
|
throw new Error("element ID not found");
|
|
27224
27224
|
oS || (oS = e3.createRoot(Ft)), oS.render(J);
|
|
27225
27225
|
}
|
|
27226
|
-
class
|
|
27226
|
+
class a3 {
|
|
27227
27227
|
/**
|
|
27228
27228
|
* Build instance.
|
|
27229
27229
|
*
|
|
@@ -27302,7 +27302,10 @@ class u3 {
|
|
|
27302
27302
|
localStorage.setItem(this.name, N);
|
|
27303
27303
|
}
|
|
27304
27304
|
}
|
|
27305
|
+
const c3 = {
|
|
27306
|
+
renderReact: l3,
|
|
27307
|
+
Storager: a3
|
|
27308
|
+
};
|
|
27305
27309
|
export {
|
|
27306
|
-
|
|
27307
|
-
n3 as renderReact
|
|
27310
|
+
c3 as default
|
|
27308
27311
|
};
|