x-ui-design 0.1.70 → 0.1.72
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/esm/types/components/Form/Item/Item.d.ts +7 -0
- package/dist/esm/types/components/Form/Item/index.d.ts +1 -7
- package/dist/esm/types/components/Icons/index.d.ts +1 -0
- package/dist/esm/types/components/Input/Input.d.ts +1 -1
- package/dist/esm/types/index.d.ts +25 -0
- package/dist/index.d.ts +656 -2
- package/dist/index.esm.js +2962 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2994 -5
- package/dist/index.js.map +1 -1
- package/lib/components/DatePicker/DatePicker.tsx +1 -1
- package/lib/components/DatePicker/RangePicker/RangePicker.tsx +1 -1
- package/lib/components/DatePicker/TimePicker/TimePicker.tsx +1 -1
- package/lib/components/Form/Form.tsx +1 -1
- package/lib/components/Form/Item/index.ts +1 -0
- package/lib/components/Icons/index.ts +15 -0
- package/lib/components/Input/Input.tsx +1 -1
- package/lib/components/Select/Select.tsx +1 -1
- package/lib/components/Upload/Upload.tsx +1 -1
- package/lib/index.ts +54 -0
- package/package.json +1 -1
- /package/dist/esm/types/components/{icons/index.d.ts → Icons/Icons.d.ts} +0 -0
- /package/lib/components/Form/Item/{index.tsx → Item.tsx} +0 -0
- /package/lib/components/{icons/index.tsx → Icons/Icons.tsx} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormItemProps } from '../../../types/form';
|
|
2
|
+
import './style.css';
|
|
3
|
+
declare const FormItem: {
|
|
4
|
+
({ prefixCls, name, label, rules, children, className, layout, style, valuePropName, dependencies, initialValue, feedbackIcons, ...props }: FormItemProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default FormItem;
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import './style.css';
|
|
3
|
-
declare const FormItem: {
|
|
4
|
-
({ prefixCls, name, label, rules, children, className, layout, style, valuePropName, dependencies, initialValue, feedbackIcons, ...props }: FormItemProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
7
|
-
export default FormItem;
|
|
1
|
+
export { default as Item } from './Item';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ClearIcon, ArrowIcon, LoadingIcon, CheckIcon, SearchIcon, CalendarIcon, SuccessIcon, ErrorIcon, DateDistanceIcon, TimeIcon, StampleIcon, TrashIcon, SpinerIcon } from './Icons';
|
|
@@ -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>, "
|
|
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;
|
|
@@ -1,2 +1,27 @@
|
|
|
1
1
|
import './styles/global.css';
|
|
2
|
+
export { default as Form } from "./components/Form/Form";
|
|
3
|
+
export { default as FormItem } from "./components/Form/Item/Item";
|
|
4
|
+
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
5
|
+
export { default as TimePicker } from "./components/DatePicker/TimePicker/TimePicker";
|
|
6
|
+
export { default as RangePicker } from "./components/DatePicker/RangePicker/RangePicker";
|
|
7
|
+
export { default as Input } from "./components/Input/Input";
|
|
8
|
+
export { default as Textarea } from "./components/Input/Textarea/Textarea";
|
|
9
|
+
export { default as Radio } from "./components/Radio/Radio";
|
|
10
|
+
export { default as RadioGroup } from "./components/Radio/Group/Group";
|
|
11
|
+
export { default as RadioButton } from "./components/Radio/Button/Button";
|
|
12
|
+
export { default as Select } from "./components/Select/Select";
|
|
13
|
+
export { default as Tag } from "./components/Select/Tag/Tag";
|
|
14
|
+
export { default as Option } from "./components/Select/Option/Option";
|
|
15
|
+
export { default as Skeleton } from "./components/Skeleton/Skeleton";
|
|
16
|
+
export { default as SkeletonImage } from "./components/Skeleton/Image/Image";
|
|
17
|
+
export { default as SkeletonInput } from "./components/Skeleton/Input/Input";
|
|
18
|
+
export { default as SkeletonAvatar } from "./components/Skeleton/Avatar/Avatar";
|
|
19
|
+
export { default as SkeletonButton } from "./components/Skeleton/Button/Button";
|
|
20
|
+
export { default as Empty } from "./components/Empty/Empty";
|
|
2
21
|
export { default as Button } from "./components/Button/Button";
|
|
22
|
+
export { default as Upload } from "./components/Upload/Upload";
|
|
23
|
+
export { default as Checkbox } from "./components/Checkbox/Checkbox";
|
|
24
|
+
export { ClearIcon, ArrowIcon, LoadingIcon, CheckIcon, SearchIcon, CalendarIcon, SuccessIcon, ErrorIcon, DateDistanceIcon, TimeIcon, StampleIcon, TrashIcon, SpinerIcon } from './components/Icons/Icons';
|
|
25
|
+
import { useForm } from './hooks/useForm';
|
|
26
|
+
import { useWatch } from './hooks/useWatch';
|
|
27
|
+
export { useForm, useWatch };
|