@kubb/renderer-jsx 5.0.0-beta.75 → 5.0.0-beta.76
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/LICENSE +17 -10
- package/README.md +135 -0
- package/dist/index.cjs +385 -17926
- package/dist/index.d.ts +248 -165
- package/dist/index.js +370 -17908
- package/dist/jsx-dev-runtime.cjs +3 -10
- package/dist/jsx-dev-runtime.d.ts +4 -8
- package/dist/jsx-dev-runtime.js +1 -9
- package/dist/jsx-runtime.cjs +24 -6
- package/dist/jsx-runtime.d.ts +59 -10
- package/dist/jsx-runtime.js +24 -7
- package/dist/rolldown-runtime-C0LytTxp.js +8 -0
- package/dist/rolldown-runtime-ClG-MNz_.cjs +13 -0
- package/dist/types-OZ23urxc.d.ts +119 -0
- package/dist/types.d.ts +2 -2
- package/package.json +8 -37
- package/dist/chunk-Bb7HlUDG.js +0 -28
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/jsx-dev-runtime.cjs.map +0 -1
- package/dist/jsx-dev-runtime.js.map +0 -1
- package/dist/jsx-namespace-CNp0arTN.d.ts +0 -39
- package/dist/jsx-runtime-Cvu_ZYgL.js +0 -1448
- package/dist/jsx-runtime-Cvu_ZYgL.js.map +0 -1
- package/dist/jsx-runtime-DdmO3p0U.cjs +0 -1503
- package/dist/jsx-runtime-DdmO3p0U.cjs.map +0 -1
- package/dist/jsx-runtime.cjs.map +0 -1
- package/dist/jsx-runtime.js.map +0 -1
- package/dist/types-nAFMiWFw.d.ts +0 -168
- package/src/Renderer.ts +0 -184
- package/src/Runtime.tsx +0 -170
- package/src/components/Const.tsx +0 -72
- package/src/components/File.tsx +0 -186
- package/src/components/Function.tsx +0 -152
- package/src/components/Jsx.tsx +0 -34
- package/src/components/Root.tsx +0 -70
- package/src/components/Type.tsx +0 -66
- package/src/constants.ts +0 -28
- package/src/createRenderer.tsx +0 -93
- package/src/dom.ts +0 -105
- package/src/globals.ts +0 -34
- package/src/index.ts +0 -8
- package/src/jsx-dev-runtime.ts +0 -10
- package/src/jsx-namespace.d.ts +0 -52
- package/src/jsx-runtime.ts +0 -12
- package/src/types.ts +0 -207
- package/src/utils.ts +0 -267
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-dev-runtime.cjs","names":[],"sources":["../src/jsx-dev-runtime.ts"],"sourcesContent":["import * as React from 'react/jsx-runtime'\nimport type { KubbReactElement, KubbReactNode } from './types.ts'\n\nexport const Fragment = React.Fragment\nexport const jsxDEV = React.jsx\n\nexport type * from './jsx-namespace.d.ts'\n\nexport type JSXElement = KubbReactElement\nexport type ReactNode = KubbReactNode\n"],"mappings":";;;;AAGA,MAAa,WAAA,mBAAiB;AAC9B,MAAa,SAAA,mBAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-dev-runtime.js","names":[],"sources":["../src/jsx-dev-runtime.ts"],"sourcesContent":["import * as React from 'react/jsx-runtime'\nimport type { KubbReactElement, KubbReactNode } from './types.ts'\n\nexport const Fragment = React.Fragment\nexport const jsxDEV = React.jsx\n\nexport type * from './jsx-namespace.d.ts'\n\nexport type JSXElement = KubbReactElement\nexport type ReactNode = KubbReactNode\n"],"mappings":";;;;AAGA,MAAa,WAAA,mBAAiB;AAC9B,MAAa,SAAA,mBAAe"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { n as __name } from "./chunk-Bb7HlUDG.js";
|
|
2
|
-
import { _ as KubbTextProps, c as KubbConstProps, d as KubbFunctionProps, f as KubbImportProps, g as KubbSourceProps, h as KubbReactNode, l as KubbExportProps, m as KubbReactElement, p as KubbJsxProps, s as KubbArrowFunctionProps, u as KubbFileProps, v as KubbTypeProps, y as LineBreakProps } from "./types-nAFMiWFw.js";
|
|
3
|
-
import React from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/jsx-namespace.d.ts
|
|
6
|
-
declare namespace JSX$1 {
|
|
7
|
-
type ElementType = React.JSX.ElementType;
|
|
8
|
-
type Element = KubbReactElement;
|
|
9
|
-
interface ElementClass extends React.JSX.ElementClass {
|
|
10
|
-
render(): KubbReactNode;
|
|
11
|
-
}
|
|
12
|
-
interface ElementAttributesProperty {
|
|
13
|
-
props: {};
|
|
14
|
-
}
|
|
15
|
-
interface ElementChildrenAttribute {
|
|
16
|
-
children: {};
|
|
17
|
-
}
|
|
18
|
-
interface IntrinsicElements extends React.JSX.IntrinsicElements {
|
|
19
|
-
'kubb-jsx': KubbJsxProps;
|
|
20
|
-
'kubb-text': KubbTextProps;
|
|
21
|
-
'kubb-file': KubbFileProps;
|
|
22
|
-
'kubb-source': KubbSourceProps;
|
|
23
|
-
'kubb-import': KubbImportProps;
|
|
24
|
-
'kubb-export': KubbExportProps;
|
|
25
|
-
'kubb-function': KubbFunctionProps;
|
|
26
|
-
'kubb-arrow-function': KubbArrowFunctionProps;
|
|
27
|
-
'kubb-const': KubbConstProps;
|
|
28
|
-
'kubb-type': KubbTypeProps;
|
|
29
|
-
br: LineBreakProps;
|
|
30
|
-
indent: {};
|
|
31
|
-
dedent: {};
|
|
32
|
-
}
|
|
33
|
-
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
|
|
34
|
-
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
|
|
35
|
-
interface IntrinsicElements extends React.JSX.IntrinsicElements {}
|
|
36
|
-
}
|
|
37
|
-
//#endregion
|
|
38
|
-
export { JSX$1 as t };
|
|
39
|
-
//# sourceMappingURL=jsx-namespace-CNp0arTN.d.ts.map
|