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:
30
network-poc/frontend/node_modules/property-information/lib/hast-to-react.js
generated
vendored
Normal file
30
network-poc/frontend/node_modules/property-information/lib/hast-to-react.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* Special cases for React (`Record<string, string>`).
|
||||
*
|
||||
* `hast` is close to `React` but differs in a couple of cases.
|
||||
* To get a React property from a hast property,
|
||||
* check if it is in `hastToReact`.
|
||||
* If it is, use the corresponding value;
|
||||
* otherwise, use the hast property.
|
||||
*
|
||||
* @type {Record<string, string>}
|
||||
*/
|
||||
export const hastToReact = {
|
||||
classId: 'classID',
|
||||
dataType: 'datatype',
|
||||
itemId: 'itemID',
|
||||
strokeDashArray: 'strokeDasharray',
|
||||
strokeDashOffset: 'strokeDashoffset',
|
||||
strokeLineCap: 'strokeLinecap',
|
||||
strokeLineJoin: 'strokeLinejoin',
|
||||
strokeMiterLimit: 'strokeMiterlimit',
|
||||
typeOf: 'typeof',
|
||||
xLinkActuate: 'xlinkActuate',
|
||||
xLinkArcRole: 'xlinkArcrole',
|
||||
xLinkHref: 'xlinkHref',
|
||||
xLinkRole: 'xlinkRole',
|
||||
xLinkShow: 'xlinkShow',
|
||||
xLinkTitle: 'xlinkTitle',
|
||||
xLinkType: 'xlinkType',
|
||||
xmlnsXLink: 'xmlnsXlink'
|
||||
}
|
||||
Reference in New Issue
Block a user