@synerise/ds-autocomplete 1.2.16 → 1.2.18
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/CHANGELOG.md +6 -79
- package/README.md +5 -7
- package/dist/Autocomplete.d.ts +4 -4
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,169 +3,96 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [1.2.
|
|
6
|
+
## [1.2.18](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.17...@synerise/ds-autocomplete@1.2.18) (2025-12-16)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
9
9
|
|
|
10
|
+
## [1.2.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.16...@synerise/ds-autocomplete@1.2.17) (2025-12-15)
|
|
10
11
|
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
11
13
|
|
|
14
|
+
## [1.2.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.15...@synerise/ds-autocomplete@1.2.16) (2025-11-28)
|
|
12
15
|
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
13
17
|
|
|
14
18
|
## [1.2.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.14...@synerise/ds-autocomplete@1.2.15) (2025-11-06)
|
|
15
19
|
|
|
16
20
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
17
21
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
22
|
## [1.2.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.13...@synerise/ds-autocomplete@1.2.14) (2025-10-31)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
26
|
## [1.2.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.12...@synerise/ds-autocomplete@1.2.13) (2025-10-22)
|
|
31
27
|
|
|
32
28
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
33
29
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
30
|
## [1.2.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.11...@synerise/ds-autocomplete@1.2.12) (2025-10-10)
|
|
39
31
|
|
|
40
32
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
41
33
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
34
|
## [1.2.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.10...@synerise/ds-autocomplete@1.2.11) (2025-10-03)
|
|
47
35
|
|
|
48
36
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
49
37
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
38
|
## [1.2.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.9...@synerise/ds-autocomplete@1.2.10) (2025-09-25)
|
|
55
39
|
|
|
56
40
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
57
41
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
42
|
## [1.2.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.8...@synerise/ds-autocomplete@1.2.9) (2025-09-23)
|
|
63
43
|
|
|
64
44
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
65
45
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
46
|
## [1.2.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.7...@synerise/ds-autocomplete@1.2.8) (2025-09-19)
|
|
71
47
|
|
|
72
48
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
73
49
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
50
|
## [1.2.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.6...@synerise/ds-autocomplete@1.2.7) (2025-09-16)
|
|
79
51
|
|
|
80
52
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
81
53
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
54
|
## [1.2.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.5...@synerise/ds-autocomplete@1.2.6) (2025-08-28)
|
|
87
55
|
|
|
88
56
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
89
57
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
58
|
## [1.2.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.4...@synerise/ds-autocomplete@1.2.5) (2025-08-14)
|
|
95
59
|
|
|
96
60
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
97
61
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
62
|
## [1.2.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.3...@synerise/ds-autocomplete@1.2.4) (2025-07-24)
|
|
103
63
|
|
|
104
64
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
105
65
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
66
|
## [1.2.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.2...@synerise/ds-autocomplete@1.2.3) (2025-07-17)
|
|
111
67
|
|
|
112
68
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
113
69
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
70
|
## [1.2.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.1...@synerise/ds-autocomplete@1.2.2) (2025-07-15)
|
|
119
71
|
|
|
120
72
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
121
73
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
74
|
## [1.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.0...@synerise/ds-autocomplete@1.2.1) (2025-07-08)
|
|
127
75
|
|
|
128
76
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
129
77
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
78
|
# [1.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.1.9...@synerise/ds-autocomplete@1.2.0) (2025-07-04)
|
|
135
79
|
|
|
136
|
-
|
|
137
80
|
### Features
|
|
138
81
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
82
|
+
- **factors:** pass component props ([81f40dd](https://github.com/Synerise/synerise-design/commit/81f40dd18b3e7d88828d5e418efc94b1cb9eda91))
|
|
144
83
|
|
|
145
84
|
## [1.1.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.1.8...@synerise/ds-autocomplete@1.1.9) (2025-07-01)
|
|
146
85
|
|
|
147
86
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
148
87
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
88
|
## [1.1.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.1.7...@synerise/ds-autocomplete@1.1.8) (2025-06-26)
|
|
154
89
|
|
|
155
90
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
156
91
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
92
|
## [1.1.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.1.6...@synerise/ds-autocomplete@1.1.7) (2025-06-24)
|
|
162
93
|
|
|
163
94
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
164
95
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
96
|
## [1.1.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.1.5...@synerise/ds-autocomplete@1.1.6) (2025-06-12)
|
|
170
97
|
|
|
171
98
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ import Autocomplete from '@synerise/ds-autocomplete'
|
|
|
29
29
|
## API
|
|
30
30
|
|
|
31
31
|
| Property | Description | Type | Default |
|
|
32
|
-
|
|
32
|
+
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
|
|
33
33
|
| allowClear | Show clear button, effective in multiple mode only. | boolean | `false` |
|
|
34
34
|
| autoFocus | get focus when component mounted | boolean | `false` |
|
|
35
35
|
| backfill | backfill selected item the input when using keyboard | boolean | `false` |
|
|
@@ -42,10 +42,10 @@ import Autocomplete from '@synerise/ds-autocomplete'
|
|
|
42
42
|
| disabled | Whether disabled select | boolean | - |
|
|
43
43
|
| readonly | Whether disabled select with readonly styles applied | boolean | - |
|
|
44
44
|
| filterOption | If true, filter options by input, if function, filter options against it. The function will receive two arguments, inputValue and option, if the function returns true, the option will be included in the filtered set; Otherwise, it will be excluded. | boolean or function(inputValue, option) | `true` |
|
|
45
|
-
| icon1 | Renders an icon at the right end of the input | ReactNode | `-`
|
|
46
|
-
| icon2 | Renders an icon at the right end of the input | ReactNode | `-`
|
|
47
|
-
| icon1Tooltip | Tooltip content for icon1 | ReactNode | `-`
|
|
48
|
-
| icon2Tooltip | Tooltip content for icon2 | ReactNode | `-`
|
|
45
|
+
| icon1 | Renders an icon at the right end of the input | ReactNode | `-` |
|
|
46
|
+
| icon2 | Renders an icon at the right end of the input | ReactNode | `-` |
|
|
47
|
+
| icon1Tooltip | Tooltip content for icon1 | ReactNode | `-` |
|
|
48
|
+
| icon2Tooltip | Tooltip content for icon2 | ReactNode | `-` |
|
|
49
49
|
| optionLabelProp | Which prop value of option will render as content of select. | string | children |
|
|
50
50
|
| placeholder | placeholder of input | string | - |
|
|
51
51
|
| value | selected option | string or string[] or { key: string, label: string or ReactNode } or Array<{ key: string, label: string or ReactNode }> | - |
|
|
@@ -65,8 +65,6 @@ import Autocomplete from '@synerise/ds-autocomplete'
|
|
|
65
65
|
| description | input description | ReactNode | - |
|
|
66
66
|
| autoResize | 'resize' width of the input based on width of the text in input | AutoResizeProp | undefined |
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
68
|
#### AutoResizeProp
|
|
71
69
|
|
|
72
70
|
```
|
package/dist/Autocomplete.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import AntdAutoComplete from 'antd/lib/auto-complete';
|
|
2
|
+
import { type FC } from 'react';
|
|
2
3
|
import { type AutocompleteProps } from './Autocomplete.types';
|
|
3
4
|
import './style/index.less';
|
|
4
|
-
declare const Autocomplete: {
|
|
5
|
-
|
|
6
|
-
Option: import("rc-select/lib/Option").OptionFC;
|
|
5
|
+
declare const Autocomplete: FC<AutocompleteProps> & {
|
|
6
|
+
Option: typeof AntdAutoComplete.Option;
|
|
7
7
|
};
|
|
8
8
|
export default Autocomplete;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-autocomplete",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.18",
|
|
4
4
|
"description": "Autocomplete UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
22
|
"build:watch": "npm run build:js -- --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
|
-
"pack:ci": "
|
|
24
|
+
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "npm run build",
|
|
26
26
|
"test": "jest",
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
@@ -35,9 +35,10 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-form-field": "^1.
|
|
39
|
-
"@synerise/ds-input": "^1.5.
|
|
40
|
-
"@synerise/ds-
|
|
38
|
+
"@synerise/ds-form-field": "^1.2.0",
|
|
39
|
+
"@synerise/ds-input": "^1.5.3",
|
|
40
|
+
"@synerise/ds-tooltip": "^1.3.2",
|
|
41
|
+
"@synerise/ds-utils": "^1.5.1"
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
43
44
|
"@synerise/ds-core": "*",
|
|
@@ -45,5 +46,5 @@
|
|
|
45
46
|
"react": ">=16.9.0 <= 18.3.1",
|
|
46
47
|
"styled-components": "^5.3.3"
|
|
47
48
|
},
|
|
48
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "c610279aef2d2139973075117de1bb281b9393b6"
|
|
49
50
|
}
|