@synerise/ds-autocomplete 1.2.16 → 1.2.17
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 +4 -81
- package/README.md +5 -7
- package/dist/Autocomplete.d.ts +4 -4
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,169 +3,92 @@
|
|
|
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.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-autocomplete@1.2.16...@synerise/ds-autocomplete@1.2.17) (2025-12-15)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
9
9
|
|
|
10
|
+
## [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)
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
13
13
|
|
|
14
14
|
## [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
15
|
|
|
16
16
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
18
|
## [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
19
|
|
|
24
20
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
25
21
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
22
|
## [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
23
|
|
|
32
24
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
33
25
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
26
|
## [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
27
|
|
|
40
28
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
41
29
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
30
|
## [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
31
|
|
|
48
32
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
49
33
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
34
|
## [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
35
|
|
|
56
36
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
57
37
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
38
|
## [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
39
|
|
|
64
40
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
65
41
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
42
|
## [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
43
|
|
|
72
44
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
73
45
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
46
|
## [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
47
|
|
|
80
48
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
81
49
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
50
|
## [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
51
|
|
|
88
52
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
89
53
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
54
|
## [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
55
|
|
|
96
56
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
97
57
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
58
|
## [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
59
|
|
|
104
60
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
105
61
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
62
|
## [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
63
|
|
|
112
64
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
113
65
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
66
|
## [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
67
|
|
|
120
68
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
121
69
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
70
|
## [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
71
|
|
|
128
72
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
129
73
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
74
|
# [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
75
|
|
|
136
|
-
|
|
137
76
|
### Features
|
|
138
77
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
78
|
+
- **factors:** pass component props ([81f40dd](https://github.com/Synerise/synerise-design/commit/81f40dd18b3e7d88828d5e418efc94b1cb9eda91))
|
|
144
79
|
|
|
145
80
|
## [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
81
|
|
|
147
82
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
148
83
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
84
|
## [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
85
|
|
|
155
86
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
156
87
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
88
|
## [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
89
|
|
|
163
90
|
**Note:** Version bump only for package @synerise/ds-autocomplete
|
|
164
91
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
92
|
## [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
93
|
|
|
171
94
|
**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.17",
|
|
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.1.
|
|
39
|
-
"@synerise/ds-input": "^1.5.
|
|
40
|
-
"@synerise/ds-
|
|
38
|
+
"@synerise/ds-form-field": "^1.1.21",
|
|
39
|
+
"@synerise/ds-input": "^1.5.2",
|
|
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": "b1279d5354132a2bf0b6f0cfa343db4c6c928f72"
|
|
49
50
|
}
|