ng-select2-component 13.0.1 → 13.0.4
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 +28 -4
- package/README.md +7 -0
- package/esm2022/lib/select2.component.mjs +53 -42
- package/fesm2022/ng-select2-component.mjs +52 -41
- package/fesm2022/ng-select2-component.mjs.map +1 -1
- package/lib/select2.component.d.ts +4 -5
- package/lib/select2.component.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Changelog of ng-select2
|
|
2
2
|
|
|
3
|
+
## V13.0.3 (2023-08-xx)
|
|
4
|
+
|
|
5
|
+
### Changes
|
|
6
|
+
|
|
7
|
+
- improve keyboard navigation
|
|
8
|
+
- fixed arrow navigation when there is no search field
|
|
9
|
+
- improve tab and input actions (fix when unfocus)
|
|
10
|
+
- add CSS variables:
|
|
11
|
+
- `--select2-selection-line-height`
|
|
12
|
+
- `--select2-selection-padding`
|
|
13
|
+
- `--select2-selection-multiple-gap`
|
|
14
|
+
- `--select2-selection-multiple-padding`
|
|
15
|
+
- `--select2-option-padding`
|
|
16
|
+
|
|
17
|
+
## V13.0.2 (2023-08-15)
|
|
18
|
+
|
|
19
|
+
### Changes
|
|
20
|
+
|
|
21
|
+
- fix customSearchEnabled
|
|
22
|
+
|
|
3
23
|
## V13.0.1 (2023-07-31)
|
|
4
24
|
|
|
5
25
|
### Changes
|
|
6
|
-
|
|
26
|
+
|
|
7
27
|
- add `resetSelectedValue` parameter #42
|
|
8
28
|
- fix `autoCreate` with no search input #49
|
|
9
|
-
|
|
29
|
+
|
|
10
30
|
## V13.0.0 (2023-07-20)
|
|
11
31
|
|
|
12
32
|
### Breaking Changes
|
|
@@ -44,7 +64,9 @@
|
|
|
44
64
|
|
|
45
65
|
- add `noLabelTemplate`: do not use the template in the selection, stay in text mode.
|
|
46
66
|
- add `autoCreate`: gives the possibility to add elements not present in the list. #48
|
|
47
|
-
- add CSS variables :
|
|
67
|
+
- add CSS variables :
|
|
68
|
+
- `--select2-single-height`
|
|
69
|
+
- `--select2-multiple-height`
|
|
48
70
|
|
|
49
71
|
## V11.0.0 (2023-04-06)
|
|
50
72
|
|
|
@@ -82,7 +104,9 @@
|
|
|
82
104
|
|
|
83
105
|
- add `maxResults` maximum results limit (`0` = no limit, by default : `0`).
|
|
84
106
|
- add `maxResultsMessage` parameter, message when maximum results (by default : `'Too many results…'`)
|
|
85
|
-
- add CSS
|
|
107
|
+
- add CSS variables:
|
|
108
|
+
- `--select2-too-much-result-color`
|
|
109
|
+
- `--select2-too-much-result-style`
|
|
86
110
|
|
|
87
111
|
### Corrections
|
|
88
112
|
|
package/README.md
CHANGED
|
@@ -286,6 +286,12 @@ It's possible to change different colors (and more) with CSS variables without h
|
|
|
286
286
|
--select2-selection-border-color: #aaa;
|
|
287
287
|
--select2-selection-focus-border-color: #000;
|
|
288
288
|
--select2-selection-text-color: #111;
|
|
289
|
+
--select2-selection-line-height: 28px;
|
|
290
|
+
--select2-selection-padding: 0 0 0 8px;
|
|
291
|
+
|
|
292
|
+
/* selection (multiple) */
|
|
293
|
+
--select2-selection-multiple-gap: 2px 5px;
|
|
294
|
+
--select2-selection-multiple-padding: 2px 5px;
|
|
289
295
|
|
|
290
296
|
/* selection: choice item (multiple) */
|
|
291
297
|
--select2-selection-choice-background: #e4e4e4;
|
|
@@ -334,6 +340,7 @@ It's possible to change different colors (and more) with CSS variables without h
|
|
|
334
340
|
--select2-option-highlighted-background: #5897fb;
|
|
335
341
|
--select2-option-group-text-color: gray;
|
|
336
342
|
--select2-option-group-background: transparent;
|
|
343
|
+
--select2-option-padding: 6px;
|
|
337
344
|
|
|
338
345
|
/* hint */
|
|
339
346
|
--select2-hint-text-color: #888;
|