@sheetxl/react 0.7.21 → 0.7.23
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/browser/cjs/{KLgpeikeRSDp4tUK.cjs → B74ExJOGY_2WF_Nk.cjs} +1 -1
- package/browser/cjs/{Be13sRyTTTUvNIit.cjs → Ct-n32KgF_6BC7g-.cjs} +1 -1
- package/browser/cjs/{n4OQZCE7fVxRfX1r.cjs → DO7GMGTiL67zwKAs.cjs} +1 -1
- package/browser/cjs/index.cjs +11 -11
- package/browser/esm/{EUZRpu3SnHayUDBu.mjs → DQ-SZI5rmXrPbUze.mjs} +1 -1
- package/browser/esm/{ClLcB3xHul5RfTMr.mjs → Ghtgmxu52GqkgYCO.mjs} +1 -1
- package/browser/esm/{Mz1Nj2KbO5FcE969.mjs → eT5cWvBfYZj_Iyje.mjs} +1 -1
- package/browser/esm/index.mjs +428 -431
- package/node/esm/{sKvpUJVdmYl8r9f6.mjs → DJJvpdSDeu0yf-Vy.mjs} +1 -1
- package/node/esm/index.mjs +1339 -1342
- package/package.json +5 -5
- package/types/index.d.ts +32 -80
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/react",
|
|
3
3
|
"description": "React - React components needed to build advanced grid and spreadsheet UIs.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.23",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"@dnd-kit/sortable": "^10.0.0",
|
|
50
50
|
"@dnd-kit/utilities": "^3.2.2",
|
|
51
51
|
"@monaco-editor/react": "^4.6.0",
|
|
52
|
-
"@sheetxl/grid-react": "^0.7.
|
|
53
|
-
"@sheetxl/sdk": "^0.7.
|
|
54
|
-
"@sheetxl/utils": "^0.7.
|
|
55
|
-
"@sheetxl/utils-react": "^0.7.
|
|
52
|
+
"@sheetxl/grid-react": "^0.7.23",
|
|
53
|
+
"@sheetxl/sdk": "^0.7.23",
|
|
54
|
+
"@sheetxl/utils": "^0.7.23",
|
|
55
|
+
"@sheetxl/utils-react": "^0.7.23",
|
|
56
56
|
"clsx": "^2.1.1",
|
|
57
57
|
"monaco-editor-auto-typings": "^0.4.6",
|
|
58
58
|
"react-merge-refs": "^3.0.2",
|
package/types/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { Context } from 'react';
|
|
|
7
7
|
import { CopyPasteProps } from '@sheetxl/utils-react';
|
|
8
8
|
import { CopyPasteResults } from '@sheetxl/utils-react';
|
|
9
9
|
import { default as default_2 } from 'react';
|
|
10
|
-
import { DraggableSyntheticListeners } from '@dnd-kit/core';
|
|
11
10
|
import { EditState } from '@sheetxl/grid-react';
|
|
12
11
|
import { FocusWindowOptions } from '@sheetxl/utils-react';
|
|
13
12
|
import { FrozenEdge } from '@sheetxl/grid-react';
|
|
@@ -63,7 +62,6 @@ import { SelectionProps } from '@sheetxl/grid-react';
|
|
|
63
62
|
import { SelectionResults } from '@sheetxl/grid-react';
|
|
64
63
|
import { StartEditEvent } from '@sheetxl/grid-react';
|
|
65
64
|
import { TopLeft } from '@sheetxl/utils';
|
|
66
|
-
import { Transform } from '@dnd-kit/utilities';
|
|
67
65
|
import { VirtualScrollbarProps } from '@sheetxl/utils-react';
|
|
68
66
|
|
|
69
67
|
export declare interface ActivateFrameOptions {
|
|
@@ -162,27 +160,27 @@ export declare interface BordersOverlayResults {
|
|
|
162
160
|
renderOverlay?: (view: IGridView) => default_2.ReactNode;
|
|
163
161
|
}
|
|
164
162
|
|
|
165
|
-
|
|
163
|
+
/* Excluded from this release type: ChartAreaIcon */
|
|
166
164
|
|
|
167
|
-
|
|
165
|
+
/* Excluded from this release type: ChartAreaStackedIcon */
|
|
168
166
|
|
|
169
|
-
|
|
167
|
+
/* Excluded from this release type: ChartAreaStackedPercentIcon */
|
|
170
168
|
|
|
171
|
-
|
|
169
|
+
/* Excluded from this release type: ChartBarIcon */
|
|
172
170
|
|
|
173
|
-
|
|
171
|
+
/* Excluded from this release type: ChartBarStackedIcon */
|
|
174
172
|
|
|
175
|
-
|
|
173
|
+
/* Excluded from this release type: ChartBarStackedPercentIcon */
|
|
176
174
|
|
|
177
|
-
|
|
175
|
+
/* Excluded from this release type: ChartBubble3DIcon */
|
|
178
176
|
|
|
179
|
-
|
|
177
|
+
/* Excluded from this release type: ChartBubbleIcon */
|
|
180
178
|
|
|
181
|
-
|
|
179
|
+
/* Excluded from this release type: ChartColumnIcon */
|
|
182
180
|
|
|
183
|
-
|
|
181
|
+
/* Excluded from this release type: ChartColumnStackedIcon */
|
|
184
182
|
|
|
185
|
-
|
|
183
|
+
/* Excluded from this release type: ChartColumnStackedPercentIcon */
|
|
186
184
|
|
|
187
185
|
/**
|
|
188
186
|
* Placeholder for chart editors.
|
|
@@ -198,31 +196,31 @@ export declare interface ChartEditorProps extends MovableElementProps {
|
|
|
198
196
|
ref?: default_2.Ref<IChartEditorElement>;
|
|
199
197
|
}
|
|
200
198
|
|
|
201
|
-
|
|
199
|
+
/* Excluded from this release type: ChartLineIcon */
|
|
202
200
|
|
|
203
|
-
|
|
201
|
+
/* Excluded from this release type: ChartLineMarkersIcon */
|
|
204
202
|
|
|
205
|
-
|
|
203
|
+
/* Excluded from this release type: ChartLineStackedIcon */
|
|
206
204
|
|
|
207
|
-
|
|
205
|
+
/* Excluded from this release type: ChartLineStackedMarkersIcon */
|
|
208
206
|
|
|
209
|
-
|
|
207
|
+
/* Excluded from this release type: ChartLineStackedPercentIcon */
|
|
210
208
|
|
|
211
|
-
|
|
209
|
+
/* Excluded from this release type: ChartLineStackedPercentMarkersIcon */
|
|
212
210
|
|
|
213
|
-
|
|
211
|
+
/* Excluded from this release type: ChartPieDoughnutIcon */
|
|
214
212
|
|
|
215
|
-
|
|
213
|
+
/* Excluded from this release type: ChartPieIcon */
|
|
216
214
|
|
|
217
|
-
|
|
215
|
+
/* Excluded from this release type: ChartScatterLinesIcon */
|
|
218
216
|
|
|
219
|
-
|
|
217
|
+
/* Excluded from this release type: ChartScatterLinesMarkersIcon */
|
|
220
218
|
|
|
221
|
-
|
|
219
|
+
/* Excluded from this release type: ChartScatterLinesMarkersSmoothIcon */
|
|
222
220
|
|
|
223
|
-
|
|
221
|
+
/* Excluded from this release type: ChartScatterLinesSmoothIcon */
|
|
224
222
|
|
|
225
|
-
|
|
223
|
+
/* Excluded from this release type: ChartScatterMarkersIcon */
|
|
226
224
|
|
|
227
225
|
/**
|
|
228
226
|
* For providing Adjustable Color Commands additional rendering capabilities.
|
|
@@ -675,15 +673,13 @@ export declare interface ITaskPaneRegistry {
|
|
|
675
673
|
export declare interface ITaskPaneStrip extends HTMLDivElement, TaskPaneStripAttributes {
|
|
676
674
|
}
|
|
677
675
|
|
|
678
|
-
export declare const Item: default_2.NamedExoticComponent<Props & default_2.RefAttributes<HTMLDivElement>>;
|
|
679
|
-
|
|
680
676
|
export { LicenseDetails }
|
|
681
677
|
|
|
682
678
|
export { LicenseManager }
|
|
683
679
|
|
|
684
680
|
export declare const LogoNoPaddingIcon: (props: default_2.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
685
681
|
|
|
686
|
-
|
|
682
|
+
/* Excluded from this release type: LogoTextNoPaddingIcon */
|
|
687
683
|
|
|
688
684
|
export declare interface ModalFrame extends IFrame {
|
|
689
685
|
onCancel?: () => void;
|
|
@@ -840,45 +836,6 @@ export declare interface PictureEditorProps extends MovableElementProps {
|
|
|
840
836
|
ref?: default_2.Ref<IPictureEditorElement>;
|
|
841
837
|
}
|
|
842
838
|
|
|
843
|
-
declare interface Props {
|
|
844
|
-
dragOverlay?: boolean;
|
|
845
|
-
color?: string;
|
|
846
|
-
disabled?: boolean;
|
|
847
|
-
dragging?: boolean;
|
|
848
|
-
handle?: boolean;
|
|
849
|
-
height?: number;
|
|
850
|
-
index?: number;
|
|
851
|
-
fadeIn?: boolean;
|
|
852
|
-
transform?: Transform | null;
|
|
853
|
-
listeners?: DraggableSyntheticListeners;
|
|
854
|
-
sorting?: boolean;
|
|
855
|
-
style?: default_2.CSSProperties;
|
|
856
|
-
transition?: string | null;
|
|
857
|
-
wrapperStyle?: default_2.CSSProperties;
|
|
858
|
-
value: default_2.ReactNode;
|
|
859
|
-
onRemove?(): void;
|
|
860
|
-
renderItem?(args: {
|
|
861
|
-
dragOverlay: boolean;
|
|
862
|
-
dragging: boolean;
|
|
863
|
-
sorting: boolean;
|
|
864
|
-
index: number | undefined;
|
|
865
|
-
fadeIn: boolean;
|
|
866
|
-
listeners: DraggableSyntheticListeners;
|
|
867
|
-
ref: default_2.Ref<HTMLElement>;
|
|
868
|
-
style: default_2.CSSProperties | undefined;
|
|
869
|
-
transform: Props['transform'];
|
|
870
|
-
transition: Props['transition'];
|
|
871
|
-
value: Props['value'];
|
|
872
|
-
}): default_2.ReactElement;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
declare interface Props_2 {
|
|
876
|
-
children: default_2.ReactNode;
|
|
877
|
-
columns?: number;
|
|
878
|
-
style?: default_2.CSSProperties;
|
|
879
|
-
horizontal?: boolean;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
839
|
export declare interface RangeContainer {
|
|
883
840
|
getRange(address: ICellRange.Address, options?: ICellRange.GetRangeOptions): ICellRange;
|
|
884
841
|
}
|
|
@@ -895,8 +852,6 @@ declare interface ResizeHeaderOptions {
|
|
|
895
852
|
unit?: string;
|
|
896
853
|
}
|
|
897
854
|
|
|
898
|
-
export declare const Row: default_2.NamedExoticComponent<Props_2 & default_2.RefAttributes<HTMLDivElement>>;
|
|
899
|
-
|
|
900
855
|
/**
|
|
901
856
|
* This tracks the selection of the sheet and
|
|
902
857
|
* updates the a named range editor and a sheet cell editor.
|
|
@@ -1724,7 +1679,7 @@ export declare const useMovableCommands: (props: useMovableCommandsOptions) => I
|
|
|
1724
1679
|
|
|
1725
1680
|
export declare interface useMovableCommandsOptions {
|
|
1726
1681
|
commands: ICommands.IGroup;
|
|
1727
|
-
target: () =>
|
|
1682
|
+
target: () => ICommand.ITarget;
|
|
1728
1683
|
/**
|
|
1729
1684
|
* Notify that there is a new repeatable command
|
|
1730
1685
|
*/
|
|
@@ -1749,7 +1704,11 @@ export declare interface useMovableCommandsOptions {
|
|
|
1749
1704
|
* @param model
|
|
1750
1705
|
* @param listener
|
|
1751
1706
|
*/
|
|
1752
|
-
export declare const useRangeListener: (model: RangeContainer, address: ICellRange.Address, listener: ICellRange.Listener, options?:
|
|
1707
|
+
export declare const useRangeListener: (model: RangeContainer, address: ICellRange.Address, listener: ICellRange.Listener, options?: useRangeListenerOptions) => void;
|
|
1708
|
+
|
|
1709
|
+
export declare interface useRangeListenerOptions extends ICellRange.ListenerOptions {
|
|
1710
|
+
fireOnAddressChange: boolean;
|
|
1711
|
+
}
|
|
1753
1712
|
|
|
1754
1713
|
/**
|
|
1755
1714
|
* Hook for observing sheet commands. This hook will observe a combination
|
|
@@ -1781,7 +1740,7 @@ export declare interface useSheetCommandsOptions {
|
|
|
1781
1740
|
*/
|
|
1782
1741
|
sheet: ISheet;
|
|
1783
1742
|
commands: ICommands.IGroup;
|
|
1784
|
-
target: () =>
|
|
1743
|
+
target: () => ICommand.ITarget;
|
|
1785
1744
|
/**
|
|
1786
1745
|
* Notify that there is a new repeatable command
|
|
1787
1746
|
*/
|
|
@@ -1799,17 +1758,10 @@ export declare interface useSheetCommandsOptions {
|
|
|
1799
1758
|
*/
|
|
1800
1759
|
export declare const useSheetCopyPaste: ({ element, sheet, sheetView, commands, onClipboardUpdate: propOnClipboardUpdate, onPaste: propOnPaste, renderSelection: propRenderSelection, copyForegroundColor, cutForegroundColor, copyBackgroundColor, cutBackgroundColor, ...rest }: SheetCopyPasteProps) => SheetCopyPasteResults;
|
|
1801
1760
|
|
|
1802
|
-
export declare interface useSheetRangeListenerOptions extends ICellRange.ListenerOptions {
|
|
1803
|
-
fireOnAddressChange: boolean;
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
1761
|
/**
|
|
1807
1762
|
* Hook to get the task pane manager directly.
|
|
1808
1763
|
* Useful for registering new task panes or managing instances.
|
|
1809
1764
|
*/
|
|
1810
1765
|
export declare const useTaskPaneArea: () => ITaskPaneArea;
|
|
1811
1766
|
|
|
1812
|
-
|
|
1813
|
-
export * from "@sheetxl/utils-react";
|
|
1814
|
-
|
|
1815
1767
|
export { }
|