nesquick 0.0.5 → 0.0.7
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/jsx-dev-runtime.js +1 -0
- package/jsx-runtime.js +1 -0
- package/lib/jsx-dev-runtime.js +26 -0
- package/lib/types/jsx-dev-runtime.d.ts +9 -0
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./lib/jsx-dev-runtime");
|
package/jsx-runtime.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./lib/jsx-runtime");
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.jsxDEV = jsxDEV;
|
|
18
|
+
const jsx_runtime_1 = require("./jsx-runtime");
|
|
19
|
+
__exportStar(require("./jsx-runtime"), exports);
|
|
20
|
+
function jsxDEV(type, props, key, _isStaticChildren, source, self) {
|
|
21
|
+
return (0, jsx_runtime_1.jsx)(type, {
|
|
22
|
+
...props,
|
|
23
|
+
__source: source,
|
|
24
|
+
__self: self
|
|
25
|
+
}, key);
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fragment } from "./jsx-runtime";
|
|
2
|
+
import { FunctionComponent, Props } from "./NesquickElement";
|
|
3
|
+
export * from "./jsx-runtime";
|
|
4
|
+
type JsxSource = {
|
|
5
|
+
fileName: string;
|
|
6
|
+
lineNumber: number;
|
|
7
|
+
columnNumber?: number;
|
|
8
|
+
};
|
|
9
|
+
export declare function jsxDEV<P extends Props>(type: string | FunctionComponent<P> | typeof Fragment, props: P, key: string | number | null, _isStaticChildren: boolean, source: JsxSource, self: any): import("./NesquickFragment").NesquickFragment | import("./NesquickElement").NesquickElement<P>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nesquick",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "React-like library with focus on drawing performance",
|
|
5
5
|
"types": "./lib/types",
|
|
6
6
|
"main": "./lib",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"files": [
|
|
19
19
|
"lib/",
|
|
20
|
-
"
|
|
20
|
+
"jsx-runtime.js",
|
|
21
|
+
"jsx-dev-runtime.js"
|
|
21
22
|
],
|
|
22
23
|
"private": false,
|
|
23
24
|
"publishConfig": {
|