export type IcFocusableComponents = HTMLIcBreadcrumbElement | HTMLIcButtonElement | HTMLIcCardVerticalElement | HTMLIcCheckboxElement | HTMLIcChipElement | HTMLIcLinkElement | HTMLIcNavigationButtonElement | HTMLIcNavigationGroupElement | HTMLIcNavigationItemElement | HTMLIcRadioOptionElement | HTMLIcSearchBarElement | HTMLIcSelectElement | HTMLIcSwitchElement | HTMLIcTabElement | HTMLIcTextFieldElement;
export type IcStatusVariants = "neutral" | "info" | "warning" | "error" | "success";
export declare enum IcInformationStatus {
Warning = "warning",
Error = "error",
Success = "success"
}
export type IcSizes = "medium" | "large" | "small";
export type IcSizesNoLarge = "medium" | "small";
export type IcInformationStatusOrEmpty = "warning" | "error" | "success" | "";
export type IcNavType = "side" | "top" | "page-header";
export type IcAutocompleteTypes = "on" | "off" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
export type IcAlignment = "left" | "center" | "full-width";
export declare enum IcBrandForegroundEnum {
Default = "default",
Dark = "dark",
Light = "light"
}
export type IcThemeMode = "dark" | "light" | "inherit";
export type IcBrandForeground = "default" | "dark" | "light";
export type IcBrandForegroundNoDefault = "dark" | "light";
export type IcBrand = {
mode: IcBrandForeground;
color: IcColorRGB;
};
export type IcAdditionalFieldTypes = "static" | "dynamic";
export type IcColorRGB = {
r: number;
g: number;
b: number;
};
export type IcColorRGBA = IcColorRGB & {
a: number;
};
export type IcActivationTypes = "automatic" | "manual";
export type IcAutocorrectStates = "on" | "off";
export type IcNavParentDetails = {
navType: IcNavType | "";
parent: HTMLElement | null;
};
export type IcTypographyVariants = "h1" | "h2" | "h3" | "h4" | "subtitle-large" | "subtitle-small" | "body" | "label" | "label-uppercase" | "caption" | "caption-uppercase" | "code-large" | "code-small" | "code-extra-small" | "badge" | "badge-small";
/**
* @interface IcMenuOption
* @field {string} A label field to options. Defaults to "label", but can have any custom name.
* @field {string} A value field to options. Defaults to "value", but can have any custom name.
*/
export interface IcMenuOption {
description?: string;
disabled?: boolean;
recommended?: boolean;
children?: IcMenuOption[];
loading?: boolean;
timedOut?: boolean;
[key: string]: any;
element?: {
component: any;
ariaLabel: string;
};
icon?: any;
}
export type IcSearchMatchPositions = "start" | "anywhere";
export type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;
export type IcRequiredPropsTypes = string | boolean | number | HTMLElement | IcMenuOption[] | undefined;
export type IcPropObject = {
prop: IcRequiredPropsTypes;
propName: string;
};
export type IcRelatedTarget = EventTarget | undefined;
export type IcOrientation = "horizontal" | "vertical";
export type IcEmphasisType = "filled" | "outlined";
export interface IcValueEventDetail {
value: string;
keyPressed?: string;
}
export interface IcMultiValueEventDetail {
value: string | string[] | null;
keyPressed?: string;
}
export interface IcBlurEventDetail {
relatedTarget: IcRelatedTarget | null;
}
export type IcSelectTypes = "single" | "multi";
export type IcSelectMethodTypes = "auto" | "manual";
export type IcDeviceSizes = 0 | 576 | 768 | 992 | 1200;
type RGB = `rgb(${string})`;
type RGBA = `rgba(${string})`;
type HEX = `#${string}`;
export type IcColor = RGB | RGBA | HEX;
export type IcIconPlacementOptions = "left" | "right" | "top";
export type IcButtonTooltipPlacement = "top" | "right" | "bottom" | "left";
export type IcThemeSettings = "dark" | "light" | "system";
export {};