pixel-react-excel-sheet 1.0.15 → 1.0.17

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/lib/index.esm.js CHANGED
@@ -31180,10 +31180,7 @@ const CornerIndicator = ({
31180
31180
  onSelect();
31181
31181
  }, [onSelect]);
31182
31182
  return jsx("th", {
31183
- style: {
31184
- zIndex: '200'
31185
- },
31186
- className: classNames('ff-spreadsheet-header', {
31183
+ className: classNames('ff-spreadsheet-header ff-spreadsheet-corner-header', {
31187
31184
  'ff-spreadsheet-header--selected': selected
31188
31185
  }),
31189
31186
  onClick: handleClick,
@@ -31270,34 +31267,60 @@ const ColumnIndicator = ({
31270
31267
  options: options
31271
31268
  });
31272
31269
  }, [onSelect, column, setContextMenu]);
31273
- return jsxs("th", {
31274
- style: {
31275
- minWidth: `${columnWidth}px`,
31276
- position: 'relative'
31277
- },
31278
- className: classNames('ff-spreadsheet-header', {
31279
- 'ff-spreadsheet-header--selected': selected
31280
- }),
31281
- onClick: handleClick,
31282
- onContextMenu: contextClick,
31283
- tabIndex: 0,
31284
- children: [label !== undefined ? label : columnIndexToLabel(column), jsx("div", {
31285
- onMouseDown: onMouseDown,
31286
- onClick: () => activate$1({
31287
- row: -1,
31288
- column
31289
- }),
31270
+ return (
31271
+ // <th
31272
+ // style={{ minWidth: `${columnWidth}px`, position: 'relative' }} //Dynamic value, Inline Styling required
31273
+ // className={classNames('ff-spreadsheet-header', {
31274
+ // 'ff-spreadsheet-header--selected': selected,
31275
+ // })}
31276
+ // onClick={handleClick}
31277
+ // onContextMenu={contextClick}
31278
+ // tabIndex={0}
31279
+ // >
31280
+ // {label !== undefined ? label : columnIndexToLabel(column)}
31281
+ // <div
31282
+ // onMouseDown={onMouseDown}
31283
+ // onClick={() => activate({ row: -1, column })}
31284
+ // style={{
31285
+ // zIndex: 'inherit',
31286
+ // width: '2px',
31287
+ // position: 'absolute',
31288
+ // right: 0,
31289
+ // top: 0,
31290
+ // height: '100%',
31291
+ // cursor: 'ew-resize',
31292
+ // }}
31293
+ // />
31294
+ // </th>
31295
+ jsxs("th", {
31290
31296
  style: {
31291
- zIndex: 'inherit',
31292
- width: '2px',
31293
- position: 'absolute',
31294
- right: 0,
31295
- top: 0,
31296
- height: '100%',
31297
- cursor: 'ew-resize'
31298
- }
31299
- })]
31300
- });
31297
+ minWidth: `${columnWidth}px`,
31298
+ position: 'relative'
31299
+ },
31300
+ className: classNames('ff-spreadsheet-header', {
31301
+ 'ff-spreadsheet-header--selected': selected
31302
+ }),
31303
+ onClick: handleClick,
31304
+ onContextMenu: contextClick,
31305
+ tabIndex: 0,
31306
+ children: [label !== undefined ? label : columnIndexToLabel(column), jsx("div", {
31307
+ onMouseDown: onMouseDown,
31308
+ onClick: () => activate$1({
31309
+ row: -1,
31310
+ column
31311
+ }),
31312
+ style: {
31313
+ zIndex: 'inherit',
31314
+ width: '2px',
31315
+ position: 'absolute',
31316
+ right: 0,
31317
+ top: 0,
31318
+ height: '100%',
31319
+ cursor: 'ew-resize'
31320
+ }
31321
+ })]
31322
+ })
31323
+ );
31301
31324
  };
31302
31325
  const enhance$2 = ColumnIndicatorComponent => {
31303
31326
  return function ColumnIndicatorWrapper(props) {
@@ -31387,8 +31410,8 @@ const RowIndicator = ({
31387
31410
  return jsxs("th", {
31388
31411
  style: {
31389
31412
  height: `${rowHeight}px`,
31390
- minWidth: '60px',
31391
- position: 'relative'
31413
+ minWidth: '60px'
31414
+ // position: 'relative',
31392
31415
  },
31393
31416
  className: classNames('ff-spreadsheet-header', {
31394
31417
  'ff-spreadsheet-header--selected': selected
@@ -31796,7 +31819,7 @@ const Copied = () => {
31796
31819
  });
31797
31820
  };
31798
31821
 
31799
- var css_248z$m = ".fontXs {\n font-family: \"Poppins\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-20 {\n font-family: \"Poppins\";\n font-size: 20px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-excel {\n display: flex;\n flex-direction: column;\n}\n.ff-excel .ff-excel-toolbar-container {\n position: static;\n top: 0;\n background-color: var(--excel-toolbar-bg);\n padding: 4px 8px;\n margin-bottom: 20px;\n}\n.ff-excel .ff-spreadsheet {\n --background-color: var(--drawer-footer-bg);\n --text-color: var(--text-color);\n --readonly-text-color: var(--toggle-strip-active);\n --outline-color: var(--toggle-strip-active);\n --outline-background-color: var(--overlay-bg);\n --border-color: var(--excel-sheet-border);\n --header-background-color: var(--pop-up-background-blur);\n --elevation: var(--brand-color);\n position: relative;\n overflow: scroll;\n background: var(--background-color);\n color: var(--text-color);\n scrollbar-width: none;\n display: inline-block;\n}\n.ff-excel .ff-spreadsheet::-webkit-scrollbar {\n height: 0px;\n}\n.ff-excel .ff-spreadsheet-active-cell {\n position: absolute;\n border: 2px solid var(--outline-color);\n box-sizing: border-box;\n}\n.ff-excel .ff-spreadsheet-active-cell--edit {\n background: var(--background-color);\n box-shadow: var(--elevation);\n}\n.ff-excel .ff-spreadsheet-table {\n overflow: scroll;\n border-collapse: collapse;\n table-layout: fixed;\n}\n.ff-excel .ff-spreadsheet-table::-webkit-scrollbar {\n height: 0px;\n}\n.ff-excel .ff-spreadsheet-cell {\n outline: none;\n position: relative;\n z-index: 0;\n}\n.ff-excel .ff-spreadsheet-active-cell .select_dot {\n background-color: var(--elevation);\n height: 10px;\n width: 10px;\n border-radius: 50%;\n position: absolute;\n bottom: -5px;\n right: -5px;\n cursor: crosshair;\n z-index: 1000;\n}\n.ff-excel .ff-spreadsheet-cell--readonly {\n color: var(--readonly-text-color);\n}\n.ff-excel .ff-spreadsheet-cell,\n.ff-excel .ff-spreadsheet-header {\n border: 0.1px solid var(--border-color);\n overflow: hidden;\n word-break: keep-all;\n white-space: nowrap;\n text-align: left;\n box-sizing: border-box;\n user-select: none;\n}\n.ff-excel .ff-spreadsheet-header {\n border: 0.1px solid var(--border-color);\n background-color: var(--header-background-color);\n color: var(--readonly-text-color);\n text-align: center;\n z-index: 100;\n font-weight: 500;\n font-size: 12px;\n}\n.ff-excel .corner_indicator {\n padding-left: 20px;\n}\n.ff-excel .ff-spreadsheet-header--selected {\n background: var(--brand-color);\n color: var(--tooltip-text-color);\n}\n.ff-excel .ff-spreadsheet-header,\n.ff-excel .ff-spreadsheet-data-viewer,\n.ff-excel .ff-spreadsheet-data-editor input {\n padding: 4px;\n box-sizing: border-box;\n}\n.ff-excel .ff-spreadsheet-data-viewer--preserve-breaks {\n white-space: pre-wrap;\n}\n.ff-excel .ff-spreadsheet-data-editor,\n.ff-excel .ff-spreadsheet-data-editor input {\n width: 100%;\n height: 100%;\n}\n.ff-excel .ff-spreadsheet-data-editor input {\n font: inherit;\n color: inherit;\n background: none;\n border: none;\n outline: none;\n margin: 0;\n}\n.ff-excel .ff-spreadsheet-data-viewer--boolean {\n text-align: center;\n}\n.ff-excel .ff-spreadsheet-floating-rect {\n position: absolute;\n pointer-events: none;\n box-sizing: border-box;\n}\n.ff-excel .ff-spreadsheet-floating-rect--hidden {\n display: none;\n}\n.ff-excel .ff-spreadsheet-floating-rect--selected {\n background: var(--outline-background-color);\n border: 2px var(--outline-color) solid;\n}\n.ff-excel .ff-spreadsheet-floating-rect--dragging {\n border: none;\n}\n.ff-excel .ff-spreadsheet-floating-rect--copied {\n border: 2px var(--outline-color) dashed;\n}";
31822
+ var css_248z$m = ".fontXs {\n font-family: \"Poppins\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-20 {\n font-family: \"Poppins\";\n font-size: 20px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-excel {\n display: flex;\n flex-direction: column;\n}\n.ff-excel .ff-excel-toolbar-container {\n position: static;\n top: 0;\n background-color: var(--excel-toolbar-bg);\n padding: 4px 8px;\n margin-bottom: 20px;\n}\n.ff-excel .ff-spreadsheet {\n --background-color: var(--drawer-footer-bg);\n --text-color: var(--text-color);\n --readonly-text-color: var(--toggle-strip-active);\n --outline-color: var(--toggle-strip-active);\n --outline-background-color: var(--overlay-bg);\n --border-color: var(--excel-sheet-border);\n --header-background-color: var(--pop-up-background-blur);\n --elevation: var(--brand-color);\n position: relative;\n overflow: scroll;\n background: var(--background-color);\n color: var(--text-color);\n scrollbar-width: none;\n display: inline-block;\n}\n.ff-excel .ff-spreadsheet::-webkit-scrollbar {\n height: 0px;\n}\n.ff-excel .ff-spreadsheet-active-cell {\n position: absolute;\n border: 2px solid var(--outline-color);\n box-sizing: border-box;\n}\n.ff-excel .ff-spreadsheet-active-cell--edit {\n background: var(--background-color);\n box-shadow: var(--elevation);\n}\n.ff-excel .ff-spreadsheet-table {\n overflow: scroll;\n border-collapse: collapse;\n table-layout: fixed;\n}\n.ff-excel .ff-spreadsheet-table::-webkit-scrollbar {\n height: 0px;\n}\n.ff-excel .ff-spreadsheet-cell {\n outline: none;\n position: relative;\n z-index: 0;\n}\n.ff-excel .ff-spreadsheet-active-cell .select_dot {\n background-color: var(--elevation);\n height: 10px;\n width: 10px;\n border-radius: 50%;\n position: absolute;\n bottom: -5px;\n right: -5px;\n cursor: crosshair;\n z-index: 1000;\n}\n.ff-excel .ff-spreadsheet-cell--readonly {\n color: var(--readonly-text-color);\n}\n.ff-excel .ff-spreadsheet-cell,\n.ff-excel .ff-spreadsheet-header {\n border: 0.1px solid var(--border-color);\n overflow: hidden;\n word-break: keep-all;\n white-space: nowrap;\n text-align: left;\n box-sizing: border-box;\n user-select: none;\n}\n.ff-excel .ff-spreadsheet-header {\n border: 0.1px solid var(--border-color);\n background-color: var(--header-background-color);\n color: var(--readonly-text-color);\n text-align: center;\n z-index: 1000;\n font-weight: 500;\n font-size: 12px;\n}\n.ff-excel .ff-spreadsheet-corner-header {\n z-index: 1100;\n}\n.ff-excel .corner_indicator {\n padding-left: 20px;\n}\n.ff-excel .ff-spreadsheet-header--selected {\n background: var(--brand-color);\n color: var(--tooltip-text-color);\n}\n.ff-excel .ff-spreadsheet-header,\n.ff-excel .ff-spreadsheet-data-viewer,\n.ff-excel .ff-spreadsheet-data-editor input {\n padding: 4px;\n box-sizing: border-box;\n}\n.ff-excel .ff-spreadsheet-data-viewer--preserve-breaks {\n white-space: pre-wrap;\n}\n.ff-excel .ff-spreadsheet-data-editor,\n.ff-excel .ff-spreadsheet-data-editor input {\n width: 100%;\n height: 100%;\n}\n.ff-excel .ff-spreadsheet-data-editor input {\n font: inherit;\n color: inherit;\n background: none;\n border: none;\n outline: none;\n margin: 0;\n}\n.ff-excel .ff-spreadsheet-data-viewer--boolean {\n text-align: center;\n}\n.ff-excel .ff-spreadsheet-floating-rect {\n position: absolute;\n pointer-events: none;\n box-sizing: border-box;\n}\n.ff-excel .ff-spreadsheet-floating-rect--hidden {\n display: none;\n}\n.ff-excel .ff-spreadsheet-floating-rect--selected {\n background: var(--outline-background-color);\n border: 2px var(--outline-color) solid;\n}\n.ff-excel .ff-spreadsheet-floating-rect--dragging {\n border: none;\n}\n.ff-excel .ff-spreadsheet-floating-rect--copied {\n border: 2px var(--outline-color) dashed;\n}";
31800
31823
  styleInject(css_248z$m);
31801
31824
 
31802
31825
  var css_248z$l = ".ff-excel-toolbar {\n display: flex;\n height: 32px;\n align-items: center;\n}\n.ff-excel-toolbar .ff-excel-toolbar-divider {\n width: 1px;\n height: 24px;\n background-color: var(--excel-toolbar-divider);\n margin: 0 24px;\n border-radius: 1px;\n z-index: 1000;\n}\n.ff-excel-toolbar .ff-excel-toolbar-font {\n display: flex;\n gap: 8px;\n justify-content: space-between;\n}\n.ff-excel-toolbar .ff-excel-toolbar-font .ff-excel-toolbar-font-family {\n width: 120px;\n}\n.ff-excel-toolbar .ff-excel-toolbar-font .ff-excel-toolbar-font-size {\n width: 56px;\n}\n.ff-excel-toolbar .ff-excel-toolbar-text {\n width: 100px;\n height: 24px;\n display: flex;\n gap: 8px;\n justify-content: space-between;\n}\n.ff-excel-toolbar .ff-excel-toolbar-text .ff-excel-toolbar-icon-underline {\n display: flex;\n align-items: center;\n}\n.ff-excel-toolbar .ff-excel-toolbar-icon {\n width: 88px;\n height: 24px;\n display: flex;\n gap: 8px;\n justify-content: space-between;\n}\n.ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color {\n width: 24px;\n height: 24px;\n border-radius: 4px;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color:hover {\n border-radius: 4px;\n background-color: var(--icon-hover-color);\n}\n.ff-icon-dark .ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color {\n background-color: var(--brand-color);\n}\n.ff-icon-dark .ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color.ff-icon-click:hover {\n background-color: var(--primary-button-text-color);\n}\n.ff-icon-dark .ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color.ff-icon-click:hover svg path {\n fill: var(--brand-color);\n}\n.ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color:hover {\n border-radius: 4px;\n background-color: var(--icon-hover-color);\n}\n.ff-icon-dark .ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color {\n background-color: var(--brand-color);\n}\n.ff-icon-dark .ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color.ff-icon-click:hover {\n background-color: var(--primary-button-text-color);\n}\n.ff-icon-dark .ff-excel-toolbar .ff-excel-toolbar-icon .ff-excel-toolbar-icon-color.ff-icon-click:hover svg path {\n fill: var(--brand-color);\n}\n.ff-excel-toolbar .ff-excel-toolbar-menu {\n display: flex;\n align-items: center;\n width: 36px;\n height: 24px;\n}\n.ff-excel-toolbar .ff-excel-toolbar-menu .ff-excel-toolbar-menu-option {\n display: flex;\n align-items: center;\n}";
@@ -32001,7 +32024,11 @@ const ExcelToolBar = ({
32001
32024
  const [underLine, setUnderLine] = useState('underline');
32002
32025
  const [selectedFontFamily, setSelectedFontFamily] = useState({
32003
32026
  label: 'Times New Roman',
32004
- value: '"Times New Roman"'
32027
+ value: 'Times New Roman'
32028
+ });
32029
+ const [selectedFontSize, setSelectedFontSize] = useState({
32030
+ label: '11',
32031
+ value: '11'
32005
32032
  });
32006
32033
  const [colorContainer, setColorPicker] = useState({
32007
32034
  color: 'var(--error-light)',
@@ -32134,11 +32161,12 @@ const ExcelToolBar = ({
32134
32161
  className: "ff-excel-toolbar-font-family",
32135
32162
  children: jsx(Select$1, {
32136
32163
  showLabel: false,
32137
- optionZIndex: 10000,
32164
+ optionZIndex: 1000,
32138
32165
  onChange: e => {
32166
+ console.log(e);
32139
32167
  setSelectedFontFamily({
32140
32168
  label: e.label,
32141
- value: e.value
32169
+ value: e.label
32142
32170
  });
32143
32171
  setFontFamily(data, e.label);
32144
32172
  },
@@ -32154,14 +32182,17 @@ const ExcelToolBar = ({
32154
32182
  className: "ff-excel-toolbar-font-size",
32155
32183
  children: jsx(Select$1, {
32156
32184
  showLabel: false,
32157
- optionZIndex: 5000,
32185
+ optionZIndex: 1000,
32158
32186
  required: false,
32159
- onChange: e => setFontSize(data, e.value),
32187
+ onChange: e => {
32188
+ setSelectedFontSize({
32189
+ label: e.label,
32190
+ value: e.value
32191
+ });
32192
+ setFontSize(data, e.value);
32193
+ },
32160
32194
  optionsList: fontSize,
32161
- selectedOption: {
32162
- label: '11',
32163
- value: '11'
32164
- }
32195
+ selectedOption: selectedFontSize
32165
32196
  })
32166
32197
  })
32167
32198
  })]
@@ -32237,7 +32268,7 @@ const ExcelToolBar = ({
32237
32268
  name: getUnderlineIcon()
32238
32269
  }), jsx(MenuOption, {
32239
32270
  iconName: "arrow_down",
32240
- zIndex: 2000,
32271
+ zIndex: 1000,
32241
32272
  iconSize: 12,
32242
32273
  options: underlineTypeIcon,
32243
32274
  tooltipPlacement: "top",
@@ -32320,7 +32351,7 @@ const ExcelToolBar = ({
32320
32351
  }), jsx(MenuOption, {
32321
32352
  iconName: "arrow_down",
32322
32353
  iconSize: 12,
32323
- zIndex: 5000,
32354
+ zIndex: 1000,
32324
32355
  options: borderTypeIcon,
32325
32356
  tooltipPlacement: "top",
32326
32357
  variant: "light",
@@ -32601,7 +32632,7 @@ const Spreadsheet = props => {
32601
32632
  var css_248z$j = ".ff-excel-book {\n z-index: 1000;\n}\n.ff-excel-book .ff-excel-sheet {\n position: static;\n top: 0;\n}\n.ff-excel-book .ff-excel-sheet-bar {\n position: static;\n max-width: 100%;\n margin-left: 60px;\n display: flex;\n height: 36px;\n align-items: center;\n color: var(--brand2-color);\n box-shadow: 0px 0px 4px -1px var(--toggle-strip-shadow);\n}\n.ff-excel-book .ff-excel-sheet-bar .ff-excel-add-sheet-icon {\n position: fixed;\n margin-top: 4px;\n padding: 0px 6px;\n}\n.ff-excel-book .ff-excel-sheet-bar .ff-excel-tab-container {\n padding-left: 40px;\n height: 36px;\n display: flex;\n overflow-x: auto;\n align-items: center;\n scrollbar-width: none;\n scrollbar-color: var(--hover-color) transparent;\n}\n.ff-excel-book .ff-excel-sheet-bar .ff-excel-tab-container::-webkit-scrollbar-track {\n background-color: transparent;\n}\n.ff-excel-book .ff-excel-sheet-bar .ff-excel-tab-container::-webkit-scrollbar-thumb {\n border-radius: 5px;\n}\n.ff-excel-book .ff-excel-sheet-bar .ff-excel-tab-container::-webkit-scrollbar {\n height: 0px;\n}\n.ff-excel-book .ff-excel-sheet-bar .ff-excel-tab-container .ff-excel-tab-list {\n margin-top: 2px;\n padding: 10px 9px;\n min-width: max-content;\n cursor: pointer;\n display: flex;\n background-color: var(--hover-color);\n}\n.ff-excel-book .ff-excel-sheet-bar .ff-excel-tab-container .ff-excel-tab-list.active {\n background-color: var(--excel-sheet-button-color);\n}\n.ff-excel-book .ff-excel-sheet-bar .ff-excel-tab-container .ff-excel-tab-list:focus {\n outline: none;\n text-decoration: none;\n}";
32602
32633
  styleInject(css_248z$j);
32603
32634
 
32604
- var css_248z$i = ".ff-excel-menu {\n position: absolute;\n border: 1px solid var(--option-card-border-color);\n background: var(--option-card-bg-color);\n border-radius: 4px;\n margin: 2px;\n min-height: 32px;\n min-width: 111px;\n white-space: nowrap;\n z-index: 200;\n}\n.ff-excel-menu .ff-excel-menu-options {\n color: var(--text-color);\n cursor: pointer;\n border-radius: 3px;\n display: flex;\n align-items: center;\n padding: 4px;\n gap: 8px;\n}\n.ff-excel-menu .ff-excel-menu-options:hover {\n background-color: var(--hover-color);\n}\n.ff-excel-menu .ff-excel-menu-options label {\n cursor: pointer;\n}";
32635
+ var css_248z$i = ".ff-excel-menu {\n position: absolute;\n border: 1px solid var(--option-card-border-color);\n background: var(--option-card-bg-color);\n border-radius: 4px;\n margin: 2px;\n min-height: 32px;\n min-width: 111px;\n white-space: nowrap;\n z-index: 2000;\n}\n.ff-excel-menu .ff-excel-menu-options {\n color: var(--text-color);\n cursor: pointer;\n border-radius: 3px;\n display: flex;\n align-items: center;\n padding: 4px;\n gap: 8px;\n}\n.ff-excel-menu .ff-excel-menu-options:hover {\n background-color: var(--hover-color);\n}\n.ff-excel-menu .ff-excel-menu-options label {\n cursor: pointer;\n}";
32605
32636
  styleInject(css_248z$i);
32606
32637
 
32607
32638
  const ExcelContextMenu = ({
@@ -32977,8 +33008,8 @@ const ExcelFile = ({
32977
33008
  setContextMenu({
32978
33009
  open: true,
32979
33010
  position: {
32980
- x: event.pageX - 50,
32981
- y: event.pageY - 350
33011
+ x: event.pageX - 0,
33012
+ y: event.pageY - 50
32982
33013
  },
32983
33014
  options: options
32984
33015
  });