{"version":3,"file":"Input.types.mjs","sourceRoot":"","sources":["../../../src/components/Input/Input.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { InputPropsShared } from '@metamask/design-system-shared';\nimport type { ComponentPropsWithoutRef } from 'react';\n\nexport type InputProps = Omit<\n  ComponentPropsWithoutRef<'input'>,\n  'defaultValue' | 'disabled' | 'readOnly' | 'value'\n> &\n  InputPropsShared & {\n    /**\n     * Optional prop for additional CSS classes.\n     */\n    className?: string;\n    /**\n     * Optional inline styles.\n     */\n    style?: React.CSSProperties;\n    /**\n     * Dataset attributes forwarded to the native `<input>`.\n     *\n     * JSX already accepts `data-*` on `<Input>`, but object literals such as\n     * `TextField`'s `inputProps` do not. This index signature makes those\n     * literals type-check. Same pattern as `Checkbox` `inputProps`.\n     */\n    [key: `data-${string}`]: string;\n  };\n"]}