constants.ts 643 B

123456789101112131415161718192021
  1. import { VALIDATE_STATUS, BASE_CLASS_PREFIX } from '../base/constants';
  2. import { strings as tooltipStrings } from '../tooltip/constants';
  3. const cssClasses = {
  4. PREFIX: `${BASE_CLASS_PREFIX}-select`,
  5. PREFIX_OPTION: `${BASE_CLASS_PREFIX}-select-option`,
  6. PREFIX_GROUP: `${BASE_CLASS_PREFIX}-select-group`,
  7. };
  8. const strings = {
  9. SIZE_SET: ['small', 'large', 'default'],
  10. POSITION_SET: tooltipStrings.POSITION_SET,
  11. MODE_SELECT: 'select',
  12. MODE_AUTOCOMPLETE: 'autoComplete',
  13. // MODE_TAGS: 'tags',
  14. STATUS: VALIDATE_STATUS,
  15. } as const;
  16. const numbers = { LIST_HEIGHT: 300 };
  17. export { cssClasses, strings, numbers };