@viewfly/core 0.0.12 → 0.0.14
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/bundles/types.d.ts +1 -1
- package/jsx-runtime/index.d.ts +1 -1
- package/jsx-runtime/package.json +4 -0
- package/package.json +3 -3
package/bundles/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Key, Ref, JSXComponent
|
|
1
|
+
import { Key, ExtractInstanceType, Ref, JSXComponent } from './model/_api';
|
|
2
2
|
export declare namespace ViewTypes {
|
|
3
3
|
type ClassNames = string | Record<string, unknown> | Array<string | Record<string, unknown>>;
|
|
4
4
|
interface IntrinsicAttributes {
|
package/jsx-runtime/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { NativeElements } from '@viewfly/platform-browser';
|
|
|
5
5
|
* when ts compilerOptions.jsx is 'react-jsx'
|
|
6
6
|
* https://www.typescriptlang.org/tsconfig#jsxImportSource
|
|
7
7
|
*/
|
|
8
|
-
declare const jsxDEV:
|
|
8
|
+
declare const jsxDEV: typeof jsx;
|
|
9
9
|
export { jsx, jsxs, Fragment, jsxDEV };
|
|
10
10
|
export declare namespace JSX {
|
|
11
11
|
interface ElementClass extends ViewTypes.ElementClass {
|
package/jsx-runtime/package.json
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "rimraf index.esm.js index.js index.d.ts && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && tsc index.ts -d"
|
|
7
7
|
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"@viewfly/core": "^0.0.12",
|
|
10
|
+
"@viewfly/platform-browser": "^0.0.12"
|
|
11
|
+
},
|
|
8
12
|
"devDependencies": {
|
|
9
13
|
"@rollup/plugin-commonjs": "^25.0.3",
|
|
10
14
|
"@rollup/plugin-typescript": "^11.1.2",
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viewfly/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
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",
|
|
7
7
|
"typings": "./bundles/public-api.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./bundles/public-api
|
|
10
|
+
"types": "./bundles/public-api.d.ts",
|
|
11
11
|
"import": "./bundles/index.esm.js",
|
|
12
12
|
"require": "./bundles/index.js"
|
|
13
13
|
},
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"bugs": {
|
|
53
53
|
"url": "https://github.com/viewfly/viewfly.git/issues"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "bc795457277616f7f448bae91360eb11baf1ad6b"
|
|
56
56
|
}
|