import { BUTTON_EMPHASIS, BUTTON_SIZE, Button } from '../../../button/src';
import { FormField, FormFieldError, FormFieldHelper, FormFieldLabel } from '../../../form-field/src';
import { Input } from '../../src';
export default {
component: Input,
title: 'Tests rendering',
};
export const ClearableDefaultValue = () => (
);
export const ClearableEmpty = () => (
);
export const ClearableValue = () => (
);
export const CustomStyle = () => (
);
// The geometry stories below back the pixel-parity assertions in input.e2e.ts. There is no
// visual regression suite in this repo, so they are the only guard against the in-field
// spacing drifting when the padding moves between the container and the parts.
export const GeometryBare = () => (
);
export const GeometryClearable = () => (
);
export const GeometryLoading = () => (
);
// `className` is the only prop that reaches the container, so it is the only way to constrain
// the field the way real consumers do (PaginationPageSelector sets `width: 45px` this way).
// A `style` prop would land on the instead and the container would simply grow.
export const GeometryConstrained = () => (
<>
>
);
export const Render = () => (
);
export const SlotsAriaDescribedBy = () => (
<>
Consumer description
> ); export const SlotsInForm = () => ( ); export const SlotsInFormField = () => (