@bicharts/chart-host 0.6.97 → 0.6.98

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/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1096,7 +1096,7 @@ function filterQualifyRows(rows, term, read, style = DEFAULT_FILTER_MATCH_STYLE)
1096
1096
  continue;
1097
1097
  }
1098
1098
  const desc = normalizeFilterTerm(f2.description);
1099
- if (desc.indexOf(t2) >= 0 || loose && startsALooseWord(looseFormWithWordStarts(desc), loose)) byDesc.push(row);
1099
+ if (startsAWord(desc, t2) || loose && startsALooseWord(looseFormWithWordStarts(desc), loose)) byDesc.push(row);
1100
1100
  }
1101
1101
  if (atWordStart.length > 0) return { rows: atWordStart, tier: "name", term: t2 };
1102
1102
  if (midWord.length > 0) return { rows: midWord, tier: "namePart", term: t2 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bicharts/chart-host",
3
- "version": "0.6.97",
3
+ "version": "0.6.98",
4
4
  "description": "Run a BIC-generated D3 chart in any web host: compiles the generated render() function, applies the shared option defaults, resolves mark clicks (through tooltip overlays), owns the selection affordance, and translates row indices between cross-filtered charts. The same contract the BIC Power BI visual implements, minus Power BI. React bindings at @bicharts/chart-host/react.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",