ng-select2-component 17.1.1 → 17.2.0
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
CHANGED
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
# Changelog of ng-select2
|
|
2
2
|
|
|
3
|
+
## V17.2.0 (2025-03-20)
|
|
4
|
+
|
|
5
|
+
### Change
|
|
6
|
+
|
|
7
|
+
- build: fix backward compatibility to **Angular 18.1** (thanks @bborel-hvs)
|
|
8
|
+
- feat: new attribute `nativeKeyboard`
|
|
9
|
+
- feat: add accessibility for `nativeKeyboard` (thanks @mbelin-hvs)
|
|
10
|
+
- feat: improve scrolling behavior in results (thanks @mbelin-hvs)
|
|
11
|
+
- fix: multiple opening when overlay is not active
|
|
12
|
+
|
|
13
|
+
## V17.1.1 (2025-02-04)
|
|
14
|
+
|
|
15
|
+
### Change
|
|
16
|
+
|
|
17
|
+
- Fix value when switching between single and multiple
|
|
18
|
+
|
|
3
19
|
## V17.1.0 (2024-12-26)
|
|
4
20
|
|
|
21
|
+
### Change
|
|
22
|
+
|
|
5
23
|
- Add attribute `multipleDrag`: drag'n drop list of items in selection
|
|
6
24
|
|
|
7
25
|
## V17.0.0 (2024-12-23)
|
|
@@ -17,7 +35,7 @@
|
|
|
17
35
|
- Add resettable with multiple mode
|
|
18
36
|
- Fix inconsistencies in the code
|
|
19
37
|
- Much stricter code rewriting
|
|
20
|
-
- Accessibility (from 15.4.0)
|
|
38
|
+
- Accessibility (from 15.4.0) (thanks @mbelin-hvs)
|
|
21
39
|
- Added/modified accessibility attributes
|
|
22
40
|
- New inputs for accessibility
|
|
23
41
|
- `title`
|
|
@@ -132,7 +150,7 @@
|
|
|
132
150
|
|
|
133
151
|
### Changes
|
|
134
152
|
|
|
135
|
-
- manage blur event (overlay, click on option)
|
|
153
|
+
- manage blur event (overlay, click on option) (thanks @bborel-hvs)
|
|
136
154
|
|
|
137
155
|
---
|
|
138
156
|
|
package/README.md
CHANGED
|
@@ -14,8 +14,8 @@ npm i ng-select2-component --save
|
|
|
14
14
|
|
|
15
15
|
- peerDependencies:
|
|
16
16
|
|
|
17
|
-
- `angular`
|
|
18
|
-
- `angular/cdk`
|
|
17
|
+
- `angular` 18.1.0 and more
|
|
18
|
+
- `angular/cdk` 18.1.0 and more
|
|
19
19
|
|
|
20
20
|
- dependencies (include):
|
|
21
21
|
|
|
@@ -25,7 +25,8 @@ npm i ng-select2-component --save
|
|
|
25
25
|
|
|
26
26
|
| Version | For **Angular** | Notes |
|
|
27
27
|
| --------- | --------------- | ----------------- |
|
|
28
|
-
| `17.
|
|
28
|
+
| `17.2.0` | 18.1 and more | Ivy / Stand-alone |
|
|
29
|
+
| `17.1.0` | 19 | Ivy / Stand-alone |
|
|
29
30
|
| `16.0.0` | 19 | Ivy / Module |
|
|
30
31
|
| `15.4.0` | 18 | Ivy |
|
|
31
32
|
| `14.0.1` | 17 | Ivy |
|
|
@@ -57,6 +58,8 @@ npm i ng-select2-component --save
|
|
|
57
58
|
- material style
|
|
58
59
|
- form binding
|
|
59
60
|
- templating
|
|
61
|
+
- drag'n drop
|
|
62
|
+
- WAI (accessibility)
|
|
60
63
|
- etc.
|
|
61
64
|
|
|
62
65
|
## Usage
|
|
@@ -119,6 +122,7 @@ class MyComponent {}
|
|
|
119
122
|
| `selectAllText` | `string` | `'Select all'` | Text when all options as not selected | with `multiple` |
|
|
120
123
|
| `removeAllText` | `string` | `'Remove all'` | Text when all options as selected | with `multiple` |
|
|
121
124
|
| `editPattern` | `(str: string) => string` | | use it for change the pattern of the filter search | |
|
|
125
|
+
| `nativeKeyboard` | `boolean` | `false` | Use the keyboard navigation like native HTML select component | not with `multiple` |
|
|
122
126
|
| `ngModel`<br>`id`<br>`required`<br>`disabled`<br>`readonly`<br>`tabIndex` | | | just like a `select` control | |
|
|
123
127
|
| `(update)` | `(event: `[`Select2UpdateEvent`](#select2-data-structure)`) => void` | | triggered when user select an option | |
|
|
124
128
|
| `(open)` | `(event: Select2) => void` | | triggered when user open the options | |
|