Skip to content

Commit 53fec6f

Browse files
committed
feat: Add v2.2.0 examples to demo app
1 parent 426f144 commit 53fec6f

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

demo/src/app/data/select-examples.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,39 @@ export const SELECT_EXAMPLES: Example[] = [
250250
placeholder: 'Select and pin options...'
251251
}
252252
},
253+
{
254+
name: 'Search Highlighting',
255+
description: 'Highlight matching text in options (v2.2.0)',
256+
props: {
257+
enableSearchHighlight: true,
258+
searchHighlightColor: '#ffeb3b',
259+
searchHighlightTextColor: '#000',
260+
isSearchable: true,
261+
placeholder: 'Search with highlighting...'
262+
}
263+
},
264+
{
265+
name: 'Tag Overflow Static',
266+
description: 'Show +N more when tags exceed limit (v2.2.0)',
267+
props: {
268+
isMulti: true,
269+
maxVisibleTags: 3,
270+
showMoreTagsText: '+{count} more',
271+
placeholder: 'Select multiple (max 3 visible)...'
272+
}
273+
},
274+
{
275+
name: 'Tag Overflow Collapsible',
276+
description: 'Collapsible tags with show all/less (v2.2.0)',
277+
props: {
278+
isMulti: true,
279+
maxVisibleTags: 3,
280+
collapsibleTags: true,
281+
showAllTagsText: 'Show all',
282+
showLessTagsText: 'Show less',
283+
placeholder: 'Select multiple (collapsible)...'
284+
}
285+
},
253286
{
254287
name: 'Advanced Keyboard',
255288
description: 'Home/End, Type-ahead, Ctrl+A (v2.0.0)',

0 commit comments

Comments
 (0)