Design system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
548 B

  1. export const AVAILABLE_SIZES = ['small', 'medium', 'large'] as const;
  2. export type Size = typeof AVAILABLE_SIZES[number];
  3. export const AVAILABLE_VARIANTS = ['default', 'alternate'] as const;
  4. export type Variant = typeof AVAILABLE_VARIANTS[number];
  5. export const AVAILABLE_INPUT_TYPES = ['text', 'search'] as const;
  6. export type InputType = typeof AVAILABLE_INPUT_TYPES[number];
  7. export const AVAILABLE_INPUT_MODES = ['none', 'numeric', 'decimal', ...AVAILABLE_INPUT_TYPES] as const;
  8. export type InputMode = typeof AVAILABLE_INPUT_MODES[number];