@magicx-eng/ai-autocomplete-vanilla 0.74.2 → 0.74.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/index.d.mts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3415,9 +3415,12 @@ declare function matchTypedPhrase(optionText: string, typedText: string): Phrase
|
|
|
3415
3415
|
/**
|
|
3416
3416
|
* Splits an option's text so what the typed text matches can be drawn in bold:
|
|
3417
3417
|
* the phrase `matchTypedPhrase` finds when it spans several words, else the
|
|
3418
|
-
* start of every word that begins with the last typed word.
|
|
3419
|
-
*
|
|
3420
|
-
*
|
|
3418
|
+
* start of every word that begins with the last typed word. When no word
|
|
3419
|
+
* begins with a Hangul last word, its first occurrence inside a word is bold
|
|
3420
|
+
* instead, since Korean compound nouns hold a word mid-word (화이 in 플랫화이트).
|
|
3421
|
+
* Latin text keeps word starts only. Case- and accent-insensitive. A last
|
|
3422
|
+
* character the typed text spells only the start of is its own part, marked
|
|
3423
|
+
* `partial`. The parts always join back into `text`.
|
|
3421
3424
|
*/
|
|
3422
3425
|
declare function highlightParts(text: string, typedText: string | undefined): TextPart[];
|
|
3423
3426
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3415,9 +3415,12 @@ declare function matchTypedPhrase(optionText: string, typedText: string): Phrase
|
|
|
3415
3415
|
/**
|
|
3416
3416
|
* Splits an option's text so what the typed text matches can be drawn in bold:
|
|
3417
3417
|
* the phrase `matchTypedPhrase` finds when it spans several words, else the
|
|
3418
|
-
* start of every word that begins with the last typed word.
|
|
3419
|
-
*
|
|
3420
|
-
*
|
|
3418
|
+
* start of every word that begins with the last typed word. When no word
|
|
3419
|
+
* begins with a Hangul last word, its first occurrence inside a word is bold
|
|
3420
|
+
* instead, since Korean compound nouns hold a word mid-word (화이 in 플랫화이트).
|
|
3421
|
+
* Latin text keeps word starts only. Case- and accent-insensitive. A last
|
|
3422
|
+
* character the typed text spells only the start of is its own part, marked
|
|
3423
|
+
* `partial`. The parts always join back into `text`.
|
|
3421
3424
|
*/
|
|
3422
3425
|
declare function highlightParts(text: string, typedText: string | undefined): TextPart[];
|
|
3423
3426
|
|