/** * — a SELECT-like multi-choice control with tri-state items. * * At rest it shows the checked and indeterminate items as a flow of display-only * `ixfx-checkbox`. Opening it shows a scrollable, resizable popup of every item * (checked first, sorted once at open time). Edits are made to a draft: * Enter (or clicking the resting area again) commits, Escape or clicking outside * cancels. * * Properties * items – CheckedSelectItem[] ({ value, label, checked: 'true'|'false'|'indeterminate' }) * multiline – let the resting flow wrap (default: false) * items-inert – resting checkboxes are display-only; clicking them opens the popup * orientation – 'horizontal' (default) flows items in a row; 'vertical' stacks one per row * (vertical ignores multiline; text mode then lists one entry per line, no commas) * item-display – 'checkbox' (default) or 'text' (comma-separated labels, then '(varies)' if any are indeterminate) * placeholder – shown when nothing is checked * disabled – prevents opening * * Events * change – CustomEvent { detail: { items, changed } }, bubbles + composed. * Fired once per commit, and only if something changed. * * CSS Variables * --checked-select-gap – gap between resting checkboxes * --checked-select-padding – padding of the resting area * --checked-select-caret-width – width of the always-visible caret (default: 2rem) * --checked-select-rest-max-height – resting height before it scrolls when multiline (default: 8rem) * --checked-select-max-height – popup height before it scrolls (default: 16rem) * --checked-select-min-width – minimum popup width when resized (default: 8rem) * --checked-select-min-height – minimum popup height when resized (default: 5rem) */ import { a as CheckState, c as ItemOrientation, i as CheckedSelectEventMap, n as CheckedSelectChangeDetail, o as CheckedSelectItem, r as CheckedSelectChangeEvent, s as ItemDisplay, t as CheckedSelect } from "./checked-select-CNv5zNvR.js"; export { type CheckState, CheckedSelect, CheckedSelectChangeDetail, CheckedSelectChangeEvent, CheckedSelectEventMap, type CheckedSelectItem, type ItemDisplay, type ItemOrientation };