import { IEventEmitter } from '@breadstone/mosaik-elements'; import { type IInvalidable } from '../../../Behaviors/Invalidable'; import { ISlottable } from '../../../Behaviors/Slottable'; import type { IGroupChangedEventDetail } from '../../../events'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { ICheckBoxGroupElementProps } from './ICheckBoxGroupElementProps'; declare const CheckBoxGroupElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => IInvalidable & import("../../../Behaviors/Invalidable").IInvalidableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Orientable").IOrientableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Valueable").IValueableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Checkbox Group - A container for grouping multiple checkboxes. * * @description * The Checkbox Group component is used to organize and manage a set of checkboxes, allowing users to select multiple options from the group. * It typically contains multiple Checkbox components, each representing an individual option. * Checkbox Groups are commonly used when users need to select multiple items from a list or set of choices. * * @name CheckBoxGroup * @element mosaik-checkbox-group * @category Forms * * @slot - The default slot. * * @cssprop {String} --check-box-group-background-color - The box group background color CSS custom property. * @cssprop {String} --check-box-group-border-color - The box group border color CSS custom property. * @cssprop {String} --check-box-group-border-radius - The box group border radius CSS custom property. * @cssprop {String} --check-box-group-border-style - The box group border style CSS custom property. * @cssprop {String} --check-box-group-border-width - The box group border width CSS custom property. * @cssprop {String} --check-box-group-font-family - The box group font family CSS custom property. * @cssprop {String} --check-box-group-font-letter-spacing - The box group font letter spacing CSS custom property. * @cssprop {String} --check-box-group-font-line-height - The box group font line height CSS custom property. * @cssprop {String} --check-box-group-font-size - The box group font size CSS custom property. * @cssprop {String} --check-box-group-font-text-decoration - The box group font text decoration CSS custom property. * @cssprop {String} --check-box-group-font-text-transform - The box group font text transform CSS custom property. * @cssprop {String} --check-box-group-font-weight - The box group font weight CSS custom property. * @cssprop {String} --check-box-group-foreground-color - The box group foreground color CSS custom property. * @cssprop {String} --check-box-group-gap - The box group gap CSS custom property. * @cssprop {String} --check-box-group-padding-bottom - The box group padding bottom CSS custom property. * @cssprop {String} --check-box-group-padding-left - The box group padding left CSS custom property. * @cssprop {String} --check-box-group-padding-right - The box group padding right CSS custom property. * @cssprop {String} --check-box-group-padding-top - The box group padding top CSS custom property. * @cssprop {String} --check-box-group-shadow - The box group shadow CSS custom property. * @cssprop {String} --check-box-group-shadow-blur - The box group shadow blur CSS custom property. * @cssprop {String} --check-box-group-shadow-color - The box group shadow color CSS custom property. * @cssprop {String} --check-box-group-shadow-offset-x - The box group shadow offset x CSS custom property. * @cssprop {String} --check-box-group-shadow-offset-y - The box group shadow offset y CSS custom property. * @cssprop {String} --check-box-group-shadow-spread - The box group shadow spread CSS custom property. * @cssprop {String} --check-box-group-transition-duration - The box group transition duration CSS custom property. * @cssprop {String} --check-box-group-transition-mode - The box group transition mode CSS custom property. * @cssprop {String} --check-box-group-transition-property - The box group transition property CSS custom property. * @cssprop {String} --check-box-group-translate - The box group translate CSS custom property. * * @fires checkChanged {GroupChangedEvent} - Called when the selection in the group changes. * * @example * Basic checkbox group: * ```html * * * * * * ``` * * @example * Horizontal checkbox group with variant: * ```html * * * * * ``` * * @public */ export declare class CheckBoxGroupElement extends CheckBoxGroupElement_base implements ICheckBoxGroupElementProps, IInvalidable, ISlottable { private readonly _provider; private readonly _checkChanged; private _name; private _required; private _eventSubscriptions; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `name` property. * * @public * @attr */ get name(): string; set name(value: string); /** * Gets or sets the `required` property. * * @public * @attr */ get required(): boolean; set required(value: boolean); /** * Called when the selection in the group changes. * Provides reference to `IGroupChangedEventDetail` as event detail. * * @public * @readonly * @eventProperty */ get checkChanged(): IEventEmitter; /** * Checks all checkboxes in the group. * * @public */ checkAll(): void; /** * Unchecks all checkboxes in the group. * * @public */ uncheckAll(): void; /** * Returns whether a form will validate when it is submitted, without having to submit it. * * @public * @override */ checkValidity(): boolean; /** * @public * @override */ onSlotChanges(): void; /** * Resets the element to its initial state. * * @public */ reset(): void; /** * Emits the `checkChanged` event. * * @protected */ protected onCheckChanged(args: IGroupChangedEventDetail): void; /** * @protected */ protected onValuePropertyChange(_prev?: Array, next?: Array): void; /** * @private */ private onCheckBoxCheckChanged; } /** * @public */ export declare namespace CheckBoxGroupElement { type Props = ICheckBoxGroupElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-checkbox-group': CheckBoxGroupElement; } } export {}; //# sourceMappingURL=CheckBoxGroupElement.d.ts.map