jsx-framework-pb 0.0.7 → 0.0.8
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/dist/{chunk-Y6I3KMBQ.js → chunk-2DKGI2O7.js} +1 -1
- package/dist/chunk-2DKGI2O7.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/jsx-dev-runtime.js +1 -1
- package/dist/jsx-dev-runtime.js.map +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-Y6I3KMBQ.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/jsx-runtime.ts"],"sourcesContent":["/// <reference path=\"./jsx.d.ts\" />\r\n\r\nimport type { VNode, Component, Key } from \"./types\";\r\n\r\nexport function jsx<P>(\r\n type: string | Component<P>,\r\n props: P,\r\n key?: Key\r\n): VNode<P> {\r\n return { type, props: props ?? ({} as P), key: key ?? null };\r\n}\r\n\r\nexport const jsxs = jsx;\r\nexport const Fragment = Symbol(\"Fragment\");"],"mappings":";AAIO,SAAS,IACZ,MACA,OACA,KACQ;AACR,SAAO,EAAE,MAAM,OAAO,wBAAU,CAAC,GAAS,KAAK,oBAAO,KAAK;AAC/D;AAEO,IAAM,OAAO;AACb,IAAM,WAAW,uBAAO,UAAU;","names":[]}
|
package/dist/index.js
CHANGED
package/dist/jsx-dev-runtime.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/jsx-dev-runtime.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../src/jsx-dev-runtime.ts"],"sourcesContent":["/// <reference path=\"./jsx.d.ts\" />\r\n\r\nimport { jsx, Fragment } from \"./jsx-runtime\";\r\nimport type { VNode } from \"./types\";\r\n\r\nexport function jsxDEV(\r\n type: VNode[\"type\"],\r\n props: any,\r\n key?: string | number | null\r\n): VNode {\r\n return jsx(type, props, key);\r\n}\r\n\r\nexport const jsxsDEV = jsxDEV;\r\nexport { Fragment };"],"mappings":";;;;;;AAKO,SAAS,OACZ,MACA,OACA,KACK;AACL,SAAO,IAAI,MAAM,OAAO,GAAG;AAC/B;AAEO,IAAM,UAAU;","names":[]}
|
package/dist/jsx-runtime.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/jsx-runtime.ts"],"sourcesContent":["import type { VNode, Component, Key } from \"./types\";\r\n\r\nexport function jsx<P>(\r\n type: string | Component<P>,\r\n props: P,\r\n key?: Key\r\n): VNode<P> {\r\n return { type, props: props ?? ({} as P), key: key ?? null };\r\n}\r\n\r\nexport const jsxs = jsx;\r\nexport const Fragment = Symbol(\"Fragment\");"],"mappings":";AAEO,SAAS,IACZ,MACA,OACA,KACQ;AACR,SAAO,EAAE,MAAM,OAAO,wBAAU,CAAC,GAAS,KAAK,oBAAO,KAAK;AAC/D;AAEO,IAAM,OAAO;AACb,IAAM,WAAW,uBAAO,UAAU;","names":[]}
|