@opengrid-ui/arco 0.1.25 → 0.1.38

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/llms.txt +29 -7
  2. package/package.json +1 -1
package/dist/llms.txt CHANGED
@@ -6,11 +6,17 @@ OpenGrid is an MIT-licensed React data grid for CRUD, large local datasets, and
6
6
 
7
7
  ## Install
8
8
 
9
- Releases are distributed as npm-compatible tarballs on GitHub. Install Core and Pro together so the package manager can resolve both packages from the same release.
9
+ Install the Core and Pro packages from npm.
10
10
 
11
11
  ```sh
12
- release=https://github.com/Han-wangyu/opengrid-ui/releases/download/v0.1.25
13
- npm install "$release/opengrid-ui-core-0.1.25.tgz" "$release/opengrid-ui-pro-0.1.25.tgz"
12
+ npm install @opengrid-ui/core @opengrid-ui/pro
13
+ ```
14
+
15
+ GitHub Releases also provides versioned tarballs with SHA-256 checksums.
16
+
17
+ ```sh
18
+ release=https://github.com/Han-wangyu/opengrid-ui/releases/download/v0.1.38
19
+ npm install "$release/opengrid-ui-core-0.1.38.tgz" "$release/opengrid-ui-pro-0.1.38.tgz"
14
20
  ```
15
21
 
16
22
  ```tsx
@@ -35,7 +41,7 @@ export function Invoices() {
35
41
  }
36
42
  ```
37
43
 
38
- For native tokens and scoped tooltips, add the Arco or Ant Design adapter tarball and import its `ProGrid`. Check the [packed React and TypeScript compatibility matrix](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/specs/compat-matrix.spec.md) for peer versions and React 19 setup.
44
+ For native tokens and scoped tooltips, install `@opengrid-ui/arco` or `@opengrid-ui/antd` and import its `ProGrid`. Check the peer versions and React 19 setup in the [packed React and TypeScript compatibility matrix](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/specs/compat-matrix.spec.md).
39
45
 
40
46
  ProGrid automatically sorts and filters local datasets above 5,000 rows in a Worker. Plain pages slice the supplied data directly. The [local query contract](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/specs/pro-crud.spec.md#local-datasets) describes refresh and data ownership.
41
47
 
@@ -96,14 +102,30 @@ The [milestones](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/ROADMA
96
102
 
97
103
  The first virtualizer uses an eight-million-pixel physical scroll track and arithmetic row coordinates. It measures its live viewport and keeps an overscanned window plus a prefetched worker chunk. The reference benchmark runs one engine at a time in Chromium against the production build. The 500,000-row scroll gate captures the sampled renderer JavaScript heap peak in the same trace window as the frame measurements. The public comparison starts both engines on identical datasets and displays each panel's ingestion, paint and sort timings while the two engines share the browser.
98
104
 
105
+ Spreadsheet keyboard navigation reveals the target row within the visible body. Core computes the nearest logical offset from the row's bounds and projects it onto the physical track, accounting for sticky headers and pinned rows.
106
+
107
+ Spreadsheet focus uses the current selection, the last selected position, or the first mounted cell in the visible window. Focus entry can remount a virtualized cell on both axes. Active descendant IDs refer to mounted cells, and pointer focus follows the cell being clicked.
108
+
109
+ Keyboard shortcuts for selecting an entire sheet, row or column preserve the active cell independently of the range endpoints. The focus owner associates the retained cell with the accepted range by its coordinates, including for host-controlled selections.
110
+
111
+ Clipboard copy captures the selected ranges and reads them in bounded windows. Each completed window is encoded as TSV; the browser consumes the text as a single clipboard item. A promised payload lets the clipboard write start during the original user gesture.
112
+
113
+ The starting cell owns pointer capture until a selection or fill drag begins. The grid then takes capture. Edge scrolling computes the logical endpoint from the same geometry that renders fixed and variable rows, scaled tracks, and pinned columns. A drag can cross windows without the original cell staying mounted.
114
+
115
+ For master/detail layouts, the virtualizer retains visual row positions. The spreadsheet indexes the expanded detail positions to move between data rows and to apply clipboard and fill operations in data order.
116
+
99
117
  Core's opt-in column reordering applies sibling preferences to the definitions passed to TanStack. A pointer drag resolves the destination against logical column boxes and holds capture on the header while center columns virtualize. The same sibling rules serve keyboard moves and successive grip activation.
100
118
 
101
119
  The horizontal virtualizer stores column offsets and pin boundaries with the layout. A binary search locates the first visible center column. The mounted leaves identify the grouped headers using a per-pane ancestry index, so horizontal scroll work follows the visible columns, pinned columns and header depth.
102
120
 
121
+ Local [merged cells](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/specs/core-engine.spec.md#merged-cells) use a rectangle index over logical rows and columns. The viewport mounts each intersecting merge once, preserves the anchor used for accessibility and edits, and clips its paint to the scaled track beneath pinned columns.
122
+
103
123
  Pro's committed query is distinct from form drafts and asynchronously restored column preferences. An opt-in saved query read waits up to its configured deadline. The first commit combines the resulting fields with the current URL and controlled props, replaces the history entry, and starts rows and category counts. A single query slot tracks active requests by normalized key, aborts superseded work and checks each generation. A separate slot handles category counts. A pending query intent can receive controlled acknowledgements across renders. The controller keeps its staged fields out of the accepted query until they are all confirmed. Export consumers receive the query corresponding to the last accepted batch of rows. For full-query Excel export, Pro opens a host-provided revision and passes ordered, validated blocks to the workbook handler. The Excel plugin owns file encoding. Migration converters preserve native field paths and emit diagnostics for callbacks with different semantics.
104
124
 
105
125
  Category tabs track keyboard focus within each visible list. The committed query supplies the selected path and labels the shared grid panel. Host changes to the query view and a Pro-owned page reset use a single query commit.
106
126
 
127
+ Each URL-synchronized grid tracks its own decoded query in browser history. Only navigation that changes that query enters the controller's replay path, preserving pending input in other grids on the page.
128
+
107
129
  The query form and the header filter dialog share schema inputs. Header filter edits stay local until an explicit column change. The accepted column value is copied into the query form while its other drafts are preserved. The header dialog mounts in the owning theme container.
108
130
 
109
131
  Pro feeds Core header moves into the same column preference as the toolbar. It reconciles the visible heading tree with the schema's hidden leaves and uses the current visible pin panes for export order.
@@ -118,11 +140,11 @@ The [compute protocol](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/
118
140
 
119
141
  [Selection summaries](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/specs/core-engine.spec.md#selection-summaries) run against Worker views when the spreadsheet uses raw source values. Sheets with custom value projections read bounded blocks and yield between batches of main-thread work.
120
142
 
121
- Enterprise features are explicit imports. Core supports pinned rows, dynamic heights, local cell spans, row drag, trees and nested details. The pivot plugin owns grouping, aggregation, filters and server-side blocks. The Excel plugin owns streamed file IO. The Charts plugin maps a Core spreadsheet selection to a chart adapter's series and categories. The Rust worker shares the JS transaction and viewport contract while providing native numeric sorting, filters and aggregates.
143
+ Enterprise features are explicit imports. Core supports pinned rows, dynamic heights, local cell spans, row drag, trees and nested details. Each nested grid handles its own spreadsheet input. The pivot plugin owns grouping, aggregation, filters and server-side blocks. The Excel plugin indexes the ZIP directory and streams worksheet parts in workbook tab order. Its writer flushes compressed batches against sink backpressure and observes cancellation while waiting on rows or writes. The Charts plugin renders inline sparklines and conditional formats and maps a Core spreadsheet selection to a chart adapter's series and categories. The Rust worker shares the JS transaction and viewport contract while providing native numeric sorting, filters and aggregates.
122
144
 
123
145
  The [server-side tree](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/specs/ssrm.spec.md) keeps a sparse list of spans for the expanded hierarchy. Core reads the requested window through its tree source capability and renders loaded siblings while child blocks resolve. New windows release abandoned requests and reuse in-flight blocks where both windows overlap.
124
146
 
125
- [Pivot and formula sessions](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/specs/analytics.spec.md) use dedicated Workers when their workflows become active. Large pivot views batch numeric reducers through a lazily loaded Rust kernel. JavaScript retains the layout and source-order semantics, the Worker reuses projected columns, and the host applies custom reducers. Formula sessions keep the dependency graph off the main thread and use acknowledged raw values for recovery.
147
+ [Pivot and formula sessions](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/specs/analytics.spec.md) use dedicated Workers when their workflows become active. Large pivot views batch numeric reducers through a lazily loaded Rust kernel. JavaScript retains the layout and source-order semantics, the Worker reuses projected columns, and the host applies custom reducers. Formula sessions keep the dependency graph off the main thread, resume formulas as their references resolve, and use acknowledged raw values for recovery.
126
148
 
127
149
  The pivot session applies filters against its cached projections before aggregation. Sidebar filter drafts stay in the UI until the host applies them. Report-column visibility and order change the rendered columns without a pivot computation.
128
150
 
@@ -141,4 +163,4 @@ The two first-release scenarios are a production-style Pro migration and a 500,0
141
163
 
142
164
  ## First delivery
143
165
 
144
- The published GitHub release supplies the nine installable tarballs and public documentation. The registry publish and an internal rollout are follow-up activities. The [status board](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/progress/STATUS.md) records the evidence for the GitHub gate and the current rollout boundary.
166
+ The nine packages are available from npm and as versioned GitHub release tarballs. The M5 gate checks the deployed documentation and both distribution channels. An internal rollout remains pending. See the [status board](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/progress/STATUS.md) and [publishing workflow](https://github.com/Han-wangyu/opengrid-ui/blob/main/docs/releasing.md).
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@opengrid-ui/arco","version":"0.1.25","license":"MIT","type":"module","repository":{"type":"git","url":"git+https://github.com/Han-wangyu/opengrid-ui.git","directory":"packages/arco"},"files":["dist","LICENSE"],"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"sideEffects":false,"publishConfig":{"access":"public"},"scripts":{"build":"node ../../scripts/build-package.mjs"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0 || ^19.0.0","react-dom":"^17.0.2 || ^18.0.0 || ^19.0.0","@arco-design/web-react":">=2.62.1 <3"},"dependencies":{"@opengrid-ui/pro":"^0.1.25"},"devDependencies":{"@arco-design/web-react":"2.62.1"}}
1
+ {"name":"@opengrid-ui/arco","version":"0.1.38","license":"MIT","type":"module","repository":{"type":"git","url":"git+https://github.com/Han-wangyu/opengrid-ui.git","directory":"packages/arco"},"files":["dist","LICENSE"],"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"sideEffects":false,"publishConfig":{"access":"public"},"scripts":{"build":"node ../../scripts/build-package.mjs"},"peerDependencies":{"react":"^17.0.2 || ^18.0.0 || ^19.0.0","react-dom":"^17.0.2 || ^18.0.0 || ^19.0.0","@arco-design/web-react":">=2.62.1 <3"},"dependencies":{"@opengrid-ui/pro":"^0.1.38"},"devDependencies":{"@arco-design/web-react":"2.62.1"}}