@easyv/react-components 0.0.1 → 0.0.2

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.
@@ -1,4 +1,4 @@
1
- import { DatePickerProps, YearPickerProps, MonthPickerProps, QuarterPickerProps, WeekPickerProps, RangePickerProps } from './interface';
1
+ import type { DatePickerProps, YearPickerProps, MonthPickerProps, QuarterPickerProps, WeekPickerProps, RangePickerProps } from './interface';
2
2
  import './index.less';
3
3
  declare function XDatePicker({ bordered, className, ...restProps }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace XDatePicker {
@@ -1,4 +1,4 @@
1
1
  import './index.less';
2
- import { DividerProps } from './interface';
2
+ import type { DividerProps } from './interface';
3
3
  export default function XDivider({ plain, className, ...restProps }: DividerProps): import("react/jsx-runtime").JSX.Element;
4
4
  export type * from './interface';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Input } from '@arco-design/web-react';
3
- import { InputProps, InputSearchProps, RefInputType } from './interface';
3
+ import type { InputProps, InputSearchProps, RefInputType } from './interface';
4
4
  import './index.less';
5
5
  declare type XInputType = React.ForwardRefExoticComponent<InputProps & React.RefAttributes<RefInputType>> & {
6
6
  Search: typeof InputSearch;
@@ -12,7 +12,6 @@ import React, { forwardRef } from 'react';
12
12
  import { Input } from '@arco-design/web-react';
13
13
  import classNames from 'classnames';
14
14
  import { SearchCircleOutlined } from '@easyv/react-icons';
15
- import { InputProps, InputSearchProps, RefInputType } from "./interface";
16
15
  import "./index.less";
17
16
  import { jsx as _jsx } from "react/jsx-runtime";
18
17
  var XInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -49,5 +48,4 @@ export default XInput;
49
48
  XInput.Search = InputSearch;
50
49
  XInput.TextArea = Input.TextArea;
51
50
  XInput.Password = Input.Password;
52
- XInput.Group = Input.Group;
53
- export { InputProps, InputSearchProps, RefInputType };
51
+ XInput.Group = Input.Group;
@@ -1,4 +1,4 @@
1
1
  import { Layout } from '@arco-design/web-react';
2
2
  import './index.less';
3
3
  export default Layout;
4
- export * from './interface';
4
+ export type * from './interface';
@@ -1,4 +1,3 @@
1
1
  import { Layout } from '@arco-design/web-react';
2
2
  import "./index.less";
3
- export default Layout;
4
- export * from "./interface";
3
+ export default Layout;
@@ -1,4 +1,4 @@
1
- import { RadioProps, RadioGroupProps } from './interface';
1
+ import type { RadioProps, RadioGroupProps } from './interface';
2
2
  import './index.less';
3
3
  declare function XRadio(props: RadioProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace XRadio {
package/dist/index.d.ts CHANGED
@@ -1,133 +1,133 @@
1
1
  import './index.css';
2
2
  export { default as Affix } from './Affix';
3
- export type { AffixProps } from './Affix';
3
+ export type { AffixProps } from './Affix/interface';
4
4
  export { default as Alert } from './Alert';
5
- export type { AlertProps } from './Alert';
5
+ export type { AlertProps } from './Alert/interface';
6
6
  export { default as Anchor } from './Anchor';
7
- export type { AnchorProps } from './Anchor';
7
+ export type { AnchorProps } from './Anchor/interface';
8
8
  export { default as AutoComplete } from './AutoComplete';
9
- export type { AutoCompleteProps } from './AutoComplete';
9
+ export type { AutoCompleteProps } from './AutoComplete/interface';
10
10
  export { default as Avatar } from './Avatar';
11
- export type { AvatarProps } from './Avatar';
11
+ export type { AvatarProps } from './Avatar/interface';
12
12
  export { default as BackTop } from './BackTop';
13
- export type { BackTopProps } from './BackTop';
13
+ export type { BackTopProps } from './BackTop/interface';
14
14
  export { default as Badge } from './Badge';
15
- export type { BadgeProps } from './Badge';
15
+ export type { BadgeProps } from './Badge/interface';
16
16
  export { default as Breadcrumb } from './Breadcrumb';
17
- export type { BreadcrumbProps } from './Breadcrumb';
17
+ export type { BreadcrumbProps } from './Breadcrumb/interface';
18
18
  export { default as Button } from './Button';
19
- export type { ButtonProps, ButtonGroupProps } from './Button';
19
+ export type { ButtonProps, ButtonGroupProps } from './Button/interface';
20
20
  export { default as Calendar } from './Calendar';
21
- export type { CalendarProps } from './Calendar';
21
+ export type { CalendarProps } from './Calendar/interface';
22
22
  export { default as Card } from './Card';
23
- export type { CardProps } from './Card';
23
+ export type { CardProps } from './Card/interface';
24
24
  export { default as Carousel } from './Carousel';
25
- export type { CarouselProps } from './Carousel';
25
+ export type { CarouselProps } from './Carousel/interface';
26
26
  export { default as Cascader } from './Cascader';
27
- export type { CascaderProps } from './Cascader';
27
+ export type { CascaderProps } from './Cascader/interface';
28
28
  export { default as Checkbox } from './Checkbox';
29
- export type { CheckboxProps } from './Checkbox';
29
+ export type { CheckboxProps } from './Checkbox/interface';
30
30
  export { default as Collapse } from './Collapse';
31
- export type { CollapseProps } from './Collapse';
31
+ export type { CollapseProps } from './Collapse/interface';
32
32
  export { default as Comment } from './Comment';
33
- export type { CommentProps } from './Comment';
33
+ export type { CommentProps } from './Comment/interface';
34
34
  export { default as ConfigProvider } from './ConfigProvider';
35
- export type { ConfigProviderProps } from './ConfigProvider';
35
+ export type { ConfigProviderProps } from './ConfigProvider/interface';
36
36
  export { default as DatePicker } from './DatePicker';
37
- export type { DatePickerProps, YearPickerProps, MonthPickerProps, QuarterPickerProps, WeekPickerProps, RangePickerProps, } from './DatePicker';
37
+ export type { DatePickerProps, YearPickerProps, MonthPickerProps, QuarterPickerProps, WeekPickerProps, RangePickerProps, } from './DatePicker/interface';
38
38
  export { default as Descriptions } from './Descriptions';
39
- export type { DescriptionsProps } from './Descriptions';
39
+ export type { DescriptionsProps } from './Descriptions/interface';
40
40
  export { default as Divider } from './Divider';
41
- export type { DividerProps } from './Divider';
41
+ export type { DividerProps } from './Divider/interface';
42
42
  export { default as Drawer } from './Drawer';
43
- export type { DrawerProps } from './Drawer';
43
+ export type { DrawerProps } from './Drawer/interface';
44
44
  export { default as Dropdown } from './Dropdown';
45
- export type { DropdownProps } from './Dropdown';
45
+ export type { DropdownProps } from './Dropdown/interface';
46
46
  export { default as Empty } from './Empty';
47
- export type { EmptyProps } from './Empty';
47
+ export type { EmptyProps } from './Empty/interface';
48
48
  export { default as Form } from './Form';
49
- export type { FormInstance, FormItemProps, FormProps } from './Form';
49
+ export type { FormInstance, FormItemProps, FormProps } from './Form/interface';
50
50
  export { default as Grid } from './Grid';
51
- export type { GridProps } from './Grid';
51
+ export type { GridProps } from './Grid/interface';
52
52
  export { default as Image } from './Image';
53
- export type { ImageProps } from './Image';
53
+ export type { ImageProps } from './Image/interface';
54
54
  export { default as Input } from './Input';
55
- export type { InputProps, InputSearchProps, RefInputType } from './Input';
55
+ export type { InputProps, InputSearchProps, RefInputType, } from './Input/interface';
56
56
  export { default as InputNumber } from './InputNumber';
57
- export type { InputNumberProps } from './InputNumber';
57
+ export type { InputNumberProps } from './InputNumber/interface';
58
58
  export { default as InputTag } from './InputTag';
59
- export type { InputTagProps } from './InputTag';
59
+ export type { InputTagProps } from './InputTag/interface';
60
60
  export { default as Layout } from './Layout';
61
- export type { LayoutProps } from './Layout';
61
+ export type { LayoutProps } from './Layout/interface';
62
62
  export { default as Link } from './Link';
63
- export type { LinkProps } from './Link';
63
+ export type { LinkProps } from './Link/interface';
64
64
  export { default as List } from './List';
65
- export type { ListProps } from './List';
65
+ export type { ListProps } from './List/interface';
66
66
  export { default as Mentions } from './Mentions';
67
- export type { MentionsProps } from './Mentions';
67
+ export type { MentionsProps } from './Mentions/interface';
68
68
  export { default as Menu } from './Menu';
69
- export type { MenuProps } from './Menu';
69
+ export type { MenuProps } from './Menu/interface';
70
70
  export { default as Notification } from './Notification';
71
- export type { NotificationProps } from './Notification';
71
+ export type { NotificationProps } from './Notification/interface';
72
72
  export { default as PageHeader } from './PageHeader';
73
- export type { PageHeaderProps } from './PageHeader';
73
+ export type { PageHeaderProps } from './PageHeader/interface';
74
74
  export { default as Pagination } from './Pagination';
75
- export type { PaginationProps } from './Pagination';
75
+ export type { PaginationProps } from './Pagination/interface';
76
76
  export { default as Popconfirm } from './Popconfirm';
77
- export type { PopconfirmProps } from './Popconfirm';
77
+ export type { PopconfirmProps } from './Popconfirm/interface';
78
78
  export { default as Popover } from './Popover';
79
- export type { PopoverProps } from './Popover';
79
+ export type { PopoverProps } from './Popover/interface';
80
80
  export { default as Progress } from './Progress';
81
- export type { ProgressProps } from './Progress';
81
+ export type { ProgressProps } from './Progress/interface';
82
82
  export { default as Rate } from './Rate';
83
- export type { RateProps } from './Rate';
83
+ export type { RateProps } from './Rate/interface';
84
84
  export { default as ResizeBox } from './ResizeBox';
85
- export type { ResizeBoxProps } from './ResizeBox';
85
+ export type { ResizeBoxProps } from './ResizeBox/interface';
86
86
  export { default as Result } from './Result';
87
- export type { ResultProps } from './Result';
87
+ export type { ResultProps } from './Result/interface';
88
88
  export { default as Skeleton } from './Skeleton';
89
- export type { SkeletonProps } from './Skeleton';
89
+ export type { SkeletonProps } from './Skeleton/interface';
90
90
  export { default as Slider } from './Slider';
91
- export type { SliderProps } from './Slider';
91
+ export type { SliderProps } from './Slider/interface';
92
92
  export { default as Spin } from './Spin';
93
- export type { SpinProps } from './Spin';
93
+ export type { SpinProps } from './Spin/interface';
94
94
  export { default as Statistic } from './Statistic';
95
- export type { StatisticProps } from './Statistic';
95
+ export type { StatisticProps } from './Statistic/interface';
96
96
  export { default as Steps } from './Steps';
97
- export type { StepsProps } from './Steps';
97
+ export type { StepsProps } from './Steps/interface';
98
98
  export { default as Switch } from './Switch';
99
- export type { SwitchProps } from './Switch';
99
+ export type { SwitchProps } from './Switch/interface';
100
100
  export { default as Table } from './Table';
101
- export type { TableProps, TableColumnProps } from './Table';
101
+ export type { TableProps, TableColumnProps } from './Table/interface';
102
102
  export { default as Tabs } from './Tabs';
103
- export type { TabsProps } from './Tabs';
103
+ export type { TabsProps } from './Tabs/interface';
104
104
  export { default as Timeline } from './Timeline';
105
- export type { TimelineProps } from './Timeline';
105
+ export type { TimelineProps } from './Timeline/interface';
106
106
  export { default as TimePicker } from './TimePicker';
107
- export type { TimePickerProps } from './TimePicker';
107
+ export type { TimePickerProps } from './TimePicker/interface';
108
108
  export { default as Tooltip } from './Tooltip';
109
- export type { TooltipProps } from './Tooltip';
109
+ export type { TooltipProps } from './Tooltip/interface';
110
110
  export { default as Transfer } from './Transfer';
111
- export type { TransferProps } from './Transfer';
111
+ export type { TransferProps } from './Transfer/interface';
112
112
  export { default as Tree } from './Tree';
113
- export type { TreeProps } from './Tree';
113
+ export type { TreeProps } from './Tree/interface';
114
114
  export { default as TreeSelect } from './TreeSelect';
115
- export type { TreeSelectProps } from './TreeSelect';
115
+ export type { TreeSelectProps } from './TreeSelect/interface';
116
116
  export { default as Trigger } from './Trigger';
117
- export type { TriggerProps } from './Trigger';
117
+ export type { TriggerProps } from './Trigger/interface';
118
118
  export { default as Typography } from './Typography';
119
- export type { TypographyProps } from './Typography';
119
+ export type { TypographyProps } from './Typography/interface';
120
120
  export { default as Upload } from './Upload';
121
- export type { UploadProps, UploadInstance } from './Upload';
121
+ export type { UploadProps, UploadInstance } from './Upload/interface';
122
122
  export { default as Message, default as message } from './Message';
123
- export type { MessageProps } from './Message';
123
+ export type { MessageProps } from './Message/interface';
124
124
  export { default as Modal } from './Modal';
125
- export type { ModalProps } from './Modal';
125
+ export type { ModalProps } from './Modal/interface';
126
126
  export { default as Radio } from './Radio';
127
- export type { RadioProps } from './Radio';
127
+ export type { RadioProps } from './Radio/interface';
128
128
  export { default as Select } from './Select';
129
- export type { SelectProps, SelectOptionProps, SelectOptionGroupProps, SelectHandle, } from './Select';
129
+ export type { SelectProps, SelectOptionProps, SelectOptionGroupProps, SelectHandle, } from './Select/interface';
130
130
  export { default as Space } from './Space';
131
- export type { SpaceProps } from './Space';
131
+ export type { SpaceProps } from './Space/interface';
132
132
  export { default as Tag } from './Tag';
133
- export type { TagProps } from './Tag';
133
+ export type { TagProps } from './Tag/interface';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/react-components",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "a react component library base on arco design",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",