Commit Graph
4 Commits
Author SHA1 Message Date
waozi 3150fe2775 Drop the ui_draw, ui_modal, and ui_image shim headers
Delete include/ui_draw.h and include/ui_modal.h, which only re-exported
ui_drawing_props.generated.h and the modal/title-bar props, and re-point
kryon.h, ui_tree.h, ui_internal.h, and style_picker.kry at the props headers.

Delete include/ui_image.h and send its includers to
ui_image_props.generated.h; its only non-include content, KRY_IMAGE_CACHE_MAX,
moves to the image host's ui_image_internal.h, and runtime/node2d_props.kry
imports the props header directly.

Gates: generated-runtime-parity-test, fast-test, runtime-declarations-check,
k2c/k2cpp/k2go-syntax-test, go-runtime-test, examples-syntax-test, and
kryon-boundary-check pass; the public-API snapshot is regenerated.
2026-09-21 00:27:38 -03:00
waozi 6dadfae89b Route the web KSS layer through the generated kry module
parseWebStyleSheet now runs runtime/kss_parser.kry in declarative mode: the shared grammar lexes rule selectors, declaration spans, and foreign blocks (@keyframes, @media, @supports, @container) and the web layer only maps them to CSS. Theme overlays, typed environment axes, imports with cycle and missing-source diagnostics, layer ordering, and file:line:column provenance now behave identically on the web, and the hand-written regex KSS parser is removed. Durations convert through exact decimal shifting and integer diagnostics printing avoids float division so C, Go, and JavaScript agree. Strict and CSS-superset web suites pass; the remaining k2js syntax failure is the pre-existing ruby text regression from 4d60fab5.
2026-09-15 18:38:13 -03:00
waozi d0b29b1cdd Add kry scene node declaration props 2026-09-14 00:18:59 -03:00
waozi 06f95313a6 Canonicalize Kryon widget surface 2026-09-13 02:57:22 -03:00