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,63 @@
import * as React from 'react';
import { CalendarDate } from '@internationalized/date';
import { FlexProps } from '../../primitives/Flex';
import { Field } from '../Field';
interface DatePickerContextValue {
calendarDate: CalendarDate;
content: DatePickerContentElement | null;
contentId: string;
disabled: boolean;
locale: string;
minDate: CalendarDate;
maxDate: CalendarDate;
open: boolean;
onCalendarDateChange: (date: CalendarDate) => void;
onContentChange: (content: DatePickerContentElement | null) => void;
onOpenChange: (isOpen: boolean) => void;
onTextInputChange: (textInput: DatePickerTextInputElement | null) => void;
onTextValueChange: (textValue: string) => void;
onTriggerChange: (trigger: DatePickerTriggerElement | null) => void;
onValueChange: (value: CalendarDate | undefined) => void;
required: boolean;
textInput: DatePickerTextInputElement | null;
textValue?: string;
timeZone: string;
trigger: DatePickerTriggerElement | null;
value?: CalendarDate;
}
interface DatePickerProps extends Pick<Partial<DatePickerContextValue>, 'disabled' | 'locale'>, Pick<CalendarProps, 'monthSelectLabel' | 'yearSelectLabel'>, Omit<TextInputProps, 'onChange' | 'value' | 'ref' | 'size'> {
calendarLabel?: string;
className?: string;
minDate?: Date;
maxDate?: Date;
/**
* @default Now
*/
initialDate?: Date;
/**
* onChange function, passed from a parent component, it takes the actual date value and it is used inside the different handlers related to the change event for the DatePicker and the TimePicker and also the clear event for the TimePicker
*/
onChange?: (date: Date | undefined) => void;
onClear?: (e: React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLDivElement>) => void;
clearLabel?: string;
/**
* @default
*/
size?: 'S' | 'M';
value?: Date;
}
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
type DatePickerTriggerElement = HTMLDivElement;
type DatePickerTextInputElement = HTMLInputElement;
interface TextInputProps extends React.ComponentPropsWithRef<'input'>, Pick<Field.InputProps, 'hasError'> {
}
type DatePickerContentElement = DatePickerContentImplElement;
type DatePickerContentImplElement = HTMLDivElement;
interface CalendarProps extends FlexProps<'div'> {
monthSelectLabel?: string;
yearSelectLabel?: string;
}
type DatePickerElement = DatePickerTextInputElement;
export { DatePicker };
export type { DatePickerProps, DatePickerElement };
//# sourceMappingURL=DatePicker.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAOL,YAAY,EAMb,MAAM,yBAAyB,CAAC;AAgBjC,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAOvE,OAAO,EAAE,KAAK,EAAY,MAAM,UAAU,CAAC;AAW3C,UAAU,sBAAsB;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,wBAAwB,GAAG,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,YAAY,CAAC;IAItB,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACnD,eAAe,EAAE,CAAC,OAAO,EAAE,wBAAwB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,iBAAiB,EAAE,CAAC,SAAS,EAAE,0BAA0B,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1E,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,eAAe,EAAE,CAAC,OAAO,EAAE,wBAAwB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,GAAG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AAC,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,CAAC;CAAG;AAkS5G,KAAK,wBAAwB,GAAG,4BAA4B,CAAC;AAiC7D,KAAK,4BAA4B,GAAG,cAAc,CAAC;AA8GnD,UAAU,aAAc,SAAQ,SAAS,CAAC,KAAK,CAAC;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAqUD,KAAK,iBAAiB,GAAG,0BAA0B,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC"}

View File

@@ -0,0 +1,3 @@
export { DatePicker } from './DatePicker';
export type { DatePickerProps } from './DatePicker';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}