/**
 * Collaboration form static text component
 * Display-only field that shows static content or label text
 * No input, no editing
 */
'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import React from 'react';
import { cn } from '../utils/cn.js';
import { use_base_form_field } from './shared/use_base_form_field.js';
import { BaseFieldLayout } from './shared/base_field_layout.js';
/**
 * Collaboration form static text component
 */
export const HazoCollabFormStaticText = React.forwardRef((props, ref) => {
    const base = use_base_form_field(props, ref);
    if (base.should_hide)
        return null;
    const { static_content, label, input_wrapper_class_name } = props;
    const display_text = static_content || label || '';
    return (_jsx(BaseFieldLayout, { base: base, wrapper_class_name: "cls_collab_static_text_wrapper", wrapper_extra_class_name: input_wrapper_class_name, children: _jsx("div", { ref: base.component_ref, id: base.field_id_final, className: cn('cls_collab_static_text text-sm text-muted-foreground py-1', base.className), children: display_text }) }));
});
HazoCollabFormStaticText.displayName = 'HazoCollabFormStaticText';
//# sourceMappingURL=hazo_collab_form_static_text.js.map