@opengrid-ui/arco 0.1.37 → 0.1.39

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 +6 -2
  2. package/package.json +1 -1
package/dist/llms.txt CHANGED
@@ -15,8 +15,8 @@ npm install @opengrid-ui/core @opengrid-ui/pro
15
15
  GitHub Releases also provides versioned tarballs with SHA-256 checksums.
16
16
 
17
17
  ```sh
18
- release=https://github.com/Han-wangyu/opengrid-ui/releases/download/v0.1.37
19
- npm install "$release/opengrid-ui-core-0.1.37.tgz" "$release/opengrid-ui-pro-0.1.37.tgz"
18
+ release=https://github.com/Han-wangyu/opengrid-ui/releases/download/v0.1.39
19
+ npm install "$release/opengrid-ui-core-0.1.39.tgz" "$release/opengrid-ui-pro-0.1.39.tgz"
20
20
  ```
21
21
 
22
22
  ```tsx
@@ -110,10 +110,14 @@ Keyboard shortcuts for selecting an entire sheet, row or column preserve the act
110
110
 
111
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
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
+
113
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.
114
116
 
115
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.
116
118
 
119
+ Row reorder shares pointer capture and body-edge scrolling with spreadsheet gestures. Its destination follows logical row geometry, including scaled tracks and variable heights. The host receives a move between row IDs and visual positions through `onRowMove`.
120
+
117
121
  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.
118
122
 
119
123
  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.
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@opengrid-ui/arco","version":"0.1.37","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.37"},"devDependencies":{"@arco-design/web-react":"2.62.1"}}
1
+ {"name":"@opengrid-ui/arco","version":"0.1.39","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.39"},"devDependencies":{"@arco-design/web-react":"2.62.1"}}