x-ui-design 0.7.72 → 0.7.74
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/index.d.ts +6 -2
- package/dist/index.d.ts +6 -1
- package/dist/index.esm.js +352 -49
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +354 -48
- package/dist/index.js.map +1 -1
- package/lib/components/Menu/Item/Item.tsx +5 -0
- package/lib/index.ts +28 -4
- package/package.json +1 -1
- package/src/app/page.tsx +5 -4
|
@@ -22,7 +22,10 @@ declare const SkeletonAvatar: import("react").ComponentType<import("./types/skel
|
|
|
22
22
|
declare const SkeletonButton: import("react").ComponentType<import("./types/skeleton").SkeletonButtonProps>;
|
|
23
23
|
declare const SkeletonImage: import("react").ComponentType<import("./types/skeleton").SkeletonImageProps>;
|
|
24
24
|
declare const SkeletonInput: import("react").ComponentType<import("./types/skeleton").SkeletonInputProps>;
|
|
25
|
-
|
|
25
|
+
declare const Menu: import("react").ComponentType<import("@/types/menu").MenuProps>;
|
|
26
|
+
declare const MenuItem: import("react").ComponentType<import("@/types/menu").ItemType>;
|
|
27
|
+
declare const MenuSubMenu: import("react").ComponentType<import("@/types/menu").SubMenuItem>;
|
|
28
|
+
export { Button, Checkbox, Empty, DatePicker, RangePicker, TimePicker, Form, FormItem, Input, Textarea, Radio, RadioButton, RadioGroup, Select, Option, Tag, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, Upload, Switch, Menu, MenuItem, MenuSubMenu };
|
|
26
29
|
export { ClearIcon, ArrowIcon, LoadingIcon, CheckIcon, SearchIcon, CalendarIcon, SuccessIcon, ErrorIcon, DateDistanceIcon, TimeIcon, StampleIcon, TrashIcon, SpinerIcon, } from '@/components/Icons';
|
|
27
30
|
export { useForm } from '@/hooks/useForm';
|
|
28
31
|
export { useWatch } from '@/hooks/useWatch';
|
|
@@ -30,7 +33,8 @@ export type { FormInstance, RuleObject, RuleRender, FieldData, FieldInstancesInp
|
|
|
30
33
|
export type { DefaultProps, TargetProps, RuleTypes, RuleType, MouseEventHandlerSelect, SyntheticBaseEvent } from '@/types';
|
|
31
34
|
export type { CheckboxProps } from '@/types/checkbox';
|
|
32
35
|
export type { InputProps, TextareaProps } from '@/types/input';
|
|
33
|
-
export type { ButtonProps, BaseButtonProps
|
|
36
|
+
export type { ButtonType, ButtonProps, BaseButtonProps } from '@/types/button';
|
|
37
|
+
export type { ItemType, MenuProps, SubMenuItem } from '@/types/menu';
|
|
34
38
|
export type { RadioProps, RadioGroupProps, RadioButtonProps } from '@/types/radio';
|
|
35
39
|
export type { TDatePickerProps, TRangePickerProps, TimePickerProps } from '@/types/datepicker';
|
|
36
40
|
export type { SelectProps, OptionType, OptionProps, CustomTagProps, TagProps, DisplayValueType } from '@/types/select';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as __types_menu from '@/types/menu';
|
|
2
|
+
export { ItemType, MenuProps, SubMenuItem } from '@/types/menu';
|
|
1
3
|
import * as react from 'react';
|
|
2
4
|
import { CSSProperties, ReactNode } from 'react';
|
|
3
5
|
import * as __types_select from '@/types/select';
|
|
@@ -127,5 +129,8 @@ declare const SkeletonAvatar: react.ComponentType<SkeletonAvatarProps>;
|
|
|
127
129
|
declare const SkeletonButton: react.ComponentType<SkeletonButtonProps>;
|
|
128
130
|
declare const SkeletonImage: react.ComponentType<SkeletonImageProps>;
|
|
129
131
|
declare const SkeletonInput: react.ComponentType<SkeletonInputProps>;
|
|
132
|
+
declare const Menu: react.ComponentType<__types_menu.MenuProps>;
|
|
133
|
+
declare const MenuItem: react.ComponentType<__types_menu.ItemType>;
|
|
134
|
+
declare const MenuSubMenu: react.ComponentType<__types_menu.SubMenuItem>;
|
|
130
135
|
|
|
131
|
-
export { Button, Checkbox, DatePicker, Empty, Form, FormItem, Input, Option, Radio, RadioButton, RadioGroup, RangePicker, Select, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, Switch, Tag, Textarea, TimePicker, Upload };
|
|
136
|
+
export { Button, Checkbox, DatePicker, Empty, Form, FormItem, Input, Menu, MenuItem, MenuSubMenu, Option, Radio, RadioButton, RadioGroup, RangePicker, Select, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, Switch, Tag, Textarea, TimePicker, Upload };
|