From 8af033c1ea6d9caca96d3434e83393bbcaec5db9 Mon Sep 17 00:00:00 2001 From: lubber-de Date: Sat, 10 Feb 2024 00:36:33 +0100 Subject: [PATCH] fix(types): highlightmatches setting --- types/fomantic-ui-dropdown.d.ts | 6 ++++++ types/fomantic-ui-search.d.ts | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/types/fomantic-ui-dropdown.d.ts b/types/fomantic-ui-dropdown.d.ts index 08cb813d14..ff69cdb8b4 100644 --- a/types/fomantic-ui-dropdown.d.ts +++ b/types/fomantic-ui-dropdown.d.ts @@ -385,6 +385,12 @@ declare namespace FomanticUI { */ ignoreSearchCase: boolean; + /** + * Whether search result should highlight matching strings + * @default false + */ + highlightMatches: boolean; + /** * If disabled user additions will appear in the dropdown's menu using a specially formatted selection item formatted by 'templates.addition'. * @default true diff --git a/types/fomantic-ui-search.d.ts b/types/fomantic-ui-search.d.ts index a5f218fc63..6455d41391 100644 --- a/types/fomantic-ui-search.d.ts +++ b/types/fomantic-ui-search.d.ts @@ -228,6 +228,18 @@ declare namespace FomanticUI { */ ignoreDiacritics: boolean; + /** + * Whether to consider case sensitivity on local searching + * @default true + */ + ignoreSearchCase: boolean; + + /** + * Whether search result should highlight matching strings + * @default false + */ + highlightMatches: boolean; + /** * Template to use (specified in settings.templates) * @default 'standard'