Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
27
network-poc/frontend/node_modules/hastscript/lib/index.js
generated
vendored
Normal file
27
network-poc/frontend/node_modules/hastscript/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
// Register the JSX namespace on `h`.
|
||||
/**
|
||||
* @typedef {import('./jsx-classic.js').Element} h.JSX.Element
|
||||
* @typedef {import('./jsx-classic.js').ElementChildrenAttribute} h.JSX.ElementChildrenAttribute
|
||||
* @typedef {import('./jsx-classic.js').IntrinsicAttributes} h.JSX.IntrinsicAttributes
|
||||
* @typedef {import('./jsx-classic.js').IntrinsicElements} h.JSX.IntrinsicElements
|
||||
*/
|
||||
|
||||
// Register the JSX namespace on `s`.
|
||||
/**
|
||||
* @typedef {import('./jsx-classic.js').Element} s.JSX.Element
|
||||
* @typedef {import('./jsx-classic.js').ElementChildrenAttribute} s.JSX.ElementChildrenAttribute
|
||||
* @typedef {import('./jsx-classic.js').IntrinsicAttributes} s.JSX.IntrinsicAttributes
|
||||
* @typedef {import('./jsx-classic.js').IntrinsicElements} s.JSX.IntrinsicElements
|
||||
*/
|
||||
|
||||
import {html, svg} from 'property-information'
|
||||
import {createH} from './create-h.js'
|
||||
import {svgCaseSensitiveTagNames} from './svg-case-sensitive-tag-names.js'
|
||||
|
||||
// Note: this explicit type is needed, otherwise TS creates broken types.
|
||||
/** @type {ReturnType<createH>} */
|
||||
export const h = createH(html, 'div')
|
||||
|
||||
// Note: this explicit type is needed, otherwise TS creates broken types.
|
||||
/** @type {ReturnType<createH>} */
|
||||
export const s = createH(svg, 'g', svgCaseSensitiveTagNames)
|
||||
Reference in New Issue
Block a user