pesona-ui 0.1.37 → 0.1.39

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.
package/dist/index.d.ts CHANGED
@@ -276,7 +276,7 @@ export declare const InputDate: default_2.ForwardRefExoticComponent<InputDatePro
276
276
 
277
277
  declare interface InputDateProps extends Omit<default_2.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
278
278
  name: string;
279
- label: string;
279
+ label?: string;
280
280
  message?: string;
281
281
  floatingLabel?: boolean;
282
282
  full?: boolean;
@@ -331,6 +331,19 @@ declare interface InputTextAreaProps extends default_2.TextareaHTMLAttributes<HT
331
331
  error?: string | undefined;
332
332
  }
333
333
 
334
+ export declare const InputTime: default_2.ForwardRefExoticComponent<InputTimeProps & default_2.RefAttributes<HTMLInputElement>>;
335
+
336
+ declare interface InputTimeProps extends Omit<default_2.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
337
+ name: string;
338
+ label?: string;
339
+ message?: string;
340
+ floatingLabel?: boolean;
341
+ format24?: boolean;
342
+ error?: string;
343
+ value?: string;
344
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
345
+ }
346
+
334
347
  export declare const InputWithAction: default_2.ForwardRefExoticComponent<Omit<InputProps_2, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
335
348
 
336
349
  export declare const LinearProgress: default_2.FC<LinearProgressProps>;
@@ -623,6 +636,14 @@ declare interface TabsProps {
623
636
  customHeader?: default_2.ReactNode;
624
637
  }
625
638
 
639
+ export declare const TimePicker: default_2.FC<TimePickerProps>;
640
+
641
+ declare interface TimePickerProps {
642
+ onSelect: (time: string) => void;
643
+ defaultTime?: string;
644
+ format24?: boolean;
645
+ }
646
+
626
647
  export declare const Tooltip: default_2.FC<TooltipProps>;
627
648
 
628
649
  declare type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';