comins-table 0.1.2 → 0.1.3
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 +7 -0
- package/README.md +110 -108
- package/dist/column-pointer.d.ts +9 -0
- package/dist/column-pointer.d.ts.map +1 -0
- package/dist/component-renderer.d.ts +8 -2
- package/dist/component-renderer.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +860 -822
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/styles.css +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.1.3 - 2026-07-22
|
|
6
|
+
|
|
7
|
+
- Added 6-pixel mouse Header reorder activation with source placeholder, ghost, target marker, vertical-intent cancellation, and preserved non-mouse long-press compatibility.
|
|
8
|
+
- Connected Virtual List Item and More activation to owning Row selection, preserved More keyboard focus, and suppressed invalid column-layout callback emissions.
|
|
9
|
+
- Added a consumer-first README and real-product animated preview covering sorting, column reorder, Virtual List selection, Summary Row, and Tree Grid interaction.
|
|
10
|
+
- Expanded focused browser and documentation regression coverage for the shipped interaction and README contracts.
|
|
11
|
+
|
|
5
12
|
## 0.1.2 - 2026-07-22
|
|
6
13
|
|
|
7
14
|
- Extended Summary Row with descriptor-based `colSpan`, aggregate output `format`, and row or cell `className` and `style`.
|
package/README.md
CHANGED
|
@@ -1,14 +1,38 @@
|
|
|
1
1
|
# Comins Table
|
|
2
2
|
|
|
3
|
-
Comins Table is a controlled React data table for data-heavy application screens
|
|
3
|
+
Comins Table is a controlled React data table for data-heavy application screens, with virtualized rendering, precise selection, movable headers, Summary Row aggregation, Tree Grid data, built-in component cells, and framework-independent core helpers.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/comins-table)
|
|
6
|
+
[](https://www.npmjs.com/package/comins-table)
|
|
7
|
+
[](https://github.com/kim1124/comins-table/actions/workflows/verify.yml)
|
|
8
|
+
[](LICENSE)
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+

|
|
8
11
|
|
|
9
|
-
Comins Table
|
|
12
|
+
## Why Comins Table
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
| Area | Shipped capabilities |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| Controlled data | Application-owned `data`, CRUD helpers, `onChangeData`, pagination, sorting, and layout callbacks |
|
|
17
|
+
| Rendering and scale | Fixed-height virtualization with a tested 100,000-row route, infinite scroll, append-mode lazy loading, loading, and empty states |
|
|
18
|
+
| Interaction | Accessible Header sorting, resize, 6-pixel horizontal column reorder with source placeholder, Row and Cell selection, ranges, clipboard, and context menu callbacks |
|
|
19
|
+
| Data structure | Summary Row count/sum/avg/min/max/custom aggregation, `colSpan`, `format`, style/class hooks, and controlled Tree Grid expand/fold |
|
|
20
|
+
| Custom UI | Cell/Header renderers, built-in button/input/checkbox/radio/select/toggle/progress/menu/Virtual List components, and CSS-variable themes |
|
|
21
|
+
|
|
22
|
+
Comins Table is standalone and does not wrap another table or grid implementation.
|
|
23
|
+
|
|
24
|
+
## Support
|
|
25
|
+
|
|
26
|
+
| Surface | Support |
|
|
27
|
+
| --- | --- |
|
|
28
|
+
| React | `>=18.0.0 <20.0.0` |
|
|
29
|
+
| React DOM | `>=18.0.0 <20.0.0` |
|
|
30
|
+
| TypeScript | Declarations bundled with every JavaScript entry point; CSS available through the stylesheet export |
|
|
31
|
+
| Chrome and Edge | Current stable Chromium-based releases |
|
|
32
|
+
| Automated browser gate | Playwright-bundled Chromium |
|
|
33
|
+
| Firefox and Safari | Outside the supported contract until Firefox and WebKit projects are added |
|
|
34
|
+
| SSR | Client boundary required; server rendering is not currently supported |
|
|
35
|
+
| Runtime network behavior | No package-owned requests, remote assets, telemetry, or error reporting |
|
|
12
36
|
|
|
13
37
|
## Installation
|
|
14
38
|
|
|
@@ -21,27 +45,7 @@ import { CominsTable, type CominsTableColumn } from "comins-table";
|
|
|
21
45
|
import "comins-table/styles.css";
|
|
22
46
|
```
|
|
23
47
|
|
|
24
|
-
React and React DOM are peer dependencies
|
|
25
|
-
|
|
26
|
-
| Package | Version |
|
|
27
|
-
| --- | --- |
|
|
28
|
-
| `react` | `>=18.0.0 <20.0.0` |
|
|
29
|
-
| `react-dom` | `>=18.0.0 <20.0.0` |
|
|
30
|
-
|
|
31
|
-
## Runtime Boundary
|
|
32
|
-
|
|
33
|
-
Comins Table is browser UI. Its package source does not make network requests, load remote assets, collect telemetry, or send error reports. Server rendering is not yet a supported integration contract; use an application client boundary where SSR is present.
|
|
34
|
-
|
|
35
|
-
## Supported Platforms
|
|
36
|
-
|
|
37
|
-
| Surface | Support |
|
|
38
|
-
| --- | --- |
|
|
39
|
-
| React | `>=18.0.0 <20.0.0` |
|
|
40
|
-
| React DOM | `>=18.0.0 <20.0.0` |
|
|
41
|
-
| Chrome and Edge | Current stable Chromium-based releases |
|
|
42
|
-
| Automated browser gate | Playwright-bundled Chromium |
|
|
43
|
-
| Firefox and Safari | Not in the supported contract until Firefox and WebKit projects are added |
|
|
44
|
-
| SSR | Client boundary required; server rendering is not currently supported |
|
|
48
|
+
React and React DOM are peer dependencies. Import `comins-table/styles.css` when the default table shell, themes, and built-in component skin are required.
|
|
45
49
|
|
|
46
50
|
## Quick Start
|
|
47
51
|
|
|
@@ -73,7 +77,7 @@ const columns: Array<CominsTableColumn<UserRow>> = [
|
|
|
73
77
|
|
|
74
78
|
export function UsersTable() {
|
|
75
79
|
const [data, setData] = useState<UserRow[]>([
|
|
76
|
-
{ active: true, age: 31, id: "u-1", name: "
|
|
80
|
+
{ active: true, age: 31, id: "u-1", name: "Example user", role: "Admin" },
|
|
77
81
|
]);
|
|
78
82
|
|
|
79
83
|
return (
|
|
@@ -89,11 +93,17 @@ export function UsersTable() {
|
|
|
89
93
|
}
|
|
90
94
|
```
|
|
91
95
|
|
|
92
|
-
##
|
|
96
|
+
## Controlled Model
|
|
97
|
+
|
|
98
|
+
Comins Table is a CSR-focused controlled component for application-owned data. The application owns the `data` array.
|
|
99
|
+
|
|
100
|
+
Only `onChangeData` requires application write-back. It emits the next flat Row array or Tree Grid node array after table-owned mutations; pass that array back through `data` to retain the change.
|
|
93
101
|
|
|
94
|
-
|
|
102
|
+
Selection, column layout, and sort are internal view state. `onChangeSelection`, `onChangeColumnLayout`, and `onChangeSort` observe those changes so an application can coordinate or persist them externally; the table updates the corresponding view state even when a callback is omitted.
|
|
95
103
|
|
|
96
|
-
|
|
104
|
+
Where restoration is supported, use the supported Ref API: `setSelectedRow` and `setSelectedRows` restore Row selection by visible index, `setColumnLayout` restores layout, and `setSortState` and `clearSort` restore or clear sorting. `getColumnLayout` and `getSortState` read the current layout and sort state.
|
|
105
|
+
|
|
106
|
+
## Package Entry Points
|
|
97
107
|
|
|
98
108
|
| Import | Purpose |
|
|
99
109
|
| --- | --- |
|
|
@@ -103,66 +113,57 @@ The root export includes `CominsTable`, public types, and core helpers. Narrower
|
|
|
103
113
|
| `comins-table/selection` | Selection helper subset |
|
|
104
114
|
| `comins-table/styles.css` | Optional table shell, theme, and built-in component skin |
|
|
105
115
|
|
|
106
|
-
|
|
107
|
-
import {
|
|
108
|
-
addCominsRows,
|
|
109
|
-
applyCominsColumnLayout,
|
|
110
|
-
copyCominsCellRange,
|
|
111
|
-
createCominsTableState,
|
|
112
|
-
deleteCominsRows,
|
|
113
|
-
exportCominsRowsToCsv,
|
|
114
|
-
exportCominsRowsToJson,
|
|
115
|
-
fillCominsCellRange,
|
|
116
|
-
pasteCominsCellRange,
|
|
117
|
-
queryCominsRows,
|
|
118
|
-
selectCell,
|
|
119
|
-
selectCellRange,
|
|
120
|
-
selectRow,
|
|
121
|
-
serializeCominsColumnLayout,
|
|
122
|
-
setCominsPagination,
|
|
123
|
-
setCominsSortState,
|
|
124
|
-
updateCominsRows,
|
|
125
|
-
} from "comins-table/core";
|
|
126
|
-
```
|
|
116
|
+
## Header And Layout
|
|
127
117
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
118
|
+
Sortable headers support pointer and keyboard activation and expose `aria-sort`. Columns support width constraints and resize interactions.
|
|
119
|
+
|
|
120
|
+
A left-button mouse interaction activates column movement after a 6-pixel horizontal drag, provided horizontal movement remains greater than vertical movement. The source becomes a source placeholder while a ghost and target marker show the proposed move. Pointer Up commits only over a valid target; vertical intent, pointer cancellation, `Escape`, and window blur cancel the pending move. Non-mouse pointers retain one-second long-press compatibility. Parent header groups move their children as one block.
|
|
121
|
+
|
|
122
|
+
Use `getColumnLayout()` and `setColumnLayout()` through the Ref API, or `serializeCominsColumnLayout()` and `applyCominsColumnLayout()` from `comins-table/core`, to persist and restore order, widths, and visibility.
|
|
123
|
+
|
|
124
|
+
## Rows, Cells, And Selection
|
|
125
|
+
|
|
126
|
+
Rows expose click, double-click, keyboard, and context-menu callbacks. Cells expose the corresponding Cell callbacks plus `format`, `renderer`, and props hooks.
|
|
127
|
+
|
|
128
|
+
A normal Row interaction selects one Row, `Ctrl`/`Cmd` toggles a Row, and `Shift` extends the visible Row range from the selection anchor. Cell selection supports a single Cell, `Ctrl`/`Cmd` multi-selection, and `Shift` or pointer-drag ranges. Built-in component interactions remain isolated from `onClickCell` and `onClickRow` callback payloads so component actions do not also trigger the owning Cell or Row action.
|
|
129
|
+
|
|
130
|
+
## Virtualization And Loading
|
|
131
|
+
|
|
132
|
+
Set `virtualized`, `rowHeight`, and `"buffer-size"` for fixed-height windowed rendering. The performance Playground includes a tested 100,000-row route while keeping only the current window and buffer mounted.
|
|
133
|
+
|
|
134
|
+
`infiniteScroll` requests application-owned append loading near the body viewport boundary. `lazyLoad` supports asynchronous append-mode batches with an `AbortSignal`. When `loading` is true, an empty table renders skeleton Rows and a populated table keeps its Rows visible under a loading overlay. `emptyComponent` controls the no-data content.
|
|
135
|
+
|
|
136
|
+
## Summary Row
|
|
137
|
+
|
|
138
|
+
See the [Summary Row guide](https://github.com/kim1124/comins-table/blob/main/docs/user/18-summary-row.md) and run the [`/examples/summary-row`](http://127.0.0.1:4002/examples/summary-row) Playground route.
|
|
139
|
+
|
|
140
|
+
Configure `summary.columns` with built-in `count`, `sum`, `avg`, `min`, and `max` aggregation or a custom aggregator. The object form supports visible-column `colSpan`, post-aggregation `format`, and per-cell `className` and `style`; `summary.className` and `summary.style` apply to the footer Row.
|
|
141
|
+
|
|
142
|
+
## Tree Grid
|
|
143
|
+
|
|
144
|
+
See the [Tree Grid guide](https://github.com/kim1124/comins-table/blob/main/docs/user/17-tree-grid.md) and run the [`/examples/tree-grid`](http://127.0.0.1:4002/examples/tree-grid) Playground route.
|
|
145
|
+
|
|
146
|
+
Set `tree` and provide controlled `{ item, expand, children }` nodes. `defaultExpandAll` supplies the initial fallback expansion state and defaults to `true`; explicit node state wins. `expand(nodeIds?)` and `fold(nodeIds?)` update multiple node ids, while an omitted argument targets every branch and an empty array is a no-op. Descendant-only expansion is blocked while an ancestor remains folded unless both ids are included in the same call.
|
|
147
|
+
|
|
148
|
+
Tree Grid reuses `cell.components` and `cell.renderer`, so component cells and custom React renderers work against each node's `item`. The Tree Grid Playground includes an exactly 10,000-node virtual example.
|
|
149
|
+
|
|
150
|
+
## Components And Renderers
|
|
151
|
+
|
|
152
|
+
Cell components include `button`, `input`, `checkbox`, `radio`, `select`, `toggle`, `progress`, and `virtual-list`; Header components also support `menu`. Use `cell.renderer` or `header.renderer` when the built-in component types are not sufficient.
|
|
153
|
+
|
|
154
|
+
Virtual List Item activation follows the normal Row selection modifiers. More selects its owning Row exclusively before expanding the virtualized list. Search is available only while exactly one Row is selected. Keyboard activation keeps the More button focused after expansion. Item and More actions remain isolated from the Row and Cell click callbacks.
|
|
155
|
+
|
|
156
|
+
## Clipboard And Export
|
|
157
|
+
|
|
158
|
+
`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` remains a framework-independent core helper; no visual fill handle is presented as shipped UI.
|
|
159
|
+
|
|
160
|
+
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.
|
|
161
|
+
|
|
162
|
+
## Styling And Themes
|
|
163
|
+
|
|
164
|
+
The package stylesheet exposes module-local `--comins-table-*` CSS variables and does not apply a global reset. The six shipped theme classes are `comins-table-theme--basic`, `comins-table-theme--dark`, `comins-table-theme--skyblue`, `comins-table-theme--mint`, `comins-table-theme--gray`, and `comins-table-theme--orange`.
|
|
165
|
+
|
|
166
|
+
Use `theme.className`, `theme.style`, Row class/style hooks, Cell props, and renderer output for application-specific presentation. Keep virtualized `rowHeight` aligned with `--comins-table-row-height` when overriding height tokens.
|
|
166
167
|
|
|
167
168
|
## Ref API
|
|
168
169
|
|
|
@@ -183,14 +184,7 @@ tableRef.current?.expand(); // all Tree Grid branches
|
|
|
183
184
|
tableRef.current?.fold(); // all Tree Grid branches
|
|
184
185
|
```
|
|
185
186
|
|
|
186
|
-
`setSelectedRow`, `setSelectedRows`, and `setMoveTargetRow` use the visible
|
|
187
|
-
`expand(nodeIds?)` and `fold(nodeIds?)` accept readonly Tree Grid node-id arrays. Omitting the array targets every branch; an empty array is a no-op. A folded ancestor blocks descendant-only expansion unless both ids are included in the same call. Flat tables ignore these methods.
|
|
188
|
-
|
|
189
|
-
## Documentation
|
|
190
|
-
|
|
191
|
-
English user documentation starts at `docs/user/01-quick-start.md`. Detailed Tree Grid and Summary Row contracts are in `docs/user/17-tree-grid.md` and `docs/user/18-summary-row.md`.
|
|
192
|
-
|
|
193
|
-
The previous Korean documentation is preserved under `docs/ko/` as secondary documentation while the public package moves to English-first docs.
|
|
187
|
+
`setSelectedRow`, `setSelectedRows`, and `setMoveTargetRow` use the visible Row index after current sorting and pagination. `getColumnLayout`, `setColumnLayout`, `getSortState`, `setSortState`, and `clearSort` read and update the current Header view state. `expand(nodeIds?)` and `fold(nodeIds?)` accept readonly Tree Grid node-id arrays; flat tables ignore them.
|
|
194
188
|
|
|
195
189
|
## Playground
|
|
196
190
|
|
|
@@ -198,7 +192,19 @@ The previous Korean documentation is preserved under `docs/ko/` as secondary doc
|
|
|
198
192
|
npm run dev
|
|
199
193
|
```
|
|
200
194
|
|
|
201
|
-
The
|
|
195
|
+
The local Playground starts at [`/docs/getting-started`](http://127.0.0.1:4002/docs/getting-started). Key routes include [`/examples/summary-row`](http://127.0.0.1:4002/examples/summary-row), [`/examples/tree-grid`](http://127.0.0.1:4002/examples/tree-grid), [`/examples/component`](http://127.0.0.1:4002/examples/component), and [`/performance/virtualization`](http://127.0.0.1:4002/performance/virtualization).
|
|
196
|
+
|
|
197
|
+
## Documentation
|
|
198
|
+
|
|
199
|
+
Start with the [English Quick Start](https://github.com/kim1124/comins-table/blob/main/docs/user/01-quick-start.md), then browse [all English feature guides](https://github.com/kim1124/comins-table/tree/main/docs/user). The detailed [Tree Grid](https://github.com/kim1124/comins-table/blob/main/docs/user/17-tree-grid.md) and [Summary Row](https://github.com/kim1124/comins-table/blob/main/docs/user/18-summary-row.md) contracts include runnable examples and edge cases. [Korean guides](https://github.com/kim1124/comins-table/tree/main/docs/ko) are retained as secondary documentation.
|
|
200
|
+
|
|
201
|
+
Use the [source repository](https://github.com/kim1124/comins-table) for development context, review the [changelog](https://github.com/kim1124/comins-table/blob/main/CHANGELOG.md) for version history, and follow the [security policy](https://github.com/kim1124/comins-table/blob/main/SECURITY.md) for vulnerability reporting.
|
|
202
|
+
|
|
203
|
+
## Current Boundaries
|
|
204
|
+
|
|
205
|
+
Comins Table currently ships a CSR controlled data model. Server-side Row models, Row grouping, pivoting, charts, AI assistance, remote Tree loading, hierarchy pagination, Tree Row drag, Tree Row copy/paste, Firefox, Safari, and SSR are not shipped or supported. Flat Row Expand details and master/detail layouts also remain outside the current package contract.
|
|
206
|
+
|
|
207
|
+
The visual fill handle is not shipped or supported. `fillCominsCellRange` remains available as a core helper without a drag-handle UI.
|
|
202
208
|
|
|
203
209
|
## Development
|
|
204
210
|
|
|
@@ -208,17 +214,13 @@ npm run test:run
|
|
|
208
214
|
npm run build
|
|
209
215
|
npm run test:e2e
|
|
210
216
|
npm run test:perf -- --workers=1
|
|
211
|
-
npm
|
|
217
|
+
npm run test:consumer
|
|
218
|
+
npm run verify
|
|
219
|
+
npm run docs:readme-gif
|
|
212
220
|
```
|
|
213
221
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
`comins-table` does not yet exist on the npm registry. npm cannot register trusted or staged publishing for a brand-new package, so the first public version must be published interactively by the maintainer with npm 2FA and without an automation token.
|
|
217
|
-
|
|
218
|
-
After that bootstrap publication, register `kim1124/comins-table`, `publish.yml`, and the `npm` environment as the trusted publisher. Allow only `npm stage publish`, disallow token publishing, and require maintainer 2FA approval for every staged version. The repository workflow is intentionally manual and refuses non-`main` refs, mismatched versions, and missing bootstrap packages.
|
|
219
|
-
|
|
220
|
-
## Current Scope
|
|
222
|
+
`npm run docs:readme-gif` is a maintainer command that captures the real hidden Playground fixture and regenerates the checked-in README animation.
|
|
221
223
|
|
|
222
|
-
|
|
224
|
+
## Trusted Publishing
|
|
223
225
|
|
|
224
|
-
|
|
226
|
+
The package bootstrap is complete. Trusted publishing for later versions uses the manual `publish.yml` OIDC trusted publisher and `npm stage publish` through the protected `npm` environment. The workflow builds one exact package artifact, verifies and scans that artifact before staging, and requires maintainer approval before public publication. Token-based publication is not part of this release path.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const COMINS_COLUMN_MOUSE_DRAG_THRESHOLD = 6;
|
|
2
|
+
export type CominsColumnMouseIntent = "activate" | "cancel" | "pending";
|
|
3
|
+
export declare function getCominsColumnMouseIntent({ clientX, clientY, startX, startY, }: {
|
|
4
|
+
clientX: number;
|
|
5
|
+
clientY: number;
|
|
6
|
+
startX: number;
|
|
7
|
+
startY: number;
|
|
8
|
+
}): CominsColumnMouseIntent;
|
|
9
|
+
//# sourceMappingURL=column-pointer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-pointer.d.ts","sourceRoot":"","sources":["../src/column-pointer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,IAAI,CAAC;AAEpD,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AAExE,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,OAAO,EACP,MAAM,EACN,MAAM,GACP,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,uBAAuB,CAa1B"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { CominsCellComponentConfig, CominsCellComponentPayload, CominsHeaderComponentConfig, CominsHeaderComponentPayload } from "./core";
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export type CominsBuiltInComponentInteraction = {
|
|
4
|
+
requestRowSelection?: (request: {
|
|
5
|
+
event: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement>;
|
|
6
|
+
mode: "exclusive" | "row-click";
|
|
7
|
+
}) => boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function renderCominsBuiltInComponent<TData, TValue>(component: CominsCellComponentConfig<TData, TValue>, payload: CominsCellComponentPayload<TData, TValue>, interaction?: CominsBuiltInComponentInteraction): React.ReactNode;
|
|
10
|
+
export declare function renderCominsBuiltInComponent<TData, TValue>(component: CominsHeaderComponentConfig<TData, TValue>, payload: CominsHeaderComponentPayload<TData, TValue>, interaction?: CominsBuiltInComponentInteraction): React.ReactNode;
|
|
5
11
|
//# sourceMappingURL=component-renderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-renderer.d.ts","sourceRoot":"","sources":["../src/component-renderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAG1B,2BAA2B,EAC3B,4BAA4B,EAE7B,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"component-renderer.d.ts","sourceRoot":"","sources":["../src/component-renderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAG1B,2BAA2B,EAC3B,4BAA4B,EAE7B,MAAM,QAAQ,CAAC;AA4vBhB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;QAC9B,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;QACpF,IAAI,EAAE,WAAW,GAAG,WAAW,CAAC;KACjC,KAAK,OAAO,CAAC;CACf,CAAC;AAEF,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,EACxD,SAAS,EAAE,yBAAyB,CAAC,KAAK,EAAE,MAAM,CAAC,EACnD,OAAO,EAAE,0BAA0B,CAAC,KAAK,EAAE,MAAM,CAAC,EAClD,WAAW,CAAC,EAAE,iCAAiC,GAC9C,KAAK,CAAC,SAAS,CAAC;AACnB,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,EACxD,SAAS,EAAE,2BAA2B,CAAC,KAAK,EAAE,MAAM,CAAC,EACrD,OAAO,EAAE,4BAA4B,CAAC,KAAK,EAAE,MAAM,CAAC,EACpD,WAAW,CAAC,EAAE,iCAAiC,GAC9C,KAAK,CAAC,SAAS,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA2C/B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AAEvB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAwB,MAAM,QAAQ,CAAC;AAEnE,OAAO,KAAK,EAKV,kBAAkB,EAKlB,iBAAiB,EACjB,sBAAsB,EAKtB,gBAAgB,EAChB,iBAAiB,EAGjB,qBAAqB,EACrB,WAAW,EACX,oBAAoB,EACpB,eAAe,EAChB,MAAM,QAAQ,CAAC;AAEhB,KAAK,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;AACrE,KAAK,kBAAkB,CAAC,KAAK,EAAE,MAAM,IAAI,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC;AAiC1F,MAAM,MAAM,mBAAmB,CAAC,KAAK,IAAI;IAC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