@appquality/unguess-design-system 4.1.4 → 4.1.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # v4.1.5 (Fri Sep 11 2026)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Improve transcript with search [#605](https://github.com/AppQuality/unguess-design-system/pull/605) ([@sinatragianpaolo](https://github.com/sinatragianpaolo))
6
+ - UN-3000 feat(transcript): fix multi-word search + match count / navigation [#604](https://github.com/AppQuality/unguess-design-system/pull/604) ([@sinatragianpaolo](https://github.com/sinatragianpaolo))
7
+
8
+ #### Authors: 1
9
+
10
+ - Gianpaolo Sinatra ([@sinatragianpaolo](https://github.com/sinatragianpaolo))
11
+
12
+ ---
13
+
1
14
  # v4.1.4 (Tue Jul 28 2026)
2
15
 
3
16
  #### 🐛 Bug Fix
package/build/index.d.ts CHANGED
@@ -3501,9 +3501,10 @@ export declare const Transcript: {
3501
3501
  sentiments?: SentimentType[];
3502
3502
  }, deps?: React.DependencyList) => Editor_3;
3503
3503
  Search: {
3504
- ({ editor, placeholder, }: {
3504
+ ({ editor, placeholder, matchesLabel, }: {
3505
3505
  editor: Editor_3;
3506
3506
  placeholder?: string;
3507
+ matchesLabel?: string;
3507
3508
  }): JSX_2.Element;
3508
3509
  Style: RuleSet<object>;
3509
3510
  };
@@ -3710,3 +3711,33 @@ declare module "@tiptap/core" {
3710
3711
  };
3711
3712
  }
3712
3713
  }
3714
+
3715
+
3716
+ /**
3717
+ * Multi-word keyword search for the transcript editor.
3718
+ *
3719
+ * Words are separate inline nodes, so matching rebuilds one string per
3720
+ * textblock with a char -> position map and matches against that. Query
3721
+ * whitespace matches one or more whitespace characters; matches never cross
3722
+ * a block boundary.
3723
+ *
3724
+ * Match index/count live in storage, with next/previous commands to move
3725
+ * between results.
3726
+ */
3727
+ declare module "@tiptap/core" {
3728
+ interface Commands<ReturnType> {
3729
+ transcriptSearch: {
3730
+ setSearchTerm: (searchTerm: string) => ReturnType;
3731
+ resetSearchIndex: () => ReturnType;
3732
+ nextSearchResult: () => ReturnType;
3733
+ previousSearchResult: () => ReturnType;
3734
+ };
3735
+ }
3736
+ }
3737
+
3738
+
3739
+ declare module "@tiptap/core" {
3740
+ interface Storage {
3741
+ searchAndReplace: SearchStorage;
3742
+ }
3743
+ }