Skip to content

History / Containers

Revisions

  • Make wiki guidance easier to read with Vibekit writing rules Apply plain and terse writing across all wiki pages. Use sentence case headings, direct instructions and ordinary punctuation. Remove decorative status marks and bold labels from lists while retaining technical detail. Keep executable examples, API reference signatures and existing section anchors intact. Correct the contradictory advice about returning from a container block after checking the actual macro cleanup behavior. Constraint: Preserve page URLs, section links and executable examples. Scope-risk: Wiki prose and comments only. Tested: Wiki validator passed for 23 pages, 164 fenced examples and 248 internal links. Tested: Headless linker-wrapper probe confirmed return skips cleanup and continue closes the element. Tested: git diff --check. Not-tested: Browser rendering and the full library test suite.

    @rizukirr rizukirr committed Nov 30, 2026
  • Split build and web docs out and add an API reference so every public name is findable Building and Web (WASM) pages take the platform, cross-compile and Emscripten material that lived only in the README. API-Reference lists every public macro, function, type and constant with a link to its feature page. Fixes examples that did not compile or were wrong: CC_ID does not exist (now CLAY_ID), CC_LoadImage returns Texture2D, raylib Pattern 3 used a private font table and an undeclared renderer function, and the custom font limit is 15, not 16. Lifecycle gains a Quitting section built on raylib's SetExitKey. Code samples use the CC_ enum aliases instead of CLAY_ names, and Text documents its alignment values. Tested: corrected snippets compiled and ran against libccompose, every wiki link and section anchor resolves

    @rizukirr rizukirr committed Nov 30, 2026
  • Containers: document Box as a z-stack for v0.1.4

    @rizukirr rizukirr committed Oct 7, 2026
  • Wiki: align with v0.0.1-alpha02 API — Flutter-style helpers, axis-tagged Align, renames

    @rizukirr rizukirr committed May 22, 2026
  • Wiki audit: align with v0.0.1-alpha01 API, fix string-literal claim, document CC_RUN_LOOP / CC_Scroll / interning

    @rizukirr rizukirr committed May 22, 2026
  • docs: document Spacer/Divider leaf macros New page covers the HSpacer/VSpacer/HDivider/VDivider API added in the main repo: why they are anonymous-id leaves (safe in loops), defaults, limitations (no fixed cross-axis length yet, no theme hook, no hover target). Containers ID-guidance gained a cross-ref, and Troubleshooting picked up a section for the recurring 'element with this ID was already previously declared' error that motivated the new macros.

    @rizukirr rizukirr committed Apr 15, 2026
  • docs: add Images page and migrate .image references to Image() macro Image() is now a dedicated leaf macro with CC_ImageRef, scale modes (ImgFill/ImgFit/ImgCrop), and rounded-corner masking. Documents the per-frame ref pool, texture loading via CC_LoadImage, and migrates Styling + Containers examples off the old .image = { .imageData = ... } pattern.

    @rizukirr rizukirr committed Apr 11, 2026
  • docs: rewrite wiki — comprehensive coverage Migrates from the sparse per-field pages under docs/wiki/ to a structured, long-form wiki covering every piece of the public API: - Home landing page with quick start and navigation - Getting-Started: build on Linux/macOS/Windows, headless, first program - Lifecycle: full rundown of CC_Init/Begin/End/Shutdown, fonts, error handlers, window configuration - Containers: Column/Row/Box/Element unified, macro expansion, control-flow caveats, nesting - Text: Text vs TextN, font-id precedence, wrapping, alignment - Layout: sizing helpers, padding, childGap, childAlignment - Styling: backgrounds, corner radius, borders (incl. betweenChildren), images, aspect ratio - Interaction: Button, CC_Hovered, CC_Clicked, IMGUI query idiom, recipes (sidebar nav, toggle, pressed state), gotchas (new in 0.2) - Scroll & Clip, Floating: expanded examples (modals, dropdowns by id) - Headless-Mode: what changes at runtime, test patterns, Clay_SetPointerState-based simulated input - Architecture: layer diagram, macro expansion walkthrough, memory model, build targets, naming conventions - Troubleshooting: compile errors, Clay error codes, visual problems, build quirks - _Sidebar: GitHub wiki sidebar navigation

    @rizukirr rizukirr committed Apr 9, 2026