@appquality/unguess-design-system 3.1.91-highlight-6 → 3.1.91-highlight-7

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.
Files changed (2) hide show
  1. package/build/index.js +1 -1
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -7646,7 +7646,7 @@ const useEditor = ({ content, observations, currentTime, onSetCurrentTime, }, de
7646
7646
  content: content.map((paragraph) => {
7647
7647
  function getWords() {
7648
7648
  return paragraph.words.map((word) => {
7649
- const observationsInThisWord = observations === null || observations === void 0 ? void 0 : observations.filter((observation) => observation.start >= word.start && observation.end <= word.end);
7649
+ const observationsInThisWord = observations === null || observations === void 0 ? void 0 : observations.filter((observation) => observation.start <= word.start && observation.end >= word.end);
7650
7650
  function getWordContent() {
7651
7651
  const textContent = [
7652
7652
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.91-highlight-6",
3
+ "version": "3.1.91-highlight-7",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",