import * as i0 from '@angular/core'; import * as i1$1 from '@angular/common'; import * as _daffodil_design_button from '@daffodil/design/button'; import * as i1 from '@daffodil/design'; import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLargeType, DaffDisableable, DaffPrefixDirective, DaffSuffixDirective, DaffDisableableDirective, DaffLoadableDirective } from '@daffodil/design'; /** * The size types that the DaffButtonComponent can implement. */ type DaffButtonSize = DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType; declare class DaffButtonSizableDirective extends DaffSizableDirective { /** * @docs-private */ defaultSize: DaffButtonSize; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DaffButtonBaseDirective implements DaffDisableable { private buttonSizable; private disabledDirective; private loadingDirective; /** * @docs-private */ _prefix: DaffPrefixDirective; /** * @docs-private */ _suffix: DaffSuffixDirective; constructor(buttonSizable: DaffButtonSizableDirective, disabledDirective: DaffDisableableDirective, loadingDirective: DaffLoadableDirective); /** * Sets the tabindex. */ tabindex: i0.InputSignal; /** * The disabled state of the button. */ get disabled(): boolean; /** * @docs-private * * Internal function to access the loading property of the DaffLoadableDirective */ get loading(): boolean; /** * @docs-private * * Internal function to access the size property of the DaffButtonSizableDirective */ get buttonSize(): _daffodil_design_button.DaffButtonSize; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * DaffButtonComponent is a rectangular contained button with background color. * * @example Basic button * ```html * * * *
* Linked button *
*
* ``` */ declare class DaffButtonComponent extends DaffButtonBaseDirective { /** * Whether or not the button displays a shadow. */ elevated: i0.InputSignal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * DaffFlatButtonComponent is a rectangular contained button no background. * * @example Flat button * ```html * * * *
* Linked flat button *
*
* ``` */ declare class DaffFlatButtonComponent extends DaffButtonBaseDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * DaffIconButtonComponent is an icon button used with icon fonts. * * @example Icon button * ```html * * * * * * ``` */ declare class DaffIconButtonComponent extends DaffButtonBaseDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated in favor of the `elevated` property. Deprecated in version 0.82.0. Will be removed in version 1.0.0. * * DaffRaisedButtonComponent is a rectangular contained button with background color and elevation. * * @example Raised button * ```html * * * *
* Linked raised button *
*
* ``` */ declare class DaffRaisedButtonComponent extends DaffButtonBaseDirective { /** * @docs-private */ class: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * DaffStrokedButtonComponent is a rectangular outlined button with no background color. * * @example Stroked button * ```html * * * *
* Linked stroked button *
*
* ``` */ declare class DaffStrokedButtonComponent extends DaffButtonBaseDirective { /** * Whether or not the button displays a shadow. */ elevated: i0.InputSignal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated Deprecated in version 0.92.0. Will be removed in version 1.0.0. * * DaffUnderlineButtonComponent is a borderless button with a custom underline style. * * @example Underline button * ```html * * * *
* Linked underline button *
*
* ``` */ declare class DaffUnderlineButtonComponent extends DaffButtonBaseDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated in favor of {@link DAFF_BUTTON_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0. */ declare class DaffButtonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @docs-private */ declare const DAFF_BUTTON_COMPONENTS: readonly [typeof DaffButtonComponent, typeof DaffFlatButtonComponent, typeof DaffIconButtonComponent, typeof DaffRaisedButtonComponent, typeof DaffStrokedButtonComponent, typeof DaffUnderlineButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private */ declare const DAFF_BASIC_BUTTON_COMPONENTS: readonly [typeof DaffButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private */ declare const DAFF_FLAT_BUTTON_COMPONENTS: readonly [typeof DaffFlatButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private */ declare const DAFF_ICON_BUTTON_COMPONENTS: readonly [typeof DaffIconButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private */ declare const DAFF_STROKED_BUTTON_COMPONENTS: readonly [typeof DaffStrokedButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private * @deprecated Deprecated in version 0.92.0. Will be removed in version 0.95.0. */ declare const DAFF_UNDERLINE_BUTTON_COMPONENTS: readonly [typeof DaffUnderlineButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; export { DAFF_BASIC_BUTTON_COMPONENTS, DAFF_BUTTON_COMPONENTS, DAFF_FLAT_BUTTON_COMPONENTS, DAFF_ICON_BUTTON_COMPONENTS, DAFF_STROKED_BUTTON_COMPONENTS, DAFF_UNDERLINE_BUTTON_COMPONENTS, DaffButtonComponent, DaffButtonModule, DaffButtonSizableDirective, DaffFlatButtonComponent, DaffIconButtonComponent, DaffRaisedButtonComponent, DaffStrokedButtonComponent, DaffUnderlineButtonComponent }; export type { DaffButtonSize };