x-ui-design 0.2.59 → 0.2.60

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.
@@ -2,7 +2,7 @@ import { KeyboardEvent } from 'react';
2
2
  import { SyntheticBaseEvent } from '../../types';
3
3
  import './style.css';
4
4
  import Textarea from './Textarea/Textarea';
5
- declare const InputComponent: import("react").ForwardRefExoticComponent<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "prefix" | "size"> & import("../../types").DefaultProps & {
5
+ declare const InputComponent: import("react").ForwardRefExoticComponent<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "prefix"> & import("../../types").DefaultProps & {
6
6
  addonBefore?: import("react").ReactNode;
7
7
  addonAfter?: import("react").ReactNode;
8
8
  size?: import("../../types").SizeType;
@@ -27,7 +27,7 @@ declare const RangePicker: import("react").ComponentType<import("./types/datepic
27
27
  declare const TimePicker: import("react").ComponentType<import("./types/datepicker").TimePickerProps>;
28
28
  declare const Form: import("react").ComponentType<import("./types/form").FormProps>;
29
29
  declare const FormItem: import("react").ComponentType<import("./types/form").FormItemProps>;
30
- declare const Input: import("react").ComponentType<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "prefix" | "size"> & import("./types").DefaultProps & {
30
+ declare const Input: import("react").ComponentType<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "prefix"> & import("./types").DefaultProps & {
31
31
  addonBefore?: import("react").ReactNode;
32
32
  addonAfter?: import("react").ReactNode;
33
33
  size?: import("./types").SizeType;
@@ -151,5 +151,7 @@ declare const SkeletonAvatar: import("react").ComponentType<import("./types/skel
151
151
  declare const SkeletonButton: import("react").ComponentType<import("./types/skeleton").SkeletonButtonProps>;
152
152
  declare const SkeletonImage: import("react").ComponentType<import("./types/skeleton").SkeletonImageProps>;
153
153
  declare const SkeletonInput: import("react").ComponentType<import("./types/skeleton").SkeletonInputProps>;
154
- export { ClearIcon, ArrowIcon, LoadingIcon, CheckIcon, SearchIcon, CalendarIcon, SuccessIcon, ErrorIcon, DateDistanceIcon, TimeIcon, StampleIcon, TrashIcon, SpinerIcon } from '@/components/Icons';
155
154
  export { Button, Checkbox, Empty, DatePicker, RangePicker, TimePicker, Form, FormItem, Input, Textarea, Radio, RadioButton, RadioGroup, Select, Option, Tag, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, Upload };
155
+ export { ClearIcon, ArrowIcon, LoadingIcon, CheckIcon, SearchIcon, CalendarIcon, SuccessIcon, ErrorIcon, DateDistanceIcon, TimeIcon, StampleIcon, TrashIcon, SpinerIcon } from '@/components/Icons';
156
+ export { useForm } from '@/hooks/useForm';
157
+ export { useWatch } from '@/hooks/useWatch';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as react from 'react';
2
2
  import { CSSProperties, ReactNode, MouseEventHandler, MouseEvent, ReactEventHandler, Key, FocusEventHandler, KeyboardEventHandler, FC, ComponentClass, FormEvent, ReactElement, FocusEvent, ButtonHTMLAttributes } from 'react';
3
3
  export { ArrowIcon, CalendarIcon, CheckIcon, ClearIcon, DateDistanceIcon, ErrorIcon, LoadingIcon, SearchIcon, SpinerIcon, StampleIcon, SuccessIcon, TimeIcon, TrashIcon } from '@/components/Icons';
4
+ export { useForm } from '@/hooks/useForm';
5
+ export { useWatch } from '@/hooks/useWatch';
4
6
 
5
7
  type RuleType = any;
6
8
  type RuleTypes = RuleType | RuleType[];
@@ -506,7 +508,7 @@ declare const RangePicker: react.ComponentType<TRangePickerProps>;
506
508
  declare const TimePicker: react.ComponentType<TimePickerProps>;
507
509
  declare const Form: react.ComponentType<FormProps>;
508
510
  declare const FormItem: react.ComponentType<FormItemProps>;
509
- declare const Input: react.ComponentType<Omit<react.InputHTMLAttributes<HTMLInputElement>, "prefix" | "size"> & DefaultProps & {
511
+ declare const Input: react.ComponentType<Omit<react.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix"> & DefaultProps & {
510
512
  addonBefore?: react.ReactNode;
511
513
  addonAfter?: react.ReactNode;
512
514
  size?: SizeType$1;