import { html } from 'lit'; import { property } from 'lit/decorators.js'; import { BootstrapElement, defineElement } from '@bootstrap-wc/core'; export type ListGroupHorizontalBreakpoint = '' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; /** * `` — container for `` children. Host * carries `.list-group` so Bootstrap's `.list-group > .list-group-item` * selectors match the flattened slot tree. * * The `horizontal` attribute may be set as a boolean (stacks items * horizontally at every breakpoint, producing `.list-group-horizontal`) or * to a Bootstrap breakpoint value (`sm` / `md` / `lg` / `xl` / `xxl`) to * stack horizontally only above that breakpoint. */ export class BsListGroup extends BootstrapElement { @property({ type: Boolean }) flush = false; @property({ type: Boolean }) numbered = false; @property({ type: String }) horizontal?: ListGroupHorizontalBreakpoint | boolean; /** * Underlying list semantics. `"ul"` (default) keeps the existing * `