comins-table 0.1.10 → 0.1.11
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 +38 -1
- package/DESIGN.md +15 -1
- package/README.md +40 -7
- package/THIRD_PARTY_NOTICES.md +0 -2
- package/dist/cell-fill.d.ts +25 -0
- package/dist/cell-fill.d.ts.map +1 -0
- package/dist/clipboard-text.d.ts +5 -0
- package/dist/clipboard-text.d.ts.map +1 -0
- package/dist/clipboard.d.ts +1 -1
- package/dist/clipboard.d.ts.map +1 -1
- package/dist/clipboard.js +2 -2
- package/dist/column-filter.d.ts +2 -1
- package/dist/column-filter.d.ts.map +1 -1
- package/dist/{core-D01wEe-7.js → core-C1tlvY8Q.js} +236 -170
- package/dist/core-C1tlvY8Q.js.map +1 -0
- package/dist/core.d.ts +12 -2
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js +2 -2
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2307 -1967
- package/dist/index.js.map +1 -1
- package/dist/selection.js +2 -2
- package/dist/table-icons.d.ts.map +1 -1
- package/dist/tree-drag.d.ts +1 -0
- package/dist/tree-drag.d.ts.map +1 -1
- package/package.json +15 -1
- package/styles.css +167 -38
- package/dist/core-D01wEe-7.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
# Comins Table
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.11 - Unreleased
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Opt-in external plain-text TSV paste through `clipboardPaste`, typed `cell.parseClipboard`, `onClipboardError`, and `parseCominsClipboardText` / `pasteCominsText` Core helpers. Parsing is bounded and batch errors are atomic; native editors keep their clipboard behavior.
|
|
8
|
+
- Opt-in `fillHandle` with typed value/pattern repetition, preview, edge scrolling, cancellation, and click/Ref `fillSelection` alternatives. Both editing options require Cell selection and a controlled data callback.
|
|
9
|
+
- Optional `cell.validateFill` validates typed destination values before a Fill commits. Returning `false` or throwing rejects the entire operation without changing data; React reports the error through `onClipboardError`.
|
|
10
|
+
- A 1,000-Row Playground editing example with automatic height, pinned Columns, numeric conversion and protected Rows/Cells, plus matching English/Korean guides.
|
|
11
|
+
- A Clipboard/Fill README animation and refreshed 0.1.11 overview and feature GIFs captured from live demos.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- **Migration:** Row Drag is now disabled by default. Set `rowProps={{ draggable: true }}` to retain handle-based movement. `onChangeData` remains optional for local Row reordering; a new `data` array replaces internal Rows, while option-only rerenders preserve local order. Tree and cross-Group/transfer ownership contracts remain unchanged.
|
|
16
|
+
- Header Sort uses the same Chevron family and 24px icon-button primitive as Row Group disclosure, retaining sorting, keyboard activation, multi-sort and resize/drag isolation.
|
|
17
|
+
- Header and Row Group drag feedback uses accent/danger tokens, neutral source placeholders and a readable light/dark drag preview. Filled ranges, focus, disabled controls and reduced motion follow `DESIGN.md`.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Completed Playground option toggle styling, including automatic-height content length, width, renderer expansion, Tree policies, Group visibility, and Viewport request options. Pressed states are visible and support native Enter/Space activation.
|
|
22
|
+
- Excluded ignored local diagnostic files from Vitest discovery so the normal verification command does not execute Playwright-only diagnostics.
|
|
23
|
+
- Removed duplicated perimeter borders at the final Body/Header/Summary Cell and unified Row, Tree and Group drop feedback with the Header target tokens.
|
|
24
|
+
- Enabled local Row/Group edge auto-scroll with refreshed virtual drop targets and viewport-clipped bounds. Tree pointer drops preserve the scrolled viewport instead of following a moved anchor Row.
|
|
25
|
+
- Connected CRUD reordering to controlled data and replaced position-based IDs and labels in both Virtualization examples with stable Row identities. Clarified the Viewport Datasource Row Drag exclusion.
|
|
26
|
+
- Kept the top border stationary when Headers are hidden, and removed Row drag placeholder layout shifts. Local virtual Row drops preserve the viewport position; fixed-height virtual rendering uses the same logical/physical offset convention as variable-height rendering.
|
|
27
|
+
- Made Component example labels follow stable Row data, aligned example text/numeric/control values, clarified empty filtered Groups and disabled Rows, and connected Context Create/Delete to actual example data changes.
|
|
28
|
+
- Added a two-value TSV sample and explained trailing empty fields without changing intentional empty-cell paste behavior.
|
|
29
|
+
- Separated the CRUD Playground's internal Row identity from editable `column4`, so all six displayed fields can be updated while selection and deletion keep targeting the same Row.
|
|
30
|
+
- Clamped logical scroll anchors to the final viewport after sorting variable-height Rows, preventing blank space below the last Row.
|
|
31
|
+
- Preserved keyboard focus when clearing Header sort and opening the first or closing the last virtual Row Detail.
|
|
32
|
+
- Kept incomplete filter drafts independent from applied conditions and repositioned filter popovers after layout changes, above sibling Headers while inheriting Table theme tokens.
|
|
33
|
+
- Connected controlled expansion in the 10,000-node Tree Playground and rejected non-numeric Fill values in its numeric editing example.
|
|
34
|
+
|
|
35
|
+
### Compatibility notes
|
|
36
|
+
|
|
37
|
+
- `clipboard`, `clipboardPaste` and `fillHandle` remain independent opt-in features. Existing internal paste remains the default. OS paste imports strings unless a Column parser converts them, and intentional empty TSV Cells overwrite editable destinations.
|
|
38
|
+
- Fill repeats existing values; automatic series and source clearing on shrink are not included. Viewport edits require contiguous loaded data and do not fetch or persist it.
|
|
39
|
+
|
|
40
|
+
## 0.1.10 - 2026-09-11
|
|
4
41
|
|
|
5
42
|
### Added
|
|
6
43
|
|
package/DESIGN.md
CHANGED
|
@@ -22,7 +22,7 @@ Motion is limited to short color, opacity, position, and resize feedback. Motion
|
|
|
22
22
|
|
|
23
23
|
| Surface | Contract |
|
|
24
24
|
| --- | --- |
|
|
25
|
-
| Frame | Owns
|
|
25
|
+
| Frame | Owns a single 1px outer border, radius, background, and the final horizontal scrollbar. Header and final Cells must not duplicate the perimeter border; pinned-zone separators remain distinct. |
|
|
26
26
|
| Header | Uses an accent surface by default and retains visible focus, resize, sort, move, and pinned boundaries. |
|
|
27
27
|
| Body Cell | Keeps grid borders and application Row backgrounds visible beneath selection indicators. |
|
|
28
28
|
| Group Row | Uses one semantic full-width Cell. Its content remains visible at the Body viewport start during horizontal scrolling. |
|
|
@@ -38,6 +38,20 @@ Rest, hover, active, `focus-visible`, selected, disabled, loading, invalid, drag
|
|
|
38
38
|
|
|
39
39
|
For variable business Row heights, `getRowHeight` owns the layout policy. Returning `"auto"` measures normal-flow Cell content; `estimatedRowHeight` supplies the initial estimate without imposing a limit on the Renderer. Group headings retain their fixed `rowHeight`, and Row Details keep their independent height policy. CSS height overrides alone do not update virtual geometry. Viewport loading estimates unloaded heights and may adjust the scrollbar as content is measured.
|
|
40
40
|
|
|
41
|
+
## Icons, sorting, and drag feedback
|
|
42
|
+
|
|
43
|
+
Built-in icons use the existing Radix 15px SVG primitives and inherit their foreground. Icon buttons have a 24px square interaction area. Disclosure uses right/down Chevrons; ascending/descending sorting uses up/down Chevrons from the same family. Sorting remains a Header action, with `aria-sort` on the owning Header, an accessible button label, decorative SVGs, and native Enter/Space activation. Sort direction must not be confused with Group expansion state.
|
|
44
|
+
|
|
45
|
+
| Interaction state | Treatment |
|
|
46
|
+
| --- | --- |
|
|
47
|
+
| Source placeholder | Neutral `surface-muted` / `muted` pair and a one-pixel inset dashed `drop-marker` outline. Preserve original geometry. |
|
|
48
|
+
| Valid target | `drop-valid-background` with readable `foreground`; 2px solid `drop-valid` outline or insertion line for Row, Tree, Group and Header targets. |
|
|
49
|
+
| Invalid target | `drop-invalid-background` with readable foreground and 2px solid `drop-invalid` outline; retain rejected-drop semantics. |
|
|
50
|
+
| Floating drag preview | `surface` / `foreground`, `drop-marker` border, 2px radius, compact spacing, subdued shadow; never intercept pointer events. |
|
|
51
|
+
| Fill Handle | 24px hit area, 8px accent marker, visible keyboard focus, preview without data mutation. Click actions provide a non-drag alternative. |
|
|
52
|
+
|
|
53
|
+
Header and Row Group targets share these states while retaining their own insertion geometry. Never substitute a hard-coded light foreground on a dark-theme accent marker. Component disabled text uses `component-muted`; menu and virtual-list items distinguish keyboard focus from hover. Reduced-motion mode disables Sort and Group disclosure transitions as well as movement animation.
|
|
54
|
+
|
|
41
55
|
## CSS token stability
|
|
42
56
|
|
|
43
57
|
The canonical machine-readable inventory is `docs/feature-manifest.json`. Stability means:
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Comins Table
|
|
2
2
|
|
|
3
|
+
<img src="example/public/comins-symbol.svg" width="64" height="64" alt="Comins" />
|
|
4
|
+
|
|
3
5
|
Comins Table is a controlled React data table for data-heavy application screens. Applications keep ownership of their data and business models while the Table provides virtualized rendering, structured Rows, configurable Headers, precise selection, and customizable cells.
|
|
4
6
|
|
|
5
7
|
[](https://www.npmjs.com/package/comins-table)
|
|
@@ -7,7 +9,7 @@ Comins Table is a controlled React data table for data-heavy application screens
|
|
|
7
9
|
[](https://github.com/kim1124/comins-table/actions/workflows/verify.yml)
|
|
8
10
|
[](LICENSE)
|
|
9
11
|
|
|
10
|
-

|
|
11
13
|
|
|
12
14
|
## Why Comins Table
|
|
13
15
|
|
|
@@ -21,9 +23,20 @@ Comins Table is a controlled React data table for data-heavy application screens
|
|
|
21
23
|
|
|
22
24
|
Comins Table is standalone and does not wrap another table or grid implementation.
|
|
23
25
|
|
|
24
|
-
### Version 0.1.
|
|
26
|
+
### Version 0.1.11
|
|
27
|
+
|
|
28
|
+
The source and demonstrations below target 0.1.11. Publication is tracked separately in the changelog.
|
|
29
|
+
|
|
30
|
+
**0.1.11 migration:** Row Drag is opt-in with `rowProps={{ draggable: true }}`. `onChangeData` is optional for local Row movement; connect it to synchronize application state. New `data` arrays remain authoritative.
|
|
31
|
+
|
|
32
|
+
This source version adds opt-in external TSV paste and a visual Fill Handle, with atomic controlled edits and protected Cell guards. Header sorting uses disclosure-family Chevrons, and drag feedback follows the packaged design contract. Tree Row drag, automatic heights, and Viewport Datasource remain available. See the [0.1.11 changelog](https://github.com/kim1124/comins-table/blob/main/CHANGELOG.md) for the complete change list.
|
|
25
33
|
|
|
26
|
-
|
|
34
|
+
For migration, keep these data-ownership boundaries explicit:
|
|
35
|
+
|
|
36
|
+
- Local Row reordering needs `rowProps.draggable: true`; connect `onChangeData` when the application must retain the new order. Use stable Row IDs and keep the input array reference stable when relying on internal order.
|
|
37
|
+
- Tree movement still requires `treeRowDrag` and controlled `onChangeData`. Cross-Table transfers use the Coordinator; enabling a local Row handle does not enable transfers.
|
|
38
|
+
- OS paste and Fill require `cellSelection` and `onChangeData`; both remain opt-in. A two-field TSV updates two destination Cells. A trailing tab deliberately supplies an additional empty field.
|
|
39
|
+
- Viewport loading has no Row Drag handles. Reordering a partially loaded dataset belongs to the server, followed by a dataset reset.
|
|
27
40
|
|
|
28
41
|
### Feature catalog
|
|
29
42
|
|
|
@@ -239,6 +252,24 @@ Use `getRowHeight={() => "auto"}` for content-driven business Row heights, or re
|
|
|
239
252
|
|
|
240
253
|
Viewport bounds cached data and measured heights; distant scrolling does not fetch every earlier page or require a full dataset array. Unloaded heights are estimated, so scrollbar size can change as content is measured. Selection getters and copy operate on loaded data without fetching missing Rows. The application owns network requests and edit persistence. Tree, Row Grouping, Row Detail, Row Drag, append loading, pagination, built-in sorting/filtering, and automatic Summary aggregation are unavailable in Viewport mode.
|
|
241
254
|
|
|
255
|
+
### Tree subtree movement
|
|
256
|
+
|
|
257
|
+
Move Gamma and its child Epsilon to another parent, then fold and expand the hierarchy.
|
|
258
|
+
|
|
259
|
+

|
|
260
|
+
|
|
261
|
+
### Content-driven heights
|
|
262
|
+
|
|
263
|
+
Expand a Cell Renderer and narrow the Table. Row heights adjust automatically across 100,000 virtualized Rows.
|
|
264
|
+
|
|
265
|
+

|
|
266
|
+
|
|
267
|
+
### Load the visible region
|
|
268
|
+
|
|
269
|
+
Drag the scrollbar to a distant region of 1,000,000 Rows, inspect the bounded cache, and change the query. This recording uses a simulated asynchronous source with a 250 ms delay.
|
|
270
|
+
|
|
271
|
+

|
|
272
|
+
|
|
242
273
|
See [automatic height](https://github.com/kim1124/comins-table/blob/main/docs/user/24-auto-row-height.md), [Viewport Datasource](https://github.com/kim1124/comins-table/blob/main/docs/user/25-viewport-datasource.md), and [Tree drag](https://github.com/kim1124/comins-table/blob/main/docs/user/17-tree-grid.md) for examples, defaults, and combination limits.
|
|
243
274
|
|
|
244
275
|
## Column Filtering
|
|
@@ -283,9 +314,11 @@ Virtual List Item activation follows the normal Row selection modifiers. More se
|
|
|
283
314
|
|
|
284
315
|
Set `clipboard` to enable OS keyboard copy. It defaults to `false`, preserving the existing internal copy buffer. With OS copy enabled, the default priority is multiple selected Cells → selected Rows → one selected Cell. Five selected Rows and three selected Cells copy the three Cells while retaining all five selected Rows. Discontiguous Cells produce a TSV rectangle with unselected positions empty; internal paste skips those positions.
|
|
285
316
|
|
|
286
|
-
Call `copySelection("auto" | "cells" | "rows")` from a button or context menu to choose the target explicitly. This Ref method writes to the OS clipboard regardless of the `clipboard` prop, returns `Promise<string | null>`, and rejects if writing is unavailable or denied. Native text editing keeps its own copy behavior. Ctrl/Cmd+V uses the Table's internal buffer
|
|
317
|
+
Call `copySelection("auto" | "cells" | "rows")` from a button or context menu to choose the target explicitly. This Ref method writes to the OS clipboard regardless of the `clipboard` prop, returns `Promise<string | null>`, and rejects if writing is unavailable or denied. Native text editing keeps its own copy behavior. Ctrl/Cmd+V uses the Table's internal buffer by default; enable `clipboardPaste` to import external TSV instead. See the [Clipboard guide](https://github.com/kim1124/comins-table/blob/main/docs/user/09-clipboard.md) for guards, TSV escaping, and loaded-data limits.
|
|
318
|
+
|
|
319
|
+

|
|
287
320
|
|
|
288
|
-
`copyCominsRow`, `copyCominsCell`, and `copyCominsCellRange` read Row or Cell selections. `pasteCominsRow`, `pasteCominsCell`, and `pasteCominsCellRange` apply clipboard data while respecting `props.copyable`, `props.pasteable`, and disabled guards. `fillCominsCellRange`
|
|
321
|
+
`copyCominsRow`, `copyCominsCell`, and `copyCominsCellRange` read Row or Cell selections. `pasteCominsRow`, `pasteCominsCell`, and `pasteCominsCellRange` apply clipboard data while respecting `props.copyable`, `props.pasteable`, and disabled guards. `fillCominsCellRange` accepts a single Cell or rectangular source pattern. Enable `clipboardPaste` for OS TSV paste and `fillHandle` for visual pattern repetition; both default to false and require `cellSelection` and `onChangeData`. Set `cell.parseClipboard` for typed external values, optional `cell.validateFill` for atomic Fill validation, and `onClipboardError` for rejected input. `parseCominsClipboardText` and `pasteCominsText` are available from the root, `/core`, and `/clipboard`. See the [Clipboard guide](https://github.com/kim1124/comins-table/blob/main/docs/user/09-clipboard.md) for limits, guards, native-editor behavior, and `fillSelection("down" | "right")` click alternatives.
|
|
289
322
|
|
|
290
323
|
Use `exportCominsRowsToCsv` and `exportCominsRowsToJson` with the exact rows and export columns the application wants to serialize. Export remains independent of visible pagination, filtering, and selection unless the application passes those rows.
|
|
291
324
|
|
|
@@ -345,7 +378,7 @@ Use the [source repository](https://github.com/kim1124/comins-table) for develop
|
|
|
345
378
|
|
|
346
379
|
Comins Table provides CSR arrays and known-count Viewport range loading. Server-side Row models and built-in server filtering, custom Filter editor renderers, Tree filtering, pivoting, charts, AI assistance, remote Tree loading, hierarchy pagination, Tree Row copy/paste, Tree Grid Row Details, nested managed Details, Firefox, Safari, and SSR are not shipped or supported.
|
|
347
380
|
|
|
348
|
-
The visual fill handle
|
|
381
|
+
The visual fill handle repeats values or selected patterns. Automatic numeric/date series and source clearing on range shrink are not supported. Viewport edits require contiguous loaded Rows and never request missing data.
|
|
349
382
|
|
|
350
383
|
## Development
|
|
351
384
|
|
|
@@ -360,7 +393,7 @@ npm run verify
|
|
|
360
393
|
npm run docs:readme-gif
|
|
361
394
|
```
|
|
362
395
|
|
|
363
|
-
`npm run docs:readme-gif` is a maintainer command that captures the real hidden Playground fixtures and regenerates the overview animation plus
|
|
396
|
+
`npm run docs:readme-gif` is a maintainer command that captures the real hidden Playground fixtures and regenerates the overview animation plus eight detailed feature animations, including TSV paste and Fill Handle, Tree subtree drag, automatic height, and Viewport loading.
|
|
364
397
|
|
|
365
398
|
## Trusted Publishing
|
|
366
399
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
import type { CominsCellAddress, CominsCellRange, CominsRowId, CominsTableState } from "./core";
|
|
3
|
+
/** Private gesture controller. All writes go through the owning Table's batch callback. */
|
|
4
|
+
export declare function useCominsCellFill<TData>(options: {
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
state: CominsTableState<TData>;
|
|
7
|
+
rowIds: readonly CominsRowId[];
|
|
8
|
+
columnIds: readonly string[];
|
|
9
|
+
root: RefObject<HTMLDivElement | null>;
|
|
10
|
+
viewport: RefObject<HTMLDivElement | null>;
|
|
11
|
+
addressAtPoint: (x: number, y: number) => CominsCellAddress | null;
|
|
12
|
+
canUseRange: (range: CominsCellRange) => boolean;
|
|
13
|
+
onFill: (source: CominsCellRange, target: CominsCellRange) => boolean;
|
|
14
|
+
registerGesture: (cleanup: () => void) => void;
|
|
15
|
+
releaseGesture: (cleanup: () => void) => void;
|
|
16
|
+
scrollHorizontal: (delta: number) => void;
|
|
17
|
+
}): {
|
|
18
|
+
fillSelection: (direction: "down" | "right") => boolean;
|
|
19
|
+
preview: CominsCellRange | null;
|
|
20
|
+
isPreview: (address: CominsCellAddress) => boolean;
|
|
21
|
+
handleAddress: CominsCellAddress | null;
|
|
22
|
+
handle: import("react").JSX.Element;
|
|
23
|
+
menu: import("react").JSX.Element | null;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=cell-fill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-fill.d.ts","sourceRoot":"","sources":["../src/cell-fill.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgF,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACrH,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAahG,2FAA2F;AAC3F,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC/B,MAAM,EAAE,SAAS,WAAW,EAAE,CAAC;IAC/B,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,IAAI,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACvC,QAAQ,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC3C,cAAc,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,iBAAiB,GAAG,IAAI,CAAC;IACnE,WAAW,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAC;IACjD,MAAM,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,eAAe,KAAK,OAAO,CAAC;IACtE,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC/C,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;+BAyBmC,MAAM,GAAG,OAAO;;yBAuF3B,iBAAiB;;;;EAqBzC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MAX_CLIPBOARD_CHARACTERS = 1000000;
|
|
2
|
+
export declare const MAX_CLIPBOARD_CELLS = 100000;
|
|
3
|
+
/** Parse plain-text TSV, including spreadsheet quoted tabs, newlines and quotes. */
|
|
4
|
+
export declare function parseCominsClipboardText(text: string): string[][];
|
|
5
|
+
//# sourceMappingURL=clipboard-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard-text.d.ts","sourceRoot":"","sources":["../src/clipboard-text.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,wBAAwB,UAAY,CAAC;AAClD,eAAO,MAAM,mBAAmB,SAAU,CAAC;AAE3C,oFAAoF;AACpF,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,CA+BjE"}
|
package/dist/clipboard.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { copyCominsCell, copyCominsCellRange, copyCominsRow, fillCominsCellRange, pasteCominsCell, pasteCominsCellRange, pasteCominsRow, } from "./core";
|
|
1
|
+
export { copyCominsCell, copyCominsCellRange, copyCominsRow, fillCominsCellRange, pasteCominsCell, pasteCominsCellRange, pasteCominsRow, pasteCominsText, parseCominsClipboardText, } from "./core";
|
|
2
2
|
export type { CominsClipboardGuard, CominsCopiedCell, CominsCopiedCellRange, CominsCopiedCellRangeCell, CominsCopiedRow, CominsFillCellRangeOptions, CominsPasteRowOptions, } from "./core";
|
|
3
3
|
//# sourceMappingURL=clipboard.d.ts.map
|
package/dist/clipboard.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../src/clipboard.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,cAAc,
|
|
1
|
+
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../src/clipboard.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,wBAAwB,GACzB,MAAM,QAAQ,CAAC;AAChB,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,QAAQ,CAAC"}
|
package/dist/clipboard.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { F as e, M as t, N as n, P as r, c as i, o as a, p as o, rt as s, s as c } from "./core-C1tlvY8Q.js";
|
|
2
|
+
export { a as copyCominsCell, c as copyCominsCellRange, i as copyCominsRow, o as fillCominsCellRange, s as parseCominsClipboardText, t as pasteCominsCell, n as pasteCominsCellRange, r as pasteCominsRow, e as pasteCominsText };
|
package/dist/column-filter.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type CominsColumnFilterKind, type CominsColumnFilterRule, type CominsNormalizedColumnFilterRule } from "./filtering";
|
|
2
|
-
export declare function CominsColumnFilterControl<TData>({ columnId, columnLabel, kind, onChangeRule, onOpenChange, open, rule, }: {
|
|
2
|
+
export declare function CominsColumnFilterControl<TData>({ columnId, columnLabel, kind, getPortalContainer, onChangeRule, onOpenChange, open, rule, }: {
|
|
3
3
|
columnId: string;
|
|
4
4
|
columnLabel: string;
|
|
5
5
|
kind: CominsColumnFilterKind;
|
|
6
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
6
7
|
onChangeRule?: (rule: CominsColumnFilterRule | null) => void;
|
|
7
8
|
onOpenChange?: (columnId: string | null) => void;
|
|
8
9
|
open: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-filter.d.ts","sourceRoot":"","sources":["../src/column-filter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"column-filter.d.ts","sourceRoot":"","sources":["../src/column-filter.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEL,KAAK,sBAAsB,EAE3B,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACtC,MAAM,aAAa,CAAC;AAgErB,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,EAC/C,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,IAAI,EACJ,IAAI,GACL,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7D,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,gCAAgC,CAAC,KAAK,CAAC,CAAC;CAChD,+BAgTA"}
|