node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
import * as React from 'react';
import { FlexProps } from '../../primitives/Flex';
import { TypographyProps } from '../../primitives/Typography';
interface FieldContextValue {
/**
* @default false
*/
error?: string | boolean;
/**
* @default null
*/
hint?: React.ReactNode;
id?: string;
labelNode?: HTMLLabelElement;
name?: string;
/**
* @default false
*/
required?: boolean;
setLabelNode?: (node: HTMLLabelElement) => void;
}
declare const useField: (consumerName: string) => FieldContextValue;
interface RootProps extends FlexProps, Omit<Partial<FieldContextValue>, 'labelNode' | 'setLabelNode'> {
children: React.ReactNode;
}
declare const Root: React.ForwardRefExoticComponent<Omit<RootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
interface LabelProps extends Omit<TypographyProps<'label'>, 'tag' | 'htmlFor'> {
action?: React.ReactNode;
}
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
disabled?: boolean;
endAction?: React.ReactNode;
/**
* If you're not using this in the FieldProvider
* you can provide the error state manually
*/
hasError?: boolean;
onChange?: React.ChangeEventHandler<HTMLInputElement>;
/**
* @default "M"
*/
size?: 'S' | 'M';
startAction?: React.ReactNode;
}
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
declare const Hint: () => import("react/jsx-runtime").JSX.Element | null;
declare const Error: () => import("react/jsx-runtime").JSX.Element | null;
interface ActionProps extends Omit<FlexProps<'button'>, 'tag' | 'type'> {
label: string;
children: React.ReactNode;
}
declare const Action: React.ForwardRefExoticComponent<Omit<ActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
type Props = RootProps;
export { Root, Label, Input, Hint, Error, Action, useField };
export type { Props, LabelProps, InputProps, ActionProps };
//# sourceMappingURL=Field.d.ts.map

View File

@@ -0,0 +1 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C,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IACtD;;OAEG;IACH,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,QAAA,MAAM,KAAK,qFA+EV,CAAC;AAsFF,QAAA,MAAM,IAAI,sDAYT,CAAC;AAMF,QAAA,MAAM,KAAK,sDAYV,CAAC;AAMF,UAAU,WAAY,SAAQ,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,MAAM,oGAYV,CAAC;AAOH,KAAK,KAAK,GAAG,SAAS,CAAC;AAEvB,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AAC7D,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC"}

View File

@@ -0,0 +1,3 @@
export * as Field from './Field';
export { useField } from './Field';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Field/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC"}