@rue-js/jsx-runtime 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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @rue-js/jsx-runtime v0.0.20
2
+ * @rue-js/jsx-runtime v0.0.21
3
3
  * (c) 2025-present Xiangmin Liu and Rue contributors
4
4
  * @license MIT
5
5
  **/
@@ -7,7 +7,7 @@
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- var rueJs = require('rue-js');
10
+ var rue = require('@rue-js/rue');
11
11
 
12
12
  function jsx(type, props, key) {
13
13
  const p = key !== void 0 ? (() => {
@@ -19,10 +19,10 @@ function jsx(type, props, key) {
19
19
  return o;
20
20
  })() : props ? props : null;
21
21
  const c = props ? props.children : void 0;
22
- return Array.isArray(c) ? rueJs.h(type, p, ...c) : c !== void 0 ? rueJs.h(type, p, c) : rueJs.h(type, p);
22
+ return Array.isArray(c) ? rue.h(type, p, ...c) : c !== void 0 ? rue.h(type, p, c) : rue.h(type, p);
23
23
  }
24
24
  const jsxs = jsx;
25
25
 
26
- exports.Fragment = rueJs.Fragment;
26
+ exports.Fragment = rue.Fragment;
27
27
  exports.jsx = jsx;
28
28
  exports.jsxs = jsxs;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @rue-js/jsx-runtime v0.0.20
2
+ * @rue-js/jsx-runtime v0.0.21
3
3
  * (c) 2025-present Xiangmin Liu and Rue contributors
4
4
  * @license MIT
5
5
  **/
@@ -7,7 +7,7 @@
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- var rueJs = require('rue-js');
10
+ var rue = require('@rue-js/rue');
11
11
 
12
12
  function jsx(type, props, key) {
13
13
  const p = key !== void 0 ? (() => {
@@ -19,10 +19,10 @@ function jsx(type, props, key) {
19
19
  return o;
20
20
  })() : props ? props : null;
21
21
  const c = props ? props.children : void 0;
22
- return Array.isArray(c) ? rueJs.h(type, p, ...c) : c !== void 0 ? rueJs.h(type, p, c) : rueJs.h(type, p);
22
+ return Array.isArray(c) ? rue.h(type, p, ...c) : c !== void 0 ? rue.h(type, p, c) : rue.h(type, p);
23
23
  }
24
24
  const jsxs = jsx;
25
25
 
26
- exports.Fragment = rueJs.Fragment;
26
+ exports.Fragment = rue.Fragment;
27
27
  exports.jsx = jsx;
28
28
  exports.jsxs = jsxs;
@@ -1,4 +1,4 @@
1
- export { Fragment } from 'rue-js';
1
+ export { Fragment } from '@rue-js/rue';
2
2
 
3
3
  /** 生成单子元素或无子元素的 VNode
4
4
  * @param type 组件类型或标签名
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @rue-js/jsx-runtime v0.0.20
2
+ * @rue-js/jsx-runtime v0.0.21
3
3
  * (c) 2025-present Xiangmin Liu and Rue contributors
4
4
  * @license MIT
5
5
  **/
6
- import { h } from 'rue-js';
7
- export { Fragment } from 'rue-js';
6
+ import { h } from '@rue-js/rue';
7
+ export { Fragment } from '@rue-js/rue';
8
8
 
9
9
  function jsx(type, props, key) {
10
10
  const p = key !== void 0 ? (() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rue-js/jsx-runtime",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "@rue-js/jsx-runtime",
5
5
  "keywords": [
6
6
  "rue"
@@ -40,7 +40,7 @@
40
40
  "./*": "./*"
41
41
  },
42
42
  "dependencies": {
43
- "rue-js": "0.0.20"
43
+ "@rue-js/rue": "0.0.21"
44
44
  },
45
45
  "buildOptions": {
46
46
  "name": "RueJsxDevRuntimeCore",