canonrs-server 0.1.0

CanonRS server-side rendering support
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// AUTO-GENERATED by build.rs — do not edit manually.
// Source: *_boundary.rs + builder.yaml
use crate::catalog_types::{ComponentApi, PropDef, PropType};

pub const LOGO_API: ComponentApi = ComponentApi {
    id: "logo",
    description: "CanonRS logo combining SVG icon, wordmark and optional tagline",
    props: &[
        PropDef { name: "size", kind: PropType::String, required: false, default: Some("md"), description: "Size variant of the component" },
        PropDef { name: "variant", kind: PropType::String, required: false, default: Some("brand"), description: "Visual variant of the component" },
        PropDef { name: "wordmark", kind: PropType::Children, required: false, default: None, description: "Prop value" },
        PropDef { name: "tagline", kind: PropType::Children, required: false, default: None, description: "Prop value" },
        PropDef { name: "href", kind: PropType::String, required: false, default: Some("/"), description: "Navigation target URL" },
        PropDef { name: "aria_label", kind: PropType::String, required: false, default: Some(""), description: "Accessible label for screen readers" },
        PropDef { name: "class", kind: PropType::String, required: false, default: Some(""), description: "Additional CSS class names" },
    ],
};