import { PropertyValues } from 'lit';
import { DDSFormElement } from "../../base/index.js";
/**
* The checkbox component is a UI element that allows users to select one or more options from a list of choices.
* It functions similarly to the HTML `` tag, enabling users to toggle the selection of each option independently.
* This component is ideal for cases where multiple selections are allowed or required.
*
* @attr form - The form the component belongs to.
* @attr name - The form name, submitted as a name/value pair when submitting the form.
* @attr value - The initial form value, submitted as a name/value pair when submitting the form.
* @prop {String} formAttr - The form the component belongs to.
* @prop {String} name - The form name, submitted as a name/value pair when submitting the form.
* @prop {String} value - The form value, submitted as a name/value pair when submitting the form.
*
* @fires change - A cloned event of a [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) emitted from the inner `` element.
*
* @slot - A slot for the checkbox label content.
*
* @csspart label - CSS styles applied to the `label` part target the internal `