foxit-component 0.0.1-alpha.9 → 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.
- package/es/Alert/Alert.d.ts +12 -0
- package/es/Alert/Alert.js +24 -0
- package/es/Button/Button.js +1 -1
- package/es/Drawer/Drawer.d.ts +10 -0
- package/es/Drawer/Drawer.js +14 -0
- package/es/Form/Form.d.ts +2 -1
- package/es/Form/Form.js +3 -2
- package/es/Form/Form.types.d.ts +9 -0
- package/es/Form/FormItem.d.ts +2 -1
- package/es/Form/FormItem.js +3 -3
- package/es/Form/FormProvider.js +55 -10
- package/es/Form/useFormWatch.d.ts +3 -0
- package/es/Form/useFormWatch.js +37 -0
- package/es/Menu/Menu.d.ts +2 -0
- package/es/Menu/Menu.js +128 -10
- package/es/Modal/Modal.d.ts +2 -0
- package/es/Modal/Modal.js +19 -32
- package/es/Pagination/Pagination.d.ts +1 -0
- package/es/Pagination/Pagination.js +8 -3
- package/es/Quantity/Quantity.d.ts +10 -0
- package/es/Quantity/Quantity.js +45 -0
- package/es/Select/Select.d.ts +1 -0
- package/es/Select/Select.js +7 -11
- package/es/Spin/Spin.d.ts +10 -0
- package/es/Spin/Spin.js +23 -0
- package/es/Table/Table.d.ts +2 -1
- package/es/Table/Table.js +12 -2
- package/es/Tabs/Tabs.d.ts +2 -0
- package/es/Tabs/Tabs.js +26 -4
- package/es/Tag/Tag.d.ts +1 -1
- package/es/Tooltip/Tooltip.d.ts +2 -0
- package/es/Tooltip/Tooltip.js +56 -18
- package/es/constants/icons.d.ts +15 -0
- package/es/constants/icons.js +16 -1
- package/es/index.css +1 -1
- package/es/index.d.ts +6 -2
- package/es/index.js +5 -0
- package/package.json +3 -3
package/es/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Checkbox from './Checkbox/Checkbox';
|
|
2
2
|
import Empty from './Empty/Empty';
|
|
3
|
-
import Form, { FormItem } from './Form/Form';
|
|
3
|
+
import Form, { FormItem, useFormWatch } from './Form/Form';
|
|
4
4
|
import Input, { SearchInput, PasswordInput } from './Input/Input';
|
|
5
5
|
import Pagination from './Pagination/Pagination';
|
|
6
6
|
import Radio from './Radio/Radio';
|
|
@@ -14,7 +14,7 @@ import Tooltip from './Tooltip/Tooltip';
|
|
|
14
14
|
export { Button } from './Button/Button';
|
|
15
15
|
export { Checkbox };
|
|
16
16
|
export { Empty };
|
|
17
|
-
export { Form, FormItem };
|
|
17
|
+
export { Form, FormItem, useFormWatch };
|
|
18
18
|
export type { FormRefInstance } from './Form/Form.types';
|
|
19
19
|
export { Icon } from './Icon/index';
|
|
20
20
|
export { Input, SearchInput, PasswordInput };
|
|
@@ -31,3 +31,7 @@ export { Tag };
|
|
|
31
31
|
export { Toast };
|
|
32
32
|
export { Tooltip };
|
|
33
33
|
export { Switch } from './Switch/Switch';
|
|
34
|
+
export { Spin } from './Spin/Spin';
|
|
35
|
+
export { Alert } from './Alert/Alert';
|
|
36
|
+
export { Quantity } from './Quantity/Quantity';
|
|
37
|
+
export { Drawer } from './Drawer/Drawer';
|
package/es/index.js
CHANGED
|
@@ -15,4 +15,9 @@ export { Icon } from './Icon/index.js';
|
|
|
15
15
|
export { Menu, getItem } from './Menu/Menu.js';
|
|
16
16
|
export { Modal } from './Modal/Modal.js';
|
|
17
17
|
export { Switch } from './Switch/Switch.js';
|
|
18
|
+
export { Spin } from './Spin/Spin.js';
|
|
19
|
+
export { Alert } from './Alert/Alert.js';
|
|
20
|
+
export { Quantity } from './Quantity/Quantity.js';
|
|
21
|
+
export { Drawer } from './Drawer/Drawer.js';
|
|
18
22
|
export { default as FormItem } from './Form/FormItem.js';
|
|
23
|
+
export { useFormWatch } from './Form/useFormWatch.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foxit-component",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "linye",
|
|
6
6
|
"email": "869675630@qq.com"
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
45
45
|
"react-scripts": "5.0.1",
|
|
46
46
|
"react-select": "^5.10.0",
|
|
47
|
+
"react-transition-group": "^4.4.5",
|
|
47
48
|
"typescript": "^4.9.5",
|
|
48
|
-
"web-vitals": "^2.1.4"
|
|
49
|
-
"react-transition-group": "^4.4.5"
|
|
49
|
+
"web-vitals": "^2.1.4"
|
|
50
50
|
},
|
|
51
51
|
"eslintConfig": {
|
|
52
52
|
"extends": [
|