import { h } from "@stencil/core";
/**
 * This component renders information about a file.
 * It is used in the feed item thumbnail card to display file details.
 * If the filename or the "Primary title" is too long, this component
 * will truncate the text with an ellipsis, on the second line.
 * @private
 */
export class FeedItemThumbnailFileInfo {
    render() {
        return h("span", { key: '0205a9ad6caeae2ec0f8380da61b193b16c2cf76' }, this.description);
    }
    static get is() { return "limebb-feed-item-thumbnail-file-info"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["feed-item-thumbnail-file-info.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["feed-item-thumbnail-file-info.css"]
        };
    }
    static get properties() {
        return {
            "description": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "The name of the file, or the \"Primary title\" of the document object."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "description"
            }
        };
    }
}
