Skip to main content

khora_editor/widgets/inspector/
mod.rs

1// Copyright 2025 eraflo
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8
9//! Inspector widget library — header, cards, JSON property walker, tabs.
10//!
11//! Layout:
12//!   - [`header`]        — panel-top entity strip (icon + name + tags)
13//!   - [`card`]          — collapsible component card frame
14//!   - [`walker`]        — JSON `Value` → widget walker (single source)
15//!   - [`renderers`]     — per-shape leaf renderers (Vec3, Quat, Color, …)
16//!   - [`add_component`] — "+ Add Component" menu, bucketed by domain
17//!   - [`display`]       — icon / type-tag / category labels
18//!   - [`tabs`]          — `InspectorTab` trait + `Properties` / `Debug`
19
20pub mod add_component;
21pub mod asset_pane;
22pub mod card;
23pub mod display;
24pub mod header;
25pub mod renderers;
26pub mod tabs;
27pub mod tag_chips;
28pub mod walker;