import { h } from "@stencil/core";
export class DgaListV2 {
    constructor() {
        this.type = 'unordered';
        this.color = 'primary';
        this.title = "";
        this.items = [];
    }
    //   private getListClass() {
    //     return {
    //       'list-item': true,
    //       [`list-item--level-${this.level}`]: true,
    //       [`list-item--${this.type}`]: true
    //     };
    //   }
    //   private renderMarker() {
    //     if (this.type === 'ordered') {
    //       return (
    //         <span class="list-item__marker">
    //           {this.level === 'one' ? this.itemNumber : this.itemLetter}
    //         </span>
    //       );
    //     }
    //     return null;
    //   }
    render() {
        const Tag = this.type === 'ordered' ? 'ol' : 'ul';
        return (h(Tag, { key: '0165826555db7fc494a3710e5382a21eda403410', class: `list list--${this.type} list--${this.color}` }, h("slot", { key: '54ff166f754edf998c6f3fefd3a7460071e41876' })));
    }
    static get is() { return "dga-list-v2"; }
    static get originalStyleUrls() {
        return {
            "$": ["dga-list-v2.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["dga-list-v2.css"]
        };
    }
    static get properties() {
        return {
            "type": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'ordered' | 'unordered' | 'with-icon'",
                    "resolved": "\"ordered\" | \"unordered\" | \"with-icon\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "type",
                "reflect": false,
                "defaultValue": "'unordered'"
            },
            "color": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'primary' | 'neutral' | 'on-color'",
                    "resolved": "\"neutral\" | \"on-color\" | \"primary\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "color",
                "reflect": false,
                "defaultValue": "'primary'"
            },
            "title": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "title",
                "reflect": false,
                "defaultValue": "\"\""
            },
            "items": {
                "type": "unknown",
                "mutable": false,
                "complexType": {
                    "original": "ListItem[]",
                    "resolved": "ListItem[]",
                    "references": {
                        "ListItem": {
                            "location": "local",
                            "path": "/home/mamoud/Documents/temp/components/platform-code-cross-platform-storybook/packages/core/src/components/dga-list/dga-list-v2.tsx",
                            "id": "src/components/dga-list/dga-list-v2.tsx::ListItem"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "defaultValue": "[]"
            }
        };
    }
}
//# sourceMappingURL=dga-list-v2.js.map
