@pdg/react-form 1.0.124 → 1.0.126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PrivateTimeSectionProps as Props } from './PrivateTimeSection.types';
3
+ export declare const PrivateTimeSection: ({ time, width, cols, hours, minutes, seconds, availableDate, minuteInterval, secondInterval, value, hourSelectRef, minuteSelectRef, secondSelectRef, onClose, onChange, }: Props) => React.JSX.Element;
4
+ export default PrivateTimeSection;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { PrivateTimeSelectCommands } from '../PrivateTimeSelect';
3
+ import { Dayjs } from 'dayjs';
4
+ import { FormTimeType } from '../../@types';
5
+ import { PrivateStaticDateTimePickerUnit } from '../PrivateStaticDateTimePicker';
6
+ import { FormAvailableDate } from '../@types';
7
+ export interface PrivateTimeSectionProps {
8
+ time: FormTimeType;
9
+ width: number;
10
+ cols: 1 | 2 | 3;
11
+ availableDate: FormAvailableDate;
12
+ hourSelectRef: React.RefObject<PrivateTimeSelectCommands>;
13
+ minuteSelectRef: React.RefObject<PrivateTimeSelectCommands>;
14
+ secondSelectRef: React.RefObject<PrivateTimeSelectCommands>;
15
+ hours?: number[];
16
+ minutes?: number[];
17
+ seconds?: number[];
18
+ minuteInterval?: number;
19
+ secondInterval?: number;
20
+ value?: Dayjs | null;
21
+ onChange(unit: PrivateStaticDateTimePickerUnit, newValue: Dayjs | null): void;
22
+ onClose?(): void;
23
+ }
@@ -0,0 +1,4 @@
1
+ import PrivateTimeSection from './PrivateTimeSection';
2
+ export default PrivateTimeSection;
3
+ export { PrivateTimeSection };
4
+ export * from './PrivateTimeSection.types';
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { FormButtonProps as Props } from './FormButton.types';
3
- declare const FormButton: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;
4
- export default FormButton;
3
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>>;
4
+ export default _default;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { FormLabelProps as Props } from './FormLabel.types';
3
- declare const FormLabel: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLLabelElement>>;
4
- export default FormLabel;
3
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLLabelElement>>>;
4
+ export default _default;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FormSelectCommands, FormSelectSingleValue } from './FormSelect.types';
3
- import './FormSelect.scss';
4
3
  import { FormTextFieldProps } from '../FormTextField';
4
+ import './FormSelect.scss';
5
5
  declare const FormSelect: (<T extends FormSelectSingleValue, Multiple extends boolean | undefined>(props: Omit<FormTextFieldProps<import("./FormSelect.types").FormSelectValue<T, Multiple>, false>, "type" | "clear"> & {
6
6
  items?: import("./FormSelect.types").FormSelectItems<T> | undefined;
7
7
  multiple?: Multiple | undefined;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { SearchButtonProps as Props } from './SearchButton.types';
3
- declare const SearchButton: React.FC<Props>;
4
- export default SearchButton;
3
+ declare const _default: React.NamedExoticComponent<Props>;
4
+ export default _default;