@simpli-route/apollo-ds 0.2.2 → 0.2.3

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.
@@ -10,12 +10,12 @@ export declare function getSearchFieldDefaultProps<T extends {
10
10
  label: string;
11
11
  }>(props: SearchFieldProps<T>): SearchFieldProps<T>;
12
12
  /**
13
- * Split text into parts with highlight information
13
+ * Split text into parts with highlight information.
14
+ *
15
+ * Accent- and case-insensitive: matching "accion" highlights "Acción". Delegates to the
16
+ * shared `getHighlightedParts` util so filtering and highlighting stay consistent.
14
17
  * @param text - The text to split
15
18
  * @param highlight - The text to highlight
16
19
  * @returns Array of parts with highlight flag
17
20
  */
18
- export declare function getHighlightedParts(text: string, highlight: string): {
19
- text: string;
20
- highlight: boolean;
21
- }[];
21
+ export declare function getHighlightedParts(text: string, highlight: string): import('../../utils').HighlightedPart[];