ng-select2-component 17.1.1 → 17.2.1

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,31 @@
1
1
  # Changelog of ng-select2
2
2
 
3
+ ## V17.2.1 (2025-03-21)
4
+
5
+ ### Change
6
+
7
+ - fix: regression on limit to 0
8
+
9
+ ## V17.2.0 (2025-03-20)
10
+
11
+ ### Change
12
+
13
+ - build: fix backward compatibility to **Angular 18.1** (thanks @bborel-hvs)
14
+ - feat: new attribute `nativeKeyboard`
15
+ - feat: add accessibility for `nativeKeyboard` (thanks @mbelin-hvs)
16
+ - feat: improve scrolling behavior in results (thanks @mbelin-hvs)
17
+ - fix: multiple opening when overlay is not active
18
+
19
+ ## V17.1.1 (2025-02-04)
20
+
21
+ ### Change
22
+
23
+ - Fix value when switching between single and multiple
24
+
3
25
  ## V17.1.0 (2024-12-26)
4
26
 
27
+ ### Change
28
+
5
29
  - Add attribute `multipleDrag`: drag'n drop list of items in selection
6
30
 
7
31
  ## V17.0.0 (2024-12-23)
@@ -17,7 +41,7 @@
17
41
  - Add resettable with multiple mode
18
42
  - Fix inconsistencies in the code
19
43
  - Much stricter code rewriting
20
- - Accessibility (from 15.4.0)
44
+ - Accessibility (from 15.4.0) (thanks @mbelin-hvs)
21
45
  - Added/modified accessibility attributes
22
46
  - New inputs for accessibility
23
47
  - `title`
@@ -132,7 +156,7 @@
132
156
 
133
157
  ### Changes
134
158
 
135
- - manage blur event (overlay, click on option)
159
+ - manage blur event (overlay, click on option) (thanks @bborel-hvs)
136
160
 
137
161
  ---
138
162
 
package/README.md CHANGED
@@ -14,8 +14,8 @@ npm i ng-select2-component --save
14
14
 
15
15
  - peerDependencies:
16
16
 
17
- - `angular` 19.0.0 and more
18
- - `angular/cdk` 19.0.0 and more
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.1.0` | 19 and more | Ivy / Stand-alone |
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 | |