@viewfly/core 0.0.20 → 0.0.21
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-runtime/index.d.ts +23 -0
- package/jsx-runtime/index.esm.js +11 -0
- package/jsx-runtime/index.js +14 -0
- package/package.json +2 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment, JSXInternal } from '@viewfly/core';
|
|
2
|
+
import { NativeElements } from '@viewfly/platform-browser';
|
|
3
|
+
/**
|
|
4
|
+
* JSX namespace for usage with @jsxImportsSource directive
|
|
5
|
+
* when ts compilerOptions.jsx is 'react-jsx'
|
|
6
|
+
* https://www.typescriptlang.org/tsconfig#jsxImportSource
|
|
7
|
+
*/
|
|
8
|
+
declare const jsxDEV: typeof jsx;
|
|
9
|
+
export { jsx, jsxs, Fragment, jsxDEV };
|
|
10
|
+
export declare namespace JSX {
|
|
11
|
+
interface Element extends JSXInternal.Element {
|
|
12
|
+
}
|
|
13
|
+
interface ElementClass extends JSXInternal.ElementClass {
|
|
14
|
+
}
|
|
15
|
+
interface IntrinsicElements extends NativeElements, JSXInternal.IntrinsicElements {
|
|
16
|
+
}
|
|
17
|
+
interface IntrinsicAttributes extends JSXInternal.IntrinsicAttributes {
|
|
18
|
+
}
|
|
19
|
+
interface ElementChildrenAttribute extends JSXInternal.ElementChildrenAttribute {
|
|
20
|
+
}
|
|
21
|
+
interface IntrinsicClassAttributes<T> extends JSXInternal.IntrinsicClassAttributes<T> {
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx } from '@viewfly/core';
|
|
2
|
+
export { Fragment, jsx, jsxs } from '@viewfly/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* JSX namespace for usage with @jsxImportsSource directive
|
|
6
|
+
* when ts compilerOptions.jsx is 'react-jsx'
|
|
7
|
+
* https://www.typescriptlang.org/tsconfig#jsxImportSource
|
|
8
|
+
*/
|
|
9
|
+
const jsxDEV = jsx;
|
|
10
|
+
|
|
11
|
+
export { jsxDEV };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.jsxDEV = exports.Fragment = exports.jsxs = exports.jsx = void 0;
|
|
4
|
+
var core_1 = require("@viewfly/core");
|
|
5
|
+
Object.defineProperty(exports, "jsx", { enumerable: true, get: function () { return core_1.jsx; } });
|
|
6
|
+
Object.defineProperty(exports, "jsxs", { enumerable: true, get: function () { return core_1.jsxs; } });
|
|
7
|
+
Object.defineProperty(exports, "Fragment", { enumerable: true, get: function () { return core_1.Fragment; } });
|
|
8
|
+
/**
|
|
9
|
+
* JSX namespace for usage with @jsxImportsSource directive
|
|
10
|
+
* when ts compilerOptions.jsx is 'react-jsx'
|
|
11
|
+
* https://www.typescriptlang.org/tsconfig#jsxImportSource
|
|
12
|
+
*/
|
|
13
|
+
var jsxDEV = core_1.jsx;
|
|
14
|
+
exports.jsxDEV = jsxDEV;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viewfly/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
|
|
5
5
|
"main": "./bundles/index.js",
|
|
6
6
|
"module": "./bundles/index.esm.js",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"bugs": {
|
|
50
50
|
"url": "https://github.com/viewfly/viewfly.git/issues"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "3b8f0f450c9edeac153dfc27e9a0e53e525915df"
|
|
53
53
|
}
|