@updog/data-editor-wc 0.1.83 → 0.1.84

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 (3) hide show
  1. package/index.d.ts +3 -1
  2. package/index.js +4 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1464,7 +1464,9 @@ type DataEditorBaseProps<TRow extends DataEditorRow = DataEditorRow> = {
1464
1464
  * target (a column ID/title, or an option value); the array lists aliases the
1465
1465
  * matching engine treats as equivalent. Merged with the built-ins per key.
1466
1466
  *
1467
- * Feed `result.learnedSynonyms` straight back it comes out in this shape.
1467
+ * `result.learnedSynonyms` comes out as `{ source, target }` entries under
1468
+ * `columns` and `values`. Group each pair's source under its target to
1469
+ * build this shape.
1468
1470
  *
1469
1471
  * @example
1470
1472
  * ```ts
package/index.js CHANGED
@@ -28573,7 +28573,9 @@ function bh(e, t) {
28573
28573
  t,
28574
28574
  o
28575
28575
  ]);
28576
- (0, y.useEffect)(() => (i.setAsyncPort(s), e.setAsyncScheduler(s), () => s.destroy()), [
28576
+ (0, y.useEffect)(() => {
28577
+ i.setAsyncPort(s), e.setAsyncScheduler(s);
28578
+ }, [
28577
28579
  e,
28578
28580
  i,
28579
28581
  s
@@ -28583,7 +28585,7 @@ function bh(e, t) {
28583
28585
  i,
28584
28586
  t
28585
28587
  ]);
28586
- return ph(c, [c]), ph(i, [i]), ph(e, [e]), {
28588
+ return ph(s, [s]), ph(c, [c]), ph(i, [i]), ph(e, [e]), {
28587
28589
  validator: i,
28588
28590
  validatorRef: a,
28589
28591
  findReplace: c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@updog/data-editor-wc",
3
- "version": "0.1.83",
3
+ "version": "0.1.84",
4
4
  "description": "Client-side CSV importer and spreadsheet editor as a Web Component. Drop into Vue, Angular, Svelte, or vanilla JS. Import CSV, Excel, JSON; edit 1M+ rows entirely in the browser.",
5
5
  "author": "Mikhail Kutateladze <admin@updog.tech>",
6
6
  "homepage": "https://updog.tech",