import { html, LitElement } from 'lit'; import { customElement, property } from 'lit/decorators.js'; import styles from './table.scss'; /** * `kyn-table` Web Component. * * This component provides a generic table structure with a slot to allow customization. * You can use this component to wrap around table rows and cells for a consistent style. * * @slot unnamed - The primary content slot for rows, headers, and cells. */ @customElement('kyn-table') export class Table extends LitElement { static override styles = [styles]; /** Determines if the table layout is fixed (true) or auto (false). */ @property({ type: Boolean }) fixedLayout = false; override render() { return html` `; } } // Define the custom element in the global namespace declare global { interface HTMLElementTagNameMap { 'kyn-table': Table; } }