import type { StartEndOptions } from '../patterns/start-end.js'; import type { ValuesOf } from '../utils/typings.js'; import { FluentDesignSystem } from '../fluent-design-system.js'; import type { Button } from './button.js'; /** * ButtonAppearance constants * @public */ export const ButtonAppearance = { primary: 'primary', outline: 'outline', subtle: 'subtle', transparent: 'transparent', } as const; /** * A Button can be secondary, primary, outline, subtle, transparent * @public */ export type ButtonAppearance = ValuesOf; /** * A Button can be square, circular or rounded. * @public */ export const ButtonShape = { circular: 'circular', rounded: 'rounded', square: 'square', } as const; /** * A Button can be square, circular or rounded * @public */ export type ButtonShape = ValuesOf; /** * A Button can be a size of small, medium or large. * @public */ export const ButtonSize = { small: 'small', medium: 'medium', large: 'large', } as const; /** * A Button can be on of several preset sizes. * @public */ export type ButtonSize = ValuesOf; /** * Button type values. * * @public */ export const ButtonType = { submit: 'submit', reset: 'reset', button: 'button', } as const; /** * Type for button type values. * * @public */ export type ButtonType = ValuesOf; /** * Button configuration options. * @public */ export type ButtonOptions = StartEndOptions