@viewfly/core 0.0.8 → 0.0.9
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.esm.js +11 -0
- package/jsx-runtime/index.js +24 -0
- package/package.json +2 -2
|
@@ -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,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var core = require('@viewfly/core');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* JSX namespace for usage with @jsxImportsSource directive
|
|
7
|
+
* when ts compilerOptions.jsx is 'react-jsx'
|
|
8
|
+
* https://www.typescriptlang.org/tsconfig#jsxImportSource
|
|
9
|
+
*/
|
|
10
|
+
const jsxDEV = core.jsx;
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, 'Fragment', {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return core.Fragment; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, 'jsx', {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return core.jsx; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, 'jsxs', {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return core.jsxs; }
|
|
23
|
+
});
|
|
24
|
+
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.9",
|
|
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",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"bugs": {
|
|
36
36
|
"url": "https://github.com/viewfly/viewfly.git/issues"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "c2681190a94529ccc82a6e529b51d69c89571844"
|
|
39
39
|
}
|