initial commit

This commit is contained in:
Zoe
2023-01-03 09:29:04 -06:00
commit 7851137d88
12889 changed files with 2557443 additions and 0 deletions

4
node_modules/ultrahtml/dist/jsx-runtime/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
import { ElementNode } from "../index.js";
import { Fragment } from "../index.js";
declare function createVNode(type: any, { children, ...attributes }: Record<string, any>, key: string, __self: string, __source: string): ElementNode;
export { createVNode as jsx, createVNode as jsxs, createVNode as jsxDEV, Fragment, };

1
node_modules/ultrahtml/dist/jsx-runtime/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
import{TEXT_NODE as a}from"../index.js";import{ELEMENT_NODE as s,Fragment as d,__unsafeRenderFn as f}from"../index.js";function g(n,{children:e,...o},i,m,u){let t={type:s,name:typeof n=="function"?n.name:n,attributes:o,children:(Array.isArray(e)?e:[e]).map(r=>typeof r=="string"?{type:a,value:r}:r),parent:void 0,loc:[]};return typeof n=="function"&&f(t,n),t}export{d as Fragment,g as jsx,g as jsxDEV,g as jsxs};

7
node_modules/ultrahtml/dist/jsx-runtime/index.js.map generated vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../src/jsx-runtime/index.ts"],
"sourcesContent": ["import { ElementNode, Node, TEXT_NODE } from \"../index.js\";\nimport { ELEMENT_NODE, Fragment, __unsafeRenderFn } from \"../index.js\";\n\nfunction createVNode(\n type: any,\n { children, ...attributes }: Record<string, any>,\n key: string,\n __self: string,\n __source: string\n) {\n const vnode: ElementNode = {\n type: ELEMENT_NODE,\n name: typeof type === \"function\" ? type.name : type,\n attributes,\n children: (Array.isArray(children) ? children : [children]).map((child) => {\n if (typeof child === \"string\") {\n return {\n type: TEXT_NODE,\n value: child,\n };\n }\n return child;\n }),\n parent: undefined as any,\n loc: [] as any,\n };\n\n if (typeof type === \"function\") {\n __unsafeRenderFn(vnode, type);\n }\n\n return vnode;\n}\n\nexport {\n createVNode as jsx,\n createVNode as jsxs,\n createVNode as jsxDEV,\n Fragment,\n};\n"],
"mappings": "AAAA,OAA4B,aAAAA,MAAiB,cAC7C,OAAS,gBAAAC,EAAc,YAAAC,EAAU,oBAAAC,MAAwB,cAEzD,SAASC,EACPC,EACA,CAAE,SAAAC,KAAaC,CAAW,EAC1BC,EACAC,EACAC,EACA,CACA,IAAMC,EAAqB,CACzB,KAAMV,EACN,KAAM,OAAOI,GAAS,WAAaA,EAAK,KAAOA,EAC/C,WAAAE,EACA,UAAW,MAAM,QAAQD,CAAQ,EAAIA,EAAW,CAACA,CAAQ,GAAG,IAAKM,GAC3D,OAAOA,GAAU,SACZ,CACL,KAAMZ,EACN,MAAOY,CACT,EAEKA,CACR,EACD,OAAQ,OACR,IAAK,CAAC,CACR,EAEA,OAAI,OAAOP,GAAS,YAClBF,EAAiBQ,EAAON,CAAI,EAGvBM,CACT",
"names": ["TEXT_NODE", "ELEMENT_NODE", "Fragment", "__unsafeRenderFn", "createVNode", "type", "children", "attributes", "key", "__self", "__source", "vnode", "child"]
}