@iyulab/flex-table 0.48.0 → 0.48.2
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 +29 -0
- package/README.md +2 -2
- package/dist/{flex-table-B8ehfxqn.js → flex-table-CDMcn3Nj.js} +266 -273
- package/dist/flex-table.d.ts +2 -6
- package/dist/flex-table.js +1 -1
- package/dist/react.js +1 -1
- package/package.json +2 -2
- package/skills/iyulab-flex-table/references/api.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.48.2] - 2026-10-06
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **Ctrl+C / Ctrl+X / Ctrl+V apply again while a row checkbox has focus.** 0.48.0 treated every
|
|
8
|
+
`<input>` as a text field with its own clipboard, so with focus on a row checkbox the keys did
|
|
9
|
+
nothing. Only text fields (the cell editor, the find panel's search box, a filter input) keep
|
|
10
|
+
their own clipboard now (`isTextEntry` from `@iyulab/components` 2.2.0).
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Requires `@iyulab/components` 2.2.0 or later.
|
|
15
|
+
|
|
16
|
+
## [0.48.1] - 2026-10-06
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **Cmd+C and Cmd+X work in Safari again.** 0.48.0 moved the keys to the browser's copy/cut events
|
|
21
|
+
alone, and Safari fires no copy event without a text selection — a grid's selection is not one. The
|
|
22
|
+
keys now take the browser's event where it fires and write through the Clipboard API where it does
|
|
23
|
+
not (`copyFromKey`/`pasteFromKey` from `@iyulab/components` 2.1.0). A cut still clears only once
|
|
24
|
+
its text is on the clipboard.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- `clipboard-error` again covers the keys: `'copy'` when neither path put the text on the clipboard
|
|
29
|
+
(a cut then clears nothing), `'paste'` when neither could read it.
|
|
30
|
+
- Requires `@iyulab/components` 2.1.0 or later.
|
|
31
|
+
|
|
3
32
|
## [0.48.0] - 2026-10-06
|
|
4
33
|
|
|
5
34
|
### Fixed
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ npm install @iyulab/flex-table
|
|
|
50
50
|
- **Range Selection** — Shift+Arrow, Shift+Click for multi-cell selection
|
|
51
51
|
- **Column Selection** — Ctrl+Click header or `selectColumn()` API
|
|
52
52
|
- **Row Selection** — Checkbox-based row selection (`selectable`, single/multi mode)
|
|
53
|
-
- **Clipboard** — Ctrl+C/X/V with TSV format (Excel/Google Sheets compatible, RFC 4180), through the browser's own copy/cut/paste
|
|
53
|
+
- **Clipboard** — Ctrl+C/X/V with TSV format (Excel/Google Sheets compatible, RFC 4180), through the browser's own copy/cut/paste where it fires and the Clipboard API where it does not (Safari)
|
|
54
54
|
- **Sorting** — Click header to sort (asc/desc/none), Shift+click for multi-sort
|
|
55
55
|
- **Column Menu** — A 24×24 button in every header opens the column's menu: sort, filter, hide/show, auto-fit, wider/narrower (also opens on header right-click)
|
|
56
56
|
- **Column Resize** — Drag header border, double-click to auto-fit, Alt+Arrow keyboard resize, or the column menu
|
|
@@ -334,7 +334,7 @@ All events use `CustomEvent` with `bubbles: true, composed: true`.
|
|
|
334
334
|
| `clipboard-copy` | `{ range, text }` | Range copied as TSV |
|
|
335
335
|
| `clipboard-cut` | `{ range, text }` | Range cut as TSV |
|
|
336
336
|
| `clipboard-paste` | `{ changes, addedRows }` | Data pasted from clipboard |
|
|
337
|
-
| `clipboard-error` | `{ action, error }` |
|
|
337
|
+
| `clipboard-error` | `{ action, error }` | Copy (`action: 'copy'`) could not put the text on the clipboard — no `clipboard-copy`/`clipboard-cut` follows and a cut clears nothing — or paste (`'paste'`) could not read it |
|
|
338
338
|
|
|
339
339
|
### State Events
|
|
340
340
|
|