@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.
- package/dist/components/SearchField/utils.d.ts +5 -5
- package/dist/index.cjs +7 -7
- package/dist/index.mjs +1414 -1405
- package/dist/stories/Autocomplete.stories.d.ts +8 -0
- package/dist/stories/InvisibleSelect.stories.d.ts +8 -0
- package/dist/stories/SearchField.stories.d.ts +11 -0
- package/dist/stories/SelectInput.stories.d.ts +8 -0
- package/dist/utils/accentInsensitive.d.ts +28 -0
- package/dist/utils/accentInsensitive.test.d.ts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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[];
|