ng-select2-component 13.0.2 → 13.0.5

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,10 +1,28 @@
1
1
  # Changelog of ng-select2
2
2
 
3
+ ## V13.0.5 (2023-08-23)
4
+
5
+ - update current value when data changes
6
+
7
+ ## V13.0.4 (2023-08-22)
8
+
9
+ ### Changes
10
+
11
+ - improve keyboard navigation
12
+ - fixed arrow navigation when there is no search field
13
+ - improve tab and input actions (fix when unfocus)
14
+ - add CSS variables:
15
+ - `--select2-selection-line-height`
16
+ - `--select2-selection-padding`
17
+ - `--select2-selection-multiple-gap`
18
+ - `--select2-selection-multiple-padding`
19
+ - `--select2-option-padding`
20
+
3
21
  ## V13.0.2 (2023-08-15)
4
22
 
5
23
  ### Changes
6
24
 
7
- Fix customSearchEnabled
25
+ - fix customSearchEnabled
8
26
 
9
27
  ## V13.0.1 (2023-07-31)
10
28
 
@@ -50,7 +68,9 @@ Fix customSearchEnabled
50
68
 
51
69
  - add `noLabelTemplate`: do not use the template in the selection, stay in text mode.
52
70
  - add `autoCreate`: gives the possibility to add elements not present in the list. #48
53
- - add CSS variables : `--select2-single-height`, `--select2-multiple-height`
71
+ - add CSS variables :
72
+ - `--select2-single-height`
73
+ - `--select2-multiple-height`
54
74
 
55
75
  ## V11.0.0 (2023-04-06)
56
76
 
@@ -88,7 +108,9 @@ Fix customSearchEnabled
88
108
 
89
109
  - add `maxResults` maximum results limit (`0` = no limit, by default : `0`).
90
110
  - add `maxResultsMessage` parameter, message when maximum results (by default : `'Too many results…'`)
91
- - add CSS variable `--select2-too-much-result-color` and `--select2-too-much-result-style`
111
+ - add CSS variables:
112
+ - `--select2-too-much-result-color`
113
+ - `--select2-too-much-result-style`
92
114
 
93
115
  ### Corrections
94
116
 
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;