@ishibashi0112/spreadsheet-grid 1.9.0 → 1.10.0
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/API_REFERENCE.md +141 -21
- package/README.md +2 -2
- package/dist/CellEditorLayer.d.ts +2 -1
- package/dist/GridShell.d.ts +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/editors/DateCellEditor.d.ts +2 -1
- package/dist/editors/NumberCellEditor.d.ts +2 -1
- package/dist/editors/SearchSelectCellEditor.d.ts +2 -1
- package/dist/editors/SelectCellEditor.d.ts +2 -1
- package/dist/editors/TextCellEditor.d.ts +2 -1
- package/dist/features/excelShortcuts.d.ts +2 -0
- package/dist/features/newRow.d.ts +2 -0
- package/dist/features/types.d.ts +5 -0
- package/dist/hooks/useGridClipboardController.d.ts +1 -0
- package/dist/hooks/useGridStore.d.ts +1 -1
- package/dist/index.cjs +11 -9
- package/dist/index.js +3248 -3025
- package/dist/lite/CopyRangeOverlay-BrCXRBtd.js +23 -0
- package/dist/lite/CopyRangeOverlay-CJGp8xo5.cjs +1 -0
- package/dist/lite/createSpreadsheetGrid-BWZbBB_j.js +5065 -0
- package/dist/lite/createSpreadsheetGrid-fhnxS5bQ.cjs +11 -0
- package/dist/lite/createSpreadsheetGrid.cjs +1 -1
- package/dist/lite/createSpreadsheetGrid.js +1 -1
- package/dist/lite/features/excelShortcuts.cjs +1 -0
- package/dist/lite/features/excelShortcuts.js +5 -0
- package/dist/lite/features/motionExtras.cjs +1 -1
- package/dist/lite/features/motionExtras.js +1 -1
- package/dist/lite/features/newRow.cjs +1 -0
- package/dist/lite/features/newRow.js +11 -0
- package/dist/lite/features/rowDrag.cjs +1 -1
- package/dist/lite/features/rowDrag.js +1 -1
- package/dist/lite/features/selectSearch.cjs +1 -1
- package/dist/lite/features/selectSearch.js +1 -1
- package/dist/lite/motionExtras-CZvGdgRi.js +26 -0
- package/dist/lite/motionExtras-Cz6DeWVG.cjs +1 -0
- package/dist/lite/{rowDrag-Bb1xlVXa.cjs → rowDrag--lPuW0-D.cjs} +1 -1
- package/dist/lite/{rowDrag-Dvg4JlGR.js → rowDrag-DVqgwSaj.js} +2 -1
- package/dist/lite/selectSearch-CMNy2EOi.cjs +1 -0
- package/dist/lite/{selectSearch-B1OSCMbw.js → selectSearch-DmFm5bXg.js} +51 -38
- package/dist/lite.cjs +1 -1
- package/dist/lite.d.ts +2 -0
- package/dist/lite.js +18 -16
- package/dist/model/gridTypes.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/style.layer.css +1 -1
- package/dist/view/GridBodyLayer.d.ts +9 -1
- package/package.json +2 -2
- package/skills/spreadsheet-grid/SKILL.md +5 -2
- package/dist/lite/createSpreadsheetGrid-B8ove8hh.js +0 -4857
- package/dist/lite/createSpreadsheetGrid-M3WJSRoB.cjs +0 -9
- package/dist/lite/motionExtras-aDs-d_Qv.cjs +0 -1
- package/dist/lite/motionExtras-pdhFC4q1.js +0 -46
- package/dist/lite/selectSearch-BIeA4Xhg.cjs +0 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { cx as e } from "@ishibashi0112/spreadsheet-grid-core/internal/logic/cx";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/CopyRangeOverlay.tsx
|
|
4
|
+
function n({ rect: n, headerHeight: r, leadingWidth: i, baseOffset: a = 0, slot: o }) {
|
|
5
|
+
if (!n) return null;
|
|
6
|
+
let s = {
|
|
7
|
+
position: "absolute",
|
|
8
|
+
left: i + n.left,
|
|
9
|
+
top: r + n.top - a,
|
|
10
|
+
width: n.width,
|
|
11
|
+
height: n.height
|
|
12
|
+
};
|
|
13
|
+
return /* @__PURE__ */ t("div", {
|
|
14
|
+
className: e("ssg-copy-range-overlay", o?.className),
|
|
15
|
+
style: {
|
|
16
|
+
...o?.style,
|
|
17
|
+
...s
|
|
18
|
+
},
|
|
19
|
+
"data-ssg-copy-range": ""
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { n as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e=require("@ishibashi0112/spreadsheet-grid-core/internal/logic/cx"),t=require("react/jsx-runtime");function n({rect:n,headerHeight:r,leadingWidth:i,baseOffset:a=0,slot:o}){if(!n)return null;let s={position:`absolute`,left:i+n.left,top:r+n.top-a,width:n.width,height:n.height};return(0,t.jsx)(`div`,{className:(0,e.cx)(`ssg-copy-range-overlay`,o?.className),style:{...o?.style,...s},"data-ssg-copy-range":``})}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|