zsui 0.3.0-alpha.2

Rust-first feature-gated native UI framework for Win32, AppKit, and Linux.
Documentation
{
  "schema_version": 1,
  "root": {
    "id": "inventory-table",
    "component": "stack",
    "layout": {
      "padding_token": "page_padding",
      "gap_token": "content_gap"
    },
    "children": [
      {
        "id": "title",
        "component": "text",
        "properties": {
          "text": "数据表格 / DataGrid",
          "text_role": "subtitle"
        }
      },
      {
        "id": "summary",
        "component": "text",
        "properties": {
          "text": "稳定列与行 ID 保持选择、排序和单元格语义。 / Stable column and row IDs preserve selection, sorting, and cell semantics.",
          "text_role": "body",
          "wrap": "word",
          "ellipsis": false
        },
        "layout": {
          "width": 620
        }
      },
      {
        "id": "inventory",
        "component": "table",
        "property_bindings": {
          "columns": "inventory_columns",
          "rows": "inventory_rows",
          "selected": "inventory_selected",
          "sort": "inventory_sort"
        },
        "action_bindings": {
          "select": "inventory_selected_changed",
          "sort": "inventory_sort_changed",
          "invoke": "inventory_invoked",
          "columns_change": "inventory_columns_changed"
        },
        "layout": {
          "width": 660,
          "height": 250
        }
      }
    ]
  }
}