@sheetxl/grid-react 0.8.0-beta.6 → 0.8.0-beta.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/grid-react",
3
3
  "description": "Grid React - Advanced grid component for React",
4
- "version": "0.8.0-beta.6",
4
+ "version": "0.8.0-beta.7",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -42,8 +42,8 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@floating-ui/react-dom": "^2.1.9",
45
- "@sheetxl/utils": "^0.8.0-beta.6",
46
- "@sheetxl/utils-react": "^0.8.0-beta.6",
45
+ "@sheetxl/utils": "^0.8.0-beta.7",
46
+ "@sheetxl/utils-react": "^0.8.0-beta.7",
47
47
  "clsx": "^2.1.1",
48
48
  "react-merge-refs": "^3.0.2",
49
49
  "react-use": "^17.6.1",
@@ -34,6 +34,11 @@ export interface RangeFloatTarget<T = unknown> {
34
34
  * Defaults to the layer's {@link RangeFloatLayerProps.placement}.
35
35
  */
36
36
  placement?: GridPlacement;
37
+ /**
38
+ * Offset (px) along the edge for this target, for a layer whose offset depends on the anchor (e.g.
39
+ * a fraction of its width). Defaults to the layer's {@link RangeFloatLayerProps.alignOffset}.
40
+ */
41
+ alignOffset?: number;
37
42
  }
38
43
  /** The context passed to a {@link RangeFloatLayerProps} render-prop. */
39
44
  export interface RangeFloatRender<T = unknown> {