@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.
Files changed (53) hide show
  1. package/API_REFERENCE.md +141 -21
  2. package/README.md +2 -2
  3. package/dist/CellEditorLayer.d.ts +2 -1
  4. package/dist/GridShell.d.ts +1 -1
  5. package/dist/common.d.ts +1 -1
  6. package/dist/editors/DateCellEditor.d.ts +2 -1
  7. package/dist/editors/NumberCellEditor.d.ts +2 -1
  8. package/dist/editors/SearchSelectCellEditor.d.ts +2 -1
  9. package/dist/editors/SelectCellEditor.d.ts +2 -1
  10. package/dist/editors/TextCellEditor.d.ts +2 -1
  11. package/dist/features/excelShortcuts.d.ts +2 -0
  12. package/dist/features/newRow.d.ts +2 -0
  13. package/dist/features/types.d.ts +5 -0
  14. package/dist/hooks/useGridClipboardController.d.ts +1 -0
  15. package/dist/hooks/useGridStore.d.ts +1 -1
  16. package/dist/index.cjs +11 -9
  17. package/dist/index.js +3248 -3025
  18. package/dist/lite/CopyRangeOverlay-BrCXRBtd.js +23 -0
  19. package/dist/lite/CopyRangeOverlay-CJGp8xo5.cjs +1 -0
  20. package/dist/lite/createSpreadsheetGrid-BWZbBB_j.js +5065 -0
  21. package/dist/lite/createSpreadsheetGrid-fhnxS5bQ.cjs +11 -0
  22. package/dist/lite/createSpreadsheetGrid.cjs +1 -1
  23. package/dist/lite/createSpreadsheetGrid.js +1 -1
  24. package/dist/lite/features/excelShortcuts.cjs +1 -0
  25. package/dist/lite/features/excelShortcuts.js +5 -0
  26. package/dist/lite/features/motionExtras.cjs +1 -1
  27. package/dist/lite/features/motionExtras.js +1 -1
  28. package/dist/lite/features/newRow.cjs +1 -0
  29. package/dist/lite/features/newRow.js +11 -0
  30. package/dist/lite/features/rowDrag.cjs +1 -1
  31. package/dist/lite/features/rowDrag.js +1 -1
  32. package/dist/lite/features/selectSearch.cjs +1 -1
  33. package/dist/lite/features/selectSearch.js +1 -1
  34. package/dist/lite/motionExtras-CZvGdgRi.js +26 -0
  35. package/dist/lite/motionExtras-Cz6DeWVG.cjs +1 -0
  36. package/dist/lite/{rowDrag-Bb1xlVXa.cjs → rowDrag--lPuW0-D.cjs} +1 -1
  37. package/dist/lite/{rowDrag-Dvg4JlGR.js → rowDrag-DVqgwSaj.js} +2 -1
  38. package/dist/lite/selectSearch-CMNy2EOi.cjs +1 -0
  39. package/dist/lite/{selectSearch-B1OSCMbw.js → selectSearch-DmFm5bXg.js} +51 -38
  40. package/dist/lite.cjs +1 -1
  41. package/dist/lite.d.ts +2 -0
  42. package/dist/lite.js +18 -16
  43. package/dist/model/gridTypes.d.ts +2 -0
  44. package/dist/style.css +1 -1
  45. package/dist/style.layer.css +1 -1
  46. package/dist/view/GridBodyLayer.d.ts +9 -1
  47. package/package.json +2 -2
  48. package/skills/spreadsheet-grid/SKILL.md +5 -2
  49. package/dist/lite/createSpreadsheetGrid-B8ove8hh.js +0 -4857
  50. package/dist/lite/createSpreadsheetGrid-M3WJSRoB.cjs +0 -9
  51. package/dist/lite/motionExtras-aDs-d_Qv.cjs +0 -1
  52. package/dist/lite/motionExtras-pdhFC4q1.js +0 -46
  53. 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}});