react-animated-select 0.6.0 → 0.6.6

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/index.d.ts CHANGED
@@ -24,7 +24,7 @@ export interface SelectProps {
24
24
  loading?: boolean
25
25
  error?: boolean
26
26
 
27
- placeholder?: string
27
+ placeholder?: ElementType | string | ReactNode
28
28
  emptyText?: string
29
29
  disabledText?: string
30
30
  loadingText?: string
@@ -39,10 +39,11 @@ export interface SelectProps {
39
39
  optionsClassName?: string
40
40
  style?: CSSProperties
41
41
 
42
- ArrowIcon?: ElementType | string | ReactNode
43
- ClearIcon?: ElementType | string | ReactNode
44
- DelIcon?: ElementType | string | ReactNode
45
- CheckIcon?: ElementType | string | ReactNode
42
+ OpenIcon?: ElementType | string | ReactNode | boolean
43
+ ClearIcon?: ElementType | string | ReactNode | boolean
44
+ DelIcon?: ElementType | string | ReactNode | boolean
45
+ Checkmark?: ElementType | string | ReactNode | boolean
46
+ Checkbox?: ElementType | string | ReactNode | boolean
46
47
 
47
48
  hasMore?: boolean
48
49
  loadMore?: () => void
@@ -55,6 +56,7 @@ export interface SelectProps {
55
56
  childrenFirst?: boolean
56
57
  groupsClosed?: boolean
57
58
  deleteInline?: boolean
59
+ showDelete?: boolean
58
60
  onClose?: () => void
59
61
  onOpen?: () => void
60
62
  }
@@ -64,6 +66,8 @@ export const Select: FC<SelectProps>
64
66
  export interface OptionProps {
65
67
  value?: any
66
68
  id?: any
69
+ label?: any
70
+ name?: any
67
71
  children?: ReactNode
68
72
  disabled?: boolean
69
73
  className?: string
@@ -74,8 +78,11 @@ export const Option: FC<OptionProps>
74
78
  export interface OptGroupProps {
75
79
  value?: any
76
80
  id?: any
81
+ children?: ReactNode
82
+ disabled?: boolean
77
83
  name?: any
78
84
  label?: any
85
+ className?: string
79
86
  }
80
87
 
81
88
  export const OptGroup: FC<OptGroupProps>
package/package.json CHANGED
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "name": "react-animated-select",
3
- "version": "0.6.0",
3
+ "version": "0.6.6",
4
4
  "type": "module",
5
- "author": "l1nway (https://github.com/l1nway/)",
5
+ "author": {
6
+ "name": "l1nway",
7
+ "email": "l1nway@icloud.com",
8
+ "url": "https://github.com/l1nway/"
9
+ },
6
10
  "description": "Animated, accessible, and flexible select component for React",
7
11
  "files": [
8
12
  "dist",
9
13
  "index.d.ts",
10
- "README.md",
11
- "LICENSE"
14
+ "README.md"
12
15
  ],
13
16
  "keywords": [
14
17
  "react",