angular-perfect-select 2.1.0 → 2.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/README.md
CHANGED
|
@@ -21,7 +21,11 @@ A modern, feature-rich, and fully accessible select component for Angular applic
|
|
|
21
21
|
|
|
22
22
|
### Advanced Features
|
|
23
23
|
|
|
24
|
-
#### v2.
|
|
24
|
+
#### v2.2.0 Features 🆕
|
|
25
|
+
- **Search Result Highlighting** - Automatically highlights matching text in options with customizable colors
|
|
26
|
+
- **Tag Overflow Management** - Show "+N more" or collapsible tags when exceeding visible limit
|
|
27
|
+
|
|
28
|
+
#### v2.1.0 Features
|
|
25
29
|
- **Drag & Drop Reordering** - Reorder selected tags in multi-select mode with intuitive drag handles
|
|
26
30
|
- **Option Pinning** - Pin frequently used options to the top with persistence support
|
|
27
31
|
|
|
@@ -130,6 +134,46 @@ export class AppModule { }
|
|
|
130
134
|
|
|
131
135
|
## Usage Examples
|
|
132
136
|
|
|
137
|
+
### Search Result Highlighting (v2.2.0)
|
|
138
|
+
|
|
139
|
+
Highlight matching text in options during search:
|
|
140
|
+
|
|
141
|
+
```typescript
|
|
142
|
+
<angular-perfect-select
|
|
143
|
+
[options]="options"
|
|
144
|
+
[enableSearchHighlight]="true"
|
|
145
|
+
[searchHighlightColor]="'#ffeb3b'"
|
|
146
|
+
[searchHighlightTextColor]="'#000'"
|
|
147
|
+
[isSearchable]="true"
|
|
148
|
+
placeholder="Search with highlighting..."
|
|
149
|
+
/>
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Tag Overflow Management (v2.2.0)
|
|
153
|
+
|
|
154
|
+
Show "+N more" when tags exceed limit:
|
|
155
|
+
|
|
156
|
+
```typescript
|
|
157
|
+
<angular-perfect-select
|
|
158
|
+
[options]="options"
|
|
159
|
+
[isMulti]="true"
|
|
160
|
+
[maxVisibleTags]="3"
|
|
161
|
+
[showMoreTagsText]="'+{count} more'"
|
|
162
|
+
placeholder="Select multiple..."
|
|
163
|
+
/>
|
|
164
|
+
|
|
165
|
+
// With collapsible tags
|
|
166
|
+
<angular-perfect-select
|
|
167
|
+
[options]="options"
|
|
168
|
+
[isMulti]="true"
|
|
169
|
+
[maxVisibleTags]="3"
|
|
170
|
+
[collapsibleTags]="true"
|
|
171
|
+
[showAllTagsText]="'Show all'"
|
|
172
|
+
[showLessTagsText]="'Show less'"
|
|
173
|
+
placeholder="Select multiple (collapsible)..."
|
|
174
|
+
/>
|
|
175
|
+
```
|
|
176
|
+
|
|
133
177
|
### Drag & Drop Reordering (v2.1.0)
|
|
134
178
|
|
|
135
179
|
Reorder selected tags in multi-select mode with drag-and-drop:
|
package/dist/README.md
CHANGED
|
@@ -21,7 +21,11 @@ A modern, feature-rich, and fully accessible select component for Angular applic
|
|
|
21
21
|
|
|
22
22
|
### Advanced Features
|
|
23
23
|
|
|
24
|
-
#### v2.
|
|
24
|
+
#### v2.2.0 Features 🆕
|
|
25
|
+
- **Search Result Highlighting** - Automatically highlights matching text in options with customizable colors
|
|
26
|
+
- **Tag Overflow Management** - Show "+N more" or collapsible tags when exceeding visible limit
|
|
27
|
+
|
|
28
|
+
#### v2.1.0 Features
|
|
25
29
|
- **Drag & Drop Reordering** - Reorder selected tags in multi-select mode with intuitive drag handles
|
|
26
30
|
- **Option Pinning** - Pin frequently used options to the top with persistence support
|
|
27
31
|
|
|
@@ -130,6 +134,46 @@ export class AppModule { }
|
|
|
130
134
|
|
|
131
135
|
## Usage Examples
|
|
132
136
|
|
|
137
|
+
### Search Result Highlighting (v2.2.0)
|
|
138
|
+
|
|
139
|
+
Highlight matching text in options during search:
|
|
140
|
+
|
|
141
|
+
```typescript
|
|
142
|
+
<angular-perfect-select
|
|
143
|
+
[options]="options"
|
|
144
|
+
[enableSearchHighlight]="true"
|
|
145
|
+
[searchHighlightColor]="'#ffeb3b'"
|
|
146
|
+
[searchHighlightTextColor]="'#000'"
|
|
147
|
+
[isSearchable]="true"
|
|
148
|
+
placeholder="Search with highlighting..."
|
|
149
|
+
/>
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Tag Overflow Management (v2.2.0)
|
|
153
|
+
|
|
154
|
+
Show "+N more" when tags exceed limit:
|
|
155
|
+
|
|
156
|
+
```typescript
|
|
157
|
+
<angular-perfect-select
|
|
158
|
+
[options]="options"
|
|
159
|
+
[isMulti]="true"
|
|
160
|
+
[maxVisibleTags]="3"
|
|
161
|
+
[showMoreTagsText]="'+{count} more'"
|
|
162
|
+
placeholder="Select multiple..."
|
|
163
|
+
/>
|
|
164
|
+
|
|
165
|
+
// With collapsible tags
|
|
166
|
+
<angular-perfect-select
|
|
167
|
+
[options]="options"
|
|
168
|
+
[isMulti]="true"
|
|
169
|
+
[maxVisibleTags]="3"
|
|
170
|
+
[collapsibleTags]="true"
|
|
171
|
+
[showAllTagsText]="'Show all'"
|
|
172
|
+
[showLessTagsText]="'Show less'"
|
|
173
|
+
placeholder="Select multiple (collapsible)..."
|
|
174
|
+
/>
|
|
175
|
+
```
|
|
176
|
+
|
|
133
177
|
### Drag & Drop Reordering (v2.1.0)
|
|
134
178
|
|
|
135
179
|
Reorder selected tags in multi-select mode with drag-and-drop:
|