/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
import { COMPONENT_NAME_PREFIX } from '../../constants';
const elementName = `${COMPONENT_NAME_PREFIX}chip`;
const attributes = {
    TYPE: 'type',
    SELECTED: 'selected',
    VALUE: 'value',
    DISABLED: 'disabled',
    INVALID: 'invalid',
    DENSE: 'dense',
    EMULATE_FOCUS: 'emulate-focus'
};
const classes = {
    ACTION: 'forge-chip--action',
    CHOICE: 'forge-chip--choice',
    FILTER: 'forge-chip--filter',
    INPUT: 'forge-chip--input',
    FIELD: 'forge-chip--field',
    INVALID: 'forge-chip--invalid',
    SELECTED: 'forge-chip--selected',
    DELETE_BUTTON: 'forge-chip__delete-button',
    DELETE_BUTTON_TOUCH_TARGET: 'forge-chip__delete-button__touch-target',
    DENSE: 'forge-chip--dense',
    DISABLED: 'forge-chip--disabled',
    LEADING_HIDDEN: 'forge-chip__leading--hidden'
};
const selectors = {
    ROOT: '.forge-chip',
    BUTTON: '[role=button]'
};
const events = {
    DELETE: `${elementName}-delete`,
    SELECT: `${elementName}-select`,
    FOCUS_NEXT: `${elementName}-focus-next`,
    FOCUS_PREVIOUS: `${elementName}-focus-previous`
};
const defaults = {
    TYPE: 'action'
};
export const CHIP_CONSTANTS = {
    elementName,
    attributes,
    classes,
    selectors,
    events,
    defaults
};
