@leankylin-sheet/react 2.0.13 → 2.0.15

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.
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ declare const CellOptions: React.FC;
4
+ export default CellOptions;
@@ -2,6 +2,7 @@ import { api, Cell, Context, Op, Range, Selection, Presence, Settings, SingleRan
2
2
  import { RefValues, SetContextOptions } from "../../context";
3
3
  export declare function generateAPIs(context: Context, setContext: (recipe: (ctx: Context) => void, options?: SetContextOptions) => void, handleUndo: () => void, handleRedo: () => void, settings: Required<Settings>, cellInput: HTMLDivElement | null, scrollbarX: HTMLDivElement | null, scrollbarY: HTMLDivElement | null, refs: RefValues): {
4
4
  getRefs: () => RefValues;
5
+ setCellOptions: (cellOptions: Context["cellOptions"]) => void;
5
6
  applyOp: (ops: Op[]) => void;
6
7
  createFilter: () => void;
7
8
  getCellValue: (row: number, column: number, options?: api.CommonOptions & {
@@ -10,6 +10,7 @@ type AdditionalProps = {
10
10
  };
11
11
  declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalProps & React.RefAttributes<{
12
12
  getRefs: () => RefValues;
13
+ setCellOptions: (cellOptions: import("@leankylin-sheet/core").CellOptions) => void;
13
14
  applyOp: (ops: Op[]) => void;
14
15
  createFilter: () => void;
15
16
  getCellValue: (row: number, column: number, options?: import("@leankylin-sheet/core/dist/api").CommonOptions & {
package/dist/index.css CHANGED
@@ -1990,6 +1990,12 @@ html::-webkit-scrollbar-button {
1990
1990
  .condition-rules-project-input {
1991
1991
  margin: 0px 6px;
1992
1992
  }
1993
+ .leankylin-cell-option{
1994
+ position: absolute;
1995
+ left: 0;
1996
+ top:0;
1997
+ z-index: 1;
1998
+ }
1993
1999
  .leankylin-toolbar {
1994
2000
  display: flex;
1995
2001
  flex-direction: row;
@@ -1990,6 +1990,12 @@ html::-webkit-scrollbar-button {
1990
1990
  .condition-rules-project-input {
1991
1991
  margin: 0px 6px;
1992
1992
  }
1993
+ .leankylin-cell-option{
1994
+ position: absolute;
1995
+ left: 0;
1996
+ top:0;
1997
+ z-index: 1;
1998
+ }
1993
1999
  .leankylin-toolbar {
1994
2000
  display: flex;
1995
2001
  flex-direction: row;